Click or drag to resize

EditRevision Class

Represents info about an insert or delete revision, occurs on runs of text. Three different revision operations are possible on a run: inserted, deleted or formatted. Formatted revision can be combined with deleted or inserted revision. A piece of text can be inserted by one author and deleted by another author, in this case both insert and delete revisions can be present on a run. 1. Formatted is same as formatting change revision on other objects, for example section properties. There is an sprm that is followed by sprms for the properties that have changed. We read this into revision attributes collection and store it as an attribute in the run attribute collection. 2. Inserted and deleted in WordML actually come not inside rPr element, but at the level of the r element.
Inheritance Hierarchy
System Object
Spire.Doc.Formatting.Revisions RevisionBase
Spire.Doc.Formatting.Revisions EditRevision

Namespace: Spire.Doc.Formatting.Revisions
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class EditRevision : RevisionBase

The EditRevision type exposes the following members.

Properties
Name Description
Public property Author
Gets or sets the author. Specifies the author for an annotation within a Word document.
(Inherited from RevisionBase .)
Public property DateTime
Gets or sets the date time. Specifies the date information for an annotation within a Word document.
(Inherited from RevisionBase .)
Public property Type
Indicates whether the run is inserted or deleted during the revision.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also