pandoc/test/docx
Ben Steinberg 7389919bb4 Preserve built-in styles in DOCX with custom style (#5670)
This commit prevents custom styles on divs and spans from overriding
styles on certain elements inside them, like headings, blockquotes,
and links. On those elements, the "native" style is required for the
element to display correctly. This change also allows nesting of
custom styles; in order to do so, it removes the default "Compact"
style applied to Plain blocks, except when inside a table.
2019-09-20 22:13:29 -07:00
..
golden Preserve built-in styles in DOCX with custom style (#5670) 2019-09-20 22:13:29 -07:00
0_level_headers.docx Docx reader: Add tests for avoiding zero-level header. 2017-08-06 19:36:25 -07:00
0_level_headers.native Add empty_paragraphs extension. 2017-12-04 14:56:57 -08:00
adjacent_codeblocks.docx Docx reader tests: Test for combining adjacent code blocks. 2018-04-17 09:29:54 -04:00
adjacent_codeblocks.native Docx reader tests: Test for combining adjacent code blocks. 2018-04-17 09:29:54 -04:00
already_auto_ident.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
already_auto_ident.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
alternate_document_path.docx Docx reader: Tests for alternate document.xml 2019-02-06 21:14:46 -05:00
alternate_document_path.native Docx reader: Tests for alternate document.xml 2019-02-06 21:14:46 -05:00
block_quotes.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
block_quotes_parse_indent.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
char_styles.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
char_styles.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
codeblock.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
codeblock.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
comments.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
comments.native Add empty_paragraphs extension. 2017-12-04 14:56:57 -08:00
comments_no_comments.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
comments_warning.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
custom-style-no-styles.native Docx reader tests: test custom style extension. 2018-02-22 13:05:44 -05:00
custom-style-preserve.native Preserve built-in styles in DOCX with custom style (#5670) 2019-09-20 22:13:29 -07:00
custom-style-reference.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
custom-style-roundtrip-end.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
custom-style-with-styles.native Docx reader: Don't look up dependant run styles if +styles is enabled. 2018-02-23 14:35:30 -05:00
custom_style.native Docx writer tests: Add tests for custom styles 2018-01-27 11:46:41 -05:00
deep_normalize.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
deep_normalize.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
definition_list.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
definition_list.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01: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.native Improve writing metadata for docx, pptx and odt (#5252) 2019-01-26 16:14:35 -08:00
drop_cap.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
drop_cap.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_list_item.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_list_item.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_paragraph.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
dummy_item_after_paragraph.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
enumerated_headings.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
enumerated_headings.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
german_styled_lists.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
german_styled_lists.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
hanging_indent.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
hanging_indent.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
headers.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
headers.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
i18n_blocks.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
i18n_blocks.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_no_embed.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_no_embed_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_vml.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_vml.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
image_writer_test.native Docx test: adjust test for fix of bug 2018-02-23 11:50:33 -05:00
inline_code.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_code.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_formatting.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
inline_formatting.native Consistent underline for Readers (#2270) 2017-10-27 18:45:00 -04:00
inline_formatting_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_images.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
inline_images.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_images_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
inline_images_writer_test.native Docx writer tests: Use new golden framework 2018-01-27 08:08:25 -05:00
instrText_hyperlink.docx Docx reader: Add test for hyperlinks in instrText tag 2018-01-16 13:22:02 -05:00
instrText_hyperlink.native Docx reader: Add test for hyperlinks in instrText tag 2018-01-16 13:22:02 -05:00
link_in_notes.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
link_in_notes.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
links.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
links.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
links_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lists.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
lists.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
lists_continuing.docx Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_continuing.native Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_level_override.docx Docx: add test for lists with level overrides. 2018-12-10 19:24:56 -05:00
lists_level_override.native Docx reader tests: fix test file with trailing space. 2019-02-18 15:49:36 -05:00
lists_restarting.docx Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_restarting.native Docx writer: Add tests for list continuation. 2017-12-13 15:16:44 -05:00
lists_writer.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
metadata.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
metadata.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
metadata_after_normal.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
metadata_after_normal.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
nested_anchors_in_header.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
nested_anchors_in_header.native Docx reader: Read multiple children of w:sdtContents` 2017-12-30 08:21:42 -05:00
nested_sdt.docx Docx reader: Handle nested sdt tags. 2018-02-28 16:32:20 -05:00
nested_sdt.native Docx reader: Handle nested sdt tags. 2018-02-28 16:32:20 -05:00
nested_smart_tags.docx Docx reader: add tests for nested smart tags. 2018-03-13 22:16:54 -04:00
nested_smart_tags.native Docx reader: add tests for nested smart tags. 2018-03-13 22:16:54 -04:00
normalize.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
normalize.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
notes.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
notes.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
numbered_header.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
numbered_header.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
overlapping_targets.docx Docx reader: tests for overlapping targets (anchor spans). 2017-12-31 09:36:42 -05:00
overlapping_targets.native Docx reader: tests for overlapping targets (anchor spans). 2017-12-31 09:36:42 -05:00
paragraph_insertion_deletion.docx Docx reader: Add tests for paragraph insertion/deletion. 2018-01-02 11:32:48 -05:00
paragraph_insertion_deletion_accept.native Docx reader: Add tests for paragraph insertion/deletion. 2018-01-02 11:32:48 -05:00
paragraph_insertion_deletion_all.native Docx reader: Add tests for paragraph insertion/deletion. 2018-01-02 11:32:48 -05:00
paragraph_insertion_deletion_reject.native Docx reader: Add tests for paragraph insertion/deletion. 2018-01-02 11:32:48 -05:00
sdt_elements.docx Docx reader: add tests for structured document tags unwrapping. 2017-12-27 10:03:00 -05:00
sdt_elements.native Docx reader: add tests for structured document tags unwrapping. 2017-12-27 10:03:00 -05:00
sdt_in_footnote.docx Docx reader: Add test for reading sdts in footnotes. 2019-02-12 17:26:37 -05:00
sdt_in_footnote.native Docx reader: Add test for reading sdts in footnotes. 2019-02-12 17:26:37 -05:00
special_punctuation.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
special_punctuation.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_one_row.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_one_row.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
table_variable_width.docx Docx reader: Pick table width from the longest row or header 2018-02-15 15:06:01 -05:00
table_variable_width.native Changes to tests to accommodate changes in pandoc-types. 2018-04-05 10:14:06 -07:00
table_with_list_cell.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
table_with_list_cell.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tables.docx Remove nonfree ICC profiles from thumbnails in test docx files. 2018-04-25 17:00:21 -07:00
tables.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tabs.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
tabs.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion_accept.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion_all.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_deletion_reject.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion_accept.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion_all.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_insertion_reject.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move_accept.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move_all.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
track_changes_move_reject.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
trailing_spaces_in_formatting.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
trailing_spaces_in_formatting.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
trim_last_inline.docx Docx reader: add tests for trimming last inline. 2019-02-18 15:49:00 -05:00
trim_last_inline.native Docx reader: add tests for trimming last inline. 2019-02-18 15:49:00 -05:00
unicode.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
unicode.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
unused_anchors.docx Docx reader: tests for removing unused anchors. 2017-12-30 22:43:33 -05:00
unused_anchors.native Docx Reader: Combine adjacent anchors. 2017-12-31 09:29:51 -05:00
verbatim_subsuper.docx Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
verbatim_subsuper.native Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00