
pot
objects).set_of_paragraphs(...)
set_of_paragraphs
are to be used with addParagraph
.addParagraph
, addParagraph.docx
,
addParagraph.pptx
, addParagraph.bsdoc
,
pot
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 DataLab