Method: PDF::Core::Destinations#dests

Defined in:
lib/pdf/core/destinations.rb

#destsPDF::Core::Reference<PDF::Core::NameTree::Node>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The ‘:Dests` name tree in the Name dictionary. This name tree is used to store named destinations (PDF 1.7 spec 8.2.1). (For more on name trees, see section 3.8.5 in the PDF 1.7 spec.)

Returns:

See Also:

  • Prawn::Document::Internal#names


21
22
23
24
25
# File 'lib/pdf/core/destinations.rb', line 21

def dests
  names.data[:Dests] ||= ref!(
    PDF::Core::NameTree::Node.new(self, NAME_TREE_CHILDREN_LIMIT),
  )
end