DocxNode class abstract
Abstract base class for all nodes in the document AST.
The AST (Abstract Syntax Tree) represents the document structure in a format-agnostic way, allowing export to multiple formats (DOCX, HTML, PDF, etc.).
Node Hierarchy
DocxNode (base)
├── DocxInline (inline content like text, images)
│ ├── DocxText
│ ├── DocxLineBreak
│ └── DocxInlineImage
├── DocxBlock (block-level content)
│ ├── DocxParagraph
│ ├── DocxTable
│ ├── DocxImage
│ └── DocxList
└── DocxSection (page sections with headers/footers)
Properties
Methods
-
accept(
DocxVisitor visitor) → void - Accepts a visitor for traversing the AST.
-
buildXml(
XmlBuilder builder) → void - Converts this node to its XML representation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited