<commentRangeStart>
(Comment Anchor Range Start)
This element specifies the start of the range around which a comment is anchored in the content of the WordprocessingML document. The @id
attribute on this element shall be used to link the corresponding comment anchor range end element and comment reference.
The following restrictions shall be applied to this element:
If this element occurs without a corresponding
<commentRangeEnd>
element (§2.13.4.3) with a matching@id
attribute value, then it shall be considered the single anchor point for the associated comment reference.If this element appears without a corresponding
<commentReference>
element (§2.13.4.5) in the current document story with a matching@id
attribute value, then it shall be ignored and the comment content has no associated range.If this element appears in a comment content story (§2.13.4.2), then it may be ignored.
The WordprocessingML fragment for this comment is defined as follows:
<w:p> <w:r> <w:t xml:space="preserve">Some </w:t> </w:r> <w:commentRangeStart w:id="0" /> <w:r> <w:t>text.</w:t> </w:r> <w:commentRangeEnd w:id="0" /> <w:r> <w:commentReference w:id="0" /> </w:r> </w:p>
The <commentRangeStart>
element specifies that the start of the comment range for the comment with an @id
of 0
is after the end of the run containing the word Some
. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies that the parent annotation's placement shall be directly linked with the location of the physical presentation of a custom XML element in the document. This element only has an effect when the custom XML element is block-level (i.e. surrounds an entire paragraph), as in this scenario the logical and physical placement of the annotation and custom XML element may differ. Specifically, in this case, the custom XML is presented *around* the block-level object it encloses (the paragraph, table, table row, or table cell), but is physically represented within that same object (i.e. within the paragraph, table, table row or table cell). This requirement stems from the fact that there is no location for the location of the annotation within the document at its logical location (around a table, for example). If this element is omitted, then the annotation shall be anchored inside of all block-level custom XML elements in the paragraph. If this element is present, but no block-level custom XML tag is located at the position it specifies (before or after), then it shall be ignored. Since all three of these items are around the entire paragraph, they are stored outside of the paragraph. However, in order to ensure that their relative positions are stored correctly, any annotation which shall be displaced by the physical custom XML element specifies this information, resulting in the following WordprocessingML: <w:commentRangeStart w:id="0" /> <w:commentRangeStart w:id="1" w:displaced byCustomXml="next" /> <w:customXml w:element="spec" … /> <w:p> … </w:p> The The possible values for this attribute are defined by the ST_DisplacedByCustomXml simple type (§2.18.17). |
|
Specifies a unique identifier for an annotation within a WordprocessingML document. The restrictions on the If this attribute is omitted, then the document is non-conformant. <w:… w:id="1" … > … </w:…> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_MarkupRange">
<complexContent>
<extension base="CT_Markup">
<attribute name="displacedByCustomXml" type="ST_DisplacedByCustomXml" use="optional"/>
</extension>
</complexContent>
</complexType>