heavysixer / node-pptx

Generate PPTX files on the server-side with JavaScript.
MIT License
161 stars 46 forks source link

can we edit existing slide element? #76

Open sharmam1 opened 3 years ago

sharmam1 commented 3 years ago
Screen Shot 2021-04-30 at 4 48 58 PM

i want to replace all *cross with actual value coming from REST API, can we do this? from documentation i could see to add new element await pres.getSlide('slide1').addImage(image => { image .file(./images/pizza.jpg) .x(500) .y(100) .cx(166) .cy(100); });

diegoafaguiar commented 2 years ago

@sharmam1 did you find a solution? I`ve the same issue here.

nunosilvaaa commented 1 year ago

@sharmam1, @diegoafaguiar, is there any development on this? thanks