Re: [xep-support] Table caption support

From: Nikolai Grigoriev (grig@renderx.com)
Date: Fri May 23 2003 - 06:39:40 PDT

  • Next message: dougb: "[xep-support] Problems with fo tags written via disabled output-escaping"

    Ruth,

    the correct way to implement this feature would be to use nested tables:
    you put your table caption into the header of a wrapper table, and the
    actual
    data into the cell. Unfortunately, this won't work with the current shape
    of XEP because of limitations on headers.

    In some cases, a tricky workaround may help:

    <fo:block padding-before="36pt"
              padding-before.conditionality="retain"
              background="url(caption.pdf) top left no-repeat">
       <fo:table>
          ... actual table follows...

    This adds a padding to the block that contains the table, and draws
    an image in the upper left corner of the padding rectangle, on each page
    where the table happens to leave traces. The only problem with
    this approach, and a very serious one: it is hard to generate
    table caption texts as separate images.

    Regards,

    Nikolai Grigoriev
    RenderX

    ----- Original Message -----
    From: "Ruth Anderson" <anderso2@apple.com>
    To: <xep-support@renderx.com>
    Sent: Thursday, May 22, 2003 9:38 PM
    Subject: Re: [xep-support] Table caption support

    > Thanks for the response, but this is really about the table-caption and
    > not the table-header.
    > The table-header is working great, but I wanted to get the
    > table-caption to repeat it self across page breaks.
    > REA
    > On Thursday, May 22, 2003, at 12:48 AM, Nikolai Grigoriev wrote:
    >
    > > Ruth,
    > >
    > >> Is there support for repeating a Table caption with a table
    > >> that breaks across several pages? We're using XEP v3.3.1.
    > >
    > > According to the spec, <fo:table-caption> element is not repeated
    > > on page breaks. You have to use <fo:table-header> for this purpose.
    > > Please note however that table-header implementation in XEP is
    > > subject to restrictions: it will not work properly if a cell content
    > > is split by a page break.
    > >
    > > Best regards,
    > > Nikolai Grigoriev
    > > RenderX
    > >
    > > -------------------
    > > (*) 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

    -------------------
    (*) 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 May 23 2003 - 06:57:20 PDT