We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can't Save File After Removing Line

Hi Team,

I’ve tried to remove the line and save it as a DOCX file. I’ve been waiting for more than 10 minutes, and the file still hasn’t been saved. Please do what is necessary.

Document inDoc = new Document("input.docx");

for(Section sect : inDoc.getSections()) 

inDoc.save("output.docx",	SaveFormat.DOCX);

Input: Input.docx (2.9 MB)


@Mahi39 I cannot reproduce the problem with the latest 23.1 version of Aspose.Words for Java. It takes about 140 seconds on my side to run your code.