Hi Oscar,

Oscar Picasso <[EMAIL PROTECTED]> wrote on 01/20/2006 07:56:06 AM:

> I am trying to use the code from SVN to use the TextContentElement 
methods of 
> FlowText but I have a lot of trouble.
> 
> 1- I have looked at FlowTextElement and still don't see the 
TextContentElementinterface.

   You should look at 
batik.dom.svg12.SVGOMFlow(Div|Para|Line|Span)Element,
if you are using the proprietary batik.extension.svg.FlowTextElement I
would suggest that the newer flow stuff is in general _much_ more capable.
Although regrettably, currently it appears that it will be just as 
proprietary in the foreseeable future.


> 2- I have also make a 'batik-all' jar and added to the classpath along 
with 
> - js.jar
> -xerces_2_5_0.jar
> -xalan-2.6.0.jar

        For some reason it appears that xalan isn't on your classpath.

>     PrefixResolver cannot be resolved to a type
> 
>     at 
org.apache.batik.dom.AbstractDocument.<init>(AbstractDocument.java:46)

--------------------

> [EMAIL PROTECTED] wrote:
> Hi Oscar,
> 
> Oscar Picasso wrote on 01/12/2006 08:14:41 AM:
> 
> > Actually I want to something similar to what I do with a regular text 
> element 
> > (as I asked in a previous thread): calculate a new font-size to let 
the 
> text 
> > fit on a particular region.
> 
> 
> >> 'text content' interfaces from the SVG DOM should be fully
> >> functional f or flow text.
> 
> > How do I get these interfaces? I have looked at the different FlowXXX 
> and I 
> > don't see which are the 'text content' interfaces and their BBox 
> methods.
> 
> You are correct the Flow elements didn't have the TextContent
> interfaces. I have fixed this in SVN (it was really just a matter
> of basing them on the right baseclass). Sorry about that... 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

> 
> Yahoo! Photos – Showcase holiday pictures in hardcover
> Photo Books. You design it and we’ll bind it!

Reply via email to