Documentation

Font extends StyleBase

Table of Contents

UNDERLINE_STYLES  = [PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_NONE, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_DOUBLE, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_DOUBLEACCOUNTING, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_SINGLE, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_SINGLEACCOUNTING]
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 = [PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_NONE, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_DOUBLE, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_DOUBLEACCOUNTING, PhpOfficePhpSpreadsheetStyleFont::UNDERLINE_SINGLE, PhpOfficePhpSpreadsheetStyleFont::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>

Search results