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