[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

moveFrom (Move Source Paragraph)

This element specifies that the parent paragraph has been moved away from this location and tracked as a revision. This does not imply anything about the revision state of the contents of the paragraph, and applies only to the existence of the paragraph as its own unique paragraph.

The following restrictions shall be applied to this content:

If this element occurs outside of a valid move source container (§2.13.5.24; §2.13.5.23) for which a matching move destination container (§2.13.5.28; §2.13.5.27) exists in the document, then content in this region shall be treated as deleted, rather than moved.

[Example: Consider a WordprocessingML document in which a paragraph of text is moved down in the document. This moved paragraph would be represented using the following WordprocessingML markup:

<w:moveFromRangeStart w:id="0" w:name="aMove"/>
<w:p>
<w:pPr>
<w:rPr>
<w:moveFrom w:id="1" … />
</w:rPr>
</w:pPr>

</w:p>
</w:moveFromRangeEnd w:id="0"/>

The moveFrom element as a child of the run properties of the paragraph mark specify that this paragraph mark was part of the content which was moved in the document. This implies nothing about the contents, since they may have been added later and not tracked as a revision (they must be marked as a move using the moveFrom element (§2.13.5.21) around the run content). end example]

Parent Elements

rPr2.3.1.29); rPr2.3.1.30)

 

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 type2.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 type2.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 type2.18.16).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TrackChange">

   <complexContent>

   <extension base="CT_Markup">

   <attribute name="author" type="ST_String" use="required"/>

   <attribute name="date" type="ST_DateTime" use="optional"/>

   </extension>

   </complexContent>

</complexType>