github gitbrent/PptxGenJS v3.3.0
Version 3.3.0

latest releases: v4.0.1, v4.0.0, v3.12.0...
5 years ago

Major Change Summary

  • The addTable() method finally supports auto-paging, including support for repeating table headers!
  • The addText() method text layout engine has been rewritten from scratch and handles every type of layout case now
  • New addText() fit option ('none' | 'shrink' | 'resize') addresses long-standing issues with shrink/resize objects (new demo page as well)
  • Fix for Angular "Buffer is unknown" issue
  • Major update of typescript defs, including tons of documentation that has been added

BREAKING CHANGES

  • TypeScript users: fill property no longer accepts strings, only ShapeFill type now (sorry!)
  • All users: table and textbox text linebreaks may act differently! (a major rewrite to correct long-standing issues with alignment/breakLine finally landed)

Added

  • Added: Auto-Paging finally comes to addTable() #262 (okaiyong)
  • Added: Chart DataTable formatting dataTableFormatCode and valLabelFormatCode #489 (phobos7000) #684 (hanzi)
  • Added: Background image for slides (deprecated bkgd:string with background:BkgdOpts) #610 (thomasowow)
  • Added: shapeName to objects instead of default #724 (Offbeatmammal)
  • Added: valAxisDisplayUnitLabel Option #765 (hysh)
  • Added: Ability to create a hyperlink on a shape #767 (CroniD)

Changed

  • Fixed: complete rewrite of genXmlTextBody for new text run/paragraph generation. Fixes: #369
    #448, #460, #751, #772
  • Fixed: tableToSlides addHeaderToEach finally duplicates all header rows, not just the first one #262 (okaiyong)
  • Fixed colW length mismatch with colspans (Issue #651) #679 (Joshua-rose)
  • Fixed: hyperlink and tooltip property rId is not working? #758 (kuldeept70)
  • Fixed: removed old/unused options from demo #759 (sijmenvos)
  • Fixed: removed Buffer type from index.ts.d #761 (lustigerlurch551)
  • Fixed: addSection does not escape XML unsafe characters #774 (pimlottc-gov)
  • Fixed: Multiple Border Types not supported in Table Cell #775 (jsvishal)
  • Fixed: New ITextOpts fit prop, removed autoFit/shrinkText, new demo slide #779 (DonnaZukowskiPfizer) (ReimaFrgos)
  • Fixed: EMU calculations are not safe (calcPointValue in gen-xml) #781 (CroniD)
  • Fixed: type defs for TableCell.text not correct (gitbrent)
  • Fixed: type defs for ITableOptions s/b TableOptions (gitbrent)

Don't miss a new PptxGenJS release

NewReleases is sending notifications on new releases.