diff options
author | Keiron Liddle <keiron@apache.org> | 2003-02-27 23:30:51 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2003-02-27 23:30:51 +0000 |
commit | 02d1eaf0973bbd99a573bef82bb57ea9c5a46709 (patch) | |
tree | fe82ce69e47946ac76a6d0920a91d50ebf6dea55 /src/org/apache/fop/layoutmgr/AbstractLayoutManager.java | |
parent | cd98d9ad186f7b7ca03effb64b04a702a2c251ca (diff) | |
download | xmlgraphics-fop-02d1eaf0973bbd99a573bef82bb57ea9c5a46709.tar.gz xmlgraphics-fop-02d1eaf0973bbd99a573bef82bb57ea9c5a46709.zip |
improvement on markers, don't know if it is correct
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layoutmgr/AbstractLayoutManager.java')
-rw-r--r-- | src/org/apache/fop/layoutmgr/AbstractLayoutManager.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/org/apache/fop/layoutmgr/AbstractLayoutManager.java b/src/org/apache/fop/layoutmgr/AbstractLayoutManager.java index 33b7feaca..47ba39a85 100644 --- a/src/org/apache/fop/layoutmgr/AbstractLayoutManager.java +++ b/src/org/apache/fop/layoutmgr/AbstractLayoutManager.java @@ -174,7 +174,8 @@ public abstract class AbstractLayoutManager implements LayoutManager { curChildLM.resetPosition(null); curChildLM = (LayoutManager) childLMiter.previous(); } - childLMiter.next(); // Otherwise next returns same object + // Otherwise next returns same object + childLMiter.next(); } if(curChildLM != null) { curChildLM.resetPosition(pos); @@ -324,10 +325,10 @@ public abstract class AbstractLayoutManager implements LayoutManager { /** * Add the markers when adding an area. */ - protected void addMarkers(boolean start) { + protected void addMarkers(boolean start, boolean isfirst) { // add markers if (markers != null) { - addMarkerMap(markers, start); + addMarkerMap(markers, start, isfirst); } } @@ -336,8 +337,8 @@ public abstract class AbstractLayoutManager implements LayoutManager { * * @see org.apache.fop.layoutmgr.LayoutManager */ - public void addMarkerMap(Map marks, boolean start) { - parentLM.addMarkerMap(marks, start); + public void addMarkerMap(Map marks, boolean start, boolean isfirst) { + parentLM.addMarkerMap(marks, start, isfirst); } /** |