Hi,
How to remove any bullet points from a paragraph in Aspose words,when converting into text.
Input para : 1.Aspose
Output(in text format) : Aspose
here it has to remove the Bullet point only 1.Aspose and it has write the text
Thanks,
Rajesh
Hi,
How to remove any bullet points from a paragraph in Aspose words,when converting into text.
Input para : 1.Aspose
Output(in text format) : Aspose
here it has to remove the Bullet point only 1.Aspose and it has write the text
Thanks,
Rajesh
Hi Rajesh,
Thanks for your inquiry. Please use following code example to remove bullets and numbering from all paragraphs in the document. Hope this helps you.
Document doc = new Document(MyDir + "Bullet.docx");
for (Paragraph paragraph : (Iterable)doc.getChildNodes(NodeType.PARAGRAPH, true))
{
paragraph.getListFormat().removeNumbers();
}
doc.save(MyDir + "Out.txt");