officer (version 0.3.2)

slip_in_xml: add a wml string into a Word document

Description

The function add a wml string into the document after, before or on a cursor location.

Usage

slip_in_xml(x, str, pos)

Arguments

x

an rdocx object

str

a wml string

pos

where to add the new element relative to the cursor, "after" or "before".