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

Free Support Forum - aspose.com

Custom Line Spacing Became Smaller after Converting PPTX to HTML5

Hi,

We are using Aspose.Slides.NET.22.4.0 and we noticed that when having custom line spacing, the text does not look ok, as is in the input 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!

PptxOutputFiles.zip (28.7 KB)
multilevel-bullets.zip (34.3 KB)

@arnoldbeilandevozon,
Thank you for reporting the issue.

I’ve reproduced the problem with the text line spacing and added a ticket with ID SLIDESNET-43222 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.

Hi,
do you have any timeline for fixing this issue?

@SriranjiniNv,
I’ve requested plans for the issue from our development team for you. We will let you know soon.

@SriranjiniNv,
The issue has a normal priority. The problem is waiting for an investigation. An issue resolution was preliminary estimated for 2022’Q4.

Hello,
this basically means that the new export option to HTML5 is unusable till end of this year - there are other issues reported on the same.

@SriranjiniNv,
There is chance that some plans, roadmap or priorities will be changed, and the issue will be resolved sooner, but I don’t have any additional information yet.