$phpWord
$phpWord : \PhpOffice\PhpWord\PhpWord
PhpWord object
Table of contents
$phpWord : \PhpOffice\PhpWord\PhpWord
PhpWord object
$docPart : string
Document part type: Section|Header|Footer|Footnote|Endnote
Used by textrun and cell container to determine where the element is located because it will affect the availability of other element, e.g. footnote will not be available when $docPart is header or footer.
$commentRangeStart : \PhpOffice\PhpWord\Element\Comment
The start position for the linked comment
$commentRangeEnd : \PhpOffice\PhpWord\Element\Comment
The end position for the linked comment
$parent : \PhpOffice\PhpWord\Element\AbstractElement
A reference to the parent
$trackChange : \PhpOffice\PhpWord\Element\TrackChange
changed element info
$TOCStyle : \PhpOffice\PhpWord\Style\TOC
TOC style
$fontStyle : \PhpOffice\PhpWord\Style\Font|string
Font style
getPhpWord() : \PhpOffice\PhpWord\PhpWord
Get PhpWord
setPhpWord(\PhpOffice\PhpWord\PhpWord $phpWord = null)
Set PhpWord as reference.
\PhpOffice\PhpWord\PhpWord | $phpWord |
getCommentRangeStart() : \PhpOffice\PhpWord\Element\Comment
Get comment start
setCommentRangeStart(\PhpOffice\PhpWord\Element\Comment $value)
Set comment start
\PhpOffice\PhpWord\Element\Comment | $value |
getCommentRangeEnd() : \PhpOffice\PhpWord\Element\Comment
Get comment end
setCommentRangeEnd(\PhpOffice\PhpWord\Element\Comment $value)
Set comment end
\PhpOffice\PhpWord\Element\Comment | $value |
setParentContainer(\PhpOffice\PhpWord\Element\AbstractElement $container)
Set parent container
Passed parameter should be a container, except for Table (contain Row) and Row (contain Cell)
\PhpOffice\PhpWord\Element\AbstractElement | $container |
setTrackChange(\PhpOffice\PhpWord\Element\TrackChange $trackChange)
Sets the trackChange information
\PhpOffice\PhpWord\Element\TrackChange | $trackChange |
getTrackChange() : \PhpOffice\PhpWord\Element\TrackChange
Gets the trackChange information
getStyleTOC() : \PhpOffice\PhpWord\Style\TOC
Get TOC Style
getStyleFont() : \PhpOffice\PhpWord\Style\Font|string
Get Font Style