Documentation

MergedCellStyle
in package

Table of Contents

Properties

$firstRowStyle  : Style|null
$headerStyle  : Style|null
$matched  : bool

Methods

getMatched()  : bool
Indicate whether the last call to getMergedStyle found any conditional or table styles affecting the cell in question.
getMergedStyle()  : Style
Return a style that combines the base style for a cell with any conditional or table styles applicable to the cell.
assessBuiltinTables()  : void
assessConditionals()  : void
assessTables()  : void

Properties

Methods

getMatched()

Indicate whether the last call to getMergedStyle found any conditional or table styles affecting the cell in question.

public getMatched() : bool
Return values
bool

getMergedStyle()

Return a style that combines the base style for a cell with any conditional or table styles applicable to the cell.

public getMergedStyle(Worksheet $worksheet, string $coordinate[, bool $tableFormats = true ][, bool $conditionals = true ][, bool|null $builtInTableStyles = null ]) : Style
Parameters
$worksheet : Worksheet
$coordinate : string
$tableFormats : bool = true

True/false to indicate whether custom table styles should be considered. Note that builtin table styles are not supported.

$conditionals : bool = true

True/false to indicate whether conditional styles should be considered.

$builtInTableStyles : bool|null = null
Return values
Style

        
On this page

Search results