Full Code of PHPOffice/PHPWord for AI

master 0ab0b4940bc5 cached
692 files
2.9 MB
794.8k tokens
3450 symbols
1 requests
Download .txt
Showing preview only (3,167K chars total). Download the full file or copy to clipboard to get everything.
Repository: PHPOffice/PHPWord
Branch: master
Commit: 0ab0b4940bc5
Files: 692
Total size: 2.9 MB

Directory structure:
gitextract_ajsy6hth/

├── .gitattributes
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── 1_bug_report.yml
│   │   └── 2_feature_request.yml
│   ├── PULL_REQUEST_TEMPLATE.md
│   ├── dependabot.yml
│   ├── support.yml
│   └── workflows/
│       ├── deploy.yml
│       └── php.yml
├── .github_changelog_generator
├── .gitignore
├── .php-cs-fixer.dist.php
├── CONTRIBUTING.md
├── COPYING
├── COPYING.LESSER
├── LICENSE
├── README.md
├── composer.json
├── docs/
│   ├── changes/
│   │   ├── 0.x/
│   │   │   ├── 0.10.0.md
│   │   │   ├── 0.10.1.md
│   │   │   ├── 0.11.0.md
│   │   │   ├── 0.11.1.md
│   │   │   ├── 0.12.0.md
│   │   │   ├── 0.12.1.md
│   │   │   ├── 0.13.0.md
│   │   │   ├── 0.14.0.md
│   │   │   ├── 0.15.0.md
│   │   │   ├── 0.16.0.md
│   │   │   ├── 0.17.0.md
│   │   │   ├── 0.18.0.md
│   │   │   ├── 0.18.1.md
│   │   │   ├── 0.18.2.md
│   │   │   ├── 0.18.3.md
│   │   │   ├── 0.7.0.md
│   │   │   ├── 0.8.0.md
│   │   │   ├── 0.8.1.md
│   │   │   ├── 0.9.0.md
│   │   │   └── 0.9.1.md
│   │   └── 1.x/
│   │       ├── 1.0.0.md
│   │       ├── 1.1.0.md
│   │       ├── 1.2.0.md
│   │       ├── 1.3.0.md
│   │       ├── 1.4.0.md
│   │       └── 1.5.0.md
│   ├── credits.md
│   ├── faq.md
│   ├── howto.md
│   ├── index.md
│   ├── install.md
│   └── usage/
│       ├── containers.md
│       ├── elements/
│       │   ├── chart.md
│       │   ├── checkbox.md
│       │   ├── comment.md
│       │   ├── field.md
│       │   ├── formula.md
│       │   ├── image.md
│       │   ├── index.md
│       │   ├── line.md
│       │   ├── link.md
│       │   ├── list.md
│       │   ├── note.md
│       │   ├── oleobject.md
│       │   ├── pagebreak.md
│       │   ├── preservetext.md
│       │   ├── ruby.md
│       │   ├── table.md
│       │   ├── text.md
│       │   ├── textbox.md
│       │   ├── textbreak.md
│       │   ├── title.md
│       │   ├── toc.md
│       │   ├── trackchanges.md
│       │   └── watermark.md
│       ├── introduction.md
│       ├── readers.md
│       ├── styles/
│       │   ├── chart.md
│       │   ├── font.md
│       │   ├── image.md
│       │   ├── numberinglevel.md
│       │   ├── paragraph.md
│       │   ├── section.md
│       │   └── table.md
│       ├── template.md
│       └── writers.md
├── mkdocs.yml
├── phpmd.xml.dist
├── phpstan-baseline.neon
├── phpstan.neon.dist
├── phpunit.xml.dist
├── phpword.ini.dist
├── samples/
│   ├── Sample_01_SimpleText.php
│   ├── Sample_02_TabStops.php
│   ├── Sample_03_Sections.php
│   ├── Sample_04_Textrun.php
│   ├── Sample_05_Multicolumn.php
│   ├── Sample_06_Footnote.php
│   ├── Sample_07_TemplateCloneRow.php
│   ├── Sample_08_ParagraphPagination.php
│   ├── Sample_09_Tables.php
│   ├── Sample_10_EastAsianFontStyle.php
│   ├── Sample_11_ReadWord2007.php
│   ├── Sample_11_ReadWord97.php
│   ├── Sample_12_HeaderFooter.php
│   ├── Sample_13_Images.php
│   ├── Sample_14_ListItem.php
│   ├── Sample_15_Link.php
│   ├── Sample_16_Object.php
│   ├── Sample_17_TitleTOC.php
│   ├── Sample_18_Watermark.php
│   ├── Sample_19_TextBreak.php
│   ├── Sample_20_BGColor.php
│   ├── Sample_21_TableRowRules.php
│   ├── Sample_22_CheckBox.php
│   ├── Sample_23_TemplateBlock.php
│   ├── Sample_24_ReadODText.php
│   ├── Sample_25_TextBox.php
│   ├── Sample_26_Html.php
│   ├── Sample_27_Field.php
│   ├── Sample_28_ReadRTF.php
│   ├── Sample_29_Line.php
│   ├── Sample_30_ReadHTML.php
│   ├── Sample_31_Shape.php
│   ├── Sample_32_Chart.php
│   ├── Sample_33_FormField.php
│   ├── Sample_34_SDT.php
│   ├── Sample_35_InternalLink.php
│   ├── Sample_36_RTL.php
│   ├── Sample_37_Comments.php
│   ├── Sample_38_Protection.php
│   ├── Sample_39_TrackChanges.php
│   ├── Sample_40_TemplateSetComplexValue.php
│   ├── Sample_41_TemplateSetChart.php
│   ├── Sample_42_TemplateSetCheckbox.php
│   ├── Sample_43_RTLDefault.php
│   ├── Sample_44_ExtractVariablesFromReaderWord2007.php
│   ├── Sample_45_Autoloader.php
│   ├── Sample_46_RubyPhoneticGuide.php
│   ├── Sample_Footer.php
│   ├── Sample_Header.php
│   ├── bootstrap/
│   │   ├── css/
│   │   │   └── phpword.css
│   │   └── fonts/
│   │       └── FontAwesome.otf
│   ├── index.php
│   └── resources/
│       ├── Sample_07_TemplateCloneRow.docx
│       ├── Sample_11_ReadWord2007.docx
│       ├── Sample_11_ReadWord97.doc
│       ├── Sample_23_TemplateBlock.docx
│       ├── Sample_24_ReadODText.odt
│       ├── Sample_28_ReadRTF.rtf
│       ├── Sample_30_ReadHTML.html
│       ├── Sample_40_TemplateSetComplexValue.docx
│       ├── Sample_41_TemplateSetChart.docx
│       ├── Sample_42_TemplateSetCheckbox.docx
│       ├── Sample_44_ExtractVariablesFromReaderWord2007.docx
│       └── _sheet.xls
├── src/
│   └── PhpWord/
│       ├── Autoloader.php
│       ├── Collection/
│       │   ├── AbstractCollection.php
│       │   ├── Bookmarks.php
│       │   ├── Charts.php
│       │   ├── Comments.php
│       │   ├── Endnotes.php
│       │   ├── Footnotes.php
│       │   └── Titles.php
│       ├── ComplexType/
│       │   ├── FootnoteProperties.php
│       │   ├── ProofState.php
│       │   ├── RubyProperties.php
│       │   ├── TblWidth.php
│       │   └── TrackChangesView.php
│       ├── Element/
│       │   ├── AbstractContainer.php
│       │   ├── AbstractElement.php
│       │   ├── Bookmark.php
│       │   ├── Cell.php
│       │   ├── Chart.php
│       │   ├── CheckBox.php
│       │   ├── Comment.php
│       │   ├── Endnote.php
│       │   ├── Field.php
│       │   ├── Footer.php
│       │   ├── Footnote.php
│       │   ├── FormField.php
│       │   ├── Formula.php
│       │   ├── Header.php
│       │   ├── Image.php
│       │   ├── Line.php
│       │   ├── Link.php
│       │   ├── ListItem.php
│       │   ├── ListItemRun.php
│       │   ├── OLEObject.php
│       │   ├── PageBreak.php
│       │   ├── PreserveText.php
│       │   ├── Row.php
│       │   ├── Ruby.php
│       │   ├── SDT.php
│       │   ├── Section.php
│       │   ├── Shape.php
│       │   ├── TOC.php
│       │   ├── Table.php
│       │   ├── Text.php
│       │   ├── TextBox.php
│       │   ├── TextBreak.php
│       │   ├── TextRun.php
│       │   ├── Title.php
│       │   └── TrackChange.php
│       ├── Escaper/
│       │   ├── AbstractEscaper.php
│       │   ├── EscaperInterface.php
│       │   ├── RegExp.php
│       │   ├── Rtf.php
│       │   └── Xml.php
│       ├── Exception/
│       │   ├── CopyFileException.php
│       │   ├── CreateTemporaryFileException.php
│       │   ├── Exception.php
│       │   ├── InvalidImageException.php
│       │   ├── InvalidObjectException.php
│       │   ├── InvalidStyleException.php
│       │   └── UnsupportedImageTypeException.php
│       ├── IOFactory.php
│       ├── Media.php
│       ├── Metadata/
│       │   ├── Compatibility.php
│       │   ├── DocInfo.php
│       │   ├── Protection.php
│       │   └── Settings.php
│       ├── PhpWord.php
│       ├── Reader/
│       │   ├── AbstractReader.php
│       │   ├── HTML.php
│       │   ├── MsDoc.php
│       │   ├── ODText/
│       │   │   ├── AbstractPart.php
│       │   │   ├── Content.php
│       │   │   └── Meta.php
│       │   ├── ODText.php
│       │   ├── RTF/
│       │   │   └── Document.php
│       │   ├── RTF.php
│       │   ├── ReaderInterface.php
│       │   ├── Word2007/
│       │   │   ├── AbstractPart.php
│       │   │   ├── Comments.php
│       │   │   ├── DocPropsApp.php
│       │   │   ├── DocPropsCore.php
│       │   │   ├── DocPropsCustom.php
│       │   │   ├── Document.php
│       │   │   ├── Endnotes.php
│       │   │   ├── Footnotes.php
│       │   │   ├── Numbering.php
│       │   │   ├── Settings.php
│       │   │   └── Styles.php
│       │   └── Word2007.php
│       ├── Settings.php
│       ├── Shared/
│       │   ├── AbstractEnum.php
│       │   ├── Converter.php
│       │   ├── Css.php
│       │   ├── Drawing.php
│       │   ├── Html.php
│       │   ├── Microsoft/
│       │   │   └── PasswordEncoder.php
│       │   ├── OLERead.php
│       │   ├── PCLZip/
│       │   │   └── pclzip.lib.php
│       │   ├── Text.php
│       │   ├── Validate.php
│       │   ├── XMLReader.php
│       │   ├── XMLWriter.php
│       │   └── ZipArchive.php
│       ├── SimpleType/
│       │   ├── Border.php
│       │   ├── DocProtect.php
│       │   ├── Jc.php
│       │   ├── JcTable.php
│       │   ├── LineSpacingRule.php
│       │   ├── NumberFormat.php
│       │   ├── TblWidth.php
│       │   ├── TextAlignment.php
│       │   ├── VerticalJc.php
│       │   └── Zoom.php
│       ├── Style/
│       │   ├── AbstractStyle.php
│       │   ├── Border.php
│       │   ├── Cell.php
│       │   ├── Chart.php
│       │   ├── Extrusion.php
│       │   ├── Fill.php
│       │   ├── Font.php
│       │   ├── Frame.php
│       │   ├── Image.php
│       │   ├── Indentation.php
│       │   ├── Language.php
│       │   ├── Line.php
│       │   ├── LineNumbering.php
│       │   ├── ListItem.php
│       │   ├── Numbering.php
│       │   ├── NumberingLevel.php
│       │   ├── Outline.php
│       │   ├── Paper.php
│       │   ├── Paragraph.php
│       │   ├── Row.php
│       │   ├── Section.php
│       │   ├── Shading.php
│       │   ├── Shadow.php
│       │   ├── Shape.php
│       │   ├── Spacing.php
│       │   ├── TOC.php
│       │   ├── Tab.php
│       │   ├── Table.php
│       │   ├── TablePosition.php
│       │   └── TextBox.php
│       ├── Style.php
│       ├── TemplateProcessor.php
│       └── Writer/
│           ├── AbstractWriter.php
│           ├── EPub3/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Image.php
│           │   │   └── Text.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Content.php
│           │   │   ├── ContentXhtml.php
│           │   │   ├── Manifest.php
│           │   │   ├── Meta.php
│           │   │   ├── Mimetype.php
│           │   │   └── Nav.php
│           │   ├── Part.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Font.php
│           │       ├── Paragraph.php
│           │       └── Table.php
│           ├── EPub3.php
│           ├── HTML/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Bookmark.php
│           │   │   ├── Container.php
│           │   │   ├── Endnote.php
│           │   │   ├── Footnote.php
│           │   │   ├── Image.php
│           │   │   ├── Link.php
│           │   │   ├── ListItem.php
│           │   │   ├── ListItemRun.php
│           │   │   ├── PageBreak.php
│           │   │   ├── Ruby.php
│           │   │   ├── Table.php
│           │   │   ├── Text.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Body.php
│           │   │   └── Head.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Font.php
│           │       ├── Generic.php
│           │       ├── Image.php
│           │       ├── Paragraph.php
│           │       └── Table.php
│           ├── HTML.php
│           ├── ODText/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Container.php
│           │   │   ├── Field.php
│           │   │   ├── Formula.php
│           │   │   ├── Image.php
│           │   │   ├── Link.php
│           │   │   ├── ListItemRun.php
│           │   │   ├── PageBreak.php
│           │   │   ├── Ruby.php
│           │   │   ├── Table.php
│           │   │   ├── Text.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Content.php
│           │   │   ├── Manifest.php
│           │   │   ├── Meta.php
│           │   │   ├── Mimetype.php
│           │   │   └── Styles.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Font.php
│           │       ├── Image.php
│           │       ├── Numbering.php
│           │       ├── Paragraph.php
│           │       ├── Section.php
│           │       └── Table.php
│           ├── ODText.php
│           ├── PDF/
│           │   ├── AbstractRenderer.php
│           │   ├── DomPDF.php
│           │   ├── MPDF.php
│           │   └── TCPDF.php
│           ├── PDF.php
│           ├── RTF/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Container.php
│           │   │   ├── Field.php
│           │   │   ├── Image.php
│           │   │   ├── Link.php
│           │   │   ├── ListItem.php
│           │   │   ├── PageBreak.php
│           │   │   ├── Ruby.php
│           │   │   ├── Table.php
│           │   │   ├── Text.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Document.php
│           │   │   └── Header.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Border.php
│           │       ├── Font.php
│           │       ├── Indentation.php
│           │       ├── Paragraph.php
│           │       ├── Section.php
│           │       └── Tab.php
│           ├── RTF.php
│           ├── Word2007/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Bookmark.php
│           │   │   ├── Chart.php
│           │   │   ├── CheckBox.php
│           │   │   ├── Container.php
│           │   │   ├── Endnote.php
│           │   │   ├── Field.php
│           │   │   ├── Footnote.php
│           │   │   ├── FormField.php
│           │   │   ├── Formula.php
│           │   │   ├── Image.php
│           │   │   ├── Line.php
│           │   │   ├── Link.php
│           │   │   ├── ListItem.php
│           │   │   ├── ListItemRun.php
│           │   │   ├── OLEObject.php
│           │   │   ├── PageBreak.php
│           │   │   ├── ParagraphAlignment.php
│           │   │   ├── PreserveText.php
│           │   │   ├── Ruby.php
│           │   │   ├── SDT.php
│           │   │   ├── Shape.php
│           │   │   ├── TOC.php
│           │   │   ├── Table.php
│           │   │   ├── TableAlignment.php
│           │   │   ├── Text.php
│           │   │   ├── TextBox.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Chart.php
│           │   │   ├── Comments.php
│           │   │   ├── ContentTypes.php
│           │   │   ├── DocPropsApp.php
│           │   │   ├── DocPropsCore.php
│           │   │   ├── DocPropsCustom.php
│           │   │   ├── Document.php
│           │   │   ├── Endnotes.php
│           │   │   ├── FontTable.php
│           │   │   ├── Footer.php
│           │   │   ├── Footnotes.php
│           │   │   ├── Header.php
│           │   │   ├── Numbering.php
│           │   │   ├── Rels.php
│           │   │   ├── RelsDocument.php
│           │   │   ├── RelsPart.php
│           │   │   ├── Settings.php
│           │   │   ├── Styles.php
│           │   │   ├── Theme.php
│           │   │   └── WebSettings.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Cell.php
│           │       ├── Extrusion.php
│           │       ├── Fill.php
│           │       ├── Font.php
│           │       ├── Frame.php
│           │       ├── Image.php
│           │       ├── Indentation.php
│           │       ├── Line.php
│           │       ├── LineNumbering.php
│           │       ├── MarginBorder.php
│           │       ├── Outline.php
│           │       ├── Paragraph.php
│           │       ├── Row.php
│           │       ├── Section.php
│           │       ├── Shading.php
│           │       ├── Shadow.php
│           │       ├── Shape.php
│           │       ├── Spacing.php
│           │       ├── Tab.php
│           │       ├── Table.php
│           │       ├── TablePosition.php
│           │       └── TextBox.php
│           ├── Word2007.php
│           ├── WriterInterface.php
│           └── WriterPartInterface.php
└── tests/
    ├── PhpWordTests/
    │   ├── AbstractTestReader.php
    │   ├── AbstractWebServerEmbedded.php
    │   ├── AutoloaderTest.php
    │   ├── Collection/
    │   │   └── CollectionTest.php
    │   ├── ComplexType/
    │   │   ├── FootnotePropertiesTest.php
    │   │   ├── ProofStateTest.php
    │   │   └── RubyPropertiesTest.php
    │   ├── Element/
    │   │   ├── AbstractElementTest.php
    │   │   ├── BookmarkTest.php
    │   │   ├── CellTest.php
    │   │   ├── CheckBoxTest.php
    │   │   ├── CommentTest.php
    │   │   ├── FieldTest.php
    │   │   ├── FooterTest.php
    │   │   ├── FootnoteTest.php
    │   │   ├── FormulaTest.php
    │   │   ├── HeaderTest.php
    │   │   ├── ImageTest.php
    │   │   ├── LineTest.php
    │   │   ├── LinkTest.php
    │   │   ├── ListItemRunTest.php
    │   │   ├── ListItemTest.php
    │   │   ├── ObjectTest.php
    │   │   ├── PreserveTextTest.php
    │   │   ├── RowTest.php
    │   │   ├── RubyTest.php
    │   │   ├── SDTTest.php
    │   │   ├── SectionTest.php
    │   │   ├── TOCTest.php
    │   │   ├── TableTest.php
    │   │   ├── TextBoxTest.php
    │   │   ├── TextBreakTest.php
    │   │   ├── TextRunTest.php
    │   │   ├── TextTest.php
    │   │   ├── TitleTest.php
    │   │   └── TrackChangeTest.php
    │   ├── Escaper/
    │   │   ├── RtfEscaper2Test.php
    │   │   └── RtfEscaper3Test.php
    │   ├── Exception/
    │   │   ├── CopyFileExceptionTest.php
    │   │   ├── CreateTemporaryFileExceptionTest.php
    │   │   ├── ExceptionTest.php
    │   │   ├── InvalidImageExceptionTest.php
    │   │   ├── InvalidStyleExceptionTest.php
    │   │   └── UnsupportedImageTypeExceptionTest.php
    │   ├── IOFactoryTest.php
    │   ├── MediaTest.php
    │   ├── Metadata/
    │   │   ├── DocInfoTest.php
    │   │   └── SettingsTest.php
    │   ├── PhpWordTest.php
    │   ├── Reader/
    │   │   ├── HTMLTest.php
    │   │   ├── MsDocTest.php
    │   │   ├── ODText/
    │   │   │   └── ODTextSectionTest.php
    │   │   ├── ODTextTest.php
    │   │   ├── RTFTest.php
    │   │   ├── Word2007/
    │   │   │   ├── ElementTest.php
    │   │   │   ├── PartTest.php
    │   │   │   └── StyleTest.php
    │   │   └── Word2007Test.php
    │   ├── SettingsTest.php
    │   ├── Shared/
    │   │   ├── ConverterTest.php
    │   │   ├── CssTest.php
    │   │   ├── DrawingTest.php
    │   │   ├── HtmlTest.php
    │   │   ├── Microsoft/
    │   │   │   └── PasswordEncoderTest.php
    │   │   ├── TextTest.php
    │   │   ├── ValidateTest.php
    │   │   ├── XMLReaderTest.php
    │   │   ├── XMLWriterTest.php
    │   │   └── ZipArchiveTest.php
    │   ├── Style/
    │   │   ├── AbstractStyleTest.php
    │   │   ├── CellTest.php
    │   │   ├── ChartTest.php
    │   │   ├── FontTest.php
    │   │   ├── ImageTest.php
    │   │   ├── IndentationTest.php
    │   │   ├── LanguageTest.php
    │   │   ├── LineNumberingTest.php
    │   │   ├── LineTest.php
    │   │   ├── ListItemTest.php
    │   │   ├── NumberingLevelTest.php
    │   │   ├── NumberingTest.php
    │   │   ├── PaperTest.php
    │   │   ├── ParagraphTest.php
    │   │   ├── RowTest.php
    │   │   ├── SectionTest.php
    │   │   ├── ShadingTest.php
    │   │   ├── SpacingTest.php
    │   │   ├── TOCTest.php
    │   │   ├── TabTest.php
    │   │   ├── TablePositionTest.php
    │   │   ├── TableTest.php
    │   │   └── TextBoxTest.php
    │   ├── StyleTest.php
    │   ├── TemplateProcessorTest.php
    │   ├── TestHelperDOCX.php
    │   ├── TestableTemplateProcesor.php
    │   ├── WriteReadback/
    │   │   ├── ODTextTest.php
    │   │   └── Word2007Test.php
    │   ├── Writer/
    │   │   ├── EPub3/
    │   │   │   ├── Element/
    │   │   │   │   ├── ImageTest.php
    │   │   │   │   └── TextTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── Part/
    │   │   │   │   ├── AbstractPartTest.php
    │   │   │   │   ├── ContentTest.php
    │   │   │   │   ├── ManifestTest.php
    │   │   │   │   ├── MetaTest.php
    │   │   │   │   ├── MimetypeTest.php
    │   │   │   │   └── NavTest.php
    │   │   │   ├── PartTest.php
    │   │   │   ├── Style/
    │   │   │   │   ├── AbstractStyleTest.php
    │   │   │   │   ├── FontTest.php
    │   │   │   │   ├── ParagraphTest.php
    │   │   │   │   └── TableTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── EPub3Test.php
    │   │   ├── HTML/
    │   │   │   ├── DirectionTest.php
    │   │   │   ├── Element/
    │   │   │   │   ├── PageBreakTest.php
    │   │   │   │   ├── RubyTest.php
    │   │   │   │   ├── TableTest.php
    │   │   │   │   └── TextTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── FontTest.php
    │   │   │   ├── Helper.php
    │   │   │   ├── ParagraphTest.php
    │   │   │   ├── PartTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── HTMLTest.php
    │   │   ├── ODText/
    │   │   │   ├── Element/
    │   │   │   │   ├── FieldTest.php
    │   │   │   │   ├── FormulaTest.php
    │   │   │   │   ├── ImageTest.php
    │   │   │   │   └── ListItemRunTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── Part/
    │   │   │   │   ├── AbstractPartTest.php
    │   │   │   │   ├── ContentTest.php
    │   │   │   │   └── ManifestTest.php
    │   │   │   ├── Style/
    │   │   │   │   ├── FontTest.php
    │   │   │   │   ├── NumberingTest.php
    │   │   │   │   ├── Paragraph2Test.php
    │   │   │   │   ├── ParagraphTest.php
    │   │   │   │   └── SectionTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── ODTextTest.php
    │   │   ├── PDF/
    │   │   │   ├── DomPDFTest.php
    │   │   │   ├── MPDFTest.php
    │   │   │   └── TCPDFTest.php
    │   │   ├── PDFTest.php
    │   │   ├── RTF/
    │   │   │   ├── Element/
    │   │   │   │   └── TableTest.php
    │   │   │   ├── Element2Test.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── HeaderFooterTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── RTFTest.php
    │   │   ├── Word2007/
    │   │   │   ├── Element/
    │   │   │   │   ├── ChartTest.php
    │   │   │   │   ├── FieldTest.php
    │   │   │   │   ├── FormFieldTest.php
    │   │   │   │   ├── FormulaTest.php
    │   │   │   │   ├── TOCTest.php
    │   │   │   │   ├── TableTest.php
    │   │   │   │   ├── TextBoxTest.php
    │   │   │   │   └── TitleTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── Part/
    │   │   │   │   ├── AbstractPartTest.php
    │   │   │   │   ├── CommentsTest.php
    │   │   │   │   ├── DocumentTest.php
    │   │   │   │   ├── FooterTest.php
    │   │   │   │   ├── FootnotesTest.php
    │   │   │   │   ├── HeaderTest.php
    │   │   │   │   ├── NumberingTest.php
    │   │   │   │   ├── SettingsTest.php
    │   │   │   │   └── StylesTest.php
    │   │   │   ├── PartTest.php
    │   │   │   ├── Style/
    │   │   │   │   ├── DirectionTest.php
    │   │   │   │   ├── FontTest.php
    │   │   │   │   ├── ImageTest.php
    │   │   │   │   ├── IndentationTest.php
    │   │   │   │   ├── ParagraphTest.php
    │   │   │   │   ├── SectionTest.php
    │   │   │   │   ├── TableCellTest.php
    │   │   │   │   └── TableTest.php
    │   │   │   └── StyleTest.php
    │   │   └── Word2007Test.php
    │   ├── XmlDocument.php
    │   └── _files/
    │       ├── documents/
    │       │   ├── docChinese.doc
    │       │   ├── docCzech.doc
    │       │   ├── docSlovak.doc
    │       │   ├── reader-2011.docx
    │       │   ├── reader-comments.docx
    │       │   ├── reader-formula.docx
    │       │   ├── reader-formula.odt
    │       │   ├── reader-styles.docx
    │       │   ├── reader.doc
    │       │   ├── reader.docx
    │       │   ├── reader.font-halfpoint.doc
    │       │   ├── reader.html
    │       │   ├── reader.odt
    │       │   ├── reader.rtf
    │       │   ├── sheet.xls
    │       │   ├── without_table_macros.docx
    │       │   └── word.2493.nosection.odt
    │       ├── images/
    │       │   ├── alexz-johnson.pcx
    │       │   ├── angela_merkel.tif
    │       │   ├── mars_noext_jpg
    │       │   └── new-php-logo
    │       ├── templates/
    │       │   ├── blank.docx
    │       │   ├── clone-delete-block.docx
    │       │   ├── clone-merge-with-custom-macro.docx
    │       │   ├── clone-merge.docx
    │       │   ├── corrupted_main_document_part.docx
    │       │   ├── delete-row.docx
    │       │   ├── document22-with-custom-macro-xml.docx
    │       │   ├── document22-xml.docx
    │       │   ├── extract-variable.docx
    │       │   ├── header-footer-with-custom-macro.docx
    │       │   ├── header-footer.docx
    │       │   └── with_table_macros.docx
    │       └── xsl/
    │           ├── passthrough.xsl
    │           └── remove_tables_by_needle.xsl
    └── bootstrap.php

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
# build config
/.scrutinizer.yml export-ignore
/.github export-ignore
/php_cs.dist export-ignore
/phpmd.xml.dist export-ignore
/phpstan.neon export-ignore

/composer.lock export-ignore

# git files
/.gitignore export-ignore
/.gitattributes export-ignore

# project directories
/build export-ignore
/docs export-ignore
/samples export-ignore

# tests
/phpunit.xml.dist export-ignore
/tests export-ignore


================================================
FILE: .github/ISSUE_TEMPLATE/1_bug_report.yml
================================================
name: 🐛 Bug Report
description: Create a report to help improve PHPWord
labels: [ "Bug Report" ]
body:
  - type: markdown
    attributes:
      value: |
         ### ❗️ Read this before submitting your bug report:
         - **Write in English/French.** Reports in all other languages will be closed.
         - **Provide as much detail as possible** 
           - Attachments : Error logs, Screenshots, Document files (generated and expected).
           - If the issue cannot be reproduced, it cannot be fixed.
  - type: textarea
    id: what-happened
    attributes:
      label: Describe the bug and add attachments
      description: What went wrong? If possible, add screenshots, error logs, document files (generated and expected) or screen recordings to help explain your problem.
    validations:
      required: true
  - type: textarea
    id: expected-behavior
    attributes:
      label: Expected behavior
      description: A clear and concise description of what you expected to happen.
    validations:
      required: true
  - type: textarea
    id: steps-reproduce
    attributes:
      label: Steps to reproduce
      description: Please provide a code sample that reproduces the issue.
      placeholder: |
        ```php
        <?php
        require __DIR__ . '/vendor/autoload.php';

        $phpWord = new \PhpOffice\PhpWord\PhpWord();
        $section = $phpWord->addSection();
        $section->...
        ```
    validations:
      required: true
  - type: input
    id: phpword-version
    attributes:
      label: PHPWord version(s) where the bug happened
      placeholder: "e.g., 1.2.0 or master"
    validations:
      required: true
  - type: input
    id: php-version
    attributes:
      label: PHP version(s) where the bug happened
      placeholder: "e.g., 7.1 or 8.2"
    validations:
      required: true
  - type: checkboxes
    attributes:
      label: Priority
      description: Funded tickets have a higher priority.
      options:
        - label: I want to crowdfund the bug fix (with [@algora-io](https://docs.algora.io/bounties/overview)) and fund a community developer.
          required: false
        - label: I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)
          required: false

================================================
FILE: .github/ISSUE_TEMPLATE/2_feature_request.yml
================================================
name: 💡 Feature request
description: Suggest an idea for this project
labels: [ "Change Request" ]
body:
  - type: markdown
    attributes:
      value: |
         ### ❗️ Read this before submitting your bug report:
         - **Write in English/French.** Reports in all other languages will be closed.
         - **Provide as much detail as possible** 
           - Attachments : Error logs, Screenshots, Document files (generated and expected).
           - If the issue cannot be reproduced, it cannot be fixed.
  - type: textarea
    id: problem
    attributes:
      label: Describe the problem
      description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    validations:
      required: true
  - type: textarea
    id: expected-behavior
    attributes:
      label: Describe the expected behavior
      description: A clear and concise description of what you expected to happen. If possible, add screenshots, document files (expected).
    validations:
      required: true
  - type: checkboxes
    attributes:
      label: Priority
      description: Funded tickets have a higher priority.
      options:
        - label: I want to crowdfund the feature (with [@algora-io](https://docs.algora.io/bounties/overview)) and fund a community developer.
          required: false
        - label: I want to pay the feature and fund a maintainer for that. (Contact @Progi1984)
          required: false

================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
### Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

### Checklist:

- [ ] My CI is :green_circle:
- [ ] I have covered by unit tests my new code (check build/coverage for coverage report)
- [ ] I have updated the [documentation](https://github.com/PHPOffice/PHPWord/tree/master/docs) to describe the changes
- [ ] I have updated the [changelog](https://github.com/PHPOffice/PHPWord/blob/master/docs/changes/1.x/1.5.0.md)


================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
- package-ecosystem: composer
  directory: "/"
  schedule:
    interval: monthly
    time: "11:00"
  open-pull-requests-limit: 10


================================================
FILE: .github/support.yml
================================================
# Label used to mark issues as support requests
supportLabel: Question
# Comment to post on issues marked as support requests. Add a link
# to a support page, or set to `false` to disable
supportComment: >
  This looks like a support question. Please ask your support questions on
  [StackOverflow](http://stackoverflow.com/questions/tagged/phpword),
  or [Gitter](https://gitter.im/PHPOffice/PHPWord).

  Thank you for your contributions.

# Whether to close issues marked as support requests
close: true
# Whether to lock issues marked as support requests
lock: false


================================================
FILE: .github/workflows/deploy.yml
================================================
name: Deploy

on:
  push:
    branches: 
      - master
  pull_request:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      ### MkDocs
      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.x
      - name: Install Python Dependencies
        run: pip install mkdocs-material autolink-references-mkdocs-plugin
      - name: Build documentation
        run: mkdocs build --site-dir public
      ### PHPUnit
      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: 8.1
          extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
          coverage: xdebug
      - name: Create directory public/coverage
        run: mkdir ./public/coverage
      - name: Install PHP Dependencies
        run: composer install --ansi --prefer-dist --no-interaction --no-progress
      - name: Build Coverage Report
        run: XDEBUG_MODE=coverage ./vendor/bin/phpunit -c ./ --coverage-text --coverage-html ./public/coverage
        ### PHPDoc
      - name: Create directory public/docs
        run: mkdir ./public/docs
      - name: Install PhpDocumentor
        run: wget https://phpdoc.org/phpDocumentor.phar && chmod +x phpDocumentor.phar
      - name: Build Documentation
        run: ./phpDocumentor.phar run -d ./src -t ./public/docs

      ### Deploy
      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        if: github.ref == 'refs/heads/master'
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./public


================================================
FILE: .github/workflows/php.yml
================================================
name: PHPWord
on: [push, pull_request]
jobs:
  php-cs-fixer:
    name: PHP CS Fixer
    runs-on: ubuntu-latest
    steps:
      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.3'
          extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
      - uses: actions/checkout@v2

      -   name: Validate composer config
          run: composer validate --strict

      -   name: Composer Install
          run: composer global require friendsofphp/php-cs-fixer

      -   name: Add environment path
          run: export PATH="$PATH:$HOME/.composer/vendor/bin"

      -   name: Run PHPCSFixer
          run: php-cs-fixer fix --dry-run --diff

  phpmd:
    name: PHP Mess Detector
    runs-on: ubuntu-latest
    steps:
        -   name: Setup PHP
            uses: shivammathur/setup-php@v2
            with:
                php-version: '8.4'
                extensions: gd, xml, zip
        -   uses: actions/checkout@v2

        -   name: Composer Install
            run: composer install --ansi --prefer-dist --no-interaction --no-progress

        -   name: Run phpmd
            run: ./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist --exclude "src/PhpWord/Shared/PCLZip/*"

  phpstan:
    name: PHP Static Analysis
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        # Disabled PHPStan in '7.1'
        php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
    steps:
        -   name: Setup PHP
            uses: shivammathur/setup-php@v2
            with:
                php-version: ${{ matrix.php }}
                extensions: gd, xml, zip
        -   uses: actions/checkout@v2

        -   name: Composer Install
            run: composer install --ansi --prefer-dist --no-interaction --no-progress

        -   name: Run phpstan
            run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist

  phpunit:
    name: PHPUnit ${{ matrix.php }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
    steps:
      -   name: Setup PHP
          uses: shivammathur/setup-php@v2
          with:
              php-version: ${{ matrix.php }}
              extensions: gd, xml, zip
              coverage: ${{ (matrix.php == '7.3') && 'xdebug' || 'none' }}

      -   uses: actions/checkout@v2

      -   name: Composer Install
          run: composer install --ansi --prefer-dist --no-interaction --no-progress

      -   name: Run phpunit
          if: matrix.php != '7.3'
          run: ./vendor/bin/phpunit -c phpunit.xml.dist --no-coverage

      -   name: Run phpunit
          if: matrix.php == '7.3'
          run: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/clover.xml

      -   name: Upload coverage results to Coveralls
          if: matrix.php == '7.3'
          env:
            COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          run: |
            wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
            chmod +x php-coveralls.phar
            php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv

  samples:
    name: Check samples
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
    steps:
      -   name: Setup PHP
          uses: shivammathur/setup-php@v2
          with:
              php-version: ${{ matrix.php }}
              extensions: gd, xml, zip
              coverage: xdebug

      -   uses: actions/checkout@v2

      -   name: Composer Install
          run: composer install --ansi --prefer-dist --no-interaction --no-progress

      -   name: Generate samples files
          run: composer run samples


================================================
FILE: .github_changelog_generator
================================================
user=PHPOffice
project=PHPWord

since-tag=0.18.1
future-release=0.18.2

issues=false
pulls=true


================================================
FILE: .gitignore
================================================
/composer.lock


.DS_Store
._*
.Spotlight-V100
.Trashes
Thumbs.db
Desktop.ini
.idea
_build
/build
phpunit.xml
composer.phar
composer.lock
vendor
/report
/build
/samples/results
/.settings
phpword.ini
/.buildpath
/.scannerwork
/.project
/nbproject
/.php_cs.cache
/.phpunit.result.cache
/public

================================================
FILE: .php-cs-fixer.dist.php
================================================
<?php

$finder = PhpCsFixer\Finder::create()
    ->notName('pclzip.lib.php')
    ->notName('OLERead.php')
    ->in('samples')
    ->in('src')
    ->in('tests');

$config = new PhpCsFixer\Config();
$config
    ->setRiskyAllowed(true)
    ->setFinder($finder)
    ->setCacheFile(sys_get_temp_dir() . '/php-cs-fixer' . preg_replace('~\W~', '-', __DIR__))
    ->setRules([
        'align_multiline_comment' => true,
        'array_indentation' => true,
        'array_syntax' => ['syntax' => 'short'],
        'backtick_to_shell_exec' => true,
        'binary_operator_spaces' => true,
        'blank_line_after_namespace' => true,
        'blank_line_after_opening_tag' => true,
        'blank_line_before_statement' => true,
        'braces' => true,
        'cast_spaces' => true,
        'class_attributes_separation' => ['elements' => ['method' => 'one', 'property' => 'one']], // const are often grouped with other related const
        'class_definition' => false,
        'class_keyword_remove' => false, // ::class keyword gives us better support in IDE
        'combine_consecutive_issets' => true,
        'combine_consecutive_unsets' => true,
        'combine_nested_dirname' => true,
        'comment_to_phpdoc' => false, // interferes with annotations
        'compact_nullable_typehint' => true,
        'concat_space' => ['spacing' => 'one'],
        'constant_case' => true,
        'date_time_immutable' => false, // Break our unit tests
        'declare_equal_normalize' => true,
        'declare_strict_types' => false, // Too early to adopt strict types
        'dir_constant' => true,
        'doctrine_annotation_array_assignment' => true,
        'doctrine_annotation_braces' => true,
        'doctrine_annotation_indentation' => true,
        'doctrine_annotation_spaces' => true,
        'elseif' => true,
        'encoding' => true,
        'ereg_to_preg' => true,
        'escape_implicit_backslashes' => true,
        'explicit_indirect_variable' => false, // I feel it makes the code actually harder to read
        'explicit_string_variable' => false, // I feel it makes the code actually harder to read
        'final_class' => false, // We need non-final classes
        'final_internal_class' => true,
        'final_public_method_for_abstract_class' => false, // We need non-final methods
        'fopen_flag_order' => true,
        'fopen_flags' => true,
        'full_opening_tag' => true,
        'fully_qualified_strict_types' => true,
        'function_declaration' => true,
        'function_to_constant' => true,
        'function_typehint_space' => true,
        'general_phpdoc_annotation_remove' => ['annotations' => ['access', 'category', 'copyright', 'throws']],
        'global_namespace_import' => true,
        'header_comment' => false, // We don't use common header in all our files
        'heredoc_indentation' => false, // Requires PHP >= 7.3
        'heredoc_to_nowdoc' => false, // Not sure about this one
        'implode_call' => true,
        'include' => true,
        'increment_style' => true,
        'indentation_type' => true,
        'is_null' => true,
        'line_ending' => true,
        'linebreak_after_opening_tag' => true,
        'list_syntax' => ['syntax' => 'short'],
        'logical_operators' => true,
        'lowercase_cast' => true,
        'lowercase_keywords' => true,
        'lowercase_static_reference' => true,
        'magic_constant_casing' => true,
        'magic_method_casing' => true,
        'mb_str_functions' => false, // No, too dangerous to change that
        'method_argument_space' => true,
        'method_chaining_indentation' => true,
        'modernize_types_casting' => true,
        'multiline_comment_opening_closing' => true,
        'multiline_whitespace_before_semicolons' => true,
        'native_constant_invocation' => false, // Micro optimization that look messy
        'native_function_casing' => true,
        'native_function_invocation' => false, // I suppose this would be best, but I am still unconvinced about the visual aspect of it
        'native_function_type_declaration_casing' => true,
        'new_with_braces' => true,
        'no_alias_functions' => true,
        'no_alternative_syntax' => true,
        'no_binary_string' => true,
        'no_blank_lines_after_class_opening' => true,
        'no_blank_lines_after_phpdoc' => true,
        'no_blank_lines_before_namespace' => false, // we want 1 blank line before namespace
        'no_break_comment' => true,
        'no_closing_tag' => true,
        'no_empty_comment' => true,
        'no_empty_phpdoc' => true,
        'no_empty_statement' => true,
        'no_extra_blank_lines' => true,
        'no_homoglyph_names' => true,
        'no_leading_import_slash' => true,
        'no_leading_namespace_whitespace' => true,
        'no_mixed_echo_print' => true,
        'no_multiline_whitespace_around_double_arrow' => true,
        'no_null_property_initialization' => true,
        'no_php4_constructor' => true,
        'no_short_bool_cast' => true,
        'echo_tag_syntax' => ['format' => 'long'],
        'no_singleline_whitespace_before_semicolons' => true,
        'no_spaces_after_function_name' => true,
        'no_spaces_around_offset' => true,
        'no_spaces_inside_parenthesis' => true,
        'no_superfluous_elseif' => false, // Might be risky on a huge code base
        'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
        'no_trailing_comma_in_list_call' => true,
        'no_trailing_comma_in_singleline_array' => true,
        'no_trailing_whitespace' => true,
        'no_trailing_whitespace_in_comment' => true,
        'no_unneeded_control_parentheses' => true,
        'no_unneeded_curly_braces' => true,
        'no_unneeded_final_method' => true,
        'no_unreachable_default_argument_value' => true,
        'no_unset_cast' => true,
        'no_unset_on_property' => true,
        'no_unused_imports' => true,
        'no_useless_else' => true,
        'no_useless_return' => true,
        'no_whitespace_before_comma_in_array' => true,
        'no_whitespace_in_blank_line' => true,
        'non_printable_character' => true,
        'normalize_index_brace' => true,
        'not_operator_with_space' => false, // No we prefer to keep '!' without spaces
        'not_operator_with_successor_space' => false, // idem
        'nullable_type_declaration_for_default_null_value' => true,
        'object_operator_without_whitespace' => true,
        'ordered_class_elements' => false, // We prefer to keep some freedom
        'ordered_imports' => true,
        'ordered_interfaces' => true,
        'php_unit_construct' => true,
        'php_unit_dedicate_assert' => true,
        'php_unit_dedicate_assert_internal_type' => true,
        'php_unit_expectation' => true,
        'php_unit_fqcn_annotation' => true,
        'php_unit_internal_class' => false, // Because tests are excluded from package
        'php_unit_method_casing' => true,
        'php_unit_mock' => true,
        'php_unit_mock_short_will_return' => true,
        'php_unit_namespaced' => true,
        'php_unit_no_expectation_annotation' => true,
        'phpdoc_order_by_value' => ['annotations' => ['covers']],
        'php_unit_set_up_tear_down_visibility' => true,
        'php_unit_size_class' => false, // That seems extra work to maintain for little benefits
        'php_unit_strict' => false, // We sometime actually need assertEquals
        'php_unit_test_annotation' => true,
        'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
        'php_unit_test_class_requires_covers' => false, // We don't care as much as we should about coverage
        'phpdoc_add_missing_param_annotation' => false, // Don't add things that bring no value
        'phpdoc_align' => false, // Waste of time
        'phpdoc_annotation_without_dot' => true,
        'phpdoc_indent' => true,
        //'phpdoc_inline_tag' => true,
        'phpdoc_line_span' => false, // Unfortunately our old comments turn even uglier with this
        'phpdoc_no_access' => true,
        'phpdoc_no_alias_tag' => true,
        'phpdoc_no_empty_return' => true,
        'phpdoc_no_package' => true,
        'phpdoc_no_useless_inheritdoc' => true,
        'phpdoc_order' => true,
        'phpdoc_return_self_reference' => true,
        'phpdoc_scalar' => true,
        'phpdoc_separation' => true,
        'phpdoc_single_line_var_spacing' => true,
        'phpdoc_summary' => true,
        'phpdoc_to_comment' => false, // interferes with annotations
        'phpdoc_to_param_type' => false, // Because experimental, but interesting for one shot use
        'phpdoc_to_return_type' => false, // idem
        'phpdoc_trim' => true,
        'phpdoc_trim_consecutive_blank_line_separation' => true,
        'phpdoc_types' => true,
        'phpdoc_types_order' => true,
        'phpdoc_var_annotation_correct_order' => true,
        'phpdoc_var_without_name' => true,
        'pow_to_exponentiation' => true,
        'protected_to_private' => true,
        'psr_autoloading' => true,
        'random_api_migration' => true,
        'return_assignment' => false, // Sometimes useful for clarity or debug
        'return_type_declaration' => true,
        'self_accessor' => true,
        'self_static_accessor' => true,
        'semicolon_after_instruction' => false, // Buggy in `samples/index.php`
        'set_type_to_cast' => true,
        'short_scalar_cast' => true,
        'simple_to_complex_string_variable' => false, // Would differ from TypeScript without obvious advantages
        'simplified_null_return' => false, // Even if technically correct we prefer to be explicit
        'single_blank_line_at_eof' => true,
        'single_blank_line_before_namespace' => true,
        'single_class_element_per_statement' => true,
        'single_import_per_statement' => true,
        'single_line_after_imports' => true,
        'single_line_comment_style' => true,
        'single_line_throw' => false, // I don't see any reason for having a special case for Exception
        'single_quote' => true,
        'single_trait_insert_per_statement' => true,
        'space_after_semicolon' => true,
        'standardize_increment' => true,
        'standardize_not_equals' => true,
        'static_lambda' => false, // Risky if we can't guarantee nobody use `bindTo()`
        'strict_comparison' => false, // No, too dangerous to change that
        'strict_param' => false, // No, too dangerous to change that
        'string_line_ending' => true,
        'switch_case_semicolon_to_colon' => true,
        'switch_case_space' => true,
        'ternary_operator_spaces' => true,
        'ternary_to_null_coalescing' => true,
        'trailing_comma_in_multiline' => true,
        'trim_array_spaces' => true,
        'unary_operator_spaces' => true,
        'visibility_required' => ['elements' => ['property', 'method']], // not const
        'void_return' => true,
        'whitespace_after_comma_in_array' => true,
        'yoda_style' => false,
    ]);

return $config;


================================================
FILE: CONTRIBUTING.md
================================================
# Contributing to PHPWord

PHPWord is built by the crowd and for the crowd. Every contribution is welcome; either by [reporting a bug](https://github.com/PHPOffice/PHPWord/issues/new?labels=Bug+Report&template=bug_report.md) or [suggesting improvements](https://github.com/PHPOffice/PHPWord/issues/new?labels=Change+Request&template=feature_request.md), or in a more active form like [requesting a pull](https://github.com/PHPOffice/PHPWord/pulls).

We want to create a high quality document writer and reader library that people can use with more confidence and fewer bugs. We want to collaborate happily, code joyfully, and live merrily. Thus, below are some guidelines that we expect to be followed by each contributor:

- **Be brief, but be bold**. State your issues briefly. But speak out your ideas loudly, even if you can't or don't know how to implement them right away. The world will be better with limitless innovations.
- **Follow PHP-FIG standards**. We follow PHP Standards Recommendations (PSRs) by [PHP Framework Interoperability Group](http://www.php-fig.org/). If you're not familiar with these standards, [familiarize yourself now](https://github.com/php-fig/fig-standards). Also, please run `composer fix` to automatically fix your code to match these recommendations.
- **Test your code**. No one knows your code better than you, so we depend on you to test the changes you make before pull request submission. We use [PHPUnit](https://phpunit.de/) for our testing purposes and request that you use this tool too. Tests can be ran with `composer test`. [Documentation for writing tests with PHPUnit is available on Read the Docs.](https://phpunit.readthedocs.io)
- **Use best practices when submitting pull requests**. Create a separate branch named specifically for the issue that you are addressing. Read the [GitHub manual](https://help.github.com/articles/about-pull-requests) to learn more about pull requests and GitHub. If you are new to GitHub, read [this short manual](https://help.github.com/articles/fork-a-repo) to get yourself familiar with forks and how git works in general. [This video](http://www.youtube.com/watch?v=-zvHQXnBO6c) explains how to synchronize your fork on GitHub with the upstream branch from PHPWord.

## Getting Started

1. [Clone](https://help.github.com/en/articles/cloning-a-repository) [PHPWord](https://github.com/PHPOffice/PHPWord/)
2. [Install Composer](https://getcomposer.org/download/) if you don't already have it
3. Open your terminal and:
  1. Switch to the directory PHPWord was cloned to (e.g., `cd ~/Projects/PHPWord/`)
  2. Run `composer install` to install the dependencies

You're ready to start working on PHPWord! Tests belong in the `/tests/PhpWord/` directory, the source code is in `/src/PhpWord/`, and any documentation should go in `/docs/`. Familiarize yourself with the codebase and try your hand at fixing [one of our outstanding issues](https://github.com/PHPOffice/PHPWord/issues). Before you get started, check the [existing pull requests](https://github.com/PHPOffice/PHPWord/pulls) to make sure no one else is already working on it.

Once you have an issue you want to start working on, you'll need to write tests for it, and then you can start implementing the changes necessary to pass the new tests. To run the tests, you can run one of the following commands in your terminal:

- `composer test-no-coverage` to run all of the tests
- `composer test` to run all of the tests and generate test coverage reports

When you're ready to submit your new (and fully tested) feature, ensure `composer check` passes and [submit a pull request to PHPWord](https://github.com/PHPOffice/PHPWord/issues/new).

That's it. Thank you for your interest in PHPWord, and welcome!

May the Force be with you.


================================================
FILE: COPYING
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.


================================================
FILE: COPYING.LESSER
================================================
                   GNU LESSER GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.


  This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

  0. Additional Definitions.

  As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

  "The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

  An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

  A "Combined Work" is a work produced by combining or linking an
Application with the Library.  The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

  The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

  The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

  1. Exception to Section 3 of the GNU GPL.

  You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

  2. Conveying Modified Versions.

  If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

   a) under this License, provided that you make a good faith effort to
   ensure that, in the event an Application does not supply the
   function or data, the facility still operates, and performs
   whatever part of its purpose remains meaningful, or

   b) under the GNU GPL, with none of the additional permissions of
   this License applicable to that copy.

  3. Object Code Incorporating Material from Library Header Files.

  The object code form of an Application may incorporate material from
a header file that is part of the Library.  You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

   a) Give prominent notice with each copy of the object code that the
   Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the object code with a copy of the GNU GPL and this license
   document.

  4. Combined Works.

  You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

   a) Give prominent notice with each copy of the Combined Work that
   the Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the Combined Work with a copy of the GNU GPL and this license
   document.

   c) For a Combined Work that displays copyright notices during
   execution, include the copyright notice for the Library among
   these notices, as well as a reference directing the user to the
   copies of the GNU GPL and this license document.

   d) Do one of the following:

       0) Convey the Minimal Corresponding Source under the terms of this
       License, and the Corresponding Application Code in a form
       suitable for, and under terms that permit, the user to
       recombine or relink the Application with a modified version of
       the Linked Version to produce a modified Combined Work, in the
       manner specified by section 6 of the GNU GPL for conveying
       Corresponding Source.

       1) Use a suitable shared library mechanism for linking with the
       Library.  A suitable mechanism is one that (a) uses at run time
       a copy of the Library already present on the user's computer
       system, and (b) will operate properly with a modified version
       of the Library that is interface-compatible with the Linked
       Version.

   e) Provide Installation Information, but only if you would otherwise
   be required to provide such information under section 6 of the
   GNU GPL, and only to the extent that such information is
   necessary to install and execute a modified version of the
   Combined Work produced by recombining or relinking the
   Application with a modified version of the Linked Version. (If
   you use option 4d0, the Installation Information must accompany
   the Minimal Corresponding Source and Corresponding Application
   Code. If you use option 4d1, you must provide the Installation
   Information in the manner specified by section 6 of the GNU GPL
   for conveying Corresponding Source.)

  5. Combined Libraries.

  You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

   a) Accompany the combined library with a copy of the same work based
   on the Library, uncombined with any other library facilities,
   conveyed under the terms of this License.

   b) Give prominent notice with the combined library that part of it
   is a work based on the Library, and explaining where to find the
   accompanying uncombined form of the same work.

  6. Revised Versions of the GNU Lesser General Public License.

  The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

  Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

  If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.


================================================
FILE: LICENSE
================================================
PHPWord, a pure PHP library for reading and writing word processing documents.

Copyright (c) 2010-2025 PHPWord.

PHPWord is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3 as published by
the Free Software Foundation.

PHPWord is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License version 3 for more details.

You should have received a copy of the GNU Lesser General Public License version 3
along with PHPWord. If not, see <http://www.gnu.org/licenses/>.


================================================
FILE: README.md
================================================
# ![PHPWord](https://rawgit.com/PHPOffice/PHPWord/develop/docs/images/phpword.svg "PHPWord")

[![Latest Stable Version](https://poser.pugx.org/phpoffice/phpword/v)](https://packagist.org/packages/phpoffice/phpword)
[![Coverage Status](https://coveralls.io/repos/github/PHPOffice/PHPWord/badge.svg?branch=master)](https://coveralls.io/github/PHPOffice/PHPWord?branch=master)
[![Total Downloads](https://poser.pugx.org/phpoffice/phpword/downloads)](https://packagist.org/packages/phpoffice/phpword)
[![License](https://poser.pugx.org/phpoffice/phpword/license)](https://packagist.org/packages/phpoffice/phpword)

Branch Master : [![PHPWord](https://github.com/PHPOffice/PHPWord/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/PHPOffice/PHPWord/actions/workflows/php.yml)

PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft [Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML) (OOXML or OpenXML), OASIS [Open Document Format for Office Applications](http://en.wikipedia.org/wiki/OpenDocument) (OpenDocument or ODF), [Rich Text Format](http://en.wikipedia.org/wiki/Rich_Text_Format) (RTF), HTML, and PDF.

PHPWord is an open source project licensed under the terms of [LGPL version 3](COPYING.LESSER). PHPWord is aimed to be a high quality software product by incorporating [continuous integration](https://github.com/PHPOffice/PHPWord/actions) and unit testing. You can learn more about PHPWord by reading the [Developers' Documentation](https://phpoffice.github.io/PHPWord/).

If you have any questions, please ask on [StackOverFlow](https://stackoverflow.com/questions/tagged/phpword)

Read more about PHPWord:

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Getting started](#getting-started)
- [Contributing](#contributing)
- [Developers' Documentation](https://phpoffice.github.io/PHPWord/)

## Features

With PHPWord, you can create OOXML, ODF, or RTF documents dynamically using your PHP scripts. Below are some of the things that you can do with PHPWord library:

- Set document properties, e.g. title, subject, and creator.
- Create document sections with different settings, e.g. portrait/landscape, page size, and page numbering
- Create header and footer for each sections
- Set default font type, font size, and paragraph style
- Use UTF-8 and East Asia fonts/characters
- Define custom font styles (e.g. bold, italic, color) and paragraph styles (e.g. centered, multicolumns, spacing) either as named style or inline in text
- Insert paragraphs, either as a simple text or complex one (a text run) that contains other elements
- Insert titles (headers) and table of contents
- Insert text breaks and page breaks
- Insert and format images, either local, remote, or as page watermarks
- Insert binary OLE Objects such as Excel or Visio
- Insert and format table with customized properties for each rows (e.g. repeat as header row) and cells (e.g. background color, rowspan, colspan)
- Insert list items as bulleted, numbered, or multilevel
- Insert hyperlinks
- Insert footnotes and endnotes
- Insert drawing shapes (arc, curve, line, polyline, rect, oval)
- Insert charts (pie, doughnut, bar, line, area, scatter, radar)
- Insert form fields (textinput, checkbox, and dropdown)
- Create document from templates
- Use XSL 1.0 style sheets to transform headers, main document part, and footers of an OOXML template
- ... and many more features on progress

## Requirements

PHPWord requires the following:

- PHP 7.1+
- [XML Parser extension](http://www.php.net/manual/en/xml.installation.php)
- [Laminas Escaper component](https://docs.laminas.dev/laminas-escaper/intro/)
- [Zip extension](http://php.net/manual/en/book.zip.php) (optional, used to write OOXML and ODF)
- [GD extension](http://php.net/manual/en/book.image.php) (optional, used to add images)
- [XMLWriter extension](http://php.net/manual/en/book.xmlwriter.php) (optional, used to write OOXML and ODF)
- [XSL extension](http://php.net/manual/en/book.xsl.php) (optional, used to apply XSL style sheet to template )
- [dompdf library](https://github.com/dompdf/dompdf) (optional, used to write PDF)

## Installation

PHPWord is installed via [Composer](https://getcomposer.org/).
To [add a dependency](https://getcomposer.org/doc/04-schema.md#package-links) to PHPWord in your project, either

Run the following to use the latest stable version
```sh
composer require phpoffice/phpword
```
or if you want the latest unreleased version
```sh
composer require phpoffice/phpword:dev-master
```

## Getting started

The following is a basic usage example of the PHPWord library.

```php
<?php

// Creating the new document...
$phpWord = new \PhpOffice\PhpWord\PhpWord();

/* Note: any element you append to a document must reside inside of a Section. */

// Adding an empty Section to the document...
$section = $phpWord->addSection();
// Adding Text element to the Section having font styled by default...
$section->addText(
    '"Learn from yesterday, live for today, hope for tomorrow. '
        . 'The important thing is not to stop questioning." '
        . '(Albert Einstein)'
);

/*
 * Note: it's possible to customize font style of the Text element you add in three ways:
 * - inline;
 * - using named font style (new font style object will be implicitly created);
 * - using explicitly created font style object.
 */

// Adding Text element with font customized inline...
$section->addText(
    '"Great achievement is usually born of great sacrifice, '
        . 'and is never the result of selfishness." '
        . '(Napoleon Hill)',
    array('name' => 'Tahoma', 'size' => 10)
);

// Adding Text element with font customized using named font style...
$fontStyleName = 'oneUserDefinedStyle';
$phpWord->addFontStyle(
    $fontStyleName,
    array('name' => 'Tahoma', 'size' => 10, 'color' => '1B2232', 'bold' => true)
);
$section->addText(
    '"The greatest accomplishment is not in never falling, '
        . 'but in rising again after you fall." '
        . '(Vince Lombardi)',
    $fontStyleName
);

// Adding Text element with font customized using explicitly created font style object...
$fontStyle = new \PhpOffice\PhpWord\Style\Font();
$fontStyle->setBold(true);
$fontStyle->setName('Tahoma');
$fontStyle->setSize(13);
$myTextElement = $section->addText('"Believe you can and you\'re halfway there." (Theodor Roosevelt)');
$myTextElement->setFontStyle($fontStyle);

// Saving the document as OOXML file...
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
$objWriter->save('helloWorld.docx');

// Saving the document as ODF file...
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'ODText');
$objWriter->save('helloWorld.odt');

// Saving the document as HTML file...
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'HTML');
$objWriter->save('helloWorld.html');

/* Note: we skip RTF, because it's not XML-based and requires a different example. */
/* Note: we skip PDF, because "HTML-to-PDF" approach is used to create PDF documents. */
```

More examples are provided in the [samples folder](samples/). For an easy access to those samples launch `php -S localhost:8000` in the samples directory then browse to [http://localhost:8000](http://localhost:8000) to view the samples.
You can also read the [Developers' Documentation](https://phpoffice.github.io/PHPWord/) for more detail.

## Contributing

We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute.

- Read [our contributing guide](CONTRIBUTING.md).
- [Fork us](https://github.com/PHPOffice/PHPWord/fork) and [request a pull](https://github.com/PHPOffice/PHPWord/pulls) to the [master](https://github.com/PHPOffice/PHPWord/tree/master) branch.
- Submit [bug reports or feature requests](https://github.com/PHPOffice/PHPWord/issues) to GitHub.
- Follow [@PHPOffice](https://twitter.com/PHPOffice) on Twitter.


================================================
FILE: composer.json
================================================
{
    "name": "phpoffice/phpword",
    "description": "PHPWord - A pure PHP library for reading and writing word processing documents (OOXML, ODF, RTF, HTML, PDF)",
    "keywords": [
        "PHP", "PHPOffice", "office", "PHPWord", "word", "template", "template processor", "reader", "writer",
        "docx", "OOXML", "OpenXML", "Office Open XML", "ISO IEC 29500", "WordprocessingML",
        "RTF", "Rich Text Format", "doc", "odt", "ODF", "OpenDocument", "PDF", "HTML"
    ],
    "homepage": "https://phpoffice.github.io/PHPWord/",
    "type": "library",
    "license": "LGPL-3.0-only",
    "authors": [
        {
            "name": "Mark Baker"
        },
        {
            "name": "Gabriel Bull",
            "email": "me@gabrielbull.com",
            "homepage": "http://gabrielbull.com/"
        },
        {
            "name": "Franck Lefevre",
            "homepage": "https://rootslabs.net/blog/"
        },
        {
            "name": "Ivan Lanin",
            "homepage": "http://ivan.lanin.org"
        },
        {
            "name": "Roman Syroeshko",
            "homepage": "http://ru.linkedin.com/pub/roman-syroeshko/34/a53/994/"
        },
        {
            "name": "Antoine de Troostembergh"
        }
    ],
    "scripts": {
        "test": [
            "@php vendor/bin/phpunit --color=always"
        ],
        "test-no-coverage": [
            "@php vendor/bin/phpunit --color=always --no-coverage"
        ],
        "check": [
            "@php vendor/bin/php-cs-fixer fix --ansi --dry-run --diff",
            "@php vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php",
            "@test-no-coverage",
            "@php vendor/bin/phpstan analyse --ansi"
        ],
        "fix": [
            "@php vendor/bin/php-cs-fixer fix --ansi"
        ], 
        "samples": [
            "php samples/Sample_01_SimpleText.php",
            "php samples/Sample_02_TabStops.php",
            "php samples/Sample_03_Sections.php",
            "php samples/Sample_04_Textrun.php",
            "php samples/Sample_05_Multicolumn.php",
            "php samples/Sample_06_Footnote.php",
            "php samples/Sample_07_TemplateCloneRow.php",
            "php samples/Sample_08_ParagraphPagination.php",
            "php samples/Sample_09_Tables.php",
            "php samples/Sample_10_EastAsianFontStyle.php",
            "php samples/Sample_11_ReadWord97.php",
            "php samples/Sample_11_ReadWord2007.php",
            "php samples/Sample_12_HeaderFooter.php",
            "php samples/Sample_13_Images.php",
            "php samples/Sample_14_ListItem.php",
            "php samples/Sample_15_Link.php",
            "php samples/Sample_16_Object.php",
            "php samples/Sample_17_TitleTOC.php",
            "php samples/Sample_18_Watermark.php",
            "php samples/Sample_19_TextBreak.php",
            "php samples/Sample_20_BGColor.php",
            "php samples/Sample_21_TableRowRules.php",
            "php samples/Sample_22_CheckBox.php",
            "php samples/Sample_23_TemplateBlock.php",
            "php samples/Sample_24_ReadODText.php",
            "php samples/Sample_25_TextBox.php",
            "php samples/Sample_26_Html.php",
            "php samples/Sample_27_Field.php",
            "php samples/Sample_28_ReadRTF.php",
            "php samples/Sample_29_Line.php",
            "php samples/Sample_30_ReadHTML.php",
            "php samples/Sample_31_Shape.php",
            "php samples/Sample_32_Chart.php",
            "php samples/Sample_33_FormField.php",
            "php samples/Sample_34_SDT.php",
            "php samples/Sample_35_InternalLink.php",
            "php samples/Sample_36_RTL.php",
            "php samples/Sample_37_Comments.php",
            "php samples/Sample_38_Protection.php",
            "php samples/Sample_39_TrackChanges.php",
            "php samples/Sample_40_TemplateSetComplexValue.php",
            "php samples/Sample_41_TemplateSetChart.php",
            "php samples/Sample_42_TemplateSetCheckbox.php",
            "php samples/Sample_43_RTLDefault.php",
            "php samples/Sample_44_ExtractVariablesFromReaderWord2007.php",
            "php samples/Sample_45_Autoloader.php"
        ]
    },
    "scripts-descriptions": {
        "test": "Runs all unit tests",
        "test-no-coverage": "Runs all unit tests, without code coverage",
        "check": "Runs PHP CheckStyle and PHP Mess detector",
        "fix": "Fixes issues found by PHP-CS"
    },
    "require": {
        "php": "^7.1|^8.0",
        "ext-dom": "*",
        "ext-gd": "*",  
        "ext-zip": "*",
        "ext-json": "*",
        "ext-xml": "*",
        "phpoffice/math": "^0.3"
    },
    "require-dev": {
        "ext-libxml": "*",
        "dompdf/dompdf": "^2.0 || ^3.0",
        "friendsofphp/php-cs-fixer": "^3.3",
        "mpdf/mpdf": "^7.0 || ^8.0",
        "phpmd/phpmd": "^2.13",
        "phpstan/phpstan": "^0.12.88 || ^1.0.0 || ^2.0.0",
        "phpstan/phpstan-phpunit": "^1.0 || ^2.0",
        "phpunit/phpunit": ">=7.0",
        "symfony/process": "^4.4 || ^5.0",
        "tecnickcom/tcpdf": "^6.5"
    },
    "suggest": {
        "ext-xmlwriter": "Allows writing OOXML and ODF",
        "ext-xsl": "Allows applying XSL style sheet to headers, to main document part, and to footers of an OOXML template",
        "dompdf/dompdf": "Allows writing PDF"
    },
    "autoload": {
        "psr-4": {
            "PhpOffice\\PhpWord\\": "src/PhpWord"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "PhpOffice\\PhpWordTests\\": "tests/PhpWordTests"
        }
    }
}


================================================
FILE: docs/changes/0.x/0.10.0.md
================================================

# 0.10.0 (4 May 2014)

This release marked heavy refactorings on internal code structure with the creation of some abstract classes to reduce code duplication. `Element` subnamespace is introduced in this release to replace `Section`. Word2007 reader capability is greatly enhanced. Endnote is introduced. List numbering is now customizable. Basic HTML and PDF writing support is enabled. Basic ODText reader is introduced.

### Features
- Image: Get image dimensions without EXIF extension - @andrew-kzoo #184
- Table: Add `tblGrid` element for Libre/Open Office table sizing - @gianis6 #183
- Footnote: Ability to insert textbreak in footnote `$footnote->addTextBreak()` - @ivanlanin
- Footnote: Ability to style footnote reference mark by using `FootnoteReference` style - @ivanlanin
- Font: Add `bgColor` to font style to define background using HEX color - @jcarignan #168
- Table: Add `exactHeight` to row style to define whether row height should be exact or atLeast - @jcarignan #168
- Element: New `CheckBox` element for sections and table cells - @ozilion #156
- Settings: Ability to use PCLZip as alternative to ZipArchive - @bskrtich @ivanlanin #106, #140, #185
- Template: Ability to find & replace variables in headers & footers - @dgudgeon #190
- Template: Ability to clone & delete block of text using `cloneBlock` and `deleteBlock` - @diego-vieira #191
- TOC: Ability to have two or more TOC in one document and to set min and max depth for TOC - @Pyreweb #189
- Table: Ability to add footnote in table cell - @ivanlanin #187
- Footnote: Ability to add image in footnote - @ivanlanin #187
- ListItem: Ability to add list item in header/footer - @ivanlanin #187
- CheckBox: Ability to add checkbox in header/footer - @ivanlanin #187
- Link: Ability to add link in header/footer - @ivanlanin #187
- Object: Ability to add object in header, footer, textrun, and footnote - @ivanlanin #187
- Media: Add `Media::resetElements()` to reset all media data - @juzi #19
- General: Add `Style::resetStyles()` - @ivanlanin #187
- DOCX Reader: Ability to read header, footer, footnotes, link, preservetext, textbreak, pagebreak, table, list, image, and title - @ivanlanin
- Endnote: Ability to add endnotes - @ivanlanin
- ListItem: Ability to create custom list and reset list number - @ivanlanin #10, #198
- ODT Writer: Basic table writing support - @ivanlanin
- Image: Keep image aspect ratio if only 1 dimension styled - @japonicus #194
- HTML Writer: Basic HTML writer: text, textrun, link, title, textbreak, table, image (as Base64), footnote, endnote - @ivanlanin #203, #67, #147
- PDF Writer: Basic PDF writer using DomPDF: All HTML element except image - @ivanlanin #68
- DOCX Writer: Change `docProps/app.xml` `Application` to `PHPWord` - @ivanlanin
- DOCX Writer: Create `word/settings.xml` and `word/webSettings.xml` dynamically - @ivanlanin
- ODT Writer: Basic image writing - @ivanlanin
- ODT Writer: Link writing - @ivanlanin
- ODT Reader: Basic ODText Reader - @ivanlanin #71
- Section: Ability to define gutter and line numbering - @ivanlanin
- Font: Small caps, all caps, and double strikethrough - @ivanlanin #151
- Settings: Ability to use measurement unit other than twips with `setMeasurementUnit` - @ivanlanin #199
- Style: Remove `bgColor` from `Font`, `Table`, and `Cell` and put it into the new `Shading` style - @ivanlanin
- Style: New `Indentation` and `Spacing` style - @ivanlanin
- Paragraph: Ability to define first line and right indentation - @ivanlanin

### Bugfixes
- Footnote: Footnote content doesn't show footnote reference number - @ivanlanin #170
- Documentation: Error in a function - @theBeerNut #195

### Deprecated
- `createTextRun` replaced by `addTextRun`
- `createFootnote` replaced by `addFootnote`
- `createHeader` replaced by `addHeader`
- `createFooter` replaced by `addFooter`
- `createSection` replaced by `addSection`
- `Element\Footnote::getReferenceId` replaced by `Element\AbstractElement::getRelationId`
- `Element\Footnote::setReferenceId` replaced by `Element\AbstractElement::setRelationId`
- `Footnote::addFootnoteLinkElement` replaced by `Media::addElement`
- `Footnote::getFootnoteLinkElements` replaced by `Media::getElements`
- All current methods on `Media`
- `Element\Link::getLinkSrc` replaced by `Element\Link::getTarget`
- `Element\Link::getLinkName` replaced by `Element\Link::getText`
- `Style\Cell::getDefaultBorderColor`

### Miscellaneous
- Documentation: Simplify page level docblock - @ivanlanin #179
- Writer: Refactor writer classes and create a new `Write\AbstractWriter` abstract class - @ivanlanin #160
- General: Refactor folders: `Element` and `Exception` - @ivanlanin #187
- General: Remove legacy `HashTable` and `Shared\ZipStreamWrapper` and all related properties/methods - @ivanlanin #187
- Element: New `AbstractElement` abstract class - @ivanlanin #187
- Media: Refactor media class to use one method for all docPart (section, header, footer, footnote) - @ivanlanin #187
- General: Remove underscore prefix from all private properties name - @ivanlanin #187
- General: Move Section `Settings` to `Style\Section` - @ivanlanin #187
- General: Give `Abstract` prefix and `Interface` suffix for all abstract classes and interfaces as per [PHP-FIG recommendation](https://github.com/php-fig/fig-standards/blob/master/bylaws/002-psr-naming-conventions.md) - @ivanlanin #187
- Style: New `Style\AbstractStyle` abstract class - @ivanlanin #187
- Writer: New 'ODText\Base` class - @ivanlanin #187
- General: Rename `Footnote` to `Footnotes` to reflect the nature of collection - @ivanlanin
- General: Add some unit tests for Shared & Element (100%!) - @Progi1984
- Test: Add some samples and tests for image wrapping style - @brunocasado #59
- Refactor: Remove Style\Tabs - @ivanlanin
- Refactor: Apply composite pattern for writers - @ivanlanin
- Refactor: Split `AbstractContainer` from `AbstractElement` - @ivanlanin
- Refactor: Apply composite pattern for Word2007 reader - @ivanlanin




================================================
FILE: docs/changes/0.x/0.10.1.md
================================================


# 0.10.1 (21 May 2014)

This is a bugfix release for `php-zip` requirement in Composer.

- Change Composer requirements for php-zip from `require` to `suggest` - @bskrtich #246




================================================
FILE: docs/changes/0.x/0.11.0.md
================================================
# 0.11.0 (1 June 2014)

This release marked the change of PHPWord license from LGPL 2.1 to LGPL 3. Four new elements were added: TextBox, ListItemRun, Field, and Line. Relative and absolute positioning for images and textboxes were added. Writer classes were refactored into parts, elements, and styles. ODT and RTF features were enhanced. Ability to add elements to PHPWord object via HTML were implemented. RTF and HTML reader were initiated.

### Features
- Image: Ability to define relative and absolute positioning - @basjan #217
- Footer: Conform footer with header by adding firstPage, evenPage and by inheritance - @basjan @ivanlanin #219
- Element: New `TextBox` element - @basjan @ivanlanin #228, #229, #231
- HTML: Ability to add elements to PHPWord object via html - @basjan #231
- Element: New `ListItemRun` element that can add a list item with inline formatting like a textrun - @basjan #235
- Table: Ability to add table inside a cell (nested table) - @ivanlanin #149
- RTF Writer: UTF8 support for RTF: Internal UTF8 text is converted to Unicode before writing - @ivanlanin #158
- Table: Ability to define table width (in percent and twip) and position - @ivanlanin #237
- RTF Writer: Ability to add links and page breaks in RTF - @ivanlanin #196
- ListItemRun: Remove fontStyle parameter because ListItemRun is inherited from TextRun and TextRun doesn't have fontStyle - @ivanlanin
- Config: Ability to use a config file to store various common settings - @ivanlanin #200
- ODT Writer: Enable inline font style in TextRun - @ivanlanin
- ODT Writer: Enable underline, strike/doublestrike, smallcaps/allcaps, superscript/subscript font style - @ivanlanin
- ODT Writer: Enable section and column - @ivanlanin
- PDF Writer: Add TCPDF and mPDF as optional PDF renderer library - @ivanlanin
- ODT Writer: Enable title element and custom document properties - @ivanlanin
- ODT Reader: Ability to read standard and custom document properties - @ivanlanin
- Word2007 Writer: Enable the missing custom document properties writer - @ivanlanin
- Image: Enable "image float left" - @ivanlanin #244
- RTF Writer: Ability to write document properties - @ivanlanin
- RTF Writer: Ability to write image - @ivanlanin
- Element: New `Field` element - @basjan #251
- RTF Reader: Basic RTF reader - @ivanlanin #72, #252
- Element: New `Line` element - @basjan #253
- Title: Ability to apply numbering in heading - @ivanlanin #193
- HTML Reader: Basic HTML reader - @ivanlanin #80, #254
- RTF Writer: Basic table writing - @ivanlanin #245

### Bugfixes
- Header: All images added to the second header were assigned to the first header - @basjan #222
- Conversion: Fix conversion from cm to pixel, pixel to cm, and pixel to point - @basjan #233, #234
- PageBreak: Page break adds new line in the beginning of the new page - @ivanlanin #150
- Image: `marginLeft` and `marginTop` cannot accept float value - @ivanlanin #248
- Title: Orphan `w:fldChar` caused OpenOffice to crash when opening DOCX - @ivanlanin #236

### Deprecated
- Static classes `Footnotes`, `Endnotes`, and `TOC`
- `Writer\Word2007\Part`: `Numbering::writeNumbering()`, `Settings::writeSettings()`, `WebSettings::writeWebSettings()`, `ContentTypes::writeContentTypes()`, `Styles::writeStyles()`, `Document::writeDocument()` all changed into `write()`
- `Writer\Word2007\Part\DocProps`: Split into `Writer\Word2007\Part\DocPropsCore` and `Writer\Word2007\Part\DocPropsApp`
- `Element\Title::getBookmarkId()` replaced by `Element\Title::getRelationId()`
- `Writer\HTML::writeDocument`: Replaced by `Writer\HTML::getContent`

### Miscellaneous
- License: Change the project license from LGPL 2.1 into LGPL 3.0 - #211
- Word2007 Writer: New `Style\Image` class - @ivanlanin
- Refactor: Replace static classes `Footnotes`, `Endnotes`, and `TOC` with `Collections` - @ivanlanin #206
- QA: Reactivate `phpcpd` and `phpmd` on Travis - @ivanlanin
- Refactor: PHPMD recommendation: Change all `get...` method that returns `boolean` into `is...` or `has...` - @ivanlanin
- Docs: Create gh-pages branch for API documentation - @Progi1984 #154
- QA: Add `.scrutinizer.yml` and include `composer.lock` for preparation to Scrutinizer - @ivanlanin #186
- Writer: Refactor writer parts using composite pattern - @ivanlanin
- Docs: Show code quality and test code coverage badge on README
- Style: Change behaviour of `set...` function of boolean properties; when none is defined, assumed true - @ivanlanin
- Shared: Unify PHP ZipArchive and PCLZip features into PhpWord ZipArchive - @ivanlanin
- Docs: Create VERSION file - @ivanlanin
- QA: Improve dan update requirement check in `samples` folder - @ivanlanin



================================================
FILE: docs/changes/0.x/0.11.1.md
================================================
# 0.11.1 (2 June 2014)

This is an immediate bugfix release for HTML reader.

- HTML Reader: `<p>` and header tags puts no output - @canyildiz @ivanlanin #257


================================================
FILE: docs/changes/0.x/0.12.0.md
================================================
# 0.12.0 (3 January 2015)

This release added form fields (textinput, checkbox, and dropdown), drawing shapes (arc, curve, line, polyline, rect, oval), and basic 2D chart (pie, doughnut, bar, line, area, scatter, radar) elements along with some new styles. Basic MsDoc reader is introduced.

### Features
- Element: Ability to add drawing shapes (arc, curve, line, polyline, rect, oval) using new `Shape` element - @ivanlanin #123
- Font: New `scale`, `spacing`, and `kerning` property of font style - @ivanlanin
- Paragraph:  Added shading to the paragraph style for full width shading - @lrobert #264
- RTF Writer: Support for sections, margins, and borders - @ivanlanin #249
- Section: Ability to set paper size, e.g. A4, A3, and Legal - @ivanlanin #249
- General: New `PhpWord::save()` method to encapsulate `IOFactory` - @ivanlanin
- General: New `Shared\Converter` static class - @ivanlanin
- Chart: Basic 2D chart (pie, doughnut, bar, line, area, scatter, radar) - @ivanlanin #278
- Chart: 3D charts and ability to set width and height - @ivanlanin
- FormField: Ability to add textinput, checkbox, and dropdown form elements - @ivanlanin #266
- Setting: Ability to define document protection (readOnly, comments, trackedChanges, forms) - @ivanlanin
- Setting: Ability to remove [Compatibility Mode] text in the MS Word title bar - @ivanlanin
- SDT: Ability to add structured document tag elements (comboBox, dropDownList, date) - @ivanlanin
- Paragraph: Support for paragraph with borders - @ivanlanin #294
- Word2007 Writer : Support for RTL - @Progi1984 #331
- MsDOC Reader: Basic MsDOC Reader - @Progi1984 #23, #287
- "absolute" horizontal and vertical positioning of Frame - @basjan #302
- Add new-page function for PDF generation. For multiple PDF-backends - @chc88 #426
- Report style options enumerated when style unknown - @h6w

### Bugfixes
- Fix rare PclZip/realpath/PHP version problem - @andrew-kzoo #261
- `addHTML` encoding and ampersand fixes for PHP 5.3 - @bskrtich #270
- Page breaks on titles and tables - @ivanlanin #274
- Table inside vertical border does not rendered properly - @ivanlanin #280
- `add<elementName>` of container should be case insensitive, e.g. `addToc` should be accepted, not only `addTOC` - @ivanlanin #294
- Fix specific borders (and margins) were not written correctly in word2007 writer - @pscheit #327
- "HTML is not a valid writer" exception while running "Sample_36_RTL.php" - @RomanSyroeshko #340
- "addShape()" magic method in AbstractContainer is mistakenly named as "addObject()" - @GMTA #356
- `Element\Section::setPageSizeW()` and `Element\Section::setPageSizeH()` were mentioned in the docs but not implemented.
- Special Characters (ampersand) in Title break docx output - @RomanSyroeshko #401
- `<th>` tag is closed with `</td>` tag: - @franzholz #438

### Deprecated
- `Element\Link::getTarget()` replaced by `Element\Link::getSource()`
- `Element\Section::getSettings()` and `Element\Section::setSettings()` replaced by `Element\Section::getStyle()` and `Element\Section::setStyle()`
- `Shared\Drawing` and `Shared\Font` merged into `Shared\Converter`
- `DocumentProperties` replaced by `Metadata\DocInfo`
- `Template` replaced by `TemplateProcessor`
- `PhpWord->loadTemplate($filename)`

### Miscellaneous
- Docs: Add known issue on `README` about requirement for temporary folder to be writable and update `samples/index.php` for this requirement check - @ivanlanin #238
- Docs: Correct elements.rst about Line - @chrissharkman #292
- PclZip: Remove temporary file after used - @andrew-kzoo #265
- Autoloader: Add the ability to set the autoloader options - @bskrtich #267
- Element: Refactor elements to move set relation Id from container to element - @ivanlanin
- Introduced CreateTemporaryFileException, CopyFileException - @RomanSyroeshko
- Settings: added method to set user defined temporary directory - @RomanSyroeshko #310
- Renamed `Template` into `TemplateProcessor` - @RomanSyroeshko #216
- Reverted #51. All text escaping must be performed out of the library - @RomanSyroeshko #51



v

================================================
FILE: docs/changes/0.x/0.12.1.md
================================================
# 0.12.1 (30 August 2015)

Maintenance release. This release is focused primarily on `TemplateProcessor`.

### Changes
- Changed visibility of all private properties and methods of `TemplateProcessor` to `protected`. - @RomanSyroeshko #498
- Improved performance of `TemplateProcessor::setValue()`. - @RomanSyroeshko @nicoSWD #513

### Bugfixes
- Fixed issue with "Access denied" message while opening `Sample_07_TemplateCloneRow.docx` and `Sample_23_TemplateBlock.docx` result files on Windows platform. - @RomanSyroeshko @AshSat #532
- Fixed `PreserveText` element alignment in footer (see `Sample_12_HeaderFooter.php`). - @RomanSyroeshko @SSchwaiger #495


================================================
FILE: docs/changes/0.x/0.13.0.md
================================================
# 0.13.0 (31 July 2016)

This release brings several improvements in `TemplateProcessor`, automatic output escaping feature for OOXML, ODF, HTML, and RTF (turned off, by default).
It also introduces constants for horizontal alignment options, and resolves some issues with PHP 7.
Manual installation feature has been dropped since the release. Please, use [Composer](https://getcomposer.org/) to install PHPWord.

### Added
- Introduced the `\PhpOffice\PhpWord\SimpleType\Jc` simple type. - @RomanSyroeshko
- Introduced the `\PhpOffice\PhpWord\SimpleType\JcTable` simple type. - @RomanSyroeshko
- Introduced writer for the "Paragraph Alignment" element (see `\PhpOffice\PhpWord\Writer\Word2007\Element\ParagraphAlignment`). - @RomanSyroeshko
- Introduced writer for the "Table Alignment" element (see `\PhpOffice\PhpWord\Writer\Word2007\Element\TableAlignment`). - @RomanSyroeshko
- Supported indexed arrays in arguments of `TemplateProcessor::setValue()`. - @RomanSyroeshko #618
- Introduced automatic output escaping for OOXML, ODF, HTML, and RTF. To turn the feature on use `phpword.ini` or `\PhpOffice\PhpWord\Settings`. - @RomanSyroeshko #483
- Supported processing of headers and footers in `TemplateProcessor::applyXslStyleSheet()`. - @RomanSyroeshko #335

### Changed
- Improved error message for the case when `autoload.php` is not found. - @RomanSyroeshko #371
- Renamed the `align` option of `NumberingLevel`, `Frame`, `Table`, and `Paragraph` styles into `alignment`. - @RomanSyroeshko
- Improved performance of `TemplateProcessor::setValue()`. - @kazitanvirahsan #614, #617
- Fixed some HTML tags not rendering any output (p, header & table) - #257, #324 - @twmobius and @garethellis

### Deprecated
- `getAlign` and `setAlign` methods of `NumberingLevel`, `Frame`, `Table`, and `Paragraph` styles.
Use the correspondent `getAlignment` and `setAlignment` methods instead. - @RomanSyroeshko
- `left`, `right`, and `justify` alignment options for paragraphs (now are mapped to `Jc::START`, `Jc::END`, and `Jc::BOTH`). - @RomanSyroeshko
- `left`, `right`, and `justify` alignment options for tables (now are mapped to `Jc::START`, `Jc::END`, and `Jc::CENTER`). - @RomanSyroeshko
- `TCPDF` due to its limited HTML support. Use `DomPDF` or `MPDF` writer instead. - @RomanSyroeshko #399

### Removed
- `\PhpOffice\PhpWord\Style\Alignment`. Style properties, which previously stored instances of this class, now deal with strings.
In each case set of available string values is defined by the correspondent simple type. - @RomanSyroeshko
- Manual installation support. Since the release we have dependencies on third party libraries,
so installation via ZIP-archive download is not an option anymore. To install PHPWord use [Composer](https://getcomposer.org/).
 We also removed `\PhpOffice\PhpWord\Autoloader`, because the latter change made it completely useless.
 Autoloaders provided by Composer are in use now (see `bootstrap.php`). - @RomanSyroeshko
- `\PhpOffice\PhpWord\Shared\Drawing` replaced by `\PhpOffice\Common\Drawing`. - @Progi1984 #658
- `\PhpOffice\PhpWord\Shared\Font`. - @Progi1984 #658
- `\PhpOffice\PhpWord\Shared\String` replaced by `\PhpOffice\Common\Text`. - @Progi1984 @RomanSyroeshko #658
- `\PhpOffice\PhpWord\Shared\XMLReader` replaced by `\PhpOffice\Common\XMLReader`. - @Progi1984 #658
- `\PhpOffice\PhpWord\Shared\XMLWriter` replaced by `\PhpOffice\Common\XMLWriter`. - @Progi1984 @RomanSyroeshko #658
- `AbstractContainer::addMemoryImage()`. Use `AbstractContainer::addImage()` instead.

### Fixed
- `Undefined property` error while reading MS-DOC documents. - @jaberu #610
- Corrupted OOXML template issue in case when its names is broken immediately after `$` sign.
That case wasn't taken into account in implementation of `TemplateProcessor::fixBrokenMacros()`. - @RomanSyroeshko @d-damien #548



================================================
FILE: docs/changes/0.x/0.14.0.md
================================================
# 0.14.0 (29 Dec 2017)

This release fixes several bugs and adds some new features.
This version brings compatibility with PHP 7.0 & 7.1

### Added
- Possibility to control the footnote numbering -by [@troosan](https://github.com/troosan) in [#1068](https://github.com/PHPOffice/PHPWord/pull/1068)
- Image creation from string -by [@troosan](https://github.com/troosan) in [#937](https://github.com/PHPOffice/PHPWord/pull/937)
- Introduced the `\PhpOffice\PhpWord\SimpleType\NumberFormat` simple type. - @troosan
- Support for ContextualSpacing -by [@postHawk](https://github.com/postHawk) in [#1088](https://github.com/PHPOffice/PHPWord/pull/1088)
- Possiblity to hide spelling and/or grammatical errors -by [@troosan](https://github.com/troosan) in [#542](https://github.com/PHPOffice/PHPWord/pull/542)
- Possiblity to set default document language as well as changing the language for each text element -by [@troosan](https://github.com/troosan) in [#1108](https://github.com/PHPOffice/PHPWord/pull/1108)
- Support for Comments -by [@troosan](https://github.com/troosan) in [#1067](https://github.com/PHPOffice/PHPWord/pull/1067)
- Support for paragraph textAlignment -by [@troosan](https://github.com/troosan) in [#1165](https://github.com/PHPOffice/PHPWord/pull/1165)
- Add support for HTML underline tag `<u>` in addHtml -by [@zNightFalLz](https://github.com/zNightFalLz) in [#1186](https://github.com/PHPOffice/PHPWord/pull/1186)
- Add support for HTML `<br>` in addHtml - @anrikunby [@troosan](https://github.com/troosan) in [#659](https://github.com/PHPOffice/PHPWord/pull/659)
- Allow to change cell width unit - guillaume-ro-fr #986
- Allow to change the line height rule @troosan
- Implement PageBreak for odt writerby [@cookiekiller](https://github.com/cookiekiller) in [#863](https://github.com/PHPOffice/PHPWord/pull/863) #824
- Allow to force an update of all fields on opening a document -by [@troosan](https://github.com/troosan) in [#951](https://github.com/PHPOffice/PHPWord/pull/951)
- Allow adding a CheckBox in a TextRun -by [@irond](https://github.com/irond) in [#727](https://github.com/PHPOffice/PHPWord/pull/727)
- Add support for HTML img tag -by [@srggroup](https://github.com/srggroup) in [#934](https://github.com/PHPOffice/PHPWord/pull/934)
- Add support for password protection for docx -by [@mariahaubner](https://github.com/mariahaubner) in [#1019](https://github.com/PHPOffice/PHPWord/pull/1019)

### Fixed
- Loosen dependency to Zend
- Images are not being printed when generating PDF -by [@hubertinio](https://github.com/hubertinio) in [#1074](https://github.com/PHPOffice/PHPWord/pull/1074) #431
- Fixed some PHP 7 warnings - @	likeuntomurphy #927
- Fixed PHP 7.2 compatibility (renamed `Object` class names to `ObjectElement`) -by [@SailorMax](https://github.com/SailorMax) in [#1185](https://github.com/PHPOffice/PHPWord/pull/1185)
- Fixed Word 97 reader - @alsofronie @Benpxpxby [@mario-rivera](https://github.com/mario-rivera) in [#912](https://github.com/PHPOffice/PHPWord/pull/912) #920 #892
- Fixed image loading over https -by [@troosan](https://github.com/troosan) in [#988](https://github.com/PHPOffice/PHPWord/pull/988)
- Impossibility to set different even and odd page headers -by [@troosan](https://github.com/troosan) in [#981](https://github.com/PHPOffice/PHPWord/pull/981)
- Fixed Word2007 reader where unnecessary paragraphs were being created -by [@donghaobo](https://github.com/donghaobo) in [#1043](https://github.com/PHPOffice/PHPWord/pull/1043) #620
- Fixed Word2007 reader where margins were not being read correctly -by [@slowprog](https://github.com/slowprog) in [#885](https://github.com/PHPOffice/PHPWord/pull/885) #1008
- Impossible to add element PreserveText in Section -by [@rvanlaak](https://github.com/rvanlaak) in [#452](https://github.com/PHPOffice/PHPWord/pull/452)
- Added missing options for numbering format -by [@troosan](https://github.com/troosan) in [#1041](https://github.com/PHPOffice/PHPWord/pull/1041)
- Fixed impossibility to set a different footer for first page -by [@ctrlaltca](https://github.com/ctrlaltca) in [#1116](https://github.com/PHPOffice/PHPWord/pull/1116),by [@aoloe](https://github.com/aoloe) in [#875](https://github.com/PHPOffice/PHPWord/pull/875)
- Fixed styles not being applied by HTML writer, better pdf output -by [@sarke](https://github.com/sarke) in [#1047](https://github.com/PHPOffice/PHPWord/pull/1047) #500 #1139
- Fixed read docx error when document contains image from remote url -by [@FBnil](https://github.com/FBnil) in [#1173](https://github.com/PHPOffice/PHPWord/pull/1173) #1176
- Padded the $args array to remove error -by [@kaigoh](https://github.com/kaigoh) in [#1150](https://github.com/PHPOffice/PHPWord/pull/1150),by [@reformed](https://github.com/reformed) in [#870](https://github.com/PHPOffice/PHPWord/pull/870)
- Fix incorrect image size between windows and mac -by [@bskrtich](https://github.com/bskrtich) in [#874](https://github.com/PHPOffice/PHPWord/pull/874)
- Fix adding HTML table to document - @mogilvieby [@arivanbastos](https://github.com/arivanbastos) in [#324](https://github.com/PHPOffice/PHPWord/pull/324)
- Fix parsing on/off values (w:val="true|false|1|0|on|off") -by [@troosan](https://github.com/troosan) in [#1221](https://github.com/PHPOffice/PHPWord/pull/1221) #1219
- Fix error on Empty Dropdown Entry -by [@ComputerTinker](https://github.com/ComputerTinker) in [#592](https://github.com/PHPOffice/PHPWord/pull/592)

### Deprecated
- PhpWord->getProtection(), get it from the settings instead PhpWord->getSettings()->getDocumentProtection();


================================================
FILE: docs/changes/0.x/0.15.0.md
================================================
# 0.15.0 (14 Jul 2018)

### Added
- Parsing of `align` HTML attribute -by [@troosan](https://github.com/troosan) in [#1231](https://github.com/PHPOffice/PHPWord/pull/1231)
- Parse formatting inside HTML lists - @troosanby [@samimussbach](https://github.com/samimussbach) in [#1239](https://github.com/PHPOffice/PHPWord/pull/1239) / [#945](https://github.com/PHPOffice/PHPWord/pull/945) / [#1215](https://github.com/PHPOffice/PHPWord/pull/1215) / [#508](https://github.com/PHPOffice/PHPWord/pull/508)
- Parsing of CSS `direction` instruction, HTML `lang` attribute, formatting inside table cell -by [@troosan](https://github.com/troosan) in [#1273](https://github.com/PHPOffice/PHPWord/pull/1273) / [#1252](https://github.com/PHPOffice/PHPWord/pull/1252) / [#1254](https://github.com/PHPOffice/PHPWord/pull/1254)
- Add support for Track changes @Cipby [@troosan](https://github.com/troosan) in [#354](https://github.com/PHPOffice/PHPWord/pull/354) / [#1262](https://github.com/PHPOffice/PHPWord/pull/1262)
- Add support for fixed Table Layout @aoloe @ekopachby [@troosan](https://github.com/troosan) in [#841](https://github.com/PHPOffice/PHPWord/pull/841) / [#1276](https://github.com/PHPOffice/PHPWord/pull/1276)
- Add support for Cell Spacing @dox07by [@troosan](https://github.com/troosan) in [#1040](https://github.com/PHPOffice/PHPWord/pull/1040)
- Add parsing of formatting inside lists @atomicalnetby [@troosan](https://github.com/troosan) in [#594](https://github.com/PHPOffice/PHPWord/pull/594)
- Added support for Vertically Raised or Lowered Text (w:position) @anrikunby [@troosan](https://github.com/troosan) in [#640](https://github.com/PHPOffice/PHPWord/pull/640)
- Add support for MACROBUTTON field @phryneasby [@troosan](https://github.com/troosan) in [#1021](https://github.com/PHPOffice/PHPWord/pull/1021)
- Add support for Hyphenationby [@Trainmaster](https://github.com/Trainmaster) in [#1282](https://github.com/PHPOffice/PHPWord/pull/1282) (Document: `autoHyphenation`, `consecutiveHyphenLimit`, `hyphenationZone`, `doNotHyphenateCaps`, Paragraph: `suppressAutoHyphens`)
- Added support for Floating Table Positioning (tblpPr)by [@anrikun](https://github.com/anrikun) in [#639](https://github.com/PHPOffice/PHPWord/pull/639)
- Added support for Image text wrapping distanceby [@troosan](https://github.com/troosan) in [#1310](https://github.com/PHPOffice/PHPWord/pull/1310)
- Added parsing of CSS line-height and text-indent in HTML readerby [@troosan](https://github.com/troosan) in [#1316](https://github.com/PHPOffice/PHPWord/pull/1316)
- Added the ability to enable gridlines and axislabels on chartsby [@FrankMeyer](https://github.com/FrankMeyer) in [#576](https://github.com/PHPOffice/PHPWord/pull/576)
- Add support for table indent (tblInd)by [@Trainmaster](https://github.com/Trainmaster) in [#1343](https://github.com/PHPOffice/PHPWord/pull/1343)
- Added parsing of internal links in HTML readerby [@lalop](https://github.com/lalop) in [#1336](https://github.com/PHPOffice/PHPWord/pull/1336)
- Several improvements to chartsby [@JAEK-S](https://github.com/JAEK-S) in [#1332](https://github.com/PHPOffice/PHPWord/pull/1332)
- Add parsing of html image in base64 formatby [@jgpATs2w](https://github.com/jgpATs2w) in [#1382](https://github.com/PHPOffice/PHPWord/pull/1382)
- Added Support for Indentation & Tabs on RTF Writer.by [@smaug1985](https://github.com/smaug1985) in [#1405](https://github.com/PHPOffice/PHPWord/pull/1405)
- Allows decimal numbers in HTML line-height styleby [@jgpATs2w](https://github.com/jgpATs2w) in [#1413](https://github.com/PHPOffice/PHPWord/pull/1413)

### Fixed
- Fix reading of docx default style -by [@troosan](https://github.com/troosan) in [#1238](https://github.com/PHPOffice/PHPWord/pull/1238)
- Fix the size unit of when parsing html images -by [@troosan](https://github.com/troosan) in [#1254](https://github.com/PHPOffice/PHPWord/pull/1254)
- Fixed HTML parsing of nested lists -by [@troosan](https://github.com/troosan) in [#1265](https://github.com/PHPOffice/PHPWord/pull/1265)
- Save PNG alpha information when using remote images.by [@samsullivan](https://github.com/samsullivan) in [#779](https://github.com/PHPOffice/PHPWord/pull/779)
- Fix parsing of `<w:br/>` tag.by [@troosan](https://github.com/troosan) in [#1274](https://github.com/PHPOffice/PHPWord/pull/1274)
- Bookmark are not writton as internal link in html writerby [@troosan](https://github.com/troosan) in [#1263](https://github.com/PHPOffice/PHPWord/pull/1263)
- It should be possible to add a Footnote in a ListItemRunby [@troosan](https://github.com/troosan) in [#1287](https://github.com/PHPOffice/PHPWord/pull/1287) #1287
- Fix colspan and rowspan for tables in HTML Writerby [@mattbolt](https://github.com/mattbolt) in [#1292](https://github.com/PHPOffice/PHPWord/pull/1292)
- Fix parsing of Heading and Title formating @troosanby [@gthomas2](https://github.com/gthomas2) in [#465](https://github.com/PHPOffice/PHPWord/pull/465)
- Fix Dateformat typo, fix hours casing, add Month-Day-Year formatsby [@ComputerTinker](https://github.com/ComputerTinker) in [#591](https://github.com/PHPOffice/PHPWord/pull/591)
- Support reading of w:drawing for documents produced by word 2011+by [@gthomas2](https://github.com/gthomas2) in [#464](https://github.com/PHPOffice/PHPWord/pull/464) #1324
- Fix missing column width in ODText writerby [@potofcoffee](https://github.com/potofcoffee) in [#413](https://github.com/PHPOffice/PHPWord/pull/413)
- Disable entity loader before parsing XML to avoid XXE injectionby [@Tom4t0](https://github.com/Tom4t0) in [#1427](https://github.com/PHPOffice/PHPWord/pull/1427)

### Changed
- Remove zend-stdlib dependencyby [@Trainmaster](https://github.com/Trainmaster) in [#1284](https://github.com/PHPOffice/PHPWord/pull/1284)
- The default unit for `\PhpOffice\PhpWord\Style\Image` changed from `px` to `pt`.

### Miscellaneous
- Drop GitHub pages, switch to coveralls for code coverage analysisby [@czosel](https://github.com/czosel) in [#1360](https://github.com/PHPOffice/PHPWord/pull/1360)


================================================
FILE: docs/changes/0.x/0.16.0.md
================================================
# 0.16.0 (30 dec 2018)

### Added
- Add getVariableCount method in TemplateProcessor.by [@nicoder](https://github.com/nicoder) in [#1272](https://github.com/PHPOffice/PHPWord/pull/1272)
- Add setting Chart Title and Legend visibilityby [@Tom-Magill](https://github.com/Tom-Magill) in [#1433](https://github.com/PHPOffice/PHPWord/pull/1433)
- Add ability to pass a Style object in Section constructorby [@ndench](https://github.com/ndench) in [#1416](https://github.com/PHPOffice/PHPWord/pull/1416)
- Add support for hidden textby [@Alexmg86](https://github.com/Alexmg86) in [#1527](https://github.com/PHPOffice/PHPWord/pull/1527)
- Add support for setting images in TemplateProcessorby [@SailorMax](https://github.com/SailorMax) in [#1170](https://github.com/PHPOffice/PHPWord/pull/1170)
- Add "Plain Text" type to SDT (Structured Document Tags)by [@morrisdj](https://github.com/morrisdj) in [#1541](https://github.com/PHPOffice/PHPWord/pull/1541)
- Added possibility to index variables inside cloned block in TemplateProcessorby [@JPBetley](https://github.com/JPBetley) in [#817](https://github.com/PHPOffice/PHPWord/pull/817)
- Added possibility to replace variables inside cloned block with values in TemplateProcessorby [@DIDoS](https://github.com/DIDoS) in [#1392](https://github.com/PHPOffice/PHPWord/pull/1392)

### Fixed
- Fix regex in `cloneBlock` functionby [@nicoder](https://github.com/nicoder) in [#1269](https://github.com/PHPOffice/PHPWord/pull/1269)
- HTML Title Writer loses text when Title contains a TextRun instead a string.by [@begnini](https://github.com/begnini) in [#1436](https://github.com/PHPOffice/PHPWord/pull/1436)
- Fix regex in fixBrokenMacros, make it less greedy @MuriloSo @brainwoodby [@yurii-sio2](https://github.com/yurii-sio2) in [#1502](https://github.com/PHPOffice/PHPWord/pull/1502) / [#1345](https://github.com/PHPOffice/PHPWord/pull/1345)
- 240 twips are being added to line spacing, should not happen when using lineRule fixedby [@troosan](https://github.com/troosan) in [#1509](https://github.com/PHPOffice/PHPWord/pull/1509) / [#1505](https://github.com/PHPOffice/PHPWord/pull/1505)
- Adding table layout to the generated HTMLby [@aarangara](https://github.com/aarangara) in [#1441](https://github.com/PHPOffice/PHPWord/pull/1441)
- Fix loading of Sharepoint documentby [@Garrcomm](https://github.com/Garrcomm) in [#1498](https://github.com/PHPOffice/PHPWord/pull/1498)
- RTF writer: Round getPageSizeW and getPageSizeH to avoid decimalsby [@Patrick64](https://github.com/Patrick64) in [#1493](https://github.com/PHPOffice/PHPWord/pull/1493)
- Fix parsing of Office 365 documentsby [@Timanx](https://github.com/Timanx) in [#1485](https://github.com/PHPOffice/PHPWord/pull/1485)
- For RTF writers, sizes should should never have decimalsby [@Samuel-BF](https://github.com/Samuel-BF) in [#1536](https://github.com/PHPOffice/PHPWord/pull/1536)
- Style Name Parsing fails if document generated by a non-english word versionby [@begnini](https://github.com/begnini) in [#1434](https://github.com/PHPOffice/PHPWord/pull/1434)

### Miscellaneous
- Get rid of duplicated code in TemplateProcessorby [@abcdmitry](https://github.com/abcdmitry) in [#1161](https://github.com/PHPOffice/PHPWord/pull/1161)



================================================
FILE: docs/changes/0.x/0.17.0.md
================================================
# 0.17.0 (01 oct 2019)

### Added
- Add methods setValuesFromArray and cloneRowFromArray to the TemplateProcessor [@geraldb-nicat](https://github.com/geraldb-nicat) GH-670
- Set complex type in template [@troosan](https://github.com/troosan) GH-1565
- implement support for section vAlign [@troosan](https://github.com/troosan) GH-1569
- ParseStyle for border-color [@Gllrm0](https://github.com/Gllrm0) GH-1551
- Html writer auto invert text color [@SailorMax](https://github.com/SailorMax) GH-1387
- Add RightToLeft table presentation. [@troosan](https://github.com/troosan) GH-1550
- Add support for page vertical alignment. [@troosan](https://github.com/troosan) GH-672 GH-1569
- Adding setNumId method for ListItem style [@eweso](https://github.com/eweso) GH-1329
- Add support for basic fields in RTF writer. [@Samuel-BF](https://github.com/Samuel-BF) GH-1717

### Fixed
- Fix HTML border-color parsing. [@troosan](https://github.com/troosan) GH-1551 / GH-1570
- Language::validateLocale should pass with locale 'zxx'. [@efpapado](https://github.com/efpapado) GH-1558
- can't align center vertically with the text [@ter987](https://github.com/ter987) GH-672
- fix parsing of border-color and add test [@troosan](https://github.com/troosan) GH-1570
- TrackChange doesn't handle all return types of \DateTime::createFromFormat(...) [@superhaggis](https://github.com/superhaggis) GH-1584
- To support PreserveText inside sub container [@bhattnishant](https://github.com/bhattnishant) GH-1637
- No nested w:pPr elements in ListItemRun. [@waltertamboer](https://github.com/waltertamboer) GH-1628
- Ensure that entity_loader disable variable is re-set back to the original setting [@seamuslee001](https://github.com/seamuslee001) GH-1585

### Miscellaneous
- Use embedded http server to test loading of remote images [@troosan](https://github.com/troosan) GH-1544
- Change private to protected to be able extending class Html [@SpinyMan](https://github.com/SpinyMan) GH-1646
- Fix apt-get crash in Travis CI for PHP 5.3 [@mdupont](https://github.com/mdupont) GH-1707

================================================
FILE: docs/changes/0.x/0.18.0.md
================================================
# [0.18.0](https://github.com/PHPOffice/PHPWord/tree/0.18.0) (2021-02-12)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/0.17.0...0.18.0)

### Enhancements
- Add support for charts in template processor [#2012](https://github.com/PHPOffice/PHPWord/pull/2012) ([@dbarzin](https://github.com/dbarzin))
- add/setting page element border style. [#1986](https://github.com/PHPOffice/PHPWord/pull/1986) ([@emnabs](https://github.com/emnabs))
- allow to use customized pdf library [#1983](https://github.com/PHPOffice/PHPWord/pull/1983) ([@SailorMax](https://github.com/SailorMax))
- feat: Update addHtml to handle style inheritance [#1965](https://github.com/PHPOffice/PHPWord/pull/1965) ([@Julien1138](https://github.com/Julien1138))
- Add parsing of Shape node values [#1924](https://github.com/PHPOffice/PHPWord/pull/1924) ([@sven-ahrens](https://github.com/sven-ahrens))
- Allow to redefine TCPDF object [#1907](https://github.com/PHPOffice/PHPWord/pull/1907) ([@SailorMax](https://github.com/SailorMax))
- Enhancements to addHTML parser [#1902](https://github.com/PHPOffice/PHPWord/pull/1902) ([@lubosdz](https://github.com/lubosdz))
- Make Default Paper Configurable [#1851](https://github.com/PHPOffice/PHPWord/pull/1851) ([@oleibman](https://github.com/oleibman))
- Implement various missing features for the ODT writer [#1796](https://github.com/PHPOffice/PHPWord/pull/1796) ([@oleibman](https://github.com/oleibman))
- Added support for "cloudConvert" images [#1794](https://github.com/PHPOffice/PHPWord/pull/1794) ([@ErnestStaug](https://github.com/ErnestStaug))
- Add support for several features for the RTF writer [#1775](https://github.com/PHPOffice/PHPWord/pull/1775) ([@oleibman](https://github.com/oleibman))
- Add font style for Field elements [#1774](https://github.com/PHPOffice/PHPWord/pull/1774) ([@oleibman](https://github.com/oleibman))
- Add support for ListItemRun in HTML writer [#1766](https://github.com/PHPOffice/PHPWord/pull/1766) ([@stefan-91](https://github.com/stefan-91))
- Improvements in RTF writer [#1755](https://github.com/PHPOffice/PHPWord/pull/1755) ([@oleibman](https://github.com/oleibman))
- Allow a closure to be passed with image replacement tags [#1716](https://github.com/PHPOffice/PHPWord/pull/1716) ([@mbardelmeijer](https://github.com/mbardelmeijer))
- Add Option for Dynamic Chart Legend Position [#1699](https://github.com/PHPOffice/PHPWord/pull/1699) ([@Stephan212](https://github.com/Stephan212))
- Add parsing of HTML checkbox input field [#1832](https://github.com/PHPOffice/PHPWord/pull/1832) ([@Matze2010](https://github.com/Matze2010))

### Bug fixes
- Fix image stroke in libreoffice 7.x [#1992](https://github.com/PHPOffice/PHPWord/pull/1992) ([@Adizbek](https://github.com/Adizbek))
- Fix deprecated warning for non-hexadecimal number [#1988](https://github.com/PHPOffice/PHPWord/pull/1988) ([@Ciki](https://github.com/Ciki))
- Fix limit not taken into account when adding image in template [#1967](https://github.com/PHPOffice/PHPWord/pull/1967) ([@jsochor](https://github.com/jsochor))
- Add null check when setComplexValue is not found [#1936](https://github.com/PHPOffice/PHPWord/pull/1936) ([@YannikFirre](https://github.com/YannikFirre))
- Some document have non-standard locale code [#1824](https://github.com/PHPOffice/PHPWord/pull/1824) ([@ErnestStaug](https://github.com/ErnestStaug))
- Fixes PHPDoc @param and @return types for several Converter methods [#1818](https://github.com/PHPOffice/PHPWord/pull/1818) ([@caugner](https://github.com/caugner))
- Update the regexp to avoid catastrophic backtracking [#1809](https://github.com/PHPOffice/PHPWord/pull/1809) ([@juzser](https://github.com/juzser))
- Fix PHPUnit tests on develop branch [#1771](https://github.com/PHPOffice/PHPWord/pull/1771) ([@mdupont](https://github.com/mdupont))
- TemplateProcessor cloneBlock wrongly clones images [#1763](https://github.com/PHPOffice/PHPWord/pull/1763) ([@alarai](https://github.com/alarai))

### Miscellaneous
- Compatibility with PHP 7.4, PHP 8.0 and migrate to Laminas Escaper [#1946](https://github.com/PHPOffice/PHPWord/pull/1946) ([@liborm85](https://github.com/liborm85))
- Remove legacy PHPOffice/Common package, fix PHP 8.0 compatibility [#1996](https://github.com/PHPOffice/PHPWord/pull/1996) ([@liborm85](https://github.com/liborm85))
- Improve Word2007 Test Coverage [#1858](https://github.com/PHPOffice/PHPWord/pull/1858) ([@oleibman](https://github.com/oleibman))
- Fix typo in docs. Update templates-processing.rst [#1952](https://github.com/PHPOffice/PHPWord/pull/1952) ([@mnvx](https://github.com/mnvx))
- Fix documentation and method name for FootnoteProperties [#1776](https://github.com/PHPOffice/PHPWord/pull/1776) ([@mdupont](https://github.com/mdupont))
- fix: documentation about paragraph indentation [#1764](https://github.com/PHPOffice/PHPWord/pull/1764) ([@mdupont](https://github.com/mdupont))
- Update templates-processing.rst [#1745](https://github.com/PHPOffice/PHPWord/pull/1745) ([@igronus](https://github.com/igronus))
- Unused variables $rows, $cols in sample [#1877](https://github.com/PHPOffice/PHPWord/pull/1877) ([@ThanasisMpalatsoukas](https://github.com/ThanasisMpalatsoukas))
- Add unit test for NumberingStyle [#1744](https://github.com/PHPOffice/PHPWord/pull/1744) ([@Manunchik](https://github.com/Manunchik))
- Add unit test for PhpWord Settings [#1743](https://github.com/PHPOffice/PHPWord/pull/1743) (@[Manunchik](https://github.com/Manunchik))
- Add unit test for Media elements [#1742](https://github.com/PHPOffice/PHPWord/pull/1742) ([@Manunchik](https://github.com/Manunchik))
- Update templates processing docs [#1729](https://github.com/PHPOffice/PHPWord/pull/1729) ([@hcdias](https://github.com/hcdias))


================================================
FILE: docs/changes/0.x/0.18.1.md
================================================
# [0.18.1](https://github.com/PHPOffice/PHPWord/tree/0.18.1) (2021-03-08)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/0.18.0...0.18.1)

### Bug fixes
- Fix BC break in GH-1946. 
    This package does not replace laminas/laminas-zendframework-bridge by [@mussbach](https://github.com/mussbach) in [#2032](https://github.com/PHPOffice/PHPWord/pull/2032)

================================================
FILE: docs/changes/0.x/0.18.2.md
================================================
# [0.18.2](https://github.com/PHPOffice/PHPWord/tree/0.18.2) (2021-06-04)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/0.18.1...0.18.2)

### Bug fixes
- when adding image to relationship first check that the generated RID is actually unique by [@tpv-ebben](https://github.com/tpv-ebben) in [#2063](https://github.com/PHPOffice/PHPWord/pull/2063)
- Update chart, don't write 'c:overlap' if grouping is 'clustered' by [@dfsd534](https://github.com/dfsd534) in [#2052](https://github.com/PHPOffice/PHPWord/pull/2052)
- Update Html parser to accept line-height:normal by [@joelgo](https://github.com/joelgo) in [#2041](https://github.com/PHPOffice/PHPWord/pull/2041)
- Fix image border in Word2007 Writer for LibreOffice 7 by [k@amilmmach](https://github.com/kamilmmach) in [#2021](https://github.com/PHPOffice/PHPWord/pull/2021)

### Miscellaneous
- Corrected namespace for Language class in docs by [@MegaChriz](https://github.com/MegaChriz) in [#2087](https://github.com/PHPOffice/PHPWord/pull/2087)
- Added support for Garamond font by [@artemkolotilkin](https://github.com/artemkolotilkin) in [#2078](https://github.com/PHPOffice/PHPWord/pull/2078)
- Add BorderStyle for Cell Style to documentation by [@DShkrabak](https://github.com/DShkrabak) in [#2090](https://github.com/PHPOffice/PHPWord/pull/2090)


================================================
FILE: docs/changes/0.x/0.18.3.md
================================================
# [0.18.3](https://github.com/PHPOffice/PHPWord/tree/0.18.3) (2022-02-17)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/0.18.2...0.18.3)

### Bug fixes
- PHP 8.1 compatibility


================================================
FILE: docs/changes/0.x/0.7.0.md
================================================
# 0.7.0 (28 Jan 2014)

This is the first release after a long development hiatus in [CodePlex](https://phpword.codeplex.com/). This release initialized ODT and RTF Writer, along with some other new features for the existing Word2007 Writer, e.g. tab, multiple header, rowspan and colspan. [Composer](https://packagist.org/packages/phpoffice/phpword) and [Travis](https://travis-ci.org/PHPOffice/PHPWord) were added.

### Features
- Implement RTF Writer - @Progi1984 #1
- Implement ODT Writer - @Progi1984 #2
- Word2007: Add rowspan and colspan to cells - @kaystrobach
- Word2007: Support for tab stops - @RLovelett
- Word2007: Support Multiple headers - @RLovelett
- Word2007: Wrapping Styles to Images - @gabrielbull
- Added support for image wrapping style - @gabrielbull

### Bugfixes
- "Warning: Invalid error type specified in ...\PHPWord.php on line 226" is thrown when the specified template file is not found - @RomanSyroeshko #32
- PHPWord_Shared_String.IsUTF8 returns FALSE for Cyrillic UTF-8 input - @RomanSyroeshko #34
- Temporary files naming logic in PHPWord_Template can lead to a collision - @RomanSyroeshko #38

### Miscellaneous
- Add superscript/subscript styling in Excel2007 Writer - @MarkBaker
- add indentation support to paragraphs - @deds
- Support for Composer - @Progi1984 #27
- Basic CI with Travis - @Progi1984
- Added PHPWord_Exception and exception when could not copy the template - @Progi1984
- IMPROVED: Moved examples out of Classes directory - @Progi1984
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)

================================================
FILE: docs/changes/0.x/0.8.0.md
================================================
# 0.8.0 (15 Mar 2014)

This release merged a lot of improvements from the community. Unit tests introduced in this release and has reached 90% code coverage.

### Features
- Template: Permit to save a template generated as a file (PHPWord_Template::saveAs()) - @RomanSyroeshko #56, #57
- Word2007: Support sections page numbering - @gabrielbull
- Word2007: Added line height methods to mirror the line height settings in Word in the paragraph styling - @gabrielbull
- Word2007: Added support for page header & page footer height - @JillElaine #5
- General: Add ability to manage line breaks after image insertion - @bskrtich #6, #66, #84
- Template: Ability to limit number of replacements performed by setValue() method of Template class - @RomanSyroeshko #52, #53, #85
- Table row: Repeat as header row & allow row to break across pages - @ivanlanin #48, #86
- Table: Table width in percentage - @ivanlanin #48, #86
- Font: Superscript and subscript - @ivanlanin #48, #86
- Paragraph: Hanging paragraph - @ivanlanin #48, #86
- Section: Multicolumn and section break - @ivanlanin #48, #86
- Template: Ability to apply XSL style sheet to Template - @RomanSyroeshko #46, #47, #83
- General: PHPWord_Shared_Font::pointSizeToTwips() converter - @ivanlanin #87
- Paragraph: Ability to define normal paragraph style with PHPWord::setNormalStyle() - @ivanlanin #87
- Paragraph: Ability to define parent style (basedOn) and style for following paragraph (next) - @ivanlanin #87
- Clone table rows on the fly when using a template document - @jeroenmoors #44, #88
- Initial addition of basic footnote support - @deds #16
- Paragraph: Ability to define paragraph pagination: widow control, keep next, keep lines, and page break before - @ivanlanin #92
- General: PHPWord_Style_Font refactoring - @ivanlanin #93
- Font: Use points instead of halfpoints internally. Conversion to halfpoints done during XML Writing. - @ivanlanin #93
- Paragraph: setTabs() function - @ivanlanin #92
- General: Basic support for TextRun on ODT and RTF - @ivanlanin #99
- Reader: Basic Reader for Word2007 - @ivanlanin #104
- TextRun: Allow Text Break in Text Run - @bskrtich  #109
- General: Support for East Asian fontstyle - @jhfangying #111, #118
- Image: Use exif_imagetype to check image format instead of extension name - @gabrielbull #114
- General: Setting for XMLWriter Compatibility option - @bskrtich  #103
- MemoryImage: Allow remote image when allow_url_open = on - @ivanlanin #122
- TextBreak: Allow font and paragraph style for text break - @ivanlanin #18

### Bugfixes
- Fixed bug with cell styling - @gabrielbull
- Fixed bug list items inside of cells - @gabrielbull
- Adding a value that contains "&" in a template breaks it - @SiebelsTim #51
- Example in README.md is broken - @Progi1984 #89
- General: PHPWord_Shared_Drawing::centimetersToPixels() conversion - @ivanlanin #94
- Footnote: Corrupt DOCX reported by MS Word when sections > 1 and not every sections have footnote - @ivanlanin #125

### Miscellaneous
- UnitTests - @Progi1984

================================================
FILE: docs/changes/0.x/0.8.1.md
================================================

# 0.8.1 (17 Mar 2014)

This is a bugfix release for image detection functionality.

- Added fallback for computers that do not have exif_imagetype - @bskrtich, @gabrielbull





================================================
FILE: docs/changes/0.x/0.9.0.md
================================================
# 0.9.0 (26 Mar 2014)

This release marked the transformation to namespaces (PHP 5.3+).

### Features
- Image: Ability to use remote or GD images using `addImage()` on sections, headers, footer, cells, and textruns - @ivanlanin
- Header: Ability to use remote or GD images using `addWatermark()` - @ivanlanin

### Bugfixes
- Preserve text doesn't render correctly when the text is not the first word, e.g. 'Page {PAGE}' - @ivanlanin

### Miscellaneous
- Move documentation to [Read The Docs](http://phpword.readthedocs.org/en/develop/) - by [@Progi1984](https://github.com/Progi1984) & [@ivanlanin](https://github.com/ivanlanin) in [#82](https://github.com/PHPOffice/PHPWord/pull/82)
- Reorganize and redesign samples folder - @ivanlanin #137
- Use `PhpOffice\PhpWord` namespace for PSR compliance - @RomanSyroeshko @gabrielbull #159, #58
- Restructure folders and change folder name `Classes` to `src` and `Tests` to `test` for PSR compliance - @RomanSyroeshko @gabrielbull
- Compliance to phpDocumentor - @ivanlanin
- Merge Style\TableFull into Style\Table. Style\TableFull is deprecated - @ivanlanin #160
- Merge Section\MemoryImage into Section\Image. Section\Image is deprecated - @ivanlanin #160


================================================
FILE: docs/changes/0.x/0.9.1.md
================================================

# 0.9.1 (27 Mar 2014)

This is a bugfix release for PSR-4 compatibility.

- Fixed PSR-4 composer autoloader - @AntonTyutin




================================================
FILE: docs/changes/1.x/1.0.0.md
================================================
# [1.0.0](https://github.com/PHPOffice/PHPWord/tree/1.0.0) (2022-11-15)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/0.18.3...1.0.0)

### 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_DOTHASH`
- `PhpOffice\PhpWord\Style\Font::UNDERLINE_DOTHASHHEAVY`
- `PhpOffice\PhpWord\Style\Cell::VALIGN_TOP`
- `PhpOffice\PhpWord\Style\Cell::VALIGN_CENTER`
- `PhpOffice\PhpWord\Style\Cell::VALIGN_BOTTOM`
- `PhpOffice\PhpWord\Style\Cell::VALIGN_BOTH`
- `PhpOffice\PhpWord\Style\TOC::TABLEADER_DOT`
- `PhpOffice\PhpWord\Style\TOC::TABLEADER_UNDERSCORE`
- `PhpOffice\PhpWord\Style\TOC::TABLEADER_LINE`
- `PhpOffice\PhpWord\Style\TOC::TABLEADER_NONE`
- `PhpOffice\PhpWord\Style\Table::WIDTH_AUTO`
- `PhpOffice\PhpWord\Style\Table::WIDTH_PERCENT`
- `PhpOffice\PhpWord\Style\Table::WIDTH_TWIP`
- `PhpOffice\PhpWord\PhpWord::DEFAULT_FONT_NAME`
- `PhpOffice\PhpWord\PhpWord::DEFAULT_FONT_SIZE`
- `PhpOffice\PhpWord\PhpWord::DEFAULT_FONT_COLOR`
- `PhpOffice\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
- `loadConfig` returns config that was actually applied
- HTML Reader : Override inline style on HTML attribute for table
- HTML Reader : Use `border` attribute 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

================================================
FILE: docs/changes/1.x/1.1.0.md
================================================
# [1.1.0](https://github.com/PHPOffice/PHPWord/tree/1.1.0) (2023-05-30)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/1.0.0...1.1.0)

### Enhancements

- Introduce deleteRow() method for TemplateProcessor
- HTML Reader: Add basic support for CSS Style Tag
- Allow customizing macro syntax in TemplateProcessor
- Add background color support for textboxes
- Add softhyphen support to word reader
- Add support table row height when importing HTML
- Add support for fractional font sizes
- Added image quality support, with the maximum quality as default
- Support for reading nested tables

### Bug fixes

- DOCX reader: Read empty vmerge
- Fixed setting width of Cell Style

### Miscellaneous

- `master` is the new default branch

================================================
FILE: docs/changes/1.x/1.2.0.md
================================================
# [1.2.0](https://github.com/PHPOffice/PHPWord/tree/1.2.0)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/1.1.0...1.2.0)

## Enhancements

- Word2007 Reader/Writer : Added noWrap table cell property by [@kernusr](https://github.com/kernusr) in GH-2359
- HTML Reader : Support for `font-variant: small-caps` by [@cambraca](https://github.com/cambraca) in GH-2117
- Improved TextDirection for styling a cell by [@terryzwt](https://github.com/terryzwt) in GH-2429
- Word2007 Reader : Added option to disable loading images by [@aelliott1485](https://github.com/aelliott1485) in GH-2450
- HTML Writer : Added border-spacing to default styles for table by [@kernusr](https://github.com/kernusr) in GH-2451
- Word2007 Reader : Support for table cell borders and margins by [@kernusr](https://github.com/kernusr) in GH-2454
- PDF Writer : Add config for defining the default font by [@MikeMaldini](https://github.com/MikeMaldini) in [#2262](https://github.com/PHPOffice/PHPWord/pull/2262) & [#2468](https://github.com/PHPOffice/PHPWord/pull/2468)
- Word2007 Reader : Added support for Comments by [@shaedrich](https://github.com/shaedrich) in [#2161](https://github.com/PHPOffice/PHPWord/pull/2161) & [#2469](https://github.com/PHPOffice/PHPWord/pull/2469)
- Word2007 Reader/Writer: Permit book-fold printing by [@potofcoffee](https://github.com/potofcoffee) in [#2225](https://github.com/PHPOffice/PHPWord/pull/2225) & [#2470](https://github.com/PHPOffice/PHPWord/pull/2470)
- Word2007 Writer : Add PageNumber to TOC by [@jet-desk](https://github.com/jet-desk) in [#1652](https://github.com/PHPOffice/PHPWord/pull/1652) & [#2471](https://github.com/PHPOffice/PHPWord/pull/2471)
- Word2007 Reader/Writer + ODText Reader/Writer : Add Element Formula in  by [@Progi1984](https://github.com/Progi1984) in [#2477](https://github.com/PHPOffice/PHPWord/pull/2477)
- Add Support for Various Missing Features in HTML Writer by [@oleibman](https://github.com/oleibman) in [#2475](https://github.com/PHPOffice/PHPWord/pull/2475)
  - Fixed addHTML (text-align:right in html is not handled correctly) in [#2467](https://github.com/PHPOffice/PHPWord/pull/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](https://github.com/nxtpge) in [#2509](https://github.com/PHPOffice/PHPWord/pull/2509)
- ODText / RTF / Word2007 Writer : Add field FILENAME by [@milkyway-git](https://github.com/milkyway-git) in [#2510](https://github.com/PHPOffice/PHPWord/pull/2510)
- ODText Reader : Improve Section Reader by [@oleibman](https://github.com/oleibman) in [#2507](https://github.com/PHPOffice/PHPWord/pull/2507)

### Bug fixes

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

### Miscellaneous

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


### BC Breaks
- Removed dependency `laminas/laminas-escaper`
- *Unintended Break* TemplateProcessor Does Not Persist File After Destruct. [#2539](https://github.com/PHPOffice/PHPWord/issues/2539) To be fixed by [#2545](https://github.com/PHPOffice/PHPWord/pull/2545


================================================
FILE: docs/changes/1.x/1.3.0.md
================================================
# [1.3.0](https://github.com/PHPOffice/PHPWord/tree/1.3.0)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/1.2.0...1.3.0)

## Enhancements

- IOFactory : Added extractVariables method to extract variables from a document [@sibalonat](https://github.com/sibalonat) in [#2515](https://github.com/PHPOffice/PHPWord/pull/2515)
- PDF Writer : Documented how to specify a PDF renderer, when working with the PDF writer, as well as the three available choices by [@settermjd](https://github.com/settermjd) in [#2642](https://github.com/PHPOffice/PHPWord/pull/2642)
- Word2007 Reader: Support for Paragraph Border Style by [@damienfa](https://github.com/damienfa) in [#2651](https://github.com/PHPOffice/PHPWord/pull/2651)
- Word2007 Writer: Support for field REF by [@crystoline](https://github.com/crystoline) in [#2652](https://github.com/PHPOffice/PHPWord/pull/2652)
- Word2007 Reader : Support for FormFields by [@vincentKool](https://github.com/vincentKool) in [#2653](https://github.com/PHPOffice/PHPWord/pull/2653)
- RTF Writer : Support for Table Border Style fixing [#345](https://github.com/PHPOffice/PHPWord/issues/345) by [@Progi1984](https://github.com/Progi1984) in [#2656](https://github.com/PHPOffice/PHPWord/pull/2656)
- Word2007 Reader: Support the page break (<w:lastRenderedPageBreak/>) by [@stanolacko](https://github.com/stanolacko) in [#2662](https://github.com/PHPOffice/PHPWord/pull/2662)
- MsDoc Reader: Support for UTF-8 characters by [@Progi1984] fixing [#881](https://github.com/PHPOffice/PHPWord/issues/881), [#1454](https://github.com/PHPOffice/PHPWord/issues/1454), [#1817](https://github.com/PHPOffice/PHPWord/issues/1817), [#1927](https://github.com/PHPOffice/PHPWord/issues/1927), [#2383](https://github.com/PHPOffice/PHPWord/issues/2383), [#2565](https://github.com/PHPOffice/PHPWord/issues/2565) in [#2664](https://github.com/PHPOffice/PHPWord/pull/2664)
- Word2007 Writer: Added support for multiples comment for the same text by [@rodrigoq](https://github.com/rodrigoq) fixing [#2109](https://github.com/PHPOffice/PHPWord/issues/2109) in [#2665](https://github.com/PHPOffice/PHPWord/pull/2665)

### Bug fixes

- MsDoc Reader : Correct Font Size Calculation by [@oleibman](https://github.com/oleibman) fixing [#2526](https://github.com/PHPOffice/PHPWord/issues/2526) in [#2531](https://github.com/PHPOffice/PHPWord/pull/2531)
- Html Reader : Process Titles as Headings not Paragraphs [@0b10011](https://github.com/0b10011) and [@oleibman](https://github.com/oleibman) Issue [#1692](https://github.com/PHPOffice/PHPWord/issues/1692) PR [#2533](https://github.com/PHPOffice/PHPWord/pull/2533)
- Generate Table Cell if Row Doesn't Have Any [@oleibman](https://github.com/oleibman) fixing [#2505](https://github.com/PHPOffice/PHPWord/issues/2505) in [#2516](https://github.com/PHPOffice/PHPWord/pull/2516)
- TemplateProcessor Persist File After Destruct [@oleibman](https://github.com/oleibman) fixing [#2539](https://github.com/PHPOffice/PHPWord/issues/2539) in [#2545](https://github.com/PHPOffice/PHPWord/pull/2545)
- TemplateProcessor Destructor Problem with Php7 [@oleibman](https://github.com/oleibman) fixing [#2548](https://github.com/PHPOffice/PHPWord/issues/2548) in [#2554](https://github.com/PHPOffice/PHPWord/pull/2554)
- bug: TemplateProcessor fix multiline values [@gimler](https://github.com/gimler) fixing [#268](https://github.com/PHPOffice/PHPWord/issues/268), [#2323](https://github.com/PHPOffice/PHPWord/issues/2323) and [#2486](https://github.com/PHPOffice/PHPWord/issues/2486) in [#2522](https://github.com/PHPOffice/PHPWord/pull/2522)
- 32-bit Problem in PasswordEncoder [@oleibman](https://github.com/oleibman) fixing [#2550](https://github.com/PHPOffice/PHPWord/issues/2550) in [#2551](https://github.com/PHPOffice/PHPWord/pull/2551)
- Typo : Fix hardcoded macro chars in TemplateProcessor method [@glafarge](https://github.com/glafarge) in [#2618](https://github.com/PHPOffice/PHPWord/pull/2618)
- XML Reader : Prevent fatal errors when opening corrupt files or "doc" files [@mmcev106](https://github.com/mmcev106) in [#2626](https://github.com/PHPOffice/PHPWord/pull/2626)
- Documentation : Updated Comment element by [@laminga](https://github.com/laminga) in [#2650](https://github.com/PHPOffice/PHPWord/pull/2650)
- HTML Reader : Read width & height attributes in points fixing [#2589](https://github.com/PHPOffice/PHPWord/issues/2589) by [@Progi1984](https://github.com/Progi1984) in [#2654](https://github.com/PHPOffice/PHPWord/pull/2654)
- Template Processor : Fixed bad naming of variables fixing [#2586](https://github.com/PHPOffice/PHPWord/issues/2586) by [@Progi1984](https://github.com/Progi1984) in [#2655](https://github.com/PHPOffice/PHPWord/pull/2655)
- Word2007 Writer : Fix first footnote appearing as separator [#2634](https://github.com/PHPOffice/PHPWord/issues/2634) by [@jacksleight](https://github.com/jacksleight) in [#2635](https://github.com/PHPOffice/PHPWord/pull/2635)
- Template Processor : Fixed images with transparent backgrounds displaying a white background by [@ElwynVdb](https://github.com/ElwynVdb) in [#2638](https://github.com/PHPOffice/PHPWord/pull/2638)
- HTML Writer : Fixed rowspan for tables by [@andomiell](https://github.com/andomiell) in [#2659](https://github.com/PHPOffice/PHPWord/pull/2659)
- Word2007 Writer : Fixed StrikeThrough property by [@noec764](https://github.com/noec764) fixing [#1722](https://github.com/PHPOffice/PHPWord/issues/1722) & [#1693](https://github.com/PHPOffice/PHPWord/issues/1693) in [#2661](https://github.com/PHPOffice/PHPWord/pull/2661)
- HTML Reader : Fixed link without href by [@asmundstavdahl](https://github.com/asmundstavdahl) fixing [#1562](https://github.com/PHPOffice/PHPWord/issues/1562) in [#2663](https://github.com/PHPOffice/PHPWord/pull/2663)

### Miscellaneous

- Bump dompdf/dompdf from 2.0.3 to 2.0.4 by [@dependabot](https://github.com/dependabot) in [#2530](https://github.com/PHPOffice/PHPWord/pull/2530)
- Bump phpunit/phpunit from 9.6.13 to 9.6.14 by [@dependabot](https://github.com/dependabot) in [#2519](https://github.com/PHPOffice/PHPWord/pull/2519)
- Bump mpdf/mpdf from 8.2.0 to 8.2.2 by [@dependabot](https://github.com/dependabot) in [#2518](https://github.com/PHPOffice/PHPWord/pull/2518)
- Bump phpmd/phpmd from 2.14.1 to 2.15.0 by [@dependabot](https://github.com/dependabot) in [#2538](https://github.com/PHPOffice/PHPWord/pull/2538)
- Bump phpunit/phpunit from 9.6.14 to 9.6.15 by [@dependabot](https://github.com/dependabot) in [#2537](https://github.com/PHPOffice/PHPWord/pull/2537)
- Bump symfony/process from 5.4.28 to 5.4.34 by [@dependabot](https://github.com/dependabot) in [#2536](https://github.com/PHPOffice/PHPWord/pull/2536)
- Allow rgb() when converting Html by [@oleibman](https://github.com/oleibman) fixing [#2508](https://github.com/PHPOffice/PHPWord/issues/2508) in [#2512](https://github.com/PHPOffice/PHPWord/pull/2512)
- Improved Issue Template by [@Progi1984](https://github.com/Progi1984) in [#2609](https://github.com/PHPOffice/PHPWord/pull/2609)
- Bump phpoffice/math from 0.1.0 to 0.2.0 by [@Progi1984](https://github.com/Progi1984) fixing [#2559](https://github.com/PHPOffice/PHPWord/issues/2559) in [#2645](https://github.com/PHPOffice/PHPWord/pull/2645)
- Bump tecnickcom/tcpdf from 6.6.5 to 6.7.5 by [@dependabot](https://github.com/dependabot) in [#2646](https://github.com/PHPOffice/PHPWord/pull/2646)
- Bump mpdf/mpdf from 8.2.2 to 8.2.4 by [@dependabot](https://github.com/dependabot) in [#2647](https://github.com/PHPOffice/PHPWord/pull/2647)
- Bump phenx/php-svg-lib from 0.5.1 to 0.5.4 by [@dependabot](https://github.com/dependabot) in [#2649](https://github.com/PHPOffice/PHPWord/pull/2649)
- Bump phpstan/phpstan-phpunit from 1.3.15 to 1.4.0 by [@dependabot](https://github.com/dependabot) in [#2648](https://github.com/PHPOffice/PHPWord/pull/2648)

### BC Breaks


================================================
FILE: docs/changes/1.x/1.4.0.md
================================================
# [1.4.0](https://github.com/PHPOffice/PHPWord/tree/1.4.0)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/1.3.0...1.4.0)

## Enhancements

- Default Font: Allow specify Asisn font and Latin font separately

- Writer ODText: Support for ListItemRun by [@Progi1984](https://github.com/Progi1984) fixing [#2159](https://github.com/PHPOffice/PHPWord/issues/2159), [#2620](https://github.com/PHPOffice/PHPWord/issues/2620) in [#2669](https://github.com/PHPOffice/PHPWord/pull/2669)
- Writer HTML: Support for vAlign in Tables by [@SpraxDev](https://github.com/SpraxDev) in [#2675](https://github.com/PHPOffice/PHPWord/pull/2675)
- Writer Word2007: Support for padding in Table Cell by [@Azamat8405](https://github.com/Azamat8405) in [#2697](https://github.com/PHPOffice/PHPWord/pull/2697)
- Added support for PHP 8.4 by [@Progi1984](https://github.com/Progi1984) in [#2660](https://github.com/PHPOffice/PHPWord/pull/2660)
- Autoload : Allow to use PHPWord without Composer fixing [#2543](https://github.com/PHPOffice/PHPWord/issues/2543), [#2552](https://github.com/PHPOffice/PHPWord/issues/2552), [#2716](https://github.com/PHPOffice/PHPWord/issues/2716), [#2717](https://github.com/PHPOffice/PHPWord/issues/2717) in [#2722](https://github.com/PHPOffice/PHPWord/pull/2722)
- Add Default font color for Word by [@Collie-IT](https://github.com/Collie-IT) in [#2700](https://github.com/PHPOffice/PHPWord/pull/2700)
- Writer HTML: Support Default font color by [@MichaelPFrey](https://github.com/MichaelPFrey) in [#2731](https://github.com/PHPOffice/PHPWord/pull/2731)
- Writer ODText: Support Default font color by [@MichaelPFrey](https://github.com/MichaelPFrey) in [#2735](https://github.com/PHPOffice/PHPWord/pull/2735)
- Add basic ruby text (phonetic guide) support for Word2007 and HTML Reader/Writer, RTF Writer, basic support for ODT writing by [@Deadpikle](https://github.com/Deadpikle) in [#2727](https://github.com/PHPOffice/PHPWord/pull/2727)
- Reader HTML: Support font styles for h1/h6 by [@Progi1984](https://github.com/Progi1984) fixing [#2619](https://github.com/PHPOffice/PHPWord/issues/2619) in [#2737](https://github.com/PHPOffice/PHPWord/pull/2737)
- Writer EPub3: Basic support by [@Sambit003](https://github.com/Sambit003) fixing [#55](https://github.com/PHPOffice/PHPWord/issues/55) in [#2724](https://github.com/PHPOffice/PHPWord/pull/2724)
- Writer Word2007: Added support for background and border color transparency in Text Box element by [@chudy20007](https://github.com/Chudy20007) in [#2555](https://github.com/PHPOffice/PHPWord/pull/2555)
- Writer/Reader Word2007: Added support for the firstLineChars for Indentation by [@liuzhilinux](https://github.com/liuzhilinux) & [@Progi1984](https://github.com/Progi1984) in [#2753](https://github.com/PHPOffice/PHPWord/pull/2753)

### Bug fixes

- Writer ODText: Support for images inside a textRun by [@Progi1984](https://github.com/Progi1984) fixing [#2240](https://github.com/PHPOffice/PHPWord/issues/2240) in [#2668](https://github.com/PHPOffice/PHPWord/pull/2668)
- Allow vAlign and vMerge on Style\Cell to be set to null by [@SpraxDev](https://github.com/SpraxDev) fixing [#2673](https://github.com/PHPOffice/PHPWord/issues/2673) in [#2676](https://github.com/PHPOffice/PHPWord/pull/2676)
- Reader HTML: Support for differents size units for table by [@Progi1984](https://github.com/Progi1984) fixing [#2384](https://github.com/PHPOffice/PHPWord/issues/2384), [#2701](https://github.com/PHPOffice/PHPWord/issues/2701) in [#2725](https://github.com/PHPOffice/PHPWord/pull/2725)
- Reader Word2007: Respect paragraph indent units by [@tugmaks](https://github.com/tugmaks) & [@Progi1984](https://github.com/Progi1984) fixing [#507](https://github.com/PHPOffice/PHPWord/issues/507) in [#2726](https://github.com/PHPOffice/PHPWord/pull/2726)
- Reader Word2007: Support Header elements within Title elements by [@SpraxDev](https://github.com/SpraxDev) fixing [#2616](https://github.com/PHPOffice/PHPWord/issues/2616), [#2426](https://github.com/PHPOffice/PHPWord/issues/2426) in [#2674](https://github.com/PHPOffice/PHPWord/pull/2674)
- Reader HTML: Support for inherit value for property line-height by [@Progi1984](https://github.com/Progi1984) fixing [#2683](https://github.com/PHPOffice/PHPWord/issues/2683) in [#2733](https://github.com/PHPOffice/PHPWord/pull/2733)
- Writer HTML: Fixed null string for Text Elements by [@armagedon007](https://github.com/armagedon007) and [@Progi1984](https://github.com/Progi1984) in [#2738](https://github.com/PHPOffice/PHPWord/pull/2738)
- Template Processor: Fix 0 considered as empty string by [@cavasinf](https://github.com/cavasinf), [@SnipsMine](https://github.com/SnipsMine) and [@Progi1984](https://github.com/Progi1984) fixing [#2572](https://github.com/PHPOffice/PHPWord/issues/2572), [#2703](https://github.com/PHPOffice/PHPWord/issues/2703) in [#2748](https://github.com/PHPOffice/PHPWord/pull/2748)
- Word2007 Writer : Corrected generating TOC to fix page number missing issues [@jgiacomello](https://github.com/jgiacomello) in [#2556](https://github.com/PHPOffice/PHPWord/pull/2556)
- Enhanced error handling in encoding functions [@michalschroeder](https://github.com/michalschroeder) in [#2784](https://github.com/PHPOffice/PHPWord/pull/2784)

### Miscellaneous

- Bump dompdf/dompdf from 2.0.4 to 3.0.0 by [@dependabot](https://github.com/dependabot) fixing [#2621](https://github.com/PHPOffice/PHPWord/issues/2621) in [#2666](https://github.com/PHPOffice/PHPWord/pull/2666)
- Add test case to make sure vMerge defaults to 'continue' by [@SpraxDev](https://github.com/SpraxDev) in [#2677](https://github.com/PHPOffice/PHPWord/pull/2677)
- Adding the possibility to use iterate search and replace with setValues by [@moghwan](https://github.com/moghwan) in [#2632](https://github.com/PHPOffice/PHPWord/pull/2640)
- Add test cases that test the ODTText and Word2007 reader using the corresponding writer, increasing test coverage by [@MichaelPFrey](https://github.com/MichaelPFrey) in [#2745](https://github.com/PHPOffice/PHPWord/pull/2745)
- Updated TOCTest to use static HTML content instead of external resource [@michalschroeder](https://github.com/michalschroeder) in [#2784](https://github.com/PHPOffice/PHPWord/pull/2784)
- Bump PHPOffice/math from 0.2.0 to 0.3.0 by [@eileenmcnaughton](https://github.com/eileenmcnaughton) in [#2785](https://github.com/PHPOffice/PHPWord/pull/2785)

### Deprecations
- Deprecate `PhpOffice\PhpWord\Style\Paragraph::getIndent()` : Use `PhpOffice\PhpWord\Style\Paragraph::getIndentLeft()`
- Deprecate `PhpOffice\PhpWord\Style\Paragraph::setHanging()` : Use `PhpOffice\PhpWord\Style\Paragraph::setIndentHanging()`
- Deprecate `PhpOffice\PhpWord\Style\Paragraph::setIndent()` : Use `PhpOffice\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](https://github.com/PHPOffice/PHPWord/pull/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.


================================================
FILE: docs/changes/1.x/1.5.0.md
================================================
# [1.5.0](https://github.com/PHPOffice/PHPWord/tree/1.5.0) (WIP)

[Full Changelog](https://github.com/PHPOffice/PHPWord/compare/1.4.0...1.5.0)

## Enhancements

### Bug fixes

- Set writeAttribute return type by [@radarhere](https://github.com/radarhere) fixing [#2204](https://github.com/PHPOffice/PHPWord/issues/2204) in [#2776](https://github.com/PHPOffice/PHPWord/pull/2776)

### Miscellaneous

- Update phpstan/phpstan requirement from ^0.12.88 || ^1.0.0 to ^0.12.88 || ^1.0.0 || ^2.0.0 by [@dependabot](https://github.com/dependabot) & [@Progi1984](https://github.com/Progi1984) in [#2736](https://github.com/PHPOffice/PHPWord/pull/2736)

### Deprecations

### BC Breaks

### Notes

================================================
FILE: docs/credits.md
================================================
# Credits

Images from chart page come from the [LibreOffice Core](https://github.com/LibreOffice/core/tree/master/icon-themes/galaxy/chart2/res).

Some definitions come from the [Office Open XML](http://officeopenxml.com).

## References

### OpenXML

Known as "ISO/IEC 29500, Third edition, 2012-09-01"

ISO :

- [Part 1: Fundamentals and Markup Language Reference](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061750_ISO_IEC_29500-1_2012.zip)
- [Part 2: Open Packaging Conventions](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061796_ISO_IEC_29500-2_2012.zip)
- [Part 3: Markup Compatibility and Extensibility](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061797_ISO_IEC_29500-3_2012.zip)
- [Part 4: Transitional Migration Features](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061798_ISO_IEC_29500-4_2012.zip)

MSDN :

- [Open XML SDK 2.5 with Validator](http://www.microsoft.com/en-gb/download/details.aspx?id=30425)
- [DocumentFormat.OpenXml.Wordprocessing Namespace on MSDN](http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing%28v=office.14%29.aspx)

Library of Congress :

- [OOXML Format Family -- ISO/IEC 29500 and ECMA 376](https://www.loc.gov/preservation/digital/formats/fdd/fdd000395.shtml)
- [Schemas in W3C XML Schema language and in RELAX NG for the Strict variant of PPTX, etc.](http://standards.iso.org/ittf/PubliclyAvailableStandards/c071691_ISO_IEC_29500-1_2016_Electronic_inserts.zip)


### OpenDocument

- [Oasis OpenDocument Standard Version 1.2](http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os.html)
- [Schema Central Open Document 1.1](http://www.datypic.com/sc/odf/ss.html)

### Rich Text Format

- [Rich Text Format (RTF) Specification, version 1.9.1](http://www.microsoft.com/en-us/download/details.aspx?id=10725)

### Word 97

================================================
FILE: docs/faq.md
================================================
# Frequently asked questions

## How contribute to PHPWord?
- Improve the documentation



================================================
FILE: docs/howto.md
================================================
# How to

## Create float left image

Use absolute positioning relative to margin horizontally and to line vertically.

``` php
<?php

$imageStyle = array(
    'width' => 40,
    'height' => 40,
    'wrappingStyle' => 'square',
    'positioning' => 'absolute',
    'posHorizontalRel' => 'margin',
    'posVerticalRel' => 'line',
);
$textrun->addImage(__DIR__ . '/resources/_earth.jpg', $imageStyle);
```

## Download the produced file automatically

Use ``php://output`` as the filename.

``` php
<?php

$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->addText('Hello World!');
$file = 'HelloWorld.docx';
header("Content-Description: File Transfer");
header('Content-Disposition: attachment; filename="' . $file . '"');
header('Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document');
header('Content-Transfer-Encoding: binary');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Expires: 0');
$xmlWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
$xmlWriter->save("php://output");
```

## Create numbered headings

Define a numbering style and title styles, and match the two styles (with ``pStyle`` and ``numStyle``) like below.

``` php
<?php

$phpWord->addNumberingStyle(
    'hNum',
    array('type' => 'multilevel', 'levels' => array(
        array('pStyle' => 'Heading1', 'format' => 'decimal', 'text' => '%1'),
        array('pStyle' => 'Heading2', 'format' => 'decimal', 'text' => '%1.%2'),
        array('pStyle' => 'Heading3', 'format' => 'decimal', 'text' => '%1.%2.%3'),
        )
    )
);
$phpWord->addTitleStyle(1, array('size' => 16), array('numStyle' => 'hNum', 'numLevel' => 0));
$phpWord->addTitleStyle(2, array('size' => 14), array('numStyle' => 'hNum', 'numLevel' => 1));
$phpWord->addTitleStyle(3, array('size' => 12), array('numStyle' => 'hNum', 'numLevel' => 2));

$section->addTitle('Heading 1', 1);
$section->addTitle('Heading 2', 2);
$section->addTitle('Heading 3', 3);
```

## Add a link within a title

Apply 'HeadingN' paragraph style to TextRun or Link. Sample code:

``` php
<?php

$phpWord = new \PhpOffice\PhpWord\PhpWord();
$phpWord->addTitleStyle(1, array('size' => 16, 'bold' => true));
$phpWord->addTitleStyle(2, array('size' => 14, 'bold' => true));
$phpWord->addFontStyle('Link', array('color' => '0000FF', 'underline' => 'single'));

$section = $phpWord->addSection();

// Textrun
$textrun = $section->addTextRun('Heading1');
$textrun->addText('The ');
$textrun->addLink('https://github.com/PHPOffice/PHPWord', 'PHPWord', 'Link');

// Link
$section->addLink('https://github.com/', 'GitHub', 'Link', 'Heading2');
```

## Remove [Compatibility Mode] text in the MS Word title bar

Use the ``Metadata\Compatibility\setOoxmlVersion(n)`` method with ``n`` is the version of Office:

* 14 = Office 2010
* 15 = Office 2013

``` php
<?php

$phpWord->getCompatibility()->setOoxmlVersion(15);
```


================================================
FILE: docs/index.md
================================================
#

![PHPWord](images/phpword.svg)

PHPWord is a library written in pure PHP that provides a set ofclasses to write to different document file formats, i.e. [Microsoft Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML)(`.docx`), OASIS [Open Document Format for Office Applications](http://en.wikipedia.org/wiki/OpenDocument) (`.odt`), [Rich Text Format](http://en.wikipedia.org/wiki/Rich_Text_Format) (`.rtf`), [Microsoft Word Binary File](https://en.wikipedia.org/wiki/Doc_(computing)) (`.doc`), HTML (`.html`), and PDF (`.pdf`).

PHPWord is an open source project licensed under the terms of [LGPL version 3](https://github.com/PHPOffice/PHPWord/blob/master/COPYING.LESSER). PHPWord is aimed to be a high quality software product by incorporating [continuous integration and unit testing](https://github.com/PHPOffice/PHPWord/actions/workflows/php.yml). You can learn more about PHPWord by reading this Developers'Documentation.
<!---
-  and the `API Documentation <http://phpoffice.github.io/PHPWord/docs/develop/>`__
-->

## Features

- Set document properties, e.g. title, subject, and creator.
- Create document sections with different settings, e.g. portrait/landscape, page size, and page numbering
- Create header and footer for each sections
- Set default font type, font size, and paragraph style
- Use UTF-8 and East Asia fonts/characters
- Define custom font styles (e.g. bold, italic, color) and paragraph styles (e.g. centered, multicolumns, spacing) either as named style or inline in text
- Insert paragraphs, either as a simple text or complex one (a text run) that contains other elements
- Insert titles (headers) and table of contents
- Insert text breaks and page breaks
- Insert and format images, either local, remote, or as page watermarks
- Insert binary OLE Objects such as Excel or Visio
- Insert and format table with customized properties for each rows (e.g. repeat as header row) and cells (e.g. background color, rowspan, colspan)
- Insert list items as bulleted, numbered, or multilevel
- Insert hyperlinks
- Insert footnotes and endnotes
- Insert drawing shapes (arc, curve, line, polyline, rect, oval)
- Insert charts (pie, doughnut, bar, line, area, scatter, radar)
- Insert form fields (textinput, checkbox, and dropdown)
- Create document from templates
- Use XSL 1.0 style sheets to transform headers, main document part, and footers of an OOXML template
- ... and many more features on progress

## File formats

Below are the supported features for each file formats.


### Writers


| Features                  |                      | OOXML  | ODF   | RTF   | HTML   | PDF   |
|---------------------------|----------------------|--------|-------|-------|--------|--------|
| **Document Properties**   | Standard             | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Custom               | :material-check: | :material-check: |       |        |       |
| **Element Type**          | Text                 | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Text Run             | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Title                | :material-check: | :material-check: |       | :material-check: | :material-check: |
|                           | Link                 | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Preserve Text        | :material-check: |       |       |        |       |
|                           | Text Break           | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Page Break           | :material-check: |       |  :material-check:    |        |       |
|                           | List                 | :material-check: | :material-check: |       |        |       |
|                           | Table                | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Image                | :material-check: | :material-check: | :material-check: | :material-check: |       |
|                           | Object               | :material-check: |       |       |        |       |
|                           | Watermark            | :material-check: |       |       |        |       |
|                           | Table of Contents    | :material-check: |       |       |        |       |
|                           | Header               | :material-check: |       |       |        |       |
|                           | Footer               | :material-check: |       |       |        |       |
|                           | Footnote             | :material-check: |       |       | :material-check: |       |
|                           | Endnote              | :material-check: |       |       | :material-check: |       |
|                           | Comments             | :material-check: |       |       |        |       |
| **Graphs**                | 2D basic graphs      | :material-check: |       |       |        |       |
|                           | 2D advanced graphs   |        |       |       |        |       |
|                           | 3D graphs            | :material-check: |       |       |        |       |
| **Math**                  | OMML support         | :material-check: |       |       |        |       |
|                           | MathML support       |        | :material-check: |       |        |       |
| **Bonus**                 | Encryption           |        |       |       |        |       |
|                           | Protection           |        |       |       |        |       |

### Readers


| Features                  |                      | OOXML  | DOC   | ODF   | RTF   | HTML  |
|---------------------------|----------------------|--------|-------|-------|-------|-------|
| **Document Properties**   | Standard             | :material-check: |       |       |       |       |
|                           | Custom               | :material-check: |       |       |       |       |
| **Element Type**          | Text                 | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: |
|                           | Text Run             | :material-check: |       |       |       |       |
|                           | Title                | :material-check: |       | :material-check: |       |       |
|                           | Link                 | :material-check: | :material-check: |       |       |       |
|                           | Preserve Text        | :material-check: |       |       |       |       |
|                           | Text Break           | :material-check: | :material-check: |       |       |       |
|                           | Page Break           | :material-check: |       |       |       |       |
|                           | List                 | :material-check: |       | :material-check: |       | :material-check: |
|                           | Table                | :material-check: |       |       |       | :material-check: |
|                           | Image                | :material-check: | :material-check: |       |       |       |
|                           | Object               |        |       |       |       |       |
|                           | Watermark            |        |       |       |       |       |
|                           | Table of Contents    |        |       |       |       |       |
|                           | Header               | :material-check: |       |       |       |       |
|                           | Footer               | :material-check: |       |       |       |       |
|                           | Footnote             | :material-check: |       |       |       |       |
|                           | Endnote              | :material-check: |       |       |       |       |
|                           | Comments             | :material-check: |       |       |       |       |
| **Graphs**                | 2D basic graphs      |        |       |       |       |       |
|                           | 2D advanced graphs   |        |       |       |       |       |
|                           | 3D graphs            |        |       |       |       |       |
| **Math**                  | OMML support         | :material-check: |       |       |       |       |
|                           | MathML support       |        | :material-check: |       |       |       |
| **Bonus**                 | Encryption           |        |       |       |       |       |
|                           | Protection           |        |       |       |       |       |


## Contributing

We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute:

-  Read [our contributing guide](https://github.com/PHPOffice/PHPWord/blob/master/CONTRIBUTING.md)
-  [Fork us](https://github.com/PHPOffice/PHPWord/fork) and [request a pull](https://github.com/PHPOffice/PHPWord/pulls) to the [master](https://github.com/PHPOffice/PHPWord/tree/master) branch
-  Submit [bug reports or feature requests](https://github.com/PHPOffice/PHPWord/issues) to GitHub
-  Follow [@PHPOffice](https://twitter.com/PHPOffice) on Twitter


================================================
FILE: docs/install.md
================================================
# Installation

## Requirements

Mandatory:

-  PHP 7.1+
-  PHP [DOM extension](http://php.net/manual/en/book.dom.php)
-  PHP [JSON extension](http://php.net/manual/en/book.json.php)
-  PHP [XML Parser extension](http://www.php.net/manual/en/xml.installation.php)
-  PHP [XMLWriter extension](http://php.net/manual/en/book.xmlwriter.php)


## Installation

There are two ways to install PHPWord, i.e. via [Composer](http://getcomposer.org) or manually by downloading the library.

### Using Composer

To install via Composer, add the following lines to your `composer.json`:

``` json
{
    "require": {
        "phpoffice/phpword": "dev-master"
    }
}
```


### Using manual install
To install manually:

* [download PHPOffice\PHPWord package from GitHub](https://github.com/PHPOffice/PHPWord/archive/master.zip)
* extract the package and put the contents to your machine.


``` php
<?php

require_once 'path/to/PHPWord/src/PhpWord/Autoloader.php';
\PhpOffice\PhpWord\Autoloader::register();

```

The preferred method is the Composer one.

### Configuration

In order to configure you can create phpword.ini file and load configuration by calling Settings::loadConfig

``` php
<?php

Settings::loadConfig();

```

You can also specify the config file location. (Do not use phpword.ini file in vendor folder)

``` php
<?php

Settings::loadConfig(__DIR__ . '/../../phpword.ini');

```

## Samples

After installation, you can browse and use the samples that we've provided, either by command line or using browser. If you can access your PhpWord library folder using browser, point your browser to the `samples` folder, e.g. `http://localhost/PhpWord/samples/`.


================================================
FILE: docs/usage/containers.md
================================================
# Containers

Containers are objects where you can put elements (texts, lists, tables, etc). There are 3 main containers, i.e. sections, headers, and footers.There are 3 elements that can also act as containers, i.e. textruns, table cells, and footnotes.

## Sections

Every visible element in word is placed inside of a section. To create a section, use the following code:

``` php
<?php

$section = $phpWord->addSection($sectionStyle);
```

The ``$sectionStyle`` is an optional associative array that sets the section. Example:

``` php
<?php

$sectionStyle = array(
    'orientation' => 'landscape',
    'marginTop' => 600,
    'colsNum' => 2,
);
```

### Page number

You can change a section page number by using the ``pageNumberingStart``
style of the section.

``` php
<?php

// Method 1
$section = $phpWord->addSection(array('pageNumberingStart' => 1));

// Method 2
$section = $phpWord->addSection();
$section->getStyle()->setPageNumberingStart(1);
```

### Multicolumn

You can change a section layout to multicolumn (like in a newspaper) by
using the ``breakType`` and ``colsNum`` style of the section.

``` php
<?php

// Method 1
$section = $phpWord->addSection(array('breakType' => 'continuous', 'colsNum' => 2));

// Method 2
$section = $phpWord->addSection();
$section->getStyle()->setBreakType('continuous');
$section->getStyle()->setColsNum(2);
```

### Line numbering

You can apply line numbering to a section by using the ``lineNumbering``
style of the section.

``` php
<?php

// Method 1
$section = $phpWord->addSection(array('lineNumbering' => array()));

// Method 2
$section = $phpWord->addSection();
$section->getStyle()->setLineNumbering(array());
```

Below are the properties of the line numbering style.

-  ``start`` Line numbering starting value
-  ``increment`` Line number increments
-  ``distance`` Distance between text and line numbering in *twip*
-  ``restart`` Line numbering restart setting
   continuous\|newPage\|newSection

## Headers

Each section can have its own header reference. To create a header use
the ``addHeader`` method:

``` php
<?php

$header = $section->addHeader();
```

Be sure to save the result in a local object. You can use all elements
that are available for the footer. See "Footer" section for detail.
Additionally, only inside of the header reference you can add watermarks
or background pictures. See "Watermarks" section.

You can pass an optional parameter to specify where the header/footer should be applied, it can be

-  ``Footer::AUTO`` default, all pages except if overridden by first or even
-  ``Footer::FIRST`` each first page of the section
-  ``Footer::EVEN`` each even page of the section. Will only be applied if the evenAndOddHeaders is set to true in phpWord->settings

To change the evenAndOddHeaders use the ``getSettings`` method to return the Settings object, and then call the ``setEvenAndOddHeaders`` method:

``` php
<?php

$phpWord->getSettings()->setEvenAndOddHeaders(true);
```

## Footers

Each section can have its own footer reference. To create a footer, use
the ``addFooter`` method:

``` php
<?php

$footer = $section->addFooter();
```

Be sure to save the result in a local object to add elements to a
footer. You can add the following elements to footers:

-  Texts ``addText`` and ``createTextrun``
-  Text breaks
-  Images
-  Tables
-  Preserve text

See the "Elements" section for the detail of each elements.

### Other containers

Textruns, table cells, and footnotes are elements that can also act as
containers. See the corresponding "Elements" section for the detail of
each elements.


================================================
FILE: docs/usage/elements/chart.md
================================================
# Chart

Charts can be added using

``` php
<?php

$categories = array('A', 'B', 'C', 'D', 'E');
$series = array(1, 3, 2, 5, 4);
$chart = $section->addChart('line', $categories, $series, $style);
```

For available styling options, see [`Styles > Chart`](../styles/chart.md).

Check out the Sample_32_Chart.php for more options and styling.

================================================
FILE: docs/usage/elements/checkbox.md
================================================
# Checkbox

Checkbox elements can be added to sections or table cells by using ``addCheckBox``.

``` php
<?php

$section->addCheckBox($name, $text, [$fontStyle], [$paragraphStyle]);
```

- ``$name``. Name of the check box.
- ``$text``. Text to be displayed in the document.
- ``$fontStyle``. See [`Styles > Font`](../styles/font.md).
- ``$paragraphStyle``. See [`Styles > Paragraph`](../styles/paragraph.md).

================================================
FILE: docs/usage/elements/comment.md
================================================
# Comment

Comments can be added to a document by using ``addComment``.
The comment can contain formatted text. Once the comment has been added, it can be linked to any element with ``setCommentRangeStart``.

``` php
<?php

// first create a comment
$comment= new \PhpOffice\PhpWord\Element\Comment('Authors name', new \DateTime(), 'my_initials');
$comment->addText('Test', array('bold' => true));

// add it to the document
$phpWord->addComment($comment);

$textrun = $section->addTextRun();
$textrun->addText('This ');
$text = $textrun->addText('is');
// link the comment to the text you just created
$text->setCommentRangeStart($comment);
$textrun->addText(' a test');
```

If no end is set for a comment using the ``setCommentRangeEnd``, the comment will be ended automatically at the end of the element it is started on.

================================================
FILE: docs/usage/elements/field.md
================================================
# Field

Currently the following fields are supported:

- PAGE
- NUMPAGES
- DATE
- XE
- INDEX
- FILENAME
- REF

``` php
<?php

$section->addField($fieldType, [$properties], [$options], [$fieldText], [$fontStyle])
```

- ``$fontStyle``. See [`Styles > Font`](../styles/font.md).

See ``\PhpOffice\PhpWord\Element\Field`` for list of properties and options available for each field type.
Options which are not specifically defined can be added. Those must start with a ``\``.

For instance for the INDEX field, you can do the following (See `Index Field for list of available options <https://support.office.com/en-us/article/Field-codes-Index-field-adafcf4a-cb30-43f6-85c7-743da1635d9e?ui=en-US&rs=en-US&ad=US>`_ ):

``` php
<?php

// the $fieldText can be either a simple string
$fieldText = 'The index value';

// or a 'TextRun', to be able to format the text you want in the index
$fieldText = new TextRun();
$fieldText->addText('My ');
$fieldText->addText('bold index', ['bold' => true]);
$fieldText->addText(' entry');
$section->addField('XE', array(), array(), $fieldText);

// this actually adds the index
$section->addField('INDEX', array(), array('\\e "	" \\h "A" \\c "3"'), 'right click to update index');

// Adding reference to a bookmark
$fieldText->addField('REF', [
    'name' => 'bookmark'
], [
    'InsertParagraphNumberRelativeContext',
    'CreateHyperLink',
]);
```


================================================
FILE: docs/usage/elements/formula.md
================================================
# Formula

Formula can be added using

``` php
<?php

use PhpOffice\Math\Element;
use PhpOffice\Math\Math;

$fraction = new Element\Fraction();
$fraction
    ->setDenominator(new Element\Numeric(2))
    ->setNumerator(new Element\Identifier('π'))
;

$math = new Math();
$math->add($fraction);

$formula = $section->addFormula($math);
```

================================================
FILE: docs/usage/elements/image.md
================================================
# Image

To add an image, use the ``addImage`` method to sections, headers, footers, textruns, or table cells.

``` php
<?php

$section->addImage($src, [$style]);
```

- ``$src``. String path to a local image, URL of a remote image or the image data, as a string. Warning: Do not pass user-generated strings here, as that would allow an attacker to read arbitrary files or perform server-side request forgery by passing file paths or URLs instead of image data.
- ``$style``. See [`Styles > Image`](../styles/image.md).

Examples:

``` php
<?php

$section = $phpWord->addSection();
$section->addImage(
    'mars.jpg',
    array(
        'width'         => 100,
        'height'        => 100,
        'marginTop'     => -1,
        'marginLeft'    => -1,
        'wrappingStyle' => 'behind'
    )
);
$footer = $section->addFooter();
$footer->addImage('http://example.com/image.php');
$textrun = $section->addTextRun();
$textrun->addImage('http://php.net/logo.jpg');
$source = file_get_contents('/path/to/my/images/earth.jpg');
$textrun->addImage($source);
```

================================================
FILE: docs/usage/elements/index.md
================================================
# Elements

Below are the matrix of element availability in each container. The column shows the containers while the rows lists the elements.

| Num   | Element        | Section    | Header   | Footer   | Cell    | Text Run   | Footnote   |
|-------|-----------------|-----------|----------|----------|---------|------------|------------|
| 1     | [Text](text.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 2     | Text Run | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :red_circle: | :red_circle: |
| 3     | [Link](link.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 4     | [Title](title.md) | :white_check_mark: | :question: | :question: | :question: | :question: | :question: |
| 5     | [Preserve Text](preservetext.md) | :question: | :white_check_mark: | :white_check_mark: | :material-check-decagram-outline: | :red_circle: | :red_circle: |
| 6     | [Text Break](textbreak.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 7     | [Page Break](pagebreak.md) | :white_check_mark: | :red_circle: | :red_circle: | :red_circle: | :red_circle: | :red_circle: |
| 8     | [List](list.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :red_circle: | :red_circle: |
| 9     | [Table](table.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :red_circle: | :red_circle: |
| 10    | [Image](image.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 11    | [Watermark](watermark.md) | :red_circle: | :white_check_mark: | :red_circle: | :red_circle: | :red_circle: | :red_circle: |
| 12    | [OLEObject](oleobject.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 13    | [TOC](toc.md) | :white_check_mark: | :red_circle: | :red_circle: | :red_circle: | :red_circle: | :red_circle: |
| 14    | [Footnote](note.md) | :white_check_mark: | :red_circle: | :red_circle: | :material-check-decagram: | :material-check-decagram: | :red_circle: |
| 15    | [Endnote](note.md) | :white_check_mark: | :red_circle: | :red_circle: | :material-check-decagram: | :material-check-decagram: | :red_circle: |
| 16    | [CheckBox](checkbox.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :red_circle: |
| 17    | [TextBox](textbox.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :red_circle: | :red_circle: |
| 18    | [Field](field.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 19    | [Line](line.md) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 20    | [Chart](chart.md) | :white_check_mark: | | | :white_check_mark: | | |

Legend:

- :white_check_mark: : Available.
- :material-check-decagram-outline: : Available only when inside header/footer.
- :material-check-decagram: : Available only when inside section.
- :red_circle: : Not available.
- :question: : Should be available.

================================================
FILE: docs/usage/elements/line.md
================================================
# Line

Line elements can be added to sections by using ``addLine``.

``` php
<?php

$lineStyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
$section->addLine($lineStyle);
```

Available line style attributes:

- ``weight``. Line width in *twip*.
- ``color``. Defines the color of stroke.
- ``dash``. Line types: dash, rounddot, squaredot, dashdot, longdash, longdashdot, longdashdotdot.
- ``beginArrow``. Start type of arrow: block, open, classic, diamond, oval.
- ``endArrow``. End type of arrow: block, open, classic, diamond, oval.
- ``width``. Line-object width in *pt*.
- ``height``. Line-object height in *pt*.
- ``flip``. Flip the line element: true, false.

================================================
FILE: docs/usage/elements/link.md
================================================
# Link

You can add Hyperlinks to the document by using the function addLink:

``` php
<?php

$section->addLink($linkSrc, [$linkName], [$fontStyle], [$paragraphStyle]);
```

- ``$linkSrc``. The URL of the link.
- ``$linkName``. Placeholder of the URL that appears in the document.
- ``$fontStyle``. See [`Styles > Font`](../styles/font.md).
- ``$paragraphStyle``. See [`Styles > Paragraph`](../styles/paragraph.md).

================================================
FILE: docs/usage/elements/list.md
================================================
# List

Lists can be added by using ``addListItem`` and ``addListItemRun`` methods. ``addListItem`` is used for creating lists that only contain plain text. ``addListItemRun`` is used for creating complex list items that contains texts with different style (some bold, other italics, etc) or other elements, e.g. images or links. The syntaxes are as follow:

Basic usage:

``` php
<?php

$section->addListItem($text, [$depth], [$fontStyle], [$listStyle], [$paragraphStyle]);
$listItemRun = $section->addListItemRun([$depth], [$listStyle], [$paragraphStyle])
``` 

Parameters:

- ``$text``. Text that appears in the document.
- ``$depth``. Depth of list item.
- ``$fontStyle``. See [`Styles > Font`](../styles/font.md)..
- ``$listStyle``. List style of the current element TYPE\_NUMBER,
  TYPE\_ALPHANUM, TYPE\_BULLET\_FILLED, etc. See list of constants in PHPWord\\Style\\ListItem.
- ``$paragraphStyle``. See [`Styles > Paragraph`](../styles/paragraph.md)..

See ``Sample_14_ListItem.php`` for more code sample.

Advanced usage:

You can also create your own numbering style by changing the ``$listStyle`` parameter with the name of your numbering style.

``` php
<?php

$phpWord->addNumberingStyle(
    'multilevel',
    array(
        'type' => 'multilevel',
        'levels' => array(
            array('format' => 'decimal', 'text' => '%1.', 'left' => 360, 'hanging' => 360, 'tabPos' => 360),
            array('format' => 'upperLetter', 'text' => '%2.', 'left' => 720, 'hanging' => 360, 'tabPos' => 720),
        )
    )
);
$section->addListItem('List Item I', 0, null, 'multilevel');
$section->addListItem('List Item I.a', 1, null, 'multilevel');
$section->addListItem('List Item I.b', 1, null, 'multilevel');
$section->ad
Download .txt
gitextract_ajsy6hth/

├── .gitattributes
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── 1_bug_report.yml
│   │   └── 2_feature_request.yml
│   ├── PULL_REQUEST_TEMPLATE.md
│   ├── dependabot.yml
│   ├── support.yml
│   └── workflows/
│       ├── deploy.yml
│       └── php.yml
├── .github_changelog_generator
├── .gitignore
├── .php-cs-fixer.dist.php
├── CONTRIBUTING.md
├── COPYING
├── COPYING.LESSER
├── LICENSE
├── README.md
├── composer.json
├── docs/
│   ├── changes/
│   │   ├── 0.x/
│   │   │   ├── 0.10.0.md
│   │   │   ├── 0.10.1.md
│   │   │   ├── 0.11.0.md
│   │   │   ├── 0.11.1.md
│   │   │   ├── 0.12.0.md
│   │   │   ├── 0.12.1.md
│   │   │   ├── 0.13.0.md
│   │   │   ├── 0.14.0.md
│   │   │   ├── 0.15.0.md
│   │   │   ├── 0.16.0.md
│   │   │   ├── 0.17.0.md
│   │   │   ├── 0.18.0.md
│   │   │   ├── 0.18.1.md
│   │   │   ├── 0.18.2.md
│   │   │   ├── 0.18.3.md
│   │   │   ├── 0.7.0.md
│   │   │   ├── 0.8.0.md
│   │   │   ├── 0.8.1.md
│   │   │   ├── 0.9.0.md
│   │   │   └── 0.9.1.md
│   │   └── 1.x/
│   │       ├── 1.0.0.md
│   │       ├── 1.1.0.md
│   │       ├── 1.2.0.md
│   │       ├── 1.3.0.md
│   │       ├── 1.4.0.md
│   │       └── 1.5.0.md
│   ├── credits.md
│   ├── faq.md
│   ├── howto.md
│   ├── index.md
│   ├── install.md
│   └── usage/
│       ├── containers.md
│       ├── elements/
│       │   ├── chart.md
│       │   ├── checkbox.md
│       │   ├── comment.md
│       │   ├── field.md
│       │   ├── formula.md
│       │   ├── image.md
│       │   ├── index.md
│       │   ├── line.md
│       │   ├── link.md
│       │   ├── list.md
│       │   ├── note.md
│       │   ├── oleobject.md
│       │   ├── pagebreak.md
│       │   ├── preservetext.md
│       │   ├── ruby.md
│       │   ├── table.md
│       │   ├── text.md
│       │   ├── textbox.md
│       │   ├── textbreak.md
│       │   ├── title.md
│       │   ├── toc.md
│       │   ├── trackchanges.md
│       │   └── watermark.md
│       ├── introduction.md
│       ├── readers.md
│       ├── styles/
│       │   ├── chart.md
│       │   ├── font.md
│       │   ├── image.md
│       │   ├── numberinglevel.md
│       │   ├── paragraph.md
│       │   ├── section.md
│       │   └── table.md
│       ├── template.md
│       └── writers.md
├── mkdocs.yml
├── phpmd.xml.dist
├── phpstan-baseline.neon
├── phpstan.neon.dist
├── phpunit.xml.dist
├── phpword.ini.dist
├── samples/
│   ├── Sample_01_SimpleText.php
│   ├── Sample_02_TabStops.php
│   ├── Sample_03_Sections.php
│   ├── Sample_04_Textrun.php
│   ├── Sample_05_Multicolumn.php
│   ├── Sample_06_Footnote.php
│   ├── Sample_07_TemplateCloneRow.php
│   ├── Sample_08_ParagraphPagination.php
│   ├── Sample_09_Tables.php
│   ├── Sample_10_EastAsianFontStyle.php
│   ├── Sample_11_ReadWord2007.php
│   ├── Sample_11_ReadWord97.php
│   ├── Sample_12_HeaderFooter.php
│   ├── Sample_13_Images.php
│   ├── Sample_14_ListItem.php
│   ├── Sample_15_Link.php
│   ├── Sample_16_Object.php
│   ├── Sample_17_TitleTOC.php
│   ├── Sample_18_Watermark.php
│   ├── Sample_19_TextBreak.php
│   ├── Sample_20_BGColor.php
│   ├── Sample_21_TableRowRules.php
│   ├── Sample_22_CheckBox.php
│   ├── Sample_23_TemplateBlock.php
│   ├── Sample_24_ReadODText.php
│   ├── Sample_25_TextBox.php
│   ├── Sample_26_Html.php
│   ├── Sample_27_Field.php
│   ├── Sample_28_ReadRTF.php
│   ├── Sample_29_Line.php
│   ├── Sample_30_ReadHTML.php
│   ├── Sample_31_Shape.php
│   ├── Sample_32_Chart.php
│   ├── Sample_33_FormField.php
│   ├── Sample_34_SDT.php
│   ├── Sample_35_InternalLink.php
│   ├── Sample_36_RTL.php
│   ├── Sample_37_Comments.php
│   ├── Sample_38_Protection.php
│   ├── Sample_39_TrackChanges.php
│   ├── Sample_40_TemplateSetComplexValue.php
│   ├── Sample_41_TemplateSetChart.php
│   ├── Sample_42_TemplateSetCheckbox.php
│   ├── Sample_43_RTLDefault.php
│   ├── Sample_44_ExtractVariablesFromReaderWord2007.php
│   ├── Sample_45_Autoloader.php
│   ├── Sample_46_RubyPhoneticGuide.php
│   ├── Sample_Footer.php
│   ├── Sample_Header.php
│   ├── bootstrap/
│   │   ├── css/
│   │   │   └── phpword.css
│   │   └── fonts/
│   │       └── FontAwesome.otf
│   ├── index.php
│   └── resources/
│       ├── Sample_07_TemplateCloneRow.docx
│       ├── Sample_11_ReadWord2007.docx
│       ├── Sample_11_ReadWord97.doc
│       ├── Sample_23_TemplateBlock.docx
│       ├── Sample_24_ReadODText.odt
│       ├── Sample_28_ReadRTF.rtf
│       ├── Sample_30_ReadHTML.html
│       ├── Sample_40_TemplateSetComplexValue.docx
│       ├── Sample_41_TemplateSetChart.docx
│       ├── Sample_42_TemplateSetCheckbox.docx
│       ├── Sample_44_ExtractVariablesFromReaderWord2007.docx
│       └── _sheet.xls
├── src/
│   └── PhpWord/
│       ├── Autoloader.php
│       ├── Collection/
│       │   ├── AbstractCollection.php
│       │   ├── Bookmarks.php
│       │   ├── Charts.php
│       │   ├── Comments.php
│       │   ├── Endnotes.php
│       │   ├── Footnotes.php
│       │   └── Titles.php
│       ├── ComplexType/
│       │   ├── FootnoteProperties.php
│       │   ├── ProofState.php
│       │   ├── RubyProperties.php
│       │   ├── TblWidth.php
│       │   └── TrackChangesView.php
│       ├── Element/
│       │   ├── AbstractContainer.php
│       │   ├── AbstractElement.php
│       │   ├── Bookmark.php
│       │   ├── Cell.php
│       │   ├── Chart.php
│       │   ├── CheckBox.php
│       │   ├── Comment.php
│       │   ├── Endnote.php
│       │   ├── Field.php
│       │   ├── Footer.php
│       │   ├── Footnote.php
│       │   ├── FormField.php
│       │   ├── Formula.php
│       │   ├── Header.php
│       │   ├── Image.php
│       │   ├── Line.php
│       │   ├── Link.php
│       │   ├── ListItem.php
│       │   ├── ListItemRun.php
│       │   ├── OLEObject.php
│       │   ├── PageBreak.php
│       │   ├── PreserveText.php
│       │   ├── Row.php
│       │   ├── Ruby.php
│       │   ├── SDT.php
│       │   ├── Section.php
│       │   ├── Shape.php
│       │   ├── TOC.php
│       │   ├── Table.php
│       │   ├── Text.php
│       │   ├── TextBox.php
│       │   ├── TextBreak.php
│       │   ├── TextRun.php
│       │   ├── Title.php
│       │   └── TrackChange.php
│       ├── Escaper/
│       │   ├── AbstractEscaper.php
│       │   ├── EscaperInterface.php
│       │   ├── RegExp.php
│       │   ├── Rtf.php
│       │   └── Xml.php
│       ├── Exception/
│       │   ├── CopyFileException.php
│       │   ├── CreateTemporaryFileException.php
│       │   ├── Exception.php
│       │   ├── InvalidImageException.php
│       │   ├── InvalidObjectException.php
│       │   ├── InvalidStyleException.php
│       │   └── UnsupportedImageTypeException.php
│       ├── IOFactory.php
│       ├── Media.php
│       ├── Metadata/
│       │   ├── Compatibility.php
│       │   ├── DocInfo.php
│       │   ├── Protection.php
│       │   └── Settings.php
│       ├── PhpWord.php
│       ├── Reader/
│       │   ├── AbstractReader.php
│       │   ├── HTML.php
│       │   ├── MsDoc.php
│       │   ├── ODText/
│       │   │   ├── AbstractPart.php
│       │   │   ├── Content.php
│       │   │   └── Meta.php
│       │   ├── ODText.php
│       │   ├── RTF/
│       │   │   └── Document.php
│       │   ├── RTF.php
│       │   ├── ReaderInterface.php
│       │   ├── Word2007/
│       │   │   ├── AbstractPart.php
│       │   │   ├── Comments.php
│       │   │   ├── DocPropsApp.php
│       │   │   ├── DocPropsCore.php
│       │   │   ├── DocPropsCustom.php
│       │   │   ├── Document.php
│       │   │   ├── Endnotes.php
│       │   │   ├── Footnotes.php
│       │   │   ├── Numbering.php
│       │   │   ├── Settings.php
│       │   │   └── Styles.php
│       │   └── Word2007.php
│       ├── Settings.php
│       ├── Shared/
│       │   ├── AbstractEnum.php
│       │   ├── Converter.php
│       │   ├── Css.php
│       │   ├── Drawing.php
│       │   ├── Html.php
│       │   ├── Microsoft/
│       │   │   └── PasswordEncoder.php
│       │   ├── OLERead.php
│       │   ├── PCLZip/
│       │   │   └── pclzip.lib.php
│       │   ├── Text.php
│       │   ├── Validate.php
│       │   ├── XMLReader.php
│       │   ├── XMLWriter.php
│       │   └── ZipArchive.php
│       ├── SimpleType/
│       │   ├── Border.php
│       │   ├── DocProtect.php
│       │   ├── Jc.php
│       │   ├── JcTable.php
│       │   ├── LineSpacingRule.php
│       │   ├── NumberFormat.php
│       │   ├── TblWidth.php
│       │   ├── TextAlignment.php
│       │   ├── VerticalJc.php
│       │   └── Zoom.php
│       ├── Style/
│       │   ├── AbstractStyle.php
│       │   ├── Border.php
│       │   ├── Cell.php
│       │   ├── Chart.php
│       │   ├── Extrusion.php
│       │   ├── Fill.php
│       │   ├── Font.php
│       │   ├── Frame.php
│       │   ├── Image.php
│       │   ├── Indentation.php
│       │   ├── Language.php
│       │   ├── Line.php
│       │   ├── LineNumbering.php
│       │   ├── ListItem.php
│       │   ├── Numbering.php
│       │   ├── NumberingLevel.php
│       │   ├── Outline.php
│       │   ├── Paper.php
│       │   ├── Paragraph.php
│       │   ├── Row.php
│       │   ├── Section.php
│       │   ├── Shading.php
│       │   ├── Shadow.php
│       │   ├── Shape.php
│       │   ├── Spacing.php
│       │   ├── TOC.php
│       │   ├── Tab.php
│       │   ├── Table.php
│       │   ├── TablePosition.php
│       │   └── TextBox.php
│       ├── Style.php
│       ├── TemplateProcessor.php
│       └── Writer/
│           ├── AbstractWriter.php
│           ├── EPub3/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Image.php
│           │   │   └── Text.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Content.php
│           │   │   ├── ContentXhtml.php
│           │   │   ├── Manifest.php
│           │   │   ├── Meta.php
│           │   │   ├── Mimetype.php
│           │   │   └── Nav.php
│           │   ├── Part.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Font.php
│           │       ├── Paragraph.php
│           │       └── Table.php
│           ├── EPub3.php
│           ├── HTML/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Bookmark.php
│           │   │   ├── Container.php
│           │   │   ├── Endnote.php
│           │   │   ├── Footnote.php
│           │   │   ├── Image.php
│           │   │   ├── Link.php
│           │   │   ├── ListItem.php
│           │   │   ├── ListItemRun.php
│           │   │   ├── PageBreak.php
│           │   │   ├── Ruby.php
│           │   │   ├── Table.php
│           │   │   ├── Text.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Body.php
│           │   │   └── Head.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Font.php
│           │       ├── Generic.php
│           │       ├── Image.php
│           │       ├── Paragraph.php
│           │       └── Table.php
│           ├── HTML.php
│           ├── ODText/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Container.php
│           │   │   ├── Field.php
│           │   │   ├── Formula.php
│           │   │   ├── Image.php
│           │   │   ├── Link.php
│           │   │   ├── ListItemRun.php
│           │   │   ├── PageBreak.php
│           │   │   ├── Ruby.php
│           │   │   ├── Table.php
│           │   │   ├── Text.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Content.php
│           │   │   ├── Manifest.php
│           │   │   ├── Meta.php
│           │   │   ├── Mimetype.php
│           │   │   └── Styles.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Font.php
│           │       ├── Image.php
│           │       ├── Numbering.php
│           │       ├── Paragraph.php
│           │       ├── Section.php
│           │       └── Table.php
│           ├── ODText.php
│           ├── PDF/
│           │   ├── AbstractRenderer.php
│           │   ├── DomPDF.php
│           │   ├── MPDF.php
│           │   └── TCPDF.php
│           ├── PDF.php
│           ├── RTF/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Container.php
│           │   │   ├── Field.php
│           │   │   ├── Image.php
│           │   │   ├── Link.php
│           │   │   ├── ListItem.php
│           │   │   ├── PageBreak.php
│           │   │   ├── Ruby.php
│           │   │   ├── Table.php
│           │   │   ├── Text.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Document.php
│           │   │   └── Header.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Border.php
│           │       ├── Font.php
│           │       ├── Indentation.php
│           │       ├── Paragraph.php
│           │       ├── Section.php
│           │       └── Tab.php
│           ├── RTF.php
│           ├── Word2007/
│           │   ├── Element/
│           │   │   ├── AbstractElement.php
│           │   │   ├── Bookmark.php
│           │   │   ├── Chart.php
│           │   │   ├── CheckBox.php
│           │   │   ├── Container.php
│           │   │   ├── Endnote.php
│           │   │   ├── Field.php
│           │   │   ├── Footnote.php
│           │   │   ├── FormField.php
│           │   │   ├── Formula.php
│           │   │   ├── Image.php
│           │   │   ├── Line.php
│           │   │   ├── Link.php
│           │   │   ├── ListItem.php
│           │   │   ├── ListItemRun.php
│           │   │   ├── OLEObject.php
│           │   │   ├── PageBreak.php
│           │   │   ├── ParagraphAlignment.php
│           │   │   ├── PreserveText.php
│           │   │   ├── Ruby.php
│           │   │   ├── SDT.php
│           │   │   ├── Shape.php
│           │   │   ├── TOC.php
│           │   │   ├── Table.php
│           │   │   ├── TableAlignment.php
│           │   │   ├── Text.php
│           │   │   ├── TextBox.php
│           │   │   ├── TextBreak.php
│           │   │   ├── TextRun.php
│           │   │   └── Title.php
│           │   ├── Part/
│           │   │   ├── AbstractPart.php
│           │   │   ├── Chart.php
│           │   │   ├── Comments.php
│           │   │   ├── ContentTypes.php
│           │   │   ├── DocPropsApp.php
│           │   │   ├── DocPropsCore.php
│           │   │   ├── DocPropsCustom.php
│           │   │   ├── Document.php
│           │   │   ├── Endnotes.php
│           │   │   ├── FontTable.php
│           │   │   ├── Footer.php
│           │   │   ├── Footnotes.php
│           │   │   ├── Header.php
│           │   │   ├── Numbering.php
│           │   │   ├── Rels.php
│           │   │   ├── RelsDocument.php
│           │   │   ├── RelsPart.php
│           │   │   ├── Settings.php
│           │   │   ├── Styles.php
│           │   │   ├── Theme.php
│           │   │   └── WebSettings.php
│           │   └── Style/
│           │       ├── AbstractStyle.php
│           │       ├── Cell.php
│           │       ├── Extrusion.php
│           │       ├── Fill.php
│           │       ├── Font.php
│           │       ├── Frame.php
│           │       ├── Image.php
│           │       ├── Indentation.php
│           │       ├── Line.php
│           │       ├── LineNumbering.php
│           │       ├── MarginBorder.php
│           │       ├── Outline.php
│           │       ├── Paragraph.php
│           │       ├── Row.php
│           │       ├── Section.php
│           │       ├── Shading.php
│           │       ├── Shadow.php
│           │       ├── Shape.php
│           │       ├── Spacing.php
│           │       ├── Tab.php
│           │       ├── Table.php
│           │       ├── TablePosition.php
│           │       └── TextBox.php
│           ├── Word2007.php
│           ├── WriterInterface.php
│           └── WriterPartInterface.php
└── tests/
    ├── PhpWordTests/
    │   ├── AbstractTestReader.php
    │   ├── AbstractWebServerEmbedded.php
    │   ├── AutoloaderTest.php
    │   ├── Collection/
    │   │   └── CollectionTest.php
    │   ├── ComplexType/
    │   │   ├── FootnotePropertiesTest.php
    │   │   ├── ProofStateTest.php
    │   │   └── RubyPropertiesTest.php
    │   ├── Element/
    │   │   ├── AbstractElementTest.php
    │   │   ├── BookmarkTest.php
    │   │   ├── CellTest.php
    │   │   ├── CheckBoxTest.php
    │   │   ├── CommentTest.php
    │   │   ├── FieldTest.php
    │   │   ├── FooterTest.php
    │   │   ├── FootnoteTest.php
    │   │   ├── FormulaTest.php
    │   │   ├── HeaderTest.php
    │   │   ├── ImageTest.php
    │   │   ├── LineTest.php
    │   │   ├── LinkTest.php
    │   │   ├── ListItemRunTest.php
    │   │   ├── ListItemTest.php
    │   │   ├── ObjectTest.php
    │   │   ├── PreserveTextTest.php
    │   │   ├── RowTest.php
    │   │   ├── RubyTest.php
    │   │   ├── SDTTest.php
    │   │   ├── SectionTest.php
    │   │   ├── TOCTest.php
    │   │   ├── TableTest.php
    │   │   ├── TextBoxTest.php
    │   │   ├── TextBreakTest.php
    │   │   ├── TextRunTest.php
    │   │   ├── TextTest.php
    │   │   ├── TitleTest.php
    │   │   └── TrackChangeTest.php
    │   ├── Escaper/
    │   │   ├── RtfEscaper2Test.php
    │   │   └── RtfEscaper3Test.php
    │   ├── Exception/
    │   │   ├── CopyFileExceptionTest.php
    │   │   ├── CreateTemporaryFileExceptionTest.php
    │   │   ├── ExceptionTest.php
    │   │   ├── InvalidImageExceptionTest.php
    │   │   ├── InvalidStyleExceptionTest.php
    │   │   └── UnsupportedImageTypeExceptionTest.php
    │   ├── IOFactoryTest.php
    │   ├── MediaTest.php
    │   ├── Metadata/
    │   │   ├── DocInfoTest.php
    │   │   └── SettingsTest.php
    │   ├── PhpWordTest.php
    │   ├── Reader/
    │   │   ├── HTMLTest.php
    │   │   ├── MsDocTest.php
    │   │   ├── ODText/
    │   │   │   └── ODTextSectionTest.php
    │   │   ├── ODTextTest.php
    │   │   ├── RTFTest.php
    │   │   ├── Word2007/
    │   │   │   ├── ElementTest.php
    │   │   │   ├── PartTest.php
    │   │   │   └── StyleTest.php
    │   │   └── Word2007Test.php
    │   ├── SettingsTest.php
    │   ├── Shared/
    │   │   ├── ConverterTest.php
    │   │   ├── CssTest.php
    │   │   ├── DrawingTest.php
    │   │   ├── HtmlTest.php
    │   │   ├── Microsoft/
    │   │   │   └── PasswordEncoderTest.php
    │   │   ├── TextTest.php
    │   │   ├── ValidateTest.php
    │   │   ├── XMLReaderTest.php
    │   │   ├── XMLWriterTest.php
    │   │   └── ZipArchiveTest.php
    │   ├── Style/
    │   │   ├── AbstractStyleTest.php
    │   │   ├── CellTest.php
    │   │   ├── ChartTest.php
    │   │   ├── FontTest.php
    │   │   ├── ImageTest.php
    │   │   ├── IndentationTest.php
    │   │   ├── LanguageTest.php
    │   │   ├── LineNumberingTest.php
    │   │   ├── LineTest.php
    │   │   ├── ListItemTest.php
    │   │   ├── NumberingLevelTest.php
    │   │   ├── NumberingTest.php
    │   │   ├── PaperTest.php
    │   │   ├── ParagraphTest.php
    │   │   ├── RowTest.php
    │   │   ├── SectionTest.php
    │   │   ├── ShadingTest.php
    │   │   ├── SpacingTest.php
    │   │   ├── TOCTest.php
    │   │   ├── TabTest.php
    │   │   ├── TablePositionTest.php
    │   │   ├── TableTest.php
    │   │   └── TextBoxTest.php
    │   ├── StyleTest.php
    │   ├── TemplateProcessorTest.php
    │   ├── TestHelperDOCX.php
    │   ├── TestableTemplateProcesor.php
    │   ├── WriteReadback/
    │   │   ├── ODTextTest.php
    │   │   └── Word2007Test.php
    │   ├── Writer/
    │   │   ├── EPub3/
    │   │   │   ├── Element/
    │   │   │   │   ├── ImageTest.php
    │   │   │   │   └── TextTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── Part/
    │   │   │   │   ├── AbstractPartTest.php
    │   │   │   │   ├── ContentTest.php
    │   │   │   │   ├── ManifestTest.php
    │   │   │   │   ├── MetaTest.php
    │   │   │   │   ├── MimetypeTest.php
    │   │   │   │   └── NavTest.php
    │   │   │   ├── PartTest.php
    │   │   │   ├── Style/
    │   │   │   │   ├── AbstractStyleTest.php
    │   │   │   │   ├── FontTest.php
    │   │   │   │   ├── ParagraphTest.php
    │   │   │   │   └── TableTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── EPub3Test.php
    │   │   ├── HTML/
    │   │   │   ├── DirectionTest.php
    │   │   │   ├── Element/
    │   │   │   │   ├── PageBreakTest.php
    │   │   │   │   ├── RubyTest.php
    │   │   │   │   ├── TableTest.php
    │   │   │   │   └── TextTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── FontTest.php
    │   │   │   ├── Helper.php
    │   │   │   ├── ParagraphTest.php
    │   │   │   ├── PartTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── HTMLTest.php
    │   │   ├── ODText/
    │   │   │   ├── Element/
    │   │   │   │   ├── FieldTest.php
    │   │   │   │   ├── FormulaTest.php
    │   │   │   │   ├── ImageTest.php
    │   │   │   │   └── ListItemRunTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── Part/
    │   │   │   │   ├── AbstractPartTest.php
    │   │   │   │   ├── ContentTest.php
    │   │   │   │   └── ManifestTest.php
    │   │   │   ├── Style/
    │   │   │   │   ├── FontTest.php
    │   │   │   │   ├── NumberingTest.php
    │   │   │   │   ├── Paragraph2Test.php
    │   │   │   │   ├── ParagraphTest.php
    │   │   │   │   └── SectionTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── ODTextTest.php
    │   │   ├── PDF/
    │   │   │   ├── DomPDFTest.php
    │   │   │   ├── MPDFTest.php
    │   │   │   └── TCPDFTest.php
    │   │   ├── PDFTest.php
    │   │   ├── RTF/
    │   │   │   ├── Element/
    │   │   │   │   └── TableTest.php
    │   │   │   ├── Element2Test.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── HeaderFooterTest.php
    │   │   │   └── StyleTest.php
    │   │   ├── RTFTest.php
    │   │   ├── Word2007/
    │   │   │   ├── Element/
    │   │   │   │   ├── ChartTest.php
    │   │   │   │   ├── FieldTest.php
    │   │   │   │   ├── FormFieldTest.php
    │   │   │   │   ├── FormulaTest.php
    │   │   │   │   ├── TOCTest.php
    │   │   │   │   ├── TableTest.php
    │   │   │   │   ├── TextBoxTest.php
    │   │   │   │   └── TitleTest.php
    │   │   │   ├── ElementTest.php
    │   │   │   ├── Part/
    │   │   │   │   ├── AbstractPartTest.php
    │   │   │   │   ├── CommentsTest.php
    │   │   │   │   ├── DocumentTest.php
    │   │   │   │   ├── FooterTest.php
    │   │   │   │   ├── FootnotesTest.php
    │   │   │   │   ├── HeaderTest.php
    │   │   │   │   ├── NumberingTest.php
    │   │   │   │   ├── SettingsTest.php
    │   │   │   │   └── StylesTest.php
    │   │   │   ├── PartTest.php
    │   │   │   ├── Style/
    │   │   │   │   ├── DirectionTest.php
    │   │   │   │   ├── FontTest.php
    │   │   │   │   ├── ImageTest.php
    │   │   │   │   ├── IndentationTest.php
    │   │   │   │   ├── ParagraphTest.php
    │   │   │   │   ├── SectionTest.php
    │   │   │   │   ├── TableCellTest.php
    │   │   │   │   └── TableTest.php
    │   │   │   └── StyleTest.php
    │   │   └── Word2007Test.php
    │   ├── XmlDocument.php
    │   └── _files/
    │       ├── documents/
    │       │   ├── docChinese.doc
    │       │   ├── docCzech.doc
    │       │   ├── docSlovak.doc
    │       │   ├── reader-2011.docx
    │       │   ├── reader-comments.docx
    │       │   ├── reader-formula.docx
    │       │   ├── reader-formula.odt
    │       │   ├── reader-styles.docx
    │       │   ├── reader.doc
    │       │   ├── reader.docx
    │       │   ├── reader.font-halfpoint.doc
    │       │   ├── reader.html
    │       │   ├── reader.odt
    │       │   ├── reader.rtf
    │       │   ├── sheet.xls
    │       │   ├── without_table_macros.docx
    │       │   └── word.2493.nosection.odt
    │       ├── images/
    │       │   ├── alexz-johnson.pcx
    │       │   ├── angela_merkel.tif
    │       │   ├── mars_noext_jpg
    │       │   └── new-php-logo
    │       ├── templates/
    │       │   ├── blank.docx
    │       │   ├── clone-delete-block.docx
    │       │   ├── clone-merge-with-custom-macro.docx
    │       │   ├── clone-merge.docx
    │       │   ├── corrupted_main_document_part.docx
    │       │   ├── delete-row.docx
    │       │   ├── document22-with-custom-macro-xml.docx
    │       │   ├── document22-xml.docx
    │       │   ├── extract-variable.docx
    │       │   ├── header-footer-with-custom-macro.docx
    │       │   ├── header-footer.docx
    │       │   └── with_table_macros.docx
    │       └── xsl/
    │           ├── passthrough.xsl
    │           └── remove_tables_by_needle.xsl
    └── bootstrap.php
Download .txt
Showing preview only (308K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3450 symbols across 506 files)

FILE: samples/Sample_13_Images.php
  function printSeparator (line 91) | function printSeparator(Section $section): void

FILE: samples/Sample_Header.php
  function write (line 76) | function write(PhpOffice\PhpWord\PhpWord $phpWord, string $filename, arr...
  function getEndingNotes (line 100) | function getEndingNotes(array $writers, string $filename): string

FILE: src/PhpWord/Autoloader.php
  class Autoloader (line 22) | class Autoloader
    method register (line 27) | public static function register(): void
    method autoload (line 32) | public static function autoload(string $class): void

FILE: src/PhpWord/Collection/AbstractCollection.php
  class AbstractCollection (line 28) | abstract class AbstractCollection
    method getItems (line 42) | public function getItems(): array
    method getItem (line 52) | public function getItem(int $index)
    method setItem (line 66) | public function setItem(int $index, $item): void
    method addItem (line 78) | public function addItem($item): int
    method countItems (line 89) | public function countItems(): int

FILE: src/PhpWord/Collection/Bookmarks.php
  class Bookmarks (line 30) | class Bookmarks extends AbstractCollection

FILE: src/PhpWord/Collection/Charts.php
  class Charts (line 30) | class Charts extends AbstractCollection

FILE: src/PhpWord/Collection/Comments.php
  class Comments (line 30) | class Comments extends AbstractCollection

FILE: src/PhpWord/Collection/Endnotes.php
  class Endnotes (line 30) | class Endnotes extends AbstractCollection

FILE: src/PhpWord/Collection/Footnotes.php
  class Footnotes (line 30) | class Footnotes extends AbstractCollection

FILE: src/PhpWord/Collection/Titles.php
  class Titles (line 30) | class Titles extends AbstractCollection

FILE: src/PhpWord/ComplexType/FootnoteProperties.php
  class FootnoteProperties (line 29) | final class FootnoteProperties
    method getPos (line 73) | public function getPos()
    method setPos (line 85) | public function setPos($pos)
    method getNumFmt (line 108) | public function getNumFmt()
    method setNumFmt (line 120) | public function setNumFmt($numFmt)
    method getNumStart (line 133) | public function getNumStart()
    method setNumStart (line 145) | public function setNumStart($numStart)
    method getNumRestart (line 157) | public function getNumRestart()
    method setNumRestart (line 169) | public function setNumRestart($numRestart)

FILE: src/PhpWord/ComplexType/ProofState.php
  class ProofState (line 28) | final class ProofState
    method setSpelling (line 61) | public function setSpelling($spelling)
    method getSpelling (line 77) | public function getSpelling()
    method setGrammar (line 89) | public function setGrammar($grammar)
    method getGrammar (line 105) | public function getGrammar()

FILE: src/PhpWord/ComplexType/RubyProperties.php
  class RubyProperties (line 28) | class RubyProperties
    method __construct (line 75) | public function __construct()
    method getAlignment (line 89) | public function getAlignment(): string
    method setAlignment (line 97) | public function setAlignment(string $alignment): self
    method getFontFaceSize (line 120) | public function getFontFaceSize(): float
    method setFontFaceSize (line 128) | public function setFontFaceSize(float $size): self
    method getFontPointsAboveBaseText (line 138) | public function getFontPointsAboveBaseText(): float
    method setFontPointsAboveBaseText (line 146) | public function setFontPointsAboveBaseText(float $size): self
    method getFontSizeForBaseText (line 156) | public function getFontSizeForBaseText(): float
    method setFontSizeForBaseText (line 164) | public function setFontSizeForBaseText(float $size): self
    method getLanguageId (line 174) | public function getLanguageId(): string
    method setLanguageId (line 182) | public function setLanguageId(string $langId): self

FILE: src/PhpWord/ComplexType/TblWidth.php
  class TblWidth (line 26) | final class TblWidth
    method __construct (line 38) | public function __construct($value = 0, $type = TblWidthSimpleType::TWIP)
    method getType (line 48) | public function getType()
    method getValue (line 56) | public function getValue()

FILE: src/PhpWord/ComplexType/TrackChangesView.php
  class TrackChangesView (line 26) | final class TrackChangesView
    method hasMarkup (line 68) | public function hasMarkup()
    method setMarkup (line 79) | public function setMarkup($markup): void
    method hasComments (line 89) | public function hasComments()
    method setComments (line 100) | public function setComments($comments): void
    method hasInsDel (line 110) | public function hasInsDel()
    method setInsDel (line 121) | public function setInsDel($insDel): void
    method hasFormatting (line 131) | public function hasFormatting()
    method setFormatting (line 142) | public function setFormatting($formatting = null): void
    method hasInkAnnotations (line 152) | public function hasInkAnnotations()
    method setInkAnnotations (line 163) | public function setInkAnnotations($inkAnnotations): void

FILE: src/PhpWord/Element/AbstractContainer.php
  class AbstractContainer (line 58) | abstract class AbstractContainer extends AbstractElement
    method __call (line 87) | public function __call($function, $args)
    method addElement (line 137) | protected function addElement($elementName)
    method getElements (line 172) | public function getElements()
    method getElement (line 184) | public function getElement($index)
    method removeElement (line 198) | public function removeElement($toRemove): void
    method countElements (line 218) | public function countElements()
    method checkValidity (line 230) | private function checkValidity($method)

FILE: src/PhpWord/Element/AbstractElement.php
  class AbstractElement (line 33) | abstract class AbstractElement
    method getPhpWord (line 153) | public function getPhpWord(): ?PhpWord
    method setPhpWord (line 161) | public function setPhpWord(?PhpWord $phpWord = null): void
    method getSectionId (line 171) | public function getSectionId()
    method setDocPart (line 182) | public function setDocPart($docPart, $docPartId = 1): void
    method getDocPart (line 193) | public function getDocPart()
    method getDocPartId (line 203) | public function getDocPartId()
    method getMediaPart (line 213) | private function getMediaPart()
    method getElementIndex (line 228) | public function getElementIndex()
    method setElementIndex (line 238) | public function setElementIndex($value): void
    method getElementId (line 248) | public function getElementId()
    method setElementId (line 256) | public function setElementId(): void
    method getRelationId (line 266) | public function getRelationId()
    method setRelationId (line 276) | public function setRelationId($value): void
    method getNestedLevel (line 286) | public function getNestedLevel()
    method getCommentsRangeStart (line 294) | public function getCommentsRangeStart(): ?Comments
    method getCommentRangeStart (line 302) | public function getCommentRangeStart(): ?Comment
    method setCommentRangeStart (line 314) | public function setCommentRangeStart(Comment $value): void
    method getCommentsRangeEnd (line 338) | public function getCommentsRangeEnd(): ?Comments
    method getCommentRangeEnd (line 346) | public function getCommentRangeEnd(): ?Comment
    method setCommentRangeEnd (line 358) | public function setCommentRangeEnd(Comment $value): void
    method getParent (line 384) | public function getParent()
    method setParentContainer (line 394) | public function setParentContainer(self $container): void
    method setMediaRelation (line 423) | private function setMediaRelation(): void
    method setCollectionRelation (line 452) | private function setCollectionRelation(): void
    method isInSection (line 467) | public function isInSection()
    method setNewStyle (line 481) | protected function setNewStyle($styleObject, $styleValue = null, $retu...
    method setTrackChange (line 496) | public function setTrackChange(TrackChange $trackChange): void
    method getTrackChange (line 506) | public function getTrackChange()
    method setChangeInfo (line 518) | public function setChangeInfo($type, $author, $date = null): void
    method setEnumVal (line 534) | protected function setEnumVal($value = null, $enum = [], $default = null)

FILE: src/PhpWord/Element/Bookmark.php
  class Bookmark (line 26) | class Bookmark extends AbstractElement
    method __construct (line 47) | public function __construct($name = '')
    method getName (line 57) | public function getName()

FILE: src/PhpWord/Element/Cell.php
  class Cell (line 26) | class Cell extends AbstractContainer
    method __construct (line 53) | public function __construct($width = null, $style = null)
    method getStyle (line 64) | public function getStyle()
    method getWidth (line 74) | public function getWidth()

FILE: src/PhpWord/Element/Chart.php
  class Chart (line 28) | class Chart extends AbstractElement
    method __construct (line 67) | public function __construct($type, $categories, $values, $style = null...
    method getType (line 79) | public function getType()
    method setType (line 89) | public function setType($value): void
    method addSeries (line 102) | public function addSeries($categories, $values, $name = null): void
    method getSeries (line 116) | public function getSeries()
    method getStyle (line 126) | public function getStyle()

FILE: src/PhpWord/Element/CheckBox.php
  class CheckBox (line 28) | class CheckBox extends Text
    method __construct (line 45) | public function __construct($name = null, $text = null, $fontStyle = n...
    method setName (line 58) | public function setName($name)
    method getName (line 70) | public function getName()

FILE: src/PhpWord/Element/Comment.php
  class Comment (line 28) | class Comment extends TrackChange
    method __construct (line 65) | public function __construct($author, $date = null, $initials = null)
    method getInitials (line 76) | public function getInitials()
    method setStartElement (line 84) | public function setStartElement(AbstractElement $value): void
    method getStartElement (line 95) | public function getStartElement()
    method setEndElement (line 103) | public function setEndElement(AbstractElement $value): void
    method getEndElement (line 114) | public function getEndElement()

FILE: src/PhpWord/Element/Endnote.php
  class Endnote (line 26) | class Endnote extends Footnote
    method __construct (line 38) | public function __construct($paragraphStyle = null)

FILE: src/PhpWord/Element/Field.php
  class Field (line 30) | class Field extends AbstractElement
    method setFontStyle (line 143) | public function setFontStyle($style = null)
    method getFontStyle (line 164) | public function getFontStyle()
    method __construct (line 178) | public function __construct($type = null, $properties = [], $options =...
    method setType (line 194) | public function setType($type = null)
    method getType (line 212) | public function getType()
    method setProperties (line 222) | public function setProperties(array $properties = [])
    method getProperties (line 239) | public function getProperties()
    method setOptions (line 249) | public function setOptions(array $options = [])
    method getOptions (line 266) | public function getOptions()
    method setText (line 278) | public function setText($text = null)
    method getText (line 296) | public function getText()

FILE: src/PhpWord/Element/Footer.php
  class Footer (line 24) | class Footer extends AbstractContainer
    method __construct (line 56) | public function __construct($sectionId, $containerId = 1, $type = self...
    method setType (line 70) | public function setType($value = self::AUTO): void
    method getType (line 85) | public function getType()
    method resetType (line 95) | public function resetType()
    method firstPage (line 105) | public function firstPage()
    method evenPage (line 115) | public function evenPage()

FILE: src/PhpWord/Element/Footnote.php
  class Footnote (line 23) | class Footnote extends AbstractContainer
    method __construct (line 49) | public function __construct($paragraphStyle = null)
    method getParagraphStyle (line 60) | public function getParagraphStyle()

FILE: src/PhpWord/Element/FormField.php
  class FormField (line 27) | class FormField extends Text
    method __construct (line 75) | public function __construct($type, $fontStyle = null, $paragraphStyle ...
    method getType (line 86) | public function getType()
    method setType (line 98) | public function setType($value)
    method getName (line 111) | public function getName()
    method setName (line 123) | public function setName($value)
    method getDefault (line 135) | public function getDefault()
    method setDefault (line 147) | public function setDefault($value)
    method getValue (line 159) | public function getValue()
    method setValue (line 171) | public function setValue($value)
    method getEntries (line 183) | public function getEntries()
    method setEntries (line 195) | public function setEntries($value)

FILE: src/PhpWord/Element/Formula.php
  class Formula (line 28) | class Formula extends AbstractElement
    method __construct (line 38) | public function __construct(Math $math)
    method setMath (line 43) | public function setMath(Math $math): self
    method getMath (line 50) | public function getMath(): Math

FILE: src/PhpWord/Element/Header.php
  class Header (line 24) | class Header extends Footer
    method addWatermark (line 39) | public function addWatermark($src, $style = null)

FILE: src/PhpWord/Element/Image.php
  class Image (line 31) | class Image extends AbstractElement
    method __construct (line 150) | public function __construct($source, $style = null, $watermark = false...
    method getStyle (line 165) | public function getStyle()
    method getSource (line 175) | public function getSource()
    method getSourceType (line 185) | public function getSourceType()
    method setName (line 195) | public function setName($value): void
    method getName (line 205) | public function getName()
    method getMediaId (line 215) | public function getMediaId()
    method isWatermark (line 225) | public function isWatermark()
    method setIsWatermark (line 235) | public function setIsWatermark($value): void
    method getImageType (line 245) | public function getImageType()
    method getImageCreateFunction (line 255) | public function getImageCreateFunction()
    method getImageFunction (line 265) | public function getImageFunction(): ?callable
    method getImageQuality (line 273) | public function getImageQuality(): ?int
    method getImageExtension (line 283) | public function getImageExtension()
    method isMemImage (line 293) | public function isMemImage()
    method getTarget (line 303) | public function getTarget()
    method setTarget (line 313) | public function setTarget($value): void
    method getMediaIndex (line 323) | public function getMediaIndex()
    method setMediaIndex (line 333) | public function setMediaIndex($value): void
    method getImageString (line 341) | public function getImageString(): ?string
    method getImageStringData (line 414) | public function getImageStringData($base64 = false)
    method checkImage (line 431) | private function checkImage(): void
    method setSourceType (line 466) | private function setSourceType(): void
    method getArchiveImageSize (line 501) | private function getArchiveImageSize($source)
    method setFunctions (line 531) | private function setFunctions(): void
    method setProportionalSize (line 586) | private function setProportionalSize($actualWidth, $actualHeight): void

FILE: src/PhpWord/Element/Line.php
  class Line (line 26) | class Line extends AbstractElement
    method __construct (line 40) | public function __construct($style = null)
    method getStyle (line 50) | public function getStyle()

FILE: src/PhpWord/Element/Link.php
  class Link (line 28) | class Link extends AbstractElement
    method __construct (line 81) | public function __construct($source, $text = null, $fontStyle = null, ...
    method getSource (line 95) | public function getSource()
    method getText (line 103) | public function getText(): string
    method getFontStyle (line 113) | public function getFontStyle()
    method getParagraphStyle (line 123) | public function getParagraphStyle()
    method isInternal (line 133) | public function isInternal()

FILE: src/PhpWord/Element/ListItem.php
  class ListItem (line 27) | class ListItem extends AbstractElement
    method __construct (line 59) | public function __construct($text, $depth = 0, $fontStyle = null, $lis...
    method getStyle (line 77) | public function getStyle()
    method getTextObject (line 87) | public function getTextObject()
    method getDepth (line 97) | public function getDepth()
    method getText (line 109) | public function getText()

FILE: src/PhpWord/Element/ListItemRun.php
  class ListItemRun (line 26) | class ListItemRun extends TextRun
    method __construct (line 54) | public function __construct($depth = 0, $listStyle = null, $paragraphS...
    method getStyle (line 72) | public function getStyle()
    method getDepth (line 82) | public function getDepth()

FILE: src/PhpWord/Element/OLEObject.php
  class OLEObject (line 27) | class OLEObject extends AbstractElement
    method __construct (line 70) | public function __construct($source, $style = null)
    method getSource (line 95) | public function getSource()
    method getStyle (line 105) | public function getStyle()
    method getIcon (line 115) | public function getIcon()
    method getImageRelationId (line 125) | public function getImageRelationId()
    method setImageRelationId (line 135) | public function setImageRelationId($rId): void

FILE: src/PhpWord/Element/PageBreak.php
  class PageBreak (line 24) | class PageBreak extends AbstractElement
    method __construct (line 29) | public function __construct()

FILE: src/PhpWord/Element/PreserveText.php
  class PreserveText (line 28) | class PreserveText extends AbstractElement
    method __construct (line 58) | public function __construct($text = null, $fontStyle = null, $paragrap...
    method getFontStyle (line 75) | public function getFontStyle()
    method getParagraphStyle (line 85) | public function getParagraphStyle()
    method getText (line 95) | public function getText()

FILE: src/PhpWord/Element/Row.php
  class Row (line 28) | class Row extends AbstractElement
    method __construct (line 57) | public function __construct($height = null, $style = null)
    method addCell (line 71) | public function addCell($width = null, $style = null)
    method getCells (line 85) | public function getCells()
    method getStyle (line 95) | public function getStyle()
    method getHeight (line 105) | public function getHeight()

FILE: src/PhpWord/Element/Ruby.php
  class Ruby (line 28) | class Ruby extends AbstractElement
    method __construct (line 54) | public function __construct(TextRun $baseTextRun, TextRun $rubyTextRun...
    method getBaseTextRun (line 64) | public function getBaseTextRun(): TextRun
    method setBaseTextRun (line 72) | public function setBaseTextRun(TextRun $textRun): self
    method getRubyTextRun (line 82) | public function getRubyTextRun(): TextRun
    method setRubyTextRun (line 90) | public function setRubyTextRun(TextRun $textRun): self
    method getProperties (line 100) | public function getProperties(): RubyProperties
    method setProperties (line 108) | public function setProperties(RubyProperties $properties): self

FILE: src/PhpWord/Element/SDT.php
  class SDT (line 26) | class SDT extends Text
    method __construct (line 70) | public function __construct($type, $fontStyle = null, $paragraphStyle ...
    method getType (line 81) | public function getType()
    method setType (line 93) | public function setType($value)
    method getValue (line 106) | public function getValue()
    method setValue (line 118) | public function setValue($value)
    method getListItems (line 130) | public function getListItems()
    method setListItems (line 142) | public function setListItems($value)
    method getTag (line 154) | public function getTag()
    method setTag (line 166) | public function setTag($tag)
    method getAlias (line 178) | public function getAlias()
    method setAlias (line 190) | public function setAlias($alias)

FILE: src/PhpWord/Element/Section.php
  class Section (line 25) | class Section extends AbstractContainer
    method __construct (line 66) | public function __construct($sectionCount, $style = null)
    method setStyle (line 79) | public function setStyle(?array $style = null): void
    method getStyle (line 91) | public function getStyle()
    method addHeader (line 105) | public function addHeader($type = Header::AUTO)
    method addFooter (line 119) | public function addFooter($type = Header::AUTO)
    method getHeaders (line 129) | public function getHeaders()
    method getFooters (line 139) | public function getFooters()
    method getFootnoteProperties (line 149) | public function getFootnoteProperties()
    method setFootnoteProperties (line 157) | public function setFootnoteProperties(?FootnoteProperties $footnotePro...
    method hasDifferentFirstPage (line 170) | public function hasDifferentFirstPage()
    method addHeaderFooter (line 196) | private function addHeaderFooter($type = Header::AUTO, $header = true)

FILE: src/PhpWord/Element/Shape.php
  class Shape (line 28) | class Shape extends AbstractElement
    method __construct (line 50) | public function __construct($type, $style = null)
    method getType (line 61) | public function getType()
    method setType (line 73) | public function setType($value = null)
    method getStyle (line 86) | public function getStyle()

FILE: src/PhpWord/Element/TOC.php
  class TOC (line 28) | class TOC extends AbstractElement
    method __construct (line 65) | public function __construct($fontStyle = null, ?array $tocStyle = null...
    method getTitles (line 89) | public function getTitles()
    method getStyleTOC (line 115) | public function getStyleTOC()
    method getStyleFont (line 125) | public function getStyleFont()
    method setMaxDepth (line 135) | public function setMaxDepth($value): void
    method getMaxDepth (line 145) | public function getMaxDepth()
    method setMinDepth (line 155) | public function setMinDepth($value): void
    method getMinDepth (line 165) | public function getMinDepth()

FILE: src/PhpWord/Element/Table.php
  class Table (line 26) | class Table extends AbstractElement
    method __construct (line 54) | public function __construct($style = null)
    method addRow (line 67) | public function addRow($height = null, $style = null)
    method addCell (line 84) | public function addCell($width = null, $style = null)
    method getRows (line 98) | public function getRows()
    method getStyle (line 108) | public function getStyle()
    method getWidth (line 118) | public function getWidth()
    method setWidth (line 128) | public function setWidth($width): void
    method countColumns (line 138) | public function countColumns()
    method findFirstDefinedCellWidths (line 160) | public function findFirstDefinedCellWidths()

FILE: src/PhpWord/Element/Text.php
  class Text (line 28) | class Text extends AbstractElement
    method __construct (line 58) | public function __construct($text = null, $fontStyle = null, $paragrap...
    method setFontStyle (line 73) | public function setFontStyle($style = null, $paragraphStyle = null)
    method getFontStyle (line 96) | public function getFontStyle()
    method setParagraphStyle (line 108) | public function setParagraphStyle($style = null)
    method getParagraphStyle (line 129) | public function getParagraphStyle()
    method setText (line 141) | public function setText($text)
    method getText (line 151) | public function getText(): ?string

FILE: src/PhpWord/Element/TextBox.php
  class TextBox (line 28) | class TextBox extends AbstractContainer
    method __construct (line 47) | public function __construct($style = null)
    method getStyle (line 57) | public function getStyle()

FILE: src/PhpWord/Element/TextBreak.php
  class TextBreak (line 27) | class TextBreak extends AbstractElement
    method __construct (line 49) | public function __construct($fontStyle = null, $paragraphStyle = null)
    method setFontStyle (line 67) | public function setFontStyle($style = null, $paragraphStyle = null)
    method getFontStyle (line 88) | public function getFontStyle()
    method setParagraphStyle (line 100) | public function setParagraphStyle($style = null)
    method getParagraphStyle (line 119) | public function getParagraphStyle()
    method hasStyle (line 129) | public function hasStyle()

FILE: src/PhpWord/Element/TextRun.php
  class TextRun (line 26) | class TextRun extends AbstractContainer
    method __construct (line 45) | public function __construct($paragraphStyle = null)
    method getParagraphStyle (line 55) | public function getParagraphStyle()
    method setParagraphStyle (line 67) | public function setParagraphStyle($style = null)
    method getText (line 83) | public function getText(): string

FILE: src/PhpWord/Element/Title.php
  class Title (line 28) | class Title extends AbstractElement
    method __construct (line 71) | public function __construct($text, $depth = 1, ?int $pageNumber = null)
    method getText (line 97) | public function getText()
    method getDepth (line 107) | public function getDepth()
    method getStyle (line 117) | public function getStyle()
    method getPageNumber (line 125) | public function getPageNumber(): ?int

FILE: src/PhpWord/Element/TrackChange.php
  class TrackChange (line 29) | class TrackChange extends AbstractContainer
    method __construct (line 67) | public function __construct($changeType = null, $author = null, $date ...
    method getAuthor (line 81) | public function getAuthor()
    method getDate (line 91) | public function getDate()
    method getChangeType (line 101) | public function getChangeType()

FILE: src/PhpWord/Escaper/AbstractEscaper.php
  class AbstractEscaper (line 26) | abstract class AbstractEscaper implements EscaperInterface
    method escapeSingleValue (line 33) | abstract protected function escapeSingleValue($input);
    method escape (line 35) | public function escape($input)

FILE: src/PhpWord/Escaper/EscaperInterface.php
  type EscaperInterface (line 26) | interface EscaperInterface
    method escape (line 33) | public function escape($input);

FILE: src/PhpWord/Escaper/RegExp.php
  class RegExp (line 26) | class RegExp extends AbstractEscaper
    method escapeSingleValue (line 30) | protected function escapeSingleValue($input)

FILE: src/PhpWord/Escaper/Rtf.php
  class Rtf (line 26) | class Rtf extends AbstractEscaper
    method escapeAsciiCharacter (line 28) | protected function escapeAsciiCharacter($code)
    method escapeMultibyteCharacter (line 43) | protected function escapeMultibyteCharacter($code)
    method escapeSingleValue (line 53) | protected function escapeSingleValue($input)

FILE: src/PhpWord/Escaper/Xml.php
  class Xml (line 26) | class Xml extends AbstractEscaper
    method escapeSingleValue (line 28) | protected function escapeSingleValue($input)

FILE: src/PhpWord/Exception/CopyFileException.php
  class CopyFileException (line 24) | final class CopyFileException extends Exception
    method __construct (line 32) | public function __construct($source, $destination, $code = 0, ?\Except...

FILE: src/PhpWord/Exception/CreateTemporaryFileException.php
  class CreateTemporaryFileException (line 24) | final class CreateTemporaryFileException extends Exception
    method __construct (line 30) | public function __construct($code = 0, ?\Exception $previous = null)

FILE: src/PhpWord/Exception/Exception.php
  class Exception (line 24) | class Exception extends \Exception

FILE: src/PhpWord/Exception/InvalidImageException.php
  class InvalidImageException (line 24) | class InvalidImageException extends Exception

FILE: src/PhpWord/Exception/InvalidObjectException.php
  class InvalidObjectException (line 24) | class InvalidObjectException extends Exception

FILE: src/PhpWord/Exception/InvalidStyleException.php
  class InvalidStyleException (line 26) | class InvalidStyleException extends InvalidArgumentException

FILE: src/PhpWord/Exception/UnsupportedImageTypeException.php
  class UnsupportedImageTypeException (line 24) | class UnsupportedImageTypeException extends Exception

FILE: src/PhpWord/IOFactory.php
  class IOFactory (line 28) | abstract class IOFactory
    method createWriter (line 37) | public static function createWriter(PhpWord $phpWord, $name = 'Word2007')
    method createReader (line 55) | public static function createReader($name = 'Word2007')
    method createObject (line 69) | private static function createObject($type, $name, $phpWord = null)
    method load (line 87) | public static function load($filename, $readerName = 'Word2007')
    method extractVariables (line 102) | public static function extractVariables(string $filename, string $read...
    method isConcreteClass (line 139) | private static function isConcreteClass($class)

FILE: src/PhpWord/Media.php
  class Media (line 27) | class Media
    method addElement (line 48) | public static function addElement($container, $mediaType, $source, ?Im...
    method countElements (line 124) | public static function countElements($container, $mediaType = null)
    method getElements (line 153) | public static function getElements($container, $type = null)
    method getElementsByType (line 185) | private static function getElementsByType($container, $type = null)
    method resetElements (line 205) | public static function resetElements(): void

FILE: src/PhpWord/Metadata/Compatibility.php
  class Compatibility (line 27) | class Compatibility
    method getOoxmlVersion (line 47) | public function getOoxmlVersion()
    method setOoxmlVersion (line 59) | public function setOoxmlVersion($value)

FILE: src/PhpWord/Metadata/DocInfo.php
  class DocInfo (line 26) | class DocInfo
    method __construct (line 123) | public function __construct()
    method getCreator (line 143) | public function getCreator()
    method setCreator (line 155) | public function setCreator($value = '')
    method getLastModifiedBy (line 167) | public function getLastModifiedBy()
    method setLastModifiedBy (line 179) | public function setLastModifiedBy($value = '')
    method getCreated (line 191) | public function getCreated()
    method setCreated (line 203) | public function setCreated($value = null)
    method getModified (line 215) | public function getModified()
    method setModified (line 227) | public function setModified($value = null)
    method getTitle (line 239) | public function getTitle()
    method setTitle (line 251) | public function setTitle($value = '')
    method getDescription (line 263) | public function getDescription()
    method setDescription (line 275) | public function setDescription($value = '')
    method getSubject (line 287) | public function getSubject()
    method setSubject (line 299) | public function setSubject($value = '')
    method getKeywords (line 311) | public function getKeywords()
    method setKeywords (line 323) | public function setKeywords($value = '')
    method getCategory (line 335) | public function getCategory()
    method setCategory (line 347) | public function setCategory($value = '')
    method getCompany (line 359) | public function getCompany()
    method setCompany (line 371) | public function setCompany($value = '')
    method getManager (line 383) | public function getManager()
    method setManager (line 395) | public function setManager($value = '')
    method getCustomProperties (line 407) | public function getCustomProperties()
    method isCustomPropertySet (line 419) | public function isCustomPropertySet($propertyName)
    method getCustomPropertyValue (line 431) | public function getCustomPropertyValue($propertyName)
    method getCustomPropertyType (line 447) | public function getCustomPropertyType($propertyName)
    method setCustomProperty (line 470) | public function setCustomProperty($propertyName, $propertyValue = '', ...
    method convertProperty (line 511) | public static function convertProperty($propertyValue, $propertyType)
    method convertPropertyType (line 542) | public static function convertPropertyType($propertyType)
    method setValue (line 568) | private function setValue($value, $default)
    method getConversion (line 584) | private static function getConversion($propertyType)

FILE: src/PhpWord/Metadata/Protection.php
  class Protection (line 31) | class Protection
    method __construct (line 75) | public function __construct($editing = null)
    method getEditing (line 87) | public function getEditing()
    method setEditing (line 99) | public function setEditing($editing = null)
    method getPassword (line 112) | public function getPassword()
    method setPassword (line 124) | public function setPassword($password)
    method getSpinCount (line 136) | public function getSpinCount()
    method setSpinCount (line 148) | public function setSpinCount($spinCount)
    method getAlgorithm (line 160) | public function getAlgorithm()
    method setAlgorithm (line 172) | public function setAlgorithm($algorithm)
    method getSalt (line 184) | public function getSalt()
    method setSalt (line 196) | public function setSalt($salt)

FILE: src/PhpWord/Metadata/Settings.php
  class Settings (line 32) | class Settings
    method getDocumentProtection (line 174) | public function getDocumentProtection()
    method setDocumentProtection (line 186) | public function setDocumentProtection($documentProtection): void
    method getProofState (line 194) | public function getProofState()
    method setProofState (line 206) | public function setProofState($proofState): void
    method hasHideSpellingErrors (line 216) | public function hasHideSpellingErrors()
    method setHideSpellingErrors (line 226) | public function setHideSpellingErrors($hideSpellingErrors): void
    method hasHideGrammaticalErrors (line 236) | public function hasHideGrammaticalErrors()
    method setHideGrammaticalErrors (line 246) | public function setHideGrammaticalErrors($hideGrammaticalErrors): void
    method hasEvenAndOddHeaders (line 254) | public function hasEvenAndOddHeaders()
    method setEvenAndOddHeaders (line 262) | public function setEvenAndOddHeaders($evenAndOddHeaders): void
    method getRevisionView (line 272) | public function getRevisionView()
    method setRevisionView (line 280) | public function setRevisionView(?TrackChangesView $trackChangesView = ...
    method hasTrackRevisions (line 288) | public function hasTrackRevisions()
    method setTrackRevisions (line 296) | public function setTrackRevisions($trackRevisions): void
    method hasDoNotTrackMoves (line 304) | public function hasDoNotTrackMoves()
    method setDoNotTrackMoves (line 312) | public function setDoNotTrackMoves($doNotTrackMoves): void
    method hasDoNotTrackFormatting (line 320) | public function hasDoNotTrackFormatting()
    method setDoNotTrackFormatting (line 328) | public function setDoNotTrackFormatting($doNotTrackFormatting): void
    method getZoom (line 336) | public function getZoom()
    method setZoom (line 344) | public function setZoom($zoom): void
    method hasMirrorMargins (line 358) | public function hasMirrorMargins()
    method setMirrorMargins (line 366) | public function setMirrorMargins($mirrorMargins): void
    method getThemeFontLang (line 374) | public function getThemeFontLang(): ?Language
    method setThemeFontLang (line 382) | public function setThemeFontLang(Language $themeFontLang): self
    method hasUpdateFields (line 392) | public function hasUpdateFields()
    method setUpdateFields (line 400) | public function setUpdateFields($updateFields): void
    method getDecimalSymbol (line 410) | public function getDecimalSymbol()
    method setDecimalSymbol (line 420) | public function setDecimalSymbol($decimalSymbol): void
    method hasAutoHyphenation (line 428) | public function hasAutoHyphenation()
    method setAutoHyphenation (line 436) | public function setAutoHyphenation($autoHyphenation): void
    method getConsecutiveHyphenLimit (line 444) | public function getConsecutiveHyphenLimit()
    method setConsecutiveHyphenLimit (line 452) | public function setConsecutiveHyphenLimit($consecutiveHyphenLimit): void
    method getHyphenationZone (line 460) | public function getHyphenationZone()
    method setHyphenationZone (line 468) | public function setHyphenationZone($hyphenationZone): void
    method hasDoNotHyphenateCaps (line 476) | public function hasDoNotHyphenateCaps()
    method setDoNotHyphenateCaps (line 484) | public function setDoNotHyphenateCaps($doNotHyphenateCaps): void
    method hasBookFoldPrinting (line 489) | public function hasBookFoldPrinting(): bool
    method setBookFoldPrinting (line 494) | public function setBookFoldPrinting(bool $bookFoldPrinting): self

FILE: src/PhpWord/PhpWord.php
  class PhpWord (line 46) | class PhpWord
    method __construct (line 76) | public function __construct()
    method __call (line 108) | public function __call($function, $args)
    method getDocInfo (line 157) | public function getDocInfo()
    method getCompatibility (line 169) | public function getCompatibility()
    method getSettings (line 181) | public function getSettings()
    method getSections (line 191) | public function getSections()
    method getSection (line 203) | public function getSection($index)
    method addSection (line 219) | public function addSection($style = null)
    method sortSections (line 235) | public function sortSections($sorter): void
    method getDefaultFontName (line 245) | public function getDefaultFontName()
    method setDefaultFontName (line 255) | public function setDefaultFontName($fontName): void
    method getDefaultAsianFontName (line 263) | public function getDefaultAsianFontName(): string
    method setDefaultAsianFontName (line 273) | public function setDefaultAsianFontName($fontName): void
    method setDefaultFontColor (line 281) | public function setDefaultFontColor(string $fontColor): void
    method getDefaultFontColor (line 289) | public function getDefaultFontColor(): string
    method getDefaultFontSize (line 299) | public function getDefaultFontSize()
    method setDefaultFontSize (line 309) | public function setDefaultFontSize($fontSize): void
    method setDefaultParagraphStyle (line 321) | public function setDefaultParagraphStyle($styles)
    method save (line 337) | public function save($filename, $format = 'Word2007', $download = false)
    method createSection (line 375) | public function createSection($settings = null)
    method getDocumentProperties (line 389) | public function getDocumentProperties()
    method setDocumentProperties (line 405) | public function setDocumentProperties($documentProperties)

FILE: src/PhpWord/Reader/AbstractReader.php
  class AbstractReader (line 30) | abstract class AbstractReader implements ReaderInterface
    method isReadDataOnly (line 58) | public function isReadDataOnly()
    method setReadDataOnly (line 71) | public function setReadDataOnly($value = true)
    method hasImageLoading (line 78) | public function hasImageLoading(): bool
    method setImageLoading (line 83) | public function setImageLoading(bool $value): self
    method openFile (line 97) | protected function openFile($filename)
    method canRead (line 118) | public function canRead($filename)

FILE: src/PhpWord/Reader/HTML.php
  class HTML (line 30) | class HTML extends AbstractReader implements ReaderInterface
    method load (line 39) | public function load($docFile)

FILE: src/PhpWord/Reader/MsDoc.php
  class MsDoc (line 32) | class MsDoc extends AbstractReader implements ReaderInterface
    method load (line 128) | public function load($filename)
    method loadOLE (line 145) | private function loadOLE($filename): void
    method getNumInLcb (line 165) | private function getNumInLcb($lcb, $iSize)
    method getArrayCP (line 170) | private function getArrayCP($data, $posMem, $iNum)
    method readFib (line 187) | private function readFib($data)
    method readBlockFibRgFcLcb (line 371) | private function readBlockFibRgFcLcb($data, $pos, $version)
    method readFibContent (line 1119) | private function readFibContent(): void
    method readRecordPlcfSed (line 1143) | private function readRecordPlcfSed(): void
    method readRecordSttbfFfn (line 1189) | private function readRecordSttbfFfn(): void
    method readRecordPlcfBtePapx (line 1249) | private function readRecordPlcfBtePapx(): void
    method readRecordPlcfBteChpx (line 1464) | private function readRecordPlcfBteChpx(): void
    method readSprm (line 1519) | private function readSprm($sprm)
    method readSprmSpra (line 1537) | private function readSprmSpra($data, $pos, $oSprm)
    method readPrl (line 1609) | private function readPrl($data, $pos, $cbNum)
    method loadRecordHeader (line 2313) | private function loadRecordHeader($stream, $pos)
    method generatePhpWord (line 2327) | private function generatePhpWord(): void
    method getInt1d (line 2408) | public static function getInt1d($data, $pos)
    method getInt2d (line 2421) | public static function getInt2d($data, $pos)
    method getInt3d (line 2434) | public static function getInt3d($data, $pos)
    method getInt4d (line 2447) | public static function getInt4d($data, $pos)

FILE: src/PhpWord/Reader/ODText.php
  class ODText (line 29) | class ODText extends AbstractReader implements ReaderInterface
    method load (line 38) | public function load($docFile)
    method readPart (line 58) | private function readPart(PhpWord $phpWord, array $relationships, stri...
    method readRelationships (line 72) | private function readRelationships(string $docFile): array

FILE: src/PhpWord/Reader/ODText/AbstractPart.php
  class AbstractPart (line 30) | abstract class AbstractPart extends Word2007AbstractPart

FILE: src/PhpWord/Reader/ODText/Content.php
  class Content (line 35) | class Content extends AbstractPart
    method read (line 43) | public function read(PhpWord $phpWord): void
    method processNodes (line 55) | public function processNodes(DOMNodeList $nodes, XMLReader $xmlReader,...
    method getSection (line 197) | private function getSection(PhpWord $phpWord): Section

FILE: src/PhpWord/Reader/ODText/Meta.php
  class Meta (line 29) | class Meta extends AbstractPart
    method read (line 36) | public function read(PhpWord $phpWord): void

FILE: src/PhpWord/Reader/RTF.php
  class RTF (line 30) | class RTF extends AbstractReader implements ReaderInterface
    method load (line 39) | public function load($docFile)

FILE: src/PhpWord/Reader/RTF/Document.php
  class Document (line 36) | class Document
    method read (line 137) | public function read(PhpWord $phpWord): void
    method markOpening (line 188) | private function markOpening(): void
    method markClosing (line 197) | private function markClosing(): void
    method markBackslash (line 206) | private function markBackslash(): void
    method markNewline (line 221) | private function markNewline(): void
    method flush (line 233) | private function flush($isControl = false): void
    method flushControl (line 247) | private function flushControl($isControl = false): void
    method flushText (line 262) | private function flushText(): void
    method setControl (line 288) | private function setControl($value): void
    method pushText (line 299) | private function pushText($char): void
    method parseControl (line 316) | private function parseControl($control, $parameter): void
    method readParagraph (line 355) | private function readParagraph($directives): void
    method readStyle (line 367) | private function readStyle($directives): void
    method readSkip (line 378) | private function readSkip($directives): void
    method readText (line 388) | private function readText(): void

FILE: src/PhpWord/Reader/ReaderInterface.php
  type ReaderInterface (line 26) | interface ReaderInterface
    method canRead (line 35) | public function canRead($filename);
    method load (line 42) | public function load($filename);

FILE: src/PhpWord/Reader/Word2007.php
  class Word2007 (line 36) | class Word2007 extends AbstractReader implements ReaderInterface
    method load (line 45) | public function load($docFile)
    method readPart (line 104) | private function readPart(PhpWord $phpWord, array $relationships, arra...
    method readRelationships (line 128) | private function readRelationships($docFile)
    method getRels (line 168) | private function getRels($docFile, $xmlFile, $targetPrefix = '')

FILE: src/PhpWord/Reader/Word2007/AbstractPart.php
  class AbstractPart (line 44) | abstract class AbstractPart
    method read (line 95) | abstract public function read(PhpWord $phpWord);
    method __construct (line 103) | public function __construct($docFile, $xmlFile)
    method setRels (line 114) | public function setRels($value): void
    method setImageLoading (line 119) | public function setImageLoading(bool $value): self
    method hasImageLoading (line 126) | public function hasImageLoading(): bool
    method getCommentReferences (line 136) | public function getCommentReferences(): array
    method setCommentReferences (line 146) | public function setCommentReferences(array $commentRefs): self
    method setCommentReference (line 156) | private function setCommentReference(string $type, string $id, Abstrac...
    method getCommentReference (line 178) | protected function getCommentReference(string $id): array
    method readParagraph (line 195) | protected function readParagraph(XMLReader $xmlReader, DOMElement $dom...
    method readFormField (line 336) | private function readFormField(XMLReader $xmlReader, array $domNodes, ...
    method getHeadingDepth (line 438) | private function getHeadingDepth(?array $paragraphStyle = null)
    method readRun (line 464) | protected function readRun(XMLReader $xmlReader, DOMElement $domNode, ...
    method readRunChild (line 498) | protected function readRunChild(XMLReader $xmlReader, DOMElement $node...
    method readRubyProperties (line 616) | protected function readRubyProperties(XMLReader $xmlReader, DOMElement...
    method readTable (line 639) | protected function readTable(XMLReader $xmlReader, DOMElement $domNode...
    method readParagraphStyle (line 695) | protected function readParagraphStyle(XMLReader $xmlReader, DOMElement...
    method readFontStyle (line 743) | protected function readFontStyle(XMLReader $xmlReader, DOMElement $dom...
    method readTableStyle (line 789) | protected function readTableStyle(XMLReader $xmlReader, DOMElement $do...
    method readTablePosition (line 836) | private function readTablePosition(XMLReader $xmlReader, DOMElement $d...
    method readTableIndent (line 859) | private function readTableIndent(XMLReader $xmlReader, DOMElement $dom...
    method readCellStyle (line 875) | private function readCellStyle(XMLReader $xmlReader, DOMElement $domNode)
    method findPossibleElement (line 912) | private function findPossibleElement(XMLReader $xmlReader, ?DOMElement...
    method findPossibleAttribute (line 935) | private function findPossibleAttribute(XMLReader $xmlReader, DOMElemen...
    method readStyleDefs (line 960) | protected function readStyleDefs(XMLReader $xmlReader, ?DOMElement $pa...
    method readStyleDef (line 1003) | private function readStyleDef($method, $attributeValue, $expected)
    method isOn (line 1029) | private function isOn($value = null)
    method getMediaTarget (line 1042) | private function getMediaTarget($docPart, $rId)
    method getTargetMode (line 1061) | private function getTargetMode($docPart, $rId)

FILE: src/PhpWord/Reader/Word2007/Comments.php
  class Comments (line 10) | class Comments extends AbstractPart
    method read (line 22) | public function read(PhpWord $phpWord): void

FILE: src/PhpWord/Reader/Word2007/DocPropsApp.php
  class DocPropsApp (line 26) | class DocPropsApp extends DocPropsCore

FILE: src/PhpWord/Reader/Word2007/DocPropsCore.php
  class DocPropsCore (line 29) | class DocPropsCore extends AbstractPart
    method read (line 58) | public function read(PhpWord $phpWord): void

FILE: src/PhpWord/Reader/Word2007/DocPropsCustom.php
  class DocPropsCustom (line 30) | class DocPropsCustom extends AbstractPart
    method read (line 35) | public function read(PhpWord $phpWord): void

FILE: src/PhpWord/Reader/Word2007/Document.php
  class Document (line 33) | class Document extends AbstractPart
    method read (line 45) | public function read(PhpWord $phpWord): void
    method readHeaderFooter (line 69) | private function readHeaderFooter($settings, Section &$section): void
    method readSectionStyle (line 104) | private function readSectionStyle(XMLReader $xmlReader, DOMElement $do...
    method readWPNode (line 143) | private function readWPNode(XMLReader $xmlReader, DOMElement $node, Se...
    method readWSectPrNode (line 166) | private function readWSectPrNode(XMLReader $xmlReader, DOMElement $nod...

FILE: src/PhpWord/Reader/Word2007/Endnotes.php
  class Endnotes (line 26) | class Endnotes extends Footnotes

FILE: src/PhpWord/Reader/Word2007/Footnotes.php
  class Footnotes (line 29) | class Footnotes extends AbstractPart
    method read (line 48) | public function read(PhpWord $phpWord): void
    method getElement (line 82) | private function getElement(PhpWord $phpWord, $relationId)

FILE: src/PhpWord/Reader/Word2007/Numbering.php
  class Numbering (line 30) | class Numbering extends AbstractPart
    method read (line 35) | public function read(PhpWord $phpWord): void
    method readLevel (line 98) | private function readLevel(XMLReader $xmlReader, DOMElement $subnode, ...

FILE: src/PhpWord/Reader/Word2007/Settings.php
  class Settings (line 32) | class Settings extends AbstractPart
    method read (line 54) | public function read(PhpWord $phpWord): void
    method setThemeFontLang (line 82) | protected function setThemeFontLang(XMLReader $xmlReader, PhpWord $php...
    method setDocumentProtection (line 99) | protected function setDocumentProtection(XMLReader $xmlReader, PhpWord...
    method setProofState (line 112) | protected function setProofState(XMLReader $xmlReader, PhpWord $phpWor...
    method setZoom (line 130) | protected function setZoom(XMLReader $xmlReader, PhpWord $phpWord, DOM...
    method setRevisionView (line 143) | protected function setRevisionView(XMLReader $xmlReader, PhpWord $phpW...
    method setConsecutiveHyphenLimit (line 154) | protected function setConsecutiveHyphenLimit(XMLReader $xmlReader, Php...
    method setHyphenationZone (line 163) | protected function setHyphenationZone(XMLReader $xmlReader, PhpWord $p...

FILE: src/PhpWord/Reader/Word2007/Styles.php
  class Styles (line 30) | class Styles extends AbstractPart
    method read (line 35) | public function read(PhpWord $phpWord): void

FILE: src/PhpWord/Settings.php
  class Settings (line 24) | class Settings
    method hasCompatibility (line 176) | public static function hasCompatibility(): bool
    method setCompatibility (line 185) | public static function setCompatibility(bool $compatibility): bool
    method getZipClass (line 195) | public static function getZipClass(): string
    method setZipClass (line 203) | public static function setZipClass(string $zipClass): bool
    method setPdfRenderer (line 219) | public static function setPdfRenderer(string $libraryName, string $lib...
    method getPdfRendererName (line 231) | public static function getPdfRendererName(): ?string
    method setPdfRendererName (line 239) | public static function setPdfRendererName(?string $libraryName): bool
    method getPdfRendererPath (line 253) | public static function getPdfRendererPath(): ?string
    method setPdfRendererOptions (line 261) | public static function setPdfRendererOptions(array $options): void
    method getPdfRendererOptions (line 269) | public static function getPdfRendererOptions(): array
    method setPdfRendererPath (line 281) | public static function setPdfRendererPath(?string $libraryBaseDir): bool
    method getMeasurementUnit (line 294) | public static function getMeasurementUnit(): string
    method setMeasurementUnit (line 302) | public static function setMeasurementUnit(string $value): bool
    method setTempDir (line 327) | public static function setTempDir(string $tempDir): void
    method getTempDir (line 337) | public static function getTempDir(): string
    method isOutputEscapingEnabled (line 351) | public static function isOutputEscapingEnabled(): bool
    method setOutputEscapingEnabled (line 359) | public static function setOutputEscapingEnabled(bool $outputEscapingEn...
    method getDefaultFontName (line 367) | public static function getDefaultFontName(): string
    method getDefaultAsianFontName (line 375) | public static function getDefaultAsianFontName(): string
    method setDefaultFontName (line 383) | public static function setDefaultFontName(string $value): bool
    method setDefaultAsianFontName (line 394) | public static function setDefaultAsianFontName(string $value): bool
    method getDefaultFontColor (line 408) | public static function getDefaultFontColor(): string
    method setDefaultFontColor (line 416) | public static function setDefaultFontColor(string $value): bool
    method getDefaultFontSize (line 432) | public static function getDefaultFontSize()
    method setDefaultFontSize (line 442) | public static function setDefaultFontSize($value): bool
    method setDefaultRtl (line 453) | public static function setDefaultRtl(?bool $defaultRtl): void
    method isDefaultRtl (line 458) | public static function isDefaultRtl(): ?bool
    method loadConfig (line 466) | public static function loadConfig(?string $filename = null): array
    method getDefaultPaper (line 509) | public static function getDefaultPaper(): string
    method setDefaultPaper (line 517) | public static function setDefaultPaper(string $value): bool

FILE: src/PhpWord/Shared/AbstractEnum.php
  class AbstractEnum (line 24) | abstract class AbstractEnum
    method getConstants (line 28) | private static function getConstants()
    method values (line 47) | public static function values()
    method isValid (line 59) | public static function isValid($value)
    method validate (line 71) | public static function validate($value): void

FILE: src/PhpWord/Shared/Converter.php
  class Converter (line 24) | class Converter
    method cmToTwip (line 41) | public static function cmToTwip($centimeter = 1)
    method cmToInch (line 53) | public static function cmToInch($centimeter = 1)
    method cmToPixel (line 65) | public static function cmToPixel($centimeter = 1)
    method cmToPoint (line 77) | public static function cmToPoint($centimeter = 1)
    method cmToEmu (line 89) | public static function cmToEmu($centimeter = 1)
    method inchToTwip (line 101) | public static function inchToTwip($inch = 1)
    method inchToCm (line 113) | public static function inchToCm($inch = 1)
    method inchToPixel (line 125) | public static function inchToPixel($inch = 1)
    method inchToPoint (line 137) | public static function inchToPoint($inch = 1)
    method inchToEmu (line 149) | public static function inchToEmu($inch = 1)
    method pixelToTwip (line 161) | public static function pixelToTwip($pixel = 1)
    method pixelToCm (line 173) | public static function pixelToCm($pixel = 1)
    method pixelToPoint (line 185) | public static function pixelToPoint($pixel = 1)
    method pixelToEmu (line 197) | public static function pixelToEmu($pixel = 1)
    method pointToTwip (line 209) | public static function pointToTwip($point = 1)
    method pointToPixel (line 221) | public static function pointToPixel($point = 1)
    method pointToEmu (line 233) | public static function pointToEmu($point = 1)
    method pointToCm (line 245) | public static function pointToCm($point = 1)
    method emuToPixel (line 257) | public static function emuToPixel($emu = 1)
    method picaToPoint (line 269) | public static function picaToPoint($pica = 1)
    method degreeToAngle (line 281) | public static function degreeToAngle($degree = 1)
    method angleToDegree (line 293) | public static function angleToDegree($angle = 1)
    method stringToRgb (line 305) | public static function stringToRgb($value)
    method htmlToRgb (line 350) | public static function htmlToRgb($value)
    method cssToPoint (line 380) | public static function cssToPoint($value)
    method cssToTwip (line 416) | public static function cssToTwip($value)
    method cssToPixel (line 428) | public static function cssToPixel($value)
    method cssToCm (line 440) | public static function cssToCm($value)
    method cssToEmu (line 452) | public static function cssToEmu($value)

FILE: src/PhpWord/Shared/Css.php
  class Css (line 22) | class Css
    method __construct (line 34) | public function __construct(string $cssContent)
    method process (line 39) | public function process(): void
    method getStyles (line 61) | public function getStyles(): array
    method getStyle (line 66) | public function getStyle(string $selector): array
    method sanitize (line 73) | private function sanitize(string $value): string

FILE: src/PhpWord/Shared/Drawing.php
  class Drawing (line 24) | class Drawing
    method pixelsToEmu (line 35) | public static function pixelsToEmu($pValue = 0)
    method emuToPixels (line 47) | public static function emuToPixels($pValue = 0)
    method pixelsToPoints (line 63) | public static function pixelsToPoints($pValue = 0)
    method pointsToCentimeters (line 75) | public static function pointsToCentimeters($pValue = 0)
    method pointsToPixels (line 91) | public static function pointsToPixels($pValue = 0)
    method pixelsToCentimeters (line 107) | public static function pixelsToCentimeters($pValue = 0)
    method centimetersToPixels (line 120) | public static function centimetersToPixels($pValue = 0)
    method degreesToAngle (line 136) | public static function degreesToAngle($pValue = 0)
    method angleToDegrees (line 148) | public static function angleToDegrees($pValue = 0)
    method centimetersToTwips (line 164) | public static function centimetersToTwips($pValue = 0)
    method twipsToCentimeters (line 180) | public static function twipsToCentimeters($pValue = 0)
    method inchesToTwips (line 196) | public static function inchesToTwips($pValue = 0)
    method twipsToInches (line 212) | public static function twipsToInches($pValue = 0)
    method twipsToPixels (line 228) | public static function twipsToPixels($pValue = 0)
    method htmlToRGB (line 244) | public static function htmlToRGB($pValue)

FILE: src/PhpWord/Shared/Html.php
  class Html (line 40) | class Html
    method addHtml (line 67) | public static function addHtml($element, $html, $fullHTML = false, $pr...
    method parseInlineStyle (line 111) | protected static function parseInlineStyle($node, $styles = [])
    method parseNode (line 194) | protected static function parseNode($node, $element, $styles = [], $da...
    method parseChildNodes (line 286) | protected static function parseChildNodes($node, $element, $styles, $d...
    method parseParagraph (line 309) | protected static function parseParagraph($node, $element, &$styles)
    method parseInput (line 326) | protected static function parseInput($node, $element, &$styles): void
    method parseHeading (line 352) | protected static function parseHeading(DOMNode $node, AbstractContaine...
    method parseText (line 368) | protected static function parseText($node, $element, &$styles): void
    method parseProperty (line 389) | protected static function parseProperty(&$styles, $argument1, $argumen...
    method parseSpan (line 400) | protected static function parseSpan($node, &$styles): void
    method parseTable (line 416) | protected static function parseTable($node, $element, &$styles)
    method parseRow (line 445) | protected static function parseRow($node, $element, &$styles)
    method parseCell (line 468) | protected static function parseCell($node, $element, &$styles)
    method shouldAddTextRun (line 494) | protected static function shouldAddTextRun(DOMNode $node)
    method recursiveParseStylesInHierarchy (line 508) | protected static function recursiveParseStylesInHierarchy(DOMNode $nod...
    method filterOutNonInheritedStyles (line 527) | protected static function filterOutNonInheritedStyles(array $styles)
    method parseList (line 561) | protected static function parseList($node, $element, &$styles, &$data)
    method getListStyle (line 608) | protected static function getListStyle($isOrderedList)
    method parseListItem (line 654) | protected static function parseListItem($node, $element, &$styles, $da...
    method parseStyle (line 670) | protected static function parseStyle($attribute, array $styles): array
    method parseStyleDeclarations (line 683) | protected static function parseStyleDeclarations(array $selectors, arr...
    method parseImage (line 946) | protected static function parseImage($node, $element)
    method mapBorderStyle (line 1057) | protected static function mapBorderStyle($cssBorderStyle)
    method mapBorderColor (line 1070) | protected static function mapBorderColor(&$styles, $cssBorderColor): void
    method mapAlign (line 1092) | protected static function mapAlign($cssAlignment, $bidi)
    method mapRubyAlign (line 1109) | protected static function mapRubyAlign(string $cssRubyAlignment): string
    method mapAlignVertical (line 1130) | protected static function mapAlignVertical($alignment)
    method mapListType (line 1159) | protected static function mapListType($cssListType)
    method parseLineBreak (line 1181) | protected static function parseLineBreak($element): void
    method parseLink (line 1193) | protected static function parseLink($node, $element, &$styles)
    method parseHorizRule (line 1224) | protected static function parseHorizRule($node, $element): void
    method parseRuby (line 1258) | protected static function parseRuby($node, $element, &$styles)
    method convertRgb (line 1304) | private static function convertRgb(string $rgb): string
    method convertHtmlSize (line 1316) | protected static function convertHtmlSize(string $size): float

FILE: src/PhpWord/Shared/Microsoft/PasswordEncoder.php
  class PasswordEncoder (line 26) | class PasswordEncoder
    method hashPassword (line 114) | public static function hashPassword($password, $algorithmName = self::...
    method getAlgorithm (line 168) | private static function getAlgorithm($algorithmName)
    method getAlgorithmId (line 185) | public static function getAlgorithmId($algorithmName)
    method buildCombinedKey (line 197) | private static function buildCombinedKey($byteChars)
    method int32 (line 242) | private static function int32($value)

FILE: src/PhpWord/Shared/OLERead.php
  class OLERead (line 25) | class OLERead
    method read (line 83) | public function read($sFileName)
    method getStream (line 185) | public function getStream($stream)
    method readData (line 234) | private function readData($blSectorId)
    method readPropertySets (line 251) | private function readPropertySets()
    method getInt4d (line 319) | private static function getInt4d($data, $pos)

FILE: src/PhpWord/Shared/PCLZip/pclzip.lib.php
  class PclZip (line 190) | class PclZip
    method __construct (line 215) | public function __construct($p_zipname)
    method create (line 270) | public function create($p_filelist)
    method add (line 445) | public function add($p_filelist)
    method listContent (line 627) | public function listContent()
    method extract (line 684) | public function extract()
    method extractByIndex (line 839) | public function extractByIndex($p_index)
    method delete (line 989) | public function delete()
    method deleteByIndex (line 1050) | public function deleteByIndex($p_index)
    method properties (line 1074) | public function properties()
    method duplicate (line 1146) | public function duplicate($p_archive)
    method merge (line 1199) | public function merge($p_archive_to_add)
    method errorCode (line 1243) | public function errorCode()
    method errorName (line 1258) | public function errorName($p_with_code = false)
    method errorInfo (line 1303) | public function errorInfo($p_full = false)
    method privCheckFormat (line 1337) | public function privCheckFormat($p_level = 0)
    method privParseOptions (line 1392) | public function privParseOptions(&$p_options_list, $p_size, &$v_result...
    method privOptionDefaultThreshold (line 1778) | public function privOptionDefaultThreshold(&$p_options)
    method privFileDescrParseAtt (line 1824) | public function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v...
    method privFileDescrExpand (line 1961) | public function privFileDescrExpand(&$p_filedescr_list, &$p_options)
    method privCreate (line 2077) | public function privCreate($p_filedescr_list, &$p_result_list, &$p_opt...
    method privAdd (line 2111) | public function privAdd($p_filedescr_list, &$p_result_list, &$p_options)
    method privOpenFd (line 2282) | public function privOpenFd($p_mode)
    method privCloseFd (line 2314) | public function privCloseFd()
    method privAddList (line 2342) | public function privAddList($p_filedescr_list, &$p_result_list, &$p_op...
    method privAddFileList (line 2403) | public function privAddFileList($p_filedescr_list, &$p_result_list, &$...
    method privAddFile (line 2457) | public function privAddFile($p_filedescr, &$p_header, &$p_options)
    method privAddFileUsingTempFile (line 2716) | public function privAddFileUsingTempFile($p_filedescr, &$p_header, &$p...
    method privCalculateStoredFilename (line 2830) | public function privCalculateStoredFilename(&$p_filedescr, &$p_options)
    method privWriteFileHeader (line 2932) | public function privWriteFileHeader(&$p_header)
    method privWriteCentralFileHeader (line 2969) | public function privWriteCentralFileHeader(&$p_header)
    method privWriteCentralHeader (line 3010) | public function privWriteCentralHeader($p_nb_entries, $p_size, $p_offs...
    method privList (line 3036) | public function privList(&$p_list)
    method privConvertHeader2FileInfo (line 3120) | public function privConvertHeader2FileInfo($p_header, &$p_info)
    method privExtractByRule (line 3159) | public function privExtractByRule(&$p_file_list, $p_path, $p_remove_pa...
    method privExtractFile (line 3457) | public function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p...
    method privExtractFileUsingTempFile (line 3768) | public function privExtractFileUsingTempFile(&$p_entry, &$p_options)
    method privExtractFileInOutput (line 3844) | public function privExtractFileInOutput(&$p_entry, &$p_options)
    method privExtractFileAsString (line 3953) | public function privExtractFileAsString(&$p_entry, &$p_string, &$p_opt...
    method privReadFileHeader (line 4070) | public function privReadFileHeader(&$p_header)
    method privReadCentralFileHeader (line 4167) | public function privReadCentralFileHeader(&$p_header)
    method privCheckFileHeaders (line 4272) | public function privCheckFileHeaders(&$p_local_header, &$p_central_hea...
    method privReadEndCentralDir (line 4309) | public function privReadEndCentralDir(&$p_central_dir)
    method privDeleteByRule (line 4458) | public function privDeleteByRule(&$p_result_list, &$p_options)
    method privDirCheck (line 4736) | public function privDirCheck($p_dir, $p_is_dir = false)
    method privMerge (line 4784) | public function privMerge(&$p_archive_to_add)
    method privDuplicate (line 4958) | public function privDuplicate($p_archive_filename)
    method privErrorLog (line 5014) | public function privErrorLog($p_error_code = 0, $p_error_string = '')
    method privErrorReset (line 5030) | public function privErrorReset()
    method privDisableMagicQuotes (line 5047) | public function privDisableMagicQuotes()
    method privSwapBackMagicQuotes (line 5080) | public function privSwapBackMagicQuotes()
  function PclZipUtilPathReduction (line 5114) | function PclZipUtilPathReduction($p_dir)
  function PclZipUtilPathInclusion (line 5191) | function PclZipUtilPathInclusion($p_dir, $p_path)
  function PclZipUtilCopyBlock (line 5269) | function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode = 0)
  function PclZipUtilRename (line 5320) | function PclZipUtilRename($p_src, $p_dest)
  function PclZipUtilOptionText (line 5349) | function PclZipUtilOptionText($p_option)
  function PclZipUtilTranslateWinPath (line 5377) | function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter = true)

FILE: src/PhpWord/Shared/Text.php
  class Text (line 26) | class Text
    method buildControlCharacters (line 38) | private static function buildControlCharacters(): void
    method controlCharacterPHP2OOXML (line 64) | public static function controlCharacterPHP2OOXML($value = '')
    method numberFormat (line 81) | public static function numberFormat($number, $decimals)
    method chr (line 95) | public static function chr($dec)
    method controlCharacterOOXML2PHP (line 120) | public static function controlCharacterOOXML2PHP($value = '')
    method isUTF8 (line 136) | public static function isUTF8($value = '')
    method toUTF8 (line 148) | public static function toUTF8($value = '')
    method toUnicode (line 172) | public static function toUnicode($text)
    method utf8ToUnicode (line 187) | public static function utf8ToUnicode($text)
    method unicodeToEntities (line 229) | private static function unicodeToEntities($unicode)
    method removeUnderscorePrefix (line 249) | public static function removeUnderscorePrefix($value)

FILE: src/PhpWord/Shared/Validate.php
  class Validate (line 22) | class Validate
    method validateCSSWhiteSpace (line 53) | public static function validateCSSWhiteSpace(?string $value): string
    method validateCSSGenericFont (line 69) | public static function validateCSSGenericFont(?string $value): string

FILE: src/PhpWord/Shared/XMLReader.php
  class XMLReader (line 34) | class XMLReader
    method getDomFromZip (line 58) | public function getDomFromZip($zipFile, $xmlFile)
    method getDomFromString (line 91) | public function getDomFromString($content)
    method getElements (line 112) | public function getElements($path, ?DOMElement $contextNode = null)
    method registerNamespace (line 134) | public function registerNamespace($prefix, $namespaceURI)
    method getElement (line 153) | public function getElement($path, ?DOMElement $contextNode = null)
    method getAttribute (line 171) | public function getAttribute($attribute, ?DOMElement $contextNode = nu...
    method getValue (line 197) | public function getValue($path, ?DOMElement $contextNode = null)
    method countElements (line 214) | public function countElements($path, ?DOMElement $contextNode = null)
    method elementExists (line 228) | public function elementExists($path, ?DOMElement $contextNode = null)

FILE: src/PhpWord/Shared/XMLWriter.php
  class XMLWriter (line 39) | class XMLWriter extends \XMLWriter
    method __construct (line 59) | public function __construct($pTemporaryStorage = self::STORAGE_MEMORY,...
    method __destruct (line 87) | public function __destruct()
    method getData (line 103) | public function getData()
    method writeElementBlock (line 125) | public function writeElementBlock($element, $attributes, $value = null...
    method writeElementIf (line 145) | public function writeElementIf($condition, $element, $attribute = null...
    method writeAttributeIf (line 165) | public function writeAttributeIf($condition, $attribute, $value): void
    method writeAttribute (line 176) | public function writeAttribute($name, $value): bool

FILE: src/PhpWord/Shared/ZipArchive.php
  class ZipArchive (line 40) | class ZipArchive
    method __construct (line 84) | public function __construct()
    method __call (line 105) | public function __call($function, $args)
    method open (line 133) | public function open($filename, $flags = null)
    method close (line 168) | public function close()
    method extractTo (line 194) | public function extractTo($destination, $entries = null)
    method getFromName (line 214) | public function getFromName($filename)
    method pclzipAddFile (line 237) | public function pclzipAddFile($filename, $localname = null)
    method pclzipAddFromString (line 291) | public function pclzipAddFromString($localname, $contents)
    method pclzipExtractTo (line 328) | public function pclzipExtractTo($destination, $entries = null)
    method pclzipGetFromName (line 362) | public function pclzipGetFromName($filename)
    method pclzipGetNameIndex (line 392) | public function pclzipGetNameIndex($index)
    method pclzipLocateName (line 411) | public function pclzipLocateName($filename)
    method addEmptyDir (line 435) | public function addEmptyDir(string $dirname): bool

FILE: src/PhpWord/SimpleType/Border.php
  class Border (line 29) | final class Border extends AbstractEnum

FILE: src/PhpWord/SimpleType/DocProtect.php
  class DocProtect (line 29) | final class DocProtect extends AbstractEnum

FILE: src/PhpWord/SimpleType/Jc.php
  class Jc (line 33) | final class Jc extends AbstractEnum

FILE: src/PhpWord/SimpleType/JcTable.php
  class JcTable (line 30) | final class JcTable extends AbstractEnum

FILE: src/PhpWord/SimpleType/LineSpacingRule.php
  class LineSpacingRule (line 29) | final class LineSpacingRule extends AbstractEnum

FILE: src/PhpWord/SimpleType/NumberFormat.php
  class NumberFormat (line 29) | final class NumberFormat extends AbstractEnum

FILE: src/PhpWord/SimpleType/TblWidth.php
  class TblWidth (line 29) | final class TblWidth extends AbstractEnum

FILE: src/PhpWord/SimpleType/TextAlignment.php
  class TextAlignment (line 29) | final class TextAlignment extends AbstractEnum

FILE: src/PhpWord/SimpleType/VerticalJc.php
  class VerticalJc (line 31) | final class VerticalJc extends AbstractEnum

FILE: src/PhpWord/SimpleType/Zoom.php
  class Zoom (line 29) | final class Zoom extends AbstractEnum

FILE: src/PhpWord/Style.php
  class Style (line 30) | class Style
    method addParagraphStyle (line 47) | public static function addParagraphStyle($styleName, $styles)
    method addFontStyle (line 61) | public static function addFontStyle($styleName, $fontStyle, $paragraph...
    method addLinkStyle (line 74) | public static function addLinkStyle($styleName, $styles)
    method addNumberingStyle (line 89) | public static function addNumberingStyle($styleName, $styleValues)
    method addTitleStyle (line 103) | public static function addTitleStyle($depth, $fontStyle, $paragraphSty...
    method addTableStyle (line 123) | public static function addTableStyle($styleName, $styleTable, $styleFi...
    method countStyles (line 135) | public static function countStyles()
    method resetStyles (line 145) | public static function resetStyles(): void
    method setDefaultParagraphStyle (line 157) | public static function setDefaultParagraphStyle($styles)
    method getStyles (line 167) | public static function getStyles()
    method getStyle (line 179) | public static function getStyle($styleName)
    method setStyleValues (line 199) | private static function setStyleValues($name, $style, $value = null)

FILE: src/PhpWord/Style/AbstractStyle.php
  class AbstractStyle (line 29) | abstract class AbstractStyle
    method getStyleName (line 68) | public function getStyleName()
    method setStyleName (line 80) | public function setStyleName($value)
    method getIndex (line 92) | public function getIndex()
    method setIndex (line 104) | public function setIndex($value = null)
    method isAuto (line 116) | public function isAuto()
    method setAuto (line 128) | public function setAuto($value = true)
    method getChildStyleValue (line 145) | public function getChildStyleValue($substyleObject, $substyleProperty)
    method setStyleValue (line 169) | public function setStyleValue($key, $value)
    method setStyleByArray (line 194) | public function setStyleByArray($values = [])
    method setNonEmptyVal (line 211) | protected function setNonEmptyVal($value, $default)
    method setBoolVal (line 228) | protected function setBoolVal($value, $default)
    method setNumericVal (line 245) | protected function setNumericVal($value, $default = null)
    method setIntVal (line 262) | protected function setIntVal($value, $default = null)
    method setFloatVal (line 284) | protected function setFloatVal($value, $default = null)
    method setEnumVal (line 305) | protected function setEnumVal($value = null, $enum = [], $default = null)
    method setObjectVal (line 324) | protected function setObjectVal($value, string $styleName, &$style)
    method setPairedVal (line 349) | protected function setPairedVal(&$property, &$pairProperty, $value)

FILE: src/PhpWord/Style/Border.php
  class Border (line 24) | class Border extends AbstractStyle
    method getBorderSize (line 145) | public function getBorderSize()
    method setBorderSize (line 162) | public function setBorderSize($value = null)
    method getBorderColor (line 177) | public function getBorderColor()
    method setBorderColor (line 194) | public function setBorderColor($value = null)
    method getBorderStyle (line 209) | public function getBorderStyle()
    method setBorderStyle (line 226) | public function setBorderStyle($value = null)
    method getBorderTopSize (line 241) | public function getBorderTopSize()
    method setBorderTopSize (line 253) | public function setBorderTopSize($value = null)
    method getBorderTopColor (line 265) | public function getBorderTopColor()
    method setBorderTopColor (line 277) | public function setBorderTopColor($value = null)
    method getBorderTopStyle (line 289) | public function getBorderTopStyle()
    method setBorderTopStyle (line 301) | public function setBorderTopStyle($value = null)
    method getBorderLeftSize (line 313) | public function getBorderLeftSize()
    method setBorderLeftSize (line 325) | public function setBorderLeftSize($value = null)
    method getBorderLeftColor (line 337) | public function getBorderLeftColor()
    method setBorderLeftColor (line 349) | public function setBorderLeftColor($value = null)
    method getBorderLeftStyle (line 361) | public function getBorderLeftStyle()
    method setBorderLeftStyle (line 373) | public function setBorderLeftStyle($value = null)
    method getBorderRightSize (line 385) | public function getBorderRightSize()
    method setBorderRightSize (line 397) | public function setBorderRightSize($value = null)
    method getBorderRightColor (line 409) | public function getBorderRightColor()
    method setBorderRightColor (line 421) | public function setBorderRightColor($value = null)
    method getBorderRightStyle (line 433) | public function getBorderRightStyle()
    method setBorderRightStyle (line 445) | public function setBorderRightStyle($value = null)
    method getBorderBottomSize (line 457) | public function getBorderBottomSize()
    method setBorderBottomSize (line 469) | public function setBorderBottomSize($value = null)
    method getBorderBottomColor (line 481) | public function getBorderBottomColor()
    method setBorderBottomColor (line 493) | public function setBorderBottomColor($value = null)
    method getBorderBottomStyle (line 505) | public function getBorderBottomStyle()
    method setBorderBottomStyle (line 517) | public function setBorderBottomStyle($value = null)
    method hasBorder (line 529) | public function hasBorder()
    method getMarginTop (line 541) | public function getMarginTop()
    method setMarginTop (line 553) | public function setMarginTop($value = null)
    method getMarginLeft (line 565) | public function getMarginLeft()
    method setMarginLeft (line 577) | public function setMarginLeft($value = null)
    method getMarginRight (line 589) | public function getMarginRight()
    method setMarginRight (line 601) | public function setMarginRight($value = null)
    method getMarginBottom (line 613) | public function getMarginBottom()
    method setMarginBottom (line 625) | public function setMarginBottom($value = null)

FILE: src/PhpWord/Style/Cell.php
  class Cell (line 27) | class Cell extends Border
    method getVAlign (line 154) | public function getVAlign()
    method setVAlign (line 166) | public function setVAlign($value = null)
    method getTextDirection (line 185) | public function getTextDirection()
    method setTextDirection (line 197) | public function setTextDirection($value = null)
    method getBgColor (line 217) | public function getBgColor()
    method setBgColor (line 233) | public function setBgColor($value = null)
    method getGridSpan (line 243) | public function getGridSpan()
    method setGridSpan (line 255) | public function setGridSpan($value = null)
    method getVMerge (line 267) | public function getVMerge()
    method setVMerge (line 279) | public function setVMerge($value = null)
    method getShading (line 298) | public function getShading()
    method setShading (line 310) | public function setShading($value = null)
    method getWidth (line 322) | public function getWidth()
    method setWidth (line 334) | public function setWidth($value)
    method getUnit (line 346) | public function getUnit()
    method setUnit (line 356) | public function setUnit($value)
    method setNoWrap (line 366) | public function setNoWrap(bool $value): self
    method getNoWrap (line 376) | public function getNoWrap(): bool
    method getPaddingTop (line 384) | public function getPaddingTop(): ?int
    method setPaddingTop (line 394) | public function setPaddingTop(int $value): self
    method getPaddingBottom (line 404) | public function getPaddingBottom(): ?int
    method setPaddingBottom (line 414) | public function setPaddingBottom(int $value): self
    method getPaddingLeft (line 424) | public function getPaddingLeft(): ?int
    method setPaddingLeft (line 434) | public function setPaddingLeft(int $value): self
    method getPaddingRight (line 444) | public function getPaddingRight(): ?int
    method setPaddingRight (line 454) | public function setPaddingRight(int $value): self

FILE: src/PhpWord/Style/Chart.php
  class Chart (line 26) | class Chart extends AbstractStyle
    method __construct (line 157) | public function __construct($style = [])
    method getWidth (line 167) | public function getWidth()
    method setWidth (line 179) | public function setWidth($value = null)
    method getHeight (line 191) | public function getHeight()
    method setHeight (line 203) | public function setHeight($value = null)
    method is3d (line 215) | public function is3d()
    method set3d (line 227) | public function set3d($value = true)
    method getColors (line 239) | public function getColors()
    method setColors (line 251) | public function setColors($value = [])
    method getTitle (line 263) | public function getTitle()
    method setTitle (line 275) | public function setTitle($value = null)
    method isShowLegend (line 287) | public function isShowLegend()
    method setShowLegend (line 299) | public function setShowLegend($value = false)
    method getLegendPosition (line 311) | public function getLegendPosition()
    method setLegendPosition (line 330) | public function setLegendPosition($legendPosition = 'r')
    method showAxisLabels (line 343) | public function showAxisLabels()
    method setShowAxisLabels (line 355) | public function setShowAxisLabels($value = true)
    method getDataLabelOptions (line 367) | public function getDataLabelOptions()
    method setDataLabelOptions (line 378) | public function setDataLabelOptions($values = []): void
    method showGridY (line 395) | public function showGridY()
    method setShowGridY (line 407) | public function setShowGridY($value = true)
    method getCategoryLabelPosition (line 419) | public function getCategoryLabelPosition()
    method setCategoryLabelPosition (line 435) | public function setCategoryLabelPosition($labelPosition)
    method getValueLabelPosition (line 448) | public function getValueLabelPosition()
    method setValueLabelPosition (line 460) | public function setValueLabelPosition(string $labelPosition)
    method getCategoryAxisTitle (line 473) | public function getCategoryAxisTitle()
    method setCategoryAxisTitle (line 483) | public function setCategoryAxisTitle($axisTitle)
    method getValueAxisTitle (line 495) | public function getValueAxisTitle()
    method setValueAxisTitle (line 505) | public function setValueAxisTitle($axisTitle)
    method getMajorTickPosition (line 512) | public function getMajorTickPosition()
    method setMajorTickPosition (line 522) | public function setMajorTickPosition($position): void
    method showGridX (line 533) | public function showGridX()
    method setShowGridX (line 545) | public function setShowGridX($value = true)

FILE: src/PhpWord/Style/Extrusion.php
  class Extrusion (line 27) | class Extrusion extends AbstractStyle
    method __construct (line 56) | public function __construct($style = [])
    method getType (line 66) | public function getType()
    method setType (line 78) | public function setType($value = null)
    method getColor (line 91) | public function getColor()
    method setColor (line 103) | public function setColor($value = null)

FILE: src/PhpWord/Style/Fill.php
  class Fill (line 29) | class Fill extends AbstractStyle
    method __construct (line 43) | public function __construct($style = [])
    method getColor (line 53) | public function getColor()
    method setColor (line 65) | public function setColor($value = null)

FILE: src/PhpWord/Style/Font.php
  class Font (line 27) | class Font extends AbstractStyle
    method __construct (line 294) | public function __construct($type = 'text', $paragraph = null)
    method getStyleValues (line 307) | public function getStyleValues()
    method getStyleType (line 350) | public function getStyleType()
    method getName (line 360) | public function getName()
    method setName (line 372) | public function setName($value = null)
    method getHint (line 384) | public function getHint()
    method setHint (line 396) | public function setHint($value = null)
    method getSize (line 408) | public function getSize()
    method setSize (line 420) | public function setSize($value = null)
    method getColor (line 430) | public function getColor(): ?string
    method setColor (line 442) | public function setColor($value = null)
    method isBold (line 454) | public function isBold()
    method setBold (line 466) | public function setBold($value = true)
    method isItalic (line 478) | public function isItalic()
    method setItalic (line 490) | public function setItalic($value = true)
    method getUnderline (line 502) | public function getUnderline()
    method setUnderline (line 514) | public function setUnderline($value = self::UNDERLINE_NONE)
    method isSuperScript (line 526) | public function isSuperScript()
    method setSuperScript (line 538) | public function setSuperScript($value = true)
    method isSubScript (line 548) | public function isSubScript()
    method setSubScript (line 560) | public function setSubScript($value = true)
    method isStrikethrough (line 568) | public function isStrikethrough(): ?bool
    method setStrikethrough (line 578) | public function setStrikethrough($value = true): self
    method isDoubleStrikethrough (line 586) | public function isDoubleStrikethrough(): ?bool
    method setDoubleStrikethrough (line 596) | public function setDoubleStrikethrough($value = true): self
    method isSmallCaps (line 606) | public function isSmallCaps()
    method setSmallCaps (line 618) | public function setSmallCaps($value = true)
    method isAllCaps (line 628) | public function isAllCaps()
    method setAllCaps (line 640) | public function setAllCaps($value = true)
    method getFgColor (line 650) | public function getFgColor()
    method setFgColor (line 662) | public function setFgColor($value = null)
    method getBgColor (line 674) | public function getBgColor()
    method setBgColor (line 686) | public function setBgColor($value = null)
    method getScale (line 696) | public function getScale()
    method setScale (line 708) | public function setScale($value = null)
    method getSpacing (line 720) | public function getSpacing()
    method setSpacing (line 732) | public function setSpacing($value = null)
    method getKerning (line 744) | public function getKerning()
    method setKerning (line 756) | public function setKerning($value = null)
    method isNoProof (line 768) | public function isNoProof()
    method setNoProof (line 780) | public function setNoProof($value = false)
    method getLineHeight (line 792) | public function getLineHeight()
    method setLineHeight (line 804) | public function setLineHeight($value)
    method getParagraph (line 816) | public function getParagraph()
    method setParagraph (line 828) | public function setParagraph($value = null)
    method isRTL (line 840) | public function isRTL()
    method setRTL (line 852) | public function setRTL($value = true)
    method getShading (line 864) | public function getShading()
    method setShading (line 876) | public function setShading($value = null)
    method getLang (line 888) | public function getLang()
    method setLang (line 900) | public function setLang($value = null)
    method isHidden (line 915) | public function isHidden()
    method setHidden (line 927) | public function setHidden($value = true)
    method getPosition (line 939) | public function getPosition()
    method setPosition (line 951) | public function setPosition($value = null)
    method setWhiteSpace (line 963) | public function setWhiteSpace(?string $value): self
    method getWhiteSpace (line 973) | public function getWhiteSpace(): string
    method setFallbackFont (line 983) | public function setFallbackFont(?string $value): self
    method getFallbackFont (line 993) | public function getFallbackFont(): string

FILE: src/PhpWord/Style/Frame.php
  class Frame (line 32) | class Frame extends AbstractStyle
    method __construct (line 218) | public function __construct($style = [])
    method getAlignment (line 228) | public function getAlignment()
    method setAlignment (line 240) | public function setAlignment($value)
    method getUnit (line 254) | public function getUnit()
    method setUnit (line 266) | public function setUnit($value)
    method getWidth (line 278) | public function getWidth()
    method setWidth (line 290) | public function setWidth($value = null)
    method getHeight (line 302) | public function getHeight()
    method setHeight (line 314) | public function setHeight($value = null)
    method getLeft (line 326) | public function getLeft()
    method setLeft (line 338) | public function setLeft($value = 0)
    method getTop (line 350) | public function getTop()
    method setTop (line 362) | public function setTop($value = 0)
    method getPos (line 374) | public function getPos()
    method setPos (line 386) | public function setPos($value)
    method getHPos (line 402) | public function getHPos()
    method setHPos (line 416) | public function setHPos($value)
    method getVPos (line 436) | public function getVPos()
    method setVPos (line 450) | public function setVPos($value)
    method getHPosRelTo (line 470) | public function getHPosRelTo()
    method setHPosRelTo (line 482) | public function setHPosRelTo($value)
    method getVPosRelTo (line 504) | public function getVPosRelTo()
    method setVPosRelTo (line 516) | public function setVPosRelTo($value)
    method getWrap (line 538) | public function getWrap()
    method setWrap (line 550) | public function setWrap($value)
    method getWrapDistanceTop (line 571) | public function getWrapDistanceTop()
    method setWrapDistanceTop (line 583) | public function setWrapDistanceTop($value = null)
    method getWrapDistanceBottom (line 595) | public function getWrapDistanceBottom()
    method setWrapDistanceBottom (line 607) | public function setWrapDistanceBottom($value = null)
    method getWrapDistanceLeft (line 619) | public function getWrapDistanceLeft()
    method setWrapDistanceLeft (line 631) | public function setWrapDistanceLeft($value = null)
    method getWrapDistanceRight (line 643) | public function getWrapDistanceRight()
    method setWrapDistanceRight (line 655) | public function setWrapDistanceRight($value = null)
    method getPosition (line 667) | public function getPosition()
    method setPosition (line 679) | public function setPosition($value = null)

FILE: src/PhpWord/Style/Image.php
  class Image (line 24) | class Image extends Frame
    method __construct (line 62) | public function __construct()
    method getMarginTop (line 81) | public function getMarginTop()
    method setMarginTop (line 95) | public function setMarginTop($value = 0)
    method getMarginLeft (line 107) | public function getMarginLeft()
    method setMarginLeft (line 121) | public function setMarginLeft($value = 0)
    method getWrappingStyle (line 133) | public function getWrappingStyle()
    method setWrappingStyle (line 145) | public function setWrappingStyle($wrappingStyle)
    method getPositioning (line 157) | public function getPositioning()
    method setPositioning (line 169) | public function setPositioning($positioning)
    method getPosHorizontal (line 181) | public function getPosHorizontal()
    method setPosHorizontal (line 193) | public function setPosHorizontal($alignment)
    method getPosVertical (line 205) | public function getPosVertical()
    method setPosVertical (line 217) | public function setPosVertical($alignment)
    method getPosHorizontalRel (line 229) | public function getPosHorizontalRel()
    method setPosHorizontalRel (line 241) | public function setPosHorizontalRel($relto)
    method getPosVerticalRel (line 253) | public function getPosVerticalRel()
    method setPosVerticalRel (line 265) | public function setPosVerticalRel($relto)

FILE: src/PhpWord/Style/Indentation.php
  class Indentation (line 27) | class Indentation extends AbstractStyle
    method __construct (line 69) | public function __construct($style = [])
    method getLeft (line 77) | public function getLeft(): ?float
    method setLeft (line 85) | public function setLeft(?float $value): self
    method getRight (line 95) | public function getRight(): ?float
    method setRight (line 103) | public function setRight(?float $value): self
    method getFirstLine (line 113) | public function getFirstLine(): ?float
    method setFirstLine (line 121) | public function setFirstLine(?float $value): self
    method getFirstLineChars (line 131) | public function getFirstLineChars(): int
    method setFirstLineChars (line 139) | public function setFirstLineChars(int $value): self
    method getHanging (line 149) | public function getHanging(): ?float
    method setHanging (line 157) | public function setHanging(?float $value = null): self

FILE: src/PhpWord/Style/Language.php
  class Language (line 30) | final class Language extends AbstractStyle
    method __construct (line 125) | public function __construct(?string $latin = null, ?string $eastAsia =...
    method setLatin (line 144) | public function setLatin(?string $latin): self
    method getLatin (line 154) | public function getLatin(): ?string
    method setLangId (line 169) | public function setLangId($langId)
    method getLangId (line 181) | public function getLangId()
    method setEastAsia (line 194) | public function setEastAsia($eastAsia)
    method getEastAsia (line 206) | public function getEastAsia()
    method setBidirectional (line 219) | public function setBidirectional($bidirectional)
    method getBidirectional (line 231) | public function getBidirectional()
    method validateLocale (line 243) | private function validateLocale($locale)

FILE: src/PhpWord/Style/Line.php
  class Line (line 24) | class Line extends Image
    method isFlip (line 111) | public function isFlip()
    method setFlip (line 123) | public function setFlip($value = false)
    method getConnectorType (line 135) | public function getConnectorType()
    method setConnectorType (line 147) | public function setConnectorType($value = null)
    method getWeight (line 162) | public function getWeight()
    method setWeight (line 174) | public function setWeight($value = null)
    method getColor (line 186) | public function getColor()
    method setColor (line 198) | public function setColor($value = null)
    method getBeginArrow (line 210) | public function getBeginArrow()
    method setBeginArrow (line 222) | public function setBeginArrow($value = null)
    method getEndArrow (line 238) | public function getEndArrow()
    method setEndArrow (line 250) | public function setEndArrow($value = null)
    method getDash (line 266) | public function getDash()
    method setDash (line 278) | public function setDash($value = null)

FILE: src/PhpWord/Style/LineNumbering.php
  class LineNumbering (line 27) | class LineNumbering extends AbstractStyle
    method __construct (line 69) | public function __construct($style = [])
    method getStart (line 79) | public function getStart()
    method setStart (line 91) | public function setStart($value = null)
    method getIncrement (line 103) | public function getIncrement()
    method setIncrement (line 115) | public function setIncrement($value = null)
    method getDistance (line 127) | public function getDistance()
    method setDistance (line 139) | public function setDistance($value = null)
    method getRestart (line 151) | public function getRestart()
    method setRestart (line 163) | public function setRestart($value = null)

FILE: src/PhpWord/Style/ListItem.php
  class ListItem (line 30) | class ListItem extends AbstractStyle
    method __construct (line 69) | public function __construct($numStyle = null)
    method getListType (line 83) | public function getListType()
    method setListType (line 95) | public function setListType($value = self::TYPE_BULLET_FILLED)
    method getNumStyle (line 113) | public function getNumStyle()
    method setNumStyle (line 125) | public function setNumStyle($value)
    method getNumId (line 142) | public function getNumId()
    method setNumId (line 152) | public function setNumId($numInt): void
    method getListTypeStyle (line 165) | private function getListTypeStyle()

FILE: src/PhpWord/Style/Numbering.php
  class Numbering (line 29) | class Numbering extends AbstractStyle
    method getNumId (line 59) | public function getNumId(): ?int
    method setNumId (line 67) | public function setNumId(int $value): self
    method getType (line 77) | public function getType(): ?string
    method setType (line 85) | public function setType(string $value): self
    method getLevels (line 98) | public function getLevels(): array
    method setLevels (line 106) | public function setLevels(array $values): self

FILE: src/PhpWord/Style/NumberingLevel.php
  class NumberingLevel (line 30) | class NumberingLevel extends AbstractStyle
    method getLevel (line 142) | public function getLevel()
    method setLevel (line 154) | public function setLevel($value)
    method getStart (line 166) | public function getStart()
    method setStart (line 178) | public function setStart($value)
    method getFormat (line 190) | public function getFormat()
    method setFormat (line 202) | public function setFormat($value)
    method getRestart (line 214) | public function getRestart()
    method setRestart (line 226) | public function setRestart($value)
    method getPStyle (line 238) | public function getPStyle()
    method setPStyle (line 250) | public function setPStyle($value)
    method getSuffix (line 262) | public function getSuffix()
    method setSuffix (line 274) | public function setSuffix($value)
    method getText (line 287) | public function getText()
    method setText (line 299) | public function setText($value)
    method getAlignment (line 311) | public function getAlignment()
    method setAlignment (line 323) | public function setAlignment($value)
    method getLeft (line 337) | public function getLeft()
    method setLeft (line 349) | public function setLeft($value)
    method getHanging (line 361) | public function getHanging()
    method setHanging (line 373) | public function setHanging($value)
    method getTabPos (line 385) | public function getTabPos()
    method setTabPos (line 397) | public function setTabPos($value)
    method getFont (line 409) | public function getFont()
    method setFont (line 421) | public function setFont($value)
    method getHint (line 433) | public function getHint()
    method setHint (line 445) | public function setHint($value = null)

FILE: src/PhpWord/Style/Outline.php
  class Outline (line 28) | class Outline extends AbstractStyle
    method __construct (line 131) | public function __construct($style = [])
    method getUnit (line 141) | public function getUnit()
    method getWeight (line 151) | public function getWeight()
    method setWeight (line 163) | public function setWeight($value = null)
    method getColor (line 175) | public function getColor()
    method setColor (line 187) | public function setColor($value = null)
    method getDash (line 199) | public function getDash()
    method setDash (line 211) | public function setDash($value = null)
    method getLine (line 223) | public function getLine()
    method setLine (line 235) | public function setLine($value = null)
    method getEndCap (line 249) | public function getEndCap()
    method setEndCap (line 261) | public function setEndCap($value = null)
    method getStartArrow (line 274) | public function getStartArrow()
    method setStartArrow (line 286) | public function setStartArrow($value = null)
    method getEndArrow (line 300) | public function getEndArrow()
    method setEndArrow (line 312) | public function setEndArrow($value = null)

FILE: src/PhpWord/Style/Paper.php
  class Paper (line 95) | class Paper extends AbstractStyle
    method __construct (line 138) | public function __construct($size = 'A4')
    method getSize (line 148) | public function getSize()
    method setSize (line 160) | public function setSize($size)
    method getWidth (line 182) | public function getWidth()
    method getHeight (line 192) | public function getHeight()

FILE: src/PhpWord/Style/Paragraph.php
  class Paragraph (line 54) | class Paragraph extends Border
    method setStyleValue (line 200) | public function setStyleValue($key, $value)
    method getStyleValues (line 221) | public function getStyleValues()
    method getAlignment (line 256) | public function getAlignment()
    method setAlignment (line 268) | public function setAlignment($value)
    method getBasedOn (line 282) | public function getBasedOn()
    method setBasedOn (line 294) | public function setBasedOn($value = 'Normal')
    method getNext (line 306) | public function getNext()
    method setNext (line 318) | public function setNext($value = null)
    method getHanging (line 328) | public function getHanging(): ?float
    method getIndent (line 338) | public function getIndent(): ?float
    method getIndentation (line 346) | public function getIndentation(): ?Indentation
    method getIndentFirstLine (line 354) | public function getIndentFirstLine(): ?float
    method getIndentLeft (line 362) | public function getIndentLeft(): ?float
    method getIndentRight (line 370) | public function getIndentRight(): ?float
    method setHanging (line 380) | public function setHanging(?float $value = null): self
    method setIndent (line 390) | public function setIndent(?float $value = null): self
    method setIndentation (line 405) | public function setIndentation(array $value = []): self
    method setIndentHanging (line 422) | public function setIndentHanging(?float $value = null): self
    method setIndentFirstLine (line 430) | public function setIndentFirstLine(?float $value = null): self
    method setIndentFirstLineChars (line 438) | public function setIndentFirstLineChars(int $value = 0): self
    method setIndentLeft (line 446) | public function setIndentLeft(?float $value = null): self
    method setIndentRight (line 454) | public function setIndentRight(?float $value = null): self
    method getSpace (line 466) | public function getSpace()
    method setSpace (line 480) | public function setSpace($value = null)
    method getSpaceBefore (line 492) | public function getSpaceBefore()
    method setSpaceBefore (line 504) | public function setSpaceBefore($value = null)
    method getSpaceAfter (line 514) | public function getSpaceAfter()
    method setSpaceAfter (line 526) | public function setSpaceAfter($value = null)
    method getSpacing (line 536) | public function getSpacing()
    method setSpacing (line 548) | public function setSpacing($value = null)
    method getSpacingLineRule (line 558) | public function getSpacingLineRule()
    method setSpacingLineRule (line 570) | public function setSpacingLineRule($value)
    method getLineHeight (line 580) | public function getLineHeight()
    method setLineHeight (line 592) | public function setLineHeight($lineHeight)
    method hasWidowControl (line 614) | public function hasWidowControl()
    method setWidowControl (line 626) | public function setWidowControl($value = true)
    method isKeepNext (line 638) | public function isKeepNext()
    method setKeepNext (line 650) | public function setKeepNext($value = true)
    method isKeepLines (line 662) | public function isKeepLines()
    method setKeepLines (line 674) | public function setKeepLines($value = true)
    method hasPageBreakBefore (line 686) | public function hasPageBreakBefore()
    method setPageBreakBefore (line 698) | public function setPageBreakBefore($value = true)
    method getNumStyle (line 710) | public function getNumStyle()
    method setNumStyle (line 722) | public function setNumStyle($value)
    method getNumLevel (line 734) | public function getNumLevel()
    method setNumLevel (line 746) | public function setNumLevel($value = 0)
    method getTabs (line 758) | public function getTabs()
    method setTabs (line 770) | public function setTabs($value = null)
    method getShading (line 784) | public function getShading()
    method setShading (line 796) | public function setShading($value = null)
    method hasContextualSpacing (line 808) | public function hasContextualSpacing()
    method setContextualSpacing (line 820) | public function setContextualSpacing($contextualSpacing)
    method isBidi (line 832) | public function isBidi()
    method setBidi (line 845) | public function setBidi($bidi)
    method getTextAlignment (line 857) | public function getTextAlignment()
    method setTextAlignment (line 869) | public function setTextAlignment($textAlignment)
    method hasSuppressAutoHyphens (line 880) | public function hasSuppressAutoHyphens()
    method setSuppressAutoHyphens (line 888) | public function setSuppressAutoHyphens($suppressAutoHyphens): void

FILE: src/PhpWord/Style/Row.php
  class Row (line 26) | class Row extends AbstractStyle
    method __construct (line 52) | public function __construct()
    method isTblHeader (line 59) | public function isTblHeader(): bool
    method setTblHeader (line 67) | public function setTblHeader(bool $value = true): self
    method isCantSplit (line 77) | public function isCantSplit(): bool
    method setCantSplit (line 85) | public function setCantSplit(bool $value = true): self
    method isExactHeight (line 95) | public function isExactHeight(): bool
    method setExactHeight (line 103) | public function setExactHeight(bool $value = true): self

FILE: src/PhpWord/Style/Section.php
  class Section (line 27) | class Section extends Border
    method __construct (line 158) | public function __construct()
    method getPaperSize (line 168) | public function getPaperSize()
    method setPaperSize (line 180) | public function setPaperSize($value = '')
    method setSettingValue (line 203) | public function setSettingValue($key, $value)
    method setOrientation (line 215) | public function setOrientation($value = null)
    method getOrientation (line 242) | public function getOrientation()
    method setPortrait (line 252) | public function setPortrait()
    method setLandscape (line 262) | public function setLandscape()
    method getPageSizeW (line 274) | public function getPageSizeW()
    method setPageSizeW (line 286) | public function setPageSizeW($value = null)
    method getPageSizeH (line 300) | public function getPageSizeH()
    method setPageSizeH (line 312) | public function setPageSizeH($value = null)
    method getGutter (line 324) | public function getGutter()
    method setGutter (line 336) | public function setGutter($value = null)
    method getHeaderHeight (line 348) | public function getHeaderHeight()
    method setHeaderHeight (line 360) | public function setHeaderHeight($value = null)
    method getFooterHeight (line 372) | public function getFooterHeight()
    method setFooterHeight (line 384) | public function setFooterHeight($value = null)
    method getPageNumberingStart (line 396) | public function getPageNumberingStart()
    method setPageNumberingStart (line 408) | public function setPageNumberingStart($pageNumberingStart = null)
    method getColsNum (line 420) | public function getColsNum()
    method setColsNum (line 432) | public function setColsNum($value = null)
    method getColsSpace (line 444) | public function getColsSpace()
    method setColsSpace (line 456) | public function setColsSpace($value = null)
    method getBreakType (line 468) | public function getBreakType()
    method setBreakType (line 480) | public function setBreakType($value = null)
    method getLineNumbering (line 492) | public function getLineNumbering()
    method setLineNumbering (line 504) | public function setLineNumbering($value = null)
    method getVAlign (line 516) | public function getVAlign()
    method setVAlign (line 528) | public function setVAlign($value = null)

FILE: src/PhpWord/Style/Shading.php
  class Shading (line 27) | class Shading extends AbstractStyle
    method __construct (line 72) | public function __construct($style = [])
    method getPattern (line 82) | public function getPattern()
    method setPattern (line 94) | public function setPattern($value = null)
    method getColor (line 110) | public function getColor()
    method setColor (line 122) | public function setColor($value = null)
    method getFill (line 134) | public function getFill()
    method setFill (line 146) | public function setFill($value = null)

FILE: src/PhpWord/Style/Shadow.php
  class Shadow (line 27) | class Shadow extends AbstractStyle
    method __construct (line 48) | public function __construct($style = [])
    method getColor (line 58) | public function getColor()
    method setColor (line 70) | public function setColor($value = null)
    method getOffset (line 82) | public function getOffset()
    method setOffset (line 94) | public function setOffset($value = null)

FILE: src/PhpWord/Style/Shape.php
  class Shape (line 28) | class Shape extends AbstractStyle
    method __construct (line 92) | public function __construct($style = [])
    method getPoints (line 102) | public function getPoints()
    method setPoints (line 114) | public function setPoints($value = null)
    method getRoundness (line 126) | public function getRoundness()
    method setRoundness (line 138) | public function setRoundness($value = null)
    method getFrame (line 150) | public function getFrame()
    method setFrame (line 162) | public function setFrame($value = null)
    method getFill (line 174) | public function getFill()
    method setFill (line 186) | public function setFill($value = null)
    method getOutline (line 198) | public function getOutline()
    method setOutline (line 210) | public function setOutline($value = null)
    method getShadow (line 222) | public function getShadow()
    method setShadow (line 234) | public function setShadow($value = null)
    method getExtrusion (line 246) | public function getExtrusion()
    method setExtrusion (line 258) | public function setExtrusion($value = null)

FILE: src/PhpWord/Style/Spacing.php
  class Spacing (line 29) | class Spacing extends AbstractStyle
    method __construct (line 64) | public function __construct($style = [])
    method getBefore (line 74) | public function getBefore()
    method setBefore (line 86) | public function setBefore($value = null)
    method getAfter (line 98) | public function getAfter()
    method setAfter (line 110) | public function setAfter($value = null)
    method getLine (line 122) | public function getLine()
    method setLine (line 134) | public function setLine($value = null)
    method getLineRule (line 146) | public function getLineRule()
    method setLineRule (line 158) | public function setLineRule($value = null)

FILE: src/PhpWord/Style/TOC.php
  class TOC (line 24) | class TOC extends Tab
    method __construct (line 36) | public function __construct()
    method getTabPos (line 46) | public function getTabPos()
    method setTabPos (line 58) | public function setTabPos($value)
    method getTabLeader (line 68) | public function getTabLeader()
    method setTabLeader (line 80) | public function setTabLeader($value = self::TAB_LEADER_DOT)
    method getIndent (line 90) | public function getIndent()
    method setIndent (line 102) | public function setIndent($value)

FILE: src/PhpWord/Style/Tab.php
  class Tab (line 24) | class Tab extends AbstractStyle
    method __construct (line 81) | public function __construct($type = null, $position = 0, $leader = null)
    method getType (line 102) | public function getType()
    method setType (line 114) | public function setType($value)
    method getLeader (line 131) | public function getLeader()
    method setLeader (line 143) | public function setLeader($value)
    method getPosition (line 159) | public function getPosition()
    method setPosition (line 171) | public function setPosition($value)

FILE: src/PhpWord/Style/Table.php
  class Table (line 27) | class Table extends Border
    method __construct (line 174) | public function __construct(?array $tableStyle = null, ?array $firstRo...
    method setCellSpacing (line 203) | public function setCellSpacing($cellSpacing = null): self
    method getCellSpacing (line 213) | public function getCellSpacing()
    method getFirstRow (line 223) | public function getFirstRow()
    method getBgColor (line 233) | public function getBgColor()
    method setBgColor (line 249) | public function setBgColor($value = null)
    method getBorderSize (line 261) | public function getBorderSize()
    method setBorderSize (line 280) | public function setBorderSize($value = null)
    method getBorderColor (line 297) | public function getBorderColor()
    method setBorderColor (line 316) | public function setBorderColor($value = null)
    method getBorderInsideHSize (line 333) | public function getBorderInsideHSize()
    method setBorderInsideHSize (line 345) | public function setBorderInsideHSize($value = null)
    method getBorderInsideHColor (line 355) | public function getBorderInsideHColor()
    method setBorderInsideHColor (line 367) | public function setBorderInsideHColor($value = null)
    method getBorderInsideVSize (line 377) | public function getBorderInsideVSize()
    method setBorderInsideVSize (line 389) | public function setBorderInsideVSize($value = null)
    method getBorderInsideVColor (line 399) | public function getBorderInsideVColor()
    method setBorderInsideVColor (line 411) | public function setBorderInsideVColor($value = null)
    method getCellMarginTop (line 421) | public function getCellMarginTop()
    method setCellMarginTop (line 433) | public function setCellMarginTop($value = null)
    method getCellMarginLeft (line 443) | public function getCellMarginLeft()
    method setCellMarginLeft (line 455) | public function setCellMarginLeft($value = null)
    method getCellMarginRight (line 465) | public function getCellMarginRight()
    method setCellMarginRight (line 477) | public function setCellMarginRight($value = null)
    method getCellMarginBottom (line 487) | public function getCellMarginBottom()
    method setCellMarginBottom (line 499) | public function setCellMarginBottom($value = null)
    method getCellMargin (line 509) | public function getCellMargin()
    method setCellMargin (line 526) | public function setCellMargin($value = null)
    method hasMargin (line 541) | public function hasMargin()
    method getShading (line 553) | public function getShading()
    method setShading (line 565) | public function setShading($value = null)
    method getAlignment (line 577) | public function getAlignment()
    method setAlignment (line 589) | public function setAlignment($value)
    method getWidth (line 603) | public function getWidth()
    method setWidth (line 615) | public function setWidth($value = null)
    method getUnit (line 627) | public function getUnit()
    method setUnit (line 639) | public function setUnit($value = null)
    method getLayout (line 652) | public function getLayout()
    method setLayout (line 664) | public function setLayout($value = null)
    method getTableOnlyProperty (line 682) | private function getTableOnlyProperty($property)
    method setTableOnlyProperty (line 703) | private function setTableOnlyProperty($property, $value, $isNumeric = ...
    method getPosition (line 721) | public function getPosition()
    method setPosition (line 733) | public function setPosition($value = null)
    method getIndent (line 743) | public function getIndent()
    method setIndent (line 753) | public function setIndent(TblWidthComplexType $indent)
    method getColumnWidths (line 765) | public function getColumnWidths()
    method setColumnWidths (line 775) | public function setColumnWidths(?array $value = null): void
    method isBidiVisual (line 785) | public function isBidiVisual()
    method setBidiVisual (line 798) | public function setBidiVisual($bidi)

FILE: src/PhpWord/Style/TablePosition.php
  class TablePosition (line 26) | class TablePosition extends AbstractStyle
    method __construct (line 160) | public function __construct($style = [])
    method getLeftFromText (line 170) | public function getLeftFromText()
    method setLeftFromText (line 182) | public function setLeftFromText($value = null)
    method getRightFromText (line 194) | public function getRightFromText()
    method setRightFromText (line 206) | public function setRightFromText($value = null)
    method getTopFromText (line 218) | public function getTopFromText()
    method setTopFromText (line 230) | public function setTopFromText($value = null)
    method getBottomFromText (line 242) | public function getBottomFromText()
    method setBottomFromText (line 254) | public function setBottomFromText($value = null)
    method getVertAnchor (line 266) | public function getVertAnchor()
    method setVertAnchor (line 278) | public function setVertAnchor($value = null)
    method getHorzAnchor (line 295) | public function getHorzAnchor()
    method setHorzAnchor (line 307) | public function setHorzAnchor($value = null)
    method getTblpXSpec (line 324) | public function getTblpXSpec()
    method setTblpXSpec (line 336) | public function setTblpXSpec($value = null)
    method getTblpX (line 355) | public function getTblpX()
    method setTblpX (line 367) | public function setTblpX($value = null)
    method getTblpYSpec (line 379) | public function getTblpYSpec()
    method setTblpYSpec (line 391) | public function setTblpYSpec($value = null)
    method getTblpY (line 411) | public function getTblpY()
    method setTblpY (line 423) | public function setTblpY($value = null)

FILE: src/PhpWord/Style/TextBox.php
  class TextBox (line 24) | class TextBox extends Image
    method setBgColor (line 78) | public function setBgColor(?string $value = null): void
    method getBgColor (line 86) | public function getBgColor(): ?string
    method setInnerMarginTop (line 94) | public function setInnerMarginTop(?int $value = null): void
    method getInnerMarginTop (line 102) | public function getInnerMarginTop(): ?int
    method setInnerMarginLeft (line 110) | public function setInnerMarginLeft(?int $value = null): void
    method getInnerMarginLeft (line 118) | public function getInnerMarginLeft(): ?int
    method setInnerMarginRight (line 126) | public function setInnerMarginRight(?int $value = null): void
    method getInnerMarginRight (line 134) | public function getInnerMarginRight(): ?int
    method setInnerMarginBottom (line 142) | public function setInnerMarginBottom(?int $value = null): void
    method getInnerMarginBottom (line 150) | public function getInnerMarginBottom(): ?int
    method setInnerMargin (line 160) | public function setInnerMargin(?int $value = null): void
    method getInnerMargin (line 173) | public function getInnerMargin(): array
    method hasInnerMargins (line 181) | public function hasInnerMargins(): bool
    method setBorderSize (line 200) | public function setBorderSize(?int $value = null): void
    method getBorderSize (line 208) | public function getBorderSize(): ?int
    method setBorderColor (line 216) | public function setBorderColor(?string $value = null): void
    method getBorderColor (line 224) | public function getBorderColor(): ?string

FILE: src/PhpWord/TemplateProcessor.php
  class TemplateProcessor (line 33) | class TemplateProcessor
    method __construct (line 107) | public function __construct($documentTemplate)
    method __destruct (line 142) | public function __destruct()
    method zip (line 162) | public function zip()
    method readPartWithRels (line 172) | protected function readPartWithRels($fileName)
    method transformSingleXml (line 189) | protected function transformSingleXml($xml, $xsltProcessor)
    method transformXml (line 216) | protected function transformXml($xml, $xsltProcessor)
    method applyXslStyleSheet (line 240) | public function applyXslStyleSheet($xslDomDocument, $xslOptions = [], ...
    method ensureMacroCompleted (line 259) | protected static function ensureMacroCompleted($macro)
    method ensureUtf8Encoded (line 273) | protected static function ensureUtf8Encoded($subject)
    method setComplexValue (line 281) | public function setComplexValue($search, Element\AbstractElement $comp...
    method setComplexBlock (line 308) | public function setComplexBlock($search, Element\AbstractElement $comp...
    method setValue (line 326) | public function setValue($search, $replace, $limit = self::MAXIMUM_REP...
    method setValues (line 368) | public function setValues(array $values, int $limit = self::MAXIMUM_RE...
    method setCheckbox (line 375) | public function setCheckbox(string $search, bool $checked): void
    method setChart (line 399) | public function setChart($search, Element\AbstractElement $chart): void
    method getImageArgs (line 435) | private function getImageArgs($varNameWithArgs)
    method chooseImageDimension (line 474) | private function chooseImageDimension($baseValue, $inlineValue, $defau...
    method fixImageWidthHeightRatio (line 493) | private function fixImageWidthHeightRatio(&$width, &$height, $actualWi...
    method prepareImageAttrs (line 535) | private function prepareImageAttrs($replaceImage, $varInlineArgs)
    method addImageToRelations (line 590) | private function addImageToRelations($partFileName, $rid, $imgPath, $i...
    method setImageValue (line 644) | public function setImageValue($search, $replace, $limit = self::MAXIMU...
    method getVariableCount (line 725) | public function getVariableCount()
    method getVariables (line 751) | public function getVariables()
    method cloneRow (line 762) | public function cloneRow($search, $numberOfClones): void
    method deleteRow (line 811) | public function deleteRow(string $search): void
    method cloneRowAndSetValues (line 878) | public function cloneRowAndSetValues($search, $values): void
    method cloneBlock (line 901) | public function cloneBlock($blockname, $clones = 1, $replace = true, $...
    method replaceBlock (line 946) | public function replaceBlock($blockname, $replacement): void
    method deleteBlock (line 971) | public function deleteBlock($blockname): void
    method setUpdateFields (line 981) | public function setUpdateFields($update = true): void
    method save (line 997) | public function save()
    method savePartWithRels (line 1024) | protected function savePartWithRels($fileName, $xml): void
    method saveAs (line 1040) | public function saveAs($fileName): void
    method fixBrokenMacros (line 1066) | protected function fixBrokenMacros($documentPart)
    method setValueForPart (line 1091) | protected function setValueForPart($search, $replace, $documentPartXML...
    method getVariablesForPart (line 1109) | protected function getVariablesForPart($documentPartXML)
    method getHeaderName (line 1127) | protected function getHeaderName($index)
    method getMainPartName (line 1137) | protected function getMainPartName()
    method getSettingsPartName (line 1154) | protected function getSettingsPartName()
    method getFooterName (line 1166) | protected function getFooterName($index)
    method getRelationsName (line 1178) | protected function getRelationsName($documentPartName)
    method getNextRelationsIndex (line 1183) | protected function getNextRelationsIndex($documentPartName)
    method getDocumentContentTypesName (line 1200) | protected function getDocumentContentTypesName()
    method findTableStart (line 1208) | private function findTableStart(int $offset): int
    method findTableEnd (line 1233) | private function findTableEnd(int $offset): int
    method findRowStart (line 1245) | protected function findRowStart($offset)
    method findRowEnd (line 1266) | protected function findRowEnd($offset)
    method getSlice (line 1279) | protected function getSlice($startPosition, $endPosition = 0)
    method indexClonedVariables (line 1297) | protected function indexClonedVariables($count, $xmlBlock)
    method replaceCarriageReturns (line 1313) | public function replaceCarriageReturns(string $string): string
    method replaceClonedVariables (line 1326) | protected function replaceClonedVariables($variableReplacements, $xmlB...
    method replaceXmlBlock (line 1349) | public function replaceXmlBlock($macro, $block, $blockType = 'w:p')
    method findContainingXmlBlockForMacro (line 1370) | protected function findContainingXmlBlockForMacro($macro, $blockType =...
    method findMacro (line 1401) | protected function findMacro($search, $offset = 0)
    method findXmlBlockStart (line 1417) | protected function findXmlBlockStart($offset, $blockType)
    method findXmlBlockEnd (line 1439) | protected function findXmlBlockEnd($offset, $blockType)
    method splitTextIntoTexts (line 1454) | protected function splitTextIntoTexts($text)
    method textNeedsSplitting (line 1479) | protected function textNeedsSplitting($text)
    method setMacroOpeningChars (line 1487) | public function setMacroOpeningChars(string $macroOpeningChars): void
    method setMacroClosingChars (line 1492) | public function setMacroClosingChars(string $macroClosingChars): void
    method setMacroChars (line 1497) | public function setMacroChars(string $macroOpeningChars, string $macro...
    method getTempDocumentFilename (line 1503) | public function getTempDocumentFilename(): string

FILE: src/PhpWord/Writer/AbstractWriter.php
  class AbstractWriter (line 32) | abstract class AbstractWriter implements WriterInterface
    method getPhpWord (line 102) | public function getPhpWord()
    method setPhpWord (line 116) | public function setPhpWord(?PhpWord $phpWord = null)
    method getWriterPart (line 130) | public function getWriterPart($partName = '')
    method isUseDiskCaching (line 144) | public function isUseDiskCaching()
    method setUseDiskCaching (line 157) | public function setUseDiskCaching($value = false, $directory = null)
    method getDiskCachingDirectory (line 177) | public function getDiskCachingDirectory()
    method getTempDir (line 187) | public function getTempDir()
    method setTempDir (line 199) | public function setTempDir($value)
    method getTempFile (line 218) | protected function getTempFile($filename)
    method cleanupTempFile (line 239) | protected function cleanupTempFile(): void
    method clearTempDir (line 257) | protected function clearTempDir(): void
    method getZipArchive (line 271) | protected function getZipArchive($filename)
    method openFile (line 302) | protected function openFile($filename)
    method writeFile (line 324) | protected function writeFile($fileHandle, $content): void
    method addFilesToPackage (line 336) | protected function addFilesToPackage(ZipArchive $zip, $elements): void
    method addFileToPackage (line 366) | protected function addFileToPackage($zipPackage, $source, $target): void
    method deleteDir (line 396) | private function deleteDir($dir): void

FILE: src/PhpWord/Writer/EPub3.php
  class EPub3 (line 27) | class EPub3 extends AbstractWriter implements WriterInterface
    method __construct (line 32) | public function __construct(?PhpWord $phpWord = null)
    method save (line 64) | public function save(string $filename): void

FILE: src/PhpWord/Writer/EPub3/Element/AbstractElement.php
  class AbstractElement (line 28) | abstract class AbstractElement extends Word2007AbstractElement
    method getElementClass (line 35) | public static function getElementClass($element): string

FILE: src/PhpWord/Writer/EPub3/Element/Image.php
  class Image (line 10) | class Image extends AbstractElement
    method write (line 15) | public function write(): void

FILE: src/PhpWord/Writer/EPub3/Element/Text.php
  class Text (line 8) | class Text extends AbstractElement
    method write (line 13) | public function write(): void

FILE: src/PhpWord/Writer/EPub3/Part.php
  class Part (line 26) | class Part
    method getPartClass (line 35) | public static function getPartClass(string $type): string

FILE: src/PhpWord/Writer/EPub3/Part/AbstractPart.php
  class AbstractPart (line 27) | abstract class AbstractPart implements WriterPartInterface
    method setParentWriter (line 39) | public function setParentWriter(AbstractWriter $writer): void
    method getParentWriter (line 47) | public function getParentWriter(): AbstractWriter
    method write (line 55) | abstract public function write(): string;

FILE: src/PhpWord/Writer/EPub3/Part/Content.php
  class Content (line 28) | class Content extends AbstractPart
    method __construct (line 40) | public function __construct(?PhpWord $phpWord = null)
    method getXmlWriter (line 50) | protected function getXmlWriter()
    method write (line 62) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Part/ContentXhtml.php
  class ContentXhtml (line 14) | class ContentXhtml extends AbstractPart
    method __construct (line 26) | public function __construct(?PhpWord $phpWord = null)
    method getXmlWriter (line 36) | protected function getXmlWriter()
    method write (line 47) | public function write(): string
    method writeTextElement (line 95) | protected function writeTextElement(AbstractElement $textElement, XMLW...
    method writeTextRun (line 112) | protected function writeTextRun(TextRun $textRun, XMLWriter $xmlWriter...

FILE: src/PhpWord/Writer/EPub3/Part/Manifest.php
  class Manifest (line 24) | class Manifest extends AbstractPart
    method write (line 29) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Part/Meta.php
  class Meta (line 26) | class Meta extends AbstractPart
    method getXmlWriter (line 31) | protected function getXmlWriter(): XMLWriter
    method write (line 43) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Part/Mimetype.php
  class Mimetype (line 24) | class Mimetype extends AbstractPart
    method write (line 29) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Part/Nav.php
  class Nav (line 7) | class Nav extends AbstractPart
    method getXmlWriter (line 9) | protected function getXmlWriter(): XMLWriter
    method write (line 17) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Style/AbstractStyle.php
  class AbstractStyle (line 27) | abstract class AbstractStyle
    method setParentWriter (line 46) | public function setParentWriter(AbstractWriter $writer): self
    method setXmlWriter (line 56) | public function setXmlWriter(XMLWriter $writer): self
    method getParentWriter (line 66) | public function getParentWriter(): AbstractWriter
    method write (line 74) | abstract public function write(): string;

FILE: src/PhpWord/Writer/EPub3/Style/Font.php
  class Font (line 24) | class Font extends AbstractStyle
    method write (line 29) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Style/Paragraph.php
  class Paragraph (line 24) | class Paragraph extends AbstractStyle
    method write (line 29) | public function write(): string

FILE: src/PhpWord/Writer/EPub3/Style/Table.php
  class Table (line 24) | class Table extends AbstractStyle
    method write (line 29) | public function write(): string

FILE: src/PhpWord/Writer/HTML.php
  class HTML (line 33) | class HTML extends AbstractWriter implements WriterInterface
    method __construct (line 73) | public function __construct(?PhpWord $phpWord = null)
    method save (line 92) | public function save(string $filename): void
    method getContent (line 104) | public function getContent()
    method getEditCallback (line 142) | public function getEditCallback(): ?callable
    method setEditCallback (line 153) | public function setEditCallback(?callable $callback): self
    method isPdf (line 165) | public function isPdf()
    method getNotes (line 175) | public function getNotes()
    method addNote (line 186) | public function addNote($noteId, $noteMark): void
    method getDefaultGenericFont (line 194) | public function getDefaultGenericFont(): string
    method setDefaultGenericFont (line 202) | public function setDefaultGenericFont(string $value): self
    method getDefaultWhiteSpace (line 212) | public function getDefaultWhiteSpace(): string
    method setDefaultWhiteSpace (line 220) | public function setDefaultWhiteSpace(string $value): self
    method escapeHTML (line 230) | public function escapeHTML(string $txt): string

FILE: src/PhpWord/Writer/HTML/Element/AbstractElement.php
  class AbstractElement (line 29) | abstract class AbstractElement
    method write (line 55) | abstract public function write();
    method __construct (line 62) | public function __construct(HTML $parentWriter, Element $element, $wit...
    method setWithoutP (line 74) | public function setWithoutP($value): void

FILE: src/PhpWord/Writer/HTML/Element/Bookmark.php
  class Bookmark (line 26) | class Bookmark extends Text
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/Container.php
  class Container (line 28) | class Container extends AbstractElement
    method write (line 42) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/Endnote.php
  class Endnote (line 26) | class Endnote extends Footnote

FILE: src/PhpWord/Writer/HTML/Element/Footnote.php
  class Footnote (line 26) | class Footnote extends AbstractElement
    method write (line 40) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/Image.php
  class Image (line 29) | class Image extends Text
    method write (line 36) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/Link.php
  class Link (line 28) | class Link extends Text
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/ListItem.php
  class ListItem (line 28) | class ListItem extends AbstractElement
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/ListItemRun.php
  class ListItemRun (line 26) | class ListItemRun extends TextRun
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/PageBreak.php
  class PageBreak (line 28) | class PageBreak extends TextBreak
    method write (line 37) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/Ruby.php
  class Ruby (line 29) | class Ruby extends AbstractElement
    method write (line 36) | public function write()
    method getPropertyCssForRubyTag (line 64) | private function getPropertyCssForRubyTag(RubyProperties $properties):...
    method getPropertyCssForRtTag (line 91) | private function getPropertyCssForRtTag(RubyProperties $properties): s...
    method getParagraphStyleForTextRun (line 100) | private function getParagraphStyleForTextRun(TextRun $textRun, string ...

FILE: src/PhpWord/Writer/HTML/Element/Table.php
  class Table (line 28) | class Table extends AbstractElement
    method write (line 35) | public function write()
    method getTableStyle (line 111) | private function getTableStyle($tableStyle = null): string
    method calculateCellRowSpan (line 134) | private function calculateCellRowSpan(array $rows, int $rowIndex, int ...

FILE: src/PhpWord/Writer/HTML/Element/Text.php
  class Text (line 34) | class Text extends AbstractElement
    method write (line 69) | public function write()
    method setOpeningText (line 98) | public function setOpeningText($value): void
    method setClosingText (line 108) | public function setClosingText($value): void
    method writeOpening (line 118) | protected function writeOpening()
    method writeClosing (line 137) | protected function writeClosing()
    method writeTrackChangeOpening (line 157) | private function writeTrackChangeOpening()
    method writeTrackChangeClosing (line 192) | private function writeTrackChangeClosing()
    method getParagraphStyle (line 214) | private function getParagraphStyle()
    method processFontStyle (line 243) | private function processFontStyle(): void

FILE: src/PhpWord/Writer/HTML/Element/TextBreak.php
  class TextBreak (line 26) | class TextBreak extends AbstractElement
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/TextRun.php
  class TextRun (line 26) | class TextRun extends Text
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/HTML/Element/Title.php
  class Title (line 28) | class Title extends AbstractElement
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/HTML/Part/AbstractPart.php
  class AbstractPart (line 27) | abstract class AbstractPart
    method write (line 37) | abstract public function write();
    method setParentWriter (line 39) | public function setParentWriter(?HTML $writer = null): void
    method getParentWriter (line 47) | public function getParentWriter()

FILE: src/PhpWord/Writer/HTML/Part/Body.php
  class Body (line 30) | class Body extends AbstractPart
    method write (line 37) | public function write()
    method writeNotes (line 70) | private function writeNotes()

FILE: src/PhpWord/Writer/HTML/Part/Head.php
  class Head (line 37) | class Head extends AbstractPart
    method write (line 44) | public function write()
    method writeStyles (line 85) | private function writeStyles(): string
    method getFontFamily (line 198) | private function getFontFamily(string $font, string $genericFont): string

FILE: src/PhpWord/Writer/HTML/Style/AbstractStyle.php
  class AbstractStyle (line 29) | abstract class AbstractStyle
    method write (line 50) | abstract public function write();
    method __construct (line 57) | public function __construct($style = null)
    method setParentWriter (line 67) | public function setParentWriter($writer): void
    method getParentWriter (line 77) | public function getParentWriter()
    method getStyle (line 87) | public function getStyle()
    method assembleCss (line 103) | protected function assembleCss($css)
    method getValueIf (line 127) | protected function getValueIf($condition, $value)

FILE: src/PhpWord/Writer/HTML/Style/Font.php
  class Font (line 28) | class Font extends AbstractStyle
    method write (line 35) | public function write()
    method getFontFamily (line 84) | private function getFontFamily(?string $font, string $genericFont): st...

FILE: src/PhpWord/Writer/HTML/Style/Generic.php
  class Generic (line 26) | class Generic extends AbstractStyle
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/HTML/Style/Image.php
  class Image (line 26) | class Image extends AbstractStyle
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/HTML/Style/Paragraph.php
  class Paragraph (line 30) | class Paragraph extends AbstractStyle
    method write (line 37) | public function write()

FILE: src/PhpWord/Writer/HTML/Style/Table.php
  class Table (line 25) | class Table extends AbstractStyle
    method write (line 30) | public function write()

FILE: src/PhpWord/Writer/ODText.php
  class ODText (line 33) | class ODText extends AbstractWriter implements WriterInterface
    method __construct (line 43) | public function __construct(?PhpWord $phpWord = null)
    method save (line 73) | public function save(string $filename): void

FILE: src/PhpWord/Writer/ODText/Element/AbstractElement.php
  class AbstractElement (line 28) | abstract class AbstractElement extends Word2007AbstractElement
    method replaceTabs (line 30) | protected function replaceTabs($text, $xmlWriter): void

FILE: src/PhpWord/Writer/ODText/Element/Container.php
  class Container (line 28) | class Container extends Word2007Container

FILE: src/PhpWord/Writer/ODText/Element/Field.php
  class Field (line 31) | class Field extends Text
    method write (line 36) | public function write(): void
    method writeDefault (line 55) | private function writeDefault(\PhpOffice\PhpWord\Element\Field $elemen...

FILE: src/PhpWord/Writer/ODText/Element/Formula.php
  class Formula (line 30) | class Formula extends AbstractElement
    method write (line 35) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/Image.php
  class Image (line 29) | class Image extends AbstractElement
    method write (line 34) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/Link.php
  class Link (line 26) | class Link extends AbstractElement
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/ListItemRun.php
  class ListItemRun (line 28) | class ListItemRun extends AbstractElement
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/PageBreak.php
  class PageBreak (line 24) | class PageBreak extends AbstractElement
    method write (line 29) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/Ruby.php
  class Ruby (line 28) | class Ruby extends AbstractElement
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/Table.php
  class Table (line 30) | class Table extends AbstractElement
    method write (line 35) | public function write(): void
    method writeColumns (line 64) | private function writeColumns(XMLWriter $xmlWriter, TableElement $elem...
    method writeRow (line 78) | private function writeRow(XMLWriter $xmlWriter, RowElement $row): void

FILE: src/PhpWord/Writer/ODText/Element/Text.php
  class Text (line 29) | class Text extends AbstractElement
    method write (line 34) | public function write(): void
    method writeChangeInsertion (line 92) | private function writeChangeInsertion($start = true, ?TrackChange $tra...

FILE: src/PhpWord/Writer/ODText/Element/TextBreak.php
  class TextBreak (line 26) | class TextBreak extends AbstractElement
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/TextRun.php
  class TextRun (line 26) | class TextRun extends Text
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Element/Title.php
  class Title (line 26) | class Title extends AbstractElement
    method write (line 31) | public function write(): void
    method compareToFirstElement (line 76) | private static function compareToFirstElement($elem, $elemarray)

FILE: src/PhpWord/Writer/ODText/Part/AbstractPart.php
  class AbstractPart (line 31) | abstract class AbstractPart extends Word2007AbstractPart
    method writeCommonRootAttributes (line 46) | protected function writeCommonRootAttributes(XMLWriter $xmlWriter): void
    method writeFontFaces (line 80) | protected function writeFontFaces(XMLWriter $xmlWriter): void
    method addObject (line 113) | public function addObject(AbstractElement $object): int
    method setObjects (line 123) | public function setObjects(array $objects): self
    method getObjects (line 133) | public function getObjects(): array

FILE: src/PhpWord/Writer/ODText/Part/Content.php
  class Content (line 40) | class Content extends AbstractPart
    method write (line 60) | public function write()
    method writeAutoStyles (line 161) | private function writeAutoStyles(XMLWriter $xmlWriter): void
    method writeTextStyles (line 181) | private function writeTextStyles(XMLWriter $xmlWriter): void
    method getAutoStyles (line 243) | private function getAutoStyles(PhpWord $phpWord): void
    method getContainerStyle (line 267) | private function getContainerStyle($container, &$paragraphStyleCount, ...
    method getElementStyle (line 309) | private function getElementStyle($element, &$paragraphStyleCount, &$fo...
    method getElementStyleField (line 354) | private function getElementStyleField($element, &$fontStyleCount): void
    method getElementStyleTextRun (line 379) | private function getElementStyleTextRun($element, &$paragraphStyleCoun...
    method collectTrackedChanges (line 409) | private function collectTrackedChanges(AbstractContainer $container, &...

FILE: src/PhpWord/Writer/ODText/Part/Manifest.php
  class Manifest (line 28) | class Manifest extends AbstractPart
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/ODText/Part/Meta.php
  class Meta (line 28) | class Meta extends AbstractPart
    method write (line 35) | public function write()
    method writeCustomProperty (line 95) | private function writeCustomProperty(XMLWriter $xmlWriter, $property, ...

FILE: src/PhpWord/Writer/ODText/Part/Mimetype.php
  class Mimetype (line 24) | class Mimetype extends AbstractPart
    method write (line 31) | public function write()

FILE: src/PhpWord/Writer/ODText/Part/Styles.php
  class Styles (line 29) | class Styles extends AbstractPart
    method write (line 36) | public function write()
    method writeDefault (line 70) | private function writeDefault(XMLWriter $xmlWriter): void
    method writeNamed (line 121) | private function writeNamed(XMLWriter $xmlWriter): void
    method cvttwiptostr (line 145) | private static function cvttwiptostr($twips, $factor = 1.0)
    method writePageLayout (line 156) | private function writePageLayout(XMLWriter $xmlWriter): void
    method writePageLayoutIndiv (line 171) | private function writePageLayoutIndiv(XMLWriter $xmlWriter, $section, ...
    method writeMaster (line 253) | private function writeMaster(XMLWriter $xmlWriter): void

FILE: src/PhpWord/Writer/ODText/Style/AbstractStyle.php
  class AbstractStyle (line 28) | abstract class AbstractStyle extends Word2007AbstractStyle

FILE: src/PhpWord/Writer/ODText/Style/Font.php
  class Font (line 26) | class Font extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Style/Image.php
  class Image (line 26) | class Image extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Style/Numbering.php
  class Numbering (line 27) | class Numbering extends AbstractStyle
    method write (line 32) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Style/Paragraph.php
  class Paragraph (line 31) | class Paragraph extends AbstractStyle
    method write (line 46) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Style/Section.php
  class Section (line 26) | class Section extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/ODText/Style/Table.php
  class Table (line 26) | class Table extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/PDF.php
  class PDF (line 31) | class PDF
    method __construct (line 43) | public function __construct(PhpWord $phpWord)
    method __call (line 69) | public function __call($name, $arguments)
    method save (line 79) | public function save(string $filename): void
    method getRenderer (line 84) | public function getRenderer(): AbstractRenderer

FILE: src/PhpWord/Writer/PDF/AbstractRenderer.php
  class AbstractRenderer (line 31) | abstract class AbstractRenderer extends HTML
    method __construct (line 82) | public function __construct(PhpWord $phpWord)
    method getFont (line 111) | public function getFont()
    method setFont (line 127) | public function setFont($fontName)
    method getPaperSize (line 139) | public function getPaperSize()
    method setPaperSize (line 151) | public function setPaperSize($value = 9)
    method getOrientation (line 163) | public function getOrientation()
    method setOrientation (line 175) | public function setOrientation($value = 'default')
    method prepareForSave (line 189) | protected function prepareForSave($filename = null)
    method restoreStateAfterSave (line 207) | protected function restoreStateAfterSave($fileHandle): void

FILE: src/PhpWord/Writer/PDF/DomPDF.php
  class DomPDF (line 31) | class DomPDF extends AbstractRenderer implements WriterInterface
    method createExternalWriterInstance (line 45) | protected function createExternalWriterInstance()
    method save (line 58) | public function save(string $filename): void

FILE: src/PhpWord/Writer/PDF/MPDF.php
  class MPDF (line 31) | class MPDF extends AbstractRenderer implements WriterInterface
    method __construct (line 41) | public function __construct(PhpWord $phpWord)
    method createExternalWriterInstance (line 55) | protected function createExternalWriterInstance()
    method save (line 70) | public function save(string $filename): void
    method getMPdfClassName (line 124) | private function getMPdfClassName()

FILE: src/PhpWord/Writer/PDF/TCPDF.php
  class TCPDF (line 34) | class TCPDF extends AbstractRenderer implements WriterInterface
    method createExternalWriterInstance (line 52) | protected function createExternalWriterInstance($orientation, $unit, $...
    method prepareToWrite (line 71) | protected function prepareToWrite(TCPDFBase $pdf): void
    method save (line 94) | public function save(string $filename): void

FILE: src/PhpWord/Writer/RTF.php
  class RTF (line 28) | class RTF extends AbstractWriter implements WriterInterface
    method __construct (line 40) | public function __construct(?PhpWord $phpWord = null)
    method save (line 59) | public function save(string $filename): void
    method getContent (line 71) | private function getContent()
    method getFontTable (line 89) | public function getFontTable()
    method getColorTable (line 99) | public function getColorTable()
    method getLastParagraphStyle (line 109) | public function getLastParagraphStyle()
    method setLastParagraphStyle (line 119) | public function setLastParagraphStyle($value = ''): void

FILE: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  class AbstractElement (line 37) | abstract class AbstractElement
    method write (line 65) | abstract public function write();
    method __construct (line 86) | public function __construct(WriterRTF $parentWriter, Element $element,...
    method getStyles (line 97) | protected function getStyles(): void
    method writeOpening (line 139) | protected function writeOpening()
    method writeText (line 158) | protected function writeText($text)
    method writeClosing (line 172) | protected function writeClosing()
    method writeFontStyle (line 186) | protected function writeFontStyle()

FILE: src/PhpWord/Writer/RTF/Element/Container.php
  class Container (line 28) | class Container extends AbstractElement
    method write (line 42) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/Field.php
  class Field (line 28) | class Field extends Text
    method write (line 33) | public function write()
    method writePage (line 62) | protected function writePage()
    method writeNumpages (line 67) | protected function writeNumpages()
    method writeFilename (line 72) | protected function writeFilename(ElementField $element): string
    method writeDate (line 83) | protected function writeDate(ElementField $element)

FILE: src/PhpWord/Writer/RTF/Element/Image.php
  class Image (line 29) | class Image extends AbstractElement
    method write (line 36) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/Link.php
  class Link (line 26) | class Link extends AbstractElement
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/ListItem.php
  class ListItem (line 26) | class ListItem extends Text

FILE: src/PhpWord/Writer/RTF/Element/PageBreak.php
  class PageBreak (line 26) | class PageBreak extends AbstractElement
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/Ruby.php
  class Ruby (line 25) | class Ruby extends AbstractElement
    method write (line 32) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/Table.php
  class Table (line 35) | class Table extends AbstractElement
    method write (line 47) | public function write()
    method writeRowDef (line 86) | private function writeRowDef(RowElement $row)
    method writeRow (line 118) | private function writeRow(RowElement $row)
    method writeCell (line 135) | private function writeCell(CellElement $cell)
    method writeCellStyle (line 148) | private function writeCellStyle(CellStyle $cell, ?TableStyle $table): ...
    method writeCellBorder (line 178) | private function writeCellBorder(string $prefix, ?string $borderStyle,...
    method getVMerge (line 254) | private function getVMerge($value)

FILE: src/PhpWord/Writer/RTF/Element/Text.php
  class Text (line 26) | class Text extends AbstractElement
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/TextBreak.php
  class TextBreak (line 26) | class TextBreak extends AbstractElement
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/TextRun.php
  class TextRun (line 26) | class TextRun extends AbstractElement
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/RTF/Element/Title.php
  class Title (line 26) | class Title extends Text
    method getStyles (line 28) | protected function getStyles(): void
    method write (line 57) | public function write()

FILE: src/PhpWord/Writer/RTF/Part/AbstractPart.php
  class AbstractPart (line 28) | abstract class AbstractPart
    method __construct (line 40) | public function __construct()
    method write (line 48) | abstract public function write();
    method setParentWriter (line 53) | public function setParentWriter(?AbstractWriter $writer = null): void
    method getParentWriter (line 61) | public function getParentWriter()

FILE: src/PhpWord/Writer/RTF/Part/Document.php
  class Document (line 32) | class Document extends AbstractPart
    method write (line 39) | public function write()
    method writeInfo (line 55) | private function writeInfo()
    method writeFormatting (line 99) | private function writeFormatting()
    method writeTitlepg (line 131) | private static function writeTitlepg($section)
    method writeSections (line 152) | private function writeSections()
    method getDateValue (line 227) | private function getDateValue($value)

FILE: src/PhpWord/Writer/RTF/Part/Header.php
  class Header (line 40) | class Header extends AbstractPart
    method getFontTable (line 61) | public function getFontTable()
    method getColorTable (line 71) | public function getColorTable()
    method write (line 81) | public function write()
    method writeCharset (line 102) | private function writeCharset()
    method writeDefaults (line 118) | private function writeDefaults()
    method writeFontTable (line 133) | private function writeFontTable()
    method writeColorTable (line 153) | private function writeColorTable()
    method writeGenerator (line 174) | private function writeGenerator()
    method registerFont (line 187) | private function registerFont(): void
    method registerBorderColor (line 217) | private function registerBorderColor($style): void
    method registerFontItems (line 232) | private function registerFontItems($style): void
    method registerTableItem (line 259) | private function registerTableItem(&$table, $value, $default = null): ...

FILE: src/PhpWord/Writer/RTF/Style/AbstractStyle.php
  class AbstractStyle (line 29) | abstract class AbstractStyle
    method write (line 50) | abstract public function write();
    method __construct (line 57) | public function __construct($style = null)
    method setParentWriter (line 67) | public function setParentWriter($writer): void
    method getParentWriter (line 77) | public function getParentWriter()
    method getStyle (line 87) | public function getStyle()
    method getValueIf (line 104) | protected function getValueIf($condition, $value)

FILE: src/PhpWord/Writer/RTF/Style/Border.php
  class Border (line 26) | class Border extends AbstractStyle
    method write (line 47) | public function write()
    method writeSide (line 80) | private function writeSide($side, $width, $color = '')
    method setSizes (line 110) | public function setSizes($value): void
    method setColors (line 120) | public function setColors($value): void

FILE: src/PhpWord/Writer/RTF/Style/Font.php
  class Font (line 28) | class Font extends AbstractStyle
    method write (line 45) | public function write()
    method setNameIndex (line 75) | public function setNameIndex($value = 0): void
    method setColorIndex (line 85) | public function setColorIndex($value = 0): void

FILE: src/PhpWord/Writer/RTF/Style/Indentation.php
  class Indentation (line 26) | class Indentation extends AbstractStyle
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/RTF/Style/Paragraph.php
  class Paragraph (line 28) | class Paragraph extends AbstractStyle
    method write (line 48) | public function write()
    method writeIndentation (line 114) | private function writeIndentation($indent = null)
    method writeTabs (line 132) | private function writeTabs($tabs = null)
    method setNestedLevel (line 150) | public function setNestedLevel($value): void

FILE: src/PhpWord/Writer/RTF/Style/Section.php
  class Section (line 28) | class Section extends AbstractStyle
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/RTF/Style/Tab.php
  class Tab (line 26) | class Tab extends AbstractStyle
    method write (line 31) | public function write()

FILE: src/PhpWord/Writer/Word2007.php
  class Word2007 (line 29) | class Word2007 extends AbstractWriter implements WriterInterface
    method __construct (line 48) | public function __construct(?PhpWord $phpWord = null)
    method save (line 94) | public function save(string $filename): void
    method getContentTypes (line 150) | public function getContentTypes()
    method getRelationships (line 160) | public function getRelationships()
    method addHeaderFooterMedia (line 170) | private function addHeaderFooterMedia(ZipArchive $zip, $docPart): void
    method addHeaderFooterContent (line 195) | private function addHeaderFooterContent(Section &$section, ZipArchive ...
    method addNotes (line 220) | private function addNotes(ZipArchive $zip, &$rId, $noteType = 'footnot...
    method addComments (line 254) | private function addComments(ZipArchive $zip, &$rId): void
    method addChart (line 275) | private function addChart(ZipArchive $zip, &$rId): void
    method registerContentTypes (line 308) | private function registerContentTypes($media): void

FILE: src/PhpWord/Writer/Word2007/Element/AbstractElement.php
  class AbstractElement (line 32) | abstract class AbstractElement
    method write (line 63) | abstract public function write();
    method __construct (line 68) | public function __construct(XMLWriter $xmlWriter, Element $element, bo...
    method getXmlWriter (line 80) | protected function getXmlWriter()
    method getElement (line 90) | protected function getElement()
    method startElementP (line 100) | protected function startElementP(): void
    method endElementP (line 115) | protected function endElementP(): void
    method writeCommentRangeStart (line 126) | protected function writeCommentRangeStart(): void
    method writeCommentRangeEnd (line 138) | protected function writeCommentRangeEnd(): void
    method writeParagraphStyle (line 163) | protected function writeParagraphStyle(): void
    method writeFontStyle (line 171) | protected function writeFontStyle(): void
    method writeTextStyle (line 181) | private function writeTextStyle($styleType): void
    method getText (line 203) | protected function getText($text)
    method writeText (line 215) | protected function writeText($content)
    method setPart (line 224) | public function setPart(?AbstractPart $part): self
    method getPart (line 231) | public function getPart(): ?AbstractPart

FILE: src/PhpWord/Writer/Word2007/Element/Bookmark.php
  class Bookmark (line 26) | class Bookmark extends AbstractElement
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/Chart.php
  class Chart (line 28) | class Chart extends AbstractElement
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/CheckBox.php
  class CheckBox (line 26) | class CheckBox extends Text
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/Container.php
  class Container (line 31) | class Container extends AbstractElement
    method write (line 48) | public function write(): void
    method writeElement (line 80) | private function writeElement(XMLWriter $xmlWriter, Element $element, ...

FILE: src/PhpWord/Writer/Word2007/Element/Endnote.php
  class Endnote (line 26) | class Endnote extends Footnote

FILE: src/PhpWord/Writer/Word2007/Element/Field.php
  class Field (line 29) | class Field extends Text
    method write (line 34) | public function write(): void
    method writeDefault (line 49) | private function writeDefault(ElementField $element): void
    method writeMacrobutton (line 127) | protected function writeMacrobutton(ElementField $element): void
    method buildPropertiesAndOptions (line 166) | private function buildPropertiesAndOptions(ElementField $element)
    method writeRef (line 237) | protected function writeRef(ElementField $element): void
    method convertRefOption (line 308) | private function convertRefOption(string $optionKey, string $optionVal...

FILE: src/PhpWord/Writer/Word2007/Element/Footnote.php
  class Footnote (line 26) | class Footnote extends Text
    method write (line 38) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/FormField.php
  class FormField (line 34) | class FormField extends Text
    method write (line 42) | public function write(): void
    method writeTextInput (line 111) | private function writeTextInput(XMLWriter $xmlWriter, FormFieldElement...
    method writeCheckBox (line 125) | private function writeCheckBox(XMLWriter $xmlWriter, FormFieldElement ...
    method writeDropDown (line 146) | private function writeDropDown(XMLWriter $xmlWriter, FormFieldElement ...

FILE: src/PhpWord/Writer/Word2007/Element/Formula.php
  class Formula (line 27) | class Formula extends AbstractElement
    method write (line 32) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/Image.php
  class Image (line 33) | class Image extends AbstractElement
    method write (line 38) | public function write(): void
    method writeImage (line 56) | private function writeImage(XMLWriter $xmlWriter, ImageElement $elemen...
    method writeWatermark (line 101) | private function writeWatermark(XMLWriter $xmlWriter, ImageElement $el...

FILE: src/PhpWord/Writer/Word2007/Element/Line.php
  class Line (line 27) | class Line extends AbstractElement
    method write (line 32) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/Link.php
  class Link (line 26) | class Link extends Text
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/ListItem.php
  class ListItem (line 28) | class ListItem extends AbstractElement
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/ListItemRun.php
  class ListItemRun (line 29) | class ListItemRun extends AbstractElement
    method write (line 34) | public function write(): void
    method writeParagraph (line 45) | private function writeParagraph(ListItemRunElement $element): void
    method writeParagraphProperties (line 58) | private function writeParagraphProperties(ListItemRunElement $element)...
    method writeParagraphPropertiesNumbering (line 73) | private function writeParagraphPropertiesNumbering(ListItemRunElement ...

FILE: src/PhpWord/Writer/Word2007/Element/OLEObject.php
  class OLEObject (line 28) | class OLEObject extends AbstractElement
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/PageBreak.php
  class PageBreak (line 26) | class PageBreak extends AbstractElement
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/ParagraphAlignment.php
  class ParagraphAlignment (line 24) | class ParagraphAlignment
    method __construct (line 37) | final public function __construct($value)
    method getName (line 47) | final public function getName()
    method getAttributes (line 57) | final public function getAttributes()

FILE: src/PhpWord/Writer/Word2007/Element/PreserveText.php
  class PreserveText (line 26) | class PreserveText extends Text
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/Ruby.php
  class Ruby (line 24) | class Ruby extends AbstractElement
    method write (line 29) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/SDT.php
  class SDT (line 32) | class SDT extends Text
    method write (line 37) | public function write(): void
    method writePlainText (line 83) | private function writePlainText(XMLWriter $xmlWriter): void
    method writeComboBox (line 94) | private function writeComboBox(XMLWriter $xmlWriter, SDTElement $eleme...
    method writeDropDownList (line 111) | private function writeDropDownList(XMLWriter $xmlWriter, SDTElement $e...
    method writeDate (line 121) | private function writeDate(XMLWriter $xmlWriter, SDTElement $element):...

FILE: src/PhpWord/Writer/Word2007/Element/Shape.php
  class Shape (line 33) | class Shape extends AbstractElement
    method write (line 38) | public function write(): void
    method writeArc (line 82) | private function writeArc(XMLWriter $xmlWriter, ShapeStyle $style): void
    method writeCurve (line 93) | private function writeCurve(XMLWriter $xmlWriter, ShapeStyle $style): ...
    method writeLine (line 105) | private function writeLine(XMLWriter $xmlWriter, ShapeStyle $style): void
    method writePolyline (line 116) | private function writePolyline(XMLWriter $xmlWriter, ShapeStyle $style...
    method writeRoundRect (line 124) | private function writeRoundRect(XMLWriter $xmlWriter, ShapeStyle $styl...
    method getPoints (line 137) | private function getPoints($type, $value)

FILE: src/PhpWord/Writer/Word2007/Element/TOC.php
  class TOC (line 34) | class TOC extends AbstractElement
    method write (line 39) | public function write(): void
    method writeTitle (line 69) | private function writeTitle(XMLWriter $xmlWriter, TOCElement $element,...
    method writeStyle (line 149) | private function writeStyle(XMLWriter $xmlWriter, TOCElement $element,...
    method writeFieldMark (line 191) | private function writeFieldMark(XMLWriter $xmlWriter, TOCElement $elem...

FILE: src/PhpWord/Writer/Word2007/Element/Table.php
  class Table (line 36) | class Table extends AbstractElement
    method write (line 41) | public function write(): void
    method writeColumns (line 75) | private function writeColumns(XMLWriter $xmlWriter, TableElement $elem...
    method writeRow (line 94) | private function writeRow(XMLWriter $xmlWriter, RowElement $row): void
    method writeCell (line 123) | private function writeCell(XMLWriter $xmlWriter, CellElement $cell): void

FILE: src/PhpWord/Writer/Word2007/Element/TableAlignment.php
  class TableAlignment (line 24) | class TableAlignment
    method __construct (line 37) | final public function __construct($value)
    method getName (line 47) | final public function getName()
    method getAttributes (line 57) | final public function getAttributes()

FILE: src/PhpWord/Writer/Word2007/Element/Text.php
  class Text (line 28) | class Text extends AbstractElement
    method write (line 33) | public function write(): void
    method writeOpeningTrackChange (line 70) | protected function writeOpeningTrackChange(): void
    method writeClosingTrackChange (line 94) | protected function writeClosingTrackChange(): void

FILE: src/PhpWord/Writer/Word2007/Element/TextBox.php
  class TextBox (line 26) | class TextBox extends Image
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/TextBreak.php
  class TextBreak (line 26) | class TextBreak extends Text
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/TextRun.php
  class TextRun (line 26) | class TextRun extends Text
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Element/Title.php
  class Title (line 26) | class Title extends AbstractElement
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Part/AbstractPart.php
  class AbstractPart (line 29) | abstract class AbstractPart
    method write (line 48) | abstract public function write();
    method setParentWriter (line 53) | public function setParentWriter(?AbstractWriter $writer = null): void
    method getParentWriter (line 63) | public function getParentWriter()
    method getXmlWriter (line 77) | protected function getXmlWriter()
    method writeText (line 99) | protected function writeText($content)

FILE: src/PhpWord/Writer/Word2007/Part/Chart.php
  class Chart (line 30) | class Chart extends AbstractPart
    method setElement (line 69) | public function setElement(ChartElement $element): void
    method write (line 79) | public function write()
    method writeChart (line 102) | private function writeChart(XMLWriter $xmlWriter): void
    method writePlotArea (line 123) | private function writePlotArea(XMLWriter $xmlWriter): void
    method writeSeries (line 215) | private function writeSeries(XMLWriter $xmlWriter, $scatter = false): ...
    method writeSeriesItem (line 299) | private function writeSeriesItem(XMLWriter $xmlWriter, $type, $values)...
    method writeAxis (line 339) | private function writeAxis(XMLWriter $xmlWriter, $type): void
    method writeShape (line 404) | private function writeShape(XMLWriter $xmlWriter, $line = false): void
    method writeAxisTitle (line 417) | private function writeAxisTitle(XMLWriter $xmlWriter, $title): void

FILE: src/PhpWord/Writer/Word2007/Part/Comments.php
  class Comments (line 28) | class Comments extends AbstractPart
    method write (line 42) | public function write()
    method writeComment (line 74) | protected function writeComment(XMLWriter $xmlWriter, Comment $comment...
    method setElements (line 97) | public function setElements($elements)

FILE: src/PhpWord/Writer/Word2007/Part/ContentTypes.php
  class ContentTypes (line 26) | class ContentTypes extends AbstractPart
    method write (line 33) | public function write()
    method writeContentType (line 88) | private function writeContentType(XMLWriter $xmlWriter, $parts, $isDef...

FILE: src/PhpWord/Writer/Word2007/Part/DocPropsApp.php
  class DocPropsApp (line 26) | class DocPropsApp extends AbstractPart
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/Word2007/Part/DocPropsCore.php
  class DocPropsCore (line 26) | class DocPropsCore extends AbstractPart
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/Word2007/Part/DocPropsCustom.php
  class DocPropsCustom (line 28) | class DocPropsCustom extends AbstractPart
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/Word2007/Part/Document.php
  class Document (line 29) | class Document extends AbstractPart
    method write (line 36) | public function write()
    method writeSection (line 84) | private function writeSection(XMLWriter $xmlWriter, Section $section):...
    method writeSectionSettings (line 96) | private function writeSectionSettings(XMLWriter $xmlWriter, Section $s...

FILE: src/PhpWord/Writer/Word2007/Part/Endnotes.php
  class Endnotes (line 24) | class Endnotes extends Footnotes

FILE: src/PhpWord/Writer/Word2007/Part/FontTable.php
  class FontTable (line 28) | class FontTable extends AbstractPart
    method write (line 35) | public function write()

FILE: src/PhpWord/Writer/Word2007/Part/Footer.php
  class Footer (line 26) | class Footer extends AbstractPart
    method write (line 47) | public function write()
    method setElement (line 79) | public function setElement($element)

FILE: src/PhpWord/Writer/Word2007/Part/Footnotes.php
  class Footnotes (line 29) | class Footnotes extends AbstractPart
    method write (line 71) | public function write()
    method setElements (line 130) | public function setElements($elements)
    method writeNote (line 142) | protected function writeNote(XMLWriter $xmlWriter, $element): void

FILE: src/PhpWord/Writer/Word2007/Part/Header.php
  class Header (line 24) | class Header extends Footer

FILE: src/PhpWord/Writer/Word2007/Part/Numbering.php
  class Numbering (line 31) | class Numbering extends AbstractPart
    method write (line 38) | public function write()
    method writeLevel (line 99) | private function writeLevel(XMLWriter $xmlWriter, NumberingLevel $leve...
    method writeParagraph (line 138) | private function writeParagraph(XMLWriter $xmlWriter, NumberingLevel $...
    method writeFont (line 168) | private function writeFont(XMLWriter $xmlWriter, NumberingLevel $level...
    method getRandomHexNumber (line 190) | private function getRandomHexNumber($length = 8)

FILE: src/PhpWord/Writer/Word2007/Part/Rels.php
  class Rels (line 29) | class Rels extends AbstractPart
    method write (line 36) | public function write()
    method writeRels (line 57) | protected function writeRels(XMLWriter $xmlWriter, $xmlRels = [], $med...
    method writeMediaRel (line 82) | private function writeMediaRel(XMLWriter $xmlWriter, $relId, $mediaRel...
    method writeRel (line 108) | private function writeRel(XMLWriter $xmlWriter, $relId, $type, $target...

FILE: src/PhpWord/Writer/Word2007/Part/RelsDocument.php
  class RelsDocument (line 26) | class RelsDocument extends Rels
    method write (line 33) | public function write()

FILE: src/PhpWord/Writer/Word2007/Part/RelsPart.php
  class RelsPart (line 26) | class RelsPart extends Rels
    method write (line 40) | public function write()
    method setMedia (line 55) | public function setMedia($media)

FILE: src/PhpWord/Writer/Word2007/Part/Settings.php
  class Settings (line 31) | class Settings extends AbstractPart
    method write (line 45) | public function write()
    method writeSetting (line 77) | protected function writeSetting($xmlWriter, $settingKey, $settingValue...
    method getSettings (line 101) | private function getSettings(): void
    method setOnOffValue (line 173) | private function setOnOffValue($settingName, $booleanValue): void
    method setDocumentProtection (line 188) | private function setDocumentProtection($documentProtection): void
    method setProofState (line 223) | private function setProofState(?ProofState $proofState = null): void
    method setRevisionView (line 238) | private function setRevisionView(?TrackChangesView $trackChangesView =...
    method setThemeFontLang (line 255) | private function setThemeFontLang(?Language $language = null): void
    method setZoom (line 272) | private function setZoom($zoom = null): void
    method setConsecutiveHyphenLimit (line 283) | private function setConsecutiveHyphenLimit($consecutiveHyphenLimit): void
    method setHyphenationZone (line 297) | private function setHyphenationZone($hyphenationZone): void
    method setCompatibility (line 311) | private function setCompatibility(): void

FILE: src/PhpWord/Writer/Word2007/Part/Styles.php
  class Styles (line 37) | class Styles extends AbstractPart
    method write (line 44) | public function write()
    method writeDefaultStyles (line 83) | private function writeDefaultStyles(XMLWriter $xmlWriter, $styles): void
    method writeFontStyle (line 172) | private function writeFontStyle(XMLWriter $xmlWriter, $styleName, Font...
    method writeParagraphStyle (line 238) | private function writeParagraphStyle(XMLWriter $xmlWriter, $styleName,...
    method writeTableStyle (line 268) | private function writeTableStyle(XMLWriter $xmlWriter, $styleName, Tab...

FILE: src/PhpWord/Writer/Word2007/Part/Theme.php
  class Theme (line 28) | class Theme extends AbstractPart
    method write (line 35) | public function write()
    method writeColorScheme (line 58) | private function writeColorScheme()
    method writeFontScheme (line 109) | private function writeFontScheme()
    method writeFormatScheme (line 195) | private function writeFormatScheme()
    method writeFormatFill (line 214) | private function writeFormatFill()
    method writeFormatLine (line 278) | private function writeFormatLine()
    method writeFormatEffect (line 314) | private function writeFormatEffect()
    method writeFormatBackground (line 367) | private function writeFormatBackground()

FILE: src/PhpWord/Writer/Word2007/Part/WebSettings.php
  class WebSettings (line 24) | class WebSettings extends Settings
    method write (line 31) | public function write()

FILE: src/PhpWord/Writer/Word2007/Style/AbstractStyle.php
  class AbstractStyle (line 29) | abstract class AbstractStyle
    method write (line 48) | abstract public function write();
    method __construct (line 55) | public function __construct(XMLWriter $xmlWriter, $style = null)
    method getXmlWriter (line 66) | protected function getXmlWriter()
    method getStyle (line 76) | protected function getStyle()
    method convertTwip (line 89) | protected function convertTwip($value, $default = 0)
    method writeChildStyle (line 113) | protected function writeChildStyle(XMLWriter $xmlWriter, $name, $value...
    method writeOnOf (line 131) | protected function writeOnOf($value = null)
    method assembleStyle (line 147) | protected function assembleStyle($styles = [])

FILE: src/PhpWord/Writer/Word2007/Style/Cell.php
  class Cell (line 28) | class Cell extends AbstractStyle
    method write (line 38) | public function write(): void
    method setWidth (line 136) | public function setWidth($value = null): void

FILE: src/PhpWord/Writer/Word2007/Style/Extrusion.php
  class Extrusion (line 26) | class Extrusion extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Fill.php
  class Fill (line 26) | class Fill extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Font.php
  class Font (line 26) | class Font extends AbstractStyle
    method write (line 38) | public function write(): void
    method writeStyle (line 61) | private function writeStyle(): void
    method setIsInline (line 173) | public function setIsInline($value): void

FILE: src/PhpWord/Writer/Word2007/Style/Frame.php
  class Frame (line 30) | class Frame extends AbstractStyle
    method write (line 37) | public function write(): void
    method writeAlignment (line 87) | public function writeAlignment(): void
    method writeWrap (line 114) | private function writeWrap(XMLWriter $xmlWriter, FrameStyle $style, $w...
    method getStyles (line 156) | private function getStyles(FrameStyle $style, $properties, $suffix = '')

FILE: src/PhpWord/Writer/Word2007/Style/Image.php
  class Image (line 26) | class Image extends Frame

FILE: src/PhpWord/Writer/Word2007/Style/Indentation.php
  class Indentation (line 26) | class Indentation extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Line.php
  class Line (line 26) | class Line extends Frame
    method writeStroke (line 33) | public function writeStroke(): void

FILE: src/PhpWord/Writer/Word2007/Style/LineNumbering.php
  class LineNumbering (line 26) | class LineNumbering extends AbstractStyle
    method write (line 32) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/MarginBorder.php
  class MarginBorder (line 28) | class MarginBorder extends AbstractStyle
    method write (line 61) | public function write(): void
    method writeSide (line 87) | private function writeSide(XMLWriter $xmlWriter, $side, $width, $color...
    method setSizes (line 116) | public function setSizes($value): void
    method setColors (line 126) | public function setColors($value): void
    method setStyles (line 136) | public function setStyles($value): void
    method setAttributes (line 146) | public function setAttributes($value): void

FILE: src/PhpWord/Writer/Word2007/Style/Outline.php
  class Outline (line 26) | class Outline extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Paragraph.php
  class Paragraph (line 31) | class Paragraph extends AbstractStyle
    method write (line 50) | public function write(): void
    method writeStyle (line 73) | private function writeStyle(): void
    method writeTabs (line 153) | private function writeTabs(XMLWriter $xmlWriter, $tabs): void
    method writeNumbering (line 170) | private function writeNumbering(XMLWriter $xmlWriter, $numbering): void
    method setWithoutPPR (line 198) | public function setWithoutPPR($value): void
    method setIsInline (line 208) | public function setIsInline($value): void

FILE: src/PhpWord/Writer/Word2007/Style/Row.php
  class Row (line 26) | class Row extends AbstractStyle
    method write (line 36) | public function write(): void
    method setHeight (line 63) | public function setHeight($value = null): void

FILE: src/PhpWord/Writer/Word2007/Style/Section.php
  class Section (line 28) | class Section extends AbstractStyle
    method write (line 33) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Shading.php
  class Shading (line 26) | class Shading extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Shadow.php
  class Shadow (line 26) | class Shadow extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Shape.php
  class Shape (line 26) | class Shape extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Spacing.php
  class Spacing (line 26) | class Spacing extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Tab.php
  class Tab (line 26) | class Tab extends AbstractStyle
    method write (line 31) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/Table.php
  class Table (line 31) | class Table extends AbstractStyle
    method write (line 41) | public function write(): void
    method writeStyle (line 63) | private function writeStyle(XMLWriter $xmlWriter, TableStyle $style): ...
    method writeLayout (line 109) | private function writeLayout(XMLWriter $xmlWriter, $layout): void
    method writeMargin (line 119) | private function writeMargin(XMLWriter $xmlWriter, TableStyle $style):...
    method writeBorder (line 135) | private function writeBorder(XMLWriter $xmlWriter, TableStyle $style):...
    method writeTblWidth (line 156) | private function writeTblWidth(XMLWriter $xmlWriter, $elementName, $un...
    method writeFirstRow (line 170) | private function writeFirstRow(XMLWriter $xmlWriter, TableStyle $style...
    method writeShading (line 186) | private function writeShading(XMLWriter $xmlWriter, TableStyle $style)...
    method setWidth (line 203) | public function setWidth($value = null): void
    method writeIndent (line 208) | private function writeIndent(XMLWriter $xmlWriter, TableStyle $style):...

FILE: src/PhpWord/Writer/Word2007/Style/TablePosition.php
  class TablePosition (line 24) | class TablePosition extends AbstractStyle
    method write (line 29) | public function write(): void

FILE: src/PhpWord/Writer/Word2007/Style/TextBox.php
  class TextBox (line 26) | class TextBox extends Frame
    method writeInnerMargin (line 31) | public function writeInnerMargin(): void
    method writeBorder (line 47) | public function writeBorder(): void

FILE: src/PhpWord/Writer/WriterInterface.php
  type WriterInterface (line 24) | interface WriterInterface
    method save (line 29) | public function save(string $filename): void;

FILE: src/PhpWord/Writer/WriterPartInterface.php
  type WriterPartInterface (line 5) | interface WriterPartInterface
    method setParentWriter (line 7) | public function setParentWriter(AbstractWriter $parentWriter): void;
    method write (line 9) | public function write(): string;

FILE: tests/PhpWordTests/AbstractTestReader.php
  class AbstractTestReader (line 27) | abstract class AbstractTestReader extends \PHPUnit\Framework\TestCase
    method getDocumentFromString (line 42) | protected function getDocumentFromString(array $partXmls = [])

FILE: tests/PhpWordTests/AbstractWebServerEmbedded.php
  class AbstractWebServerEmbedded (line 23) | abstract class AbstractWebServerEmbedded extends \PHPUnit\Framework\Test...
    method setUpBeforeClass (line 27) | public static function setUpBeforeClass(): void
    method tearDownAfterClass (line 38) | public static function tearDownAfterClass(): void
    method getBaseUrl (line 43) | protected static function getBaseUrl()
    method getRemoteImageUrl (line 48) | protected static function getRemoteImageUrl()
    method getRemoteImageUrlWithoutExtension (line 57) | protected static function getRemoteImageUrlWithoutExtension(): string
    method getRemoteGifImageUrl (line 66) | protected static function getRemoteGifImageUrl()
    method getRemoteBmpImageUrl (line 75) | protected static function getRemoteBmpImageUrl()

FILE: tests/PhpWordTests/AutoloaderTest.php
  class AutoloaderTest (line 27) | class AutoloaderTest extends TestCase
    method testRegister (line 29) | public function testRegister(): void
    method testAutoload (line 44) | public function testAutoload(): void

FILE: tests/PhpWordTests/Collection/CollectionTest.php
  class CollectionTest (line 29) | class CollectionTest extends \PHPUnit\Framework\TestCase
    method testCollection (line 34) | public function testCollection(): void
    method testCollectionSetItem (line 49) | public function testCollectionSetItem(): void

FILE: tests/PhpWordTests/ComplexType/FootnotePropertiesTest.php
  class FootnotePropertiesTest (line 32) | class FootnotePropertiesTest extends \PHPUnit\Framework\TestCase
    method testSetGetNormal (line 37) | public function testSetGetNormal(): void
    method testWrongPos (line 54) | public function testWrongPos(): void
    method testWrongNumFmt (line 64) | public function testWrongNumFmt(): void
    method testWrongNumRestart (line 74) | public function testWrongNumRestart(): void

FILE: tests/PhpWordTests/ComplexType/ProofStateTest.php
  class ProofStateTest (line 29) | class ProofStateTest extends \PHPUnit\Framework\TestCase
    method testGetSet (line 34) | public function testGetSet(): void
    method testWrongGrammar (line 47) | public function testWrongGrammar(): void
    method testWrongSpelling (line 57) | public function testWrongSpelling(): void

FILE: tests/PhpWordTests/ComplexType/RubyPropertiesTest.php
  class RubyPropertiesTest (line 29) | class RubyPropertiesTest extends \PHPUnit\Framework\TestCase
    method testConstruct (line 34) | public function testConstruct(): void
    method testAlignment (line 50) | public function testAlignment(): void
    method testValidAlignments (line 62) | public function testValidAlignments(): void
    method testInvalidAlignment (line 82) | public function testInvalidAlignment(): void
    method testFontFaceSize (line 92) | public function testFontFaceSize(): void
    method testFontPointsAboveBaseText (line 105) | public function testFontPointsAboveBaseText(): void
    method testFontSizeForBaseText (line 118) | public function testFontSizeForBaseText(): void
    method testLanguageId (line 131) | public function testLanguageId(): void

FILE: tests/PhpWordTests/Element/AbstractElementTest.php
  class AbstractElementTest (line 26) | class AbstractElementTest extends \PHPUnit\Framework\TestCase
    method testElementIndex (line 31) | public function testElementIndex(): void
    method testElementId (line 49) | public function testElementId(): void

FILE: tests/PhpWordTests/Element/BookmarkTest.php
  class BookmarkTest (line 28) | class BookmarkTest extends \PHPUnit\Framework\TestCase
    method testConstruct (line 33) | public function testConstruct(): void

FILE: tests/PhpWordTests/Element/CellTest.php
  class CellTest (line 30) | class CellTest extends AbstractWebServerEmbedded
    method testConstruct (line 35) | public function testConstruct(): void
    method testConstructWithStyleArray (line 45) | public function testConstructWithStyleArray(): void
    method testAddText (line 56) | public function testAddText(): void
    method testAddTextNotUTF8 (line 68) | public function testAddTextNotUTF8(): void
    method testAddLink (line 81) | public function testAddLink(): void
    method testAddTextBreak (line 93) | public function testAddTextBreak(): void
    method testAddListItem (line 104) | public function testAddListItem(): void
    method testAddListItemNotUTF8 (line 117) | public function testAddListItemNotUTF8(): void
    method testAddImageSection (line 130) | public function testAddImageSection(): void
    method testAddImageHeader (line 143) | public function testAddImageHeader(): void
    method testAddImageFooter (line 156) | public function testAddImageFooter(): void
    method testAddImageSectionByUrl (line 169) | public function testAddImageSectionByUrl(): void
    method testAddObjectXLS (line 181) | public function testAddObjectXLS(): void
    method testAddObjectException (line 194) | public function testAddObjectException(): void
    method testAddPreserveText (line 205) | public function testAddPreserveText(): void
    method testAddPreserveTextNotUTF8 (line 218) | public function testAddPreserveTextNotUTF8(): void
    method testAddPreserveTextException (line 232) | public function testAddPreserveTextException(): void
    method testCreateTextRun (line 243) | public function testCreateTextRun(): void
    method testAddCheckBox (line 255) | public function testAddCheckBox(): void
    method testGetElements (line 267) | public function testGetElements(): void

FILE: tests/PhpWordTests/Element/CheckBoxTest.php
  class CheckBoxTest (line 30) | class CheckBoxTest extends \PHPUnit\Framework\TestCase
    method testConstruct (line 35) | public function testConstruct(): void
    method testCheckBox (line 47) | public function testCheckBox(): void
    method testFont (line 58) | public function testFont(): void
    method testFontObject (line 70) | public function testFontObject(): void
    method testParagraph (line 80) | public function testParagraph(): void

FILE: tests/PhpWordTests/Element/CommentTest.php
  class CommentTest (line 32) | class CommentTest extends \PHPUnit\Framework\TestCase
    method testConstructDefault (line 37) | public function testConstructDefault(): void
    method testTwoCommentsOnSameText (line 58) | public function testTwoCommentsOnSameText(): void
    method testAddText (line 91) | public function testAddText(): void
    method testGetElements (line 104) | public function testGetElements(): void
    method testRelationId (line 114) | public function testRelationId(): void
    method testExceptionOnCommentStartOnComment (line 123) | public function testExceptionOnCommentStartOnComment(): void
    method testExceptionOnCommentEndOnComment (line 131) | public function testExceptionOnCommentEndOnComment(): void

FILE: tests/PhpWordTests/Element/FieldTest.php
  class FieldTest (line 30) | class FieldTest extends \PHPUnit\Framework\TestCase
    method testConstructWithType (line 35) | public function testConstructWithType(): void
    method testConstructWithTypeProperties (line 45) | public function testConstructWithTypeProperties(): void
    method testConstructWithTypePropertiesOptions (line 56) | public function testConstructWithTypePropertiesOptions(): void
    method testConstructWithTypePropertiesOptionsText (line 68) | public function testConstructWithTypePropertiesOptionsText(): void
    method testConstructWithTypePropertiesOptionsTextAsTextRun (line 81) | public function testConstructWithTypePropertiesOptionsTextAsTextRun():...
    method testConstructWithOptionValue (line 94) | public function testConstructWithOptionValue(): void
    method testSetTypeException (line 106) | public function testSetTypeException(): void
    method testSetPropertiesException (line 117) | public function testSetPropertiesException(): void
    method testSetOptionsException (line 128) | public function testSetOptionsException(): void
    method testSetTextException (line 139) | public function testSetTextException(): void

FILE: tests/PhpWordTests/Element/FooterTest.php
  class FooterTest (line 29) | class FooterTest extends AbstractWebServerEmbedded
    method testConstruct (line 34) | public function testConstruct(): void
    method testAddText (line 45) | public function testAddText(): void
    method testAddTextNotUTF8 (line 57) | public function testAddTextNotUTF8(): void
    method testAddTextBreak (line 70) | public function testAddTextBreak(): void
    method testCreateTextRun (line 82) | public function testCreateTextRun(): void
    method testAddTable (line 94) | public function testAddTable(): void
    method testAddImage (line 106) | public function testAddImage(): void
    method testAddImageByUrl (line 119) | public function testAddImageByUrl(): void
    method testAddPreserveText (line 131) | public function testAddPreserveText(): void
    method testAddPreserveTextNotUTF8 (line 143) | public function testAddPreserveTextNotUTF8(): void
    method testGetElements (line 156) | public function testGetElements(): void
    method testRelationID (line 166) | public function testRelationID(): void

FILE: tests/PhpWordTests/Element/FootnoteTest.php
  class FootnoteTest (line 28) | class FootnoteTest extends \PHPUnit\Framework\TestCase
    method testConstruct (line 33) | public function testConstruct(): void
    method testConstructString (line 44) | public function testConstructString(): void
    method testConstructArray (line 54) | public function testConstructArray(): void
    method testAddText (line 67) | public function testAddText(): void
    method testAddTextBreak (line 79) | public function testAddTextBreak(): void
    method testAddLink (line 90) | public function testAddLink(): void
    method testReferenceId (line 102) | public function testReferenceId(): void
    method testGetElements (line 114) | public function testGetElements(): void

FILE: tests/PhpWordTests/Element/FormulaTest.php
  class FormulaTest (line 31) | class FormulaTest extends AbstractWebServerEmbedded
    method testMath (line 37) | public function testMath(): void

FILE: tests/PhpWordTests/Element/HeaderTest.php
  class HeaderTest (line 30) | class HeaderTest extends AbstractWebServerEmbedded
    method testConstructDefault (line 35) | public function testConstructDefault(): void
    method testAddText (line 47) | public function testAddText(): void
    method testAddTextNotUTF8 (line 60) | public function testAddTextNotUTF8(): void
    method testAddTextBreak (line 73) | public function testAddTextBreak(): void
    method testAddTextBreakWithParams (line 83) | public function testAddTextBreakWithParams(): void
    method testCreateTextRun (line 94) | public function testCreateTextRun(): void
    method testAddTable (line 105) | public function testAddTable(): void
    method testAddImage (line 116) | public function testAddImage(): void
    method testAddImageByUrl (line 129) | public function testAddImageByUrl(): void
    method testAddPreserveText (line 141) | public function testAddPreserveText(): void
    method testAddPreserveTextNotUTF8 (line 153) | public function testAddPreserveTextNotUTF8(): void
    method testAddWatermark (line 166) | public function testAddWatermark(): void
    method testGetElements (line 179) | public function testGetElements(): void
    method testRelationId (line 189) | public function testRelationId(): void
    method testResetType (line 201) | public function testResetType(): void
    method testFirstPage (line 213) | public function testFirstPage(): void
    method testEvenPage (line 224) | public function testEvenPage(): void
    method testAddFootnoteException (line 235) | public function testAddFootnoteException(): void
    method testSetGetType (line 245) | public function testSetGetType(): void

FILE: tests/PhpWordTests/Element/ImageTest.php
  class ImageTest (line 28) | class ImageTest extends AbstractWebServerEmbedded
    method testConstruct (line 33) | public function testConstruct(): void
    method testConstructWithStyle (line 48) | public function testConstructWithStyle(): void
    method testImages (line 69) | public function testImages($source, $type, $extension, $createFunction...
    method providerImages (line 90) | public static function providerImages(): array
    method testStyle (line 104) | public function testStyle(): void
    method testInvalidImageLocal (line 117) | public function testInvalidImageLocal(): void
    method testInvalidImagePhp (line 126) | public function testInvalidImagePhp(): void
    method testUnsupportedImage (line 136) | public function testUnsupportedImage(): void
    method testRelationID (line 154) | public function testRelationID(): void
    method testArchivedImage (line 165) | public function testArchivedImage(): void
    method testImageAsStringFromFile (line 176) | public function testImageAsStringFromFile(): void
    method
Condensed preview — 692 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,213K chars).
[
  {
    "path": ".gitattributes",
    "chars": 403,
    "preview": "# build config\n/.scrutinizer.yml export-ignore\n/.github export-ignore\n/php_cs.dist export-ignore\n/phpmd.xml.dist export-"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/1_bug_report.yml",
    "chars": 2268,
    "preview": "name: 🐛 Bug Report\ndescription: Create a report to help improve PHPWord\nlabels: [ \"Bug Report\" ]\nbody:\n  - type: markdow"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/2_feature_request.yml",
    "chars": 1455,
    "preview": "name: 💡 Feature request\ndescription: Suggest an idea for this project\nlabels: [ \"Change Request\" ]\nbody:\n  - type: markd"
  },
  {
    "path": ".github/PULL_REQUEST_TEMPLATE.md",
    "chars": 522,
    "preview": "### Description\n\nPlease include a summary of the change and which issue is fixed. Please also include relevant motivatio"
  },
  {
    "path": ".github/dependabot.yml",
    "chars": 150,
    "preview": "version: 2\nupdates:\n- package-ecosystem: composer\n  directory: \"/\"\n  schedule:\n    interval: monthly\n    time: \"11:00\"\n "
  },
  {
    "path": ".github/support.yml",
    "chars": 570,
    "preview": "# Label used to mark issues as support requests\nsupportLabel: Question\n# Comment to post on issues marked as support req"
  },
  {
    "path": ".github/workflows/deploy.yml",
    "chars": 1671,
    "preview": "name: Deploy\n\non:\n  push:\n    branches: \n      - master\n  pull_request:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    "
  },
  {
    "path": ".github/workflows/php.yml",
    "chars": 3902,
    "preview": "name: PHPWord\non: [push, pull_request]\njobs:\n  php-cs-fixer:\n    name: PHP CS Fixer\n    runs-on: ubuntu-latest\n    steps"
  },
  {
    "path": ".github_changelog_generator",
    "chars": 96,
    "preview": "user=PHPOffice\nproject=PHPWord\n\nsince-tag=0.18.1\nfuture-release=0.18.2\n\nissues=false\npulls=true\n"
  },
  {
    "path": ".gitignore",
    "chars": 292,
    "preview": "/composer.lock\n\n\n.DS_Store\n._*\n.Spotlight-V100\n.Trashes\nThumbs.db\nDesktop.ini\n.idea\n_build\n/build\nphpunit.xml\ncomposer.p"
  },
  {
    "path": ".php-cs-fixer.dist.php",
    "chars": 11076,
    "preview": "<?php\n\n$finder = PhpCsFixer\\Finder::create()\n    ->notName('pclzip.lib.php')\n    ->notName('OLERead.php')\n    ->in('samp"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 3781,
    "preview": "# Contributing to PHPWord\n\nPHPWord is built by the crowd and for the crowd. Every contribution is welcome; either by [re"
  },
  {
    "path": "COPYING",
    "chars": 35147,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "COPYING.LESSER",
    "chars": 7651,
    "preview": "                   GNU LESSER GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007"
  },
  {
    "path": "LICENSE",
    "chars": 688,
    "preview": "PHPWord, a pure PHP library for reading and writing word processing documents.\n\nCopyright (c) 2010-2025 PHPWord.\n\nPHPWor"
  },
  {
    "path": "README.md",
    "chars": 8077,
    "preview": "# ![PHPWord](https://rawgit.com/PHPOffice/PHPWord/develop/docs/images/phpword.svg \"PHPWord\")\n\n[![Latest Stable Version]("
  },
  {
    "path": "composer.json",
    "chars": 5621,
    "preview": "{\n    \"name\": \"phpoffice/phpword\",\n    \"description\": \"PHPWord - A pure PHP library for reading and writing word process"
  },
  {
    "path": "docs/changes/0.x/0.10.0.md",
    "chars": 5978,
    "preview": "\n# 0.10.0 (4 May 2014)\n\nThis release marked heavy refactorings on internal code structure with the creation of some abst"
  },
  {
    "path": "docs/changes/0.x/0.10.1.md",
    "chars": 181,
    "preview": "\n\n# 0.10.1 (21 May 2014)\n\nThis is a bugfix release for `php-zip` requirement in Composer.\n\n- Change Composer requirement"
  },
  {
    "path": "docs/changes/0.x/0.11.0.md",
    "chars": 4658,
    "preview": "# 0.11.0 (1 June 2014)\n\nThis release marked the change of PHPWord license from LGPL 2.1 to LGPL 3. Four new elements wer"
  },
  {
    "path": "docs/changes/0.x/0.11.1.md",
    "chars": 159,
    "preview": "# 0.11.1 (2 June 2014)\n\nThis is an immediate bugfix release for HTML reader.\n\n- HTML Reader: `<p>` and header tags puts "
  },
  {
    "path": "docs/changes/0.x/0.12.0.md",
    "chars": 4065,
    "preview": "# 0.12.0 (3 January 2015)\n\nThis release added form fields (textinput, checkbox, and dropdown), drawing shapes (arc, curv"
  },
  {
    "path": "docs/changes/0.x/0.12.1.md",
    "chars": 658,
    "preview": "# 0.12.1 (30 August 2015)\n\nMaintenance release. This release is focused primarily on `TemplateProcessor`.\n\n### Changes\n-"
  },
  {
    "path": "docs/changes/0.x/0.13.0.md",
    "chars": 3838,
    "preview": "# 0.13.0 (31 July 2016)\n\nThis release brings several improvements in `TemplateProcessor`, automatic output escaping feat"
  },
  {
    "path": "docs/changes/0.x/0.14.0.md",
    "chars": 5597,
    "preview": "# 0.14.0 (29 Dec 2017)\n\nThis release fixes several bugs and adds some new features.\nThis version brings compatibility wi"
  },
  {
    "path": "docs/changes/0.x/0.15.0.md",
    "chars": 6065,
    "preview": "# 0.15.0 (14 Jul 2018)\n\n### Added\n- Parsing of `align` HTML attribute -by [@troosan](https://github.com/troosan) in [#12"
  },
  {
    "path": "docs/changes/0.x/0.16.0.md",
    "chars": 3240,
    "preview": "# 0.16.0 (30 dec 2018)\n\n### Added\n- Add getVariableCount method in TemplateProcessor.by [@nicoder](https://github.com/ni"
  },
  {
    "path": "docs/changes/0.x/0.17.0.md",
    "chars": 2065,
    "preview": "# 0.17.0 (01 oct 2019)\n\n### Added\n- Add methods setValuesFromArray and cloneRowFromArray to the TemplateProcessor [@gera"
  },
  {
    "path": "docs/changes/0.x/0.18.0.md",
    "chars": 5737,
    "preview": "# [0.18.0](https://github.com/PHPOffice/PHPWord/tree/0.18.0) (2021-02-12)\n\n[Full Changelog](https://github.com/PHPOffice"
  },
  {
    "path": "docs/changes/0.x/0.18.1.md",
    "chars": 370,
    "preview": "# [0.18.1](https://github.com/PHPOffice/PHPWord/tree/0.18.1) (2021-03-08)\n\n[Full Changelog](https://github.com/PHPOffice"
  },
  {
    "path": "docs/changes/0.x/0.18.2.md",
    "chars": 1323,
    "preview": "# [0.18.2](https://github.com/PHPOffice/PHPWord/tree/0.18.2) (2021-06-04)\n\n[Full Changelog](https://github.com/PHPOffice"
  },
  {
    "path": "docs/changes/0.x/0.18.3.md",
    "chars": 193,
    "preview": "# [0.18.3](https://github.com/PHPOffice/PHPWord/tree/0.18.3) (2022-02-17)\n\n[Full Changelog](https://github.com/PHPOffice"
  },
  {
    "path": "docs/changes/0.x/0.7.0.md",
    "chars": 1611,
    "preview": "# 0.7.0 (28 Jan 2014)\n\nThis is the first release after a long development hiatus in [CodePlex](https://phpword.codeplex."
  },
  {
    "path": "docs/changes/0.x/0.8.0.md",
    "chars": 3028,
    "preview": "# 0.8.0 (15 Mar 2014)\n\nThis release merged a lot of improvements from the community. Unit tests introduced in this relea"
  },
  {
    "path": "docs/changes/0.x/0.8.1.md",
    "chars": 177,
    "preview": "\n# 0.8.1 (17 Mar 2014)\n\nThis is a bugfix release for image detection functionality.\n\n- Added fallback for computers that"
  },
  {
    "path": "docs/changes/0.x/0.9.0.md",
    "chars": 1202,
    "preview": "# 0.9.0 (26 Mar 2014)\n\nThis release marked the transformation to namespaces (PHP 5.3+).\n\n### Features\n- Image: Ability t"
  },
  {
    "path": "docs/changes/0.x/0.9.1.md",
    "chars": 126,
    "preview": "\n# 0.9.1 (27 Mar 2014)\n\nThis is a bugfix release for PSR-4 compatibility.\n\n- Fixed PSR-4 composer autoloader - @AntonTyu"
  },
  {
    "path": "docs/changes/1.x/1.0.0.md",
    "chars": 4913,
    "preview": "# [1.0.0](https://github.com/PHPOffice/PHPWord/tree/1.0.0) (2022-11-15)\n\n[Full Changelog](https://github.com/PHPOffice/P"
  },
  {
    "path": "docs/changes/1.x/1.1.0.md",
    "chars": 747,
    "preview": "# [1.1.0](https://github.com/PHPOffice/PHPWord/tree/1.1.0) (2023-05-30)\n\n[Full Changelog](https://github.com/PHPOffice/P"
  },
  {
    "path": "docs/changes/1.x/1.2.0.md",
    "chars": 6832,
    "preview": "# [1.2.0](https://github.com/PHPOffice/PHPWord/tree/1.2.0)\n\n[Full Changelog](https://github.com/PHPOffice/PHPWord/compar"
  },
  {
    "path": "docs/changes/1.x/1.3.0.md",
    "chars": 7887,
    "preview": "# [1.3.0](https://github.com/PHPOffice/PHPWord/tree/1.3.0)\n\n[Full Changelog](https://github.com/PHPOffice/PHPWord/compar"
  },
  {
    "path": "docs/changes/1.x/1.4.0.md",
    "chars": 7220,
    "preview": "# [1.4.0](https://github.com/PHPOffice/PHPWord/tree/1.4.0)\n\n[Full Changelog](https://github.com/PHPOffice/PHPWord/compar"
  },
  {
    "path": "docs/changes/1.x/1.5.0.md",
    "chars": 687,
    "preview": "# [1.5.0](https://github.com/PHPOffice/PHPWord/tree/1.5.0) (WIP)\n\n[Full Changelog](https://github.com/PHPOffice/PHPWord/"
  },
  {
    "path": "docs/credits.md",
    "chars": 1848,
    "preview": "# Credits\n\nImages from chart page come from the [LibreOffice Core](https://github.com/LibreOffice/core/tree/master/icon-"
  },
  {
    "path": "docs/faq.md",
    "chars": 89,
    "preview": "# Frequently asked questions\n\n## How contribute to PHPWord?\n- Improve the documentation\n\n"
  },
  {
    "path": "docs/howto.md",
    "chars": 2953,
    "preview": "# How to\n\n## Create float left image\n\nUse absolute positioning relative to margin horizontally and to line vertically.\n\n"
  },
  {
    "path": "docs/index.md",
    "chars": 9548,
    "preview": "#\n\n![PHPWord](images/phpword.svg)\n\nPHPWord is a library written in pure PHP that provides a set ofclasses to write to di"
  },
  {
    "path": "docs/install.md",
    "chars": 1663,
    "preview": "# Installation\n\n## Requirements\n\nMandatory:\n\n-  PHP 7.1+\n-  PHP [DOM extension](http://php.net/manual/en/book.dom.php)\n-"
  },
  {
    "path": "docs/usage/containers.md",
    "chars": 3598,
    "preview": "# Containers\n\nContainers are objects where you can put elements (texts, lists, tables, etc). There are 3 main containers"
  },
  {
    "path": "docs/usage/elements/chart.md",
    "chars": 340,
    "preview": "# Chart\n\nCharts can be added using\n\n``` php\n<?php\n\n$categories = array('A', 'B', 'C', 'D', 'E');\n$series = array(1, 3, 2"
  },
  {
    "path": "docs/usage/elements/checkbox.md",
    "chars": 408,
    "preview": "# Checkbox\n\nCheckbox elements can be added to sections or table cells by using ``addCheckBox``.\n\n``` php\n<?php\n\n$section"
  },
  {
    "path": "docs/usage/elements/comment.md",
    "chars": 825,
    "preview": "# Comment\n\nComments can be added to a document by using ``addComment``.\nThe comment can contain formatted text. Once the"
  },
  {
    "path": "docs/usage/elements/field.md",
    "chars": 1385,
    "preview": "# Field\n\nCurrently the following fields are supported:\n\n- PAGE\n- NUMPAGES\n- DATE\n- XE\n- INDEX\n- FILENAME\n- REF\n\n``` php\n"
  },
  {
    "path": "docs/usage/elements/formula.md",
    "chars": 337,
    "preview": "# Formula\n\nFormula can be added using\n\n``` php\n<?php\n\nuse PhpOffice\\Math\\Element;\nuse PhpOffice\\Math\\Math;\n\n$fraction = "
  },
  {
    "path": "docs/usage/elements/image.md",
    "chars": 1059,
    "preview": "# Image\n\nTo add an image, use the ``addImage`` method to sections, headers, footers, textruns, or table cells.\n\n``` php\n"
  },
  {
    "path": "docs/usage/elements/index.md",
    "chars": 3485,
    "preview": "# Elements\n\nBelow are the matrix of element availability in each container. The column shows the containers while the ro"
  },
  {
    "path": "docs/usage/elements/line.md",
    "chars": 694,
    "preview": "# Line\n\nLine elements can be added to sections by using ``addLine``.\n\n``` php\n<?php\n\n$lineStyle = array('weight' => 1, '"
  },
  {
    "path": "docs/usage/elements/link.md",
    "chars": 415,
    "preview": "# Link\n\nYou can add Hyperlinks to the document by using the function addLink:\n\n``` php\n<?php\n\n$section->addLink($linkSrc"
  },
  {
    "path": "docs/usage/elements/list.md",
    "chars": 1876,
    "preview": "# List\n\nLists can be added by using ``addListItem`` and ``addListItemRun`` methods. ``addListItem`` is used for creating"
  },
  {
    "path": "docs/usage/elements/note.md",
    "chars": 1939,
    "preview": "# Footnote & Endnote\n\nYou can create footnotes with ``addFootnote`` and endnotes with``addEndnote`` in texts or textruns"
  },
  {
    "path": "docs/usage/elements/oleobject.md",
    "chars": 202,
    "preview": "# Object\n\nYou can add OLE embeddings, such as Excel spreadsheets or PowerPoint presentations to the document by using ``"
  },
  {
    "path": "docs/usage/elements/pagebreak.md",
    "chars": 190,
    "preview": "# Page breaks\n\nThere are two ways to insert a page break, using the ``addPageBreak`` method or using the ``pageBreakBefo"
  },
  {
    "path": "docs/usage/elements/preservetext.md",
    "chars": 189,
    "preview": "# Preserve text\n\nThe ``addPreserveText`` method is used to add a page number or page count to headers or footers.\n\n``` p"
  },
  {
    "path": "docs/usage/elements/ruby.md",
    "chars": 1941,
    "preview": "# Ruby\n\nRuby (phonetic guide) text can be added by using the ``addRuby`` method. Ruby elements require a ``RubyPropertie"
  },
  {
    "path": "docs/usage/elements/table.md",
    "chars": 904,
    "preview": "# Table\n\nTo add tables, rows, and cells, use the ``addTable``, ``addRow``, and ``addCell`` methods:\n\n``` php\n<?php\n\n$tab"
  },
  {
    "path": "docs/usage/elements/text.md",
    "chars": 1102,
    "preview": "# Text\n\n\nText can be added by using ``addText`` and ``addTextRun`` methods. ``addText`` is used for creating simple para"
  },
  {
    "path": "docs/usage/elements/textbox.md",
    "chars": 30,
    "preview": "# TextBox\n\nTo Be Completed... "
  },
  {
    "path": "docs/usage/elements/textbreak.md",
    "chars": 385,
    "preview": "# Text breaks\n\nText breaks are empty new lines. To add text breaks, use the following syntax. All parameters are optiona"
  },
  {
    "path": "docs/usage/elements/title.md",
    "chars": 864,
    "preview": "# Title\n\nIf you want to structure your document or build table of contents, you need titles or headings.\nTo add a title "
  },
  {
    "path": "docs/usage/elements/toc.md",
    "chars": 791,
    "preview": "# Table of contents\n\nTo add a table of contents (TOC), you can use the ``addTOC`` method.\nYour TOC can only be generated"
  },
  {
    "path": "docs/usage/elements/trackchanges.md",
    "chars": 824,
    "preview": "# Track Changes\n\nTrack changes can be set on text elements. There are 2 ways to set the change information on an element"
  },
  {
    "path": "docs/usage/elements/watermark.md",
    "chars": 365,
    "preview": "# Watermark\n\nTo add a watermark (or page background image), your section needs a\nheader reference. After creating a head"
  },
  {
    "path": "docs/usage/introduction.md",
    "chars": 11595,
    "preview": "# Introduction\n\n## Basic example\n\nThe following is a basic example of the PHPWord library. More examples\nare provided in"
  },
  {
    "path": "docs/usage/readers.md",
    "chars": 759,
    "preview": "# Readers\n\n## HTML\nThe name of the reader is `HTML`.\n\n``` php\n<?php\n\n$reader = IOFactory::createReader('HTML');\n$reader-"
  },
  {
    "path": "docs/usage/styles/chart.md",
    "chars": 964,
    "preview": "# Chart\n\nAvailable Chart style options:\n\n- ``width``. Width (in EMU).\n- ``height``. Height (in EMU).\n- ``3d``. Is 3D; ap"
  },
  {
    "path": "docs/usage/styles/font.md",
    "chars": 1744,
    "preview": "# Font\n\nAvailable Font style options:\n\n- ``allCaps``. All caps, *true* or *false*.\n- ``bgColor``. Font background color,"
  },
  {
    "path": "docs/usage/styles/image.md",
    "chars": 603,
    "preview": "# Image\n\nAvailable Image style options:\n\n- ``alignment``. See ``\\PhpOffice\\PhpWord\\SimpleType\\Jc`` class for the details"
  },
  {
    "path": "docs/usage/styles/numberinglevel.md",
    "chars": 745,
    "preview": "# Numbering level\n\nAvailable NumberingLevel style options:\n\n- ``alignment``. Supports all alignment modes since 1st Edit"
  },
  {
    "path": "docs/usage/styles/paragraph.md",
    "chars": 1909,
    "preview": "# Paragraph\n\nAvailable Paragraph style options:\n\n- ``alignment``. Supports all alignment modes since 1st Edition of ECMA"
  },
  {
    "path": "docs/usage/styles/section.md",
    "chars": 1429,
    "preview": "# Section\n\nAvailable Section style options:\n\n- ``borderBottomColor``. Border bottom color.\n- ``borderBottomSize``. Borde"
  },
  {
    "path": "docs/usage/styles/table.md",
    "chars": 2891,
    "preview": "# Table\n\nAvailable Table style options:\n\n- ``alignment``. Supports all alignment modes since 1st Edition of ECMA-376 sta"
  },
  {
    "path": "docs/usage/template.md",
    "chars": 8637,
    "preview": "# Template processing\n\nYou can create an OOXML document template with included search-patterns (macros) which can be rep"
  },
  {
    "path": "docs/usage/writers.md",
    "chars": 3662,
    "preview": "# Writers\n\n## HTML\nThe name of the writer is `HTML`.\n\n``` php\n<?php\n\n$writer = IOFactory::createWriter($oPhpWord, 'HTML'"
  },
  {
    "path": "mkdocs.yml",
    "chars": 4038,
    "preview": "site_name: PHPWord\nsite_url: https://phpoffice.github.io/PHPWord\nrepo_url: https://github.com/PHPOffice/PHPWord\nrepo_nam"
  },
  {
    "path": "phpmd.xml.dist",
    "chars": 1440,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<ruleset name=\"PHPWord PHP Mess Detector Rule Set\"\n    xmlns=\"http://pmd.sf.net/"
  },
  {
    "path": "phpstan-baseline.neon",
    "chars": 76766,
    "preview": "parameters:\n\tignoreErrors:\n\t\t-\n\t\t\tmessage: \"#^Method PhpOffice\\\\\\\\PhpWord\\\\\\\\Element\\\\\\\\AbstractContainer\\\\:\\\\:__call\\\\("
  },
  {
    "path": "phpstan.neon.dist",
    "chars": 2148,
    "preview": "includes:\n    - phpstan-baseline.neon\n    - vendor/phpstan/phpstan-phpunit/extension.neon\n    - vendor/phpstan/phpstan-p"
  },
  {
    "path": "phpunit.xml.dist",
    "chars": 1012,
    "preview": "<?xml version=\"1.0\"?>\n<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" backupGlobals=\"false\" backupStaticA"
  },
  {
    "path": "phpword.ini.dist",
    "chars": 419,
    "preview": "; Default config file for PHPWord\n; Copy this file into phpword.ini and use Settings::loadConfig to load\n\n[General]\n\ncom"
  },
  {
    "path": "samples/Sample_01_SimpleText.php",
    "chars": 3084,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Style\\Font;\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s') , '"
  },
  {
    "path": "samples/Sample_02_TabStops.php",
    "chars": 1229,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_03_Sections.php",
    "chars": 1627,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\SimpleType\\VerticalJc;\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('"
  },
  {
    "path": "samples/Sample_04_Textrun.php",
    "chars": 1959,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_05_Multicolumn.php",
    "chars": 1401,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_06_Footnote.php",
    "chars": 2544,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\ComplexType\\FootnoteProperties;\nuse PhpOffice\\PhpWord\\SimpleType\\NumberFormat;\n\ninclude_onc"
  },
  {
    "path": "samples/Sample_07_TemplateCloneRow.php",
    "chars": 3318,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Template processor instance creation\necho date('H:i:s'), ' Creating new Tem"
  },
  {
    "path": "samples/Sample_08_ParagraphPagination.php",
    "chars": 2489,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_09_Tables.php",
    "chars": 5627,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Shared\\Converter;\nuse PhpOffice\\PhpWord\\Style\\TablePosition;\n\ninclude_once 'Sample_Header.p"
  },
  {
    "path": "samples/Sample_10_EastAsianFontStyle.php",
    "chars": 531,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_11_ReadWord2007.php",
    "chars": 387,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Read contents\n$name = basename(__FILE__, '.php');\n$source = __DIR__ . \"/res"
  },
  {
    "path": "samples/Sample_11_ReadWord97.php",
    "chars": 394,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Read contents\n$name = basename(__FILE__, '.php');\n$source = __DIR__ . \"/res"
  },
  {
    "path": "samples/Sample_12_HeaderFooter.php",
    "chars": 1893,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_13_Images.php",
    "chars": 4042,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Element\\Section;\nuse PhpOffice\\PhpWord\\PhpWord;\nuse PhpOffice\\PhpWord\\Shared\\Converter;\n\nin"
  },
  {
    "path": "samples/Sample_14_ListItem.php",
    "chars": 4382,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_15_Link.php",
    "chars": 849,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_16_Object.php",
    "chars": 507,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_17_TitleTOC.php",
    "chars": 2175,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_18_Watermark.php",
    "chars": 565,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_19_TextBreak.php",
    "chars": 1173,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_20_BGColor.php",
    "chars": 699,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_21_TableRowRules.php",
    "chars": 1938,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_22_CheckBox.php",
    "chars": 598,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_23_TemplateBlock.php",
    "chars": 807,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Template processor instance creation\necho date('H:i:s') , ' Creating new Te"
  },
  {
    "path": "samples/Sample_24_ReadODText.php",
    "chars": 396,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Read contents\n$name = basename(__FILE__, '.php');\n$source = __DIR__ . \"/res"
  },
  {
    "path": "samples/Sample_25_TextBox.php",
    "chars": 1573,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_26_Html.php",
    "chars": 4771,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s') , ' Create new PhpWord object' , EOL;\n"
  },
  {
    "path": "samples/Sample_27_Field.php",
    "chars": 2583,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Element\\TextRun;\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'"
  },
  {
    "path": "samples/Sample_28_ReadRTF.php",
    "chars": 393,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Read contents\n$name = basename(__FILE__, '.php');\n$source = __DIR__ . \"/res"
  },
  {
    "path": "samples/Sample_29_Line.php",
    "chars": 2062,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_30_ReadHTML.php",
    "chars": 405,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Read contents\n$name = basename(__FILE__, '.php');\n$source = realpath(__DIR_"
  },
  {
    "path": "samples/Sample_31_Shape.php",
    "chars": 2290,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_32_Chart.php",
    "chars": 2983,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\nuse PhpOffice\\PhpWord\\Shared\\Converter;\n\n// New Word document\necho date('H:i:s"
  },
  {
    "path": "samples/Sample_33_FormField.php",
    "chars": 1035,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_34_SDT.php",
    "chars": 1018,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_35_InternalLink.php",
    "chars": 643,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word document\necho date('H:i:s'), ' Create new PhpWord object', EOL;\n$p"
  },
  {
    "path": "samples/Sample_36_RTL.php",
    "chars": 1800,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\nuse PhpOffice\\PhpWord\\Settings;\n\n// New Word document\necho date('H:i:s'), ' Cr"
  },
  {
    "path": "samples/Sample_37_Comments.php",
    "chars": 2905,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:i:s') , ' Create new PhpWord object' , EOL;\n"
  },
  {
    "path": "samples/Sample_38_Protection.php",
    "chars": 607,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\SimpleType\\DocProtect;\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('"
  },
  {
    "path": "samples/Sample_39_TrackChanges.php",
    "chars": 844,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Element\\TrackChange;\n\ninclude_once 'Sample_Header.php';\n\n// New Word Document\necho date('H:"
  },
  {
    "path": "samples/Sample_40_TemplateSetComplexValue.php",
    "chars": 1916,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Element\\Field;\nuse PhpOffice\\PhpWord\\Element\\Table;\nuse PhpOffice\\PhpWord\\Element\\TextRun;\n"
  },
  {
    "path": "samples/Sample_41_TemplateSetChart.php",
    "chars": 1614,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Element\\Chart;\nuse PhpOffice\\PhpWord\\Shared\\Converter;\n\ninclude_once 'Sample_Header.php';\n\n"
  },
  {
    "path": "samples/Sample_42_TemplateSetCheckbox.php",
    "chars": 674,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\nuse PhpOffice\\PhpWord\\TemplateProcessor;\n\n// Template processor instance creat"
  },
  {
    "path": "samples/Sample_43_RTLDefault.php",
    "chars": 1188,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\nuse PhpOffice\\PhpWord\\PhpWord;\nuse PhpOffice\\PhpWord\\Settings;\nuse PhpOffice\\P"
  },
  {
    "path": "samples/Sample_44_ExtractVariablesFromReaderWord2007.php",
    "chars": 300,
    "preview": "<?php\n\ninclude_once 'Sample_Header.php';\n\n// Read contents\n$name = basename(__FILE__, '.php');\n\n$source = __DIR__ . \"/re"
  },
  {
    "path": "samples/Sample_45_Autoloader.php",
    "chars": 3117,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\Style\\Font;\n\ndefine('USE_AUTOLOADER', true);\n\ninclude_once 'Sample_Header.php';\n\n// New Wor"
  },
  {
    "path": "samples/Sample_46_RubyPhoneticGuide.php",
    "chars": 2391,
    "preview": "<?php\n\nuse PhpOffice\\PhpWord\\ComplexType\\RubyProperties;\nuse PhpOffice\\PhpWord\\Element\\TextRun;\n\ninclude_once 'Sample_He"
  },
  {
    "path": "samples/Sample_Footer.php",
    "chars": 163,
    "preview": "<?php\nif (CLI) {\n    return;\n}\n?>\n</div>\n<script src=\"bootstrap/js/jquery.min.js\"></script>\n<script src=\"bootstrap/js/bo"
  },
  {
    "path": "samples/Sample_Header.php",
    "chars": 5828,
    "preview": "<?php\n\n$vendorDirPath = realpath(__DIR__ . '/../vendor');\n\nif ((defined('USE_AUTOLOADER') && USE_AUTOLOADER == true)\n   "
  },
  {
    "path": "samples/bootstrap/css/phpword.css",
    "chars": 183,
    "preview": "body {\n    padding-top: 20px;\n    padding-bottom: 20px;\n    min-height: 1000px;\n}\n.navbar {\n    margin-bottom: 20px;\n}\n."
  },
  {
    "path": "samples/index.php",
    "chars": 1947,
    "preview": "<?php\ninclude_once 'Sample_Header.php';\n\nuse PhpOffice\\PhpWord\\Settings;\n\n$requirements = [\n    'php' => ['PHP 7.1', ver"
  },
  {
    "path": "samples/resources/Sample_28_ReadRTF.rtf",
    "chars": 970,
    "preview": "{\\rtf1\n\\ansi\\ansicpg1252\n\\deff0\n{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}{\\f1\\fnil\\fcharset0 Times New Roman;}}\n{\\colortbl;\\r"
  },
  {
    "path": "samples/resources/Sample_30_ReadHTML.html",
    "chars": 1001,
    "preview": "<html>\n<head>\n<meta charset=\"UTF-8\" />\n<title>PHPWord</title>\n</head>\n<body>\n<h1>Adding element via HTML</h1>\n<p>Some we"
  },
  {
    "path": "src/PhpWord/Autoloader.php",
    "chars": 1532,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/AbstractCollection.php",
    "chars": 1834,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/Bookmarks.php",
    "chars": 860,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/Charts.php",
    "chars": 848,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/Comments.php",
    "chars": 856,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/Endnotes.php",
    "chars": 856,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/Footnotes.php",
    "chars": 860,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Collection/Titles.php",
    "chars": 848,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/ComplexType/FootnoteProperties.php",
    "chars": 4245,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/ComplexType/ProofState.php",
    "chars": 2390,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/ComplexType/RubyProperties.php",
    "chars": 4485,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/ComplexType/TblWidth.php",
    "chars": 1506,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/ComplexType/TrackChangesView.php",
    "chars": 3684,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/AbstractContainer.php",
    "chars": 10973,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/AbstractElement.php",
    "chars": 13040,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Bookmark.php",
    "chars": 1326,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Cell.php",
    "chars": 1625,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Chart.php",
    "chars": 2788,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/CheckBox.php",
    "chars": 1633,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Comment.php",
    "chars": 2552,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Endnote.php",
    "chars": 1087,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Field.php",
    "chars": 8641,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Footer.php",
    "chars": 2548,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Footnote.php",
    "chars": 1555,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/FormField.php",
    "chars": 3590,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Formula.php",
    "chars": 1177,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Header.php",
    "chars": 1073,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Image.php",
    "chars": 15389,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Line.php",
    "chars": 1224,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Link.php",
    "chars": 2917,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/ListItem.php",
    "chars": 2523,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/ListItemRun.php",
    "chars": 2021,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/OLEObject.php",
    "chars": 3005,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/PageBreak.php",
    "chars": 839,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/PreserveText.php",
    "chars": 2342,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Row.php",
    "chars": 2099,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Ruby.php",
    "chars": 2461,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/SDT.php",
    "chars": 3379,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Section.php",
    "chars": 5045,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Shape.php",
    "chars": 1871,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/TOC.php",
    "chars": 3544,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Table.php",
    "chars": 3537,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Text.php",
    "chars": 3671,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/TextBox.php",
    "chars": 1359,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/TextBreak.php",
    "chars": 3241,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/TextRun.php",
    "chars": 2506,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/Title.php",
    "chars": 2726,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Element/TrackChange.php",
    "chars": 2317,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Escaper/AbstractEscaper.php",
    "chars": 1217,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Escaper/EscaperInterface.php",
    "chars": 861,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Escaper/RegExp.php",
    "chars": 979,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Escaper/Rtf.php",
    "chars": 3106,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Escaper/Xml.php",
    "chars": 900,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Exception/CopyFileException.php",
    "chars": 1329,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Exception/CreateTemporaryFileException.php",
    "chars": 1184,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Exception/Exception.php",
    "chars": 743,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Exception/InvalidImageException.php",
    "chars": 782,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  },
  {
    "path": "src/PhpWord/Exception/InvalidObjectException.php",
    "chars": 783,
    "preview": "<?php\n\n/**\n * This file is part of PHPWord - A pure PHP library for reading and writing\n * word processing documents.\n *"
  }
]

// ... and 492 more files (download for full content)

About this extraction

This page contains the full source code of the PHPOffice/PHPWord GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 692 files (2.9 MB), approximately 794.8k tokens, and a symbol index with 3450 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!