Birt - Crosstab Gets Cropped PDF

My crosstab looks great in a web browser, but when I export to PDF, it crop it like showin in an image. It also makes the columns much wider than they should be. (The web version does not.)

Does anyone know how to fix this? I tried to find the answer and did not see anything. enter image description here

+4
source share
2 answers

I think you have limited the width / height of your report
goto Master Page, then click on the general settings, and there you will find a drop-down list of types, select "Custom".
Using these custom parameters, you can specify your own height and width for your report, as well as in the report layout. In doing so, you can increase the width of the report.

NOTE. The width of the main page should be equal to the width of your layout.

+2
source

Without seeing the parameters that you pass to RenderTask, it’s hard to say for sure, so I’m going to assume that you PAGE_OVERFLOW set CLIP_CONTENT to CLIP_CONTENT and not FIT_TO_PAGE_SIZE .

However, pay attention. This discussion in the Eclipse forum mentions that page break interval options can override page size rendering options. Please note that the OP in the related discussion encountered a problem with the PDF exported from the HTML viewer.

EDIT: according to the docs inside genReport.sh you can pass parameters on the command line ( -p pageOverflow=FIT_TO_PAGE_SIZE ), or you can create a parameters file ( -F params.txt )

I don’t understand if you can pass the constant ( FIT_TO_PAGE_SIZE ) or pass its expected value ( 2 ), so you may have to try both.

+3
source

All Articles