doc = docx( title = "My example", template = file.path(
find.package("ReporteRs"), "templates/bookmark_example.docx") )
text_extract( doc )
text_extract( doc, header = FALSE, footer = FALSE )
text_extract( doc, bookmark = "author" )
Run the code above in your browser using DataLab