ReporteRs (version 0.8.5)

styles: Get styles names of a document object

Description

Get styles names that exist into a document

Usage

styles(doc, ...)

## S3 method for class '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
doc = docx( title = "title" )
styles(doc)

Run the code above in your browser using DataLab