\PhpOffice\PhpSpreadsheet\Writer\XlsFont

Summary

Methods
Properties
Constants
__construct()
setColorIndex()
writeFont()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
mapBold()
mapUnderline()
$colorIndex
$font
$mapUnderline
N/A

Properties

$colorIndex

$colorIndex : integer

Color index.

Type

integer

$mapUnderline

$mapUnderline : array

Map of BIFF2-BIFF8 codes for underline styles.

Type

array — of int

Methods

setColorIndex()

setColorIndex(integer  $colorIndex) 

Set the color index.

Parameters

integer $colorIndex

writeFont()

writeFont() : string

Get font record data.

Returns

string

mapBold()

mapBold(boolean  $bold) : integer

Map to BIFF5-BIFF8 codes for bold.

Parameters

boolean $bold

Returns

integer

mapUnderline()

mapUnderline(string  $underline) : integer

Map underline.

Parameters

string $underline

Returns

integer