Head
extends AbstractPart
in package
RTF head part writer.
Tags
Table of Contents
Properties
- $parentWriter : HTML|null
Methods
- getParentWriter() : HTML
- setParentWriter() : void
- write() : string
- Write part.
- getFontFamily() : string
- Set font and alternates for css font-family.
- writeStyles() : string
- Get styles.
Properties
$parentWriter
private
HTML|null
$parentWriter
Methods
getParentWriter()
public
getParentWriter() : HTML
Return values
HTMLsetParentWriter()
public
setParentWriter([HTML|null $writer = null ]) : void
Parameters
- $writer : HTML|null = null
write()
Write part.
public
write() : string
Return values
stringgetFontFamily()
Set font and alternates for css font-family.
private
getFontFamily(string $font, string $genericFont) : string
Parameters
- $font : string
- $genericFont : string
Return values
stringwriteStyles()
Get styles.
private
writeStyles() : string