[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Numbered Headings, clarification required (ODF all versions)
Dear all, Consider the following document which is I believe a valid (draft 1.2 in this case) ODF document. By my reading of the spec it is unclear whether a fully-conformant application should display numbers alongside the headings. This difficulty revolves around whether it is sufficient simply to create a <number:number-style>, or whether some descendant elements are in fact needed. The schema says not; so in that case what happens when no descendant elements are present? <?xml version="1.0" encoding="UTF-8"?> <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" office:version="1.2"> <office:automatic-styles> <number:number-style style:name="NumbHead"></number:number-style> </office:automatic-styles> <office:body> <office:text> <text:h text:outline-level="1" text:style-name="NumbHead">First Heading</text:h> <text:p>Some text</text:p> <text:h text:outline-level="1" text:style-name="NumbHead">Second Heading</text:h> <text:p>Some text</text:p> <text:h text:outline-level="1" text:style-name="NumbHead">Third Heading</text:h> <text:p>Some text</text:p> </office:text> </office:body> </office:document-content> - Alex.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]