Documentation

CellAlignment
in package

Table of Contents

Properties

$horizontalMap  : array<string, int>
$verticalMap  : array<string, int>

Methods

horizontal()  : int
vertical()  : int
wrap()  : int

Properties

$horizontalMap

private static array<string, int> $horizontalMap = [\PhpOffice\PhpSpreadsheet\Style\Alignment::HORIZONTAL_GENERAL => 0, \PhpOffice\PhpSpreadsheet\Style\Alignment::HORIZONTAL_LEFT => 1, \PhpOffice\PhpSpreadsheet\Style\Alignment::HORIZONTAL_RIGHT => 3, \PhpOffice\PhpSpreadsheet\Style\Alignment::HORIZONTAL_CENTER => 2, \PhpOffice\PhpSpreadsheet\Style\Alignment::HORIZONTAL_CENTER_CONTINUOUS => 6, \PhpOffice\PhpSpreadsheet\Style\Alignment::HORIZONTAL_JUSTIFY => 5]

$verticalMap

private static array<string, int> $verticalMap = [\PhpOffice\PhpSpreadsheet\Style\Alignment::VERTICAL_BOTTOM => 2, \PhpOffice\PhpSpreadsheet\Style\Alignment::VERTICAL_TOP => 0, \PhpOffice\PhpSpreadsheet\Style\Alignment::VERTICAL_CENTER => 1, \PhpOffice\PhpSpreadsheet\Style\Alignment::VERTICAL_JUSTIFY => 3]

Methods


        
On this page

Search results