powered by
Get styles names that exist into the template (base document).
# S3 method for docx styles (doc, ...)
Object of class docx to extract style names from.
docx
further arguments, not used.
Available styles will be paragraph styles of the base document (e.g. Normal, Title1, etc.).
docx, styles
styles
# NOT RUN { # Create a new document doc = docx( title = "title" ) styles(doc) #returns available paragraph styles in a character vector # }
Run the code above in your browser using DataLab