Class: EideticPDF::PdfObjects::PdfDictionaryObject
- Inherits:
-
IndirectObject
- Object
- IndirectObject
- EideticPDF::PdfObjects::PdfDictionaryObject
- Defined in:
- lib/epdfo.rb
Direct Known Subclasses
PdfAnnot, PdfCatalog, PdfFont, PdfFontDescriptor, PdfFontEncoding, PdfOutlines, PdfPageBase, PdfResources, PdfStream
Instance Attribute Summary
Attributes inherited from IndirectObject
Instance Method Summary collapse
- #body ⇒ Object
- #dictionary ⇒ Object
-
#initialize(seq, gen, hash = {}) ⇒ PdfDictionaryObject
constructor
A new instance of PdfDictionaryObject.
Methods inherited from IndirectObject
#footer, #header, #reference_object, #reference_string, #to_s
Constructor Details
#initialize(seq, gen, hash = {}) ⇒ PdfDictionaryObject
Returns a new instance of PdfDictionaryObject.
308 309 310 |
# File 'lib/epdfo.rb', line 308 def initialize(seq, gen, hash={}) super(seq, gen, PdfDictionary.new(hash)) end |
Instance Method Details
#body ⇒ Object
316 317 318 |
# File 'lib/epdfo.rb', line 316 def body dictionary.to_s end |
#dictionary ⇒ Object
312 313 314 |
# File 'lib/epdfo.rb', line 312 def dictionary @obj end |