Documentation

Font extends StyleBase
in package

Table of Contents

Constants

UNDERLINE_STYLES  = [\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_NONE, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_DOUBLE, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_DOUBLEACCOUNTING, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLEACCOUNTING]

Methods

parseStyle()  : array<string|int, mixed>
getAttributes()  : SimpleXMLElement
identifyFixedStyleValue()  : bool
parseUnderline()  : array<string|int, mixed>
parseVerticalAlign()  : array<string|int, mixed>

Constants

UNDERLINE_STYLES

protected mixed UNDERLINE_STYLES = [\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_NONE, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_DOUBLE, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_DOUBLEACCOUNTING, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE, \PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLEACCOUNTING]

Methods

parseStyle()

public parseStyle(SimpleXMLElement $styleAttributes) : array<string|int, mixed>
Parameters
$styleAttributes : SimpleXMLElement
Return values
array<string|int, mixed>

getAttributes()

protected static getAttributes(SimpleXMLElement|null $simple, string $node) : SimpleXMLElement
Parameters
$simple : SimpleXMLElement|null
$node : string
Return values
SimpleXMLElement

identifyFixedStyleValue()

protected static identifyFixedStyleValue(array<string|int, mixed> $styleList, string &$styleAttributeValue) : bool
Parameters
$styleList : array<string|int, mixed>
$styleAttributeValue : string
Return values
bool

parseUnderline()

protected parseUnderline(array<string|int, mixed> $style, string $styleAttributeValue) : array<string|int, mixed>
Parameters
$style : array<string|int, mixed>
$styleAttributeValue : string
Return values
array<string|int, mixed>

parseVerticalAlign()

protected parseVerticalAlign(array<string|int, mixed> $style, string $styleAttributeValue) : array<string|int, mixed>
Parameters
$style : array<string|int, mixed>
$styleAttributeValue : string
Return values
array<string|int, mixed>

        
On this page

Search results