\PhpOffice\PhpWord\Writer\ODText\PartMeta

ODText meta part writer: meta.xml

Summary

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

Properties

$dateFormat

$dateFormat : string

Type

string — Date format

Methods

write()

write() : string

Write part

Returns

string

writeCommonRootAttributes()

writeCommonRootAttributes(\PhpOffice\Common\XMLWriter  $xmlWriter) 

Write common root attributes.

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter

writeFontFaces()

writeFontFaces(\PhpOffice\Common\XMLWriter  $xmlWriter) 

Write font faces declaration.

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter

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

writeCustomProperty()

writeCustomProperty(\PhpOffice\Common\XMLWriter  $xmlWriter, string  $property, string  $value) 

Write individual property

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
string $property
string $value