Class: HexaPDF::Type::Names
- Inherits:
-
Dictionary
- Object
- Object
- Dictionary
- HexaPDF::Type::Names
- Defined in:
- lib/hexapdf/type/names.rb
Overview
Represents the PDF’s names dictionary which associates names with data for various purposes.
Each field corresponds to a name tree that holds the information and can be used to find, add or delete an entry.
This dictionary is linked via the /Names entry from the HexaPDF::Catalog.
See: PDF1.7 s7.7.4, HexaPDF::Catalog, HexaPDF::NameTreeNode
Constant Summary
Constants included from DictionaryFields
DictionaryFields::Boolean, DictionaryFields::PDFByteString, DictionaryFields::PDFDate
Constants inherited from Object
Object::NOT_DUPLICATABLE_CLASSES
Instance Attribute Summary
Attributes inherited from Object
#data, #document, #must_be_indirect
Instance Method Summary collapse
-
#type ⇒ Object
Returns
:XXNames
.
Methods inherited from Dictionary
#[], #[]=, define_field, #delete, #each, each_field, #empty?, field, #key?, #to_hash
Methods inherited from Object
#<=>, #==, deep_copy, #deep_copy, #document?, #eql?, #gen, #gen=, #hash, #indirect?, #initialize, #inspect, #must_be_indirect?, #null?, #oid, #oid=, #validate, #value, #value=
Constructor Details
This class inherits a constructor from HexaPDF::Object
Instance Method Details
#type ⇒ Object
Returns :XXNames
.
62 63 64 |
# File 'lib/hexapdf/type/names.rb', line 62 def type :XXNames end |