Well, I have looked through the Driver and
SVGElementMapping classes and concluded that in order
to create batik extension support in FOP, I need to
create similiar classes of SVGElementMapping, SVGObj
and SVGElement in the FOP src and then register them
with the FOP driver class. Are these conclusions valid
and also, are there any changes I need to do in batik
src ?

Swapan.

--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Swapan Golla wrote:
> > I did put the batik-extension.jar,
> batik-svg-dom.jar
> > in the classpath and then tried to convert into
> pdf.
> > If I externally reference the svg file, everything
> > works fine but if I embed the svg file in my fo
> > document, it produces a blank pdf with the
> following
> > errors:
> > 
> > Unknown Formatting Object
> > http://xml.apache.org/batik/ext^flowText
> ...
> > How can the same svg work well when externally
> > referenced but not work when embedded in an fo
> > document? Can anybody help ? 
> 
> The DOM for instream-foreign-objects is built by
> FOP. The
> current code uses an explicit mapping to a maker
> class for
> this. You'll have to provide an element mapping
> class as
> well as a maker class for any extension elements.
> The
> mapping class can be registered as a service as well
> as
> explicitely supplied to the Driver. Look into the
> source
> fo rthe Driver and the SVGElementMapping for hints
> and
> examples.
> 
> J.Pietschmann
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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

Reply via email to