Questions tagged [pptxgenjs]

47 questions
3
votes
0 answers

Writing large file causes UI to freeze for a short time in React.js

I have a button that generate powerpoint slides onClick, but the screen is frozen for ~1 seconds during the generation process, here is the flow: (1). user clicks on the button (2). turn on the spinner by setIsGenerating(true) to signal that the…
David
  • 373
  • 3
  • 21
2
votes
0 answers

Can't save pptx with image in blob format - pptxGenJS

I want to create a pptx file with javascript and send it to the server. To do so, I am going to create a pptx file as blob. Generating from the regular Client Browser, not Node.js. Below is the pptxGenjs…
2
votes
0 answers

PptxGenJS - Use addSlidesForTable() to insert table in a existing slide

I need to have 3 columns in a slide with table in the middle column. I have an HTML table to populate the table and hoping to use addSlidesForTable() method to do this. However addSlidesForTable() is creating a new slide and inserting table in that…
Manoj ahirwar
  • 1,062
  • 1
  • 10
  • 24
2
votes
2 answers

How to divert a number of downloads into a zip file?

I'm using the PptxGenJS library, and one of the functions I'm using it for leads to around 8 powerpoint files being downloaded at once. It works, but it creates a mess, and so putting them into a single zip file would greatly improve the…
Jesse Bell
  • 23
  • 3
1
vote
2 answers

using pptxgenjs, add an image that takes the full size of the slide

PptxGenJS allows creating a Powerpoint file by scripting. https://gitbrent.github.io/PptxGenJS/ we can add an image as follows: slide.addImage({ path: "images/chart_world_peace_near.png", x:..., y:..., w:..., h:...}); I need to resize the image to…
David Portabella
  • 12,390
  • 27
  • 101
  • 182
1
vote
0 answers

Heap memory leak pptxgenjs

Currently I am creating a ppt file using pptxgenjs and export it. the pptexporter file contain many other function to get assets and string etc. but there is always memory leak when I use large assets such as images and videos size bigger than…
feiiiiii
  • 1,480
  • 1
  • 12
  • 27
1
vote
1 answer

Add transitions to the PowerPoint slides with PptxGenJS

Recently, I have been playing with the PptxGenJS API to generate some cool PowerPoint slides and I want to add some transitions to the slides. I don't see any documentation describing the process of adding transitions. How can I do that?
1
vote
2 answers

Delete images from pptx file using python

I have one pptx file which contain 10 image(jpg). Now i want to remove some images from pptx. I have the code through which i can extract all the images present in pptx. But at same time i want to delete 2-3 images from pptx. Can anyone help me to…
Anuj
  • 119
  • 8
1
vote
1 answer

How can I load an existing pptx file with PptxGenJs

how can I load an existing pptx file? Our customers would like to create a master pptx file with their own coporate branding. They are users and not developers. Is it possible? Thanks. Holm
holminger
  • 13
  • 3
1
vote
2 answers

PptxGenjs writeFile() not working in IE11

While everything seems to work fine, when debugger hits pres.writeFile() function , i cant get the pptx at all. Mostly like a promise-base issue. Of course when testing with Chrome everything works as expetexted. Anyone face any similar issue…
EDell
  • 26
  • 4
1
vote
3 answers

I am getting error 'PptxGenJS is not a constructor'

I am trying to use PptxGenJS. I installed it by npm install pptxgenjs --save I created very simple function, according to the examples. When I am doing: import * as PptxGenJS from 'pptxgenjs'; const pptx = new PptxGenJS(); I am getting error…
hrinema
  • 31
  • 2
1
vote
0 answers

Error 500 when exporting from MxGraph

I Have integrated mxGraph in my codeignitore plategorme but when u try to export using the export form I get error 500 when I checked I found out that the getimage method receives s null value I traceback processed and found that the value is not…
1
vote
1 answer

Line charts not working properly in PowerPoint in v2.1.0 of PptxGenJS

I'm trying to generate a pptx file with charts but there is an error while opening the generated file in Power Point when there is some 'chart.LINE'. Charts with '.BAR' type are rendered normally, like texts and images. The same file opens perfectly…
0
votes
1 answer

MediaRecorder convert blob to MP4 for PPTXGenJS video

I'm recording a video stream from GetDisplayMedia() using MediaRecorder to be embedded within a powerpoint document using PPTXGenJS. I know MediaRecorder can't record to mp4, only webm, and PPTX requires MP4 format. So the resultant webm blob…
user9506231
  • 113
  • 2
  • 7
0
votes
0 answers

Not able to create the combo chart through pptxgenjs

I am trying to create the combo chart of line and area, since addChart expecting 3 arguments, I am not able to overide the 2 argument for combo chart hence I am sending data only. but not able to create the ppt. Kindly check and update.
1
2 3 4