AH Formatter / XSL Formatter

XSLT/XSL-FO/MathML Technics


Basic, General
About AH Formatter
About XSL Formatter
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Q.  I want to change the width of region-body in the middle of page sequence by using some page layouts. How ever, the body width doesn't change. Why? [No.2003021405]

This is a limitation of XSL Formatter.

    <fo:simple-page-master master-name="master_first"
                        page-height="297mm" page-width="210mm" >
        <fo:region-body margin-left="20mm" margin-right="20mm" />
    <fo:simple-page-master master-name="master_rest"
                        page-height="297mm" page-width="210mm">
        <fo:region-body margin-left="10mm" margin-right="10mm" />
    <fo:simple-page-master master-name="master_last"
                        page-height="297mm" page-width="210mm">
        <fo:region-body margin-left="10mm" margin-right="10mm" >

    <fo:page-sequence-master master-name="main-sequence">
                        master-reference="master_first" page-position="first"/>
                        master-reference="master_rest" page-position="rest"/>
                        master-reference="master_last" page-position="last"/>

<fo:page-sequence master-reference="main-sequence">
    <fo:flow flow-name="xsl-region-body">

In the above example, actually the width of region-body on each page changes because the margin on the first page and the rest page is different. However, XSL Formatter doesn't support such a case.

If you want to change the width of column, please create a new fo:flow for each different width of column.

XSL Formatter V3.2 does not have this limitation. However, it is impossible to change width in the middle of the table.

Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.