Questions tagged [pptxgenjs]

47 questions
0
votes
2 answers

pptxgenjs 3.0 node js ReferenceError: JSZip is not defined

On Friday January 3rd, 2019, pptxgenjs library has been upgraded from version 2.6.0 to 3.0.0. This being said when I upgraded the package and attempted to start my server it gave me the following error ReferenceError: JSZip is not defined at…
0
votes
1 answer

How can I add the oveflowing text of slide in the next new slide of same type in node.js

Below is my code.My text is overflowing.I tried shrinking them but didn't work.I want that the extra text(overflowing should get added to the next new slide. How can I do that?I googled but couldn't get any starting point too. var pptx = new…
Priyanka
  • 67
  • 1
  • 8
0
votes
0 answers

RED X instead of image when generating powerpoint

Starting to use the library PptxGenJs. Wanted to create a masterslide with a image/logo inserted into a slide. However when I open up the powerpoint I get a big red X instead of the graphic that I want. Currently using Powerpoint 2013 to open up my…
ClubSavage
  • 45
  • 1
  • 7
0
votes
1 answer

PPTXGENJS Is there a way to insert an HTML formatted text inside a slide?

Is it possible to insert HTML formatted texts inside a slide? I need to insert a set of HTML formatted texts that was entered in a WYSIWYG input from TinyMCE in a powerpoint slide generated by PPTXGENJS. If this is possible, I am looking for…
0
votes
1 answer

ERROR ReferenceError: strXmlBullet is not defined - pptxgenjs

Tried many ways changing tsconfig.json, angular.json but it doesn't work. Taken ref from below links but didn't get any help. # https://github.com/gitbrent/PptxGenJS/issues/220 # https://github.com/angular/angular-cli/issues/10625 #…
0
votes
0 answers

Use JS/Java to open pptx template and modify it

TL;TR I need a pure js library to open a pptx template and edit some text fields. Full post: I am facing a problem and I am sure you will know the best aproach. I am running a Spring Boot webpage which only has the home endpoint which returns the…
Carlos López Marí
  • 1,432
  • 3
  • 18
  • 45
0
votes
0 answers

How to fix Uncaught (in promise) TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'

I'm trying to save to a SharePoint folder a .pptx file generated using pptxgenjs library. I've generated the blob I need into the console but I haven't been able to save it to the folder once generated. The script is run on a click event. I'm just…
NAOS
  • 13
  • 5
0
votes
1 answer

Use pptxgenjs with chartjs to export charts in one click

I'm using node, express to create a web dashboard and created my charts with ChartJS. Now I want to export them in powerpoint in one click (1 page can have 6-10 graphs/charts) I saw PPTxGen JS is recommend for exporting in PPT but I cannot figure…
Karen89
  • 21
  • 4
0
votes
1 answer

Can Javascript PptxGenJS library show preview before save?

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?
Alperen
  • 1
  • 1
  • 1
0
votes
1 answer

Not getting stream of data in angular5 using pptxGenjs library

I am trying to add images in ppt file using pptxGenjs in angular5. I am able to get the file with content, but I want to get the ppt file data in base64 or any other output format, but I am getting only the filename in data. const pptx =…
ngWolf
  • 307
  • 1
  • 6
  • 21
0
votes
1 answer

how to use slide.pageNumber() slides methods from pptxgenjs library

I am using PPTxgenjs library. I want to show page number/slide number with my title like this [Dashboard Reporting (Page 1...)] on each slide. I tried Slide methods. var pptx = null; pptx=new PptxGenJS(); var slide=pptx.addNewSlide(); var…
0
votes
1 answer

PptxGenJS - Wait till Save is Finish then Run Function

I am using PptxGenJS and I want to run a function after I save my PowerPoint. I figured I could use the .then(...) method, because the library already uses Promise. However when I do try something like this: pptx.save('Sample…
Eloy Sosa
  • 1
  • 1
  • 1
0
votes
1 answer

How to get straight table values or table data into an variable in Qlikview?

How to get straight table values or table data into an variable in Qlikview ? As I am going to use the table data in Javascript fetched through variable and generate PPT reports using pptxgenjs library.
0
votes
2 answers

Unable to set position of Html Table using PptxGenJs library

Need Help,I'm using PptxGen to create PowerPoint reports of HTML. I'm using function addSlidesForTable to pass HTML table id, also I have requirement to each slide provide title with one straight line and after that Html table but Table position…
0
votes
1 answer

HTML table to PPT using PPtxgen

I'm using PptxGen to create PowerPoint tabular reports of HTML generated in QlikView extension. I'm using function addSlidesForTable to pass HTML table id. Syntax below: pptx.addSlidesForTable("tabAutoPaging",…