to_rtf: Convert officer objects to RTF

View source: R/rtf.R

to_rtfR Documentation

Convert officer objects to RTF

Description

Convert an object made with package officer to RTF.

Usage

to_rtf(x, ...)

Arguments

x

object to convert to RTF. Supported objects are:

  • ftext()

  • external_img()

  • run_word_field()

  • run_pagebreak()

  • run_columnbreak()

  • run_linebreak()

  • hyperlink_ftext()

  • block_list()

  • fpar()

...

Arguments to be passed to methods

Value

a string containing the RTF code

See Also

Other functions for officer extensions: docx_reference_img(), fortify_location(), get_reference_value(), opts_current_table(), shape_properties_tags(), str_encode_to_rtf(), to_html(), to_pml(), to_wml(), wml_link_images()


officer documentation built on Oct. 22, 2023, 5:06 p.m.