Represents an end of ranged structured document tag which accepts multi-sections content. See also StructuredDocumentTagRangeStart node.
Shows how to get the properties of multi-section structured document tags.
#include <Aspose.Words.Cpp/Markup/StructuredDocumentTagRangeEnd.h>
Public Member Functions | |
StructuredDocumentTagRangeEnd (const SharedPtr< DocumentBase > &doc, int32_t id) | |
Initializes a new instance of the Structured document tag range end class. More... | |
bool | Accept (SharedPtr< DocumentVisitor > visitor) override |
Accepts a visitor. More... | |
int32_t | get_Id () const |
Specifies a unique read-only persistent numerical Id for this StructuredDocumentTagRange node. Corresponding StructuredDocumentTagRangeStart node has the same Id. More... | |
NodeType | get_NodeType () const override |
Gets the type of this node. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
![]() | |
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... | |
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... | |
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 () |
Aspose::Words::Markup::StructuredDocumentTagRangeEnd::StructuredDocumentTagRangeEnd | ( | const System::SharedPtr< Aspose::Words::DocumentBase > & | doc, |
int32_t | id | ||
) |
Initializes a new instance of the Structured document tag range end class.
doc | The owner document. |
id | Identifier of the corresponding structured document tag range start. |
Shows how to create/remove structured document tag and its content.
|
overridevirtual |
Accepts a visitor.
Enumerates over this node and all of its children. Each node calls a corresponding method on DocumentVisitor.
For more info see the Visitor design pattern.
visitor | The visitor that will visit the nodes. |
Shows how to use a DocumentVisitor implementation to remove all hidden content from a document.
Implements Aspose::Words::Node.
int32_t Aspose::Words::Markup::StructuredDocumentTagRangeEnd::get_Id | ( | ) | const |
Specifies a unique read-only persistent numerical Id for this StructuredDocumentTagRange node. Corresponding StructuredDocumentTagRangeStart node has the same Id.
Shows how to get the properties of multi-section structured document tags.
|
overridevirtual |
Gets the type of this node.
Shows how to traverse a composite node's tree of child nodes.
Shows how to remove all child nodes of a specific type from a composite node.
Shows how to use a node's NextSibling property to enumerate through its immediate children.
Implements Aspose::Words::Node.
|
overridevirtual |
Reimplemented from Aspose::Words::Node.
|
overridevirtual |
Reimplemented from Aspose::Words::Node.
|
static |