You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Beer, Christian" <BE...@DIRON.de> on 2001/10/15 11:32:07 UTC
How to get information about overflow...
Hi list!
I have fop-code to create a postcard (page-height="105mm"
page-width="148mm") where
on the first page there is an image and on the second page there should be
text on
the left and space on the right (for the address).
This snippet should create the text on the left:
----------------
<fo:page-sequence master-name="second-page">
<fo:flow flow-name="xsl-region-body">
<!-- height = page-height - (margin-top + margin-bottom)
width = (page-width - (margin-left + margin-right)) / 2 - 1 -->
<fo:block-container width="68mm" height="95mm" position="absolute"
top="0mm" left="0mm" overflow="hidden">
<fo:block font-size="{$Font-Size}" font-family="{$Font-Family}"
font-weight="{$Font-Weight}" font-style="{$Font-Style}"
color="{$Font-Color}" overflow="hidden">
<!-- Space for the signature-line... -->
<fo:block space-after.optimum="10pt">
 
</fo:block>
<!-- text... -->
<xsl:for-each select="Text/p">
<fo:block language="de" hyphenate="true">
<xsl:value-of select="text()"/>
</fo:block>
</xsl:for-each>
<!-- ....... -->
----------------
That works fine, if the text is short enough. If it is too long for the
page,
there is no warning (like ">") but the text is missing...
I thought that overflow="hidden" should do the trick, but it doesn't!!
Please help!!
Greetings
Christian beer
__________________________________________________
DIRON Wirtschaftsinformatik GmbH & Co. KG
Christian Beer (Christian.Beer@diron.de)
Daimlerweg 39-41 Tel. : +49(251)979-200
48163 Muenster Fax : +49(251)979-2020
Germany Email: info@diron.de
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org