Class: EideticPDF::PdfObjects::PdfMovieAnnot
- Inherits:
-
PdfAnnot
- Object
- IndirectObject
- PdfDictionaryObject
- PdfAnnot
- EideticPDF::PdfObjects::PdfMovieAnnot
- Defined in:
- lib/epdfo.rb
Instance Attribute Summary
Attributes inherited from IndirectObject
Instance Method Summary collapse
- #activation=(activation) ⇒ Object
-
#initialize(seq, gen, rect, movie) ⇒ PdfMovieAnnot
constructor
A new instance of PdfMovieAnnot.
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, movie) ⇒ PdfMovieAnnot
Returns a new instance of PdfMovieAnnot.
663 664 665 666 667 |
# File 'lib/epdfo.rb', line 663 def initialize(seq, gen, rect, movie) # movie: Hash super(seq, gen, 'Movie', rect) dictionary['Movie'] = PdfDictionary.new(movie) end |
Instance Method Details
#activation=(activation) ⇒ Object
669 670 671 672 |
# File 'lib/epdfo.rb', line 669 def activation=(activation) # activation: Hash or boolean dictionary['A'] = activation.is_a?(Hash) ? PdfDictionary.new(activation) : PdfBoolean.new(activation) end |