xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gergely Hajdu" <gha...@abprodata.com>
Subject Why is the second page just white ?
Date Tue, 09 Mar 2004 10:38:42 GMT
I have a FO-document to create TIFF-images. My problem is when viewing the
created
TIFF. If the TIFF can't fit in one page when viewing it, the second page is
totally white.
The first page is alright, with white printing on black background as
expected.

Is there any problems with my FO, or is it a problem with the renderer
(com.multiconn.fop.TIFFRenderer)
I am using to create a TIFF from a FO ?

In this case, the following row ( the last one in the FO )is placed on the
second page, and therefore not visible :

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">LAST ROW</fo:block></fo:table-cell>
</fo:table-row>



Here is my FO :

<?xml version="1.0" encoding="ISO-8859-1" ?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fox="http://xml.apache.org/fop/extensions">

	<fo:layout-master-set>

		<!-- SET ALL MARGINS TO 0.0CM -->
		<fo:simple-page-master margin-right="0.0cm" margin-left="0.0cm"
margin-bottom="0.0cm" margin-top="0.0cm" page-width="21.0cm"
page-height="29.7cm" master-name="first">

			<fo:region-before extent="0.0cm"/>

			<fo:region-body margin-bottom="0.0cm" margin-top="0.0cm"/>

			<fo:region-after extent="0.0cm"/>

		</fo:simple-page-master>

	</fo:layout-master-set>

	<fo:page-sequence master-reference="first" language="en" hyphenate="true">

<fo:static-content flow-name="xsl-region-before">

<fo:block line-height="12pt"  font-size="10pt" space-before.optimum="1.5pt"
space-after.optimum="1.5pt"
keep-together="always">BPOBeanTemplate</fo:block></fo:static-content>

<fo:static-content flow-name="xsl-region-after">

<fo:block line-height="12pt"  font-size="10pt" space-before.optimum="1.5pt"
space-after.optimum="1.5pt" keep-together="always">

	HEADER

</fo:block></fo:static-content>


<fo:flow flow-name="xsl-region-body">

<!-- ADDED THIS CONTAINER -->
<fo:block-container position="absolute" width="1000000pt" height="1000000pt"
background-color="black"></fo:block-container>

<!-- ADDED COLOR="WHITE" -->
<fo:table table-layout="fixed" text-align="start" color="white">
<fo:table-column column-width="8.15cm"/>
<fo:table-column column-width="8.15cm"/>
<fo:table-body>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">TEST
IMAGE</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row>
	<fo:table-cell><fo:block line-height="12pt"  font-size="10pt"
space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" text-align="end">LAST ROW</fo:block></fo:table-cell>
</fo:table-row>

</fo:table-body></fo:table>

<fo:block space-before.optimum="1.5pt" space-after.optimum="1.5pt"
keep-together="always" id="LastPage" line-height="1pt"
font-size="1pt"></fo:block></fo:flow>
</fo:page-sequence></fo:root>

Thanks in advance
/Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message