Compartir a través de


DoNotTrackMoves Class

Do Not Use Move Syntax When Tracking Revisions.When the object is serialized out as xml, its qualified name is w:doNotTrackMoves.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.DoNotTrackMoves

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class DoNotTrackMoves _
    Inherits OnOffType
'Usage
Dim instance As DoNotTrackMoves
public class DoNotTrackMoves : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.1.41 doNotTrackMoves (Do Not Use Move Syntax When Tracking Revisions)

This element specifies that applications shall not track revisions made to this WordprocessingML document as moves when the trackRevisions element (§17.15.1.89) is turned on, even when that syntax is appropriate. Instead, applications should use a standard insertion and deletion annotation syntax. Existing moves shall not be modified. [Rationale: This element is provided to enable interoperability with earlier word processing applications which do not understand moves. end rationale]

If this element is omitted, then move annotations can be generated by changes to the contents of this document when the trackRevisions element is turned on as appropriate.

[Example: Consider a WordprocessingML that specifies that it must not have additional moves added to its contents. This requirement would be specified using the following WordprocessingML in the document settings part:

<w:doNotTrackMoves w:val="true"/> 

The doNotTrackMoves element's val attribute has a value of true specifying that insertion/deletion annotations must be used rather than moves when revisions are tracked in this document. end example]

Parent Elements

settings (§17.15.1.78)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DoNotTrackMoves Members

DocumentFormat.OpenXml.Wordprocessing Namespace