### Home Classes Methods

### In Files

- lib/prawn/layout.rb
- lib/prawn/errors.rb

### Class/Module Index

Quicksearch

- Prawn
- Prawn::Configurable
- Prawn::Document
- Prawn::Document::BoundingBox
- Prawn::Document::ColumnBox
- Prawn::Document::GraphicsState
- Prawn::Document::Grid
- Prawn::Document::GridBox
- Prawn::Document::Internals
- Prawn::Document::Security
- Prawn::Document::Snapshot
- Prawn::Encoding
- Prawn::Errors
- Prawn::Font
- Prawn::Font::AFM
- Prawn::Font::DFont
- Prawn::Font::TTF
- Prawn::FontMetricCache
- Prawn::Graphics
- Prawn::Graphics::CapStyle
- Prawn::Graphics::Color
- Prawn::Graphics::Dash
- Prawn::Graphics::JoinStyle
- Prawn::Graphics::Patterns
- Prawn::Graphics::Transformation
- Prawn::Graphics::Transparency
- Prawn::ImageHandler
- Prawn::Images
- Prawn::Images::Image
- Prawn::Images::JPG
- Prawn::Images::PNG
- Prawn::Measurements
- Prawn::SoftMask
- Prawn::Stamp
- Prawn::SynchronizedCache
- Prawn::Table
- Prawn::Table::Cell
- Prawn::Table::Cell::Image
- Prawn::Table::Cell::InTable
- Prawn::Table::Cell::SpanDummy
- Prawn::Table::Cell::Subtable
- Prawn::Table::Cell::Text
- Prawn::Table::Cells
- Prawn::Table::ColumnWidthCalculator
- Prawn::Text
- Prawn::Text::Box
- Prawn::Text::Formatted
- Prawn::Text::Formatted::Box
- Prawn::Text::Formatted::Fragment
- Prawn::Text::Formatted::Parser
- Prawn::ThreadLocalCache
- PDF
- PDF::Core
- PDF::Core::Reference
- PDF::Core::Stream
- Arcfour
- Numeric

No matching classes.

# Prawn::Errors

### Constants

BlockRequired

  This error is raised when a block is required, but not provided

CannotFit

  Raised when Prawn is asked to draw something into a too-small box

CannotGroup

  Raised if group() is called with a block that is too big to be rendered in the current context.

EmptyTable

  This error is raised when an empty or nil table is rendered

IncompatibleStringEncoding

  This error is raised when Prawn is being used on a M17N aware VM, and the user attempts to add text that isn't compatible with UTF-8 to their document

InvalidGraphicsPath

  This error is rased when a graphics method is called with improper arguments

InvalidName

  This error is raised when a name is not a valid format

InvalidTableData

  This error is raised when table data is malformed

InvalidTableSpan

  Raised when a table is spanned in an impossible way.

NameTaken

  This error is raised when a named element has alredy been created. For example, in the stamp module, stamps must have unique names within a document

NotOnPage

  This error is raised when a method requiring a current page is called without being on a page.

RequiredOption

  This error is raised when a required option has not been set

UndefinedObjectName

  This error is raised when an object is attempted to be referenced by name, but no such name is associated with an object

UnknownFont

  This error is raised when Prawn cannot find a specified font

UnknownOption

  This error is raised when Prawn encounters an unknown key in functions that accept an options hash. This usually means there is a typo in your code or that the option you are trying to use has a different name than what you have specified.

UnknownOutlineTitle

  This error is raised when a requested outline item with a given title does not exist

UnrecognizedTableContent

  Raised when unrecognized content is provided for a table cell.

UnsupportedImageType

  this error is raised when a user attempts to embed an image of an unsupported type. This can either a completely unsupported format, or a dialect of a supported format (ie. some types of PNG)

[Validate]

Generated with the Darkfish Rdoc Generator 2.