Questions tagged [pptxgenjs]

47 questions
0
votes
0 answers

Error "addTable: Array expected!" after updating pptxgenjs to v3.11

Previously, I had been using version 3.4 of pptxgenjs, which was working well for me in English. However, when I switched to Chinese language, the table overflowed from the report page. The same code was working fine in English, but not in…
UmairAli
  • 21
  • 4
0
votes
0 answers

Is it possible to create text with shape consecutively horizontal/vertical without giving height-width and recalculate x-y?

I'm trying to create several boxes with text consecutively horizontal and vertical in a slide, but cannot find a decent way to do this without having each box the same size (different length of text), making a lot of white space or too lite space…
phun-ky
  • 351
  • 3
  • 12
0
votes
0 answers

append addtext list with dynamic height and y coordinate in pptxgenjs v 3.11.0 in angular 14.2.0

const pptx = new pptxgen(); slide = pptx.addSlide(); body.map((val: any) => { slide.addText([ { text: val.title, options: { fontSize: 8, fontFace: 'Arial', italic: true, …
Zeeshan Malik
  • 627
  • 1
  • 14
  • 31
0
votes
0 answers

pptxgenjs working fine on English but when translating in other lang like Chinese etc the table content get overflow vertically it should on next page

I'm working on vuejs app, and for creating/generating report I'm using the pptxgenjs package, the other important thing is that I'm also using the vuex-i18nto translating my report in different languages. the 'pptxgenjs' working find when generating…
UmairAli
  • 21
  • 4
0
votes
0 answers

How can I create PPT readable XML from JavaScript (browser)?

I have an app where users create designs that they can then export to SVG via JS. Unfortunately, SVG is mostly incompatible with PPT and I need to create a separate export format. How should I export graphical data to a PowerPoint format? I tried…
jaslibra
  • 131
  • 9
0
votes
0 answers

PPTxGenJS Bar Chart with multiple label values

I have researched through the documentation and haven't found any way of doing the following. Does anyone know if it's possible with the tags from the bar chart properties? Or do I need to try and track the bars somehow and add labels after the…
CStreet
  • 365
  • 1
  • 5
  • 20
0
votes
1 answer

How use a defined PPT template on PPTXGEN

I have a defined template, and I want to use it on the ppt exported using PPTXGEN LIBRARY. is it possible ?
0
votes
0 answers

Pptxgenjs appears to not work in IE11 even with jszip@3.1.5

Having read the previous versions of this question from 2020 this issue appears to have reared it's head again. I have tried these demos with my current jszip@3.7.0 and with jszip 3.1.5 using it as my application jszip and overwriting the jszip…
ashcanschool
  • 319
  • 3
  • 18
0
votes
1 answer

Is there a way to edit existing text in an existing PowerPoint slide using PptxGenJS

I have never used this tool before but I want to know if it would be a good idea to use this tool Will I be able to take an existing slide and edit one line of text using PptxGenJS Image of slide and text I want to edit
0
votes
1 answer

PptxGenJS : How to add font in PptxGenJS

I am creating PPT from a HTML table using PptxGenJS. While exporting it is taking default font. How i can change font in PPT. I need to know how i can pass font family property while i am generating PPT from HTML table.
0
votes
1 answer

How to make a borderless table on pptxgenjs in 2d array slide

I am creating a presentation using pptgenjs however i can't seems to create a table border as i wants it to be. here is the data that i'm trying to use: let rows = [ ["data1","data2"], ["data3","data4"], ["data5","data6"], ] here is what i…
user3646742
  • 199
  • 12
0
votes
0 answers

How to add custom data into OOXML for powerpoint?

I have a PPD document in which I need to append some custom XML data for reference. My xml data is like this
Mari Selvan
  • 3,598
  • 3
  • 21
  • 36
0
votes
1 answer

SVG in PPT( generated by Pptxgenjs) shown incorrectly when the PPT is opened in libreOffice

Pptxgenjs is able to add SVG images and generate PPT correctly. When this PPT is opened using Microsoft office, SVG images are shown properly. However, when this PPT is opened using libreOffice, SVG images are shown as invalid cross symbols as…
Sande
  • 313
  • 3
  • 7
0
votes
1 answer

PptxGenJS add chart show nothing

I am working with an export function by using PptxGenJS. It does not work even with basic example code from demo source code on official Github. I am working with export charts. My steps: Install PptxGenJS and import like normal npm package. Copy…
ShinaBR2
  • 2,519
  • 2
  • 14
  • 26
0
votes
1 answer

How to use PptxGenJS with RequireJS

I have tried with the following code: require(['https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@3.1.1/dist/pptxgen.bundle.js'], (pptxgenjs) => { var pptx = new pptxgenjs(); var slide = pptx.addSlide(); slide.addText( "BONJOUR - CIAO -…
Juanca
  • 3
  • 3