ReporteRs (version 0.8.2)

set_of_paragraphs: Set of paragraphs of text

Description

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

Usage

set_of_paragraphs(...)

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, addParagraph.bsdoc, pot

Examples

Run this code
# NOT RUN {
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 )
# }

Run the code above in your browser using DataCamp Workspace