set_doc_properties

0th

Percentile

set document properties

set Word or PowerPoint document properties. These are not visible in the document but are available as metadata of the document.

Usage
set_doc_properties(x, title = NULL, subject = NULL, creator = NULL,
  description = NULL, created = NULL)
Arguments
x

an rdocx or rpptx object

title, subject, creator, description

text fields

created

a date object

Note

The "last modified" and "last modified by" fields will be automatically be updated when the file is written.

Aliases
  • set_doc_properties
Examples
# NOT RUN {
library(magrittr)
read_docx() %>% set_doc_properties(title = "title",
  subject = "document subject", creator = "Me me me",
  description = "this document is empty",
  created = Sys.time()) %>% doc_properties()
# }
Documentation reproduced from package officer, version 0.3.5, License: GPL-3

Community examples

Looks like there are no examples yet.