The description for toggle properties needs clarification.
State that toggle properties toggle between levels, not for style chains at the same level.
Part 4, 2.3
te
Proposed Disposition of DIS 29500 Comment ECMA-0062 (Modified: 2007-12-26) Agreed; the following change will be made in each description of a toggle property: Part 4, §2.3.2.1, page 160, lines 1318 Part 4, §2.3.2.2, page 161, lines 1318 Part 4, §2.3.2.4, page 169, lines 510 Part 4, §2.3.2.11, page 182, lines 1318 Part 4, §2.3.2.14, page 186, lines 914 Part 4, §2.3.2.15, page 187, lines 1419 Part 4, §2.3.2.16, page 189, lines 16 Part 4, §2.3.2.21, page 196, lines 914 Part 4, §2.3.2.29, page 214, lines 1619 and page 215, lines 12 Part 4, §2.3.2.31, page 223, lines 1924 Part 4, §2.3.2.35, page 228, lines 914 Part 4, §2.3.2.39, page 236, lines 1318 This formatting property is a toggle property (§2.7.3) , which specifies that its behavior differs between its use within a style definition and its use as direct formatting. When used as part of a style definition, setting this property shall toggle the current state of that property as specified up to this point in the hierarchy (i.e. applied to not applied, and vice versa). Setting it to this property false (or an equivalent) shall result in the current setting remaining unchanged. However, when used as direct formatting, setting this property to true or false shall set the absolute state of the resulting property . To a new §2.7.3: 2.7.3 Toggle Properties Certain character properties defined in §2.3.2 are specified as toggle properties. [Example: the Bold and Italics properties are toggle properties. end example] As indicated in the previous two sections (§2.7.1 and §2.7.2) several styles may affect the formatting applied to a given piece of content within a WordprocessingML document. When the same formatting property appears in one or more styles that affect the content applied to a run, the combined effect depends on whether or not the formatting property is a toggle property. If the property is not a toggle property, then its values shall be applied in the order described in §2.7.1 and §2.7.2, and only its last value in that order shall be used. If the property is a toggle property, then its values, which are limited to true and false (or the equivalent values 1 and 0) shall be combined as follows: If a toggle property is explicitly set in direct formatting applied to a given piece of content, then its value in the direct formatting shall be used. Otherwise, the instances of that toggle property in the styles that affect the content shall be combined in the following manner: o If multiple instances of the toggle property appear at the same level of the style hierarchy, then the first value encountered by the following algorithm shall be used (if no value is encountered, the property takes on its default value). 1. Attempt to read the value in the style. 2. If it does not exist and the style has a basedOn element with a non-empty value, repeat step 1 using the style specified by the basedOn element. [Example: If a paragraph style sets no value for the bold property to false and the paragraph style specified by its basedOn element specifies that it is true, the result of applying the style definition sets the value of bold to true (the first value in the hierarchy). end example] o If the value of the toggle property appears at multiple levels of the style hierarchy (§2.7.2), their effective values shall be combined as follows: If the value specified by the document defaults is true, the effective value is true. Otherwise, the values are combined by a Boolean XOR as follows: = i.e., the effective value to be applied to the content shall be true if its effective value is true for an odd number of levels of the style hierarchy. The following Boolean properties are toggle properties: §2.3.2.1 (Bold), §2.3.2.2 (Complex Script Bold), §2.3.2.4 (Display All Characters as Capital Letters), §2.3.2.11 (Embossing), §2.3.2.14 (Italics), §2.3.2.15 (Complex Script Italics), §2.3.2.16 (Imprinting), §2.3.2.21 (Display Character Outline), §2.3.2.29 (Shadow), §2.3.2.31 (Small Caps), §2.3.2.35 (Single Strikethrough), §2.3.2.39 (Hidden Text). [Example: Consider a table style with two styles in its basedOn chain. If the resolved value of the bold property (a toggle property) within the basedOn chain of the table style is true, that specifies that this property should be applied to the contents of the table: If a single paragraph within that table also has a paragraph style applied, with three styles in its basedOn chain that resolve to a value of true, the toggle property logic above would toggle the bold property, resulting in bold not being applied to its contents. Applying this to the paragraph in the first cell below, the resulting table would appear as follows: The calculation which results in this value for the bold property is displayed below: end example] Part 4, §2.7.2, page 661, line 13, replacing the existing graphic:
