-
Type: Improvement
-
Status: Applied
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ODF 1.4
-
Component/s: Graphics, Part 3 (Schema) [1.2: 1]
-
Labels:None
-
Proposal:
-
Resolution:
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.