]> source.dussan.org Git - xmlgraphics-fop.git/commit
Removed the 900 penalty mechanism which anyway almost always produced visually bad...
authorVincent Hennebert <vhennebert@apache.org>
Fri, 8 Feb 2008 12:11:04 +0000 (12:11 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Fri, 8 Feb 2008 12:11:04 +0000 (12:11 +0000)
commit48a9185a60b9374fe0f132fe83d758527ec01788
tree13d811c264ea693a7b7c339b3ac202bdb77288d4
parent0b821667b613a71a76ab5667f0447123abc3dc44
Removed the 900 penalty mechanism which anyway almost always produced visually bad results. Now the first step for a row is computed so that each cell starting on it can contribute some content.
Used a similar mechanism to replace backtracking: the current row is now allowed to grow as long as there is not enough space on the current page to make the next row fit. The next row is "delayed", so this mechanism is called "row-delaying"

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619854 13f79535-47bb-0310-9956-ffa450edef68
18 files changed:
src/java/org/apache/fop/layoutmgr/table/ActiveCell.java
src/java/org/apache/fop/layoutmgr/table/CellPart.java
src/java/org/apache/fop/layoutmgr/table/RowPainter.java
src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java
src/java/org/apache/fop/layoutmgr/table/TableStepper.java
test/layoutengine/standard-testcases/table-body_basic_2.xml
test/layoutengine/standard-testcases/table_border-collapse_collapse_conditionals.xml
test/layoutengine/standard-testcases/table_border-collapse_collapse_omitHF.xml
test/layoutengine/standard-testcases/table_border-collapse_separate_border-spacing_2.xml
test/layoutengine/standard-testcases/table_border_padding_2.xml
test/layoutengine/standard-testcases/table_bug36403.xml
test/layoutengine/standard-testcases/table_bug37270.xml
test/layoutengine/standard-testcases/table_empty-cells.xml
test/layoutengine/standard-testcases/table_row-delay.xml [new file with mode: 0644]
test/layoutengine/standard-testcases/table_row-delay_fixed-row-height.xml [new file with mode: 0644]
test/layoutengine/standard-testcases/table_row-delay_header-footer.xml [new file with mode: 0644]
test/layoutengine/standard-testcases/table_space-before_space-after_1.xml