]> source.dussan.org Git - xmlgraphics-fop.git/commit
Fix for the two problems raised by Simon: Temp_SpaceResolution Temp_SpaceResolution
authorJeremias Maerki <jeremias@apache.org>
Thu, 20 Oct 2005 13:30:19 +0000 (13:30 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 20 Oct 2005 13:30:19 +0000 (13:30 +0000)
commit7bb607f9c844db40133a3782bc25b7784d71efd4
treeb6f5520b67cf9b5fdc464201d0fbdcfd790a31d9
parent5637bf5079cdcdf563b267a4890eba45b852210f
Fix for the two problems raised by Simon:
In some cases the element lists were processed in the wrong direction. Fixed by not reversing the list itself anymore but teaching the conditional handling to process the lists backwards.
The problem is now covered by block_space-before_space-after_9 and 9a.

While fixing this another problem surfaced with hard breaks where two element lists are generated.
The problem is now covered by block_space-before_space-after_9a.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SpaceResolution@326900 13f79535-47bb-0310-9956-ffa450edef68
15 files changed:
src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
src/java/org/apache/fop/layoutmgr/KnuthSequence.java
src/java/org/apache/fop/layoutmgr/SpaceResolver.java
src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java
test/layoutengine/testcases/block-container_space-before_space-after_1.xml
test/layoutengine/testcases/block_space-before_space-after_2.xml
test/layoutengine/testcases/block_space-before_space-after_9.xml [new file with mode: 0644]
test/layoutengine/testcases/block_space-before_space-after_9a.xml [new file with mode: 0644]
test/layoutengine/testcases/list-block_space-before_space-after_1.xml
test/layoutengine/testcases/region_side_space-resolution.xml
test/layoutengine/testcases/table_space-before_space-after_1.xml