one of the especially nice features of the flextable package is the direct export to pptx and docx.
are there nice features of flextable that you can borrow?
ft <- regulartable(head(mtcars))
ft <- theme_booktabs(ft)
ft <- autofit(ft)
ppt <- read_pptx()
ppt <- add_slide(ppt, layout = "Title and Content", master = "Office Theme")
ppt <- ph_with_flextable(ppt, value = ft, type = "body")
print(ppt, target = "assets/pptx/example.pptx")
Maybe. These are entirely different output formats but understandably pretty valuable ones. It would take work to port over the different table features to these output types. This is definitely not happening in the short-term unfortunately.
Do you think that David Gohel could help? He is clearly invested in the office verse for his work.
Just tagging @davidgohel in the event he might have thoughts on hooks that gt might be able to incorporate.
Most helpful comment
Maybe. These are entirely different output formats but understandably pretty valuable ones. It would take work to port over the different table features to these output types. This is definitely not happening in the short-term unfortunately.