ReporteRs (version 0.8.9)

list_bookmarks: List Bookmarks from a Word Document

Description

List all bookmarks available in a docx object.

Usage

list_bookmarks(x, body = TRUE, header = TRUE, footer = TRUE)

Arguments

x

a docx object

body

specifies to scan document body

header

specifies to scan document header

footer

specifies to scan document footer

Value

a character vector

See Also

docx, text_extract

Examples

Run this code
# 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 DataCamp Workspace