add.pot: add a paraggraph to an existing set of paragraphs of text

Description Usage Arguments See Also Examples

View source: R/set_of_pot.R

Description

add a paraggraph to an existing set of paragraphs of text (set_of_paragraphs object).

Usage

1
add.pot(x, value)

Arguments

x

set_of_paragraphs object

value

pot object to add as a new paragraph

See Also

set_of_paragraphs, pot

Examples

1
2
3
4
5
6
7
8
if( check_valid_java_version() ){
pot1 = pot("My tailor", textProperties(color="red") ) + " is " + pot("rich"
	, textProperties(font.weight="bold") )
my.pars = set_of_paragraphs( pot1 )
pot2 = pot("Cats", textProperties(color="red") ) + " and " + pot("Dogs"
	, textProperties(color="blue") )
my.pars = add.pot( my.pars, pot2 )
}

davidgohel/ReporteRs documentation built on March 23, 2020, 11 p.m.