ConditionalStyles
Table of Contents
Properties
-
$dxfs
: array<string|int, mixed>
-
$ns
: array<string|int, mixed>
-
$styleReader
: Styles
-
$worksheet
: Worksheet
-
$worksheetXml
: SimpleXMLElement
Methods
-
__construct()
: mixed
-
load()
: void
-
loadFromExt()
: void
-
readColorScale()
: ConditionalColorScale
-
readConditionalRuleFromExt()
: Conditional
-
readConditionalsFromExt()
: array<string|int, mixed>
-
readConditionalStyles()
: array<string|int, mixed>
-
readDataBarExtLstOfConditionalRule()
: void
-
readDataBarOfConditionalRule()
: ConditionalDataBar
-
readStyleFromExt()
: Style
-
readStyleRules()
: array<string|int, mixed>
-
setConditionalsFromExt()
: void
-
setConditionalStyles()
: void
$dxfs
private
array<string|int, mixed>
$dxfs
$ns
private
array<string|int, mixed>
$ns
$styleReader
private
Styles
$styleReader
$worksheet
private
Worksheet
$worksheet
$worksheetXml
private
SimpleXMLElement
$worksheetXml
__construct()
public
__construct(Worksheet $workSheet, SimpleXMLElement $worksheetXml, array<string|int, mixed> $dxfs, Styles $styleReader) : mixed
Parameters
-
$workSheet
: Worksheet
-
-
$worksheetXml
: SimpleXMLElement
-
-
$dxfs
: array<string|int, mixed>
-
-
$styleReader
: Styles
-
load()
public
load() : void
loadFromExt()
public
loadFromExt() : void
readColorScale()
private
readColorScale(SimpleXMLElement|stdClass $cfRule) : ConditionalColorScale
Parameters
-
$cfRule
: SimpleXMLElement|stdClass
-
readConditionalRuleFromExt()
private
readConditionalRuleFromExt(SimpleXMLElement $cfRuleXml, SimpleXMLElement $attributes) : Conditional
Parameters
-
$cfRuleXml
: SimpleXMLElement
-
-
$attributes
: SimpleXMLElement
-
readConditionalsFromExt()
private
readConditionalsFromExt(SimpleXMLElement $extLst) : array<string|int, mixed>
Parameters
-
$extLst
: SimpleXMLElement
-
Return values
array<string|int, mixed>
readConditionalStyles()
private
readConditionalStyles(SimpleXMLElement $xmlSheet) : array<string|int, mixed>
Parameters
-
$xmlSheet
: SimpleXMLElement
-
Return values
array<string|int, mixed>
readDataBarExtLstOfConditionalRule()
private
readDataBarExtLstOfConditionalRule(ConditionalDataBar $dataBar, SimpleXMLElement $cfRule, array<string|int, mixed> $conditionalFormattingRuleExtensions) : void
Parameters
-
$dataBar
: ConditionalDataBar
-
-
$cfRule
: SimpleXMLElement
-
-
$conditionalFormattingRuleExtensions
: array<string|int, mixed>
-
readDataBarOfConditionalRule()
private
readDataBarOfConditionalRule(SimpleXMLElement $cfRule, array<string|int, mixed> $conditionalFormattingRuleExtensions) : ConditionalDataBar
Parameters
-
$cfRule
: SimpleXMLElement
-
-
$conditionalFormattingRuleExtensions
: array<string|int, mixed>
-
readStyleFromExt()
private
readStyleFromExt(SimpleXMLElement $extCfRuleXml) : Style
Parameters
-
$extCfRuleXml
: SimpleXMLElement
-
readStyleRules()
private
readStyleRules(array<string|int, mixed> $cfRules, SimpleXMLElement $extLst) : array<string|int, mixed>
Parameters
-
$cfRules
: array<string|int, mixed>
-
-
$extLst
: SimpleXMLElement
-
Return values
array<string|int, mixed>
setConditionalsFromExt()
private
setConditionalsFromExt(array<string|int, mixed> $conditionals) : void
Parameters
-
$conditionals
: array<string|int, mixed>
-
setConditionalStyles()
private
setConditionalStyles(Worksheet $worksheet, array<string|int, mixed> $conditionals, SimpleXMLElement $xmlExtLst) : void
Parameters
-
$worksheet
: Worksheet
-
-
$conditionals
: array<string|int, mixed>
-
-
$xmlExtLst
: SimpleXMLElement
-