diff options
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 Binary files differindex bae851eb3..2379e849b 100644 --- a/test/pptx/background-image/output.pptx +++ b/test/pptx/background-image/output.pptx diff --git a/test/pptx/background-image/templated.pptx b/test/pptx/background-image/templated.pptx Binary files differindex 8bd6a4347..86bafd049 100644 --- a/test/pptx/background-image/templated.pptx +++ b/test/pptx/background-image/templated.pptx diff --git a/test/pptx/comparison/both-columns/output.pptx b/test/pptx/comparison/both-columns/output.pptx Binary files differindex 154e0b532..cec69bc2c 100644 --- a/test/pptx/comparison/both-columns/output.pptx +++ b/test/pptx/comparison/both-columns/output.pptx diff --git a/test/pptx/comparison/both-columns/templated.pptx b/test/pptx/comparison/both-columns/templated.pptx Binary files differindex 97e18b890..c982bcff1 100644 --- a/test/pptx/comparison/both-columns/templated.pptx +++ b/test/pptx/comparison/both-columns/templated.pptx diff --git a/test/pptx/comparison/extra-image/output.pptx b/test/pptx/comparison/extra-image/output.pptx Binary files differindex 0ac96b23b..1d2984fe7 100644 --- a/test/pptx/comparison/extra-image/output.pptx +++ b/test/pptx/comparison/extra-image/output.pptx diff --git a/test/pptx/comparison/extra-image/templated.pptx b/test/pptx/comparison/extra-image/templated.pptx Binary files differindex 520baf1dc..7ca38cbbd 100644 --- a/test/pptx/comparison/extra-image/templated.pptx +++ b/test/pptx/comparison/extra-image/templated.pptx diff --git a/test/pptx/comparison/extra-text/output.pptx b/test/pptx/comparison/extra-text/output.pptx Binary files differindex 41d238d4f..cec69bc2c 100644 --- a/test/pptx/comparison/extra-text/output.pptx +++ b/test/pptx/comparison/extra-text/output.pptx diff --git a/test/pptx/comparison/extra-text/templated.pptx b/test/pptx/comparison/extra-text/templated.pptx Binary files differindex 97e18b890..c982bcff1 100644 --- a/test/pptx/comparison/extra-text/templated.pptx +++ b/test/pptx/comparison/extra-text/templated.pptx diff --git a/test/pptx/comparison/non-text-first/output.pptx b/test/pptx/comparison/non-text-first/output.pptx Binary files differindex a92b64309..6ac91ca40 100644 --- a/test/pptx/comparison/non-text-first/output.pptx +++ b/test/pptx/comparison/non-text-first/output.pptx diff --git a/test/pptx/comparison/non-text-first/templated.pptx b/test/pptx/comparison/non-text-first/templated.pptx Binary files differindex 5e5981b9c..2542b0b89 100644 --- a/test/pptx/comparison/non-text-first/templated.pptx +++ b/test/pptx/comparison/non-text-first/templated.pptx diff --git a/test/pptx/content-with-caption/heading-text-image/output.pptx b/test/pptx/content-with-caption/heading-text-image/output.pptx Binary files differindex 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 diff --git a/test/pptx/content-with-caption/heading-text-image/templated.pptx b/test/pptx/content-with-caption/heading-text-image/templated.pptx Binary files differindex 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 diff --git a/test/pptx/content-with-caption/image-text/output.pptx b/test/pptx/content-with-caption/image-text/output.pptx Binary files differindex 311b87f94..b53c80151 100644 --- a/test/pptx/content-with-caption/image-text/output.pptx +++ b/test/pptx/content-with-caption/image-text/output.pptx diff --git a/test/pptx/content-with-caption/image-text/templated.pptx b/test/pptx/content-with-caption/image-text/templated.pptx Binary files differindex a9c6aa43d..c63f1f157 100644 --- a/test/pptx/content-with-caption/image-text/templated.pptx +++ b/test/pptx/content-with-caption/image-text/templated.pptx diff --git a/test/pptx/content-with-caption/text-image/output.pptx b/test/pptx/content-with-caption/text-image/output.pptx Binary files differindex e57a081cd..bb960fbb1 100644 --- a/test/pptx/content-with-caption/text-image/output.pptx +++ b/test/pptx/content-with-caption/text-image/output.pptx diff --git a/test/pptx/content-with-caption/text-image/templated.pptx b/test/pptx/content-with-caption/text-image/templated.pptx Binary files differindex 185314bf4..b37ee5d95 100644 --- a/test/pptx/content-with-caption/text-image/templated.pptx +++ b/test/pptx/content-with-caption/text-image/templated.pptx diff --git a/test/pptx/images/output.pptx b/test/pptx/images/output.pptx Binary files differindex adaa9e57a..9ee06a37c 100644 --- a/test/pptx/images/output.pptx +++ b/test/pptx/images/output.pptx diff --git a/test/pptx/images/templated.pptx b/test/pptx/images/templated.pptx Binary files differindex cad0b2f04..18f6f9757 100644 --- a/test/pptx/images/templated.pptx +++ b/test/pptx/images/templated.pptx diff --git a/test/pptx/incremental-lists/with-flag/output.pptx b/test/pptx/incremental-lists/with-flag/output.pptx Binary files differindex 6acbd8471..cbbb5c8d1 100644 --- a/test/pptx/incremental-lists/with-flag/output.pptx +++ b/test/pptx/incremental-lists/with-flag/output.pptx diff --git a/test/pptx/incremental-lists/with-flag/templated.pptx b/test/pptx/incremental-lists/with-flag/templated.pptx Binary files differindex 263d9c355..78186cf3d 100644 --- a/test/pptx/incremental-lists/with-flag/templated.pptx +++ b/test/pptx/incremental-lists/with-flag/templated.pptx diff --git a/test/pptx/incremental-lists/without-flag/output.pptx b/test/pptx/incremental-lists/without-flag/output.pptx Binary files differindex 115086f10..1670a27dc 100644 --- a/test/pptx/incremental-lists/without-flag/output.pptx +++ b/test/pptx/incremental-lists/without-flag/output.pptx diff --git a/test/pptx/incremental-lists/without-flag/templated.pptx b/test/pptx/incremental-lists/without-flag/templated.pptx Binary files differindex e7ab48aa0..0f179da04 100644 --- a/test/pptx/incremental-lists/without-flag/templated.pptx +++ b/test/pptx/incremental-lists/without-flag/templated.pptx diff --git a/test/pptx/layouts/deleted.pptx b/test/pptx/layouts/deleted.pptx Binary files differindex 3bdab9eff..514e5ee04 100644 --- a/test/pptx/layouts/deleted.pptx +++ b/test/pptx/layouts/deleted.pptx diff --git a/test/pptx/layouts/moved.pptx b/test/pptx/layouts/moved.pptx Binary files differindex 86798cb50..a45d819d0 100644 --- a/test/pptx/layouts/moved.pptx +++ b/test/pptx/layouts/moved.pptx diff --git a/test/pptx/slide-level-0/h1-with-image/output.pptx b/test/pptx/slide-level-0/h1-with-image/output.pptx Binary files differindex 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 diff --git a/test/pptx/slide-level-0/h1-with-image/templated.pptx b/test/pptx/slide-level-0/h1-with-image/templated.pptx Binary files differindex 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 diff --git a/test/pptx/slide-level-0/h2-with-image/output.pptx b/test/pptx/slide-level-0/h2-with-image/output.pptx Binary files differindex 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 diff --git a/test/pptx/slide-level-0/h2-with-image/templated.pptx b/test/pptx/slide-level-0/h2-with-image/templated.pptx Binary files differindex 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 diff --git a/test/pptx/speaker-notes-afterseps/output.pptx b/test/pptx/speaker-notes-afterseps/output.pptx Binary files differindex 36d003bf7..8b3abab5c 100644 --- a/test/pptx/speaker-notes-afterseps/output.pptx +++ b/test/pptx/speaker-notes-afterseps/output.pptx diff --git a/test/pptx/speaker-notes-afterseps/templated.pptx b/test/pptx/speaker-notes-afterseps/templated.pptx Binary files differindex e4133893e..71f35cc01 100644 --- a/test/pptx/speaker-notes-afterseps/templated.pptx +++ b/test/pptx/speaker-notes-afterseps/templated.pptx diff --git a/test/pptx/tables/output.pptx b/test/pptx/tables/output.pptx Binary files differindex c448a2b4f..a3b7b6b1b 100644 --- a/test/pptx/tables/output.pptx +++ b/test/pptx/tables/output.pptx diff --git a/test/pptx/tables/templated.pptx b/test/pptx/tables/templated.pptx Binary files differindex 7259e15dd..4f9024aee 100644 --- a/test/pptx/tables/templated.pptx +++ b/test/pptx/tables/templated.pptx diff --git a/test/pptx/two-column/text-and-image/output.pptx b/test/pptx/two-column/text-and-image/output.pptx Binary files differindex a74a6851e..2047fd227 100644 --- a/test/pptx/two-column/text-and-image/output.pptx +++ b/test/pptx/two-column/text-and-image/output.pptx diff --git a/test/pptx/two-column/text-and-image/templated.pptx b/test/pptx/two-column/text-and-image/templated.pptx Binary files differindex 5cae9b43b..bea88b77a 100644 --- a/test/pptx/two-column/text-and-image/templated.pptx +++ b/test/pptx/two-column/text-and-image/templated.pptx |
