[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: proposal: new attributes text:style-override and text:list-id
Dear TC members, I want to revise the proposal - see http://www.oasis-open.org/archives/office/200703/msg00172.html in order to reflect the proposed clarifications made by me and Thomas - see http://www.oasis-open.org/archives/office/200703/msg00179.html and http://www.oasis-open.org/archives/office/200703/msg00203.html Proposal: (1) Introduce new mandatory attribute text:list-id for <text:numbered-paragraph>. The purpose of this attribute is to group certain instances of <text:numbered-paragraph> together to one list. Thus, all numbered paragraphs with the same list-id form a list and each list-id defines one counter domain. For the start values of the counter domain defined by a list-id it's proposed to use the start values of the list style of the first numbered paragraph at every list level. For text documents in previous ODF versions, which doesn't contain the list-id attribute, the following handling is proposed: - A series of numbered paragraphs using the same list style can easily be implied to be part of the same list. - A numbered paragraph that does not have a list-id gets the list-id of the last numbered-paragraph on that same level using the same style. If the previous has a different style, then a new list is started. Insert this new attribute, its explanation and the handling of text documents in previous ODF versions in chapter 4.3.4 "Numbered Paragraphs", referencing ODF 1.1 specification document. (2) If a numbered paragraph doesn't specify a list style, it's proposed to use the list style, which is applied to the numbered paragraph on the superior list level of the same list. If no such numbered paragraph exists, a default list style is applied. Insert this clarification also into chapter 4.3.4 "Numbered Paragraphs". (3) Introduce new optional attribute text:style-override for <text:list-item>. The purpose of this attribute is that each list item can override the defined list style of its list block by a certain list style. The complete list level definitions of the overriding list style is used to override the definitions of the overriden list style. If the overriding list style only contains the definition for one list level, only the list level definition of this list level is overriden. Thus, the list style, which is applied to the list item is a somehow a list style, which is formed by taking the list style of the list block overriden by the list level definitions of the list style given in the text:style-override attribute. Insert this new attribute and its explanation into chapter 4.3.2 "List Item", referencing to ODF 1.1 specification document. (4) Each top-most list block denotes a certain list and defines the counter domain for its including list items and sub lists. The list style, which will be applied to this list, can define start values for each list level. A specified list style on a certain sub list overrides a possible given start value for its list level, if it contains the list definition for this list level. Each sub list restarts the counter for its list level. Each sub list can have its own list style and it's proposed that the complete list level definitions of this list style are applied to its list items. E.g., a sub list on list level 3 defines an own list style containing list level definitions for list level 2 and 3. Thus, these list level definitions are used, if needed, to build the list label of its list items and to layout its list items. Insert this clarifications into chapter 4.3.1 "List Block", referencing to ODF 1.1 specification document. (5) Introduce the new attributes for <text:list> elements: - text:id with type <ref name="ID"> - text:continue-list with type <ref name="IDREF"> These new attributes should be optional and are only valid for top-most <text:list> elements. Attribute text:id unambiguously identifies a certain list. Attribute text:continue-list states, that the current list has to continue the numbering of the list, which is identified by the value of text:continue-list. New attribute text:continue-list "wins over" existing attribute text:continue-numbering. This attributes should be used mutual exclusive. Insert these new attributes and its explanation into chapter 4.3.1 "List Block", referencing to ODF 1.1 specification document. (6) List styles contain definitions for certain list levels. The list level definitions don't have to be complete. E.g., a certain list style can contain the list level definitions for list level 2 and 3. Thus, it can happen, that such a list style is applied to a certain list item and a missing list level definition is needed to build the contents of the list label. E.g., a list style only containing list level definition for list level 2 is applied on a list item on list level 2. But, it's specified, that the list label should contain the number of superior list level 1. Thus, list level definition for list level 1 is needed to determine the number format. It's proposed use the list level definition for list level 1, which is applied the parent/superior list item on list level 1. If no parent/superior list item on list level 1 exists, use a default list style. This is the same default list style, which is mentioned in chapter 4.3.1 of ODF specification 1.1 about list blocks. The same should be applied to numbered paragraphs of a certain list. This clarification should be inserted into chapter 4.3.2 "List Item", referencing to ODF 1.1 specification document. A link to this clarification should be added to chapter 4.3.4 "Numbered Paragraphs" Regards, Oliver.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]