[xep-support] Re: Alternate text in carried over table header

From: Kevin Brown <kevin@renderx.com>
Date: Mon Mar 23 2015 - 13:51:50 PST

Darren:

 

On the overall table you would use something like this (be sure to add the
rx: namespace):

 

<fo:table rx:table-omit-initial-header="true">

 

Then when creating the table header you actually do something like this,
which would be the continuation header:

 

<fo:table-header>
            <fo:table-row>
                        <fo:table-cell>
                                    <fo:block>Heading-Continued</fo:block>
                        </fo:table-cell>
            </fo:table-row>
</fo:table-header>

 

Then when creating the table body you put in the header you want for the
table as the first row:

 

<fo:table-row>
            <fo:table-cell>
                        <fo:block>Heading</fo:block>
            </fo:table-cell>
</fo:table-row>

 

So you get something like this:

 

 

From: Darren Munt [mailto:darrenm@ardex.com.au]
Sent: Monday, March 23, 2015 2:38 PM
To: 'kevin@renderx.com'; 'RenderX Community Support List'
Subject: RE: [xep-support] Re: Alternate text in carried over table header

 

It's probably a little bit easier in my situation because one of the rules
for this report is that it has to be single page, so we don't have to deal
with page breaking. What we have are a bunch of tables each with a header
which flow across two columns on the page. Inevitably one of the tables
breaks at the bottom of column 1 and so we want the 'continued' text
appended to the header at the top of column 2. So I think from what you're
saying below, I need to look at omit-initial-table-header.

 

From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of
Kevin Brown
Sent: Tuesday, 24 March 2015 6:41 AM
To: 'RenderX Community Support List'
Subject: [xep-support] Re: Alternate text in carried over table header

 

Do you only want it on a column? Meaning if I have a table that goes for two
pages in two columns you would want this:

 

Option 1:

Heading Heading-continued

. ..

********** page ****************

Heading Heading-continued

. .

 

Or do you want it on all columns of the table? The sample above would be:

 

Option 2:

Heading Heading-continued

. ..

********** page ****************

Heading-continued Heading-continued

. .

 

Option 1 is not possible without customizing the intermediate format.
RenderX does not support retrieve-table-marker.

Option 2 you would use omit-initial-table-header.

 

Kevin Brown

RenderX

 

From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of
Darren Munt
Sent: Thursday, March 19, 2015 9:53 PM
To: xep-support@renderx.com <mailto:xep-support@renderx.com>
Subject: [xep-support] Alternate text in carried over table header

 

I'm trying to work out if we can have the table header text display
different text when the table splits over a column, not a page. We want the
table header text to be appended with 'continued' when that happens.

 

I thought I'd be able to use retrieve-table-marker but I get a syntax error,
so perhaps they are still not supported, or my syntax is wrong?

 

    <fo:table table-layout="fixed" width="100%" space-after="0.5cm">

      <fo:table-column column-width="1cm" />

      <fo:table-column column-width="proportional-column-width(1)" />

 

      <fo:table-header>

        <fo:table-cell number-columns-spanned="2">

          <fo:block font-size="8pt" font-weight="bold">

            Table header text here

            <fo:retrieve-table-marker retrieve-class-name="cont"/>

          </fo:block>

        </fo:table-cell>

      </fo:table-header>

 

      <fo:table-body>

        <fo:table-row>

          <fo:table-cell number-columns-spanned="2">

            <fo:block>

              <fo:table-marker marker-class-name="cont"/>

            </fo:block>

          </fo:table-cell>

        </fo:table-row>

 

          <fo:table-row>

            <fo:table-cell number-columns-spanned="2">

            <fo:block>

              <fo: table-marker
marker-class-name="cont">continued</fo:marker>

            </fo:block>

          </fo:table-cell>

        </fo:table-row>

        

        <fo:table-row>

Etc..

 

Is there an alternative that I can use?

 

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html

image001.png
Received on Mon Mar 23 13:48:19 2015

This archive was generated by hypermail 2.1.8 : Mon Mar 23 2015 - 13:48:20 PST