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-1909

Add svg:rx and svg:ry to draw:caption and draw:text-box

    XMLWordPrintable

    Details

    • Type: Improvement
    • 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
    • Proposal:
      Hide

      Add svg:rx and svg:ry to draw:caption, draw:text-box, and office:annotation

      Show
      Add svg:rx and svg:ry to draw:caption, draw:text-box, and office:annotation
    • Resolution:
      Hide
      +      <!-- https://issues.oasis-open.org/browse/OFFICE-1909 -->
      +      <rng:choice>
                <rng:optional>
                  <rng:attribute name="draw:corner-radius">
                    <rng:ref name="nonNegativeLength"/>
                  </rng:attribute>
                 </rng:optional>
      +        <rng:group>
      +          <rng:optional>
      +            <rng:attribute name="svg:rx">
      +              <rng:ref name="nonNegativeLength"/>
      +            </rng:attribute>
      +          </rng:optional>
      +          <rng:optional>
      +            <rng:attribute name="svg:ry">
      +              <rng:ref name="nonNegativeLength"/>
      +            </rng:attribute>
      +          </rng:optional>
      +        </rng:group>
      +      </rng:choice>
      

      Editorial note: The above change is applied to the definitions of both 'draw-caption-attlist' and 'draw-text-box-attlist'.

      Show
      + <!-- https://issues.oasis-open.org/browse/OFFICE-1909 --> + <rng:choice> <rng:optional> <rng:attribute name="draw:corner-radius"> <rng:ref name="nonNegativeLength"/> </rng:attribute> </rng:optional> + <rng:group> + <rng:optional> + <rng:attribute name="svg:rx"> + <rng:ref name="nonNegativeLength"/> + </rng:attribute> + </rng:optional> + <rng:optional> + <rng:attribute name="svg:ry"> + <rng:ref name="nonNegativeLength"/> + </rng:attribute> + </rng:optional> + </rng:group> + </rng:choice> Editorial note: The above change is applied to the definitions of both 'draw-caption-attlist' and 'draw-text-box-attlist'.

      Description

      Currently svg:rx and svg:ry are used to round corners on draw:rect, in addition to draw:corner-radius. The elements draw:caption and draw:text-box have the draw:corner-radius attribute but not svg:rx and svg:ry. Similar elements should have similar attributes, particularly for formatting.

        Attachments

          Activity

            People

            • Assignee:
              patrick Patrick Durusau
              Reporter:
              patrick Patrick Durusau
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: