diff options
author | danse <f.occhipinti@gmail.com> | 2018-02-12 17:10:29 +0100 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-02-15 15:06:01 -0500 |
commit | e6ff7f79861d3088f8cba2b22d86d9f75db73f6a (patch) | |
tree | 885440592bae86a5d5178ba650a471f8dc2acdb3 /test/docx | |
parent | 82a0ceaf18e589e8916fbd70e0b13e5945bcc99a (diff) | |
download | pandoc-e6ff7f79861d3088f8cba2b22d86d9f75db73f6a.tar.gz |
Docx reader: Pick table width from the longest row or header
This change is intended to preserve as much of the table content as
possible
Closes #4360
Diffstat (limited to 'test/docx')
-rw-r--r-- | test/docx/table_variable_width.docx | bin | 0 -> 10006 bytes | |||
-rw-r--r-- | test/docx/table_variable_width.native | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/docx/table_variable_width.docx b/test/docx/table_variable_width.docx Binary files differnew file mode 100644 index 000000000..899357968 --- /dev/null +++ b/test/docx/table_variable_width.docx diff --git a/test/docx/table_variable_width.native b/test/docx/table_variable_width.native new file mode 100644 index 000000000..9d3b961df --- /dev/null +++ b/test/docx/table_variable_width.native @@ -0,0 +1,13 @@ +[Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0,0.0,0.0] + [[] + ,[] + ,[Plain [Str "h3"]] + ,[Plain [Str "h4"]] + ,[Plain [Str "h5"]]] + [[[Plain [Str "c11"]] + ,[] + ,[]] + ,[[] + ,[Plain [Str "c22"]] + ,[Plain [Str "c23"]] + ,[]]]] |