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

allow marking images/objects/shapes as decorative via graphic style

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      the new property "draw:decorative" needs moving from chapter 19 to chapter 20 - no change to the text itself.

      schema change:

      diff --git a/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng b/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng
      index 3aaa776..52747f3 100644
      --- a/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng
      +++ b/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng
      @@ -1748,21 +1748,16 @@
                 <rng:ref name="percent"/>
                 <rng:value>scale</rng:value>
                 <rng:value>scale-min</rng:value>
               </rng:choice>
             </rng:attribute>
           </rng:optional>
         </rng:define>
         <rng:define name="common-draw-shape-accessibility">
      -    <rng:optional>
      -      <rng:attribute name="draw:decorative">
      -        <rng:ref name="boolean"/>
      -      </rng:attribute>
      -    </rng:optional>
           <rng:optional>
             <rng:ref name="svg-title"/>
           </rng:optional>
           <rng:optional>
             <rng:ref name="svg-desc"/>
           </rng:optional>
         </rng:define>
         <rng:define name="common-draw-shape-with-styles-attlist">
      @@ -11023,16 +11018,21 @@
         <rng:define name="style-graphic-properties-attlist">
           <rng:interleave>
             <!-- https://issues.oasis-open.org/browse/OFFICE-4047 -->
             <rng:optional>
               <rng:attribute name="draw:allow-overlap">
                 <rng:ref name="boolean"/>
               </rng:attribute>
             </rng:optional>
      +      <rng:optional>
      +        <rng:attribute name="draw:decorative">
      +          <rng:ref name="boolean"/>
      +        </rng:attribute>
      +      </rng:optional>
             <rng:optional>
               <rng:attribute name="draw:stroke">
                 <rng:choice>
                   <rng:value>none</rng:value>
                   <rng:value>dash</rng:value>
                   <rng:value>solid</rng:value>
                 </rng:choice>
               </rng:attribute>
      Show
      the new property "draw:decorative" needs moving from chapter 19 to chapter 20 - no change to the text itself. schema change: diff --git a/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng b/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng index 3aaa776..52747f3 100644 --- a/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng +++ b/docs/odf1.4/schemas/OpenDocument-v1.4-schema.rng @@ -1748,21 +1748,16 @@ <rng:ref name="percent"/> <rng:value>scale</rng:value> <rng:value>scale-min</rng:value> </rng:choice> </rng:attribute> </rng:optional> </rng:define> <rng:define name="common-draw-shape-accessibility"> - <rng:optional> - <rng:attribute name="draw:decorative"> - <rng:ref name="boolean"/> - </rng:attribute> - </rng:optional> <rng:optional> <rng:ref name="svg-title"/> </rng:optional> <rng:optional> <rng:ref name="svg-desc"/> </rng:optional> </rng:define> <rng:define name="common-draw-shape-with-styles-attlist"> @@ -11023,16 +11018,21 @@ <rng:define name="style-graphic-properties-attlist"> <rng:interleave> <!-- https://issues.oasis-open.org/browse/OFFICE-4047 --> <rng:optional> <rng:attribute name="draw:allow-overlap"> <rng:ref name="boolean"/> </rng:attribute> </rng:optional> + <rng:optional> + <rng:attribute name="draw:decorative"> + <rng:ref name="boolean"/> + </rng:attribute> + </rng:optional> <rng:optional> <rng:attribute name="draw:stroke"> <rng:choice> <rng:value>none</rng:value> <rng:value>dash</rng:value> <rng:value>solid</rng:value> </rng:choice> </rng:attribute>
    • Resolution:
      Hide

      As proposed.

      Show
      As proposed.

      Description

      OFFICE-4132 added the feature that shapes can be marked as "decorative" for accessibility purposes.

      but this is only possible on each individual shape - this issue proposes to allow setting this property in a common (or automatic) graphic style and thus all shapes where the style is applied will be "decorative".

      this requires a change (removal) to the schema, so should be done for version 1.4.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michaelstahl Michael Stahl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: