-
Notifications
You must be signed in to change notification settings - Fork 218
Gt to word #962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gt to word #962
Conversation
cscheid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
rich-iannone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
|
Sorry, is this only for Quarto output or can I use this to add a gt table to an officer object? Because I don't find a I found a |
|
I wrote gto to support gt working with officer. So go ahead with that! |
Summary
Thank you for contributing to gt! To make this process easier for everyone, please explain the context and purpose of your contribution. Also, list the changes made to the existing code or documentation.
The changes here add to the
gt_to_wordbranch developed by rich to add some additional features. I am opening this PR to facilitate discussion. We could also change this PR to merge into yourgt_to_wordbranch if you would rather compare against that. I have merged in the main branch into my fork.In summary, the changes in this branch are as follow:
as_word()function which convertsgtobjects to ooxml, which can then be inserted into word documentsbody_add_gt()function which gives the ability to addgtobjects to adocxrobject from {officer}I did not add capabilities from a formatting standpoint from what was already in the branch. known features to add include:
Related GitHub Issues and PRs
Checklist
testthatunit tests totests/testthatfor any new functionality.