officer (version 0.3.18)

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

# NOT RUN {
x <- read_docx()
styles_info(x)
styles_info(x, type = "paragraph", is_default = TRUE)
# }