[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
moveTo (Move Destination Run Content)
This element specifies that the inline-level content contained within it shall be treated as content which has been moved to this location and tracked as a revision.
The following restrictions shall be applied to this content:
• If this element occurs outside of a valid move destination container (§2.13.5.28; §2.13.5.27) for which a matching move source container (§2.13.5.24; §2.13.5.23) exists in the document, then content in this region shall be treated as inserted, rather than moved.
[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 moveTo element specifies that all of the inline-level content contained within shall be revision marked as content which was moved to its current location in the document. Because this moved content is contained within a complete move destination container (moveToRangeStart and moveToRangeEnd) with a corresponding move source, this content is tracked as a move. end example]
Parent Elements |
body (§2.2.2); comment (§2.13.4.2); customXml (§2.5.1.3); customXml (§2.5.1.4); customXml (§2.5.1.5); customXml (§2.5.1.6); deg (§7.1.2.26); del (§2.13.5.12); den (§7.1.2.28); docPartBody (§2.12.6); e (§7.1.2.32); endnote (§2.11.2); fldSimple (§2.16.21); fName (§7.1.2.37); footnote (§2.11.10); ftr (§2.10.3); hdr (§2.10.4); hyperlink (§2.16.24); ins (§2.13.5.20); lim (§7.1.2.52); moveFrom (§2.13.5.21); moveTo (§2.13.5.26); num (§7.1.2.75); oMath (§7.1.2.77); p (§2.3.1.22); rt (§2.3.3.23); rubyBase (§2.3.3.26); sdtContent (§2.5.2.32); sdtContent (§2.5.2.33); sdtContent (§2.5.2.34); sdtContent (§2.5.2.35); smartTag (§2.5.1.9); sub (§7.1.2.112); sup (§7.1.2.114); tbl (§2.4.36); tc (§2.4.62); tr (§2.4.75); txbxContent (§2.17.1.1) |
Child Elements |
Subclause |
acc (Accent) |
§7.1.2.1 |
bar (Bar) |
§7.1.2.7 |
bookmarkEnd (Bookmark End) |
§2.13.6.1 |
bookmarkStart (Bookmark Start) |
§2.13.6.2 |
borderBox (Border-Box Function) |
§7.1.2.11 |
box (Box Function) |
§7.1.2.13 |
commentRangeEnd (Comment Anchor Range End) |
§2.13.4.3 |
commentRangeStart (Comment Anchor Range Start) |
§2.13.4.4 |
§2.5.1.5 | |
customXmlDelRangeEnd (Custom XML Markup Deletion End) |
§2.13.5.4 |
customXmlDelRangeStart (Custom XML Markup Deletion Start) |
§2.13.5.5 |
customXmlInsRangeEnd (Custom XML Markup Insertion End) |
§2.13.5.6 |
customXmlInsRangeStart (Custom XML Markup Insertion Start) |
§2.13.5.7 |
customXmlMoveFromRangeEnd (Custom XML Markup Move Source End) |
§2.13.5.8 |
customXmlMoveFromRangeStart (Custom XML Markup Move Source Start) |
§2.13.5.9 |
customXmlMoveToRangeEnd (Custom XML Markup Move Destination Location End) |
§2.13.5.10 |
customXmlMoveToRangeStart (Custom XML Markup Move Destination Location Start) |
§2.13.5.11 |
d (Delimiter Function) |
§7.1.2.24 |
§2.13.5.12 | |
eqArr (Equation-Array Function) |
§7.1.2.34 |
f (Fraction Function) |
§7.1.2.36 |
func (Function Apply Function) |
§7.1.2.39 |
groupChr (Group-Character Function) |
§7.1.2.41 |
§2.13.5.20 | |
limLow (Lower-Limit Function) |
§7.1.2.54 |
limUpp (Upper-Limit Function) |
§7.1.2.56 |
m (Matrix Function) |
§7.1.2.60 |
§2.13.5.21 | |
moveFromRangeEnd (Move Source Location Container - End) |
§2.13.5.23 |
moveFromRangeStart (Move Source Location Container - Start) |
§2.13.5.24 |
§2.13.5.26 | |
moveToRangeEnd (Move Destination Location Container - End) |
§2.13.5.27 |
moveToRangeStart (Move Destination Location Container - Start) |
§2.13.5.28 |
nary (n-ary Operator Function) |
§7.1.2.70 |
oMath (Office Math) |
§7.1.2.77 |
oMathPara (Math Paragraph) |
§7.1.2.78 |
permEnd (Range Permission End) |
§2.13.7.1 |
permStart (Range Permission Start) |
§2.13.7.2 |
phant (Phantom Function) |
§7.1.2.81 |
proofErr (Proofing Error Anchor) |
§2.13.8.1 |
r (Text Run) |
§2.3.2.23 |
r (Run) |
§7.1.2.87 |
rad (Radical Function) |
§7.1.2.88 |
sdt (Inline-Level Structured Document Tag) |
§2.5.2.29 |
smartTag (Inline-Level Smart Tag) |
§2.5.1.9 |
sPre (Pre-Sub-Superscript Function) |
§7.1.2.99 |
sSub (Subscript Function) |
§7.1.2.101 |
sSubSup (Sub-Superscript Function) |
§7.1.2.103 |
sSup (Superscript Function) |
§7.1.2.105 |
Attributes |
Description |
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:… w:id="1" w:author="Example Author"> … </w:…>
The author attribute specifies that the author of the current annotation is Example Author, which may be used as desired. end example]
The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
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 this Office Open XML Standard.
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:… w:id="1" w:date="2006-01-01T10:00:00"> … </w:…>
The date attribute specifies that the date of the current annotation is January 1st 2006 at 10:00 AM, which may be used as desired. end example]
The possible values for this attribute are defined by the ST_DateTime simple type (§2.18.15). |
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:… w:id="1" … > … </w:…>
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 (§2.18.16). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_RunTrackChange">
<complexContent>
<extension base="CT_TrackChange">
<choice minOccurs="0" maxOccurs="unbounded">
<group ref="EG_ContentRunContent"/>
<group ref="m:EG_OMathMathElements"/>
</choice>
</extension>
</complexContent>
</complexType>