CellAlignment
Table of Contents
-
$horizontalMap
: array<string, int>
-
$verticalMap
: array<string, int>
-
horizontal()
: int
-
vertical()
: int
-
wrap()
: int
$horizontalMap
private
static array<string, int>
$horizontalMap
= [PhpOfficePhpSpreadsheetStyleAlignment::HORIZONTAL_GENERAL => 0, PhpOfficePhpSpreadsheetStyleAlignment::HORIZONTAL_LEFT => 1, PhpOfficePhpSpreadsheetStyleAlignment::HORIZONTAL_RIGHT => 3, PhpOfficePhpSpreadsheetStyleAlignment::HORIZONTAL_CENTER => 2, PhpOfficePhpSpreadsheetStyleAlignment::HORIZONTAL_CENTER_CONTINUOUS => 6, PhpOfficePhpSpreadsheetStyleAlignment::HORIZONTAL_JUSTIFY => 5]
$verticalMap
private
static array<string, int>
$verticalMap
= [PhpOfficePhpSpreadsheetStyleAlignment::VERTICAL_BOTTOM => 2, PhpOfficePhpSpreadsheetStyleAlignment::VERTICAL_TOP => 0, PhpOfficePhpSpreadsheetStyleAlignment::VERTICAL_CENTER => 1, PhpOfficePhpSpreadsheetStyleAlignment::VERTICAL_JUSTIFY => 3]
horizontal()
public
static horizontal(Alignment $alignment) : int
Parameters
-
$alignment
: Alignment
-
Return values
int
—
vertical()
public
static vertical(Alignment $alignment) : int
Parameters
-
$alignment
: Alignment
-
Return values
int
—
wrap()
public
static wrap(Alignment $alignment) : int
Parameters
-
$alignment
: Alignment
-
Return values
int
—