[xep-support] No border lines are rendered in table-header and table-footer and table-column

From: i.de.jong@everest.nl
Date: Tue Jul 29 2003 - 03:25:54 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] No border lines are rendered in table-header and table-footer and table-column"

    Hello
    We have the same problem as Els van Trigt reported in
    http://xep.xattic.com/lists/xep-support/1200.html

    No border lines are rendered on the table-header and table-footer and
    table-column.

    We are currently evaluating XEP and we need this functionality for our
    documents.

    In your reply to Els van Trigt it was suggested to put the borders on the
    individual cells,
    but this will generate a lot more XML and won't suffice if a row does not
    contain all
    cells (the border line will be incomplete).

    (for your information: Apache FOP 0.20.4 renders the borders correctly,
    but we have other issues with that product that made us look at XEP)

    Will this be fixed in a new XEP?

    Regards,
      Irmen de Jong
      Everest b.v.

    P.S. The XSL-FO file we're using is as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:fox="http://xml.apache.org/fop/extensions">
        <fo:layout-master-set>
            <fo:simple-page-master margin-bottom="10mm" margin-left="25mm"
    margin-right="25mm"
                margin-top="10mm" master-name="onePage" page-height="297mm"
    page-width="210mm">
                <fo:region-body margin-bottom="25mm" margin-left="0mm"
    margin-top="30mm" region-name="body"/>
            </fo:simple-page-master>
            <fo:page-sequence-master master-name="normalPages">
                <fo:repeatable-page-master-alternatives>
                    <fo:conditional-page-master-reference
    master-reference="onePage" page-position="first"/>
                    <fo:conditional-page-master-reference
    master-reference="onePage" page-position="rest"/>
                </fo:repeatable-page-master-alternatives>
            </fo:page-sequence-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="normalPages">
            <fo:flow flow-name="body">
                <fo:block color="black" font-family="Helvetica"
    font-size="10pt" font-style="normal" font-weight="normal">
                    <fo:block color="black" font-family="Helvetica"
    font-size="12pt">Titel</fo:block>
                    <fo:table border-bottom-color="red"
    border-bottom-style="solid"
                        border-bottom-width="0.1mm" border-top-color="blue"
    border-top-style="solid"
                        border-top-width="0.1mm" keep-together="always"
    space-before="10pt"
                        table-layout="fixed" width="100%">
                        <fo:table-column column-number="1"
    column-width="proportional-column-width(30)"/>
                        <fo:table-column column-number="2"
    column-width="proportional-column-width(30)" border-left-color="yellow"
    border-left-style="solid" border-left-width="0.1mm" padding="1pt"/>
                        <fo:table-column column-number="3"
    column-width="proportional-column-width(30)"/>
                        <fo:table-column column-number="4"
    column-width="proportional-column-width(10)"/>
                        <fo:table-header border-bottom-color="green"
    border-bottom-style="solid" border-bottom-width="0.1mm" padding="1pt">
                            <fo:table-row>
                                <fo:table-cell
    padding="1pt"><fo:block>aap</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>noot</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>mies</fo:block></fo:table-cell>
                            </fo:table-row>
                        </fo:table-header>
                        <fo:table-footer border-top-color="purple"
    border-top-style="solid" border-top-width="0.1mm" padding="1pt">
                            <fo:table-row>
                                <fo:table-cell
    padding="1pt"><fo:block>aap</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>noot</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>mies</fo:block></fo:table-cell>
                            </fo:table-row>
                        </fo:table-footer>
                        <fo:table-body>
                            <fo:table-row>
                                <fo:table-cell
    padding="1pt"><fo:block>aap</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>noot</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>mies</fo:block></fo:table-cell>
                            </fo:table-row>
                            <fo:table-row>
                                <fo:table-cell
    padding="1pt"><fo:block>aap</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>noot</fo:block></fo:table-cell>
                                <fo:table-cell
    padding="1pt"><fo:block>mies</fo:block></fo:table-cell>
                            </fo:table-row>
                         </fo:table-body>
                    </fo:table>
                </fo:block>
            </fo:flow>
        </fo:page-sequence>
    </fo:root>

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Tue Jul 29 2003 - 03:29:13 PDT