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 Sam Tsai <sh...@yahoo.com> on 2006/12/04 02:37:25 UTC

page count of document

I have an FO style sheet to generate a series of invoice from an XML file.
Each invoice is pretty much the same but the item on the invoice varies from
one to another. The invoice might be single page or multiple page for one
customer. 

I got the total page count of the output pdf (contains multiple invoice)
from FOP API. Is there any way we can find out how many page for each
customer's invoice is?
-- 
View this message in context: http://www.nabble.com/page-count-of-document-tf2748933.html#a7669574
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: page count of document

Posted by Sam Tsai <sh...@yahoo.com>.
The problem is resolved.

PageSequenceResults object can give you the page count of each invoice



Sam Tsai wrote:
> 
> I have an FO style sheet to generate a series of invoice from an XML file.
> Each invoice is pretty much the same but the item on the invoice varies
> from one to another. The invoice might be single page or multiple page for
> one customer. 
> 
> I got the total page count of the output pdf (contains multiple invoice)
> from FOP API. Is there any way we can find out how many page for each
> customer's invoice is?
> 

-- 
View this message in context: http://www.nabble.com/page-count-of-document-tf2748933.html#a7740263
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org