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 included from ObjectCache

#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

#[], #[]=, hint_type, #initialize, #merge, parse, #to_h, #to_obfuscated_str, #to_s, #transform_values, #transform_values!

Methods included from TypeGuessing

#guess_type

Methods included from FieldAccessor

#method_missing, #respond_to_missing?

Methods included from CompoundObject

#copy, #delete, #include?, #update_values, #update_values!

Methods included from ObjectCache

#initialize, #rebuild_caches

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



68
69
70
# File 'lib/origami/actions.rb', line 68

def self.GoTo(hash = {})
  Action::GoTo[hash]
end

.GoToE(filename, dest: , new_window: false) ⇒ Object



218
219
220
# File 'lib/origami/actions.rb', line 218

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



181
182
183
# File 'lib/origami/actions.rb', line 181

def self.GoToR(file, dest: Destination::GlobalFit[0], new_window: false)
  Action::GoToR[file, dest: dest, new_window: new_window]
end

.ImportData(file) ⇒ Object



267
268
269
# File 'lib/origami/actions.rb', line 267

def self.ImportData(file)
  Action::ImportData[file]
end

.JavaScript(script) ⇒ Object



110
111
112
# File 'lib/origami/actions.rb', line 110

def self.JavaScript(script)
  Action::JavaScript[script]
end

.Named(type) ⇒ Object



157
158
159
# File 'lib/origami/actions.rb', line 157

def self.Named(type)
  Action::Named[type]
end

.RichMediaExecute(annotation, command, *params) ⇒ Object



290
291
292
# File 'lib/origami/actions.rb', line 290

def self.RichMediaExecute(annotation, command, *params)
  Action::RichMediaExecute[annotation, command, *params]
end

.SubmitForm(url, fields = [], flags = 0) ⇒ Object



253
254
255
# File 'lib/origami/actions.rb', line 253

def self.SubmitForm(url, fields = [], flags = 0)
  Action::SubmitForm[url, fields, flags]
end

.URI(uri, ismap = false) ⇒ Object



90
91
92
# File 'lib/origami/actions.rb', line 90

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