pandoc/test/pptx
John MacFarlane 967e7f5fb9 Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light...
..and add new definitions isomorphic to xml-light's, but with
Text instead of String.  This allows us to keep most of the code in
existing readers that use xml-light, but avoid lots of unnecessary
allocation.

We also add versions of the functions from xml-light's
Text.XML.Light.Output and Text.XML.Light.Proc that operate
on our modified XML types, and functions that convert
xml-light types to our types (since some of our dependencies,
like texmath, use xml-light).

Update golden tests for docx and pptx.

OOXML test: Use `showContent` instead of `ppContent` in `displayDiff`.

Docx: Do a manual traversal to unwrap sdt and smartTag.
This is faster, and needed to pass the tests.

Benchmarks:

A = prior to 8ca191604d (Feb 8)
B = as of 8ca191604d (Feb 8)
C = this commit

| Reader  |  A    | B      | C     |
| ------- | ----- | ------ | ----- |
| docbook | 18 ms | 12 ms  | 10 ms |
| opml    | 65 ms | 62 ms  | 35 ms |
| jats    | 15 ms | 11 ms  |  9 ms |
| docx    | 72 ms | 69 ms  | 44 ms |
| odt     | 78 ms | 41 ms  | 28 ms |
| epub    | 64 ms | 61 ms  | 56 ms |
| fb2     | 14 ms | 5  ms  | 4 ms  |
2021-02-16 16:55:20 -08:00
..
code-custom.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
code-custom_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
code.native Powerpoint code formatting is now context dependent (#5573) 2019-06-14 08:42:06 -07:00
code.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
code_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
document-properties-short-desc.native Improve writing metadata for docx, pptx and odt (#5252) 2019-01-26 16:14:35 -08:00
document-properties-short-desc.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
document-properties-short-desc_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
document-properties.native Improve writing metadata for docx, pptx and odt (#5252) 2019-01-26 16:14:35 -08:00
document-properties.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
document-properties_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
endnotes.native
endnotes.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
endnotes_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
endnotes_toc.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
endnotes_toc_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
images.native Powerpoint writer tests: add tests for two-column layout and images 2018-01-22 14:06:47 -05:00
images.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
images_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
inline_formatting.native Powerpoint writer: add tests for underline. 2019-02-27 09:30:50 -05:00
inline_formatting.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
inline_formatting_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
lists.native More spellcheck 2018-07-02 19:07:28 +03:00
lists.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
lists_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
raw_ooxml.native Powerpoint writer: allow arbitrary OOXML in raw inline elements 2020-12-27 23:18:54 +01:00
raw_ooxml.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
raw_ooxml_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
reference_depth.pptx Powerpoint writer tests: Test everything with template as well 2018-02-19 20:04:39 -05:00
remove_empty_slides.native Powerpoint writer: Remove empty slides 2018-02-27 09:12:17 -05:00
remove_empty_slides.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
remove_empty_slides_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
slide_breaks.native
slide_breaks.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
slide_breaks_slide_level_1.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
slide_breaks_slide_level_1_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
slide_breaks_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
slide_breaks_toc.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
slide_breaks_toc_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes.native Powerpoint writer: Add tests for speaker notes. 2018-02-18 16:31:32 -05:00
speaker_notes.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_after_metadata.native PowerPoint writer: add test for speaker notes after metadata. 2019-03-31 17:09:00 -04:00
speaker_notes_after_metadata.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_after_metadata_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_afterheader.native Pptx writer: test for speaker notes after breaking header. 2019-03-30 22:52:31 -04:00
speaker_notes_afterheader.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_afterheader_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_afterseps.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
speaker_notes_afterseps.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_afterseps_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
speaker_notes_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
start_numbering_at.native PowerPoint writer: Start numbering at appopriate numbers. 2019-08-27 01:24:41 -04:00
start_numbering_at.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
start_numbering_at_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
tables.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
tables.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
tables_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
two_column.native Powerpoint writer tests: add tests for two-column layout and images 2018-01-22 14:06:47 -05:00
two_column.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00
two_column_templated.pptx Rename Text.Pandoc.XMLParser -> Text.Pandoc.XML.Light... 2021-02-16 16:55:20 -08:00