RE: [xep-support] table header orphaned

From: Jim Quest (relliquest@planet.nl)
Date: Fri Sep 05 2003 - 03:16:26 PDT

  • Next message: Cournane, Mavis (M.): "[xep-support] Hungarian hyphenation"

    Hello Alexander,
    I have now tried putting that attribute on the table-cell in the row of
    the header

    <fo:table-cell keep-with-next.within-column="always"
    keep-together.within-column="always" border="1pt solid">...

    as suggested, and it does not help. The table header is still being
    orphaned.

    Do I understand your suggestion correctly?

    -----Original Message-----
    From: owner-xep-support@renderx.com
    [mailto:owner-xep-support@renderx.com] On Behalf Of Alexander Peshkov
    Sent: 05 September 2003 11:31
    To: relliquest@planet.nl
    Subject: Re: [xep-support] table header orphaned

    Hello,

    If you want to prevent table header from being orphaned, you should
    specify keep-with-next.within-column="always" on its content cell.

    As for your test document - it's appearance caused by XEP limitation
    regarding repeating of table headers.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    rpn> Dear All,
    rpn> I have this problem that table header are being orphaned, left
    alone on the previous page. Also on the next page, the table header is
    not the top item.
    rpn> I have read the xep conformance stating that all cells must have
    keep-together.within.column="always", but that does not seem to help at
    all.
    rpn> Any clues why this is the case. Below I have a very small fo,
    which creates really bad PDF. I am using xep354.

    rpn> <?xml version="1.0"?>
    rpn> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    rpn> <fo:layout-master-set>
    rpn> <fo:simple-page-master master-name="page" page-height="6.4cm">
    rpn> <fo:region-body region-name="xsl-region-body" margin="0.7in"/>
    rpn> </fo:simple-page-master>
    rpn> </fo:layout-master-set>

    rpn> <fo:page-sequence master-reference="page">
    rpn> <fo:flow flow-name="xsl-region-body">
    rpn> <fo:table space-before="1.8cm"
    space-before.conditionality="retain">
    rpn> <fo:table-column column-number="1"/>
    rpn> <fo:table-header>
    rpn> <fo:table-row>
    rpn> <fo:table-cell keep-together.within-column="always"
    border="1pt solid">
    rpn> <fo:block font-weight="bold">Header Row</fo:block>
    rpn> </fo:table-cell>
    rpn> </fo:table-row>
    rpn> </fo:table-header>
    rpn> <fo:table-body>
    rpn> <fo:table-row>
    rpn> <fo:table-cell keep-together.within-column="always"
    border="1pt solid">
    rpn> <fo:block>Body Row 1</fo:block>
    rpn> </fo:table-cell>
    rpn> </fo:table-row>
    rpn> <fo:table-row>
    rpn> <fo:table-cell keep-together.within-column="always"
    border="1pt solid">
    rpn> <fo:block>Body Row 2</fo:block>
    rpn> </fo:table-cell>
    rpn> </fo:table-row>
    rpn> </fo:table-body>
    rpn> </fo:table>
    rpn> </fo:flow>
    rpn> </fo:page-sequence>
    rpn> </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

    -------------------
    (*) 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 : Fri Sep 05 2003 - 03:21:00 PDT