Skip to content
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

Merged
merged 90 commits into from
Jul 5, 2022
Merged

Gt to word #962

merged 90 commits into from
Jul 5, 2022

Conversation

thebioengineer
Copy link
Collaborator

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_word branch 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 your gt_to_word branch 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 converts gt objects to ooxml, which can then be inserted into word documents
  • body_add_gt() function which gives the ability to add gt objects to a docxr object from {officer}

I did not add capabilities from a formatting standpoint from what was already in the branch. known features to add include:

  • multiple levels of spanning columns
  • filling cells with color (tabl_style/cell_style)

Related GitHub Issues and PRs

Checklist

Copy link
Member

@cscheid cscheid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Member

@rich-iannone rich-iannone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants