flextable (version 0.6.0)

docx_value: flextable Office Open XML string for Word

Description

get openxml raw code for Word from a flextable object.

Usage

docx_value(
  x,
  ft.align = opts_current$get("ft.align"),
  ft.split = opts_current$get("ft.split"),
  bookdown = FALSE
)

Arguments

x

a flextable object

ft.align

flextable alignment, supported values are 'left', 'center' and 'right'.

ft.split

Word option 'Allow row to break across pages' can be activated when TRUE.

bookdown

TRUE or FALSE (default) to support cross referencing with bookdown.

Examples

Run this code
# NOT RUN {
docx_value(flextable(iris[1:5,]))
# }

Run the code above in your browser using DataLab