Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Export problem to pdf in birt reports with more than 4000 records
Migrateduser
Hello,
I am using a report designer which has one bar chart and a table.
I am using servlet "Run" to display the report.
When i run the report the values are shown properly in html format,(the table has more than 4000 records).
Here i have created a action in the viewer which exports the report data to pdf.
Following are the options:
PDFRenderOption options=PDFRenderOption();
options.setOption( PDFRenderOption.PAGE_OVERFLOW, Integer.valueOf( PDFRenderOption.OUTPUT_TO_MULTIPLE_PAGES ) );
options.setOption(IPDFRenderOption.PDF_HYPHENATION, true);
options.setOption(IPDFRenderOption.PDF_TEXT_WRAPPING, true);
options.setOutputFileName(destinationFile);
options.setSupportedImageFormats("PNG;GIF;JPG;BMP");
options.setOption(IRenderOption.HTML_PAGINATION, Boolean.TRUE);
options.setOutputFormat("pdf");
But in the generated pdf file, the data is getting shrinked. All the data was saved in a single page. It has all the records but in very tiny format.
What extra parameters do i need to set to generate pdf report properly?
Thanks,
Sridhar
Find more posts tagged with
Comments
There are no comments yet