Enhancements
- Default Font: Allow specify Asisn font and Latin font separately
- Writer ODText: Support for ListItemRun by @Progi1984 fixing PHPOffice#2159, PHPOffice#2620 in PHPOffice#2669
- Writer HTML: Support for vAlign in Tables by @SpraxDev in PHPOffice#2675
- Writer Word2007: Support for padding in Table Cell by @Azamat8405 in PHPOffice#2697
- Added support for PHP 8.4 by @Progi1984 in PHPOffice#2660
- Autoload : Allow to use PHPWord without Composer fixing PHPOffice#2543, PHPOffice#2552, PHPOffice#2716, PHPOffice#2717 in PHPOffice#2722
- Add Default font color for Word by @Collie-IT in PHPOffice#2700
- Writer HTML: Support Default font color by @MichaelPFrey in PHPOffice#2731
- Writer ODText: Support Default font color by @MichaelPFrey in PHPOffice#2735
- Add basic ruby text (phonetic guide) support for Word2007 and HTML Reader/Writer, RTF Writer, basic support for ODT writing by @Deadpikle in PHPOffice#2727
- Reader HTML: Support font styles for h1/h6 by @Progi1984 fixing PHPOffice#2619 in PHPOffice#2737
- Writer EPub3: Basic support by @Sambit003 fixing PHPOffice#55 in PHPOffice#2724
- Writer Word2007: Added support for background and border color transparency in Text Box element by @Chudy20007 in PHPOffice#2555
- Writer/Reader Word2007: Added support for the firstLineChars for Indentation by @liuzhilinux & @Progi1984 in PHPOffice#2753
Bug fixes
- Writer ODText: Support for images inside a textRun by @Progi1984 fixing PHPOffice#2240 in PHPOffice#2668
- Allow vAlign and vMerge on Style\Cell to be set to null by @SpraxDev fixing PHPOffice#2673 in PHPOffice#2676
- Reader HTML: Support for differents size units for table by @Progi1984 fixing PHPOffice#2384, PHPOffice#2701 in PHPOffice#2725
- Reader Word2007: Respect paragraph indent units by @tugmaks & @Progi1984 fixing PHPOffice#507 in PHPOffice#2726
- Reader Word2007: Support Header elements within Title elements by @SpraxDev fixing PHPOffice#2616, PHPOffice#2426 in PHPOffice#2674
- Reader HTML: Support for inherit value for property line-height by @Progi1984 fixing PHPOffice#2683 in PHPOffice#2733
- Writer HTML: Fixed null string for Text Elements by @armagedon007 and @Progi1984 in PHPOffice#2738
- Template Processor: Fix 0 considered as empty string by @cavasinf, @SnipsMine and @Progi1984 fixing PHPOffice#2572, PHPOffice#2703 in PHPOffice#2748
- Word2007 Writer : Corrected generating TOC to fix page number missing issues @jgiacomello in PHPOffice#2556
- Enhanced error handling in encoding functions @michalschroeder in PHPOffice#2784
Miscellaneous
- Bump dompdf/dompdf from 2.0.4 to 3.0.0 by https://github.com/dependabot fixing PHPOffice#2621 in PHPOffice#2666
- Add test case to make sure vMerge defaults to 'continue' by @SpraxDev in PHPOffice#2677
- Adding the possibility to use iterate search and replace with setValues by @moghwan in PHPOffice#2632
- Add test cases that test the ODTText and Word2007 reader using the corresponding writer, increasing test coverage by @MichaelPFrey in PHPOffice#2745
- Updated TOCTest to use static HTML content instead of external resource @michalschroeder in PHPOffice#2784
- Bump PHPOffice/math from 0.2.0 to 0.3.0 by @eileenmcnaughton in PHPOffice#2785
Deprecations
- Deprecate PhpOffice\PhpWord\Style\Paragraph::getIndent() : Use PhpOffice\PhpWord\Style\Paragraph::getIndentLeft()
- Deprecate PhpOffice\PhpWord\Style\Paragraph::setHanging() : Use PhpOffice\PhpWord\Style\Paragraph::setIndentHanging()
- Deprecate PhpOffice\PhpWord\Style\Paragraph::setIndent() : Use PhpOffice\PhpWord\Style\Paragraph::setIndentLeft()
BC Breaks
Notes
- Writer ODText previously used to set 'style:use-window-font-color' to 'true', now it is set to 'false'. (see PHPOffice#2735)
The effect of this attribute is "implementation dependent" (if implemented at all).
Setting it to false allows setting a default font color and improves interoperabilt, but may break certain specific use cases.