• Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • ODF 1.2
    • Affects Version/s: ODF 1.2
    • Component/s: None
    • None
    • Hide

      Add the EBNF grammar

      Show
      Add the EBNF grammar
    • Hide

      Added the EBNF grammar.

      Show
      Added the EBNF grammar.

      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 ::= [^ ]+

            Assignee:
            Patrick Durusau
            Reporter:
            Robert Weir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: