Object
Class representing a cross-reference subsection. A subsection contains a continute set of XRef.
Processes each XRef in the subsection.
# File lib/origami/xreftable.rb, line 186 def each(&b) @entries.each(&b) end
Returns whether this subsection contains information about a particular object.
no |
The Object number. |
# File lib/origami/xreftable.rb, line 171 def has_object?(no) @range.include?(no) end
Outputs self into PDF code.
# File lib/origami/xreftable.rb, line 193 def to_s section = "#{@range.begin} #{@range.end - @range.begin + 1}" + EOL @entries.each { |xref| section << xref.to_s } section end
Generated with the Darkfish Rdoc Generator 2.