Create a fp_text
object that describes
text formatting properties.
fp_text(
color = "black",
font.size = 10,
bold = FALSE,
italic = FALSE,
underlined = FALSE,
font.family = "Arial",
vertical.align = "baseline",
shading.color = "transparent"
)# S3 method for fp_text
format(x, type = "wml", ...)
# S3 method for fp_text
print(x, ...)
# S3 method for fp_text
update(
object,
color,
font.size,
bold = FALSE,
italic = FALSE,
underlined = FALSE,
font.family,
vertical.align,
shading.color,
...
)
font color - a single character value specifying a valid color (e.g. "#000000" or "black").
font size (in point) - 0 or positive integer value.
is bold
is italic
is underlined
single character value specifying font name.
single character value specifying font vertical alignments.
Expected value is one of the following : default 'baseline'
or 'subscript'
or 'superscript'
shading color - a single character value specifying a valid color (e.g. "#000000" or "black").
fp_text
object
output type - one of 'wml', 'pml', 'html'.
further arguments - not used
fp_text
object to modify
format type, wml for MS word, pml for MS PowerPoint and html.
a fp_text
object
# NOT RUN {
print( fp_text (color="red", font.size = 12) )
# }
Run the code above in your browser using DataLab