You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for building this module. It is quite easy to work with and generate pptx files.
step to reproduce
I noticed passing a fontSize < 8 to slideNumber method will corrupt the powerpoint file:
constPptxGenJS=require('pptxgenjs');constpptx=newPptxGenJS();constslide=pptx.addNewSlide();// specifying fontSize < 8 will corrupt presentationslide.slideNumber({x:1.5,y:1.5,fontSize:7.8});pptx.save('slide number fontSize error');
expected result
As a developer, I would like slideNumber to throw an error when I call that method with an invalid value for fontSize. This would improve my debugging experience.
The text was updated successfully, but these errors were encountered:
First off, thank you for building this module. It is quite easy to work with and generate
pptx
files.step to reproduce
I noticed passing a
fontSize
< 8 toslideNumber
method will corrupt the powerpoint file:expected result
As a developer, I would like
slideNumber
to throw an error when I call that method with an invalid value forfontSize
. This would improve my debugging experience.The text was updated successfully, but these errors were encountered: