Class: Origami::Action

Inherits:
Dictionary show all
Includes:
StandardObject
Defined in:
lib/origami/actions.rb,
lib/origami/annotations.rb

Overview

Forward declaration.

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

Dictionary::TOKENS

Constants included from Object

Object::TOKENS

Instance Attribute Summary

Attributes inherited from Dictionary

#names_cache, #strings_cache, #xref_cache

Attributes included from Object

#file_offset, #generation, #no, #objstm_offset, #parent

Class Method Summary collapse

Methods included from StandardObject

included, #pre_build, #version_required

Methods inherited from Dictionary

#[], #[]=, add_type_signature, #cast_to, #copy, #delete, guess_type, hint_type, #initialize, #key?, #map!, #merge, parse, #to_h, #to_obfuscated_str, #to_s

Methods included from FieldAccessor

#method_missing, #respond_to_missing?

Methods included from Object

#<=>, #cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #initialize, #logicalize, #logicalize!, #native_type, 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

.URI(uri, ismap = false) ⇒ Object



93
94
95
# File 'lib/origami/actions.rb', line 93

def self.URI(uri, ismap = false)
    Action::URI[uri, ismap]
end