Class: HexaPDF::Type::ViewerPreferences

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

Overview

Represents the PDF’s viewer preferences dictionary which defines how a document should be presented on screen or in print.

This dictionary is linked via the /ViewerPreferences entry from the Type::Catalog.

See: PDF2.0 s12.2, Catalog

Constant Summary

Constants included from DictionaryFields

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

Instance Attribute Summary

Attributes inherited from Object

#data, #document, #must_be_indirect

Method Summary

Methods inherited from Dictionary

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

Methods inherited from Object

#<=>, #==, #cache, #cached?, #clear_cache, deep_copy, #deep_copy, #document?, #eql?, field, #gen, #gen=, #hash, #indirect?, #initialize, #inspect, make_direct, #must_be_indirect?, #null?, #oid, #oid=, #type, #validate, #value, #value=

Constructor Details

This class inherits a constructor from HexaPDF::Object