List all bookmarks available in a docx
object.
list_bookmarks(x, body = TRUE, header = TRUE, footer = TRUE)
a docx
object
specifies to scan document body
specifies to scan document header
specifies to scan document footer
a character vector
# NOT RUN { doc <- docx( title = "My example", template = file.path( system.file(package = "ReporteRs"), "templates/bookmark_example.docx") ) list_bookmarks( doc ) # }