Documentation

CellAlignment

Table of Contents

$horizontalMap  : array<string, int>
$verticalMap  : array<string, int>
horizontal()  : int
vertical()  : int
wrap()  : int

Properties

$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]

Methods

Search results