ReporteRs (version 0.8.9)

styles: Get styles names of a document object

Description

Get styles names that exist into a document

Usage

styles(doc, ...)

# S3 method for docx styles(doc, ...)

Arguments

doc

document object

...

further arguments passed to other methods

Details

With docx document, 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.

See Also

docx, styles

Examples

Run this code
# NOT RUN {
doc = docx( title = "title" )
styles(doc)
# }

Run the code above in your browser using DataCamp Workspace