Hi!
We are using Aspose.Slides for .NET 20.6.0 to convert pptx files to html using the following code:
AsposeLicenser.LoadLicense();
using (Presentation presentation = new Presentation(inputFilePath))
{
presentation.Save(
outputFilePath,
SaveFormat.Html,
new HtmlOptions
{
SvgResponsiveLayout = true,
HtmlFormatter = HtmlFormatter.CreateDocumentFormatter("", false),
});
}
When converting chart.pptx from the archive attached, we get an svg in which the chart content is covered by a transparent rectangle like this:
image.png (28.2 KB)
This is a problem for us as we would like to attach onclick event handlers to the of text on the chart. If this transparent rectangle is present, only the rectangle gets the click event, not the elements below it.
Is there any reason for this transparent rectangle to be overlayed? (I.e. is this a bug or a feature? I could come up with some hack to detect/remove it but I was thinking why it’s there in the first place…)
with-chart.zip (36.9 KB)
Thanks!
Arnold