dart_pdf_reader library

Classes

BufferedRandomAccessStream
Implementation of RandomAccessStream which buffers reads from another stream This is useful for improving performance when reading from a slow stream
ByteStream
Implementation of RandomAccessStream which reads from a list of bytes
ObjectResolver
PDFArray
PDF array object
PDFBoolean
PDF boolean object
PDFCommand
A PDF content stream command
PDFDictionary
PDF dictionary object
PDFDocument
Holds the data for the PDF document.
PDFDocumentCatalog
The document catalog describing the document
PDFHexString
Hex string defined in PDF
PDFIndirectObject
PDF indirect object. This object contains the reference to where the object is located in the PDF file (like PDFObjectReference) but it also contains the actual object read from the PDF file
PDFLiteralString
Literal string defined in PDF
PDFName
PDF name object. Names MUST NOT start with '/'!
PDFNames
Collection of names used in PDF files
PDFNull
PDF null object
PDFNumber
A PDF number object
PDFObject
Base class for all PDF objects.
PDFObjectReference
A reference to another PDF object
PDFOutlineAction
A PDF outline action
PDFOutlineGoToAction
A PDF outline GoTo Action
PDFOutlineItem
A PDF outline item
PDFPageObjectNode
A single page of the document
PDFPages
Pages tree root of the document
PDFParser
Parses a PDF document from a RandomAccessStream.
PDFStreamObject
PDF stream object. Streams do not eagerly read the data from the data source but instead provide a readRaw method that can be used to read the data. Closing the stream before reading data will result in an error
PDFStringLike
Base class for all PDF string like objects (PDFLiteralString and PDFHexString)
RandomAccessStream
An abstraction of a stream of bytes that can be read from.

Enums

PDFOutlineActionType
Action types for pdf outlines

Typedefs

PDFOutlineCreator = PDFOutlineAction? Function(PDFOutlineActionType, PDFDictionary)
Type of a PDF outline action creator function

Exceptions / Errors

ActionTypeNotSupported
EOFException
A class of exceptions thrown when an unexpected end of file is reached
ParseException
A class of exceptions thrown when an unexpected parse error is encountered