Documentation

CellAlignment
in package

Table of Contents

Properties

$horizontalAlignmentMap  : array<int, string>
$verticalAlignmentMap  : array<int, string>

Methods

horizontal()  : void
vertical()  : void
wrap()  : void

Properties

$horizontalAlignmentMap

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

$verticalAlignmentMap

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

Methods


        
On this page

Search results