Copyright | (c) Keiichiro Shikano 2016 |
---|---|
License | MIT |
Maintainer | k16.shikano@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Functions for use within IO.
Synopsis
- getObjectByRef :: Int -> IO [PDFObj] -> IO [Obj]
- getPDFBSFromFile :: FilePath -> IO [PDFBS]
- getPDFObjFromFile :: FilePath -> IO [PDFObj]
- getRootRef :: FilePath -> IO Int
- getRootObj :: FilePath -> IO [Obj]
- getTrailer :: FilePath -> IO Dict
- getInfo :: FilePath -> IO Dict
Documentation
getObjectByRef :: Int -> IO [PDFObj] -> IO [Obj] Source #
Get a PDF object from a whole PDFObj
by specifying 'ref :: Int'
getPDFBSFromFile :: FilePath -> IO [PDFBS] Source #
Get PDF objects as a whole bytestring. Use getPDFObjFromFile
instead if there's no reason to see a raw bytestring.