Learn R Programming

officer (version 0.6.7)

to_rtf: Convert officer objects to RTF

Description

Convert an object made with package officer to RTF.

Usage

to_rtf(x, ...)

Value

a string containing the RTF code

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

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