heavysixer / node-pptx

Generate PPTX files on the server-side with JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modify slide

LorenzoScarpa opened this issue · comments

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

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?

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

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

@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 =(

@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 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!