docx_bookmarks2 {crosstable}R Documentation

List Word bookmarks, including the ones in header and footer

Description

This is a correction of officer::docx_bookmarks(). See this PR.

Usage

docx_bookmarks2(
  x,
  return_vector = FALSE,
  target = c("all", "header", "body", "footer")
)

Arguments

x

an rdocx object

return_vector

use TRUE for compatibility with officer::docx_bookmarks()

target

one of c("all", "header", "body", "footer")

Value

a list with all bookmarks

Author(s)

Dan Chaltiel


[Package crosstable version 0.7.0 Index]