You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@apache.org on 2001/02/11 01:47:48 UTC

cvs commit: xml-fop/src/org/apache/fop/dom/svg SVGTextElementImpl.java

arved       01/02/10 16:47:48

  Modified:    src/org/apache/fop/dom/svg SVGTextElementImpl.java
  Log:
  Patch for SVG viewbox
  
  Revision  Changes    Path
  1.3       +5 -1      xml-fop/src/org/apache/fop/dom/svg/SVGTextElementImpl.java
  
  Index: SVGTextElementImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGTextElementImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SVGTextElementImpl.java	2000/08/29 00:00:28	1.2
  +++ SVGTextElementImpl.java	2001/02/11 00:47:47	1.3
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGTextElementImpl.java,v 1.2 2000/08/29 00:00:28 keiron Exp $ -- 
  +/*-- $Id: SVGTextElementImpl.java,v 1.3 2001/02/11 00:47:47 arved Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -53,6 +53,7 @@
   import java.util.*;
   
   import org.w3c.dom.svg.*;
  +import org.apache.fop.fo.EnumProperty;
   
   /**
    * class representing text in an SVG Area
  @@ -65,6 +66,9 @@
   
   	/** y-coordinate of text */
   	public float y;
  +
  +	/** alignment of text */
  +	public EnumProperty anchor;
   
   	/** vector of text elements, strings, tspan, tref */
   	public Vector textList;