Documentation

ConditionalStyles
in package

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

Properties

Methods

__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

readConditionalRuleFromExt()

private readConditionalRuleFromExt(SimpleXMLElement $cfRuleXml, SimpleXMLElement $attributes) : Conditional
Parameters
$cfRuleXml : SimpleXMLElement
$attributes : SimpleXMLElement
Return values
Conditional

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>
Return values
ConditionalDataBar

readStyleFromExt()

private readStyleFromExt(SimpleXMLElement $extCfRuleXml) : Style
Parameters
$extCfRuleXml : SimpleXMLElement
Return values
Style

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

        
On this page

Search results