OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-4123) new attribute draw:extrusion-metal-type


     [ https://issues.oasis-open.org/browse/OFFICE-4123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regina Henschel updated OFFICE-4123:
------------------------------------
    Proposal: 
*Text changes*

{color:#0747a6}19.xyz draw:extrusion-metal-type{color}

The {color:#00875a}{{draw:extrusion-metal-type}}{color} attribute specifies how rendering of an extruded custom shape is modified in case its {color:#00875a}{{draw:extrusion-metal}}{color} attribute has the value {color:#00875a}{{true}}{color}. The value of attribute {color:#00875a}{{draw:extrusion-metal-type}}{color} is a namespaced token.
 The defined values for the {color:#00875a}{{draw:extrusion-metal-type}}{color} attribute are:
 * {color:#00875a}{{draw:MetalODF}}{color}: The rendering is modified as specified in attribute {color:#00875a}{{draw:extrusion-metal}}{color} (19.158)
 * any implementation-defined {color:#00875a}{{namespacedToken}}{color} (18.3.19): The rendering is modified as defined by the implementer. Such namespaced token shall not use a prefix, which is bound to a namespace listed in section 1.5 Namespaces.

The attribute {color:#00875a}{{draw:extrusion-metal-type}}{color} is only evaluated, if the attribute {color:#00875a}{{draw:extrusion-metal}}{color}Âat the same shape has the value {color:#00875a}{{true}}{color}.

The default value for the attribute {color:#00875a}{{draw:extrusion-metal-type}}{color} is {color:#00875a}{{draw:MetalODF}}{color}.

*Schema changes*
{noformat}
--- OpenDocument-v1.3-schema_orig.rng 2021-04-27 18:00:00.000000000 +0200
+++OpenDocument-v1.3-schema_extended.rng 2022-02-13 00:11:07.583566200 +0100
@@ -4805,10 +4805,15 @@
     <rng:attribute name="draw:extrusion-metal">
      <rng:ref name="boolean"/>
    Â</rng:attribute>
   </rng:optional>
   <rng:optional>
+Â Â Â Â<rng:attribute name="draw:extrusion-metal-type">
+Â Â Â Â Â <rng:ref name="namespacedToken"/>
+Â Â Â Â </rng:attribute>
+Â Â Â </rng:optional>
+Â Â Â <rng:optional>
    Â<rng:attribute name="dr3d:shade-mode">
     Â<rng:choice>
      Â<rng:value>flat</rng:value>
      Â<rng:value>phong</rng:value>
      Â<rng:value>gouraud</rng:value>
{noformat}
Â

  was:
*Text changes*

{color:#0747a6}19.xyz draw:extrusion-metal-type{color}

The {color:#00875a}{{draw:extrusion-metal-type}}{color} attribute specifies how rendering of an extruded custom shape is modified in case its {color:#00875a}{{draw:extrusion-metal}}{color} attribute has the value {color:#00875a}{{true}}{color}. The value of attribute {color:#00875a}{{draw:extrusion-metal-type}}{color} is a namespaced token.
 The defined values for the {color:#00875a}{{draw:extrusion-metal-type}}{color} attribute are:
 * {color:#00875a}{{draw:MetalODF}}{color}: The rendering is modified as specified in attribute {color:#00875a}{{draw:extrusion-metal}}{color} (19.158)
 * any implementation-defined {color:#00875a}{{namespacedToken}}{color} (18.3.19): The rendering is modified as defined by the implementor. Such namespaced token shall not use a prefix, which is listed in section 1.5 Namespaces.

The attribute {color:#00875a}{{draw:extrusion-metal-type}}{color} is only evaluated, if the attribute {color:#00875a}{{draw:extrusion-metal}}{color}Âat the same shape has the value {color:#00875a}{{true}}{color}.

The default value for the attribute {color:#00875a}{{draw:extrusion-metal-type}}{color} is {color:#00875a}{{draw:MetalODF}}{color}.

*Schema changes*

{noformat}
--- OpenDocument-v1.3-schema_orig.rng 2021-04-27 18:00:00.000000000 +0200
+++OpenDocument-v1.3-schema_extended.rng 2022-02-13 00:11:07.583566200 +0100
@@ -4805,10 +4805,15 @@
     <rng:attribute name="draw:extrusion-metal">
      <rng:ref name="boolean"/>
    Â</rng:attribute>
   </rng:optional>
   <rng:optional>
+Â Â Â Â<rng:attribute name="draw:extrusion-metal-type">
+Â Â Â Â Â <rng:ref name="namespacedToken"/>
+Â Â Â Â </rng:attribute>
+Â Â Â </rng:optional>
+Â Â Â <rng:optional>
    Â<rng:attribute name="dr3d:shade-mode">
     Â<rng:choice>
      Â<rng:value>flat</rng:value>
      Â<rng:value>phong</rng:value>
      Â<rng:value>gouraud</rng:value>
{noformat}

Â


> new attribute draw:extrusion-metal-type
> ---------------------------------------
>
>                 Key: OFFICE-4123
>                 URL: https://issues.oasis-open.org/browse/OFFICE-4123
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Improvement
>            Reporter: Regina Henschel
>            Priority: Major
>
> The definition of the draw:extrusion-foo attributes follow closely the description of extruded shapes in Rich Text Format, VML and MS Office binary formats. But how the rendering of a shape with draw:extrusion-metal="true" is modified differs between MS Office and the way specified in ODF.
> ODF specifies for the draw:extrusion-metal attribute (19.158)
> âtrue: the specular color for the shading of an extruded shape is gray (red green and blue values of 200) instead of white and 15% is added to the specularity
> MS Office renders it so that the specular color uses not gray but the shape fill or extrusion color respectively. The way MS Office renders it corresponds to the description in VML, "If set to True, this attribute causes the specularly reflected light to be the material color instead of the light source color, making the object seem more metallic." and to the description of the Preset Material Type 'legacy:metal' in OOXML, which reads, "Specular Color: shape fill color".
> For better interoperability it is necessary to be able to save the information in an ODF file, that the "MS Office"-kind of rendering has to be used.
> The proposal introduces a new attribute draw:extrusion-metal-type. It has a namespacedToken as value to allow a flexible extending, as discussed in call at 2022-02-07.



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]