Hello Andreas,


Thursday, September 28, 2006, 7:27:28 PM, you wrote:


> On Sep 28, 2006, at 10:04, Igor Istomin wrote:


>> Hi,

>>

>> I started to use FOP 0.92beta (for prototyping of print subsystem) and

>>

>> I need to measure some content before producing of final XSL-FO  

>> document.

>>

>> In fact, I need to determine height of page header/footer.

>>

>> Is it possible to use FOP's API (internal) to perform such  

>> measurements ?


> Possible? I think so, but it could turn out to be quite some work...


> Maybe you could use the Intermediate Format (*) for this?

> Render the area tree to XML, perform the computations/transform the

> attributes via XSLT, and finally render the altered area tree to PDF.

Thanks for this idea. I consider this solution as alternative. The problem

is that an input document can be huge and it seems not rational to process

the whole document to modify page header/footer only.


> HTH!


> Andreas


> (*) see: http://xmlgraphics.apache.org/fop/0.92/intermediate.html


But, anyway, thanks a lot :)


___________________________________

Best regards,

Igor Istomin - Developer.

e-mail: mailto:[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to