Theme extends AbstractPart
Word2007 theme writer: word/theme/theme1.xml.
Tags
Table of Contents
- $dateFormat : string
- $parentWriter : AbstractWriter
- Parent writer.
- getParentWriter() : AbstractWriter
- Get parent writer.
- setParentWriter() : void
- 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().
- writeColorScheme() : string
- Write color scheme.
- writeFontScheme() : string
- Write font scheme.
- writeFormatBackground() : string
- Write background format scheme.
- writeFormatEffect() : string
- Write effect format scheme.
- writeFormatFill() : string
- Write fill format scheme.
- writeFormatLine() : string
- Write line format scheme.
- writeFormatScheme() : string
- Write format scheme.
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
Return values
AbstractWriter —setParentWriter()
Set parent writer.
public
setParentWriter([AbstractWriter $writer = null ]) : void
Parameters
- $writer : AbstractWriter = null
Return values
void —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
writeColorScheme()
Write color scheme.
private
writeColorScheme() : string
Return values
string —writeFontScheme()
Write font scheme.
private
writeFontScheme() : string
Return values
string —writeFormatBackground()
Write background format scheme.
private
writeFormatBackground() : string
Return values
string —writeFormatEffect()
Write effect format scheme.
private
writeFormatEffect() : string
Return values
string —writeFormatFill()
Write fill format scheme.
private
writeFormatFill() : string
Return values
string —writeFormatLine()
Write line format scheme.
private
writeFormatLine() : string
Return values
string —writeFormatScheme()
Write format scheme.
private
writeFormatScheme() : string