Safe Haskell | None |
---|---|
Language | Haskell98 |
Pdf.Toolbox.Document.Monad
Description
Interface to the underlying PDF file
Documentation
class Monad m => MonadPdf m where Source
Interface to the underlying PDF file
Methods
lookupObject :: Ref -> PdfE m (Object Int64) Source
find object by it's reference
streamContent :: Ref -> Stream Int64 -> PdfE m (Stream IS) Source
decoded stream content
Note: the IS
returned is valid only until the next lookupObject
or any other operation, that requares seek
getDecryptor :: PdfE m (Maybe Decryptor) Source
Current decryptor
Get random access input stream for direct access to the PDF file
getStreamFilters :: PdfE m [StreamFilter] Source
Get all stream filters