0

I have an app where users create designs that they can then export to SVG via JS.

Unfortunately, SVG is mostly incompatible with PPT and I need to create a separate export format.

How should I export graphical data to a PowerPoint format? I tried pptxgenjs, but there isn't enough flexibility there.

Is there a single XML file I can export (similar to SVG) that is readable by powerpoint?

jaslibra
  • 131
  • 9
  • I'm not sure I understand the question. openxml is an XML file format so write that. – Robert Longson Jan 09 '23 at 20:48
  • 1
    >> Unfortunately, SVG is mostly incompatible with PPT This specific SVG, or in a specific version of PowerPoint or ??? PPT does import and export SVG as long as you have a fairly recent version. – Steve Rindsberg Jan 10 '23 at 20:26
  • Yeah, consider exporting to DrawingML. There can be a lot of similarities between the DrawingML, especially conceptually, but it can get complex quickly depending on your SVGs. Things like strokes and paths and fills aren't much of an issue, but if you have SVG filters, patterns, etc. it would require a lot more work. I'm doing the opposite, DrawingML to SVG. As far as getting any exported DrawingML into a PowerPoint, you'd have to insert it programmatically like through the Open XML SDK or POI, or other packages. You can also copy it directly to the windows clipboard in LockedCanvas format – Todd Main Jan 15 '23 at 20:45

0 Answers0