Create a fp_cell
object that describes cell formatting properties.
fp_cell(border = fp_border(width = 0), border.bottom, border.left, border.top,
border.right, vertical.align = "center", margin = 0, margin.bottom,
margin.top, margin.left, margin.right, background.color = "transparent",
background.img.id = "rId1", background.img.src = NULL,
text.direction = "lrtb", row_span = 1L, column_span = 1L)# S3 method for fp_cell
format(x, type = "wml", ...)
# S3 method for fp_cell
print(x, ...)
# S3 method for fp_cell
update(object, border, border.bottom, border.left, border.top,
border.right, vertical.align, margin = 0, margin.bottom, margin.top,
margin.left, margin.right, background.color, background.img.id,
background.img.src, text.direction, row_span, column_span, ...)
shortcut for all borders.
fp_border
for borders.
cell content vertical alignment - a single character value , expected value is one of "center" or "top" or "bottom"
shortcut for all margins.
cell margins - 0 or positive integer value.
cell background color - a single character value specifying a valid color (e.g. "#000000" or "black").
id of the background image in the relation file.
path of the background image
cell text rotation - a single character value, expected value is one of "lrtb", "tbrl", "btlr".
row and column span
object fp_cell
output type - one of 'wml', 'pml', 'html'.
further arguments - not used
obj <- fp_cell(margin = 1)
update( obj, margin.bottom = 5 )
Run the code above in your browser using DataLab