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 111
111:       def initialize(pdf)
112:         
113:         @pdf = pdf
114:         @body = {}
115:         @xreftable = nil
116:         @xrefstm = nil
117:         @trailer = nil
118:         
119:       end

Public Instance methods

[Source]

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

[Source]

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

[Source]

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

[Validate]