[xep-support] Re: Problem with rx:table-omit-initial-header="true"

From: Kevin Brown <kevin@renderx.com>
Date: Thu Feb 16 2012 - 13:15:14 PST

And for those that wish to know . there is also a hidden extensions used by
particular customers (in this case the US Office of Management and Budget).

 

Look at this example:
http://www.renderx.com/files/demos/examples/InteriorChapter.pdf

 

There are three levels of headers in this document that are special
continued headers that appear on left-hand facing pages only:

 

General and special funds-Continued

OREGON AND CALIFORNIA GRANT LANDS -Continued

Program and Financing (in millions of dollars)-Continued

 

This is done in the same way, a table with a header that is omitted at first
and also using:

 

rx:table-display-header-before="even-page"

 

The body has the row . section heading "General and special funds", followed
by a row with one cell which is all the section contents. The header is a
row with "General and special funds-continued".

 

The repeated headings only appear on left hand pages giving a nice look to
the budget documents.

 

Kevin Brown

RenderX

 

From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Kevin Brown
Sent: Thursday, February 16, 2012 12:57 PM
To: 'RenderX Community Support List'
Subject: [xep-support] Re: Problem with rx:table-omit-initial-header="true"

 

Great to hear all is working. And the name really says it all ..
omit-initial-header . so it just drops the first one that would be placed on
a table. So you put what you want as the initial header in the first row(s)
and voila, you can have a different "first header" (which is not really a
header at all, it is part of the body) .

 

Kevin Brown

RenderX

 

From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Anderson, Paul
Sent: Thursday, February 16, 2012 11:57 AM
To: RenderX Community Support List
Subject: [xep-support] Re: Problem with rx:table-omit-initial-header="true"

 

Alas, you are correct. When I inspected the use case, I neglected to see
that the developer must duplicate the header rows at the start of the table
body. When the FO has the required changes to the table and the headers, but
does not duplicate the headers at the start of the body, you see the
behavior I described.

 

I noticed that the XSL must remember to set keep-with-next on the header
row(s) in the body or they can get orphaned.

 

Thank you for the insight and I apologies for the false alarm.

 

Best regards,

 

Paul

 

  _____

From: Kevin Brown [mailto:kevin@renderx.com]
Sent: Wednesday, February 15, 2012 8:09 PM
To: 'RenderX Community Support List'; Anderson, Paul
Subject: RE: [xep-support] Problem with rx:table-omit-initial-header="true"

And a sample attached showing that it works as expected and not as you have
written. Please examine this sample. And again, send us the FO if you cannot
find the error in what you are doing.

 

Kevin Brown

RenderX

 

From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Anderson, Paul
Sent: Wednesday, February 15, 2012 4:37 PM
To: xep-support@renderx.com
Subject: [xep-support] Problem with rx:table-omit-initial-header="true"

 

Greetings,

 

We're trying to leverage the rx:table-omit-initial-header attribute to
provide a running title for a table when that table spans multiple pages.
The working sample on the http://www.renderx.com/usecasestest.html page
shows that rx:table-omit-initial-header="true" is supposed to omit the first
fo:table-row in the fo:table-header region at the start of the table and
include all table-header rows if the table spans a page break. We can't seem
to make the rx:table-omit-initial-header attribute work as advertised.

 

As outlined on the http://www.renderx.com/usecasestest.html page, we've
adjusted our xsl to do the following:

- If there's a title on the table, set rx:table-omit-initial-header="true"
on the fo:table element, otherwise, set it to "false".

- Add the table title in an additional fo:table-row in the fo:table-header
region before the other table header row(s).

 

In the output, every table that had rx:table-omit-initial-header="true"
renders without _any_ of the table header rows at the start of the table
(this is a bad thing). We expected it to omit the first header row, not all
of them! If the table spans a page break, all the table header rows,
including the running title, appear at the top of the next page (this is
working as desired).

 

We have dissected our input FO file and are confident that the input
structure is as described in the use case.

 

We are using XEP version 4.19, build 20110414. Please advise regarding a
possible patch or workaround. Thank you for your help.

 

Best regards,

 

Paul Anderson

Information Developer - Codex Administrator

Compuware Corporation - +1-313-227-2031

 

 

!DSPAM:87,4f3d5f9d63732081910099!

_______________________________________________
(*) 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
Received on Sun Apr 29 23:50:33 2012

This archive was generated by hypermail 2.1.8 : Sun Apr 29 2012 - 23:50:33 PDT