heavysixer / node-pptx

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

modify slide #46

Open LorenzoScarpa opened 4 years ago

LorenzoScarpa commented 4 years ago

how can I edit text, images and other elements of a slide?

heavysixer commented 4 years ago

If you are modifying an existing presentation you can do it like this: https://github.com/heavysixer/node-pptx#modifying-an-existing-presentation

Is that helpful?

LorenzoScarpa commented 4 years ago

I want to edit elements of a slide,but when i get a existing slide with elements it is empty.

I think this library can only add new elements to a slide

heavysixer commented 4 years ago

@gregdolley do you have a test for @LorenzoScarpa's use case?

dogusev commented 3 years ago

@heavysixer Agree with @LorenzoScarpa The lib is completely useless, since it's not possible to getText elements on the slide, or somehow check what slide contains. It's only for adding something =(

LorenzoScarpa commented 3 years ago

@dogusev i have used https://www.npmjs.com/package/google-slides. but you had to dedicate a online drive for the project and then edit thow google api the ppt and then always with google api dowload it in microsoft ptt format

heavysixer commented 3 years ago

@heavysixer Agree with @LorenzoScarpa The lib is completely useless, since it's not possible to getText elements on the slide, or somehow check what slide contains. It's only for adding something =(

pull requests welcome!