pandoc-2.15: Conversion between markup formats
CopyrightCopyright (C) 2012-2021 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 Source #

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

nodename :: Text -> QName Source #

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

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

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

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

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