Class: Origami::Annotation::Text
- Inherits:
-
Origami::Annotation
- Object
- Hash
- Dictionary
- Origami::Annotation
- Origami::Annotation::Text
- Includes:
- Markup
- Defined in:
- lib/origami/annotations.rb
Overview
Text annotation
Defined Under Namespace
Modules: TextName
Constant Summary
Constants included from StandardObject
StandardObject::DEFAULT_ATTRIBUTES
Constants inherited from Dictionary
Constants included from Object
Instance Attribute Summary
Attributes included from ObjectCache
#names_cache, #strings_cache, #xref_cache
Attributes included from Object
#file_offset, #generation, #no, #objstm_offset, #parent
Instance Method Summary collapse
Methods included from Markup
Methods inherited from Origami::Annotation
#set_down_appearance, #set_normal_appearance, #set_rollover_appearance
Methods included from StandardObject
Methods inherited from Dictionary
#[], #[]=, hint_type, #initialize, #merge, parse, #to_h, #to_obfuscated_str, #to_s, #transform_values, #transform_values!
Methods included from TypeGuessing
Methods included from FieldAccessor
#method_missing, #respond_to_missing?
Methods included from CompoundObject
#copy, #delete, #include?, #update_values, #update_values!
Methods included from ObjectCache
Methods included from Object
#cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #initialize, #logicalize, #logicalize!, #native_type, #numbered?, parse, #post_build, #reference, #set_document, #set_indirect, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #version_required, #xrefs
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::FieldAccessor
Instance Method Details
#pre_build ⇒ Object
281 282 283 284 285 286 287 288 289 290 291 292 293 |
# File 'lib/origami/annotations.rb', line 281 def pre_build model = self.StateModel state = self.State case model when "Marked" self.State = "Unmarked" if state.nil? when "Review" self.State = "None" if state.nil? end super end |