summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2017-12-21 11:35:00 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2017-12-21 11:35:00 -0500
commitd6c9e4f243438de767a2e3e2a08c5a0eb546023c (patch)
treeedf7942cc932de4757aaec1544ee0216b4d5df46 /src/Text
parent4d0cb0b2fca905dd4d5f0655af1a68a8a7074588 (diff)
Add Note state to PowerPoint writer.
First step toward implementing notes in pptx writer.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/Powerpoint.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Powerpoint.hs b/src/Text/Pandoc/Writers/Powerpoint.hs
index eb695b2be..6f83b5976 100644
--- a/src/Text/Pandoc/Writers/Powerpoint.hs
+++ b/src/Text/Pandoc/Writers/Powerpoint.hs
@@ -139,6 +139,7 @@ data WriterState = WriterState { stCurSlideId :: Int
-- (FP, Local ID, Global ID, Maybe Mime)
, stMediaIds :: M.Map Int [MediaInfo]
, stMediaGlobalIds :: M.Map FilePath Int
+ , stNoteIds :: M.Map Int [Block]
} deriving (Show, Eq)
instance Default WriterState where
@@ -147,6 +148,7 @@ instance Default WriterState where
, stLinkIds = mempty
, stMediaIds = mempty
, stMediaGlobalIds = mempty
+ , stNoteIds = mempty
}
type P m = ReaderT WriterEnv (StateT WriterState m)