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 Henrik Holle <he...@megatel.de> on 2003/01/23 10:26:25 UTC

Possible bug in initial-page-number in fop 0.20.5.rc

BUG in initial-page-number handling?


This xsl:fo document renders 3 pages

<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<!-- layout for the first page -->
		<fo:simple-page-master master-name="testMaster"
page-height="29.6cm" page-width="21cm" margin-top="0.5cm"
margin-bottom="0.5cm" margin-left="2cm" margin-right="2cm">
			<fo:region-body margin-top="0.5cm"/>
			<fo:region-before extent="2cm"/>
			<fo:region-after extent="0cm"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="testMaster" >
		<fo:flow flow-name="xsl-region-body">
			<fo:block>test</fo:block>
		</fo:flow>
	</fo:page-sequence>
<!-- without initial-page-number -->	
<fo:page-sequence master-reference="testMaster" initial-page-number="1">
		<fo:flow flow-name="xsl-region-body">
			<fo:block>test</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>


This document is correct, only two pages

<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<!-- layout for the first page -->
		<fo:simple-page-master master-name="testMaster"
page-height="29.6cm" page-width="21cm" margin-top="0.5cm"
margin-bottom="0.5cm" margin-left="2cm" margin-right="2cm">
			<fo:region-body margin-top="0.5cm"/>
			<fo:region-before extent="2cm"/>
			<fo:region-after extent="0cm"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="testMaster" >
		<fo:flow flow-name="xsl-region-body">
			<fo:block>test</fo:block>
		</fo:flow>
	</fo:page-sequence>
<!-- without initial-page-number -->
	<fo:page-sequence master-reference="testMaster" >
		<fo:flow flow-name="xsl-region-body">
			<fo:block>test</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>


Any ideas?




henrik


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