body_add_xml: add an xml string as document element

Description Usage Arguments

View source: R/docx_add.R

Description

Add an xml string as document element in the document. This function is to be used to add custom openxml code.

Usage

1
body_add_xml(x, str, pos)

Arguments

x

an rdocx object

str

a wml string

pos

where to add the new element relative to the cursor, one of "after", "before", "on".


davidgohel/oxbase documentation built on July 30, 2018, 4:57 a.m.