xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lien, Patrick" <pl...@skandia.com>
Subject RE: Page breaks and absolute positioned block-containers
Date Mon, 08 Mar 2004 17:16:33 GMT
Thanks, Chris.  That did the trick.

However, since all the absolute positions of the block containers were
relative to the body region with the start and before regions set to
non-zero extents, I ended up putting all the containers/static content into
the end region, and expanding the extent of the end region to take up all
the space from the right edge of the page back to the right side of the
before region:

<fo:layout-master-set>
	<fo:simple-page-master master-name="page1" page-height="792.0pt"
page-width="612.0pt">
	  <fo:region-body />
	  <fo:region-before extent="8pt" precedence="true"/>
	  <fo:region-after extent="8pt" />
	  <fo:region-start extent="20pt" />
	  <fo:region-end region-name="page1content" extent="592pt" />
	</fo:simple-page-master>
	<fo:simple-page-master master-name="page2" page-height="792.0pt"
page-width="612.0pt">
	  <fo:region-body />
	  <fo:region-before extent="8pt" precedence="true"/>
	  <fo:region-after extent="8pt" />
	  <fo:region-start extent="20pt" />
	  <fo:region-end region-name="page2content" extent="592pt" />
	</fo:simple-page-master>
	<fo:page-sequence-master master-name="factsheetsequence">
		<fo:single-page-master-reference master-reference="page1"/>
		<fo:single-page-master-reference master-reference="page2"/>
	</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="factsheetsequence">
	<fo:static-content flow-name="page1content" >
	<!-- *** Begin Page 1 content FO *** -->
		<fo:block-container position="absolute" top="183pt"
left="390pt" height="343.0pt" width="23.0pt" >
.
.
.
	</fo:static-content>
	<!-- *** End Page 1 content FO *** -->
	<fo:static-content flow-name="page2content" >
	<!-- *** Begin Page 2 content FO *** -->
		<fo:block-container position="absolute" top="1pt"
left="392pt" height="225.0pt" width="180.0pt" >
.
.
.
</fo:block-container>
	<!-- *** End Page 2 content FO *** -->
	</fo:static-content>
	<fo:flow flow-name="xsl-region-body">
		<fo:block break-after="page"/>
    </fo:flow>
</fo:page-sequence>

---------------------------------------------------------------------
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