Class Origami::PDF::Revision
In: sources/parser/pdf.rb
Parent: Object

Class representing a particular revision in a PDF file. Revision contains :

Methods

Attributes

body  [RW] 
pdf  [RW] 
trailer  [RW] 
xrefstm  [RW] 
xreftable  [RW] 

Public Class methods

[Source]

     # File sources/parser/pdf.rb, line 109
109:       def initialize(pdf)
110:         
111:         @pdf = pdf
112:         @body = {}
113:         @xreftable = nil
114:         @xrefstm = nil
115:         @trailer = nil
116:         
117:       end

Public Instance methods

[Source]

     # File sources/parser/pdf.rb, line 128
128:       def has_xrefstm?
129:         not @xrefstm.nil?
130:       end

[Source]

     # File sources/parser/pdf.rb, line 124
124:       def has_xreftable?
125:         not @xreftable.nil?
126:       end

[Source]

     # File sources/parser/pdf.rb, line 119
119:       def trailer=(trl)
120:         trl.pdf = @pdf
121:         @trailer = trl
122:       end

[Validate]