accept method
accept(visitor)
Accepts a visitor.
accept(visitor: Aspose.Words.DocumentVisitor)
Parameter | Type | Description |
---|---|---|
visitor | DocumentVisitor | The visitor that will visit the nodes. |
Remarks
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.
Calls DocumentVisitor.visitParagraphStart(), then calls Node.accept() for all child nodes of the paragraph and calls DocumentVisitor.visitParagraphEnd() at the end.
Returns
True if all nodes were visited; false if DocumentVisitor stopped the operation before visiting all nodes.
See Also
- module Aspose.Words
- class Paragraph