I am using PptxGenJS library to create a pptx files with javascript. I want to preview of pptx before saving. How can I handle it?
Asked
Active
Viewed 621 times
1 Answers
1
I am afraid this is not possible. you need to get the created slides somehow into PowerPoint in order to view it, which requires a save and a load.
To really create a preview capability for slides, you would have to write a full slide rendering engine in JavaScript, which is obviously a huge effort.
Maybe your script can save files somewhere in a temporary place, and create simple macro in PowerPoint which enables some sort of preview, after which files can be saved with their final name and file path?

Jan Schultink
- 11
- 2
- 5
-
It will be very simple and basic question. But I want to ask. How can I download it into server and show it? How can I Download it into server or anywhere else? Can you prefer any technique? – Alperen Jan 18 '19 at 15:17
-
@Alperen I can answer the question whether PptxGenJS can show previews (the answer is no unfortunately), I am less qualified about suggesting alternative solutions. Sorry. – Jan Schultink Jan 23 '19 at 06:50