Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support

All forums · Statistics · Search ·

Two Pilots forum / For software developers / page break in pdf
Author Message
# Posted: 5 Nov 2008 00:56

Iam converting html file in to pdf using pd4ml API.conversion is fine.iam using xslt for to give page break for pdf in xslt.

<xsl:element name="div">
<xsl:attribute name="class">pageBreaker</xsl:attribute>

it si working fine for html.
for example there are 10 records ,5 records per page.
in html when i print second page,it is displaying correctly from record 6 to 10 and only second page is printing.
but for pdf this page break is not working.can any one help on this

# Posted: 14 Nov 2008 04:43

Hello Harry.
And what is the definition of "pageBreaker" class?
To be sure that converter break the PDF page use this style:

.pageBreaker { page-break-before: always; }

Max Filimonov



Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.012


Page top