Parent

Class/Module Index [+]

Quicksearch

Origami::PDF::Revision

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

Attributes

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

Public Class Methods

new(pdf) click to toggle source
# File lib/origami/pdf.rb, line 88
def initialize(pdf)
  @pdf = pdf
  @body = {}
  @xreftable = nil
  @xrefstm = nil
  @trailer = nil
end

Public Instance Methods

has_xrefstm?() click to toggle source
# File lib/origami/pdf.rb, line 105
def has_xrefstm?
  not @xrefstm.nil?
end
has_xreftable?() click to toggle source
# File lib/origami/pdf.rb, line 101
def has_xreftable?
  not @xreftable.nil?
end
objects() click to toggle source
# File lib/origami/pdf.rb, line 109
def objects
  @body.values
end
trailer=(trl) click to toggle source
# File lib/origami/pdf.rb, line 96
def trailer=(trl)
  trl.pdf = @pdf
  @trailer = trl
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.