]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
added x,y,width height to use el
authorKeiron Liddle <keiron@apache.org>
Fri, 15 Sep 2000 00:13:01 +0000 (00:13 +0000)
committerKeiron Liddle <keiron@apache.org>
Fri, 15 Sep 2000 00:13:01 +0000 (00:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193695 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/svg/Use.java

index 415512684515cbcff3e8cc683f855936fd1e8b1e..b8efe193cef1d7060379081ffb112e1345dd89a4 100644 (file)
@@ -113,6 +113,10 @@ public class Use extends SVGObj {
                graph.setStyle(((SVGStyle)this.properties.get("style")).getStyle());
                graph.setTransform(((SVGTransform)this.properties.get("transform")).getTransform());
                graph.setId(this.properties.get("id").getString());
+               graph.setX(new SVGAnimatedLengthImpl(((SVGLengthProperty)this.properties.get("x")).getSVGLength()));
+               graph.setY(new SVGAnimatedLengthImpl(((SVGLengthProperty)this.properties.get("y")).getSVGLength()));
+               graph.setWidth(new SVGAnimatedLengthImpl(((SVGLengthProperty)this.properties.get("width")).getSVGLength()));
+               graph.setHeight(new SVGAnimatedLengthImpl(((SVGLengthProperty)this.properties.get("height")).getSVGLength()));
                return graph;
        }
 }