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

rtf_table_content

Create RTF Table Body Encode


Description

Create RTF Table Body Encode

Usage

rtf_table_content(
  tbl,
  col_total_width = attr(tbl, "page")$col_width,
  use_border_bottom = FALSE,
  border_left = attr(tbl, "border_left"),
  border_right = attr(tbl, "border_right"),
  border_top = attr(tbl, "border_top"),
  border_bottom = attr(tbl, "border_bottom"),
  border_color_left = attr(tbl, "border_color_left"),
  border_color_right = attr(tbl, "border_color_right"),
  border_color_top = attr(tbl, "border_color_top"),
  border_color_bottom = attr(tbl, "border_color_bottom"),
  border_width = attr(tbl, "border_width"),
  col_rel_width = attr(tbl, "col_rel_width"),
  cell_height = attr(tbl, "cell_height"),
  cell_justification = attr(tbl, "cell_justification"),
  text_font = attr(tbl, "text_font"),
  text_format = attr(tbl, "text_format"),
  text_color = attr(tbl, "text_color"),
  text_background_color = attr(tbl, "text_background_color"),
  text_justification = attr(tbl, "text_justification"),
  text_font_size = attr(tbl, "text_font_size"),
  text_space_before = attr(tbl, "text_space_before"),
  text_space_after = attr(tbl, "text_space_after"),
  text_convert = attr(tbl, "text_convert")
)

Arguments

tbl

A data frame.

col_total_width

Column total width for the table. Default is the corresponding attribute from tbl.

use_border_bottom

A logical value of using the bottom border. Default is the corresponding attribute from tbl.

border_left

Left border type. Default is the corresponding attribute from tbl.

border_right

Right border type. Default is the corresponding attribute from tbl.

border_top

Top border type. Default is the corresponding attribute from tbl.

border_bottom

Bottom border type. Default is the corresponding attribute from tbl.

border_color_left

Left border color. Default is the corresponding attribute from tbl.

border_color_right

Right border color. Default is the corresponding attribute from tbl.

border_color_top

Top border color. Default is the corresponding attribute from tbl.

border_color_bottom

Bottom border color. Default is the corresponding attribute from tbl.

border_width

Border width in twips. Default is the corresponding attribute from tbl.

col_rel_width

Column relative width in a vector eg. c(2,1,1) refers to 2:1:1

cell_height

Height for cell in twips. Default is the corresponding attribute from tbl.

cell_justification

Justification for cell. Default is the corresponding attribute from tbl.

text_font

Text font type. Default is the corresponding attribute from tbl.

text_format

Text format. Default is the corresponding attribute from tbl.

text_color

Text color. Default is the corresponding attribute from tbl.

text_background_color

Text background color. Default is the corresponding attribute from tbl.

text_justification

Justification for text. Default is the corresponding attribute from tbl.

text_font_size

Text font size. Default is the corresponding attribute from tbl.

text_space_before

Line space before text. Default is the corresponding attribute from tbl.

text_space_after

Line space after text. Default is the corresponding attribute from tbl.

text_convert

A logical value to convert special characters. Default is the corresponding attribute from tbl.

Specification

The contents of this section are shown in PDF user manual only.


r2rtf

Easily Create Presentation-Ready Rich Text Format (RTF) Table and Figure

v0.2.0
GPL-3
Authors
Yilong Zhang [aut, cre], Siruo Wang [aut], Simiao Ye [aut], Madhusudhan Ginnaram [aut], Merck Sharp & Dohme Corp [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.