set_of_paragraphs: Set of paragraphs of text

Description Usage Arguments Details See Also Examples

View source: R/set_of_pot.R

Description

Create a container of paragraphs of text (pot objects).

Usage

1

Arguments

...

pot objects, one per paragraph.

Details

each pot are representing a paragraph. A paragraph consists of one or more pieces of text and ends with an end of line. Objects of class set_of_paragraphs are to be used with addParagraph.

See Also

addParagraph, addParagraph.docx, addParagraph.pptx, pot

Examples

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

davidgohel/ReporteRs documentation built on Dec. 4, 2018, 5:10 p.m.