Some charts are converted as PNG even if HtmlSaveOptions.ExportShapesAsSvg is true

Hi,

I’m making use of the new HtmlSaveOptions.ExportShapesAsSvg to convert DOCX to HTML, I noticed that the behaviour for charts are inconsistent. Some charts are converted as SVG with this option on, while some are not.

Code:

var doc = new Document(@".\test.docx");
var options = new HtmlSaveOptions();
options.ExportShapesAsSvg = true;
doc.Save(@".\out.html", options);

In my document, the first chart and all textboxes are converted in SVG properly, but the other two charts are still converted to PNG.

I’ve attached my test files and screenshot for your reference. Could you please have a look?

test.zip (201.8 KB)
image.png (41.0 KB)

It is also difficult to explain to our client why the behaviour is inconsistent (it should either be all PNG or all SVG). Any guidelines on which charts are converted to SVG and which are not will be appreciated.

Thanks,

@ServerSide527 This issue has been fixed in the latest release. Please upgrade to the latest release 22.10.