Copyright | Copyright (C) 2012-2021 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 => Text -> [(Text, Text)] -> t -> Element
- mktnode :: Text -> [(Text, Text)] -> Text -> Element
- nodename :: Text -> QName
- toLazy :: ByteString -> ByteString
- renderXml :: Element -> ByteString
- parseXml :: PandocMonad m => Archive -> Archive -> String -> m Element
- elemToNameSpaces :: Element -> NameSpaces
- elemName :: NameSpaces -> Text -> Text -> QName
- isElem :: NameSpaces -> Text -> Text -> Element -> Bool
- type NameSpaces = [(Text, Text)]
- fitToPage :: (Double, Double) -> Integer -> (Integer, Integer)
Documentation
toLazy :: ByteString -> ByteString Source #
renderXml :: Element -> ByteString Source #
elemToNameSpaces :: Element -> NameSpaces Source #
type NameSpaces = [(Text, Text)] Source #