Create an RTF Table Border Object
obj_rtf_border(
tbl,
border_left = "single",
border_right = "single",
border_top = "",
border_bottom = "",
border_first = "single",
border_last = "single",
border_color_left = NULL,
border_color_right = NULL,
border_color_top = NULL,
border_color_bottom = NULL,
border_color_first = NULL,
border_color_last = NULL,
border_width = 15,
cell_height = 0.15,
cell_justification = "c",
cell_vertical_justification = "top",
cell_nrow = NULL
)
the same tbl
with additional border attributes
A data frame.
Left border type. To vary left border by column, use
character vector with length of vector equal to number of columns displayed
e.g. c("single","single","single"). All possible input can be found in
r2rtf:::border_type()$name
.
Right border type. To vary right border by column, use
character vector with length of vector equal to number of columns displayed
e.g. c("single","single","single"). All possible input can be found in
r2rtf:::border_type()$name
.
Top border type. To vary top border by column, use
character vector with length of vector equal to number of columns displayed
e.g. c("single","single","single"). If it is the first row in a table for this
page, the top border is set to "double" otherwise the border is set to "single".
All possible input can be found in r2rtf:::border_type()$name
.
Bottom border type.
To vary bottom border by column, use character vector with length of vector
equal to number of columns displayed e.g. c("single","single","single").
All possible input can be found in r2rtf:::border_type()$name
.
First top border type of the whole table.
All possible input can be found in r2rtf:::border_type()$name
.
Last bottom border type of the whole table.
All possible input can be found in r2rtf:::border_type()$name
.
Left border color type. Default is NULL for black. To vary left
border color by column, use character vector with length of vector
equal to number of columns displayed e.g. c("white","red","blue").
All possible input can be found in grDevices::colors()
.
Right border color type. Default is NULL for black. To vary right
border color by column, use character vector with length of vector
equal to number of columns displayed e.g. c("white","red","blue").
All possible input can be found in grDevices::colors()
.
Top border color type. Default is NULL for black. To vary top
border color by column, use character vector with length of vector
equal to number of columns displayed e.g. c("white","red","blue").
All possible input can be found in grDevices::colors()
.
Bottom border color type. Default is NULL for black. To vary bottom
border color by column, use character vector with length of vector
equal to number of columns displayed e.g. c("white","red","blue").
All possible input can be found in grDevices::colors()
.
First top border color type of the whole table. Default is NULL for black.
All possible input can be found in grDevices::colors()
.
Last bottom border color type of the whole table. Default is NULL for black.
All possible input can be found in grDevices::colors()
.
Border width in twips. Default is 15 for 0.0104 inch.
Cell height in inches. Default is 0.15 for 0.15 inch.
Justification type for cell.
All possible input can be found in r2rtf:::justification()$type
.
Vertical justification type for cell.
All possible input can be found in r2rtf:::vertical_justification()$type
.
Number of rows required in each cell.
The contents of this section are shown in PDF user manual only.