diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2009-08-26 18:50:10 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2009-08-26 18:50:10 +0000 |
commit | bcfda76c15640c34c91f2d8e29d85b9326ab8d25 (patch) | |
tree | 8ebab128378a36a84ddd450063a402ff2b6841e5 /src/java/org/apache/fop/layoutmgr/LeafPosition.java | |
parent | 9520407736edcb4389c1418b70e0f7f376d7bd85 (diff) | |
download | xmlgraphics-fop-bcfda76c15640c34c91f2d8e29d85b9326ab8d25.tar.gz xmlgraphics-fop-bcfda76c15640c34c91f2d8e29d85b9326ab8d25.zip |
Merged back ChangingIPDHack branch into Trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/LeafPosition.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/LeafPosition.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LeafPosition.java b/src/java/org/apache/fop/layoutmgr/LeafPosition.java index ed8cc94e2..8b2a5f4bc 100644 --- a/src/java/org/apache/fop/layoutmgr/LeafPosition.java +++ b/src/java/org/apache/fop/layoutmgr/LeafPosition.java @@ -21,15 +21,20 @@ package org.apache.fop.layoutmgr; public class LeafPosition extends Position { - private int iLeafPos; + private int leafPos; public LeafPosition(LayoutManager lm, int pos) { super(lm); - iLeafPos = pos; + leafPos = pos; + } + + public LeafPosition(LayoutManager layoutManager, int pos, int index) { + super(layoutManager, index); + leafPos = pos; } public int getLeafPos() { - return iLeafPos; + return leafPos; } public boolean generatesAreas() { |