Closed cwilso6 closed 1 year ago
Yup, this is indeed a bug and it is docx specific.
Weirdly, it shows up in quick_docx but not in the internal viewer for as_flextable.
which makes me think this is a bug in flextable's docx output but not its html output
Yeah. So if I run flextable::print(as_flextable(ht), preview = "html")
I don't get the bug, but if I use preview="docx"
, I do.
My feeling is this may be a flextable bug... or a subtle interaction between the systems? @davidgohel might have a clue.
More generally, the bug doesn't seem to happen with flextable::save_as_image
or save_as_rtf
Possibly related: davidgohel/flextable#577.
@cwilso6 please could you check if latest github master fixes this
Thanks for all of your work on this @hughjonesd! The line after the data/before the footer does appear to span the entire table.
I am attempting to make tables for a Word document where I want a border above the footnote. However, I have merged cells in the last row of the actual table. The border does not extend the entire width of the table, it does not put a border on the column with the merged cells. In my example, the column with the merged cells happens to be the left-most column. I have attempted several workarounds but none of them seem to work. Below is an example:
output: word_document
Without merging cells
\newpage
Merging cells
\newpage