diff options
author | Keiron Liddle <keiron@apache.org> | 2001-01-25 01:03:52 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-01-25 01:03:52 +0000 |
commit | 0b5579adfdfaf412ffde5770b933a7d6e96eb275 (patch) | |
tree | 4413f25e86aaa34e1436520b8d6d312a64953c15 /src | |
parent | 0590812b6249ec846bb5dd6f4b10b8ec712841fb (diff) | |
download | xmlgraphics-fop-0b5579adfdfaf412ffde5770b933a7d6e96eb275.tar.gz xmlgraphics-fop-0b5579adfdfaf412ffde5770b933a7d6e96eb275.zip |
fixes a problem where the start of a list dissapeared
if a page break was between items
it was incorrectly return AREA_FULL_NONE when
some list items were already present
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/org/apache/fop/fo/flow/ListBlock.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/ListBlock.java b/src/org/apache/fop/fo/flow/ListBlock.java index edac49825..4526a81b7 100644 --- a/src/org/apache/fop/fo/flow/ListBlock.java +++ b/src/org/apache/fop/fo/flow/ListBlock.java @@ -182,6 +182,9 @@ public class ListBlock extends FObj { listItem.setBodyIndent(this.bodyIndent); Status status; if ((status = listItem.layout(blockArea)).isIncomplete()) { + if(status.getCode() == Status.AREA_FULL_NONE && i > 0) { + status = new Status(Status.AREA_FULL_SOME); + } this.marker = i; blockArea.end(); area.addChild(blockArea); |