Hi Oscar, Oscar Picasso <[EMAIL PROTECTED]> wrote on 01/21/2006 02:11:47 PM:
> I'm sorry but it still don't get it. See below. > > [EMAIL PROTECTED] wrote: > [...] > 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. > [...] > I build my DOM from an SVG file which contains flowText elements. In on of the SVG 1.2 draft they introduce a group of elements for flowing text. Take a look at samples/tests/spec12/text for examples of how to use these elements. > If I don't set a version attribute in the svg element the flow elements are > from the org.apache.batik.extension.svg package. This is a fore-runner of the SVG 1.2 stuff. The only thing this does better is vertical alignment - but that is because it only supports flowing into rectangles. > How do I go from there to batik.dom.svg12.SVGOMFlow(Div|Para|Line|Span)Element? If you use the SVG flowRoot element (in the svg namespace with version="1.2") then your elements will be the above with the TextContent interfaces. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
