pandoc/test/pptx
Emily Bourke 0ebe65e651 pptx: Fix logic for choosing Comparison layout
There was a mistake in the logic used to choose between the Comparison
and Two Content layouts: if one column contained only non-text (an image
or a table) and the other contained only text, the Comparison layout was
chosen instead of the desired Two Content layout.

This commit fixes that logic:

> If either column contains text followed by non-text, use Comparison.
  Otherwise, use Two Content.

It also adds a test asserting this behaviour.
2021-09-13 08:30:36 -07:00
..
blanks pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
code pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
code-custom pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
comparison pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
content-with-caption pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
document-properties pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
document-properties-short-desc pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
endnotes pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
endnotes-toc pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
images pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
inline-formatting pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
lists pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
raw-ooxml pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
remove-empty-slides pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
slide-breaks pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
slide-breaks-slide-level-1 pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
slide-breaks-toc pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
slide-level-0 pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
speaker-notes pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
speaker-notes-after-metadata pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
speaker-notes-afterheader pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
speaker-notes-afterseps pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
start-numbering-at pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
tables pptx: Include all themes in output archive 2021-09-10 17:06:45 -07:00
two-column pptx: Fix logic for choosing Comparison layout 2021-09-13 08:30:36 -07:00
reference-deleted-layouts.pptx pptx: Restructure tests 2021-09-01 07:16:17 -07:00
reference-depth.pptx pptx: Restructure tests 2021-09-01 07:16:17 -07:00
reference-moved-layouts.pptx pptx: Restructure tests 2021-09-01 07:16:17 -07:00