From 32e6ae4347fcb1f5b01e56cc6386e5d5eeb92b99 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Sun, 18 Feb 2018 16:21:41 -0500 Subject: Powerpoint writer: Add tests for speaker notes. --- test/pptx/speaker_notes.native | 17 +++++++++++++++++ test/pptx/speaker_notes.pptx | Bin 0 -> 35155 bytes 2 files changed, 17 insertions(+) create mode 100644 test/pptx/speaker_notes.native create mode 100644 test/pptx/speaker_notes.pptx (limited to 'test/pptx') diff --git a/test/pptx/speaker_notes.native b/test/pptx/speaker_notes.native new file mode 100644 index 000000000..4eeca2107 --- /dev/null +++ b/test/pptx/speaker_notes.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.pptx b/test/pptx/speaker_notes.pptx new file mode 100644 index 000000000..4d2fa014e Binary files /dev/null and b/test/pptx/speaker_notes.pptx differ -- cgit v1.2.3