styles_info: Read 'Word' styles

View source: R/read_docx.R

styles_infoR Documentation

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

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

officer documentation built on Oct. 10, 2024, 1:06 a.m.