Details

    • Proposal:
      Hide

      In section '19.171 draw:formula', table 11 - Enhanced geometry equation identifiers

      change

      logheight The height of the svg:viewBox attribute in 1/100th mm is used.
      logwidth The width of the svg:viewBox attribute in 1/100th mm is used.

      to

      logheight The height in 1/100th mm as specified by the svg:height attribute is used.
      logwidth The width in 1/100th mm as specified by the svg:width attribute is used.

       

      And in section '19.179 draw:handle-position', table 13 - Handle position constants

      change

      logheight The view box height in 1/100th mm as specified by the svg:viewBox attribute is used.
      logwidth The view box width in 1/100th mm as specified by the svg:viewBox attribute is used.

      to

      logheight The height in 1/100th mm as specified by the svg:height attribute is used.
      logwidth The width in 1/100th mm as specified by the svg:width attribute is used.

       

      Show
      In section '19.171 draw:formula', table 11 - Enhanced geometry equation identifiers change logheight The height of the svg:viewBox attribute in 1/100th mm is used. logwidth The width of the svg:viewBox attribute in 1/100th mm is used. to logheight The height in 1/100th mm as specified by the svg:height attribute is used. logwidth The width in 1/100th mm as specified by the svg:width attribute is used.   And in section '19.179 draw:handle-position', table 13 - Handle position constants change logheight The view box height in 1/100th mm as specified by the svg:viewBox attribute is used. logwidth The view box width in 1/100th mm as specified by the svg:viewBox attribute is used. to logheight The height in 1/100th mm as specified by the svg:height attribute is used. logwidth The width in 1/100th mm as specified by the svg:width attribute is used.  

      Description

      I may be missing something but in 19.171 draw:formula we have:

      logheight The height of the svg:viewBox attribute in 1/100th mm is
      used.
      logwidth The width of the svg:viewBox attribute in 1/100th mm is used.

      The name involved here is strange since no logarithmic transformation
      seems to be happening. But that is not my issue.

      The svg:viewBox does not carry any units. In fact it is the whole point
      of the viewBox attribute in svg to establish a unit less coordinate
      system such that as the size of the viewport changes the graphic change
      accordingly without its coordinates (in viewBox coordinates) changing.

      So it is completely unclear to me how logheight and logwidth are
      intended to be calculated.

      Note that logwidth and logheight are similarly specified for 19.179 draw:handle-position

        Attachments

          Activity

          Hide
          patrick Patrick Durusau added a comment -

          I don't have an answer to this question but am opening the issue to call attention to it.

          We probably need to re-evaluate draw:formula more generally.

          Show
          patrick Patrick Durusau added a comment - I don't have an answer to this question but am opening the issue to call attention to it. We probably need to re-evaluate draw:formula more generally.
          Hide
          mstahl Michael Stahl (Inactive) added a comment -

          the "log" prefix means "logical" - as antonym of "device-dependent"

          there are some relevant comments in the API:

          /** The width of the svg:viewBox is used.
          */
          const short WIDTH = 11;

          /** The height of the svg:viewBox is used.
          */
          const short HEIGHT = 12;

          /** The logical width of the shape is used.
          */
          const short LOGWIDTH = 13;

          /** The logical height of the shape is used.
          */
          const short LOGHEIGHT = 14;

          as far as i can see in EnhancedCustomShape2d.cxx somehow the drawing object is assigned a rectangular bounding box in logical units (1/100th mm) and that is used when evaluating these formulas.

          this suggests that the rectangle in question is specified by "svg:width" and "svg:height".

          Show
          mstahl Michael Stahl (Inactive) added a comment - the "log" prefix means "logical" - as antonym of "device-dependent" there are some relevant comments in the API: /** The width of the svg:viewBox is used. */ const short WIDTH = 11; /** The height of the svg:viewBox is used. */ const short HEIGHT = 12; /** The logical width of the shape is used. */ const short LOGWIDTH = 13; /** The logical height of the shape is used. */ const short LOGHEIGHT = 14; as far as i can see in EnhancedCustomShape2d.cxx somehow the drawing object is assigned a rectangular bounding box in logical units (1/100th mm) and that is used when evaluating these formulas. this suggests that the rectangle in question is specified by "svg:width" and "svg:height".
          Hide
          patrick Patrick Durusau added a comment -

          As per 3 Oct. 2016

          Show
          patrick Patrick Durusau added a comment - As per 3 Oct. 2016
          Hide
          patrick Patrick Durusau added a comment -

          As per 11/26/2018

          Show
          patrick Patrick Durusau added a comment - As per 11/26/2018
          Hide
          patrick Patrick Durusau added a comment -
          Show
          patrick Patrick Durusau added a comment - See https://issues.oasis-open.org/browse/OFFICE-4007 for clone for ODF 1.4
          Hide
          patrick Patrick Durusau added a comment -

          Applied OpenDocument-v1.3-wd13-04-part3-documents.odt

          Show
          patrick Patrick Durusau added a comment - Applied OpenDocument-v1.3-wd13-04-part3-documents.odt

            People

            • Assignee:
              Unassigned
              Reporter:
              aguelzow Andreas Guelzow (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: