From: Keiron Liddle Date: Fri, 15 Sep 2000 00:13:01 +0000 (+0000) Subject: added x,y,width height to use el X-Git-Tag: pre-columns~185 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d5d5888628ab673478a4ee1625c8df17199ab895;p=xmlgraphics-fop.git added x,y,width height to use el git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193695 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/svg/Use.java b/src/org/apache/fop/svg/Use.java index 415512684..b8efe193c 100644 --- a/src/org/apache/fop/svg/Use.java +++ b/src/org/apache/fop/svg/Use.java @@ -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; } }