This is a correction of officer::docx_bookmarks()
. See this PR.
Usage
docx_bookmarks2(
x,
return_vector = FALSE,
target = c("all", "header", "body", "footer")
)
Arguments
- x
an
rdocx
object- return_vector
use
TRUE
for compatibility withofficer::docx_bookmarks()
- target
one of c("all", "header", "body", "footer")