Sha256: a4b5bf5d7a6e786215e6be1eef4e659b03017b5b667cbd3f37d2ef801b6d1daf

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

require_relative "core/pdf_object"
require_relative "core/annotations"
require_relative "core/byte_string"
require_relative "core/destinations"
require_relative "core/filters"
require_relative "core/stream"
require_relative "core/reference"
require_relative "core/literal_string"
require_relative "core/filter_list"
require_relative "core/page"
require_relative "core/object_store"
require_relative "core/document_state"
require_relative "core/name_tree"
require_relative "core/graphics_state"
require_relative "core/page_geometry"
require_relative "core/outline_root"
require_relative "core/outline_item"

module PDF
  module Core
    module Errors
      # This error is raised when PdfObject() fails
      FailedObjectConversion = Class.new(StandardError)

      # This error is raised when object store fails to load a template file
      TemplateError = Class.new(StandardError)

      # This error is raise when trying to restore a graphic state that
      EmptyGraphicStateStack = Class.new(StandardError)

      # This error is raised when Document#page_layout is set to anything
      # other than :portrait or :landscape
      InvalidPageLayout = Class.new(StandardError)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pdf-core-0.3.0 lib/pdf/core.rb
pdf-core-0.2.5 lib/pdf/core.rb
pdf-core-0.2.4 lib/pdf/core.rb
pdf-core-0.2.2 lib/pdf/core.rb