hoodle-core-0.16.0: Core library for hoodle

Copyright(c) 2011-2015 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Hoodle.ModelAction.File

Description

 

Synopsis

Documentation

checkVersionAndMigrate :: ByteString -> IO (Either String Hoodle) Source #

check hoodle version and migrate if necessary

findFirstPDFFile :: [Page] -> Maybe ByteString Source #

this is very temporary, need to be changed.

makeNewHoodleWithPDF Source #

Arguments

:: Bool

doesEmbedPDF

-> FilePath

pdf file

-> IO (Maybe Hoodle) 

createPage Source #

Arguments

:: Bool

does embed pdf?

-> Dimension 
-> ByteString 
-> Int 
-> Page 

makeNewItemImage Source #

Arguments

:: Bool

isEmbedded?

-> FilePath 
-> IO Item