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 -> [PDFObj] -> IO [Obj]
- getPDFBSFromFile :: FilePath -> IO [PDFBS]
- getPDFObjFromFile :: FilePath -> IO [PDFObj]
- getRootRef :: FilePath -> IO Int
- getRootObj :: FilePath -> IO [Obj]
- getStream :: Bool -> [Obj] -> IO ByteString
- getTrailer :: FilePath -> IO Dict
- getInfo :: FilePath -> IO Dict
Documentation
getObjectByRef :: Int -> [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.
getPDFObjFromFile :: FilePath -> IO [PDFObj] Source #
Get PDF objects each parsed as PDFObj
without being sorted.