Hi Team,
I’m converting docx to html. The code below is this :
Document document = new Document("D:/EclipseNeon/demo.docx");
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions(SaveFormat.HTML);
htmlSaveOptions.setPrettyFormat(true);
document.save("D:/EclipseNeon/demo.html", htmlSaveOptions);
It’s working fine.
But in the demo.html, all the bullets and numbering are as separate <ol></ol>
tags. I don’t want the bullets and numbering to be in that. I just want to have them as separate<p>
tag. How can I modify this code ?