Additional Text Appears when a Presentation Is Converted to HTML in C#


Aspose.Slides.Presentation ppt = new Aspose.Slides.Presentation(Path.Combine(path, fileName));

//ppt.Save(Path.Combine(path, "ConvertedFiles", "output.docx"), save;

var stream = new MemoryStream();

ppt.Save(stream, Aspose.Slides.Export.SaveFormat.Html);
stream.Seek(0, SeekOrigin.Begin);
// stream.Position = 0;s

// Load the content of the presentation to a Word document
var docx = new Aspose.Words.Document(stream);

// Save the Word DOCX document
docx.Save(Path.Combine(path, "ConvertedFiles", "output.docx"), Aspose.Words.SaveFormat.Docx);

I was tring to convert a ppt file to docx using the above code.
The resultant file has some extra texts added which is not required.

input file–> (704.0 KB)

resultant file → output.docx (2.8 MB)

Thank you for reporting the issue.

I’ve reproduced the problem with appearing the additional text when converting the presentation to HTML and added a ticket with ID SLIDESNET-43410 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when the issue is resolved.