You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Olivier Rossel <ol...@anyware-tech.com> on 2002/03/08 14:30:00 UTC

Table header.

Is it possible to have when you are using a table header, a variable 
that tells how many times this header has already been
duplicated, because of page break.
Si you can have a header that displays on the first page:
Table important
and on the second page:
Table important (2)
and on the third page
Table important (3)


Re: Table header.

Posted by Olivier Rossel <ol...@anyware-tech.com>.
Chuck Paussa wrote:

> Olivier,
>
> The quick answer is "No. But there are people wanting to write an 
> extension function to do this."
>
> What you can do is return the page number that the table sits on 
> within the page sequence in which the table sits. So, if you can do 
> without page numbers on your output, you can create a new page 
> sequence for each table, set the initial-page-number = 1, and then 
> return the page number (Code attached)

BTW, is it true that FOP can output HUGE PDF, if you declare a new 
page-sequence for each page (even if the page sequence description is 
similar for all the pages).
Using that, plus the the initial-page-number attribute, plus minimum of 
XSL for FO generation, you are ok. True?



Re: Table header.

Posted by Chuck Paussa <Ch...@systems.dhl.com>.
Olivier,

The quick answer is "No. But there are people wanting to write an 
extension function to do this."

What you can do is return the page number that the table sits on within 
the page sequence in which the table sits. So, if you can do without 
page numbers on your output, you can create a new page sequence for each 
table, set the initial-page-number = 1, and then return the page number 
(Code attached)

Chuck Paussa

Olivier Rossel wrote:

> Is it possible to have when you are using a table header, a variable 
> that tells how many times this header has already been
> duplicated, because of page break.
> Si you can have a header that displays on the first page:
> Table important
> and on the second page:
> Table important (2)
> and on the third page
> Table important (3)
>