iText 9.1.0 API
|
Abstract representation of a name tree structure, as used in PDF for various purposes such as the Dests tree, the ID tree of structure elements and the embedded file tree. More...
Public Member Functions |
|
virtual void | AddEntry (PdfString key, PdfObject value) |
Add an entry to the name tree. More... |
|
virtual void | AddEntry (String key, PdfObject value) |
Add an entry to the name tree. More... |
|
virtual void | RemoveEntry (PdfString key) |
Remove an entry from the name tree. More... |
|
virtual PdfObject | GetEntry (PdfString key) |
Retrieve an entry from the name tree. More... |
|
virtual PdfObject | GetEntry (String key) |
Retrieve an entry from the name tree. More... |
|
virtual ICollection< PdfString > | GetKeys () |
Retrieve the set of keys in the name tree. More... |
|
virtual bool | IsModified () |
Check if the tree is modified. More... |
|
virtual void | SetModified () |
Sets the modified flag to true. More... |
|
virtual PdfDictionary | BuildTree () |
Build a PdfDictionary containing the name tree. More... |
|
Package Functions |
|
GenericNameTree (PdfDocument pdfDoc) | |
Creates a name tree structure in the current document. More... |
|
virtual void | AddEntry (PdfString key, PdfObject value, Action< PdfDocument > onErrorAction) |
Add an entry to the name tree. More... |
|
void | SetItems (LinkedDictionary< PdfString, PdfObject > items) |
LinkedDictionary< PdfString, PdfObject > | GetItems () |
Static Package Functions |
|
static LinkedDictionary< PdfString, PdfObject > | ReadTree (PdfDictionary dictionary) |
Read the entries in a name tree structure from a dictionary object into a linked hash map with fixed order. More... |
|
Abstract representation of a name tree structure, as used in PDF for various purposes such as the Dests tree, the ID tree of structure elements and the embedded file tree.
|
inlinepackage |
Creates a name tree structure in the current document.
pdfDoc | the document in which the name tree lives |
|
inlinevirtual |
Add an entry to the name tree.
key | key of the entry |
value | object to add |
Reimplemented in iText.Kernel.Pdf.Tagging.PdfStructIdTree.
|
inlinepackagevirtual |
Add an entry to the name tree.
key | key of the entry |
value | object to add |
onErrorAction | action to perform if such entry exists |
|
inlinevirtual |
Add an entry to the name tree.
key | key of the entry |
value | object to add |
|
inlinevirtual |
Build a PdfDictionary containing the name tree.
PdfDictionary containing the name tree
Retrieve an entry from the name tree.
Implements iText.Kernel.Pdf.IPdfNameTreeAccess.
|
inlinevirtual |
Retrieve an entry from the name tree.
Implements iText.Kernel.Pdf.IPdfNameTreeAccess.
|
inlinevirtual |
Retrieve the set of keys in the name tree.
Implements iText.Kernel.Pdf.IPdfNameTreeAccess.
|
inlinevirtual |
Check if the tree is modified.
|
inlinestaticpackage |
Read the entries in a name tree structure from a dictionary object into a linked hash map with fixed order.
dictionary | a dictionary object |
|
inlinevirtual |
Remove an entry from the name tree.
key | key of the entry |
|
inlinevirtual |
Sets the modified flag to true.
Sets the modified flag to true. It means that the object has been modified.