From 4dde5466064eb314be67b53d7839d979280df823 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 15 Sep 2000 00:27:00 +0000 Subject: [PATCH] added xpos 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/org/apache/fop/layout/ForeignObjectArea.java b/src/org/apache/fop/layout/ForeignObjectArea.java index cdb1e47de..b067eed16 100644 --- a/src/org/apache/fop/layout/ForeignObjectArea.java +++ b/src/org/apache/fop/layout/ForeignObjectArea.java @@ -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; } -- 2.39.5