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 Carlos Villegas <ca...@uniscope.jp> on 2015/11/27 04:06:42 UTC

FOP API: AT and PDF outputs in one go

Hi,

Using the FOP embedding API, can I get the  area tree and PDF outputs in 
one go?
I need both outputs for the same input, the area tree to do some 
post-processing on the PDF.
Currently I'm calling FOP twice, for the area tree, I set it to mimic 
the PDF.
Isn't the area tree available (internally) while processing PDF anyway?
I'm trying to reduce the processing time.

Cheers,
Carlos


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


Re: FOP API: AT and PDF outputs in one go

Posted by "Szeak (Register Man)" <sz...@gmail.com>.
Hi,

Just an idea: why don't you use the intermediate format?
So, first render FO to intermediate format (IF), than render IF to PDF.
This is two steps but nearly the same time, as one step FO to PDF.

Bye, Szeak

2015-11-27 04:06 keltezéssel, Carlos Villegas írta:
> Hi,
>
> Using the FOP embedding API, can I get the  area tree and PDF outputs 
> in one go?
> I need both outputs for the same input, the area tree to do some 
> post-processing on the PDF.
> Currently I'm calling FOP twice, for the area tree, I set it to mimic 
> the PDF.
> Isn't the area tree available (internally) while processing PDF anyway?
> I'm trying to reduce the processing time.
>
> Cheers,
> Carlos
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>


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