aboutsummaryrefslogtreecommitdiff
path: root/test/docx
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-02-19 10:02:25 -0800
committerJohn MacFarlane <[email protected]>2025-02-19 10:02:50 -0800
commit3caf2b1e3aaa09fbe1374f99dd287590bc75bcb7 (patch)
tree0da29d0feaac1118e9352fecf09c41f8320e8447 /test/docx
parent3528f405b1e7085f32fc36fb3f8ffbb6a6fb5767 (diff)
Revert "Docx reader and writer: support row heads."
This reverts commit cbe67b9602a736976ef6921aefbbc60d51c6755a. Word sets `w:firstColumn="1"` by default for tables. You have to find the Table Design tab and explicitly uncheck "First Column" to make this go away. In most cases, I don't think writers intend to designate the first column as a row head, so this commit is going to produce unexpected results. In addition, because of the table normalization done by pandoc-type's `tableWith`, any table containing a colspanned cell in the left-hand column will get broken if the first column is designated a row head. For these reasons it seems best to revert this change, which was made in response to #9495. Closes #10627.
Diffstat (limited to 'test/docx')
-rw-r--r--test/docx/table_captions_no_field.docxbin40487 -> 40487 bytes
-rw-r--r--test/docx/table_captions_with_field.docxbin41069 -> 41091 bytes
-rw-r--r--test/docx/table_header_rowspan.docxbin15690 -> 15826 bytes
-rw-r--r--test/docx/table_one_header_row.docxbin12214 -> 12185 bytes
-rw-r--r--test/docx/table_one_row.docxbin12178 -> 12148 bytes
-rw-r--r--test/docx/table_variable_width.docxbin9882 -> 10006 bytes
-rw-r--r--test/docx/table_with_list_cell.docxbin19073 -> 19028 bytes
7 files changed, 0 insertions, 0 deletions
diff --git a/test/docx/table_captions_no_field.docx b/test/docx/table_captions_no_field.docx
index e46149a2d..32d8ec1b5 100644
--- a/test/docx/table_captions_no_field.docx
+++ b/test/docx/table_captions_no_field.docx
Binary files differ
diff --git a/test/docx/table_captions_with_field.docx b/test/docx/table_captions_with_field.docx
index 7159213a3..db6de3088 100644
--- a/test/docx/table_captions_with_field.docx
+++ b/test/docx/table_captions_with_field.docx
Binary files differ
diff --git a/test/docx/table_header_rowspan.docx b/test/docx/table_header_rowspan.docx
index 4bcc0014b..1cc32a105 100644
--- a/test/docx/table_header_rowspan.docx
+++ b/test/docx/table_header_rowspan.docx
Binary files differ
diff --git a/test/docx/table_one_header_row.docx b/test/docx/table_one_header_row.docx
index e7ce0050f..db715dda8 100644
--- a/test/docx/table_one_header_row.docx
+++ b/test/docx/table_one_header_row.docx
Binary files differ
diff --git a/test/docx/table_one_row.docx b/test/docx/table_one_row.docx
index b1316705b..d05a856b5 100644
--- a/test/docx/table_one_row.docx
+++ b/test/docx/table_one_row.docx
Binary files differ
diff --git a/test/docx/table_variable_width.docx b/test/docx/table_variable_width.docx
index 3ac3f534b..899357968 100644
--- a/test/docx/table_variable_width.docx
+++ b/test/docx/table_variable_width.docx
Binary files differ
diff --git a/test/docx/table_with_list_cell.docx b/test/docx/table_with_list_cell.docx
index 4b6cb7ac5..bf58c1abe 100644
--- a/test/docx/table_with_list_cell.docx
+++ b/test/docx/table_with_list_cell.docx
Binary files differ