Represents a revision (tracked change) in a document node or style. Use RevisionType to check the type of this revision.
Shows how to work with revisions in a document.
#include <Aspose.Words.Cpp/Revision.h>
Public Member Functions | |
void | Accept () |
Accepts this revision. More... | |
String | get_Author () |
Gets or sets the author of this revision. Can not be empty string or null. More... | |
DateTime | get_DateTime () |
Gets or sets the date/time of this revision. More... | |
SharedPtr< RevisionGroup > | get_Group () |
Gets the revision group. Returns null if the revision does not belong to any group. More... | |
SharedPtr< Node > | get_ParentNode () |
Gets the immediate parent node (owner) of this revision. This property will work for any revision type other than StyleDefinitionChange. More... | |
SharedPtr< Style > | get_ParentStyle () |
Gets the immediate parent style (owner) of this revision. This property will work for only for the StyleDefinitionChange revision type. More... | |
RevisionType | get_RevisionType () const |
Gets the type of this revision. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | Reject () |
Reject this revision. More... | |
void | set_Author (String value) |
Setter for get_Author. More... | |
void | set_DateTime (DateTime value) |
Setter for get_DateTime. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
void Aspose::Words::Revision::Accept | ( | ) |
Accepts this revision.
Shows how to work with revisions in a document.
System::String Aspose::Words::Revision::get_Author | ( | ) |
Gets or sets the author of this revision. Can not be empty string or null.
Shows how to work with revisions in a document.
System::DateTime Aspose::Words::Revision::get_DateTime | ( | ) |
Gets or sets the date/time of this revision.
Shows how to work with revisions in a document.
System::SharedPtr<Aspose::Words::RevisionGroup> Aspose::Words::Revision::get_Group | ( | ) |
Gets the revision group. Returns null if the revision does not belong to any group.
Shows how to work with revisions in a document.
System::SharedPtr<Aspose::Words::Node> Aspose::Words::Revision::get_ParentNode | ( | ) |
Gets the immediate parent node (owner) of this revision. This property will work for any revision type other than StyleDefinitionChange.
Shows how to determine the revision type of an inline node.
System::SharedPtr<Aspose::Words::Style> Aspose::Words::Revision::get_ParentStyle | ( | ) |
Gets the immediate parent style (owner) of this revision. This property will work for only for the StyleDefinitionChange revision type.
Shows how to work with a document's collection of revisions.
Aspose::Words::RevisionType Aspose::Words::Revision::get_RevisionType | ( | ) | const |
Gets the type of this revision.
Shows how to work with revisions in a document.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Revision::Reject | ( | ) |
Reject this revision.
Shows how to work with revisions in a document.
void Aspose::Words::Revision::set_Author | ( | System::String | value | ) |
Setter for Aspose::Words::Revision::get_Author.
void Aspose::Words::Revision::set_DateTime | ( | System::DateTime | value | ) |
Setter for Aspose::Words::Revision::get_DateTime.
|
static |