pandoc-3.1: Conversion between markup formats
CopyrightCopyright (C) 2012-2023 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellSafe-Inferred
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