Properties

$theme

$theme : \PhpOffice\PhpSpreadsheet\Reader\Xlsx\Theme

Theme instance.

Type

Theme

$styles

$styles

$cellStyles

$cellStyles

$styleXml

$styleXml

Methods

__construct()

__construct(\SimpleXMLElement  $styleXml) : mixed

Parameters

\SimpleXMLElement $styleXml

Returns

mixed —

setStyleBaseData()

setStyleBaseData(?\PhpOffice\PhpSpreadsheet\Reader\Xlsx\Theme  $theme = null, mixed  $styles = [], mixed  $cellStyles = []) : void

Parameters

?\PhpOffice\PhpSpreadsheet\Reader\Xlsx\Theme $theme
mixed $styles
mixed $cellStyles

dxfs()

dxfs(mixed  $readDataOnly = false) : mixed

Parameters

mixed $readDataOnly

Returns

mixed —

styles()

styles() : mixed

Returns

mixed —

boolean()

boolean(mixed  $value) : mixed

Parameters

mixed $value

Returns

mixed —

readFontStyle()

readFontStyle(\PhpOffice\PhpSpreadsheet\Style\Font  $fontStyle, \SimpleXMLElement  $fontStyleXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Font $fontStyle
\SimpleXMLElement $fontStyleXml

readNumberFormat()

readNumberFormat(\PhpOffice\PhpSpreadsheet\Style\NumberFormat  $numfmtStyle, \SimpleXMLElement  $numfmtStyleXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\NumberFormat $numfmtStyle
\SimpleXMLElement $numfmtStyleXml

readFillStyle()

readFillStyle(\PhpOffice\PhpSpreadsheet\Style\Fill  $fillStyle, \SimpleXMLElement  $fillStyleXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Fill $fillStyle
\SimpleXMLElement $fillStyleXml

readBorderStyle()

readBorderStyle(\PhpOffice\PhpSpreadsheet\Style\Borders  $borderStyle, \SimpleXMLElement  $borderStyleXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Borders $borderStyle
\SimpleXMLElement $borderStyleXml

readBorder()

readBorder(\PhpOffice\PhpSpreadsheet\Style\Border  $border, \SimpleXMLElement  $borderXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Border $border
\SimpleXMLElement $borderXml

readAlignmentStyle()

readAlignmentStyle(\PhpOffice\PhpSpreadsheet\Style\Alignment  $alignment, \SimpleXMLElement  $alignmentXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Alignment $alignment
\SimpleXMLElement $alignmentXml

readStyle()

readStyle(\PhpOffice\PhpSpreadsheet\Style\Style  $docStyle, mixed  $style) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Style $docStyle
mixed $style

readProtectionLocked()

readProtectionLocked(\PhpOffice\PhpSpreadsheet\Style\Style  $docStyle, mixed  $style) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Style $docStyle
mixed $style

readProtectionHidden()

readProtectionHidden(\PhpOffice\PhpSpreadsheet\Style\Style  $docStyle, mixed  $style) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Style $docStyle
mixed $style

readColor()

readColor(mixed  $color, mixed  $background = false) : mixed

Parameters

mixed $color
mixed $background

Returns

mixed —

getArrayItem()

getArrayItem(mixed  $array, mixed  $key) : mixed

Parameters

mixed $array
mixed $key

Returns

mixed —