pdf-toolbox-document-0.0.7.1: A collection of tools for processing PDF files.

Safe HaskellNone
LanguageHaskell98

Pdf.Toolbox.Document.Page

Description

PDF document page

Synopsis

Documentation

data Page #

Pdf document page

Instances

Show Page # 

Methods

showsPrec :: Int -> Page -> ShowS #

show :: Page -> String #

showList :: [Page] -> ShowS #

pageParentNode :: MonadPdf m => Page -> PdfE m PageNode #

Page's parent node

pageContents :: MonadPdf m => Page -> PdfE m [Ref] #

List of references to page's content streams

pageMediaBox :: MonadPdf m => Page -> PdfE m (Rectangle Double) #

Media box, inheritable

pageFontDicts :: MonadPdf m => Page -> PdfE m [(Name, FontDict)] #

Font dictionaries for the page

pageExtractText :: (MonadPdf m, MonadIO m) => Page -> PdfE m Text #

Extract text from the page

It tries to add spaces between chars if they don't present as actual characters in content stream.