You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Peter B. West" <pb...@powerup.com.au> on 2001/09/28 17:21:21 UTC
Compound datatypes:
The editors,
In 5.11 Property Datatypes, <length> and <percentage> are defined
separately, and <length-range> is specified as:
'A compound datatype, with components: minimum, optimum, maximum. Each
component is a <length>.'
7.21.4 "leader-length" has:
'Value: <length-range> | <percentage> | inherit
Initial: leader-length.minimum=0pt, .optimum=12.0pt, .maximum=100%
Applies to: fo:leader
Inherited: yes
Percentages: refer to width of content-rectangle of parent area
Media: visual
Values have the following meanings:
<length-range>
...'
There is no discussion of the meaning of <percentage> corresponding to
the discussion of the meaning of <length-range>.
Further on, the following example is given:
leader-length.minimum="0pt"
leader-length.optimum="12pt"
leader-length.maximum="100%"
In other words, the value of the leader-length property is not a
<length-range> or a <percentage>, it is a <length-range> whose
components are not simply <length>s, but <length>|<percentage>.
'inherit' is presumably excluded by the constraint that compound
datatypes may only be inherited as a compound. If my understanding is
correct, the actual specification of the allowable value of
leader-length is <length-percentage-range>|inherit, where each component
of <length-percentage-range> is <length>|<percentage>.
I assume from 7.21.4 that it is not intended to allow entries like
leader-length="20%".
This definitional uncertainty is similar to that encountered in relation
to <space>.
Yours faithfully,
Peter West
--
Peter B. West pbwest@powerup.com.au http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org