Documentation

ContentXhtml extends AbstractPart
in package

Class for EPub3 content.xhtml part.

Table of Contents

Properties

$parentWriter  : AbstractWriter
Parent writer.
$phpWord  : PhpWord|null
PHPWord object.

Methods

__construct()  : mixed
Constructor.
getParentWriter()  : AbstractWriter
Get parent writer.
setParentWriter()  : void
Set parent writer.
write()  : string
Write part content.
getXmlWriter()  : XMLWriter
Get XML Writer.
writeTextElement()  : void
writeTextRun()  : void

Properties

Methods

__construct()

Constructor.

public __construct([PhpWord|null $phpWord = null ]) : mixed
Parameters
$phpWord : PhpWord|null = null

write()

Write part content.

public write() : string
Return values
string

getXmlWriter()

Get XML Writer.

protected getXmlWriter() : XMLWriter
Return values
XMLWriter

writeTextRun()

protected writeTextRun(TextRun $textRun, XMLWriter $xmlWriter) : void
Parameters
$textRun : TextRun
$xmlWriter : XMLWriter

        
On this page

Search results