PHPWord v0.14.0 Release Notes
Release Date: 2017-12-29 // over 6 years ago-
๐ This release fixes several bugs and adds some new features.
โ PHP 7.0 and 7.1 are now supported without warnings.โ Added
- Possibility to control the footnote numbering - @troosan #1068
- Image creation from string - @troosan #937
- Introduced the
\PhpOffice\PhpWord\SimpleType\NumberFormat
simple type. - @troosan - ๐ Support for ContextualSpacing - @postHawk #1088
- Possiblity to hide spelling and/or grammatical errors - @troosan #542
- 0๏ธโฃ Possiblity to set default document language as well as changing the language for each text element - @troosan #1108
- ๐ Support for Comments - @troosan #1067
- ๐ Support for paragraph textAlignment - @troosan #1165
- โ Add support for HTML underline tag in addHtml - @zNightFalLz #1186
- ๐ Allow to change cell width unit - @guillaume-ro-fr #986
- ๐ Allow to change the line height rule @troosan
- Implement PageBreak for odt writer @cookiekiller #863 #824
- ๐ Allow to force an update of all fields on opening a document - @troosan #951
- ๐ Allow adding a CheckBox in a TextRun - @irond #727
- โ Add support for HTML img tag - @srggroup #934
- โ Add support for password protection for docx - @mariahaubner #1019
๐ Fixed
- Loosen dependency to Zend
- ๐จ Images are not being printed when generating PDF - @hubertinio #1074 #431
- ๐ Fixed some PHP 7 warnings - @ likeuntomurphy #927
- ๐ Fixed Word 97 reader - @alsofronie @Benpxpx @mario-rivera #912 #920 #892
- ๐ Fixed image loading over https - @troosan #988
- Impossibility to set different even and odd page headers - @troosan #981
- ๐ Fixed Word2007 reader where unnecessary paragraphs were being created - @donghaobo #1043 #620
- ๐ Fixed Word2007 reader where margins were not being read correctly - @slowprog #885 #1008
- Impossible to add element PreserveText in Section - @rvanlaak #452
- โ Added missing options for numbering format - @troosan #1041
- ๐ Fixed impossibility to set a different footer for first page - @ctrlaltca #1116, @aoloe #875
- ๐ Fixed styles not being applied by HTML writer, better pdf output - @Sarke #1047 #500 #1139
- ๐ Fixed read docx error when document contains image from remote url - @FBnil #1173 #1176
- ๐ Padded the $args array to remove error - @kaigoh #1150, @reformed #870
- ๐ Fix incorrect image size between windows and mac - @bskrtich #874
- ๐ Fix adding HTML table to document - @mogilvie @arivanbastos #324
- ๐ Fix parsing on/off values (w:val="true|false|1|0|on|off") - @troosan #1221 #1219
- ๐ Fix error on Empty Dropdown Entry - @ComputerTinker #592
๐ Deprecated
- PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();