]> source.dussan.org Git - xmlgraphics-fop.git/commit
Bugzilla #44412:
authorJeremias Maerki <jeremias@apache.org>
Wed, 18 Jun 2008 09:02:45 +0000 (09:02 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 18 Jun 2008 09:02:45 +0000 (09:02 +0000)
commit54de5c5c3ba492a0f0576098d28f5518b28d698f
tree578e1d5920f5c7225c68c383ffa4a3df8045b7aa
parent0a5df63120c3782091df7c48a2c8159323befb0e
Bugzilla #44412:
Regression fix for empty pages caused by multiple collapsible breaks.
No more empty block areas if a break-before occurs on the first child of an FO to match the behaviour of tables and other FO implementations (clarification by XSL WG pending).
Added an accessor interface for break-before/-after to avoid long if..else lists in BlockStackingLayoutManager.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@669118 13f79535-47bb-0310-9956-ffa450edef68
17 files changed:
src/java/org/apache/fop/fo/flow/Block.java
src/java/org/apache/fop/fo/flow/BlockContainer.java
src/java/org/apache/fop/fo/flow/ListBlock.java
src/java/org/apache/fop/fo/flow/ListItem.java
src/java/org/apache/fop/fo/flow/table/Table.java
src/java/org/apache/fop/fo/flow/table/TableAndCaption.java
src/java/org/apache/fop/fo/flow/table/TableRow.java
src/java/org/apache/fop/fo/properties/BreakPropertySet.java [new file with mode: 0644]
src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
src/java/org/apache/fop/layoutmgr/LayoutContext.java
src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java
src/java/org/apache/fop/util/BreakUtil.java
status.xml
test/layoutengine/standard-testcases/block_break-before_bug44412.xml
test/layoutengine/standard-testcases/block_break-before_bug44412_2.xml [new file with mode: 0644]