Skip to content

0.14.0 (29 Dec 2017)

This release fixes several bugs and adds some new features. This version brings compatibility with PHP 7.0 & 7.1

Added

  • Possibility to control the footnote numbering -by @troosan in #1068
  • Image creation from string -by @troosan in #937
  • Introduced the \PhpOffice\PhpWord\SimpleType\NumberFormat simple type. - @troosan
  • Support for ContextualSpacing -by @postHawk in #1088
  • Possiblity to hide spelling and/or grammatical errors -by @troosan in #542
  • Possiblity to set default document language as well as changing the language for each text element -by @troosan in #1108
  • Support for Comments -by @troosan in #1067
  • Support for paragraph textAlignment -by @troosan in #1165
  • Add support for HTML underline tag <u> in addHtml -by @zNightFalLz in #1186
  • Add support for HTML <br> in addHtml - @anrikunby @troosan in #659
  • Allow to change cell width unit - guillaume-ro-fr #986
  • Allow to change the line height rule @troosan
  • Implement PageBreak for odt writerby @cookiekiller in #863 #824
  • Allow to force an update of all fields on opening a document -by @troosan in #951
  • Allow adding a CheckBox in a TextRun -by @irond in #727
  • Add support for HTML img tag -by @srggroup in #934
  • Add support for password protection for docx -by @mariahaubner in #1019

Fixed

  • Loosen dependency to Zend
  • Images are not being printed when generating PDF -by @hubertinio in #1074 #431
  • Fixed some PHP 7 warnings - @ likeuntomurphy #927
  • Fixed PHP 7.2 compatibility (renamed Object class names to ObjectElement) -by @SailorMax in #1185
  • Fixed Word 97 reader - @alsofronie @Benpxpxby @mario-rivera in #912 #920 #892
  • Fixed image loading over https -by @troosan in #988
  • Impossibility to set different even and odd page headers -by @troosan in #981
  • Fixed Word2007 reader where unnecessary paragraphs were being created -by @donghaobo in #1043 #620
  • Fixed Word2007 reader where margins were not being read correctly -by @slowprog in #885 #1008
  • Impossible to add element PreserveText in Section -by @rvanlaak in #452
  • Added missing options for numbering format -by @troosan in #1041
  • Fixed impossibility to set a different footer for first page -by @ctrlaltca in #1116,by @aoloe in #875
  • Fixed styles not being applied by HTML writer, better pdf output -by @sarke in #1047 #500 #1139
  • Fixed read docx error when document contains image from remote url -by @FBnil in #1173 #1176
  • Padded the $args array to remove error -by @kaigoh in #1150,by @reformed in #870
  • Fix incorrect image size between windows and mac -by @bskrtich in #874
  • Fix adding HTML table to document - @mogilvieby @arivanbastos in #324
  • Fix parsing on/off values (w:val="true|false|1|0|on|off") -by @troosan in #1221 #1219
  • Fix error on Empty Dropdown Entry -by @ComputerTinker in #592

Deprecated

  • PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();