M
Manoj Nair
I create XML file on the fly using Java. The XML file is fed into a
XSLT/FOP transformer to create a PDF file. At the end of the XML is
tags for a address block. I want the complete ( 4 lines ) of address
block to come on a new page if there is no space on the previous page.
Right now the address block breaks into say 2 line on page 1 and the
remaining 2 lines on page 2. I dont know the size of the data which
will be shown on page 1 ( its dynamic ). How should I check the number
of lines printed on PDF so that I can put a page break if it exceeds
say 30 lines?
Thanks in advance
XSLT/FOP transformer to create a PDF file. At the end of the XML is
tags for a address block. I want the complete ( 4 lines ) of address
block to come on a new page if there is no space on the previous page.
Right now the address block breaks into say 2 line on page 1 and the
remaining 2 lines on page 2. I dont know the size of the data which
will be shown on page 1 ( its dynamic ). How should I check the number
of lines printed on PDF so that I can put a page break if it exceeds
say 30 lines?
Thanks in advance