Class: Pdfrb::Action::Base
- Inherits:
-
Object
- Object
- Pdfrb::Action::Base
- Defined in:
- lib/pdfrb/action/base.rb
Overview
Base action builder. Subclasses define action_type (the /S value)
and to_pdf (type-specific serialization).
Direct Known Subclasses
GoTo, GoToE, GoToR, Hide, ImportData, JavaScript, Launch, Named, ResetForm, SetOCGState, SubmitForm, Trans, URI
Class Method Summary collapse
-
.action_type ⇒ Symbol
The /S value (e.g. :GoTo, :URI).
- .register_as(name = action_type) ⇒ Object
Class Method Details
.action_type ⇒ Symbol
Returns the /S value (e.g. :GoTo, :URI).
10 11 12 |
# File 'lib/pdfrb/action/base.rb', line 10 def action_type raise NotImplementedError end |