\PhpOffice\PhpSpreadsheet\Writer\Ods\CellStyle

Summary

Methods
Properties
Constants
__construct()
write()
No public properties found
CELL_STYLE_PREFIX
mapUnderlineStyle()
writeTextProperties()
No protected properties found
N/A
mapHorizontalAlignment()
mapVerticalAlignment()
writeFillStyle()
writeCellProperties()
$writer
N/A

Constants

CELL_STYLE_PREFIX

CELL_STYLE_PREFIX = 'ce'

Properties

$writer

$writer

Methods

__construct()

__construct(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $writer) : mixed

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $writer

Returns

mixed —

write()

write(\PhpOffice\PhpSpreadsheet\Style\Style  $style) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Style $style

mapUnderlineStyle()

mapUnderlineStyle(\PhpOffice\PhpSpreadsheet\Style\Font  $font) : string

Parameters

\PhpOffice\PhpSpreadsheet\Style\Font $font

Returns

string —

writeTextProperties()

writeTextProperties(\PhpOffice\PhpSpreadsheet\Style\Style  $style) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Style $style

mapHorizontalAlignment()

mapHorizontalAlignment(string  $horizontalAlignment) : string

Parameters

string $horizontalAlignment

Returns

string —

mapVerticalAlignment()

mapVerticalAlignment(string  $verticalAlignment) : string

Parameters

string $verticalAlignment

Returns

string —

writeFillStyle()

writeFillStyle(\PhpOffice\PhpSpreadsheet\Style\Fill  $fill) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Fill $fill

writeCellProperties()

writeCellProperties(\PhpOffice\PhpSpreadsheet\Style\Style  $style) : void

Parameters

\PhpOffice\PhpSpreadsheet\Style\Style $style