Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

body_add_xml

add an xml string as document element


Description

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

Usage

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


officer

Manipulation of Microsoft Word and PowerPoint Documents

v0.3.18
GPL-3
Authors
David Gohel [aut, cre], Frank Hangler [ctb] (function body_replace_all_text), Liz Sander [ctb] (several documentation fixes), Anton Victorson [ctb] (fixes xml structures), Jon Calder [ctb] (update vignettes), John Harrold [ctb] (function annotate_base), John Muschelli [ctb] (google doc compatibility)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.