I am looking for suggestions ?

        I build a SVG DOM Tree.

        I would need to translate the SVG DOM tree into a FOP DOM tree,
before I can run FOP right ?

        Please, any help would be greatful, I don't want to fiddle with
anything if I don't need to.

Thanks


-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2003 5:41 PM
To: [EMAIL PROTECTED]
Subject: Re: PDFRenderer.


Leet, Ethan C wrote:
>       Page.getBody().getMainReferenceArea().addChild(SVGArea);

I highly suspect you'll have to add a block area and probably also a
line area and ultimately add the SVG to the latter.
You can check how a working area tree looks like by rendering a simple
FO file with the SVG first to PDF (to check whether it works) and then
as XML output.

BTW why do you fiddle with areas? Building a DOM tree and running
FOP on it should be much easier.

J.Pietschmann


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

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

Reply via email to