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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Lists, Styles, Text
    • Labels:
      None
    • Proposal:
      Hide

      Not yet. The desired behavior needs to be discussed.

      Show
      Not yet. The desired behavior needs to be discussed.

      Description

      The spec has in 19.496 style:list-style-name the text
      <quote>
      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.
      </quote>
      But the spec does not say, what should happen, if the heading is not inside a list.

      Look at
      <quote>
      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.
      </quote>
      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: