Class: Pdfrb::Model::Type::AddActionCatalog
- Inherits:
-
Cos::Dictionary
- Object
- Object
- Cos::Dictionary
- Pdfrb::Model::Type::AddActionCatalog
- Defined in:
- lib/pdfrb/model/type/add_action_catalog.rb
Overview
Additional Actions for the Catalog (ISO 32000-2 §12.6.3.17, PDF 1.4+). Referenced via /AA on the Catalog dict. Each entry is an indirect ECMAScript action triggered by the named document event.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#did_print(document = nil) ⇒ Object
/DP — did print.
-
#did_save(document = nil) ⇒ Object
/DS — did save.
-
#document_close(document = nil) ⇒ Object
/DC — document close.
-
#will_print(document = nil) ⇒ Object
/WP — will print.
-
#will_save(document = nil) ⇒ Object
/WS — will save.
Methods inherited from Cos::Dictionary
#[], #[]=, apply_arlington_definition, arlington_default, arlington_key_to_symbol, arlington_one_type_to_ruby, arlington_required?, arlington_scalar, 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 included from Cos::ArlingtonBacked
Methods inherited from Object
#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, pdf_type, #pdf_type, #ref
Constructor Details
This class inherits a constructor from Pdfrb::Model::Cos::Dictionary
Instance Method Details
#did_print(document = nil) ⇒ Object
/DP — did print.
34 35 36 |
# File 'lib/pdfrb/model/type/add_action_catalog.rb', line 34 def did_print(document = nil) resolve_action(:DP, document) end |
#did_save(document = nil) ⇒ Object
/DS — did save.
24 25 26 |
# File 'lib/pdfrb/model/type/add_action_catalog.rb', line 24 def did_save(document = nil) resolve_action(:DS, document) end |
#document_close(document = nil) ⇒ Object
/DC — document close.
14 15 16 |
# File 'lib/pdfrb/model/type/add_action_catalog.rb', line 14 def document_close(document = nil) resolve_action(:DC, document) end |
#will_print(document = nil) ⇒ Object
/WP — will print.
29 30 31 |
# File 'lib/pdfrb/model/type/add_action_catalog.rb', line 29 def will_print(document = nil) resolve_action(:WP, document) end |
#will_save(document = nil) ⇒ Object
/WS — will save.
19 20 21 |
# File 'lib/pdfrb/model/type/add_action_catalog.rb', line 19 def will_save(document = nil) resolve_action(:WS, document) end |