Class: Origami::Action
- Inherits:
-
Dictionary
- Object
- Hash
- Dictionary
- Origami::Action
- Includes:
- StandardObject
- Defined in:
- lib/origami/actions.rb,
lib/origami/annotations.rb
Overview
Forward declaration.
Direct Known Subclasses
GoTo, GoToE, GoToR, ImportData, JavaScript, Launch, Named, RichMediaExecute, SetOCGState, SubmitForm, URI
Defined Under Namespace
Classes: GoTo, GoToE, GoToR, ImportData, JavaScript, Launch, Named, RichMediaExecute, SetOCGState, SubmitForm, URI
Constant Summary
Constants included from StandardObject
StandardObject::DEFAULT_ATTRIBUTES
Constants inherited from Dictionary
Constants included from Object
Instance Attribute Summary
Attributes included from ObjectCache
#names_cache, #strings_cache, #xref_cache
Attributes included from Object
#file_offset, #generation, #no, #objstm_offset, #parent
Class Method Summary collapse
- .GoTo(hash = {}) ⇒ Object
- .GoToE(filename, dest: , new_window: false) ⇒ Object
- .GoToR(file, dest: , new_window: false) ⇒ Object
- .ImportData(file) ⇒ Object
- .JavaScript(script) ⇒ Object
- .Named(type) ⇒ Object
- .RichMediaExecute(annotation, command, *params) ⇒ Object
- .SubmitForm(url, fields = [], flags = 0) ⇒ Object
- .URI(uri, ismap = false) ⇒ Object
Methods included from StandardObject
included, #pre_build, #version_required
Methods inherited from Dictionary
#[], #[]=, hint_type, #initialize, #merge, parse, #to_h, #to_obfuscated_str, #to_s, #transform_values, #transform_values!
Methods included from TypeGuessing
Methods included from FieldAccessor
#method_missing, #respond_to_missing?
Methods included from CompoundObject
#copy, #delete, #include?, #update_values, #update_values!
Methods included from ObjectCache
Methods included from Object
#cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #initialize, #logicalize, #logicalize!, #native_type, #numbered?, parse, #post_build, #pre_build, #reference, #set_document, #set_indirect, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #version_required, #xrefs
Constructor Details
This class inherits a constructor from Origami::Dictionary
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Origami::FieldAccessor
Class Method Details
.GoTo(hash = {}) ⇒ Object
70 71 72 |
# File 'lib/origami/actions.rb', line 70 def self.GoTo(hash = {}) Action::GoTo[hash] end |
.GoToE(filename, dest: , new_window: false) ⇒ Object
226 227 228 |
# File 'lib/origami/actions.rb', line 226 def self.GoToE(filename, dest: Destination::GlobalFit[0], new_window: false) Action::GoToE[filename, dest: dest, new_window: new_window] end |
.GoToR(file, dest: , new_window: false) ⇒ Object
188 189 190 |
# File 'lib/origami/actions.rb', line 188 def self.GoToR(file, dest: Destination::GlobalFit[0], new_window: false) Action::GoToR[file, dest: dest, new_window: new_window] end |
.ImportData(file) ⇒ Object
276 277 278 |
# File 'lib/origami/actions.rb', line 276 def self.ImportData(file) Action::ImportData[file] end |
.JavaScript(script) ⇒ Object
114 115 116 |
# File 'lib/origami/actions.rb', line 114 def self.JavaScript(script) Action::JavaScript[script] end |
.Named(type) ⇒ Object
163 164 165 |
# File 'lib/origami/actions.rb', line 163 def self.Named(type) Action::Named[type] end |
.RichMediaExecute(annotation, command, *params) ⇒ Object
300 301 302 |
# File 'lib/origami/actions.rb', line 300 def self.RichMediaExecute(annotation, command, *params) Action::RichMediaExecute[annotation, command, *params] end |
.SubmitForm(url, fields = [], flags = 0) ⇒ Object
261 262 263 |
# File 'lib/origami/actions.rb', line 261 def self.SubmitForm(url, fields = [], flags = 0) Action::SubmitForm[url, fields, flags] end |