com.spire.doc.formatting.revisions
Class EditRevision

java.lang.Object
  extended by com.spire.doc.formatting.revisions.RevisionBase
      extended by com.spire.doc.formatting.revisions.EditRevision

public class EditRevision
extends RevisionBase

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.


Method Summary
 EditRevisionType getType()
          Indicates whether the run is inserted or deleted during the revision.
 
Methods inherited from class com.spire.doc.formatting.revisions.RevisionBase
getAuthor, getDateTime, setAuthor, setDateTime
 

Method Detail

getType

public EditRevisionType getType()
Indicates whether the run is inserted or deleted during the revision.