Hi Ruben,
Ruben Malchow <[EMAIL PROTECTED]> wrote on 08/18/2006 12:10:41 PM:
> when i load a document, change some bits in it, and then save it as a
> png using the PNGTranscoder, the changes i made to the DOM tree are not
> reflected in the result. however, i do set the context to dynamic and i
> do call addDOMListeners() .... what am i missing?
I don't know. You are modifying the DOM not the GVT tree right?
In fact unless you want to use the SVG Dom (getBBox, etc) you don't
even need build the GVT tree, just modify the DOM using DOM Core.
> i have the following code:
>
> [ inserting some nodes etc.: changes to the dom tree ]
I would be a little curious to see some of this code.
Also I assume you have looked for silly mistakes like the
document you edit being the same as the one you give
to the Transcoder...
> PNGTranscoder t = new PNGTranscoder();
> TranscoderInput input = new TranscoderInput(doc);
> TranscoderOutput output = new TranscoderOutput(
> new FileOutputStream("test.png"));
>
> t.transcode(input, output);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]