Get doc properties for a rdocx or rpptx object as a list
Source:R/read_officer.R
officer_properties.Rd
officer_properties()
is a variant on officer::doc_properties()
that will
warn instead of error if document properties can't be found
Usage
officer_properties(x, values = list(), keep.null = FALSE, call = caller_env())
Arguments
- x
A rdocx or rpptx object.
- values
A named list with new properties to replace existing document properties before they are returned as a named list.
- keep.null
Passed to
utils::modifyList()
. IfTRUE
, retain properties in returned list even if they haveNULL
values.- call
The execution environment of a currently running function, e.g.
caller_env()
. The function will be mentioned in error messages as the source of the error. See thecall
argument ofabort()
for more information.