View Problems

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hi,

i´m very new to Jaspersoft. I got a  jrxml template from my bookkeeper to design my own invoice. So far so good, after importing this jrxml in Jaspersoft Studio the preview in the design looks very bad. the positions are wrong, the header is in the top and the middle of the view.

Cay you please help me, or gibe me hint what to do? Are there any special configuration  for the view?

Here is a screenshot:

salers's picture
19
Joined: Jul 31 2018 - 2:53am
Last seen: 3 years 11 months ago

4 Answers:

Unfortunately, the screenshot didn't upload.  My first guess would be that the template uses a font you don't have, or if you have the font,, JSS doesn't see it.  

https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v71/working-font-extensions-0

elizam's picture
10863
Joined: Mar 5 2012 - 9:19am
Last seen: 1 year 11 months ago

How does it look when you actually run it (Preview)?  The template shows everything on one page, but it looks to me like this is set up to be a multi-page report with a cover page (Seite 1) and then each invoice on its own page ("Seite "+$V), then finally a summary page.  If it has been set up correctly, then the page breaks are in there and will show up when you run the report.

There is a missing image, you need to find out what the image file is and put it in the correct location.

If you have further questions, the best person to contact is your bookkeeper, who will know best the template.

elizam's picture
10863
Joined: Mar 5 2012 - 9:19am
Last seen: 1 year 11 months ago

It doesn't seem like there's any problem with the report design.

JasperReports uses "bands" to define sections of a report. The top section of the page is for the title page and a header is placed there.

The middle header is for all the other pages.

The following page in Japsersoft Studio manual explains the concept of bands. Actually, MS Access uses similar concept in their report design too.

https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v71/understanding-bands-0

hozawa's picture
131740
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago

Thx for your answers!

My bookkeeper does not respond on any technical questions for jasper :-( 

The used font is Arial 

<style name="Standard" hTextAlign="Left" hImageAlign="Left" vTextAlign="Top" vImageAlign="Top" fontName="Arial" fontSize="10" isBold="false"/>

I´ve tried the template in the bookkeeper-software and it looks like that:

Test_Invoice

So that looks good for me! And yes, it is possible to have more than one page, depends on the number of articles in the invoice.

The missing image in the header is the Logo of my company, which is uploaded in the bookkeeper software. The image near the bottom is a test signature, and the image at the bottom is the qr code.

But why is the "Header" (2 times?) also in the middle of the page, and the "footer" in the middle, or under the middle of the page?

Does it make sense to upload the jrxml?

Thanks a lot!

salers's picture
19
Joined: Jul 31 2018 - 2:53am
Last seen: 3 years 11 months ago
Feedback
randomness