rtf_doc {officer} | R Documentation |
Create an RTF document object
Description
Creation of the object representing an
RTF document which can then receive contents with
the rtf_add()
function and be written to a file with
the print(x, target="doc.rtf")
function.
Usage
rtf_doc(
def_sec = prop_section(),
normal_par = fp_par(),
normal_chunk = fp_text(font.family = "Arial", font.size = 11)
)
Arguments
def_sec |
a block_section object used to defined default section. |
normal_par |
an object generated by |
normal_chunk |
an object generated by |
Value
an object of class rtf
representing an
empty RTF document.
See Also
read_docx()
, print.rtf()
, rtf_add()
Examples
rtf_doc(normal_par = fp_par(padding = 3))
[Package officer version 0.6.6 Index]