-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2
-
Fix Version/s: ODF 1.3
-
Component/s: Formatting Properties, Part 3 (Schema) [1.2: 1], Styles
-
Labels:None
-
Proposal:
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#element-style_style
Chapter 20 contains attributes and elements of <style:*-properties> elements. These are child elements of the <style:style> element. As such they are subject of the inheritance described in section 16.2. If an attribute does not exist in the <style:style> element, which is referenced from the element, which is to be formatted, the value is used, which you get by the inheritance algorithm. The last level in the inheritance chain is described as “If there is no value specified in that default style, an implementation-dependent value is used.“
But some of the items in chapter 20 have wordings like “The default value is 90deg.” (20.2 chart:angle-offset) or “The default value is true if svg:width and svg:height attributes are not specified.” (20.4 chart:auto-size)
What does “default” mean in context of inheritance? It cannot mean, that the “default” is used, if the <style:style> element, which is referenced by the element, has no formatting information for this formatting aspect, because that would contradict the desired inheritance.
It can mean, that on the last level of inheritance the “default” value is used. But currently that is not specified.
This proposal adds a rule about such "default" values to section 16.2 <style:style>