Learn R Programming

officer (version 0.6.7)

styles_info: Read 'Word' styles

Description

read Word styles and get results in a data.frame.

Usage

styles_info(
  x,
  type = c("paragraph", "character", "table", "numbering"),
  is_default = c(TRUE, FALSE)
)

Arguments

x

an rdocx object

type, is_default

subsets for types (i.e. paragraph) and default style (when is_default is TRUE or FALSE)

See Also

Other functions for Word document informations: doc_properties(), docx_bookmarks(), docx_dim(), length.rdocx(), set_doc_properties()

Examples

Run this code
x <- read_docx()
styles_info(x)
styles_info(x, type = "paragraph", is_default = TRUE)

Run the code above in your browser using DataLab