Details

    • Proposal:
      Hide

      Change last paragraph of section 16.2 from

      "In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value. If there is no value specified in that default style, an implementation-dependent value is used."

      to

      "In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value.
      If a value has not been found by these steps, but this specification defines a default value, than this default value is used. In all remaining cases an implementation-dependent value is used."

      Show
      Change last paragraph of section 16.2 from "In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value. If there is no value specified in that default style, an implementation-dependent value is used." to "In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value. If a value has not been found by these steps, but this specification defines a default value, than this default value is used. In all remaining cases an implementation-dependent value is used."

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              regina.henschel Regina Henschel
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: