docs/changes/0.x/0.13.0.md
This release brings several improvements in TemplateProcessor, automatic output escaping feature for OOXML, ODF, HTML, and RTF (turned off, by default).
It also introduces constants for horizontal alignment options, and resolves some issues with PHP 7.
Manual installation feature has been dropped since the release. Please, use Composer to install PHPWord.
\PhpOffice\PhpWord\SimpleType\Jc simple type. - @RomanSyroeshko\PhpOffice\PhpWord\SimpleType\JcTable simple type. - @RomanSyroeshko\PhpOffice\PhpWord\Writer\Word2007\Element\ParagraphAlignment). - @RomanSyroeshko\PhpOffice\PhpWord\Writer\Word2007\Element\TableAlignment). - @RomanSyroeshkoTemplateProcessor::setValue(). - @RomanSyroeshko #618phpword.ini or \PhpOffice\PhpWord\Settings. - @RomanSyroeshko #483TemplateProcessor::applyXslStyleSheet(). - @RomanSyroeshko #335autoload.php is not found. - @RomanSyroeshko #371align option of NumberingLevel, Frame, Table, and Paragraph styles into alignment. - @RomanSyroeshkoTemplateProcessor::setValue(). - @kazitanvirahsan #614, #617getAlign and setAlign methods of NumberingLevel, Frame, Table, and Paragraph styles.
Use the correspondent getAlignment and setAlignment methods instead. - @RomanSyroeshkoleft, right, and justify alignment options for paragraphs (now are mapped to Jc::START, Jc::END, and Jc::BOTH). - @RomanSyroeshkoleft, right, and justify alignment options for tables (now are mapped to Jc::START, Jc::END, and Jc::CENTER). - @RomanSyroeshkoTCPDF due to its limited HTML support. Use DomPDF or MPDF writer instead. - @RomanSyroeshko #399\PhpOffice\PhpWord\Style\Alignment. Style properties, which previously stored instances of this class, now deal with strings.
In each case set of available string values is defined by the correspondent simple type. - @RomanSyroeshko\PhpOffice\PhpWord\Autoloader, because the latter change made it completely useless.
Autoloaders provided by Composer are in use now (see bootstrap.php). - @RomanSyroeshko\PhpOffice\PhpWord\Shared\Drawing replaced by \PhpOffice\Common\Drawing. - @Progi1984 #658\PhpOffice\PhpWord\Shared\Font. - @Progi1984 #658\PhpOffice\PhpWord\Shared\String replaced by \PhpOffice\Common\Text. - @Progi1984 @RomanSyroeshko #658\PhpOffice\PhpWord\Shared\XMLReader replaced by \PhpOffice\Common\XMLReader. - @Progi1984 #658\PhpOffice\PhpWord\Shared\XMLWriter replaced by \PhpOffice\Common\XMLWriter. - @Progi1984 @RomanSyroeshko #658AbstractContainer::addMemoryImage(). Use AbstractContainer::addImage() instead.Undefined property error while reading MS-DOC documents. - @jaberu #610$ sign.
That case wasn't taken into account in implementation of TemplateProcessor::fixBrokenMacros(). - @RomanSyroeshko @d-damien #548