Incorrect autotext field in footer - Word Document

Hello Aspose Team,

We are using “Aspose.Words" .Net Core version 23.1.0 in our application and found some issue related to Incorrect autotext field in footer word document while converting it to the Html. I am attaching sample documents here. Can you please help to fix this issues.

AutoTextField.docx (2.0 MB)

@rajesh.domadia can you please attach the sample documents?

Can you please check attached document

@rajesh.domadia, we have been testing the conversion with the file that you provide and we didn’t found any issue, can you please post the code that you are using and the expected result of the conversion?

var wordtohtml = new Aspose.Words.Document(stream);

wordtohtml.LayoutOptions.CommentDisplayMode = CommentDisplayMode.ShowInBalloons;
wordtohtml.LayoutOptions.RevisionOptions.RevisionBarsColor = RevisionColor.ByAuthor;
wordtohtml.LayoutOptions.RevisionOptions.RevisedPropertiesEffect = RevisionTextEffect.Color;
wordtohtml.LayoutOptions.RevisionOptions.InsertedTextColor = RevisionColor.BrightGreen;
wordtohtml.LayoutOptions.RevisionOptions.DeletedTextColor = RevisionColor.Yellow;
wordtohtml.LayoutOptions.RevisionOptions.RevisionBarsPosition = HorizontalAlignment.Outside;

HtmlFixedSaveOptions htmlSaveOptions = new HtmlFixedSaveOptions();
htmlSaveOptions.PageMargins = 0;
htmlSaveOptions.ExportEmbeddedCss = true;
htmlSaveOptions.ExportEmbeddedFonts = true;
htmlSaveOptions.ResourceSavingCallback = callback;
htmlSaveOptions.PrettyFormat = true;
wordtohtml.Save(path, htmlSaveOptions);

@rajesh.domadia thanks for the extra information. We are back with you after our tests.

@rajesh.domadia Your test document has 183 pages, could you please specify on which page the problem can be observed? Also, it would be great if you provide a screenshot of the problem.