pandoc-2.17.1.1: Conversion between markup formats
CopyrightCopyright (C) 2012-2022 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 => Text -> [(Text, Text)] -> t -> Element #

mktnode :: Text -> [(Text, Text)] -> Text -> Element #

nodename :: Text -> QName #

renderXml :: Element -> ByteString #

parseXml :: PandocMonad m => Archive -> Archive -> String -> m Element #

elemName :: NameSpaces -> Text -> Text -> QName #

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

type NameSpaces = [(Text, Text)] #

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

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