From: svenkataramany@chubb.com
Date: Tue Feb 03 2004 - 08:58:16 PST
Hello,
I am using and empty fo:block to generate line breaks in the PDF doc.
However, when I use this within a block which has
keep-together.within-page="always", it sometimes causes a pagebreak, even
though there's ample room on the current page to fit content.
ex:
<xsl:template match="para">
<fo:block keep-together.within-page="always">
<fo:block text-align="left" space-after.optimum="4pt"
space-after.maximum="0pt" space-after.minimum="0pt"
space-before.optimum="0pt" space-before.maximum="0pt" space-before.minimum
="0pt" font-size="8pt" font-family="Times">
Some text
</fo:block>
<fo:block space-after.optimum="0pt" space-after.maximum="0pt"
space-after.minimum="0pt" space-before.optimum="0pt"
space-before.maximum="0pt" space-before.minimum="0pt" font-size="7pt"
font-family="Times" background-image="
url(c:/abl/print/watermark.jpg)" text-align="left">
Some more text
<!-- The following causes a page break -->
<fo:block/>
The fo:block above, which i use to cause a line break, causes
the entire para to move to next page, even though there's
ample room on the previous page to fit this para.
</fo:block>
</fo:block>
</xsl:template>
If i comment out the <fo:block/> in question, then the para lines up
correctly on the previous page.
Any ideas?
Regards,
Raj
This E-mail (which includes any attachment) is intended to be read only by
the person(s) to whom it is addressed and may contain confidential or
proprietary information. If you have received this E-mail in error, do not
print it, forward it or disseminate it or its contents. In such event,
please notify the sender by return E-mail and delete the E-mail file
immediately thereafter. Thank you for your cooperation.
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Tue Feb 03 2004 - 12:31:00 PST