This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

skipping page numbers in fo


I am trying to alter the page sequence of a report generated by fop.
The relevant code is:

<fo:block background-color="#cccccc" text-align="start" font-size="8pt"
font-family="Helvetica">
   <xsl:text>Page </xsl:text>
   <fo:inline><fo:page-number/></fo:inline>
   <xsl:text> of </xsl:text>
   <fo:inline><fo:page-number-citation
ref-id="last-page-number"/></fo:inline>
</fo:block>

this is inside

<fo:page-sequence ...><fo:flow ...>

tags.
What I want to do is skip certain pages (separator pages) and not include
them in the page sequence, i.e. (--------------------- represents a new
page)

---------------------
AA header

page 1 of 5
---------------------
AA header

page 2 of 5
---------------------
(separator page)
---------------------
BB header

page 3 of 5
---------------------
(separator page)
---------------------
CC header

page 4 of 5
---------------------
CC header

page 5 of 5
---------------------



Is there a way to do this with fo, without resetting the fo:page-sequence
initial-page-number="1"
attribute?
Thanks.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]