Docx reader and writer: support row heads.
Reader: When `w:tblLook` has `w:firstColumn` set (or an equivalent bit mask), we set row heads = 1 in the AST. Writer: set `w:firstColumn` in `w:tblLook` when there are row heads. (Word only allows one, so this is triggered by any number of row heads > 0.) Closes #9495.
Showing
- src/Text/Pandoc/Readers/Docx.hs 3 additions, 1 deletionsrc/Text/Pandoc/Readers/Docx.hs
- src/Text/Pandoc/Readers/Docx/Parse.hs 18 additions, 6 deletionssrc/Text/Pandoc/Readers/Docx/Parse.hs
- src/Text/Pandoc/Writers/Docx/Table.hs 5 additions, 3 deletionssrc/Text/Pandoc/Writers/Docx/Table.hs
- test/command/9358.docx 0 additions, 0 deletionstest/command/9358.docx
- test/command/9495.md 98 additions, 0 deletionstest/command/9495.md
- test/command/9603.docx 0 additions, 0 deletionstest/command/9603.docx
- test/docx/table_captions_no_field.docx 0 additions, 0 deletionstest/docx/table_captions_no_field.docx
- test/docx/table_captions_with_field.docx 0 additions, 0 deletionstest/docx/table_captions_with_field.docx
- test/docx/table_header_rowspan.docx 0 additions, 0 deletionstest/docx/table_header_rowspan.docx
- test/docx/table_one_header_row.docx 0 additions, 0 deletionstest/docx/table_one_header_row.docx
- test/docx/table_one_row.docx 0 additions, 0 deletionstest/docx/table_one_row.docx
- test/docx/table_variable_width.docx 0 additions, 0 deletionstest/docx/table_variable_width.docx
- test/docx/table_with_list_cell.docx 0 additions, 0 deletionstest/docx/table_with_list_cell.docx
Loading