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

Features Requests for {gt} --> gtsave(.docx) #15

Open
6 tasks
ayogasekaram opened this issue Nov 14, 2024 · 2 comments
Open
6 tasks

Features Requests for {gt} --> gtsave(.docx) #15

ayogasekaram opened this issue Nov 14, 2024 · 2 comments
Assignees

Comments

@ayogasekaram
Copy link
Contributor

ayogasekaram commented Nov 14, 2024

Requests:

  • No caption in all .docx exports
  • Titles are left-justified (not centered with table)
  • Linebreaks aren't applied to "header" content.
  • "Table 1" text automatically added when supplied a title
  • Horizontal pagination? (by default the table is cropped)

Nice to Haves:

  • gt::fmt_markdown(columns = label) returns XML code in .docx file with indentation.
@ddsjoberg
Copy link
Collaborator

Thanks @ayogasekaram !

Can you take a look why the line breaks in the headers work for the vanilla gtsummary table when we export to Word? Also, it seemed that the vanilla gtsummary had its indentation rendered properly as well?

@ayogasekaram
Copy link
Contributor Author

@ddsjoberg
Sure thing! To clarify, line breaks in the header don't work when exporting both gtsummary and gt_table objects. The indentation does appear to be working for the gtsummary.

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

No branches or pull requests

3 participants