Hi

I dont use fop long time ago but I think that if you access the content of
you renderedDocument, you get try to get the "force-page-count" attribute
to get the number of pages...

.getAttribute("force-page-count") or "page-count" attribute...

you can also check this link: http://xmlgraphics.apache.org/fop/fo.html

Regards

On Tue, Jan 24, 2012 at 3:43 PM, Michael Kainzbauer
<[email protected]>wrote:

> Hello,
>
> is there a possibility to get the page count of the latest converted
> document?
>
> Something like Apache FOP provides:
>
> fopInputHandler.renderTo(foUserAgent,
> translateOutputFormat(outputFormat), renderedDocument);
> int pageCount = fopInputHandler.getPageCount();
>
>
>
> Thanks,
>
> Michael
>
> --
> XMLmind FO Converter Support List
> [email protected]
> http://www.xmlmind.com/mailman/listinfo/xfc-support
>



-- 
Paulo Carvalho
1 rue du Chateau
57710 Aumetz
France
http://forum-informatico.forumeiros.com/index.htm
http://ummundoecologico.blogspot.com
 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to