-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Prework
- Read and abide by gt's code of conduct and contributing guidelines.
- Search for duplicates among the existing issues (both open and closed).
Proposal
Describe the new feature clearly and concisely. If applicable, write a minimal example in R code or pseudo-code to show input, usage, and desired output.
To help us read any code you include (optional) please try to follow the tidyverse style guide. The style_text() and style_file() functions from the styler package make it easier.
It would be great to add gt tables to word documents using a similar API as the flextable/officer workflow. As in you use body_add_flextable() to add flextables, maybe replace this with body_add_gt().
The overall interaction should be the same, as in it takes a gt table, then will under the hood convert it to oxml, and then inject it into the word doc at the point of the cursor.
Optionally split the rows, alignment (center, left, right), inject before or after the cursor