Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT pushing the content down at render time?
BIRT pushing the content down at render time? [message #1073976] Thu, 25 July 2013 22:00 Go to next message
ivkina Mising name is currently offline ivkina Mising nameFriend
Messages: 44
Registered: April 2012
Member
Hello,
A question to BIRT experts...We are using the i18n model when we replace the label text at report render time only. Whenever, the text translations have more chars vs. original English (just an example of English to French translation) it results in BIRT label control text being wrapped and pushing down the rest of the report content at render time. As a result you may even end up with different number of pages generated in PDF and weird page numbering where you may have two pages #1 - see attached en.pdf and fr.pdf. The latter is due to the fact that report pagination is set at build time only.

I wonder if
1) the fact that the content for already generated page/report pushing down at render time is a valid behavior and that during render in general you may end up with different # of pages vs. report generation phase.
2) besides turning off text wrapping, is there any other way to retain the wrapping feature but instruct BIRT not to push the rest of the report content down at render time?

Thanks,
Aleksey
  • Attachment: en.pdf
    (Size: 54.96KB, Downloaded 393 times)
  • Attachment: fr.pdf
    (Size: 55.98KB, Downloaded 229 times)
Re: BIRT pushing the content down at render time? [message #1073981 is a reply to message #1073976] Thu, 25 July 2013 22:10 Go to previous messageGo to next message
ivkina Mising name is currently offline ivkina Mising nameFriend
Messages: 44
Registered: April 2012
Member
just to add on this issue...it seems like the valid behavior should be having all wrapping and pushing content down to occur at build time only and then during render if the text doesn't fit it should not wrap and push the rest of the content down. in other words, you have text area set and frozen at build time and if the text does not fit at render, then it should be truncated.

it works this way in Actuate ErdPro
Re: BIRT pushing the content down at render time? [message #1075655 is a reply to message #1073981] Mon, 29 July 2013 20:38 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

So, setting the whitespace property to no wrapping for the elements that could cause a problem is not an option?

Michael

Developer Evangelist, Silanis
Re: BIRT pushing the content down at render time? [message #1078185 is a reply to message #1075655] Fri, 02 August 2013 16:42 Go to previous messageGo to next message
ivkina Mising name is currently offline ivkina Mising nameFriend
Messages: 44
Registered: April 2012
Member
unfortunately, not an option because BIRT PDF emitter then truncates the following labels that are done as column headers and have multiline text, e.g.:

YTD
Amount

So you will see only YTD line in PDF.

HTML emitter displays the label entirely without truncation though. So it is really hard to tell where it works right. It seems like if you say no wrapping there should be no wrapping regardless...but it wraps the text in HTML and truncate the same text in PDF.

getting back to the original render issue...it seems like the valid behavior should be having all wrapping and pushing content down to occur at build time only and then during render if the text doesn't fit it should not wrap and push the rest of the content down. in other words, you have text area set and frozen at build time and if the text does not fit at render, then it should be truncated.

it works this way in Actuate ErdPro
Re: BIRT pushing the content down at render time? [message #1079034 is a reply to message #1078185] Sun, 04 August 2013 00:34 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

You can always file a bug/enhancement request in the bugzilla. Can you recreate your issue in a report I can run? I'll try to help you find a way around the issue.

Michael

Developer Evangelist, Silanis
Previous Topic:how to disable stack trace with BIRT 2.6.1 - confirm steps within please
Next Topic:Standard Meter Chart
Goto Forum:
  


Current Time: Thu Apr 18 01:26:54 GMT 2024

Powered by FUDForum. Page generated in 0.01927 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top