powered by
List all bookmarks available in a docx object.
docx
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
docx, text_extract
text_extract
# NOT RUN { doc <- docx( title = "My example", template = file.path( system.file(package = "ReporteRs"), "templates/bookmark_example.docx") ) list_bookmarks( doc ) # }
Run the code above in your browser using DataLab