singerla / pptx-automizer

A template based pptx generator for Node.js
MIT License
66 stars 11 forks source link

OLE support? #124

Open mikemeerschaert opened 2 hours ago

mikemeerschaert commented 2 hours ago

I'm trying to merge our corporate template in with a presentation I'm generating using PptxGenJS, but many of the generic slides coming in from the template contain ole objects. Once merged, the presentation throws a "needs repair" error and if you repair it, all the slides that contained ole objects in the template are blank.

I was looking through the library code and I can see that ole objects are explicitly unsupported, is there a reason for this? is this something that is very difficult to implement?

https://github.com/singerla/pptx-automizer/blob/5451192cf0d854ddb5c7fd0d2160f1dde76ac1de/src/classes/has-shapes.ts#L110-L128

MP70 commented 2 hours ago

I presume this relates to some of the more advanced charts, but if you'd be able to share an example of the pptxgenjs code and the output file I will take a look as time allows.