Re: Page count after formatting?

Paulo Carvalho <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <CAD1WsdTirHN1tcCCTmFtTK0pfJ9PB7sORg6ojq42hnd4MJKY=w@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.