Class: Origami::Action::GoToR

Inherits:
Origami::Action show all
Defined in:
lib/origami/actions.rb

Overview

Class representing a GoTo Action to an external file.

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 inherited from Origami::Action

GoTo, GoToE, GoToR, ImportData, JavaScript, Named, RichMediaExecute, SubmitForm, URI

Methods included from StandardObject

#do_type_check, #has_field?, included, #pdf_version_required, #pre_build, #set_default_value, #set_default_values

Methods inherited from Dictionary

#[], #[]=, add_type_info, #cast_to, #copy, #delete, guess_type, #has_key?, hint_type, #initialize, #map!, #merge, #method_missing, native_type, parse, #to_obfuscated_str, #to_s

Methods included from Object

#<=>, #cast_to, #copy, #export, #indirect_parent, #initialize, #is_indirect?, #logicalize, #logicalize!, native_type, #native_type, parse, #pdf, #pdf_version_required, #post_build, #pre_build, #reference, #resolve_all_references, #set_indirect, #set_pdf, #size, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #xrefs

Methods inherited from Hash

#to_o

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::Dictionary

Class Method Details

.[](file, dest = Destination::GlobalFit.new(0), newwindow = false) ⇒ Object

Creates a new GoTo remote Action.

file

A FileSpec describing the file.

dest

A Destination in the file.

newwindow

Specifies whether the file has to be opened in a new window.



194
195
196
# File 'lib/origami/actions.rb', line 194

def self.[](file, dest = Destination::GlobalFit.new(0), newwindow = false)
  self.new(:F => file, :D => dest, :NewWindow => newwindow)
end