Base class for inline-level nodes that can have character formatting associated with them, but cannot have child nodes of their own.
A class derived from Inline can be a child of Paragraph.
Shows how to determine the revision type of an inline node.
#include <Aspose.Words.Cpp/Inline.h>
Public Member Functions | |
SharedPtr< Font > | get_Font () |
Provides access to the font formatting of this object. More... | |
bool | get_IsDeleteRevision () |
Returns true if this object was deleted in Microsoft Word while change tracking was enabled. More... | |
bool | get_IsFormatRevision () |
Returns true if formatting of the object was changed in Microsoft Word while change tracking was enabled. More... | |
bool | get_IsInsertRevision () |
Returns true if this object was inserted in Microsoft Word while change tracking was enabled. More... | |
bool | get_IsMoveFromRevision () |
Returns true if this object was moved (deleted) in Microsoft Word while change tracking was enabled. More... | |
bool | get_IsMoveToRevision () |
Returns true if this object was moved (inserted) in Microsoft Word while change tracking was enabled. More... | |
SharedPtr< Paragraph > | get_ParentParagraph () |
Retrieves the parent Paragraph of this node. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
![]() | |
virtual bool | Accept (SharedPtr< DocumentVisitor > visitor)=0 |
Accepts a visitor. More... | |
SharedPtr< Node > | Clone (bool isCloneChildren) |
Creates a duplicate of the node. More... | |
int32_t | get_CustomNodeId () const |
Specifies custom node identifier. More... | |
virtual SharedPtr< DocumentBase > | get_Document () const |
Gets the document to which this node belongs. More... | |
virtual bool | get_IsComposite () |
Returns true if this node can contain other nodes. More... | |
SharedPtr< Node > | get_NextSibling () |
Gets the node immediately following this node. More... | |
virtual NodeType | get_NodeType () const =0 |
Gets the type of this node. More... | |
SharedPtr< CompositeNode > | get_ParentNode () |
Gets the immediate parent of this node. More... | |
SharedPtr< Node > | get_PreviousSibling () |
Gets the node immediately preceding this node. More... | |
SharedPtr< Range > | get_Range () |
Returns a Range object that represents the portion of a document that is contained in this node. More... | |
SharedPtr< CompositeNode > | GetAncestor (NodeType ancestorType) |
Gets the first ancestor of the specified NodeType. More... | |
template<typename T > | |
T | GetAncestorOf () |
virtual String | GetText () |
Gets the text of this node and of all its children. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
SharedPtr< Node > | NextPreOrder (const SharedPtr< Node > &rootNode) |
Gets next node according to the pre-order tree traversal algorithm. More... | |
SharedPtr< Node > | PreviousPreOrder (const SharedPtr< Node > &rootNode) |
Gets the previous node according to the pre-order tree traversal algorithm. More... | |
void | Remove () |
Removes itself from the parent. More... | |
void | set_CustomNodeId (int32_t value) |
Setter for get_CustomNodeId. More... | |
String | ToString (SaveFormat saveFormat) |
Exports the content of the node into a string in the specified format. More... | |
String | ToString (const SharedPtr< SaveOptions > &saveOptions) |
Exports the content of the node into a string using the specified save options. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
![]() | |
static String | NodeTypeToString (NodeType nodeType) |
A utility method that converts a node type enum value into a user friendly string. More... | |
static const TypeInfo & | Type () |
System::SharedPtr< Aspose::Words::Font > Aspose::Words::Inline::get_Font | ( | ) |
Provides access to the font formatting of this object.
Shows how to construct an Aspose.Words document by hand.
bool Aspose::Words::Inline::get_IsDeleteRevision | ( | ) |
Returns true if this object was deleted in Microsoft Word while change tracking was enabled.
Shows how to determine the revision type of an inline node.
bool Aspose::Words::Inline::get_IsFormatRevision | ( | ) |
Returns true if formatting of the object was changed in Microsoft Word while change tracking was enabled.
Shows how to determine the revision type of an inline node.
bool Aspose::Words::Inline::get_IsInsertRevision | ( | ) |
Returns true if this object was inserted in Microsoft Word while change tracking was enabled.
Shows how to determine the revision type of an inline node.
bool Aspose::Words::Inline::get_IsMoveFromRevision | ( | ) |
Returns true if this object was moved (deleted) in Microsoft Word while change tracking was enabled.
Shows how to determine the revision type of an inline node.
bool Aspose::Words::Inline::get_IsMoveToRevision | ( | ) |
Returns true if this object was moved (inserted) in Microsoft Word while change tracking was enabled.
Shows how to determine the revision type of an inline node.
System::SharedPtr< Aspose::Words::Paragraph > Aspose::Words::Inline::get_ParentParagraph | ( | ) |
Retrieves the parent Paragraph of this node.
Shows how to determine the revision type of an inline node.
|
overridevirtual |
Reimplemented from Aspose::Words::Node.
Reimplemented in Aspose::Words::AbsolutePositionTab, Aspose::Words::Fields::FieldChar, Aspose::Words::Fields::FieldEnd, Aspose::Words::Fields::FieldSeparator, Aspose::Words::Fields::FieldStart, Aspose::Words::Fields::FormField, Aspose::Words::Run, and Aspose::Words::SpecialChar.
|
overridevirtual |
Reimplemented from Aspose::Words::Node.
Reimplemented in Aspose::Words::AbsolutePositionTab, Aspose::Words::Fields::FieldChar, Aspose::Words::Fields::FieldEnd, Aspose::Words::Fields::FieldSeparator, Aspose::Words::Fields::FieldStart, Aspose::Words::Fields::FormField, Aspose::Words::Run, and Aspose::Words::SpecialChar.
|
static |