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()fitoption ('none' | 'shrink' | 'resize') addresses long-standing issues with shrink/resize objects (new demo page as well) - Fix for Angular "
Bufferis unknown" issue - Major update of typescript defs, including tons of documentation that has been added
BREAKING CHANGES
- TypeScript users:
fillproperty no longer accepts strings, onlyShapeFilltype 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
dataTableFormatCodeandvalLabelFormatCode#489 (phobos7000) #684 (hanzi) - Added: Background image for slides (deprecated
bkgd:stringwithbackground:BkgdOpts) #610 (thomasowow) - Added:
shapeNameto objects instead of default #724 (Offbeatmammal) - Added:
valAxisDisplayUnitLabelOption #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
addHeaderToEachfinally duplicates all header rows, not just the first one #262 (okaiyong) - Fixed
colWlength mismatch with colspans (Issue #651) #679 (Joshua-rose) - Fixed: hyperlink and tooltip property
rIdis not working? #758 (kuldeept70) - Fixed: removed old/unused options from demo #759 (sijmenvos)
- Fixed: removed
Buffertype fromindex.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
fitprop, removedautoFit/shrinkText, new demo slide #779 (DonnaZukowskiPfizer) (ReimaFrgos) - Fixed: EMU calculations are not safe (calcPointValue in gen-xml) #781 (CroniD)
- Fixed: type defs for
TableCell.textnot correct (gitbrent) - Fixed: type defs for
ITableOptionss/bTableOptions(gitbrent)