Module Origami::Field
In: sources/parser/acroform.rb

Methods

Classes and Modules

Module Origami::Field::Flags
Module Origami::Field::Type
Class Origami::Field::CertificateSeedValue
Class Origami::Field::SignatureLock
Class Origami::Field::SignatureSeedValue

Constants

T = "undef#{::Array.new(5) {(0x30 + rand(10)).chr}.join}"

Public Class methods

[Source]

     # File sources/parser/acroform.rb, line 108
108:     def self.included(receiver)
109: 
110:       receiver.field   :FT,     :Type => Name, :Default => Type::TEXT, :Required => true
111:       receiver.field   :Parent, :Type => Dictionary
112:       receiver.field   :Kids,   :Type => Array
113:       receiver.field   :T,      :Type => String
114:       receiver.field   :TU,     :Type => String, :Version => "1.3"
115:       receiver.field   :TM,     :Type => String, :Version => "1.3"
116:       receiver.field   :Ff,     :Type => Integer, :Default => 0
117:       receiver.field   :V,      :Type => Object
118:       receiver.field   :DV,     :Type => Object
119:       receiver.field   :AA,     :Type => Dictionary, :Version => "1.2"
120: 
121:     end

Public Instance methods

[Source]

     # File sources/parser/acroform.rb, line 123
123:     def pre_build
124:       
125:       if not self.T
126:         self.T = "undef#{::Array.new(5) {(0x30 + rand(10)).chr}.join}"
127:       end
128:       
129:       super
130:     end

[Validate]