Dear Wiki user, You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.
The following page has been changed by JeremiasMaerki: http://wiki.apache.org/xmlgraphics-fop/SpaceResolution The comment on the change is: Example with precedence and min/opt/max ------------------------------------------------------------------------------ box w=lh for second block }}} + == Example 7 == + + {{{ + <fo:block space-after="10pt" space-before.precedence="3">first line</fo:block> + <fo:block space-before.optimum="10pt" space-before.maximum="15pt" space-before.precedence="3"> + <fo:block space-before="6pt" space-before.precedence="2">second line</fo:block> + third line + </fo:block> + }}} + + '''Break at the first break possibility:''' + + We have two S': + + S'[1]: space-after is suppressed under rule 1. + + S'[2]: Both space-before are suppressed under rule 1. + + '''No break between the blocks:''' + + S' consists of all three space-specifiers in this example. + + Rule 1 does not apply. The "6pt" space is suppressed under rule 3 (lower precedence). The two remaining space have the same optimum, but the second one extends the maximum for the resolved space specifier. + + '''Element list:''' + + (0pt|0pt vs. (min=10pt,opt=10pt,max=15pt) + + {{{ + box w=lh for first block + + penalty w=0 p=0 for the break possibility + + aux glue w=10pt y=5pt z=0pt for the difference when no break occurs + + box w=lh for second block + }}} + = Implementation = Ideas for the implementation can be found here: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
