diff options
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java index a92558ee2..2d789328d 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java @@ -449,8 +449,9 @@ public class BlockContainerLayoutManager extends BlockStackingLayoutManager { foBlockSpaceBefore = null; }*/ + BreakPoss bp1 = (BreakPoss)parentIter.peekNext(); addID(fobj.getId()); - addMarkers(true, true); + addMarkers(true, bp1.isFirstArea(), bp1.isLastArea()); LayoutManager childLM; int iStartPos = 0; @@ -468,7 +469,7 @@ public class BlockContainerLayoutManager extends BlockStackingLayoutManager { } flush(); - addMarkers(true, true); + addMarkers(true, bp1.isFirstArea(), bp1.isLastArea()); /* if (!isAbsoluteOrFixed()) { |