Hi there!

For solving my problem I have done next:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:fo="http://www.w3.org/1999/XSL/Format";
                exclude-result-prefixes="fo">
    <xsl:output method="xml" version="1.0" omit-xml-declaration="no"
                indent="yes"/>

    <xsl:template match="/">
        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
            <!-- Describing pages-->
            <fo:layout-master-set>
                <fo:simple-page-master master-name="main"
                                    page-width="210mm"
                                    page-height="297mm"
                                    margin-top="15mm"
                                    margin-bottom="10mm"
                                    margin-left="20mm"
                                    margin-right="10mm">
                    <fo:region-body/>
                    <fo:region-after extent="60mm"/>
                </fo:simple-page-master>
            </fo:layout-master-set>

            <fo:page-sequence master-reference="main">
                <!-- Page Body -->
                <fo:static-content flow-name="xsl-region-after">
                    <fo:block overflow="false">
                        <fo:retrieve-marker retrieve-class-name="tail"
                                            retrieve-boundary="page"
                                           
retrieve-position="last-ending-within-page"/>
                    </fo:block>
                </fo:static-content>

                <!-- Page Body -->
                <fo:flow flow-name="xsl-region-body">
                    <xsl:apply-templates select="report"/>
                </fo:flow>
            </fo:page-sequence>
        </fo:root>
    </xsl:template>

    <xsl:template match="report">
        <!-- Report Body -->
        <fo:block>
                ....
            <fo:block color="white">
                <fo:block>1.</fo:block>
                ..... Quantity of blocks I got by experimental way. 
                ..... They should cover the same place as tail on the 
                ..... height.
                <fo:block>N.</fo:block>
            </fo:block>
        </fo:block>

        <!-- Report Tail -->
        <fo:block>
            <fo:marker marker-class-name="tail">
                <fo:table border-collapse="separate" 
                          table-layout="fixed">
                    <fo:table-column column-width="180mm"/>
                    <fo:table-body>
                        <fo:table-row keep-together="always">
                            <fo:table-cell>
                                     ....
                            </fo:table-cell>
                        </fo:table-row>
                    </fo:table-body>
                </fo:table>
            </fo:marker>
        </fo:block>
    </xsl:template>
</xsl:stylesheet>


It's "looks like OK"...

Miroslav

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to