Properties

$styles

$styles : 

Type

$cellStyles

$cellStyles : 

Type

$styleXml

$styleXml : 

Type

Methods

__construct()

__construct(\SimpleXMLElement  $styleXml) 

Parameters

\SimpleXMLElement $styleXml

setStyleBaseData()

setStyleBaseData(\PhpOffice\PhpSpreadsheet\Reader\Xlsx\Theme  $theme = null,   $styles = array(),   $cellStyles = array()) 

Parameters

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

dxfs()

dxfs(  $readDataOnly = false) 

Parameters

$readDataOnly

styles()

styles() 

boolean()

boolean(  $value) 

Parameters

$value

readFontStyle()

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

Parameters

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

readNumberFormat()

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

Parameters

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

readFillStyle()

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

Parameters

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

readBorderStyle()

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

Parameters

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

readBorder()

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

Parameters

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

readAlignmentStyle()

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

Parameters

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

readStyle()

readStyle(\PhpOffice\PhpSpreadsheet\Style\Style  $docStyle,   $style) 

Parameters

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

readProtectionLocked()

readProtectionLocked(\PhpOffice\PhpSpreadsheet\Style\Style  $docStyle,   $style) 

Parameters

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

readProtectionHidden()

readProtectionHidden(\PhpOffice\PhpSpreadsheet\Style\Style  $docStyle,   $style) 

Parameters

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

readColor()

readColor(  $color,   $background = false) 

Parameters

$color
$background

getArrayItem()

getArrayItem(  $array,   $key) 

Parameters

$array
$key