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

From: Els van Trigt (evtrigt@ambrac.nl)
Date: Tue Jul 29 2003 - 04:06:37 PDT

  • Next message: i.de.jong@everest.nl: "Re: [xep-support] No border lines are rendered in table-header and table-footer and table-column"

    Hello Iris,

    I was not really happy with the suggested solution either for the same
    reasons. In the XML we use the CALS table model, and what I now do in my
    stylesheet is processing the content of a table cell differently within the
    context of a <thead> (with standard borders) and a <tbody>. Not the best
    solution, for I think it should be solved in the <fo:table-header>
    rendering. If the background colours in the <fo:table-header> work why don't
    the borders work?
    Hope it will be fixed one day...

    Succes!

    Regards,
    Els van Trigt
    -----Original Message-----
    From: owner-xep-support@renderx.com
    [mailto:owner-xep-support@renderx.com]On Behalf Of i.de.jong@everest.nl
    Sent: Tuesday, July 29, 2003 12:26 PM
    To: xep-support@renderx.com
    Subject: [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

    ---
    Incoming mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
    -------------------
    (*) 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 - 04:12:22 PDT