Hi, I'm working with FOP embedded in a CMS for generating PDFs. I have the following problem.
In my PDF there are texts, in the texts there are headers, paragraphs, bold and italic parts. In my project I defined patterns how these things are mapped to fop. Sometimes it happens that there is a Header in the last lines of a page. The structure of the generated fop sourcecode is like. <fo:block headerattributes>headertext</fo:block> (1 time) <fo:block normaltextattr.>text</fo:block> (n times) And that iterates several times. Is there a possibilty to get the position out of a block so i could define a rule, if the block.height is higher than 200mm page-break-before? Or is there a possibility to keep the block with the headerattributes together with the next line, which is used by another block? In my case i don't have the choice to put a block around the headertext and the normal text, to use the keep-together.within-page attribute. Greetings, JPee -- View this message in context: http://www.nabble.com/get-position-of-block-tp25976225p25976225.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
