Class: Pdfrb::Model::Type::ActionLaunch
- Inherits:
-
Action
show all
- Defined in:
- lib/pdfrb/model/type/action_launch.rb
Overview
Launch action (s12.6.4.5). Launch an external application.
Instance Attribute Summary
Attributes inherited from Object
#document, #gen, #oid, #value
Instance Method Summary
collapse
Methods inherited from Action
#d, for_subtype, #goto?, #javascript?, #launch?, #named?, #next_action, #next_actions, register_subtype, #subtype, subtype_map, #uri, #uri?
#[], #[]=, arlington_available?, arlington_default, arlington_key_to_symbol, arlington_loaded_for?, arlington_mark_loaded, arlington_object, arlington_one_type_to_ruby, arlington_required?, arlington_types_to_ruby, arlington_version, define_field, define_field_from_arlington, #delete, #each, each_field, #each_raw, #empty?, field, #initialize, #key?, #keys, lookup_type, own_fields, #pdf_type, register_type, type_map, #validate
Methods inherited from Object
#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type
Instance Method Details
#file_spec ⇒ Object
10
|
# File 'lib/pdfrb/model/type/action_launch.rb', line 10
def file_spec; self[:F]; end
|
16
17
18
|
# File 'lib/pdfrb/model/type/action_launch.rb', line 16
def has_platform_target?
!!win_target || !!mac_target || !!unix_target
end
|
#mac_target ⇒ Object
13
|
# File 'lib/pdfrb/model/type/action_launch.rb', line 13
def mac_target; self[:Mac]; end
|
#new_window? ⇒ Boolean
11
|
# File 'lib/pdfrb/model/type/action_launch.rb', line 11
def new_window?; self[:NewWindow] == true; end
|
#unix_target ⇒ Object
14
|
# File 'lib/pdfrb/model/type/action_launch.rb', line 14
def unix_target; self[:Unix]; end
|
#win_target ⇒ Object
12
|
# File 'lib/pdfrb/model/type/action_launch.rb', line 12
def win_target; self[:Win]; end
|