pandoc-2.9.2.1: Conversion between markup formats
CopyrightCopyright (C) 2012-2020 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Writers.OOXML

Description

Functions common to OOXML writers (Docx and Powerpoint)

Synopsis

Documentation

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 #

elemName :: NameSpaces -> String -> String -> QName #

isElem :: NameSpaces -> String -> String -> Element -> Bool #

fitToPage :: (Double, Double) -> Integer -> (Integer, Integer) #

Scales the image to fit the page sizes are passed in emu