Download Latest Version 1.4.0 source code.tar.gz (284.2 kB)
Email in envelope

Get an email when there's a new version of PHPWord

Home / 1.2.0
Name Modified Size InfoDownloads / Week
Parent folder
1.2.0 source code.tar.gz 2023-11-30 270.1 kB
1.2.0 source code.zip 2023-11-30 502.6 kB
README.md 2023-11-30 4.8 kB
Totals: 3 Items   777.5 kB 1

Enhancements

  • Word2007 Reader/Writer : Added noWrap table cell property by @kernusr in [#2359]
  • HTML Reader : Support for font-variant: small-caps by @cambraca in [#2117]
  • Improved TextDirection for styling a cell by @terryzwt in [#2429]
  • Word2007 Reader : Added option to disable loading images by @aelliott1485 in [#2450]
  • HTML Writer : Added border-spacing to default styles for table by @kernusr in [#2451]
  • Word2007 Reader : Support for table cell borders and margins by @kernusr in [#2454]
  • PDF Writer : Add config for defining the default font by @MikeMaldini in [#2262] & [#2468]
  • Word2007 Reader : Added support for Comments by @shaedrich in [#2161] & [#2469]
  • Word2007 Reader/Writer: Permit book-fold printing by @potofcoffee in [#2225] & [#2470]
  • Word2007 Writer : Add PageNumber to TOC by @jet-desk in [#1652] & [#2471]
  • Word2007 Reader/Writer + ODText Reader/Writer : Add Element Formula in by @Progi1984 in [#2477]
  • Add Support for Various Missing Features in HTML Writer by @oleibman in [#2475]
  • Fixed addHTML (text-align:right in html is not handled correctly) in [#2467]
  • HTML Writer : Added ability to specify generic fallback font
  • HTML Writer : Added ability to specify handling of whitespace
  • HTML Writer : Added support for Table Border style, color, and size
  • HTML Writer : Added support for empty paragraphs (Word writer permits, browsers generally suppress)
  • HTML Writer : Paragraph style should support indentation, line-height, page-break-before
  • HTML Writer : Removed margin-top/bottom when spacing is null in Paragraph style
  • HTML Writer : Added default paragraph style to all paragraphs, as well as class Normal
  • HTML Writer : Use css @page and page declarations for sections
  • HTML Writer : Wrap sections in div, with page break before each (except first)
  • PDF Writer : Added support for PageBreak
  • PDF Writer : Added callback for modifying the HTML
  • Added Support for Language, both for document overall and individual text elements
  • Template : Set a checkbox by @nxtpge in [#2509]
  • ODText / RTF / Word2007 Writer : Add field FILENAME by @milkyway-git in [#2510]
  • ODText Reader : Improve Section Reader by @oleibman in [#2507]

Bug fixes

  • Fixed wrong mimetype for docx files by @gamerlv in [#2416]
  • Word2007 Reader : Read hyperlingks in headings by @hannesdorn in [#2433]
  • PclZip : strtr using empty string by @spl1nes in [#2432]
  • Fixed PHP 8.2 deprecated about Allow access to an undefined property by @DAdq26 in [#2440]
  • Template Processor : Fixed choose dimention for Float Value by @gdevilbat in [#2449]
  • HTML Parser : Fix image parsing from url without extension by @JokubasR in [#2459]
  • Word2007 Reader : Fixed reading of Office365 DocX file by @filippotoso & @lfglopes in [#2506]
  • Word2007 Reader : Check for null on $fontDefaultStyle by @spatialfree in [#2513]

Miscellaneous

  • Added PHPStan by @PowerKiKi in [#2405]
  • Bump symfony/process from 4.4.44 to 5.4.26 by @dependabot in [#2431]
  • Bump phpunit/phpunit from 9.6.8 to 9.6.10 by @dependabot in [#2430]
  • Added Coveralls.io by @Progi1984 in [#2452]
  • Added support for PHP 8.2 & PHP 8.3 by @Progi1984 in [#2453]
  • Moved documention from ReadTheDocs to MkDocs & Github Pages by @Progi1984 in [#2465]
  • Bump phpstan/phpstan-phpunit from 1.3.13 to 1.3.14 by @dependabot in [#2457]
  • Bump symfony/process from 5.4.26 to 5.4.28 by @dependabot in [#2456]
  • Bump phpunit/phpunit from 9.6.10 to 9.6.11 by @dependabot in [#2455]
  • Remove deprecated utf8_encode in PHP 8.2 by @mhcwebdesign in [#2447] & [#2472]
  • Bump mpdf/mpdf from 8.1.6 to 8.2.0 by @dependabot in [#2480]
  • Bump phpunit/phpunit from 9.6.11 to 9.6.13 by @dependabot in [#2481]
  • Bump tecnickcom/tcpdf from 6.6.2 to 6.6.5 by @dependabot in [#2482]
  • Bump phpmd/phpmd from 2.13.0 to 2.14.1 by @dependabot in [#2483]
  • Bump phpstan/phpstan-phpunit from 1.3.14 to 1.3.15 by @dependabot in [#2494]

BC Breaks

  • Removed dependency laminas/laminas-escaper

New Contributors

Full Changelog: https://github.com/PHPOffice/PHPWord/compare/1.1.0...1.2.0

Source: README.md, updated 2023-11-30