Hi,

<fo:marker> and <fo:retrieve-marker> are your best friends here. Example:

<fo:flow>
  <fo:marker marker-class-name="continued"></fo:marker>
  ...
  <fo:table>
   <fo:table-header>
    <fo:table-row>
     <fo:table-cell>Header <fo:retrieve-marker
retrieve-class-name="continued"/></fo:table-cell>
    </fo:table-row>
   </fo:table-header>   
   <fo:table-body>
    <fo:table-row>
     <fo:table-cell>
      <fo:marker marker-class-name="continued">cont.</fo:marker>
        content...
    </fo:table-row>
   </fo:table-body>
  </fo:table>
</fo:flow>

Cheers,
Sascha  

-----Original Message-----
From: Prakash R [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 19, 2005 8:23 AM
To: fop-users@xmlgraphics.apache.org
Subject: Long Table repeat header

I have a document (FO-PDF) made up of multiple tables.
Some of these tables are long and span multiple pages.
I want to be able to repeat the header on the next page. But at the same
time I want to add the word continued for any subsequent pages. i.e.

col1   col2   col3
TABLE HEADER
-------------------
jjf   jflkds   jflkds
fjs   jflsda   jklfds
jjf   jflkds   jflkds
fjs   jflsda   jklfds
jjf   jflkds   jflkds
fjs   jflsda   jklfds
--- page break ----
col1   col2   col3
TABLE HEADER (CONTD)
-------------------
fjs   jflsda   jklfds
fjs   jflsda   jklfds

col1   col2   col3
TABLE HEADER2
-------------------
fjs   jflsda   jklfds
fjs   jflsda   jklfds
fjs   jflsda   jklfds
--- page break ----
col1   col2   col3
TABLE HEADER3
-------------------
fjs   jflsda   jklfds
fjs   jflsda   jklfds
fjs   jflsda   jklfds

Is there anything in FO that will allow repeating of table header and also
modification of table header in subsequent pages?

Thank you.
Prakash

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to