Skip to contents

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'.