Documentation

Deprecated

Table of Contents

src/PhpWord/Element/AbstractContainer.php
src/PhpWord/Element/Footnote.php
src/PhpWord/Element/Image.php
src/PhpWord/Element/Link.php
src/PhpWord/Element/OLEObject.php
src/PhpWord/Element/Section.php
src/PhpWord/Media.php
src/PhpWord/PhpWord.php
src/PhpWord/Reader/AbstractReader.php
src/PhpWord/Settings.php
src/PhpWord/SimpleType/Jc.php
src/PhpWord/Style/AbstractStyle.php
src/PhpWord/Style/Cell.php
src/PhpWord/Style/Font.php
src/PhpWord/Style/Frame.php
src/PhpWord/Style/NumberingLevel.php
src/PhpWord/Style/Paragraph.php
src/PhpWord/Style/Row.php
src/PhpWord/Style/Spacing.php
src/PhpWord/Style/Table.php
src/PhpWord/Style/TOC.php
src/PhpWord/Template.php
src/PhpWord/Writer/AbstractWriter.php
src/PhpWord/Writer/HTML.php
src/PhpWord/Writer/PDF/TCPDF.php

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

Line Element Reason
217 Media::addSectionMediaElement()
233 Media::addSectionLinkElement()
249 Media::getSectionMediaElements()
265 Media::countSectionMediaElements()
283 Media::addHeaderMediaElement()
299 Media::countHeaderMediaElements()
313 Media::getHeaderMediaElements()
331 Media::addFooterMediaElement()
347 Media::countFooterMediaElements()
361 Media::getFooterMediaElements()

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.

Search results