1.4.0 (WIP)
Enhancements
-
Default Font: Allow specify Asisn font and Latin font separately
-
Writer ODText: Support for ListItemRun by @Progi1984 fixing #2159, #2620 in #2669
- Writer HTML: Support for vAlign in Tables by @SpraxDev in #2675
- Writer Word2007: Support for padding in Table Cell by @Azamat8405 in #2697
- Added support for PHP 8.4 by @Progi1984 in #2660
- Autoload : Allow to use PHPWord without Composer fixing #2543, #2552, #2716, #2717 in #2722
- Add Default font color for Word by @Collie-IT in #2700
- Writer HTML: Support Default font color by @MichaelPFrey in #2731
- Writer ODText: Support Default font color by @MichaelPFrey in #2735
- Add basic ruby text (phonetic guide) support for Word2007 and HTML Reader/Writer, RTF Writer, basic support for ODT writing by @Deadpikle in #2727
- Reader HTML: Support font styles for h1/h6 by @Progi1984 fixing #2619 in #2737
- Writer EPub3: Basic support by @Sambit003 fixing #55 in #2724
- Writer Word2007: Added support for background and border color transparency in Text Box element by @chudy20007 in #2555
- Writer/Reader Word2007: Added support for the firstLineChars for Indentation by @liuzhilinux & @Progi1984 in #2753
Bug fixes
- Writer ODText: Support for images inside a textRun by @Progi1984 fixing #2240 in #2668
- Allow vAlign and vMerge on Style\Cell to be set to null by @SpraxDev fixing #2673 in #2676
- Reader HTML: Support for differents size units for table by @Progi1984 fixing #2384, #2701 in #2725
- Reader Word2007: Respect paragraph indent units by @tugmaks & @Progi1984 fixing #507 in #2726
- Reader Word2007: Support Header elements within Title elements by @SpraxDev fixing #2616, #2426 in #2674
- Reader HTML: Support for inherit value for property line-height by @Progi1984 fixing #2683 in #2733
- Writer HTML: Fixed null string for Text Elements by @armagedon007 and @Progi1984 in #2738
- Template Processor: Fix 0 considered as empty string by @cavasinf, @SnipsMine and @Progi1984 fixing #2572, #2703 in #2748
- Word2007 Writer : Corrected generating TOC to fix page number missing issues @jgiacomello in #2556
Miscellaneous
- Bump dompdf/dompdf from 2.0.4 to 3.0.0 by @dependabot fixing #2621 in #2666
- Add test case to make sure vMerge defaults to 'continue' by @SpraxDev in #2677
- Adding the possibility to use iterate search and replace with setValues by @moghwan in #2632
- Add test cases that test the ODTText and Word2007 reader using the corresponding writer, increasing test coverage by @MichaelPFrey in #2745
Deprecations
- Deprecate
PhpOffice\PhpWord\Style\Paragraph::getIndent()
: UsePhpOffice\PhpWord\Style\Paragraph::getIndentLeft()
- Deprecate
PhpOffice\PhpWord\Style\Paragraph::setHanging()
: UsePhpOffice\PhpWord\Style\Paragraph::setIndentHanging()
- Deprecate
PhpOffice\PhpWord\Style\Paragraph::setIndent()
: UsePhpOffice\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 #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.