body_add_gt.Rd
Add a 'gt' table into a Word document. The table will be processed using the as_word function then inserted either after, before, or on the cursor location.
`rdocx` object
`gt_tbl` object
left, center (default) or right.
where to add the gt table relative to the cursor, one of "after" (default), "before", "on" (end of line).
top (default), bottom, or embed indicating if the title and subtitle should be listed above, below, or be embedded in the table
left (default), center, or right. Alignment of caption (title and subtitle). Used when `caption_location` is not "embed".
set to TRUE if you want to activate Word option 'Allow row to break across pages'.
Word option 'keep rows together' can be activated when TRUE. It avoids page break within tables.
An updated rdocx object with a 'gt' table inserted
flextable::body_add_flextable()