| [news.eclipse.birt] Re: how to disable data truncation in PDF |
Thank you Jason. Bugzilla 250851.
-- Rowan
Rowan,
I do not know of a way of doing this without rebuilding the viewer.
You can get the options using
reportContext.getRenderOption()
which has a method setOption
so I thought this would work
reportContext.getRenderOption().setOption("pdfRenderOption.hyphenation", Boolean.TRUE );
But at this point it it to late. Can you open a bugzilla entry to get this enhanced?
Jason
Rowan Maclaren wrote:Jason,
I have a couple of customized extension IReportEngine's and have set the option on these using the api e.g. pdfOptions.setOption(IPDFRenderOption.PDF_HYPHENATION, Boolean.TRUE);
But I also make use of the standard ViewerServlet and BirtEngineServlet. How can I set the option on the standard engine (without rebuilding it)? And what is the performance penalty?
Thank you. -- Rowan
Jason Weathersby wrote:Rowan,
Are you setting the option in the api? ie
PDFRenderOption pdfOptions = new PDFRenderOption();
pdfOptions.setOption( IPDFRenderOption.pdfRenderOption, new Boolean(true) );
Jason
Rowan Maclaren wrote:How can I disable PDF truncation when using the default report engine?
Is there a way to set pdfRenderOption.hyphenation to true as a report parameter, or embedding some script in the .rptdesign? Or is there some other better way?
And what is the performance penalty of using hyphenation=true? Why is the default false?
Thank you.
-- Rowan