[xep-support] Re: Alternate text in carried over table header
Kevin Brown
kevin at renderx.com
Mon Mar 23 14:51:50 PDT 2015
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 at ardex.com.au]
Sent: Monday, March 23, 2015 2:38 PM
To: 'kevin at 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 at 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 at renderx.com] On Behalf Of
Darren Munt
Sent: Thursday, March 19, 2015 9:53 PM
To: xep-support at renderx.com <mailto:xep-support at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20150323/d9ac3090/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 32841 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20150323/d9ac3090/attachment-0001.png>
More information about the Xep-support
mailing list