aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-01-25 01:03:52 +0000
committerKeiron Liddle <keiron@apache.org>2001-01-25 01:03:52 +0000
commit0b5579adfdfaf412ffde5770b933a7d6e96eb275 (patch)
tree4413f25e86aaa34e1436520b8d6d312a64953c15 /src
parent0590812b6249ec846bb5dd6f4b10b8ec712841fb (diff)
downloadxmlgraphics-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.java3
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);