Reputation: 926
I'm working in BIRT reports. I'm facing some issues with when importing the report to pdf format. this is the issue I'm facing
Report is generated successfully in BIRT viewer. But when it exports to the pdf report alignment will change.It prints only left to right around 80% from the original report.I think issue with print area.In designer it report width is more than the print with.I try to reduce it but I couldn't reduce the width of the table.I think reason is the table i'm using in the report. Table has 8 columns so I couldn't reduce the width of columns. column has minimum width, I can't reduce more than than. So what can I do to this issue ? Anyone knows the solution to this issue ?
Thank you in advance
Upvotes: 0
Views: 2620
Reputation: 11
Specifying the sizes, padding, margin etc in mm (or inches) works well. This also ensures exact measurements. The background images are exceptions, because they're pixel-based.
Upvotes: 0
Reputation: 11486
You could try making the font in your table one of the relative sizes (small, medium, large) rather than a hard 10 pts, 12 pts, etc. And then make the column width a percentage instead of a definite pixel number. E.g. column 1: 15%, column 2: 10%, column 3: 5%, column 4: 20%, column 5: 20%, column 6: 30% - or however it best fits the contents.
There isn't much you can do beyond that because you are rendering it onto a PDF document that is going to be the exact size of your master page, however you have that defined (letter size, legal, etc). If you haven't changed the orientation of your master page from portrait to landscape (on the master page tab), you could try that if it is workable for you.
Upvotes: 2