styles: Get styles names of a document object

Description Usage Arguments Details See Also Examples

View source: R/styles.docx.R

Description

Get styles names that exist into a document

Usage

1
2
3
4
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

1
2
3
4
5
6
if( check_valid_java_version() ){

doc = docx( title = "title" )
styles(doc)

}

davidgohel/ReporteRs documentation built on March 23, 2020, 11 p.m.