Created temporary branch for new whitespace management extension (see FOP-2293)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1518682 13f79535-47bb-0310-9956-ffa450edef68
FOP-2292: First bits of a whitespace management extension
Patch by Seifeddine Dridi, applied with some modifications (mainly, Java compliance and Checkstyle)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1518691 13f79535-47bb-0310-9956-ffa450edef68
FOP-2293: Second patch by Seifeddine Dridi
Some adjustments and a lot of Checkstyle fixes


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1520134 13f79535-47bb-0310-9956-ffa450edef68
Implement whitespace management extension using fo:multi-switch
Patch from 13/10/28 by Seifeddine Dridi, applied with some modifications.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1539809 13f79535-47bb-0310-9956-ffa450edef68
Removed obsolete BestFit and Alternative classes, and fox:fitting-strategy property
Patch by Seifeddine Dridi


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1543891 13f79535-47bb-0310-9956-ffa450edef68
Attach the selected variant to KnuthPageNode in order to propagate the information down to area tree creation.
Patch by Seifeddine Dridi, applied with some modifications.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1550847 13f79535-47bb-0310-9956-ffa450edef68
Brought the branch in sync with rev. 1550844 of trunk


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1550851 13f79535-47bb-0310-9956-ffa450edef68
Handle the case where dynamic content is in the middle of a page, selecting the first variant
Patch by Seifeddine Dridi, applied with some modifications


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1578270 13f79535-47bb-0310-9956-ffa450edef68
Brought the branch in sync with rev. 1577477 of trunk


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1578276 13f79535-47bb-0310-9956-ffa450edef68
Handle middle-of-the-page case without using a glue.
Using a glue may cause a spurious empty page if the multi-switch is at the end of the flow, with no satisfying way of fixing that.
Patch by Seifeddine Dridi


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1582469 13f79535-47bb-0310-9956-ffa450edef68
Added support for multiple multi-switch appearing on the same page.
Modified MultiSwitchLM to have its standard behaviour by default.
Moved BestFitLayoutUtils into MultiSwitchLM.
Code clean-up and javadoc.

Patch by Seifeddine Dridi, applied with some modifications.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1585822 13f79535-47bb-0310-9956-ffa450edef68
By default, only the first child of a multi-switch should be laid out
Patch by Seifeddine Dridi, applied with minor modifications


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1588548 13f79535-47bb-0310-9956-ffa450edef68
Renamed value of auto-toggle property to select-first-fitting

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1590754 13f79535-47bb-0310-9956-ffa450edef68
Removed obsolete fitting-strategy property

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1590756 13f79535-47bb-0310-9956-ffa450edef68
Simplified make of MultiSwitchLM

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1590757 13f79535-47bb-0310-9956-ffa450edef68
Create penalty only once and store it in WhitespaceManagementPenalty

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1590758 13f79535-47bb-0310-9956-ffa450edef68
Made WhitespaceManagement.getKnuthElements more robust by iterating over childLM.getNextKnuthElements

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1590760 13f79535-47bb-0310-9956-ffa450edef68
Brought the branch in sync with rev. 1590916 of trunk


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1591437 13f79535-47bb-0310-9956-ffa450edef68
FOP-2293: extension to the layout engine for managing white space at the bottom of a page
Content may have several variants of different sizes, from which the first that fits on the remaining space will be selected.

Merged the branch Temp_WhitespaceManagement into trunk.
This work was carried out by Seifeddine Dridi


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1591443 13f79535-47bb-0310-9956-ffa450edef68