Class: EideticPDF::PdfObjects::PdfResources
- Inherits:
-
PdfDictionaryObject
- Object
- IndirectObject
- PdfDictionaryObject
- EideticPDF::PdfObjects::PdfResources
- Defined in:
- lib/epdfo.rb
Overview
defines resources used by a page or collection of pages
Instance Attribute Summary
Attributes inherited from IndirectObject
Instance Method Summary collapse
Methods inherited from PdfDictionaryObject
#body, #dictionary, #initialize
Methods inherited from IndirectObject
#body, #footer, #header, #initialize, #reference_object, #reference_string, #to_s
Constructor Details
This class inherits a constructor from EideticPDF::PdfObjects::PdfDictionaryObject
Instance Method Details
#fonts ⇒ Object
700 701 702 703 |
# File 'lib/epdfo.rb', line 700 def fonts @fonts ||= PdfDictionary.new dictionary['Font'] ||= @fonts end |
#proc_set=(pdf_object) ⇒ Object
695 696 697 698 |
# File 'lib/epdfo.rb', line 695 def proc_set=(pdf_object) # pdf_object: PdfArray or IndirectObjectRef dictionary['ProcSet'] = pdf_object end |
#x_objects ⇒ Object
705 706 707 708 |
# File 'lib/epdfo.rb', line 705 def x_objects @x_objects ||= PdfDictionary.new dictionary['XObject'] ||= @x_objects end |