From d5d5888628ab673478a4ee1625c8df17199ab895 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 15 Sep 2000 00:13:01 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/svg/Use.java | 4 ++++ 1 file changed, 4 insertions(+) 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; } } -- 2.39.5