I am trying to determine what the capabilities are for creating shapes within a PowerPoint slide using the Node SDK.
I have an SVG file to work with, although it does not seem possible to directly convert an SVG to a PPTX file while still maintaining the individual shape information. The only workflow I have seen mentioned is to go from SVG -> PDF -> PPTX, which technically works, although the resulting PDF contains only images of the shapes from the original SVG, not the shapes themselves. If there is a method for directly converting an SVG to PPTX while still maintaining the individual shape content, that would solve my issue.
If not, I have also been exploring manually creating a Presentation and populating its slides with each individual shape defined in the SVG, although the available shape creation methods appear limited, and the documentation only goes over simple examples. I can say that I am able to successfully generate simple shapes on presentation slides, but I have not found a way to generate a custom path, or even a way to specify which direction a line moves in. As an example, say I want to use two lines to create an “X” shape. From what I can tell, each of those two lines seems to expose the exact same information using the Node SDK. I can set the x/y (left/upper) values of the bounding box, and define a width and height. However, that is not enough information to determine if the line moves from the top-left to the bottom-right OR the bottom-left to the top-right of that bounding box. If I cannot draw custom paths or even specifiy line details, then I will not be able to manually convert SVG files to PPTX either.
Any information on either of my overall approaches would be very helpful. I have already spent hours looking over documentation and even the Node.js code itself to no avail.