Class: EideticPDF::PdfObjects::PdfLinkAnnot
- Inherits:
-
PdfAnnot
- Object
- IndirectObject
- PdfDictionaryObject
- PdfAnnot
- EideticPDF::PdfObjects::PdfLinkAnnot
- Defined in:
- lib/epdfo.rb
Instance Attribute Summary
Attributes inherited from IndirectObject
Instance Method Summary collapse
- #action=(action) ⇒ Object
- #dest=(dest) ⇒ Object
-
#initialize(seq, gen, rect) ⇒ PdfLinkAnnot
constructor
A new instance of PdfLinkAnnot.
Methods inherited from PdfAnnot
#appearance_dictionary=, #appearance_state=, #border=, #border_style=, #color=, #flags=, #highlight=, #mod_date=, #title=
Methods inherited from PdfDictionaryObject
Methods inherited from IndirectObject
#body, #footer, #header, #reference_object, #reference_string, #to_s
Constructor Details
#initialize(seq, gen, rect) ⇒ PdfLinkAnnot
Returns a new instance of PdfLinkAnnot.
642 643 644 |
# File 'lib/epdfo.rb', line 642 def initialize(seq, gen, rect) super(seq, gen, 'Link', rect) end |
Instance Method Details
#action=(action) ⇒ Object
657 658 659 |
# File 'lib/epdfo.rb', line 657 def action=(action) dictionary['A'] = action.is_a?(Hash) ? PdfDictionary.new(action) : action end |