Click or drag to resize
Pdftools logo

PdfTools.Toolbox.Pdf.Structure Namespace

 
Classes
 ClassDescription
Public classNode This class represents a structure element node in the structure element tree of a tagged PDF. Nodes may either have a collection of other nodes as children, or be associated with marked content. These two roles cannot be mixed.
Public classNodeList
Public classRoleMap A dictionary that maps the names of structure types used in the document to their approximate equivalents in the set of standard structure types. Allowed values from the PDF standard are: Document, Part, Sect, Art, Div, H1, H2, H3, H4, H5, H6, P, L, LI, Lbl, LBody, Table, TR, TH, TD, THead, TBody, TFoot, Span, Quote, Note, Reference, Figure, Caption, Artifact, Form, Field, Link, Code, Annot, Ruby, Warichu, TOC, TOCI, Index and BibEntry.
Public classTree

The logical structure of a document is described by a hierarchy of objects called the structure hierarchy or structure tree.

The structure tree root is not made accessible through this interface, but it permits the creation of and reference to a Document node directly below the structure tree root.

It is only possible to use this interface to create a structure tree on a new document with no content that could have contained document structure copied from an existing document. Attempts either to create a structure tree in a document containing content copied without setting the copy option CopyLogicalStructure to or to copy content into a document with a created structure tree afterwards will fail.

When creating a structure element tree, the document metadata will automatically be updated to reflect that this is a tagged PDF.