|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.formatting.revisions.RevisionBase
com.spire.doc.formatting.revisions.EditRevision
public class EditRevision
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 |
---|
public EditRevisionType getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |