- From: Alberto Bolchini <albertob@engitel.com>
- Date: Mon, 16 Dec 2002 13:03:39 +0100
- To: "Oleg Tkachenko" <olegt@multiconn.com>
- Cc: <www-xsl-fo@w3.org>
>Hmmm, make sure you are declaring "content" master reference >(master-name in >previous syntax) for fo:page-sequence. ...mhm: I re-read the specs, and got confused (!) I declare two different simple-page-master as I want them to have different layouts (margins/regions). I use the page-sequence to specify the different contents, refferring always to the same page-sequence-master. Is that all? <fo:layout-master-set> <!-- F I R S T P A G E --> <fo:simple-page-master master-name="first" ... /> ... </fo:simple-page-master> <!-- R E S T O F D O C --> <fo:simple-page-master master-name="rest" ... /> ... </fo:simple-page-master> <!-- P A G E S --> <fo:page-sequence-master master-name="content"> <fo:repeatable-page-master-reference master-name="first" maximum-repeats="1"/> <fo:repeatable-page-master-reference master-name="rest"/> </fo:page-sequence-master> </fo:layout-master-set> <!-- C O N T E N T O F F I R S T P A G E --> <fo:page-sequence master-name="first" initial-page-number="1" language="it"> <fo:static-content flow-name="xsl-region-before"> <xsl:apply-templates select="/content" mode="header"/> </fo:static-content> <fo:static-content flow-name="xsl-region-after"> <xsl:apply-templates select="/content/*/iso" mode="footer"/> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block id="beginofdoc"/> <xsl:apply-templates select="/content/*/iso" mode="destinatari"/> <xsl:apply-templates select="/content" mode="toc"/> </fo:flow> </fo:page-sequence> <!-- C O N T E N T O F R E S T O F D O C --> <fo:page-sequence master-name="rest" language="it"> <fo:static-content flow-name="xsl-region-before"> <xsl:apply-templates select="/content" mode="header_internal"/> </fo:static-content> <fo:static-content flow-name="xsl-region-after"> <xsl:apply-templates select="/content/*/iso" mode="footer_internal"/> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="/content/content"/> <fo:block font-size="18.0pt" margin-left="0.0pt" space-after="0.0pt" space-before="0.0pt" text-align="center" text-indent="0.0pt"> <fo:leader line-height="18pt"/> </fo:block> <fo:block id="endofdoc"/> </fo:flow> </fo:page-sequence> ... >Anyway consider upgrading of FOP first. Unfortunately, at the moment, it would mean reviewing too many templates which comprise quite a few hacks converting html+msword stuff into pdf; I surely do that after Xmas...
Received on Monday, 16 December 2002 07:05:57 UTC