We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text Highlighting Is Not Working when Converting PPTX to HTML5 in C#


We are using Aspose.Slides.NET.22.4.0 and we noticed that the text highlighted in the input file is not highlighted in the output file after converting the Pptx to Html5. This issue does not reproduce when converting to html.

This is the code I am using:

        using (Presentation presentation = new Presentation(pptxInputFilePath))
            HtmlOptions options = new HtmlOptions
                HtmlFormatter = HtmlFormatter.CreateDocumentFormatter("", false)
            presentation.Save($"{folderName}\\{fileName}_svg.html", SaveFormat.Html, options);

            presentation.Save($"{folderName}\\{fileName}_html5.html", SaveFormat.Html5, new Html5Options
                AnimateShapes = false,
                AnimateTransitions = false

I am attaching the input file and the output files created after conversion to both Html5 and Html.

Thank you!

Highlighting.zip (22.0 KB)
PptxOutputFiles.zip (22.0 KB)

Thank you for reporting the issue.

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

are there any news on this issue? Any update would be good.

The issue has not been resolved yet. Unfortunately, I don’t have any additional information.