Object
Class representing a particular revision in a PDF file. Revision contains :
A Body, which is a sequence of Object.
A XRef::Section, holding XRef information about objects in body.
A Trailer.
# File lib/origami/pdf.rb, line 88 def initialize(pdf) @pdf = pdf @body = {} @xreftable = nil @xrefstm = nil @trailer = nil end
# File lib/origami/pdf.rb, line 105 def has_xrefstm? not @xrefstm.nil? end
# File lib/origami/pdf.rb, line 101 def has_xreftable? not @xreftable.nil? end
# File lib/origami/pdf.rb, line 109 def objects @body.values end
# File lib/origami/pdf.rb, line 96 def trailer=(trl) trl.pdf = @pdf @trailer = trl end
[Validate]
Generated with the Darkfish Rdoc Generator 2.