Closed dominiqueemmanuel closed 10 months ago
Not really (I did not remember I implemented borders for paragraphs).
There is a dedicated function for your need:
library(flextable)
library(officer)
d <- data.frame(x=1:2,y=1:2)
myft <- flextable(d)
myft <- surround(myft, i = 1, j = 1, border = fp_border(color = "red"))
print(myft, preview = "pptx")
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
I have simple flextable with a border (with
fp_par
) :It looks fine a Rstudio Viewer (the 1 is bordered with a red line) :
But when I want to export in PPT,
the border disappear :
Is it a bug ?