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
Create a new text document
Insert a heading on outline level 1
Insert three headings on outline level 2
Assure that the headings apply the outline style
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)”
Insert some paragraphs in chapter 1.1)
Apply a list style to the inserted paragraphs
Move the paragraphs to different list levels, having at least one paragraph on each list level 1..5
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
Insert some paragraphs in chapter 1.2)
Apply a list style to the inserted paragraphs
Move the paragraphs to different list levels, having at least one paragraph on each list level 1..5
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.
Insert some paragraphs in chapter 1.3)
Continue the list of chapter 1.2) with the inserted paragraphs
Save and close the document
Lists in ODF 1.2
Same steps as for lists in ODF 1.1
Add another heading on outline level 2
Add some paragraphs in new chapter 1.4)
Continue the list of chapter 1.1) with the inserted paragraphs
Save and close the document
Check
Open the created documents in other implementations
Check, if list labels are the same
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.