\PHPExcel_Writer_Excel5_Font

PHPExcel_Writer_Excel5_Font

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

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 : 

Map of BIFF2-BIFF8 codes for underline styles

Type

Methods

__construct()

__construct(\PHPExcel_Style_Font  $font = null) 

Constructor

Parameters

\PHPExcel_Style_Font $font

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(  $underline) : integer

Map underline

Parameters

$underline

Returns

integer