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

16.2 <style:style> misses precedence rule for drawing page properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Applied
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ODF 1.4
    • Component/s: Graphics
    • Labels:
      None
    • Proposal:
      Hide

      Add to 16.2 <style:style> before the last paragraph this:

      Styles of family drawing-page contain formatting for <draw:page> elements.  First the style and its parent style chain is evaluated, which is directly referenced in the draw:style-name attribute of a <drawage> element. If the formatting property is not present in this chain, then the search continues with the style and its parent style chain, that is referenced in the draw:style-name attribute of that <style:master-page> element, which is specified in the draw:master-page-name attribute of the <draw:page> element.

      Show
      Add to 16.2 <style:style> before the last paragraph this: Styles of family drawing-page contain formatting for <draw:page> elements.  First the style and its parent style chain is evaluated, which is directly referenced in the draw:style-name attribute of a <drawage> element. If the formatting property is not present in this chain, then the search continues with the style and its parent style chain, that is referenced in the draw:style-name attribute of that <style:master-page> element, which is specified in the draw:master-page-name attribute of the <draw:page> element.
    • Resolution:
      Hide

      16.2 <style:style>

      The <style:style> element represents styles.

      ...

      For styles with family table-cell which are applied to a table cell, the search continues with the style specified by the table:default-cell-style-name attribute 19.621 of the table cell's <table:table-row> parent element, if present, and then with the style specified by the table:default-cell-style-name attribute of the <table:table-column> element associated with the table cell.

      Styles of family drawing-page contain formatting for <draw:page> elements.  First the style and its parent style chain is evaluated, which is directly referenced in the draw:style-name attribute of a draw element. If the formatting property is not present in this chain, then the search continues with the style and its parent style chain, that is referenced in the draw:style-name attribute of that <style:master-page> element, which is specified in the draw:master-page-name attribute of the <draw:page> element.

      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, then this default value is used. In all remaining cases an implementation-dependent value is used.

      Show
      16.2 <style:style> The <style:style> element represents styles. ... For styles with family table-cell which are applied to a table cell, the search continues with the style specified by the table:default-cell-style-name attribute 19.621 of the table cell's <table:table-row> parent element, if present, and then with the style specified by the table:default-cell-style-name attribute of the <table:table-column> element associated with the table cell. Styles of family drawing-page contain formatting for <draw:page> elements.  First the style and its parent style chain is evaluated, which is directly referenced in the draw:style-name attribute of a draw element. If the formatting property is not present in this chain, then the search continues with the style and its parent style chain, that is referenced in the draw:style-name attribute of that <style:master-page> element, which is specified in the draw:master-page-name attribute of the <draw:page> element. 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, then this default value is used. In all remaining cases an implementation-dependent value is used.

      Description

      A <style:style> element of family drawing-page can affect the page formatting directly or indirectly via master page. There exists no rule which one has precedence.

      This affects especially all properties of element <style:drawing-page-properties> (17.25)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: