Documentation

Footnotes extends AbstractPart
in package

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

Table of Contents

Properties

$dateFormat  : string
$elementNode  : string
Name of XML node element.
$elements  : Endnotes|Footnotes
Footnotes/endnotes collection to be written.
$parentWriter  : AbstractWriter
Parent writer.
$refNode  : string
Name of XML reference element.
$refStyle  : string
Reference style name.
$rootNode  : string
Name of XML root element.

Methods

getParentWriter()  : AbstractWriter
Get parent writer.
setElements()  : self
Set element.
setParentWriter()  : void
Set parent writer.
write()  : string
Write part.
getXmlWriter()  : XMLWriter
Get XML Writer.
writeNote()  : void
Write note item.
writeText()  : bool
Write an XML text, this will call text() or writeRaw() depending on the value of Settings::isOutputEscapingEnabled().

Properties

$dateFormat

protected string $dateFormat = 'Y-m-d\TH:i:sP'

Date format

$elementNode

Name of XML node element.

protected string $elementNode = 'w:footnote'

$refNode

Name of XML reference element.

protected string $refNode = 'w:footnoteRef'

$refStyle

Reference style name.

protected string $refStyle = 'FootnoteReference'

$rootNode

Name of XML root element.

protected string $rootNode = 'w:footnotes'

Methods

write()

Write part.

public write() : string
Return values
string

writeText()

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

protected writeText(string $content) : bool
Parameters
$content : string

The text string to write

Return values
bool

Returns true on success or false on failure


        
On this page

Search results