diff options
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() { |