docx_bookmarks2: List Word bookmarks, including the ones in header and footer
Description
This is a correction of officer::docx_bookmarks()
. See this PR.
Usage
docx_bookmarks2(
x,
return_vector = FALSE,
target = c("all", "header", "body", "footer")
)
Value
a list with all bookmarks
Arguments
- x
an rdocx
object
- return_vector
use TRUE
for compatibility with officer::docx_bookmarks()
- target
one of c("all", "header", "body", "footer")