Inserting a new paragraph



when i try to inser a new paragraph in the paragraphs collection by

Paragraphs para=th.getParagraphs();
para.add(new Paragraph);

the program is compiled and executed and even the ppt file is created …but you cannot open the file…

a error file cannot be read is displayed.

is there any other way by which i can assign different bullets to the text inside a single paragraph




Try to clone existing paragraph instead of inserting new one.

Paragraphs paras = th.getParagraphs();
paras.add(new Paragraph(paras.get(0)));