Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Determine Rendered Font Size on Output
Determine Rendered Font Size on Output [message #1222029] Thu, 19 December 2013 14:57
Thomas P. is currently offline Thomas P.Friend
Messages: 21
Registered: April 2012
Junior Member

for a fixed Output, I need to create the pagination by myself. Is there a way to determine the height a Textblock needs by a given width? The Text is some html text with different Fonts and Fontsize in it. So it must be rendered on a virtual Area (which is equal to the rendering in birt) to decide how much Text could be on one page and where I need a Pagebreak.
The Report has a Grid, with a fixed width. Now I need to calculate the needed hight for the given text.
I downloaded the birt engine source code und tried to find the logic, how birt determine this. In which source do birt this task? How did birt determine the neccessary of a linebreak or pagebreak?

Greetings Thomas

Previous Error happened while running the report.
Next Topic:Setting Style of data element in scripting
Goto Forum:

Current Time: Wed Oct 07 12:51:58 GMT 2015

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

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