body_replace_flextable_at_bkm: Add flextable at boorkmark location in a Word document

View source: R/body_add_flextable.R

body_replace_flextable_at_bkmR Documentation

Add flextable at boorkmark location in a Word document

Description

Use this function if you want to replace a paragraph containing a bookmark with a flextable. As a side effect, the bookmark will be lost.

Usage

body_replace_flextable_at_bkm(
  x,
  bookmark,
  value,
  align = "center",
  split = FALSE
)

Arguments

x

an rdocx object

bookmark

bookmark id

value

flextable object

align

left, center (default) or right.

split

set to TRUE if you want to activate Word option 'Allow row to break across pages'.


davidgohel/flextable documentation built on April 18, 2024, 11:37 a.m.