public setTextAlignmentForCellRange ( string $alignment, integer $startRow, integer $startColumn, integer $endRow = null, integer $endColumn = null ) | ||
$alignment | string | alignment of cell. The method PHPRtfLite_Table_Cell->writeToCell() overrides it with PHPRtfLite_ParFormat alignment. Alignment is represented by class constants PHPRtfLite_Container::TEXT_ALIGN_* Possible values: PHPRtfLite_Container::TEXT_ALIGN_LEFT => 'left' - left alignment PHPRtfLite_Container::TEXT_ALIGN_RIGHT => 'right' - right alignment PHPRtfLite_Container::TEXT_ALIGN_CENTER => 'center' - center alignment PHPRtfLite_Container::TEXT_ALIGN_JUSTIFY => 'justify' - justify alignment |
$startRow | integer | start row |
$startColumn | integer | start column |
$endRow | integer | end row, if null, then text alignment is set only to the row range. |
$endColumn | integer | end column, if null, then text alignment is set just to the column range. |