Export flextable to docx file
exportFlextableToDocx(
object,
file,
landscape = FALSE,
breaksAfter = if (!inherits(object, "flextable")) seq_along(object) else 1
)no returned value, the object is exported to a docx file.
flextable object, or list of such objects
String with path of the file where the table should be exported.
The file should have the extension: '.html'.
If NULL, the summary table is not exported but only returned as output.
If byVar is specified, each table is exported to a separated
file with the suffix: 'file_[i].html' with i the index of the file.
(flextable output) Logical, if TRUE the file is in landscape format.
By default: FALSE if style is 'report' and TRUE if style is 'presentation'.
In case object is list:
integer vector with indices of list item after which a page break should
be included in the final document.
Laure Cougnaud