]> source.dussan.org Git - xmlgraphics-fop.git/commit
Added region-body_display-align to demonstrate the default behaviour for adjustable...
authorJeremias Maerki <jeremias@apache.org>
Thu, 8 Jun 2006 12:46:50 +0000 (12:46 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 8 Jun 2006 12:46:50 +0000 (12:46 +0000)
commit4cc6b90a0f88fa93cec45d390cdb0bca52238cd6
treea2a218b3a55773c55d448805e96a5057093c135b
parent4959d62981b03bb84c3b0bb09d79272ba6d459ae
Added region-body_display-align to demonstrate the default behaviour for adjustable spaces when display-align is set to "auto".
Reactivated proprietary display-align="distribute" so a block-container can cause its content to be "justified" in the reference area if it's large enough and the adjustable elements (min/opt/max) allow for it. I may be misusing the original intended behaviour of "distribute" but for block-container this seemed suitable since it's destined to produce only one viewport/reference pair if possible. Test added that demonstrates the proprietary value on block-container. Note: on normal region-body elements, display-align="distribute" has currently no effect since the code did not evolve with the changes in the layout engine.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412735 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
test/layoutengine/standard-testcases/block-container_display-align_distribute.xml [new file with mode: 0644]
test/layoutengine/standard-testcases/region-body_display-align.xml [new file with mode: 0644]