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

"use-slide-background" fill for shapes in legacy presentation formats

    XMLWordPrintable

    Details

    • Proposal:
      Hide

      20.121 draw:fill
      Add the following item:

      • use-slide-background: the drawing object is filled with the slide background.
        This value should only be applied to graphic objects in presentation documents.
        Note: This is not the same as transparency.

       

      diff --git a/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng b/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng
      index dc77c4f..1d37542 100644
      --- a/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng
      +++ b/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng
      @@ -11749,7 +11749,14 @@
         </rng:define>
         <rng:define name="style-graphic-properties-content-strict">
           <rng:ref name="style-graphic-properties-attlist"/>
      -    <rng:ref name="style-graphic-fill-properties-attlist"/>
      +    <rng:choice>
      +      <rng:ref name="style-graphic-fill-properties-attlist"/>
      +      <rng:optional>
      +        <rng:attribute name="draw:fill">
      +          <rng:value>use-slide-background</rng:value>
      +        </rng:attribute>
      +      </rng:optional>
      +    </rng:choice>
           <rng:ref name="style-graphic-properties-elements"/>
         </rng:define>
         <rng:define name="style-graphic-properties-elements">
      
      Show
      20.121 draw:fill Add the following item: use-slide-background: the drawing object is filled with the slide background. This value should only be applied to graphic objects in presentation documents. Note: This is not the same as transparency.   diff --git a/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng b/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng index dc77c4f..1d37542 100644 --- a/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng +++ b/src/main/resources/odf1.4/OpenDocument-v1.4-schema.rng @@ -11749,7 +11749,14 @@ </rng:define> <rng:define name="style-graphic-properties-content-strict"> <rng:ref name="style-graphic-properties-attlist"/> - <rng:ref name="style-graphic-fill-properties-attlist"/> + <rng:choice> + <rng:ref name="style-graphic-fill-properties-attlist"/> + <rng:optional> + <rng:attribute name="draw:fill"> + <rng:value>use-slide-background</rng:value> + </rng:attribute> + </rng:optional> + </rng:choice> <rng:ref name="style-graphic-properties-elements"/> </rng:define> <rng:define name="style-graphic-properties-elements">

      Description

      This feature is specified as "useBgFill" in OOXML "19.3.1.43 sp (Shape)".

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: