set_of_paragraphs
From ReporteRs v0.7.7
by David Gohel
Set of paragraphs of text
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
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 )
Community examples
Looks like there are no examples yet.