W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2011

RE: Adding continued to table header if goes more than one page

From: Mario Madunic <Mario_Madunic@newflyer.com>
Date: Tue, 1 Feb 2011 07:21:03 -0600
To: "G. Ken Holman" <gkholman@CraneSoftwrights.com>, "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
Message-ID: <246DE0E0EA0D6942B5426733426721227E23D8@NFIL050.newflyer.com>
Thanks Ken,

Worked like a charm.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf Of G. Ken Holman
Sent: Monday, January 31, 2011 2:36 PM
To: www-xsl-fo@w3.org
Subject: Re: Adding continued to table header if goes more than one page

At 2011-01-31 13:57 -0600, Mario Madunic wrote:
>I’m trying to have the word ‘continued’
>added to a table header when it spans more than
>one page. How might this be accomplished. I’m using AHF 5.

By using <retrieve-table-marker> in the table header, something like:

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

In your table, start with a zero-height row
first, and put a blank marker in that first row.
Then have a zero-height row next, and put the
continuation string in that marker.

   <table-body>
     <table-row>
       <table-cell>
         <marker class-name="cont"/>
         <block/>
       </table-cell>
     </table-row>
     <table-row>
       <table-cell>
         <marker class-name="cont">continued</marker>
         <block/>
       </table-cell>
     </table-row>

Then put all of your rows out.

The header on the first page will catch the first
marker, and the header on every other page will catch the second marker.

I hope this helps.

. . . . . . . . . . . Ken


--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal




Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Received on Tuesday, 1 February 2011 13:21:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 February 2011 13:21:42 GMT