xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bonekrusher <djs...@yahoo.com>
Subject RE: RTF - Only simple-page-masters are supported on page-sequences
Date Sat, 22 Jun 2013 23:27:36 GMT
Hi Robert,

Below is a small repo. Thanks for looking into this.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<fo:layout-master-set xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
		<fo:page-sequence-master master-name="page-sequence">
			<fo:repeatable-page-master-alternatives>
				<fo:conditional-page-master-reference odd-or-even="even"
master-reference="seq-page-first" blank-or-not-blank="not-blank"
page-position="first"/>
				<fo:conditional-page-master-reference odd-or-even="odd"
master-reference="seq-page-odd" blank-or-not-blank="not-blank"/>
			</fo:repeatable-page-master-alternatives>
		</fo:page-sequence-master>
		<fo:simple-page-master master-name="seq-page-first" page-height="11in"
page-width="8.5in" margin-top="0.5in" margin-left="1.0in"
margin-right="0.5in">
			<fo:region-body region-name="xsl-region-body" margin-top="0.80in"
margin-bottom=".5in" overflow="auto"/>
			<fo:region-before region-name="xsl-region-before" extent="0.5in"/>
			<fo:region-after region-name="xsl-region-after" extent="0.5in"/>
		</fo:simple-page-master>
		<fo:simple-page-master master-name="seq-page-odd" page-height="11in"
page-width="8.5in" margin-top="0.5in" margin-left="1.0in"
margin-right="0.5in">
			<fo:region-body region-name="xsl-region-body" margin-top="0.35in"
margin-bottom=".5in" overflow="auto"/>
			<fo:region-before region-name="xsl-region-before" extent="0.5in"/>
			<fo:region-after region-name="xsl-region-after" extent="0.5in"/>
		</fo:simple-page-master>
		<fo:simple-page-master master-name="alternate-blank" page-height="11in"
page-width="8.5in" margin-left="1.0in" margin-right="1.0in">
			<fo:region-body/>
			<fo:region-before region-name="header-blank" extent="11in"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence initial-page-number="1" force-page-count="end-on-even"
format="1" master-reference="page-sequence" id="ps-0006">
		<fo:static-content flow-name="xsl-region-before">
			<fo:block>data</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="header-blank">
			<fo:block line-height="12pt" font-family="Arial" font-size="10pt"
font-weight="bold" text-align="center">
				
			</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="xsl-region-after">
			<fo:block>data</fo:block>
		</fo:static-content>
		<fo:flow flow-name="xsl-region-body">
			<fo:block>data</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>




--
View this message in context: http://apache-fop.1065347.n5.nabble.com/RTF-Only-simple-page-masters-are-supported-on-page-sequences-tp38734p38793.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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


Mime
View raw message