Mixed lists

This scenario is about mixed lists - lists whose list levels have different and more complex list label formats - and about continuation of lists.

Disclaimer: You are free to reuse it “as-is”, on your own responsibility and without any guarantee whatsoever. No rights can be derived from, successfully or unsuccessfully, completing the steps outlined below.

Steps

Lists in ODF 1.1

  1. Create a new text document
  2. Insert a heading on outline level 1
  3. Insert three headings on outline level 2
  4. Assure that the headings apply the outline style
  5. Adjust the outline style
    • List label on outline level 1: Arabic number followed by ”)” - e.g. “1)”
    • List label on outline level 2: number of outline level 1 followed by ”.” followed by Arabic number followed by ”)” - e.g. “1.1)”
  6. Insert some paragraphs in chapter 1.1)
  7. Apply a list style to the inserted paragraphs
  8. Move the paragraphs to different list levels, having at least one paragraph on each list level 1..5
  9. Adjust applied list style having Arabic numbers at list level 1, lower-case Latin letters at list level 2, upper-case Roman letters at list level 3, bullet character at list level 4 and a graphic at list level 5
  10. Insert some paragraphs in chapter 1.2)
  11. Apply a list style to the inserted paragraphs
  12. Move the paragraphs to different list levels, having at least one paragraph on each list level 1..5
  13. Adjust applied list style having different prefixes and suffixes in its list labels. On list level 5 having only a prefix resp. a suffix, no number.
  14. Insert some paragraphs in chapter 1.3)
  15. Continue the list of chapter 1.2) with the inserted paragraphs
  16. Save and close the document

Lists in ODF 1.2

  1. Same steps as for lists in ODF 1.1
  2. Add another heading on outline level 2
  3. Add some paragraphs in new chapter 1.4)
  4. Continue the list of chapter 1.1) with the inserted paragraphs
  5. Save and close the document

Check

  1. Open the created documents in other implementations
  2. Check, if list labels are the same
  3. Check, if continuation of lists is the same

Files

Please follow the file name convention outlined in the faq. Note that the PDF files can be included as a previewing aid, but uploading the ODF files is much more important.

Original

Reopened /modified

Tracker

Analysis

ODF Validator (odftoolkit.org) reports:

Result for mixed-lists-odf11-ooo32.odt

This file is NOT valid

Result details:

  • upload: mixed-lists-odf11-ooo32.odt/styles.xml[2,11216]:Error:unexpected attribute “text:style-name”
  • upload: mixed-lists-odf11-ooo32.odt/content.xml[2,6361]:Error:attribute “text:reference-format” has a bad value. Possible values are: chapter,direction,page,text
  • upload: mixed-lists-odf11-ooo32.odt:Info:validation errors found
  • upload: mixed-lists-odf11-ooo32.odt:Info:Generator: OpenOffice.org/3.2$Win32 OpenOffice.org_project/320m12$Build-9483

The issue regarding “text:style-name” has been already filled to OpenOffice.org. But unfortunately, I (Oliver-Rainer Wittmann) forgot to mentioned it. The issue is http://qa.openoffice.org/issues/show_bug.cgi?id=110694

The issue regarding “text:reference-format” is somehow a ODF specification issue. The attribute type of the referenced item - in this case the “text:name” attribute of a bookmark has to be ID, but it is String. But, the ODF Validator based on RNG reported this issue.

scenarios/20100415/mixed_lists.txt · Last modified: 2010/10/24 18:14 (external edit)
www.ez.nl www.noiv.nl www.opendocsociety.org