Jump to content
Changes to the Jaspersoft community edition download ×

View Problems


salers

Recommended Posts

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:

cb6ebb-1533209445.png.9b79205c5a0dc577cbd1f35e035f4fc2.png

cb6ebb-1533209445.png.8d2cdd844b2fadf9284e951431ad79a5.png

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.jpg.2df2ce265b0ef58038a5023e43a1ce22.jpg

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!

test_invoice.jpg.4221f5508486ab0055ddcec95f058b47.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...