Methods

Class/Module Index [+]

Quicksearch

Origami::HintStream

Attributes

embedded_files_table[RW]
information_dictionary_table[RW]
interactive_forms_table[RW]
logical_structure_table[RW]
named_destinations_table[RW]
outlines_table[RW]
page_labels_table[RW]
page_offset_table[RW]
renditions_table[RW]
shared_objects_table[RW]
threads_table[RW]
thumbnails_table[RW]

Public Instance Methods

pre_build() click to toggle source
# File lib/origami/linearization.rb, line 296
def pre_build
  if @page_offset_table.nil?
    raise InvalidHintStreamObjectError, "No page offset hint table"
  end

  if @shared_objects_table.nil?
    raise InvalidHintStreamObjectError, "No shared objects hint table"
  end

  @data = ""
  save_table(@page_offset_table)
  save_table(@shared_objects_table,         :S)
  save_table(@thumbnails_table,             :T)
  save_table(@outlines_table,               :O)
  save_table(@threads_table,                :A)
  save_table(@named_destinations_table,     :E)
  save_table(@interactive_forms_table,      :V)
  save_table(@information_dictionary_table, :I)
  save_table(@logical_structure_table,      :C)
  save_table(@page_labels_table,            :L)
  save_table(@renditions_table,             :R)
  save_table(@embedded_files_table,         :B)
  
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.