Get styles names that exist into the template (base
document).
Usage
# S3 method for docx
styles(doc, ...)
Arguments
doc
Object of class docx to extract style
names from.
...
further arguments, not used.
Details
Available styles will be paragraph styles of the base
document (e.g. Normal, Title1, etc.). Names of the returned
character vector are labels associated with styles names.
# NOT RUN {#START_TAG_TEST# Create a new documentdoc = docx( title = "title" )
styles(doc) #returns available paragraph styles in a character vector#STOP_TAG_TEST# }