\PhpOffice\PhpWord\Writer\Word2007\PartDocument

Word2007 document part writer: word/document.xml

Summary

Methods
Properties
Constants
write()
setParentWriter()
getParentWriter()
No public properties found
No constants found
getXmlWriter()
writeText()
$parentWriter
$dateFormat
N/A
writeSection()
writeSectionSettings()
No private properties found
N/A

Properties

$dateFormat

$dateFormat : string

Type

string — Date format

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