class HexaPDF::Type::Names
See: PDF2.0 s7.7.4, HexaPDF::Catalog, HexaPDF::NameTreeNode
This dictionary is linked via the /Names entry from the HexaPDF::Catalog.
add or delete an entry.
Each field corresponds to a name tree that holds the information and can be used to find,
Represents the PDF’s names dictionary which associates names with data for various purposes.
def destinations
objects.
provides a much easier to work with convenience interface for working with destination
Note: It is possible to use this name tree directly, but HexaPDF::Document::Destinations
The name tree will be created if needed.
Returns the destinations name tree containing a mapping from names to destination objects.
def destinations self[:Dests] ||= document.add({}, type: NameTreeNode) end