Re: [xep-support] table header orphaned

From: Alexander Peshkov (peshkov@renderx.com)
Date: Fri Sep 05 2003 - 02:31:20 PDT

  • Next message: Jim Quest: "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



    This archive was generated by hypermail 2.1.5 : Fri Sep 05 2003 - 02:34:32 PDT