Portability | GHC |
---|---|
Stability | experimental |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Safe Haskell | None |
- checkVersionAndMigrate :: ByteString -> IO (Either String Hoodle)
- getFileContent :: Maybe FilePath -> HoodleState -> IO HoodleState
- constructNewHoodleStateFromHoodle :: Hoodle -> HoodleState -> IO HoodleState
- findFirstPDFFile :: [(Int, RPage)] -> Maybe ByteString
- findAllPDFPages :: [(Int, RPage)] -> [Int]
- replacePDFPages :: [(Int, RPage)] -> [(Int, RPage)]
- embedPDFInHoodle :: RHoodle -> IO RHoodle
- makeEmbeddedPdfSrcString :: ByteString -> ByteString
- makeNewHoodleWithPDF :: Bool -> FilePath -> IO (Maybe Hoodle)
- createPage :: Bool -> Dimension -> ByteString -> Int -> Page
- saveHoodle :: HoodleState -> IO HoodleState
- toggleSave :: UIManager -> Bool -> IO ()
Documentation
checkVersionAndMigrate :: ByteString -> IO (Either String Hoodle)Source
check hoodle version and migrate if necessary
getFileContent :: Maybe FilePath -> HoodleState -> IO HoodleStateSource
get file content from xournal file and update xournal state
findFirstPDFFile :: [(Int, RPage)] -> Maybe ByteStringSource
this is very temporary, need to be changed.
findAllPDFPages :: [(Int, RPage)] -> [Int]Source
:: Bool | does embed pdf? |
-> Dimension | |
-> ByteString | |
-> Int | |
-> Page |
toggleSave :: UIManager -> Bool -> IO ()Source
this function must be moved to GUI.Reflect