set_of_paragraphs
From ReporteRs v0.5
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.html
Examples
# NOT RUN {
#START_TAG_TEST
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 )
#STOP_TAG_TEST
# }
Community examples
Looks like there are no examples yet.