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: Bringing border and padding into play ------------------------------------------------------------------------------ box w=lh for second block }}} + == Example 8 == + + Bringing border and padding into play. + + {{{ + <fo:block space-before="10pt" padding-before="5pt" border-before-style="solid" border-before-width="2pt"> + <fo:block space-before="6pt">first line</fo:block> + second line + </fo:block> + }}} + + We ignore the break possibility before the second line because it is irrelevant for this example. All spaces, paddings and borders are conditional. Since we begin a reference-area here, according to 4.3.1, the widths for border and padding both collapse to zero, so S' consists of both space-specifiers in this example. Both space-specifiers are conditional and are therefore suppressed under rule 1. + + '''Element list:''' + + {{{ + box w=lh for first block + + penalty w=0 p=0 for the break possibility + + 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]
