You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@locus.apache.org on 2000/09/15 02:27:01 UTC
cvs commit: xml-fop/src/org/apache/fop/layout ForeignObjectArea.java
keiron 00/09/14 17:27:01
Modified: src/org/apache/fop/layout ForeignObjectArea.java
Log:
added xpos
Revision Changes Path
1.4 +12 -1 xml-fop/src/org/apache/fop/layout/ForeignObjectArea.java
Index: ForeignObjectArea.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/ForeignObjectArea.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ForeignObjectArea.java 2000/08/10 06:46:53 1.3
+++ ForeignObjectArea.java 2000/09/15 00:27:00 1.4
@@ -1,4 +1,4 @@
-/*-- $Id: ForeignObjectArea.java,v 1.3 2000/08/10 06:46:53 keiron Exp $ --
+/*-- $Id: ForeignObjectArea.java,v 1.4 2000/09/15 00:27:00 keiron Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -59,6 +59,7 @@
public class ForeignObjectArea extends Area {
+ protected int xOffset = 0;
/* text-align of contents */
protected int align;
/* vertical align of contents */
@@ -92,6 +93,16 @@
public void render(Renderer renderer) {
if(foreignObject != null)
renderer.renderForeignObjectArea(this);
+ }
+
+ public int getXOffset()
+ {
+ return this.xOffset;
+ }
+
+ public void setStartIndent(int startIndent)
+ {
+ xOffset = startIndent;
}
public void setObject(Area fobject) {