CellFill
Table of Contents
-
$fillStyleMap
: array<string, int>
-
style()
: int
$fillStyleMap
protected
static array<string, int>
$fillStyleMap
= [
PhpOfficePhpSpreadsheetStyleFill::FILL_NONE => 0x0,
PhpOfficePhpSpreadsheetStyleFill::FILL_SOLID => 0x1,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_MEDIUMGRAY => 0x2,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKGRAY => 0x3,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTGRAY => 0x4,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKHORIZONTAL => 0x5,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKVERTICAL => 0x6,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKDOWN => 0x7,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKUP => 0x8,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKGRID => 0x9,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_DARKTRELLIS => 0xa,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTHORIZONTAL => 0xb,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTVERTICAL => 0xc,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTDOWN => 0xd,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTUP => 0xe,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTGRID => 0xf,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_LIGHTTRELLIS => 0x10,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_GRAY125 => 0x11,
PhpOfficePhpSpreadsheetStyleFill::FILL_PATTERN_GRAY0625 => 0x12,
PhpOfficePhpSpreadsheetStyleFill::FILL_GRADIENT_LINEAR => 0x0,
// does not exist in BIFF8
PhpOfficePhpSpreadsheetStyleFill::FILL_GRADIENT_PATH => 0x0,
]
style()
public
static style(Fill $fill) : int
Parameters
-
$fill
: Fill
-
Return values
int
—