Hello,
I'm formatting a document having an A4 main page layout with margins, a
header and a footer. At some point of the document I would like to
insert a new page sequence with a different size without any margin,
header or footer. I can eliminate the left and right margins without
problem but it seems impossible to remove the headers and footers from
this page sequence. This for DOCX output, it works as expected when
generating an ODT document.
Am I doing something wrong or is it a known limitation?
Note: I'm using XFC 4.4.1
An attached minimal "test.fo" file can be used to reproduce the problem.
Thanks.
--
--
*NeoDoc*
*Maxime Bégnis*
[email protected]
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France
http://www.neodoc.fr/
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
font-family="sans-serif" font-size="10pt"
language="en">
<fo:layout-master-set>
<fo:simple-page-master master-name="main" page-width="210mm"
page-height="297mm" margin-top="0.5in" margin-bottom="0.5in"
margin-left="16mm" margin-right="16mm">
<fo:region-body margin-bottom="16mm"
margin-top="40mm" />
<fo:region-before extent="35mm" />
<fo:region-after extent="10mm" />
</fo:simple-page-master>
<fo:simple-page-master master-name="other" page-width="210mm"
page-height="297mm" margin-top="0mm" margin-bottom="0mm"
margin-left="0mm" margin-right="0mm">
<fo:region-body />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main">
<fo:static-content flow-name="xsl-region-before">
<fo:block>
Header
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block>
Footer
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>Lorem ipsum...</fo:block>
<fo:block break-after="page"/>
<fo:block>Second Page</fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference="other">
<fo:flow flow-name="xsl-region-body">
<fo:block>Another page sequence without any header or footer.</fo:block>
<fo:block>Lorem ipsum...</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support