Adding cover page changes footer page numbering when convert the docx file to pdf file


Hi,

Please see the following sample code, when Aspose convert the "Testing.docx" , it change the footer page number.

File converted = File.createTempFile("aspdf-", ".pdf");
Document doc = new Document("C:\\tmp\\Testing.docx");
doc.getChildNodes(NodeType.COMMENT, true).clear();
File dotdoc = File.createTempFile("aspdf-", ".doc");
doc.save(dotdoc.getAbsolutePath(), SaveFormat.DOC);
doc = new Document(dotdoc.getAbsolutePath());
doc.save(converted.getAbsolutePath(), saveOptions);
Thanks for the help!

Ruhong

Hi Ruhong,


Thanks for your inquiry. It seems your issue pertains to Aspose.Words, so I’m moving your request to related forum. There one of my colleague will guide you appropriately.

Best Regards,

Hi Ruhong,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-9273. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan

The issues you have found earlier (filed as WORDSNET-9273) have been fixed in this Aspose.Words for .NET 21.11 update also available on NuGet.