Deprecated
Table of Contents
AbstractContainer.php
| Line | Element | Reason |
|---|---|---|
| 296 | AbstractContainer::createTextRun() | |
| 312 | AbstractContainer::createFootnote() |
Footnote.php
| Line | Element | Reason |
|---|---|---|
| 72 | Footnote::getReferenceId() | |
| 85 | Footnote::setReferenceId() |
Image.php
| Line | Element | Reason |
|---|---|---|
| 586 | Image::getIsWatermark() | |
| 598 | Image::getIsMemImage() |
Link.php
| Line | Element | Reason |
|---|---|---|
| 138 | Link::getTarget() | |
| 152 | Link::getLinkSrc() | |
| 166 | Link::getLinkName() |
OLEObject.php
| Line | Element | Reason |
|---|---|---|
| 151 | OLEObject::getObjectId() | |
| 165 | OLEObject::setObjectId() |
Section.php
| Line | Element | Reason |
|---|---|---|
| 163 | Section::getFootnotePropoperties() | Use the `getFootnoteProperties` method instead |
| 243 | Section::setSettings() | |
| 257 | Section::getSettings() | |
| 271 | Section::createHeader() | |
| 285 | Section::createFooter() | |
| 299 | Section::getFooter() |
Media.php
PhpWord.php
| Line | Element | Reason |
|---|---|---|
| 191 | PhpWord::getProtection() | Get the Document protection from PhpWord->getSettings()->getDocumentProtection(); |
| 333 | PhpWord::loadTemplate() | Use `new TemplateProcessor($documentTemplate)` instead. |
| 389 | PhpWord::createSection() | |
| 403 | PhpWord::getDocumentProperties() | |
| 419 | PhpWord::setDocumentProperties() | |
| 54 | PhpWord::DEFAULT_FONT_NAME | Use Settings constants |
| 58 | PhpWord::DEFAULT_FONT_SIZE | Use Settings constants |
| 62 | PhpWord::DEFAULT_FONT_COLOR | Use Settings constants |
| 66 | PhpWord::DEFAULT_FONT_CONTENT_TYPE | Use Settings constants |
AbstractReader.php
| Line | Element | Reason |
|---|---|---|
| 120 | AbstractReader::getReadDataOnly() |
Settings.php
| Line | Element | Reason |
|---|---|---|
| 476 | Settings::getCompatibility() |
Jc.php
| Line | Element | Reason |
|---|---|---|
| 52 | Jc::LEFT | For documents based on ISO/IEC 29500:2008 and later use `START` instead. |
| 59 | Jc::RIGHT | For documents based on ISO/IEC 29500:2008 and later use `END` instead. |
| 66 | Jc::JUSTIFY | For documents based on ISO/IEC 29500:2008 and later use `BOTH` instead. |
AbstractStyle.php
| Line | Element | Reason |
|---|---|---|
| 350 | AbstractStyle::setArrayStyle() |
Cell.php
| Line | Element | Reason |
|---|---|---|
| 336 | Cell::getDefaultBorderColor() | |
| 34 | Cell::VALIGN_TOP | Use \PhpOffice\PhpWord\SimpleType\VerticalJc::TOP instead |
| 38 | Cell::VALIGN_CENTER | Use \PhpOffice\PhpWord\SimpleType\VerticalJc::CENTER instead |
| 42 | Cell::VALIGN_BOTTOM | Use \PhpOffice\PhpWord\SimpleType\VerticalJc::BOTTOM instead |
| 46 | Cell::VALIGN_BOTH | Use \PhpOffice\PhpWord\SimpleType\VerticalJc::BOTH instead |
Font.php
| Line | Element | Reason |
|---|---|---|
| 885 | Font::getBold() | |
| 897 | Font::getItalic() | |
| 909 | Font::getSuperScript() | |
| 921 | Font::getSubScript() | |
| 933 | Font::getStrikethrough() | |
| 945 | Font::getParagraphStyle() | |
| 39 | Font::UNDERLINE_DOTHASH | use UNDERLINE_DOTHASH instead, TODO remove in version 1.0 |
| 43 | Font::UNDERLINE_DOTHASHHEAVY | use UNDERLINE_DOTDASHHEAVY instead, TODO remove in version 1.0 |
Frame.php
| Line | Element | Reason |
|---|---|---|
| 253 | Frame::getAlign() | Use the `getAlignment` method instead. |
| 267 | Frame::setAlign() | Use the `setAlignment` method instead. |
NumberingLevel.php
| Line | Element | Reason |
|---|---|---|
| 324 | NumberingLevel::getAlign() | Use the `getAlignment` method instead. |
| 338 | NumberingLevel::setAlign() | Use the `setAlignment` method instead. |
Paragraph.php
| Line | Element | Reason |
|---|---|---|
| 280 | Paragraph::getAlign() | Use the `getAlignment` method instead. |
| 294 | Paragraph::setAlign() | Use the `setAlignment` method instead. |
| 724 | Paragraph::getWidowControl() | |
| 736 | Paragraph::getKeepNext() | |
| 748 | Paragraph::getKeepLines() | |
| 760 | Paragraph::getPageBreakBefore() |
Row.php
| Line | Element | Reason |
|---|---|---|
| 131 | Row::getTblHeader() | |
| 143 | Row::getCantSplit() | |
| 155 | Row::getExactHeight() |
Spacing.php
| Line | Element | Reason |
|---|---|---|
| 168 | Spacing::getRule() | Use getLineRule() instead |
| 181 | Spacing::setRule() | Use setLineRule() instead |
Table.php
| Line | Element | Reason |
|---|---|---|
| 592 | Table::getAlign() | Use the `getAlignment` method instead. |
| 606 | Table::setAlign() | Use the `setAlignment` method instead. |
| 30 | Table::WIDTH_AUTO | Use \PhpOffice\PhpWord\SimpleType\TblWidth::AUTO instead |
| 34 | Table::WIDTH_PERCENT | Use \PhpOffice\PhpWord\SimpleType\TblWidth::PERCENT instead |
| 38 | Table::WIDTH_TWIP | Use \PhpOffice\PhpWord\SimpleType\TblWidth::TWIP instead |
TOC.php
| Line | Element | Reason |
|---|---|---|
| 32 | TOC::TABLEADER_DOT |
Template.php
| Line | Element | Reason |
|---|---|---|
| 25 | Template | Use `\PhpOffice\PhpWord\TemplateProcessor` instead. |
AbstractWriter.php
| Line | Element | Reason |
|---|---|---|
| 432 | AbstractWriter::getUseDiskCaching() |
HTML.php
| Line | Element | Reason |
|---|---|---|
| 135 | HTML::writeDocument() |
TCPDF.php
| Line | Element | Reason |
|---|---|---|
| 30 | TCPDF | Use `DomPDF` or `MPDF` instead. |