aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/speaker-notes
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-08-25 14:35:19 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-01 07:16:17 -0700
commit8dbea4909211ef7b2acc677288be7c5f10cbb40e (patch)
tree4300a31d7358a2277b4c583217e6ba0c9d484707 /test/pptx/speaker-notes
parent0617d3a88bb1f84622b8a94bd3366c7c8c9e8f8a (diff)
downloadpandoc-8dbea4909211ef7b2acc677288be7c5f10cbb40e.tar.gz
pptx: Restructure tests
- Use dashes consistently rather than underscores - Make a folder for each set of tests - List test files explicitly (Cabal doesn’t support ** until version 2.4)
Diffstat (limited to 'test/pptx/speaker-notes')
-rw-r--r--test/pptx/speaker-notes/deleted-layouts.pptxbin0 -> 38203 bytes
-rw-r--r--test/pptx/speaker-notes/input.native17
-rw-r--r--test/pptx/speaker-notes/moved-layouts.pptxbin0 -> 49002 bytes
-rw-r--r--test/pptx/speaker-notes/output.pptxbin0 -> 35360 bytes
-rw-r--r--test/pptx/speaker-notes/templated.pptxbin0 -> 48507 bytes
5 files changed, 17 insertions, 0 deletions
diff --git a/test/pptx/speaker-notes/deleted-layouts.pptx b/test/pptx/speaker-notes/deleted-layouts.pptx
new file mode 100644
index 000000000..6a5ad524f
--- /dev/null
+++ b/test/pptx/speaker-notes/deleted-layouts.pptx
Binary files differ
diff --git a/test/pptx/speaker-notes/input.native b/test/pptx/speaker-notes/input.native
new file mode 100644
index 000000000..4eeca2107
--- /dev/null
+++ b/test/pptx/speaker-notes/input.native
@@ -0,0 +1,17 @@
+[Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "slide."]
+,Div ("",["notes"],[])
+ [Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "note."]
+ ,Para [Str "Here",Space,Str "is",Space,Emph [Str "some"],Space,Strong [Str "other"],Space,Str "formatting."]]
+,HorizontalRule
+,Para [Str "A",Space,Str "page",Space,Str "with",Space,Str "no",Space,Str "speaker",Space,Str "notes"]
+,HorizontalRule
+,Div ("",["notes"],[])
+ [Para [Str "The",Space,Str "first",Space,Str "note",Space,Str "div"]]
+,Para [Str "A",Space,Str "page",Space,Str "with",Space,Str "two",Space,Str "notes."]
+,Div ("",["notes"],[])
+ [Para [Str "The",Space,Str "second",Space,Str "note",Space,Str "div"]]
+,HorizontalRule
+,Para [Str "Strip",Space,Str "links",Space,Str "and",Space,Str "footnotes."]
+,Div ("",["notes"],[])
+ [Para [Str "No",Space,Link ("",[],[]) [Str "link"] ("https://www.google.com",""),Space,Str "here."]
+ ,Para [Str "No",Space,Str "note",Space,Str "here.",Note [Para [Str "You\8217ll",Space,Str "never",Space,Str "read",Space,Str "this"]]]]]
diff --git a/test/pptx/speaker-notes/moved-layouts.pptx b/test/pptx/speaker-notes/moved-layouts.pptx
new file mode 100644
index 000000000..f95df9622
--- /dev/null
+++ b/test/pptx/speaker-notes/moved-layouts.pptx
Binary files differ
diff --git a/test/pptx/speaker-notes/output.pptx b/test/pptx/speaker-notes/output.pptx
new file mode 100644
index 000000000..0ab1302da
--- /dev/null
+++ b/test/pptx/speaker-notes/output.pptx
Binary files differ
diff --git a/test/pptx/speaker-notes/templated.pptx b/test/pptx/speaker-notes/templated.pptx
new file mode 100644
index 000000000..930377fbf
--- /dev/null
+++ b/test/pptx/speaker-notes/templated.pptx
Binary files differ