From: Keiron Liddle Date: Thu, 25 Jan 2001 01:03:52 +0000 (+0000) Subject: fixes a problem where the start of a list dissapeared X-Git-Tag: fop-0_17_0~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b5579adfdfaf412ffde5770b933a7d6e96eb275;p=xmlgraphics-fop.git 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 --- 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);