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_autonum()

  • run_columnbreak()

  • run_linebreak()

  • run_word_field()

  • run_reference()

  • run_pagebreak()

  • 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. 10, 2024, 1:06 a.m.