]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
added xpos
authorKeiron Liddle <keiron@apache.org>
Fri, 15 Sep 2000 00:27:00 +0000 (00:27 +0000)
committerKeiron Liddle <keiron@apache.org>
Fri, 15 Sep 2000 00:27:00 +0000 (00:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193703 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/ForeignObjectArea.java

index cdb1e47de7dd7af975ab289b649605a40b6ac8b1..b067eed168fd725fe66205a76bbc68b03f81719c 100644 (file)
@@ -59,6 +59,7 @@ import java.util.Enumeration;
 
 public class ForeignObjectArea extends Area {
        
+    protected int xOffset = 0;
     /* text-align of contents */
     protected int align;
     /* vertical align of contents */
@@ -94,6 +95,16 @@ public class ForeignObjectArea extends Area {
                renderer.renderForeignObjectArea(this);
     }
 
+    public int getXOffset()
+    {
+        return this.xOffset;
+    }
+
+    public void setStartIndent(int startIndent)
+    {
+           xOffset = startIndent;
+    }
+
     public void setObject(Area fobject) {
         foreignObject = fobject;
     }