class HexaPDF::NumberTreeNode

Implementation of PDF number trees.

Number trees are similar to name trees but use integers as keys instead of strings. See HexaPDF::NameTreeNode for a more detailed explanation.

See: PDF1.7 s7.9.7, HexaPDF::NameTreeNode

Private Instance Methods

key_type() click to toggle source

Defines the class that is used for the keys in the number tree (Integer).

# File lib/hexapdf/number_tree_node.rb, line 63
def key_type
  Integer
end
leaf_node_container_name() click to toggle source

Defines the dictionary entry name that contains the leaf node entries.

# File lib/hexapdf/number_tree_node.rb, line 58
def leaf_node_container_name
  :Nums
end