\PhpOffice\PhpWord\Writer\Word2007\PartFootnotes

Word2007 footnotes part writer: word/(footnotes|endnotes).xml

Summary

Methods
Properties
Constants
write()
setParentWriter()
getParentWriter()
setElements()
No public properties found
No constants found
getXmlWriter()
writeText()
writeNote()
$parentWriter
$dateFormat
$rootNode
$elementNode
$refNode
$refStyle
$elements
N/A
No private methods found
No private properties found
N/A

Properties

$dateFormat

$dateFormat : string

Type

string — Date format

$rootNode

$rootNode : string

Name of XML root element

Type

string

$elementNode

$elementNode : string

Name of XML node element

Type

string

$refNode

$refNode : string

Name of XML reference element

Type

string

$refStyle

$refStyle : string

Reference style name

Type

string

Methods

write()

write() : string

Write part

Returns

string

writeText()

writeText(string  $content) : boolean

Write an XML text, this will call text() or writeRaw() depending on the value of Settings::isOutputEscapingEnabled()

Parameters

string $content

The text string to write

Returns

boolean —

Returns true on success or false on failure