Maybe you should specify the culture info before running that code:
CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture;
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-AU");
In case the problem still remains, please ZIP and attach the following resources here for testing:
- Your simplified input Word document
- Aspose.Words 19.3 generated output document showing the undesired behavior
- Your expected document showing the correct behavior. You can create expected document by using MS Word.
- Please also create a simplified standalone console application (source code without compilation errors) that helps us to reproduce your current problem on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size.
As soon as you get these pieces of information ready, we will start further investigation into your issue and provide you more information. Thanks for your cooperation.