The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Generating PDFs for Fun and Profit with Flying Saucer and iText
Subject:  More advanced page numbering
Date:  2007-09-07 11:44:04
From:  tietyt
Response to: More advanced page numbering


I tried emailing dev@xhtmlrenderer.dev.java.net after I signed up, but my email didn't go into the mailing list archives. Maybe it takes a while. Here was my email message:
I have a request for complex pagination in flying saucer.
Specifically, I'm generating a document where I want page 3 to be
numbered as page 2, and I don't want the 2 pages before that to be
numbered.

Here's the scenario (if you care): I'm sending a document with a cover
letter attached to it. I don't want the cover letter to count as a
page and just to make things look a little bit nicer, i don't want the
first "real" page to be numbered.

I'm reading this spec
http://www.w3.org/TR/css3-page/#page-based-counters and I actually
don't see any ability to do this in css3 (I'm VERY weak in css so
maybe I should be reading a different document).

Regardless, I'm willing to implement this myself if I have to. Can
anyone give me any hints as to whether this is already possible or
where to look in the source to start?

 Feed java.net RSS Feeds