1.0.0 (2022-11-15)
BREAKING CHANGE
Most deprecated things were dropped. See details in https://github.com/PHPOffice/PHPWord/commit/b9f1151bc6f90c276153c3c9dca10a5fc7f355fb.
Dropped classes:
PhpOffice\PhpWord\Template
Dropped constants:
PhpOffice\PhpWord\Style\Font::UNDERLINE_DOTHASHPhpOffice\PhpWord\Style\Font::UNDERLINE_DOTHASHHEAVYPhpOffice\PhpWord\Style\Cell::VALIGN_TOPPhpOffice\PhpWord\Style\Cell::VALIGN_CENTERPhpOffice\PhpWord\Style\Cell::VALIGN_BOTTOMPhpOffice\PhpWord\Style\Cell::VALIGN_BOTHPhpOffice\PhpWord\Style\TOC::TABLEADER_DOTPhpOffice\PhpWord\Style\TOC::TABLEADER_UNDERSCOREPhpOffice\PhpWord\Style\TOC::TABLEADER_LINEPhpOffice\PhpWord\Style\TOC::TABLEADER_NONEPhpOffice\PhpWord\Style\Table::WIDTH_AUTOPhpOffice\PhpWord\Style\Table::WIDTH_PERCENTPhpOffice\PhpWord\Style\Table::WIDTH_TWIPPhpOffice\PhpWord\PhpWord::DEFAULT_FONT_NAMEPhpOffice\PhpWord\PhpWord::DEFAULT_FONT_SIZEPhpOffice\PhpWord\PhpWord::DEFAULT_FONT_COLORPhpOffice\PhpWord\PhpWord::DEFAULT_FONT_CONTENT_TYPE
Dropped methods:
PhpOffice\PhpWord\Ekement\AbstractContainer::createTextRun()PhpOffice\PhpWord\Ekement\AbstractContainer::createFootnote()PhpOffice\PhpWord\Ekement\Footnote::getReferenceId()PhpOffice\PhpWord\Ekement\Footnote::setReferenceId()PhpOffice\PhpWord\Ekement\Image::getIsWatermark()PhpOffice\PhpWord\Ekement\Image::getIsMemImage()PhpOffice\PhpWord\Ekement\Link::getTarget()PhpOffice\PhpWord\Ekement\Link::getLinkSrc()PhpOffice\PhpWord\Ekement\Link::getLinkName()PhpOffice\PhpWord\Ekement\OLEObject::getObjectId()PhpOffice\PhpWord\Ekement\OLEObject::setObjectId()PhpOffice\PhpWord\Ekement\Section::getFootnotePropoperties()PhpOffice\PhpWord\Ekement\Section::setSettings()PhpOffice\PhpWord\Ekement\Section::getSettings()PhpOffice\PhpWord\Ekement\Section::createHeader()PhpOffice\PhpWord\Ekement\Section::createFooter()PhpOffice\PhpWord\Ekement\Section::getFooter()PhpOffice\PhpWord\Media::addSectionMediaElement()PhpOffice\PhpWord\Media::addSectionLinkElement()PhpOffice\PhpWord\Media::getSectionMediaElements()PhpOffice\PhpWord\Media::countSectionMediaElements()PhpOffice\PhpWord\Media::addHeaderMediaElement()PhpOffice\PhpWord\Media::countHeaderMediaElements()PhpOffice\PhpWord\Media::getHeaderMediaElements()PhpOffice\PhpWord\Media::addFooterMediaElement()PhpOffice\PhpWord\Media::countFooterMediaElements()PhpOffice\PhpWord\Media::getFooterMediaElements()PhpOffice\PhpWord\PhpWord::getProtection()PhpOffice\PhpWord\PhpWord::loadTemplate()PhpOffice\PhpWord\PhpWord::createSection()PhpOffice\PhpWord\PhpWord::getDocumentProperties()PhpOffice\PhpWord\PhpWord::setDocumentProperties()PhpOffice\PhpWord\Reader\AbstractReader::getReadDataOnly()PhpOffice\PhpWord\Settings::getCompatibility()PhpOffice\PhpWord\Style\AbstractStyle::setArrayStyle()PhpOffice\PhpWord\Style\Cell::getDefaultBorderColor()PhpOffice\PhpWord\Style\Font::getBold()PhpOffice\PhpWord\Style\Font::getItalic()PhpOffice\PhpWord\Style\Font::getSuperScript()PhpOffice\PhpWord\Style\Font::getSubScript()PhpOffice\PhpWord\Style\Font::getStrikethrough()PhpOffice\PhpWord\Style\Font::getParagraphStyle()PhpOffice\PhpWord\Style\Frame::getAlign()PhpOffice\PhpWord\Style\Frame::setAlign()PhpOffice\PhpWord\Style\NumberingLevel::getAlign()PhpOffice\PhpWord\Style\NumberingLevel::setAlign()PhpOffice\PhpWord\Style\Paragraph::getAlign()PhpOffice\PhpWord\Style\Paragraph::setAlign()PhpOffice\PhpWord\Style\Paragraph::getWidowControl()PhpOffice\PhpWord\Style\Paragraph::getKeepNext()PhpOffice\PhpWord\Style\Paragraph::getKeepLines()PhpOffice\PhpWord\Style\Paragraph::getPageBreakBefore()PhpOffice\PhpWord\Style\Row::getTblHeader()PhpOffice\PhpWord\Style\Row::isTblHeader()PhpOffice\PhpWord\Style\Row::getCantSplit()PhpOffice\PhpWord\Style\Row::getExactHeight()PhpOffice\PhpWord\Style\Spacing::getRule()PhpOffice\PhpWord\Style\Spacing::setRule()PhpOffice\PhpWord\Style\Table::getAlign()PhpOffice\PhpWord\Style\Table::setAlign()PhpOffice\PhpWord\Writer\AbstractWriter::getUseDiskCaching()PhpOffice\PhpWord\Writer\HTML::writeDocument()
Bug fixes
- Multiple PHP 8.1 fixes
loadConfigreturns config that was actually applied- HTML Reader : Override inline style on HTML attribute for table
- HTML Reader : Use
borderattribute for tables - HTML Reader : Style page-break-after in paragraph
- HTML Reader : Heading in Text Run is not allowed
Miscellaneous
- Drop support for PHP 7.0 and older