node-pptx icon indicating copy to clipboard operation
node-pptx copied to clipboard

modify slide

Open LorenzoScarpa opened this issue 5 years ago • 6 comments

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

LorenzoScarpa avatar Jan 13 '20 15:01 LorenzoScarpa

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?

heavysixer avatar Feb 16 '20 17:02 heavysixer

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

LorenzoScarpa avatar Feb 18 '20 13:02 LorenzoScarpa

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

heavysixer avatar Feb 18 '20 17:02 heavysixer

@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 avatar Mar 15 '21 12:03 dogusev

@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

LorenzoScarpa avatar Mar 15 '21 16:03 LorenzoScarpa

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

heavysixer avatar Mar 31 '21 20:03 heavysixer