Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3750

spec and implementation not aligned for angle format in draw:transform, skewX/skewY

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2
    • Fix Version/s: ODF 1.4
    • Component/s: Graphics, Part 1 (Schema)
    • Labels:
      None
    • Resolution:
      Hide

      rotate(<rotate-angle>), specifies a rotation by <rotate-angle> in radians about the origin of the shapes coordinate system.

      skewX(<skew-angle>), specifies a skew transformation by <skew-angle> in radians along the x-axis.

      skewY(<skew-angle>), specifies a skew transformation by <skew-angle> in radians along the y-axis.

      Show
      rotate(<rotate-angle>), specifies a rotation by <rotate-angle> in radians about the origin of the shapes coordinate system. skewX(<skew-angle>), specifies a skew transformation by <skew-angle> in radians along the x-axis. skewY(<skew-angle>), specifies a skew transformation by <skew-angle> in radians along the y-axis.

      Description

      In the odf spec 1.2 it is mentioned that the angles in draw:transform are given in degree. In 1.1 this was not specified. Looks like the applications use radiant instead of degree to specify this. Also there are quite a lot of documents already out that use radiant.

        Attachments

        1. test13_deg.odp
          14 kB
        2. test13_deg.odt
          11 kB
        3. test13_rad.odp
          14 kB
        4. test13_rad.odt
          11 kB
        5. tests.ods
          22 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thorsten Thorsten Zachmann (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: