Copyright | (c) 2013-2015 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
- data UrlPath
- data T
- urlParse :: String -> Maybe UrlPath
- isFile :: DirTree a -> Bool
- takeFile :: DirTree a -> Maybe a
- data Annot = Annot {
- annot_rect :: (Int, Int, Int, Int)
- annot_border :: (Int, Int, Int)
- annot_act :: AnnotActions
- data AnnotActions
- data AppState = AppState {
- stNextFree :: Int
- stPageRefs :: [Ref]
- stRootNode :: Ref
- initialAppState :: AppState
- nextFreeIndex :: Monad m => StateT AppState m Int
- putPageRef :: Monad m => Ref -> StateT AppState m ()
- writeTrailer :: StateT AppState (PdfWriter IO) ()
- writeObjectChildren :: Object () -> Pdf (StateT AppState (PdfWriter IO)) (Object ())
- writeStream :: Stream Int64 -> Pdf (StateT AppState (PdfWriter IO)) Ref
- writeAnnot :: Annot -> Pdf (StateT AppState (PdfWriter IO)) Ref
- writePdfPageWithAnnot :: Dimension -> Maybe [Annot] -> Page -> Pdf (StateT AppState (PdfWriter IO)) ()
- makeAnnot :: Dimension -> String -> (FilePath, FilePath) -> Link -> IO (Maybe Annot)
- writePdfFile :: FilePath -> Dimension -> (String, String) -> (FilePath, FilePath) -> FilePath -> [(Int, [Link])] -> Maybe UUID -> StateT AppState (PdfWriter IO) ()
- specialURIFunction :: FilePath -> Maybe UUID -> AnnotActions
- getLinks :: Page -> [Link]
- isHdl :: FilePath -> Bool
- isPdf :: FilePath -> Bool
- sequence1_ :: Monad m => m () -> [m ()] -> m ()
- renderHoodleToPDF :: Hoodle -> FilePath -> IO ()
- isUpdated :: (FilePath, FilePath) -> IO Bool
- createPdf :: (String, String) -> FilePath -> (FilePath, FilePath) -> IO ()
Documentation
Annot | |
|
AppState | |
|
writePdfPageWithAnnot :: Dimension -> Maybe [Annot] -> Page -> Pdf (StateT AppState (PdfWriter IO)) () Source #
specialURIFunction :: FilePath -> Maybe UUID -> AnnotActions Source #
sequence1_ :: Monad m => m () -> [m ()] -> m () Source #
interleaving a monadic action between each pair of subsequent actions