aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Docx/Table.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-08-15Make docx writer sensitive to `native_numbering` extension.John MacFarlane1-3/+8
Figure and table numbers are now only included if `native_numbering` is enabled. (By default it is disabled.) This is a behavior change with respect to 2.14.1, but the behavior is that of previous versions. The change was necessary to avoid incompatibilities between pandoc's native numbering and third-party cross reference filters like pandoc-crossref. Closes #7499.
2021-06-29Docx writer: Add table numbering for captioned tables.John MacFarlane1-3/+28
The numbers are added using fields, so that Word can create a list of tables that will update automatically.
2021-06-10Docx writer: fix handling of empty table headersAlbert Krewinkel1-2/+2
A table header which does not contain any cells is now treated as an empty header. Fixes: #7369
2021-05-30Docx writer: fix regression on captions.John MacFarlane1-1/+3
The "Table Caption" style was no longer getting applied. (It was overwritten by "Compact.") Closes #7328.
2021-05-14Docx writer: fix alignment for cells.Albert Krewinkel1-14/+20
This fixes a regression introduced with the in the colspan/rowspan changes that caused column alignments to be ignored. The column alignment is used only if a default alignment is specified at the cell level; otherwise the cell-level alignment takes precedence.
2021-05-14Docx writer: allow multirow table headersAlbert Krewinkel1-17/+25
2021-05-01Docx writer: support colspans and rowspans in tablesAlbert Krewinkel1-66/+134
See: #6315
2021-04-27Docx writer: autoset table width if no column has an explicit width.Albert Krewinkel1-7/+11
2021-04-20Docx writer: extract Table handling into separate moduleAlbert Krewinkel1-0/+114