ftext: formatted text

Description Usage Arguments Examples

View source: R/cot_objects.R

Description

Format a chunk of text with text formatting properties.

Usage

1
2
3
4
5
6
7
ftext(text, prop)

## S3 method for class 'ftext'
format(x, type = "console", ...)

## S3 method for class 'ftext'
print(x, ...)

Arguments

text

text value

prop

formatting text properties

x

ftext object

type

output format, one of wml, pml, html, console, text.

...

unused

Examples

1
ftext("hello", fp_text())

Example output

{text:{hello}}

officer documentation built on July 24, 2018, 9:02 a.m.