Copyright | Copyright (C) 2012-2020 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Functions common to OOXML writers (Docx and Powerpoint)
Synopsis
- mknode :: Node t => String -> [(String, String)] -> t -> Element
- mktnode :: String -> [(String, String)] -> Text -> Element
- nodename :: String -> QName
- toLazy :: ByteString -> ByteString
- renderXml :: Element -> ByteString
- parseXml :: PandocMonad m => Archive -> Archive -> String -> m Element
- elemToNameSpaces :: Element -> NameSpaces
- elemName :: NameSpaces -> String -> String -> QName
- isElem :: NameSpaces -> String -> String -> Element -> Bool
- type NameSpaces = [(String, String)]
- fitToPage :: (Double, Double) -> Integer -> (Integer, Integer)
Documentation
toLazy :: ByteString -> ByteString Source #
renderXml :: Element -> ByteString Source #
elemToNameSpaces :: Element -> NameSpaces Source #
type NameSpaces = [(String, String)] Source #