xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Delmelle <andreas.delme...@telenet.be>
Subject Re: Area Tree Handling
Date Sun, 12 Jul 2009 07:27:50 GMT
On 10 Jul 2009, at 18:51, TomWilcox wrote:

Hi Tom

> <snip />
> Or even better, can anyone point me in the direction of any good
> tutorials/examples that show Java code using embedded FOP to  
> generate an
> area tree object for an FO stream/file and then modify it with code..?

Most examples of using FOP in an embedded fashion are available in the  
repository, see:

Since you're planning on using the intermediate Area Tree XML, you may  
want to check if you can use FOP Trunk and go for the new Intermediate  
XML (which offers significant advantages over the Area Tree XML).

If you're stuck with 0.95 for the moment, no worries, the Area Tree  
XML will still be supported.

Examples on using the Area Tree can be found here:

Examples on using the new IF, in the same base directory:

IIC, then you may want to check if you can manipulate the Area Tree  
XML by means of a stylesheet. That will facilitate writing the code,  
since all you really need to do is insert an additional transformation  
after producing the area tree.

The Area Tree XML format itself is undocumented, so you'll have to  
study the output a bit before you will see how you can achieve the  
desired result. If you run into questions, we'll be here to answer  
them for you.

HTH, and Good luck!


Andreas Delmelle
jabber: mandreas@jabber.org
skype: adlm0608


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

View raw message