\PhpOffice\PhpSpreadsheet\Style\ConditionalFormattingConditionalFormattingRuleExtension

Summary

Methods
Properties
Constants
__construct()
parseExtLstXml()
getId()
setId()
getCfRule()
setCfRule()
getDataBarExt()
setDataBarExt()
getSqref()
setSqref()
No public properties found
CONDITION_EXTENSION_DATABAR
No protected methods found
No protected properties found
N/A
generateUuid()
parseExtDataBarAttributesFromXml()
parseExtDataBarElementChildrenFromXml()
$id
$cfRule
$dataBar
$sqref
N/A

Constants

CONDITION_EXTENSION_DATABAR

CONDITION_EXTENSION_DATABAR = 'dataBar'

Properties

$id

$id

<conditionalFormatting> attributes

$cfRule

$cfRule : string

Type

string — Conditional Formatting Rule

$dataBar

$dataBar : \PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension

Type

ConditionalDataBarExtension

$sqref

$sqref : string

Type

string — Sequence of References

Methods

__construct()

__construct( $id = null, string  $cfRule = self::CONDITION_EXTENSION_DATABAR) : mixed

ConditionalFormattingRuleExtension constructor.

Parameters

$id
string $cfRule

Returns

mixed —

parseExtLstXml()

parseExtLstXml(mixed  $extLstXml) : mixed

Parameters

mixed $extLstXml

Returns

mixed —

getId()

getId() : mixed

Returns

mixed —

setId()

setId(mixed  $id) : self

Parameters

mixed $id

Returns

self —

getCfRule()

getCfRule() : string

Returns

string —

setCfRule()

setCfRule(string  $cfRule) : self

Parameters

string $cfRule

Returns

self —

getDataBarExt()

getDataBarExt() : \PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension

Returns

\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension —

setDataBarExt()

setDataBarExt(\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension  $dataBar) : self

Parameters

\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension $dataBar

Returns

self —

getSqref()

getSqref() : string

Returns

string —

setSqref()

setSqref(string  $sqref) : self

Parameters

string $sqref

Returns

self —

generateUuid()

generateUuid() : mixed

Returns

mixed —

parseExtDataBarAttributesFromXml()

parseExtDataBarAttributesFromXml(\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension  $extDataBarObj, \SimpleXMLElement  $dataBarXml) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension $extDataBarObj
\SimpleXMLElement $dataBarXml

parseExtDataBarElementChildrenFromXml()

parseExtDataBarElementChildrenFromXml(\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension  $extDataBarObj, \SimpleXMLElement  $dataBarXml, mixed  $ns) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalDataBarExtension $extDataBarObj
\SimpleXMLElement $dataBarXml
mixed $ns