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

Use of attribute style:list-style-name in connection with pure <text:h> element is unclear



    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: ODF-Next
    • Component/s: Lists, Styles, Text
    • Labels:
    • Proposal:

      Not yet. The desired behavior needs to be discussed.

      Not yet. The desired behavior needs to be discussed.


      The spec has in 19.496 style:list-style-name the text
      The list style specified by this attribute is applied to headings and paragraphs that are contained in a list, where the list does not specify a list style itself, and the list has no list style specification for any of its parents.
      But the spec does not say, what should happen, if the heading is not inside a list.

      Look at
      An outline style is a list style that is applied to all headings within a text document where the heading's paragraph style does not define a list style to use itself.
      from 16.34 <text:outline-style>
      Current implementations use this outline style for headings, which are not inside a list.

      From these texts I guess, that it is possible that the headings paragraph style can define a list style to be used. I find no constrain, that the heading has to be inside a list.

      The mail https://lists.oasis-open.org/archives/office/201707/msg00020.html has the files HeadingWithoutList.odt and StyleEmptyNoListInherit.odt attached, to test it.




            • Assignee:
              svante.schubert Svante Schubert
              regina.henschel Regina Henschel
            • Watchers:
              1 Start watching this issue


              • Created: