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

docx_reference_img

add images into an rdocx object


Description

reference images into a Word document. This function is to be used with wml_link_images.

Images need to be referenced into the Word document, this will generate unique identifiers that need to be known to link these images with their corresponding xml code (wml).

Usage

docx_reference_img(x, src)

Arguments

x

an rdocx object

src

a vector of character containing image filenames.

See Also

Other functions for officer extensions: fortify_location(), get_reference_value(), opts_current_table(), to_pml(), to_wml(), wml_link_images()


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.