Saving a document as a PDF changes the format of the table of contents

The attached Word document has a table of contents on its second page. When we open it using Aspose.Words and save it as a PDF, making no other changes, the format of the table of contents changes on the last line - the entry for heading 3.1 doesn’t line up with the others and the page number isn’t in the correct place, either. Can this be fixed?



Note: I’ve attached two PDFs, one created by using Aspose, and one created using Acrobat, to show the difference.



Thanks,

Michael Whalen

Hi Michael,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14481. 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 WORDSNET-14481) have been fixed in this Aspose.Words for .NET 17.2.0 update and this Aspose.Words for Java 17.2.0 update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.