Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Export problem to pdf in birt reports with more than 4000 records
siddu258
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