Dear Aspose Team,
We are facing an issue while trying to save a docx file as html. We have tried with the Aspose.Words version 22.12. We try to save the file with the following options:
Aspose.Words.Saving.HtmlSaveOptions options = new Aspose.Words.Saving.HtmlSaveOptions(Aspose.Words.SaveFormat.Html)
{
ImagesFolder = saveFolderPath + @"\" + fileName + "_files",
ImagesFolderAlias = fileName + "_files",
ExportHeadersFootersMode = Aspose.Words.Saving.ExportHeadersFootersMode.FirstSectionHeaderLastSectionFooter
};
Aspose.Words.Document doc = new Aspose.Words.Document(filePath);
doc.Save(outputFilePath, options);
Here are the files to reproduce the issue => ImpExpData.zip (619.9 KB)
There are two .docx files (one we made smaller, the other is the original which lead to this issue) and a screenshot from the exception.
Please let us know if you can fix this issue.
We are waiting for your findings/answer.
Kind regards,
Bordi Tamas
[BUG-11309]