AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Pagenation

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  When I try to change the number of column by specifying to page sequence, the number of the column changes OK, however, the real width of the column doesn't change after the first page. Why? [No.2003021403]
A. 

This is a limitation of XSL Formatter.

<fo:layout-master-set>
    <fo:simple-page-master master-name="master_first"
                        page-height="297mm" page-width="210mm" >
        <fo:region-body margin="10mm" column-count="3"/>
    </fo:simple-page-master>
    <fo:simple-page-master master-name="master_rest"
                        page-height="297mm" page-width="210mm">
        <fo:region-body margin="10mm" column-count="2"/>
    </fo:simple-page-master>
    <fo:simple-page-master master-name="master_last"
                        page-height="297mm" page-width="210mm">
        <fo:region-body margin="10mm" column-count="2"/>
    </fo:simple-page-master>

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

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

In the above example, actually the first page is supposed to have three columns and the second page or later has to be a page of two columns. However, XSL Formatter cannot change the width of the column in mid-stream of fo:flow. Therefore, the second page or later becomes a page of three columns. (However, the characters flow up to the second column.

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.