Class: HexaPDF::Type::Info

Inherits:
Dictionary show all
Defined in:
lib/hexapdf/type/info.rb

Overview

Represents the PDF's document information dictionary.

The info dictionary is linked via the /Info entry from the Trailer and contains metadata for the document.

See: PDF2.0 s14.3.3, Trailer

Constant Summary

Constants included from DictionaryFields

DictionaryFields::Boolean, DictionaryFields::PDFByteString, DictionaryFields::PDFDate

Instance Method Summary collapse

Methods inherited from Dictionary

#[], #[]=, define_field, define_type, #delete, #each, each_field, #empty?, field, #key?, #to_hash, type, #type

Instance Method Details

#must_be_indirect?Boolean

Info dictionaries must always be indirect.

Returns:



64
65
66
# File 'lib/hexapdf/type/info.rb', line 64

def must_be_indirect?
  true
end