Hello.

Please excuse me if this has already been asked - I've trawled through
the archives and read the FAQ to try to find an answer, but to no avail.

I am using a table with a fixed height, and a table-footer element.
I may be missing something, but I would like to have the footer at
The bottom of the table, rather than after the last table row in the
body section. Does anyone know how I can achieve this?

( I've included an example in case I haven't explained myself clearly )

Thanks in advance,

Steve

Example fo xml:

<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

        <fo:layout-master-set>
                <fo:simple-page-master master-name="example"
margin-top="10mm" margin-bottom="10mm" margin-left="10mm"
margin-right="10mm" page-width="170mm" page-height="170mm">
                        <fo:region-body/>
                </fo:simple-page-master>
        </fo:layout-master-set>

        <fo:page-sequence master-reference="example">
        
                <fo:flow flow-name="xsl-region-body">
                        <fo:table border="1pt solid black"
height="100mm" table-layout="fixed">
                                <fo:table-column column-width="100mm"/>
                                <fo:table-header>
                                        <fo:table-row>
                                                <fo:table-cell>
                                                        <fo:block>
                                                                Header
                                                        </fo:block>
                                                </fo:table-cell>
                                        </fo:table-row>
                                </fo:table-header>
                                <fo:table-footer>
                                        <fo:table-row>
                                                <fo:table-cell>
                                                        <fo:block>
                                                                Footer
                                                        </fo:block>
                                                </fo:table-cell>
                                        </fo:table-row>
                                </fo:table-footer>
                                <fo:table-body>
                                        <fo:table-row>
                                                <fo:table-cell>
                                                        <fo:block>
                                                                Body
                                                        </fo:block>
                                                </fo:table-cell>
                                        </fo:table-row>
                                </fo:table-body>
                        </fo:table>
                </fo:flow>
        </fo:page-sequence>
</fo:root>


this produces a pdf kind of like the following:

+-------------------+
|Header             |
|Body               |
|Footer             |
|                   |
|                   |
|                   |
|                   |
|                   |
+-------------------+

whereas what I would really like is:

+-------------------+
|Header             |
|Body               |
|                   |
|                   |
|                   |
|                   |
|                   |
|Footer             |
+-------------------+



This message is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or entities other
than the intended recipient is prohibited. If you receive this message
in error please contact the sender by return e-mail and delete the
message from your computer.

Any opinions contained in this message are those of the author and are
not given or endorsed by Metalogic PLC unless otherwise clearly
indicated in this message and the authority of the author to bind
Metalogic is duly verified.

Metalogic PLC accepts no liability for any errors or omissions in the
context of this message which arise as a result of internet
transmission.


Reply via email to