Re: Re[2]: [xep-support] Table captions

From: ruth anderson (anderso2@apple.com)
Date: Wed May 05 2004 - 10:00:14 PDT

  • Next message: Victor Mote: "RE: [xep-support] uri(file:xxx) links"

    Thanks,
    We'll try this.
    REA
    On May 5, 2004, at 4:10 AM, Alexander Peshkov wrote:

    > Hello Ruth,
    >
    > As I said in my previous message you have to use nested tables. Take a
    > look at the following code-snippet:
    >
    > <fo:table>
    > <fo:table-header>
    > <fo:table-row>
    > <fo:table-cell>
    > <fo:list-block provisional-label-separation="6pt"
    > provisional-distance-between-starts="60pt">
    > <fo:list-item>
    > <fo:list-item-label
    > end-indent="label-end()"><fo:block>Table
    > 3-1</fo:block></fo:list-item-label>
    > <fo:list-item-body start-indent="body-start()">
    > <fo:block>Subclasses of IOAudioControl</fo:block>
    > </fo:list-item-body>
    > </fo:list-item>
    > </fo:list-block>
    > </fo:table-cell>
    > </fo:table-row>
    > </fo:table-header>
    > <fo:table-body>
    > <fo:table-row>
    > <fo:table-cell>
    > <fo:table>
    > <fo:table-header>
    > <fo:table-row>
    >
    > <fo:table-cell><fo:block>Subclass</fo:block></fo:table-cell>
    >
    > <fo:table-cell><fo:block>Description</fo:block></fo:table-cell>
    > </fo:table-row>
    > </fo:table-header>
    > <fo:table-body>
    > <fo:table-row>
    > <fo:table-cell border-top="thin solid
    > black"><fo:block>IOAudioLevelControl</fo:block></fo:table-cell>
    > <fo:table-cell border-top="thin solid
    > black"><fo:block>Implements an audio control
    > based...</fo:block></fo:table-cell>
    > </fo:table-row>
    > </fo:table-body>
    > </fo:table>
    > </fo:table-cell>
    > </fo:table-row>
    > </fo:table-body>
    > </fo:table>
    >
    > Best regards,
    > Alexander Peshkov
    > mailto:peshkov@renderx.com
    > RenderX
    >
    >
    > RA> Our tables usually have a header element and a caption element so
    > RA> would I have a table within a table structure each with their own
    > RA> header to accomplish this. Also our caption element is formated in
    > fo:
    > RA> list block to get spacing between the table number and font
    > change for
    > RA> the table caption text.
    > RA> Something like this:
    >
    > RA> We'd like the caption and the header to repeat at the top of a
    > RA> table when it breaks across several pages. Got any suggestions?
    > RA> Thanks
    >
    > RA> On Apr 28, 2004, at 1:31 AM, Alexander Peshkov wrote:
    >
    > RA>> Hello Ruth,
    > RA>>
    > RA>> Table caption is not a repeatable element in XSL-FO. In order to
    > RA>> emulate such repetition you have to use table headers. You can
    > place
    > RA>> your actual table in the single body cell of the wrapper table
    > which
    > RA>> has required caption text in the header. This header will be
    > repeated
    > RA>> at the beginning of every page.
    > RA>>
    > RA>> Best regards,
    > RA>> Alexander Peshkov
    > RA>> mailto:peshkov@renderx.com
    > RA>> 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



    This archive was generated by hypermail 2.1.5 : Wed May 05 2004 - 10:15:28 PDT