-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Blocker
-
Affects Version/s: ODF 1.2
-
Component/s: None
-
None
Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt
Original author: Patrick Durusau
Section 17.183 draw:handle-position
Ed. Note: (Michael) I've adapted the wording, and clarified the references to several non-existing draw:coordinate-xyz attributes.
Ed. Note Consider an EBNF, although I am not sure it would help. It would be helpful to know if there was some more standard way to reach the same results as with the "enhancements."
Sven Jacobi says:
handleposition ::= position ' '+ position
position::= formula | modifier | constant | number
formula::= '?' name
modifier::= '$' integer
constant::= 'left' | 'top' | 'right' | 'bottom' |
'xstretch' | 'ystretch' | 'hasstroke' | 'hasfill ' |
'width' | 'height' | 'logwidth' | 'logheight'
number::=sign? float | sign? integer
float::= fractional exponent? | integer exponent
fractional::= integer? '.' integer | integer '.'
exponent::= ( 'e' | 'E' ) sign? integer
sign::= '+'| '-'
integer::= [0-9]+
name ::= [^ ]+