docx_bookmarks
From officer v0.3.4
by David Gohel
List Word bookmarks
List bookmarks id that can be found in an rdocx
object.
Usage
docx_bookmarks(x)
Arguments
- x
an
rdocx
object
Examples
# NOT RUN {
library(magrittr)
doc <- read_docx() %>%
body_add_par("centered text", style = "centered") %>%
body_bookmark("text_to_replace") %>% body_add_par("centered text", style = "centered") %>%
body_bookmark("text_to_replace2")
docx_bookmarks(doc)
docx_bookmarks(read_docx())
# }
Community examples
Looks like there are no examples yet.