17.13.5.22 moveFrom
This element specifies that the inline-level content contained within it shall be treated as content which has been moved away from this location and tracked as a revision.
The following restrictions shall be applied to this content:
- If this element occurs outside of a move source container (17.13.5.24; 17.13.5.23) for which a
- matching move destination container (17.13.5.28; 17.13.5.27) exists in the document, then the
- document is non-conformant.
[Example: Consider a WordprocessingML document in which the first paragraph contains two sentences, and the first sentence is moved before the second sentence, and this move is tracked as a revision, as follows (in this image, green underline indicates the move destination and the green strikethrough indicates the move source location):
This document has the sentence Some moved text. moved to the first sentence in the document. This revision is represented using the following WordprocessingML:
<w:p>
<w:moveToRangeStart w:id="0" … w:name="move1" />
<w:moveTo w:id="1" … >
<w:r>
<w:t>Some moved text.</w:t>
</w:r>
</w:moveTo>
<w:moveToRangeEnd w:id="0" />
<w:r>
<w:t xml:space="preserve">Some text.</w:t>
</w:r>
<w:moveFromRangeStart w:id="2" … w:name="move1" />
<w:moveFrom w:id="3" … >
<w:r>
<w:t>Some moved text.</w:t>
</w:r>
</w:moveFrom>
<w:moveFromRangeEnd w:id="2" />
</w:p>
The moveFrom element specifies that all of the inline-level content contained within must be revision marked as content which was moved from its current location in the document. Because this moved content is contained within a complete move source container (moveFromRangeStart and moveFromRangeEnd) with a corresponding move destination, this content is tracked as a move. end example]
Attributes
date (Annotation Date)
Specifies the date information for an annotation within a WordprocessingML document. The use of this information is outside of the scope of ISO/IEC 29500.
If this attribute is omitted, then no date information shall be associated with the parent annotation type.
[Example: Consider a comment represented using the following WordprocessingML fragment:
<… w:id="1" w:date="2006-01-01T10:00:00">
…
</…>
The date attribute specifies that the date of the current annotation is January 1st 2006 at 10:00 AM, which can be used as desired. end example]
The possible values for this attribute are defined by the ST_DateTime simple type (17.18.9).
author (Annotation Author)
Specifies the author for an annotation within a WordprocessingML document.
If this attribute is omitted, then no author shall be associated with the parent annotation type.
[Example: Consider a comment represented using the following WordprocessingML fragment:
<… w:id="1" w:author="Example Author">
…
</…>
The author attribute specifies that the author of the current annotation is Example
The possible values for this attribute are defined by the ST_String simple type (22.9.2.13).
id (Annotation Identifier)
Specifies a unique identifier for an annotation within a WordprocessingML document. The restrictions on the id attribute, if any, are defined by the parent XML element.
If this attribute is omitted, then the document is non-conformant.
[Example: Consider an annotation represented using the following WordprocessingML fragment:
<… w:id="1" … >
…
</…>
The id attribute specifies that the ID of the current annotation is 1. This value is used to uniquely identify this annotation within the document content. end example]
The possible values for this attribute are defined by the ST_DecimalNumber simple type (17.18.10).
[Note: The W3C XML Schema definition of this element’s content model (CT_RunTrackChange) is located in A.1. end note]