You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/04 15:43:18 UTC
[Xmlgraphics-fop Wiki] Update of "SpaceResolution" by JeremiasMaerki
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:
Some clarifications about spaces and borders
------------------------------------------------------------------------------
'''Legend:'''
* lh = line height
+
+ = Spaces and Conditional Lengths - an Overview =
+
+ Both spaces and conditional lengths (borders and padding) have conditional elements but they behave a little differently. For spaces the conditionality ''controls whether a space-specifier has effect at the beginning or end of a reference-area or a line-area'' (XSL 1.0, 4.3). For padding and borders the conditionality controls ''if the padding should be 0 or retained if its associated edge is a leading-edge in a reference-area for areas generated from this formatting object that have an is-first (or is-last) value of "false"'' (XSL 1.0, 7.7.9 and 7.7.31). The difference: While the conditionality applies to every space-specifier regardless of the is-first/is-last status of the generated area, it does matter for conditional lengths where the conditionality only applied if it's not the first or last generated area by a formatting object.
+
+ Like border and padding, space-before and space-after apply to every area generated by a formatting object, not just the first and the last (XSL 1.0, 7.10.5). This is further illustrated by the general area model described in XSL 1.0, 4.2.3.
= General pattern for the Knuth layout system =
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org