Class: Pdfrb::Model::Type::ActionGoToE
- Inherits:
-
Action
show all
- Defined in:
- lib/pdfrb/model/type/action_go_to_e.rb
Overview
GoToE action (s12.6.4.4, PDF 1.6). Navigate to a destination in
an embedded PDF file.
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, merged_field, 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
#destination ⇒ Object
13
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 13
def destination; self[:D]; end
|
#named_destination? ⇒ Boolean
25
26
27
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 25
def named_destination?
destination.is_a?(Symbol) || destination.is_a?(String)
end
|
#new_window ⇒ Object
14
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 14
def new_window; self[:NewWindow]; end
|
#new_window? ⇒ Boolean
17
18
19
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 17
def new_window?
new_window == true
end
|
15
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 15
def target; self[:T]; end
|
#target_file ⇒ Object
12
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 12
def target_file; self[:F]; end
|
#targets_embedded_file? ⇒ Boolean
21
22
23
|
# File 'lib/pdfrb/model/type/action_go_to_e.rb', line 21
def targets_embedded_file?
!target_file.nil?
end
|