ReporteRs (version 0.8.2)

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 {
#START_TAG_TEST
doc = docx( title = "My example", template = file.path( 
  find.package("ReporteRs"), "templates/bookmark_example.docx") )
list_bookmarks( doc )
#STOP_TAG_TEST
# }

Run the code above in your browser using DataCamp Workspace