class PDF::Catalog

Overview

The root of a document’s object hierarchy is the catalog dictionary, located via the Root entry in the trailer of the PDF file (see Section 3.4.4, “File Trailer”). The catalog contains references to other objects defining the document’s contents, outline, article threads (PDF 1.1), named destinations, and other attributes.

In addition, it contains information about how the document should be displayed on the screen, such as whether its outline and thumbnail page images should be displayed automatically and whether some location other than the first page should be shown when the document is opened.

Defined in:

pdf/document/pagetree/catalog.cr

Constant Summary

TYPE = Name.new("Catalog")

The type of PDF object that this dictionary describes; must be Catalog for the catalog dictionary.

Constructors

Instance Method Summary

Constructor Detail

def self.new(pages : Hash(PDF::Name, PDF::PageTreeNode)) #

[View source]

Instance Method Detail

def type #

[View source]