All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Sections
- Update exposed props: "pptx.color"->"pptx.SchemeColor", AlignH, etc.
- Update demo.js and docs
- Added Stacked Area Charts #333 (fordaaronj)
- Continued improvement of typescript definitions file (gitbrent)
- TypeScript: Add shapes and font options types #650 (cronin4392)
- TypeScript: Added correct export of types and ts-def file (
pptx.ShapeType.rect
, etc) inindex.d.ts
(gitbrent)
- Fixed: Re-added "browser" property to
package.json
to avoid old "fs not found" Angular/webpack issue (Angular 8) #654 (cwilkens) - Fixed: Previous release introduced a regression bug and broke addTest placeholder's (gitbrent)
- Fixed: addChart and addImage in the same slide cause an error [fixed via
getNewRelId
] #655 (JuliaSheleva)
- The
core-shapes.ts
file was removed, shape def collapsed to simple type array, rolled intocore-enums.ts
andindex.d.ts
(gitbrent)
- Added
valAxisDisplayUnit
#606 (AmrutPatil) - Added
dataTableFontSize
chart option #622 (MehdiAroui) - Added text
glow
option #630 (kevinresol) - Ability to
rotate
image #639 (alabaki) - Include types in package.json files #641 (cronin4392)
- Added
showLeaderLines
chart option #642 (cronin4392)
- Fixed: Empty color negative values on barchart #285 (andrei-cs) (Slidemagic)
- Fixed: Add missing margin type from ITextOpts #643 (cronin4392)
- Fixed: Scatter plot
dataLabelPosition
#644 (afarghaly10) - Fixed: Added new babel polyfill for IE11; other IE11 fixes in demo, etc. #648 (YakQin)
- Updated Demo: added support for light/dark mode; new Image slide for rotation; new busy progress modal (gitbrent)
- Removed: jsdom pkg is no longer a dependency in
package.json
(gitbrent)
- Fixed: JSZip not found under Node.js #638 (rse)
- Fixed: react demo fixes and new build for demo-react online (gitbrent)
- Fixed: added missing catch on media promise.all to handle 404 media links (gitbrent)
- Fixed: replaced wikimedia links in common/demos.js with github raw content links (gitbrent)
- Ability to specify numbered list format #452 (mayvazyan)
- New cat/val axis options: majorTickMark/minorTickMark #473 (RokasDie)
- Ability to set start number "startAt" for a bullet list of type numbered #554 #555 (bj-mitchell)
- Fixed: Set proper MIME type for PPTX presentation #471 (StefanBrand)
- Fixed: SVG images used to be generated by Node #515 (michaelcbrook)
- Fixed: SVG support has several issues #528 (RicardoNiepel)
- Fixed: Downloading PPT in iOS using Safari does not work. File named as UNKNOWN. #540 (mustafagentrit)
- Fixed: Tables not being displayed after update #559 (emartz404)
- Fixed: Hyperlink creates malformed slide if it includes "&" #562 (Tehnix)
- Fixed: Exporting images corrupting file. #578 (joeberth)
- Fixed: Multiple files getting downloaded if multiple base64 images are added. #581 (akshaymagapu)
- Fixed: Links in tables won't work on tables generated with autoPage #583 (githuis)
- Fixed: Added rounding of margin values to avoid invalid XML #633 (kevinresol)
- Removed: jQuery is no longer required (!)
- Host the Examples demo webpage online #505 (multiplegeorges)
- Add types key to package.json #529 (adamlong5)
- Add support for font family css when export HTML table to slide. #571 (Jank1310)
- Fixed: MIME type is ppt now instead of "application/zip"
- Fixed: Not Able to add background image from the www source #497 (nish25sp)
- Fixed: Set proper MIME type for PPTX presentation #471 (StefanBrand)
- Fixed: lineDash Option is not in documentation #526 (Jank1310)
- Fixed: Downloading PPT in iOS using Safari does not work. File named as UNKNOWN. #540 (mustafagentrit)
- Fixed: ReferenceError: strXmlBullet is not defined #587 (Saurabh-Chandil)
- Fixed: Getting paraPropXmlCore not defined error - line 4200 in pptxgen.bundle.js missing "var" declaration #596 (rajeearyal)
- Make Shapes available for a front-end usage #137 (spamforhope)
- Ability to rotate chart axis labels (
catAxisLabelRotate
/valAxisLabelRotate
) #378 (teejayvanslyke) - New Chart Type: 3D bar charts #384 (loictro)
- New Chart Feature: Add Data Labels to Scatter Charts #420 (ReimaFrgos)
- Add new chart options:
catAxisLabelFontBold
,dataLabelFontBold
,legendFontFace
,valAxisLabelFontBold
#426 (BandaSatish07) - Add missing jpg content type to fix corrupt presentation for Office365 #435 (antonandreyev)
- Add
catAxisMinVal
andcatAxisMaxVal
#462 (vrimar) - New Chart Option:
valAxisCrossesAt
#474 (ReimaFrgos) - Docs: Show how to save as Blob using client browser #478 (crazyx13th)
- Fixed: Dynamic Text Options do not apply #427 (sunnyar)
- Removed: legacy/deprecated attributes from README javascript script tags #431 (efx)
- Fixed: issue with SlideNumber
fontSize
float values #432 (efx) - Fixed: query and fragment from image URL extension #433 (katsuya-horiuchi)
- Changed: Replace "$" with "jQuery" to fix integration issues with some applications #436 (antonandreyev)
- Changed: Export more types to enhance TypeScript support #443 (ntietz)
- Fixed: Rounding in percentage leads to small deviations #470 (Slidemagic) #475 (ReimaFrgos)
- Fixed: Hyperlinks causing duplicate relationship ID when other objects on page #477 (ReimaFrgos)
- Fixed: ordering of paragraph properties #485 (sleepylemur)
- Demo page converted to Bootstrap 4 gitbrent
- Fixed issue with float font-sizes in
addSlidesForTable()
gitbrent - No Color on negative bars when barGrouping is stacked #343 (vanarebane) #419 (octy40)
- Improve typescript declaration files #409 (michaelbeaumont)
- X and Y table coordinates with value of zero ignored #411 (tovab)
- Placeholder left align property needs fixing #417 (raphael-trzpit)
- Replace jquery each by standard forEach #418 (fdussert)
- BugFix: 0 value plot points ignored on Scatter Chart #422 (ReimaFrgos)
- Pass the callback as a function, rather than invoke it #424 (danielsiwiec)
v2.3.0 (2018-09-12)
Highlights:
- New Feature: Placeholders
- New Feature: Speaker Notes
addImage()
can now load both local ("../img.png") and remote images ("https://wikimedia.org/logo.jpg")- Typescript definitions are now available
jquery-node
replaced with latestjquery
package [only affects npm users]
Fixed Bugs:
- Remove jquery-node dependency (fixes XSS Vulnerability Security Warning) #350 (TinkerJack)
- Cannot set valAxisMinVal to 0 #357 (GiridharGNair)
- Multiple paragraph spacings if newline character occur in text #368 (vpetzel)
- Rotate working incorrectly #370 (michaelcbrook)
- Removed error thrown while rendering Multi Type chart containing Area #371 (KrishnaTejaReddyV)
- Bugfix/enhancement for EncodeXML in speaker notes text #373 (travispwingo)
Implemented Enhancements:
addImage()
updated with new code allowing both local and remote images to be used (browser and Node). (gitbrent)- Typescript definitions have been created for the PptxGenJS API Methods (
pptxgen.d.ts
). (gitbrent) - New Feature: Placeholder support in Master Slides #359 (conbow)
- New Feature: Speaker Notes #239 #361 (travispwingo)
- New Chart Option:
displayBlanksAs
#365 (guipas) - New Feature: ability to hide slides #367 (ReimaFrgos)
- Add second Cat Axis for Scatter and Bubble #372 (KrishnaTejaReddyV)
- New Chart Type: Add radar chart implementation #386 (loictro)
v2.2.0 (2018-06-17)
Fixed Bugs:
- Shapes: How to add vertical lines #272 (simonjcarr)
- autoFit is missing 'Shrink text on overflow' variation? #330 (cdutson)
- Rowspan, Colspan, and Multi-Row Headers Not Working #331 (skellman)(dwright-novetta)
- Isolate variables to the local scope #334 (edvinasbartkus)
addMedia
of type='online' not working? #335 (lndev1)- Fixed Error thrown while rendering Area Chart #342 (KrishnaTejaReddyV)
- Fixed Title display on showTitle = false error #344 (KrishnaTejaReddyV)
getPageNumber()
is missing from the "Slide Methods" documentation #353 (kumaarraja)
Implemented Enhancements:
- New Feature!
addImage()
andaddMedia()
methods now accept URLs #325 (gitbrent) - Make Node detection more robust #277 (adrianirwin) (DSheffield)
- Updated pptxgenjs-demo files to use CDNs instead of local files (gitbrent)
- Updated Node.js detection to increase reliability for Angular users et al. (gitbrent)
- Add
w
andh
attributes toslideNumber()
#336 (s7726)
v2.1.0 (2018-04-02)
Fixed Bugs:
- HTML-to-PowerPoint is creating many extra columns with colspan #284 (svaak)
- HTML-to-PowerPoint rowspan is not working (gitbrent)
- Fix docs/examples to use new fontSize, remove unsupported font_size #297 (pstoll)
Implemented Enhancements:
- Mis-detecting Existence of Node.js #277 (adrianirwin) (DSheffield)
- Add Text Outline functionality #298 (stevenljacobsen)
- Adding rounded corners to images #309 (hoangpq)
v2.0.0 (2018-01-23)
BREAKING CHANGES
- NodeJS instantiation is now standard (see Issue #83 and
examples/nodejs-demo.js
) which now allows new instances/presentations - (See "Version 2.0 Breaking Changes" in the README for a complete list)
Fixed Bugs:
- Master Slide slide number doesn't show using "New Slide" PPT Function #229 (ineran)
- Values of 0 (zero) in series are missing in line chart #240 (andrei-cs)
- Node: "DeprecationWarning: Calling an asynchronous function without callback is deprecated." #252 (the-yadu)
- The UP_DOWN_ARROW shape appears to have duplicate keys #253 (heavysixer)
- Local demo can not run in IE #273 (IvanTao)
Implemented Enhancements:
- Is it possible to link from one slide to another? #251 (heavysixer)
- Add rot and vert options to text body properties #254 (level46)
- Add Character Spacing option #265 (nguyenhuuphuc83)
v1.10.0 (2017-11-14)
Fixed Bugs:
- Fixed bug that was preventing 'chartColorsOpacity' from being anything other than 50 percent. (gitbrent)
- The
newPageStartY
option is not being honored byaddSlidesForTable()
#222 (shaunvdp) - Line chart with one series displays broken #225 (andrei-cs)
- The
*AxisLineShow
chart options do not work #231 (mconlin)
Implemented Enhancements:
- New chart type: bubble charts #208 (shrikantbhongade)
- New Chart option: Legend Text Color #233 (mconlin)
- New Text option:
strike
#238 (adrienco88)
v1.9.0 (2017-10-10)
Fixed Bugs:
- Vertical align and line break bug since update #79 (mirkoint)
- Save callback is not called by client-browser when there are images to encode #187 (Malangs)
- Promise Dependency - TypeError: Promise.all is not a function #188 (bartolomeu)
- Default text size in empty cells making row height too big #193 (mreilaender)
- Fixed issue that included many extraneous tab characters in the table demo lorem-ipsum text (GitBrent)
- Fix chart issue: Entities encoding #204 (clubajax)
- Fix chart issue: val axis #205 (clubajax)
- Fix chart issue: Line chart series colors were not being respected #206 (kyrrigle)
- Discrepancy between docs and code regarding setting a slide's background #207 (msambarino)
- Fix chart issue: bar color regression #210 (clubajax)
Implemented Enhancements:
- New chart feature: category axis dates #149 (kyrrigle)
- New image option: sizing #177 (kajda90)
- New chart option: show Data Table #182 (akashkarpe)
- New chart option: catAxisLabelFrequency #184 (kajda90)
- New chart type: XY Scatter #192 (shaunvdp)
- Add electron detection to load correct jquery version #200 (mreilaender)
v1.8.0 (2017-09-12)
Fixed Bugs:
- Slide numbers wrap over 99 #133 (sangramjagtap)
- Shadow corrections bugfix #136 (kajda90)
- Negative Chart values throwing error #175 (shaunvdp)
Implemented Enhancements:
- New chart feature: Bar colors and axis #132 (clubajax)
- New feature: Scheme colors #135 (kajda90)
- New chart feature: lineShadow #138 (kajda90)
- New chart type: Tornado Chart #140 (clubajax)
- New chart feature: layout option #141 (kajda90)
- New chart type: Doughnut Chart #142 (kyrrigle)
- New chart options: gridlines and axes #143 (kajda90)
- New chart feature: Axis Titles #144 (kyrrigle)
- Optional output type #147 (kajda90)
- New chart options: catAxisLineShow #152 (amgault)
- New Master Slide Layouts #161 (kajda90)
- Demo page updates #164 (clubajax)
- New chart feature: New Legend/Title Options #165 (clubajax)
- New chart options: Shadows and Transparent Color #166 (clubajax)
- Add no border option to tables #169 (eddyclock)
- Chart: Escape Labels XML #171 (kyrrigle)
- Add new 'lang' text option to enable Chinese Word fonts #174 (eddyclock)
- Add color validation to createColorElement() #178 (kajda90)
v1.7.0 (2017-08-07)
Fixed Bugs:
- Unable to edit data on line chart #122 (david23zhu)
Implemented Enhancements:
- Add charts to Masters/Templates #114 (yipiha)
- Format text as a superscript in a table cell #120 (aranard)
v1.6.0 (2017-07-17)
Fixed Bugs:
Implemented Enhancements:
- HTTP Stream #35 (FedeMM)
- Add a 'line spacing' option to addText() #104 (eddyclock)
- err TypeError: Cannot read property 'text' of undefined #106 (ninas880025)
- Added bowser support, gulp build of bundle #107 (santi-git)
- Add increase/decrease indent for bullets #108 (sangramjagtap)
v1.5.0 (2017-05-26)
Fixed Bugs:
- Hyperlink and font_face problem #74 (ZouhaierSebri)
- Can't override margin with 0 #78 (scottmtraver)
- Issue with autopage and colspan #80 (Szymon-dziewonski)
- Does not work on Firefox for Mac, no issues on Firefox for windows #81 (alexanderdevm and rwhitmore90)
- Not a real issue, just a quick README fix #88 (mirkoint)
- Invalid XML when calling .addText() with empty array #89 (JimmyTheChimp)
- Hyperlink and XML entities issue #90 (ZouhaierSebri)
- Tooltip option not implemented for image hyperlink #91 (ZouhaierSebri)
Implemented Enhancements:
- Add ability to create charts #51 (alagarrk)
- Added image type to shapes to allow images to be placed on top of shapes, added more properties to ppt document #53 (ericwgreene)
- Add support for RTL (Right-to-Left) text for Arabic etc. #73 (vanekar)
- Shape line Diagonal #75 (vanekar)
- Add hyperlink to Image #77 (plopez7)
- Adding rounding radius for texts and shapes and dash options for the outline #86 (ivolazy)
v1.4.0 (2017-04-10)
Fixed Bugs:
- Auto Paging does not include master template on additional slides #61 (tb23911)
- Issue calculating the available height for a table using Auto paging #64 (tb23911)
- Multiple a:bodyPr tags within a:txBody causes damaged presentation in PowerPoint 2007 #69 (ZouhaierSebri)
- Text bug #71 (alexbai31)
- Errors when using Webpack/Typescript #72 (Vivihung)
Implemented Enhancements:
- Add Slide Number formatting options #68 (ZouhaierSebri)
- Added new feature: Hyperlinks as a text option
v1.3.0 (2017-03-22)
Fixed Bugs:
- Added image type to shapes to allow images to be placed on top of shapes, added more properties to ppt document #53 (ericwgreene)
- Table-to-Slides default for un-styled tables is black text on black bkgd #57 (orpitadutta)
- Table Header and Auto Paging #62 (tb23911)
Implemented Enhancements:
- Removed
FileSaver.js
as a required library (only JSZip and jQuery are required now) - Allow text multi-formatting in single table cells #24 (jenkinsns)
- Set fixed width to column using
addSlidesForTable()
#42 (priyaraskar) - Enhance bullet feature: offer diff types of bullets and add numbering option #49 (gitbrent)
- Add 4 new Presentation properties:
author
,company
,revision
,subject
#53 (ericwgreene) - Moved to semver (semantic versioning)
v1.2.1 (2017-02-26)
Fixed Bugs:
- Fixed issue with using percentages with
x
,y
,w
,h
inaddTable()
- Table formatting bug with rowspans and colspans #46 (itskun)
Implemented Enhancements:
- Allow more than a single 'x' and/or 'y' table location during Table Paging #43 (jenkinsns)
- Bullets do not work with text objects in addText() method #44 (ellisgl)
- Table location and pagination #47 (itskun)
- Meta: Improve auto-paging in 'addTable()' #48 (gitbrent)
- Created a new common file (
pptxgenjs-demo.js
) to hold all demo code - now used by both the browser and the node demos.
v1.2.0 (2017-02-15)
Implemented Enhancements:
- Pagination for
slideObj.addTable()
? #21 (TheDorkSide74) - Add support for media (Audio,Video,YouTube) #26 (shashank2104)
- How to set text shadow? #28 (itskun)
- Allow custom Layout sizes (ex: A3) #29 (itskun)
- Table cell marginPt should allow zero and take TRBL array #32 (ellisgl)
- Formatting rules do not apply to string with '\n' in
addText()
#34 (itskun) - Node module appends to last generated PPT on
save()
#38 (alexanderpepper) - callback support for save method #40 (ellisgl)
- Callback for save method (nodejs only) #41 (ellisgl)
Fixed Bugs:
v1.1.6 (2017-01-19)
Implemented Enhancements:
- Support for animated GIFs in
addImage()
#22 (shashank2104) - Added new
slideNumber
option allowingx
andy
placement of slide number #25 (priyaraskar)
v1.1.5 (2017-01-17)
Fixed Bugs:
- Trouble running in NW.js #19 (GregReser)
- Supported usage via node program instead of HTML #23 (parsleyt)
v1.1.4 (2017-01-04)
Fixed Bugs:
- Table formatting options set to default on empty cells #20 (rikvdk)
- Fixed issue with
addTable()
where passing "#" before hex value forcolor
orfill
option would generate an invalid slide
v1.1.3 (2016-12-28)
Implemented Enhancements:
- Add new options to
addSlidesForTable()
allowing for placement and size:x
,y
,w
,h
#18 (priyaraskar)
Fixed Bugs:
- Cannot read property 'opts' of null #17 (ninas880025)
v1.1.2 (2016-12-16)
Implemented Enhancements:
- The Slide
addTable()
method was modified to reduce the options passed from 2 objects to a single one
Fixed Bugs:
- The colW
addTable()
option is not working #15 (ninas880025) - Modified
addSlidesForTable()
: table selectors made more specific by selecting only direct children now (nested tables would cause excessive looping) #14 (forrahul123) - Fixed crash caused by calling
addText
without an options object
v1.1.1 (2016-12-08)
Implemented Enhancements:
- Major documentation update
- Added instructions to
pptxgenjs.masters.js
file, plus more examples and code - Added sandbox/ad-hoc code area to demo page
Fixed Bugs:
v1.1.0 (2016-11-22)
Implemented Enhancements:
- Added support for base64-encoded images
- Adding npm dependencies #4 (DzmitryDulko)
- Added support for italic text #6 (stevenljacobsen)
- Added ability to selectively override Master Slide background color/image #7 (stevenljacobsen)
- How can customize pptx theme? #9 (ielijose)
- Add Rectangle to supported Master Slide shapes #10 (ielijose)
- Added support for bulleted text #11 (gojko)
Fixed Bugs:
v1.0.1 (2016-09-03)
Implemented enhancements:
- Moved from
cx
andcy
option keys tow
andh
- Adding ability to load data uri as images/Updating jszip library #2 (DzmitryDulko)
- Publish library as npm package #3 (DzmitryDulko)
Fixed Bugs:
- Fixed resource references #1 (DzmitryDulko)
v1.0.0 (2016-03-29)
Initial Release