docx_bookmarks
From officer v0.3.14
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
See Also
Other functions for Word document informations:
doc_properties()
,
docx_dim()
,
length.rdocx()
,
set_doc_properties()
,
styles_info()
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.