aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Writers/Powerpoint/Output.hs3
-rw-r--r--test/pptx/background-image/output.pptxbin53335 -> 53336 bytes
-rw-r--r--test/pptx/background-image/templated.pptxbin66426 -> 66427 bytes
-rw-r--r--test/pptx/comparison/both-columns/output.pptxbin44543 -> 44543 bytes
-rw-r--r--test/pptx/comparison/both-columns/templated.pptxbin57667 -> 57666 bytes
-rw-r--r--test/pptx/comparison/extra-image/output.pptxbin44571 -> 44572 bytes
-rw-r--r--test/pptx/comparison/extra-image/templated.pptxbin57693 -> 57693 bytes
-rw-r--r--test/pptx/comparison/extra-text/output.pptxbin44543 -> 44543 bytes
-rw-r--r--test/pptx/comparison/extra-text/templated.pptxbin57667 -> 57666 bytes
-rw-r--r--test/pptx/comparison/non-text-first/output.pptxbin44458 -> 44459 bytes
-rw-r--r--test/pptx/comparison/non-text-first/templated.pptxbin57553 -> 57553 bytes
-rw-r--r--test/pptx/content-with-caption/heading-text-image/output.pptxbin44300 -> 44302 bytes
-rw-r--r--test/pptx/content-with-caption/heading-text-image/templated.pptxbin57390 -> 57391 bytes
-rw-r--r--test/pptx/content-with-caption/image-text/output.pptxbin44989 -> 44999 bytes
-rw-r--r--test/pptx/content-with-caption/image-text/templated.pptxbin58079 -> 58089 bytes
-rw-r--r--test/pptx/content-with-caption/text-image/output.pptxbin44241 -> 44244 bytes
-rw-r--r--test/pptx/content-with-caption/text-image/templated.pptxbin57330 -> 57332 bytes
-rw-r--r--test/pptx/images/output.pptxbin46208 -> 46224 bytes
-rw-r--r--test/pptx/images/templated.pptxbin59299 -> 59315 bytes
-rw-r--r--test/pptx/incremental-lists/with-flag/output.pptxbin77152 -> 77156 bytes
-rw-r--r--test/pptx/incremental-lists/with-flag/templated.pptxbin90277 -> 90284 bytes
-rw-r--r--test/pptx/incremental-lists/without-flag/output.pptxbin75402 -> 75406 bytes
-rw-r--r--test/pptx/incremental-lists/without-flag/templated.pptxbin88522 -> 88529 bytes
-rw-r--r--test/pptx/layouts/deleted.pptxbin55630 -> 55633 bytes
-rw-r--r--test/pptx/layouts/moved.pptxbin66365 -> 66368 bytes
-rw-r--r--test/pptx/slide-level-0/h1-with-image/output.pptxbin44212 -> 44217 bytes
-rw-r--r--test/pptx/slide-level-0/h1-with-image/templated.pptxbin57302 -> 57307 bytes
-rw-r--r--test/pptx/slide-level-0/h2-with-image/output.pptxbin44212 -> 44217 bytes
-rw-r--r--test/pptx/slide-level-0/h2-with-image/templated.pptxbin57302 -> 57307 bytes
-rw-r--r--test/pptx/speaker-notes-afterseps/output.pptxbin51455 -> 51466 bytes
-rw-r--r--test/pptx/speaker-notes-afterseps/templated.pptxbin64548 -> 64559 bytes
-rw-r--r--test/pptx/tables/output.pptxbin29134 -> 29134 bytes
-rw-r--r--test/pptx/tables/templated.pptxbin42228 -> 42229 bytes
-rw-r--r--test/pptx/two-column/text-and-image/output.pptxbin45489 -> 45496 bytes
-rw-r--r--test/pptx/two-column/text-and-image/templated.pptxbin58574 -> 58582 bytes
35 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Powerpoint/Output.hs b/src/Text/Pandoc/Writers/Powerpoint/Output.hs
index c0d1f2eba..2e51e6497 100644
--- a/src/Text/Pandoc/Writers/Powerpoint/Output.hs
+++ b/src/Text/Pandoc/Writers/Powerpoint/Output.hs
@@ -1059,7 +1059,8 @@ createCaption contentShapeDimensions paraElements = do
mknode "p:sp" [] [ mknode "p:nvSpPr" []
[ mknode "p:cNvPr" [("id","1"), ("name","TextBox 3")] ()
, mknode "p:cNvSpPr" [("txBox", "1")] ()
- , mknode "p:nvPr" [] ()
+ , mknode "p:nvPr" []
+ [mknode "p:ph" [("idx", "1")] ()]
]
, mknode "p:spPr" []
[ mknode "a:xfrm" []
diff --git a/test/pptx/background-image/output.pptx b/test/pptx/background-image/output.pptx
index bae851eb3..2379e849b 100644
--- a/test/pptx/background-image/output.pptx
+++ b/test/pptx/background-image/output.pptx
Binary files differ
diff --git a/test/pptx/background-image/templated.pptx b/test/pptx/background-image/templated.pptx
index 8bd6a4347..86bafd049 100644
--- a/test/pptx/background-image/templated.pptx
+++ b/test/pptx/background-image/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/both-columns/output.pptx b/test/pptx/comparison/both-columns/output.pptx
index 154e0b532..cec69bc2c 100644
--- a/test/pptx/comparison/both-columns/output.pptx
+++ b/test/pptx/comparison/both-columns/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/both-columns/templated.pptx b/test/pptx/comparison/both-columns/templated.pptx
index 97e18b890..c982bcff1 100644
--- a/test/pptx/comparison/both-columns/templated.pptx
+++ b/test/pptx/comparison/both-columns/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-image/output.pptx b/test/pptx/comparison/extra-image/output.pptx
index 0ac96b23b..1d2984fe7 100644
--- a/test/pptx/comparison/extra-image/output.pptx
+++ b/test/pptx/comparison/extra-image/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-image/templated.pptx b/test/pptx/comparison/extra-image/templated.pptx
index 520baf1dc..7ca38cbbd 100644
--- a/test/pptx/comparison/extra-image/templated.pptx
+++ b/test/pptx/comparison/extra-image/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-text/output.pptx b/test/pptx/comparison/extra-text/output.pptx
index 41d238d4f..cec69bc2c 100644
--- a/test/pptx/comparison/extra-text/output.pptx
+++ b/test/pptx/comparison/extra-text/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/extra-text/templated.pptx b/test/pptx/comparison/extra-text/templated.pptx
index 97e18b890..c982bcff1 100644
--- a/test/pptx/comparison/extra-text/templated.pptx
+++ b/test/pptx/comparison/extra-text/templated.pptx
Binary files differ
diff --git a/test/pptx/comparison/non-text-first/output.pptx b/test/pptx/comparison/non-text-first/output.pptx
index a92b64309..6ac91ca40 100644
--- a/test/pptx/comparison/non-text-first/output.pptx
+++ b/test/pptx/comparison/non-text-first/output.pptx
Binary files differ
diff --git a/test/pptx/comparison/non-text-first/templated.pptx b/test/pptx/comparison/non-text-first/templated.pptx
index 5e5981b9c..2542b0b89 100644
--- a/test/pptx/comparison/non-text-first/templated.pptx
+++ b/test/pptx/comparison/non-text-first/templated.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/heading-text-image/output.pptx b/test/pptx/content-with-caption/heading-text-image/output.pptx
index 28a6eac47..c380e5788 100644
--- a/test/pptx/content-with-caption/heading-text-image/output.pptx
+++ b/test/pptx/content-with-caption/heading-text-image/output.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/heading-text-image/templated.pptx b/test/pptx/content-with-caption/heading-text-image/templated.pptx
index 059d4f460..a2743d09e 100644
--- a/test/pptx/content-with-caption/heading-text-image/templated.pptx
+++ b/test/pptx/content-with-caption/heading-text-image/templated.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/image-text/output.pptx b/test/pptx/content-with-caption/image-text/output.pptx
index 311b87f94..b53c80151 100644
--- a/test/pptx/content-with-caption/image-text/output.pptx
+++ b/test/pptx/content-with-caption/image-text/output.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/image-text/templated.pptx b/test/pptx/content-with-caption/image-text/templated.pptx
index a9c6aa43d..c63f1f157 100644
--- a/test/pptx/content-with-caption/image-text/templated.pptx
+++ b/test/pptx/content-with-caption/image-text/templated.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/text-image/output.pptx b/test/pptx/content-with-caption/text-image/output.pptx
index e57a081cd..bb960fbb1 100644
--- a/test/pptx/content-with-caption/text-image/output.pptx
+++ b/test/pptx/content-with-caption/text-image/output.pptx
Binary files differ
diff --git a/test/pptx/content-with-caption/text-image/templated.pptx b/test/pptx/content-with-caption/text-image/templated.pptx
index 185314bf4..b37ee5d95 100644
--- a/test/pptx/content-with-caption/text-image/templated.pptx
+++ b/test/pptx/content-with-caption/text-image/templated.pptx
Binary files differ
diff --git a/test/pptx/images/output.pptx b/test/pptx/images/output.pptx
index adaa9e57a..9ee06a37c 100644
--- a/test/pptx/images/output.pptx
+++ b/test/pptx/images/output.pptx
Binary files differ
diff --git a/test/pptx/images/templated.pptx b/test/pptx/images/templated.pptx
index cad0b2f04..18f6f9757 100644
--- a/test/pptx/images/templated.pptx
+++ b/test/pptx/images/templated.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/with-flag/output.pptx b/test/pptx/incremental-lists/with-flag/output.pptx
index 6acbd8471..cbbb5c8d1 100644
--- a/test/pptx/incremental-lists/with-flag/output.pptx
+++ b/test/pptx/incremental-lists/with-flag/output.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/with-flag/templated.pptx b/test/pptx/incremental-lists/with-flag/templated.pptx
index 263d9c355..78186cf3d 100644
--- a/test/pptx/incremental-lists/with-flag/templated.pptx
+++ b/test/pptx/incremental-lists/with-flag/templated.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/without-flag/output.pptx b/test/pptx/incremental-lists/without-flag/output.pptx
index 115086f10..1670a27dc 100644
--- a/test/pptx/incremental-lists/without-flag/output.pptx
+++ b/test/pptx/incremental-lists/without-flag/output.pptx
Binary files differ
diff --git a/test/pptx/incremental-lists/without-flag/templated.pptx b/test/pptx/incremental-lists/without-flag/templated.pptx
index e7ab48aa0..0f179da04 100644
--- a/test/pptx/incremental-lists/without-flag/templated.pptx
+++ b/test/pptx/incremental-lists/without-flag/templated.pptx
Binary files differ
diff --git a/test/pptx/layouts/deleted.pptx b/test/pptx/layouts/deleted.pptx
index 3bdab9eff..514e5ee04 100644
--- a/test/pptx/layouts/deleted.pptx
+++ b/test/pptx/layouts/deleted.pptx
Binary files differ
diff --git a/test/pptx/layouts/moved.pptx b/test/pptx/layouts/moved.pptx
index 86798cb50..a45d819d0 100644
--- a/test/pptx/layouts/moved.pptx
+++ b/test/pptx/layouts/moved.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-with-image/output.pptx b/test/pptx/slide-level-0/h1-with-image/output.pptx
index 80c7ea8af..e42227a3a 100644
--- a/test/pptx/slide-level-0/h1-with-image/output.pptx
+++ b/test/pptx/slide-level-0/h1-with-image/output.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h1-with-image/templated.pptx b/test/pptx/slide-level-0/h1-with-image/templated.pptx
index 7a023480f..066367991 100644
--- a/test/pptx/slide-level-0/h1-with-image/templated.pptx
+++ b/test/pptx/slide-level-0/h1-with-image/templated.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h2-with-image/output.pptx b/test/pptx/slide-level-0/h2-with-image/output.pptx
index 80c7ea8af..e42227a3a 100644
--- a/test/pptx/slide-level-0/h2-with-image/output.pptx
+++ b/test/pptx/slide-level-0/h2-with-image/output.pptx
Binary files differ
diff --git a/test/pptx/slide-level-0/h2-with-image/templated.pptx b/test/pptx/slide-level-0/h2-with-image/templated.pptx
index 7a023480f..066367991 100644
--- a/test/pptx/slide-level-0/h2-with-image/templated.pptx
+++ b/test/pptx/slide-level-0/h2-with-image/templated.pptx
Binary files differ
diff --git a/test/pptx/speaker-notes-afterseps/output.pptx b/test/pptx/speaker-notes-afterseps/output.pptx
index 36d003bf7..8b3abab5c 100644
--- a/test/pptx/speaker-notes-afterseps/output.pptx
+++ b/test/pptx/speaker-notes-afterseps/output.pptx
Binary files differ
diff --git a/test/pptx/speaker-notes-afterseps/templated.pptx b/test/pptx/speaker-notes-afterseps/templated.pptx
index e4133893e..71f35cc01 100644
--- a/test/pptx/speaker-notes-afterseps/templated.pptx
+++ b/test/pptx/speaker-notes-afterseps/templated.pptx
Binary files differ
diff --git a/test/pptx/tables/output.pptx b/test/pptx/tables/output.pptx
index c448a2b4f..a3b7b6b1b 100644
--- a/test/pptx/tables/output.pptx
+++ b/test/pptx/tables/output.pptx
Binary files differ
diff --git a/test/pptx/tables/templated.pptx b/test/pptx/tables/templated.pptx
index 7259e15dd..4f9024aee 100644
--- a/test/pptx/tables/templated.pptx
+++ b/test/pptx/tables/templated.pptx
Binary files differ
diff --git a/test/pptx/two-column/text-and-image/output.pptx b/test/pptx/two-column/text-and-image/output.pptx
index a74a6851e..2047fd227 100644
--- a/test/pptx/two-column/text-and-image/output.pptx
+++ b/test/pptx/two-column/text-and-image/output.pptx
Binary files differ
diff --git a/test/pptx/two-column/text-and-image/templated.pptx b/test/pptx/two-column/text-and-image/templated.pptx
index 5cae9b43b..bea88b77a 100644
--- a/test/pptx/two-column/text-and-image/templated.pptx
+++ b/test/pptx/two-column/text-and-image/templated.pptx
Binary files differ