DocPropsCustom extends AbstractPart
Word2007 custom document properties part writer: docProps/custom.xml
Tags
Table of Contents
- $dateFormat : string
- $parentWriter : AbstractWriter
- Parent writer
- getParentWriter() : AbstractWriter
- Get parent writer
- setParentWriter() : mixed
- Set parent writer.
- write() : string
- Write part
- getXmlWriter() : XMLWriter
- Get XML Writer
- 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'
$parentWriter
Parent writer
protected
AbstractWriter
$parentWriter
Methods
getParentWriter()
Get parent writer
public
getParentWriter() : AbstractWriter
Tags
Return values
AbstractWriter —setParentWriter()
Set parent writer.
public
setParentWriter([AbstractWriter $writer = null ]) : mixed
Parameters
- $writer : AbstractWriter = null
Return values
mixed —write()
Write part
public
write() : string
Return values
string —getXmlWriter()
Get XML Writer
protected
getXmlWriter() : XMLWriter
Return values
XMLWriter —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