Documentation

AbstractElement
in package

AbstractYes

Abstract RTF element writer.

Tags
since
0.11.0

Table of Contents

Properties

$element  : AbstractElement
Element.
$escaper  : EscaperInterface
$fontStyle  : Font
Font style.
$paragraphStyle  : Paragraph
Paragraph style.
$parentWriter  : RTF
Parent writer.
$withoutP  : bool
Without paragraph.

Methods

__construct()  : mixed
write()  : string
Write element.
getStyles()  : void
Get font and paragraph styles.
writeClosing()  : string
Write closing.
writeFontStyle()  : string
Write font style.
writeOpening()  : string
Write opening.
writeText()  : string
Write text.

Properties

Methods

write()

Write element.

public abstract write() : string
Return values
string

getStyles()

Get font and paragraph styles.

protected getStyles() : void

writeClosing()

Write closing.

protected writeClosing() : string
Return values
string

writeFontStyle()

Write font style.

protected writeFontStyle() : string
Return values
string

writeOpening()

Write opening.

protected writeOpening() : string
Return values
string

writeText()

Write text.

protected writeText(string $text) : string
Parameters
$text : string
Return values
string

        
On this page

Search results