BIRT 3

Hi,


when using a Data element, no word wrap is performed in Birt 2.3.0 within a (quite long) word of the text to display. Only blanks, colons, etc. lead to a word wrap. Instead the word is just cut off.
In Birt 2.1.1 it was different, word wrap also occured within a word.
Any way to get the old behaviour in Birt 2.3.0? Teh whitespace settings of the Data element didn't have an effect on this.

Regards,
   Juergen

 

 

 

 

 

 

 

 

 

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

你可能感兴趣的:(IE,performance)