[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/PHPExcel/PHPExcel/Style/ -> Font.php (summary)

PHPExcel Copyright (c) 2006 - 2012 PHPExcel

Copyright: Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: 1.7.7, 2012-05-19
File Size: 620 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Style_Font:: (31 methods):
  __construct()
  bindParent()
  getIsSupervisor()
  getSharedComponent()
  getActiveSheet()
  getSelectedCells()
  getActiveCell()
  getStyleArray()
  applyFromArray()
  getName()
  setName()
  getSize()
  setSize()
  getBold()
  setBold()
  getItalic()
  setItalic()
  getSuperScript()
  setSuperScript()
  getSubScript()
  setSubScript()
  getUnderline()
  setUnderline()
  getStriketrough()
  setStriketrough()
  getStrikethrough()
  setStrikethrough()
  getColor()
  setColor()
  getHashCode()
  __clone()


Class: PHPExcel_Style_Font  - X-Ref

PHPExcel_Style_Font

__construct($isSupervisor = false)   X-Ref
Create a new PHPExcel_Style_Font

param: boolean    $isSupervisor    Flag indicating if this is a supervisor or not

bindParent($parent)   X-Ref
Bind parent. Only used for supervisor

param: PHPExcel_Style $parent
return: PHPExcel_Style_Font

getIsSupervisor()   X-Ref
Is this a supervisor or a real style component?

return: boolean

getSharedComponent()   X-Ref
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor

return: PHPExcel_Style_Font

getActiveSheet()   X-Ref
Get the currently active sheet. Only used for supervisor

return: PHPExcel_Worksheet

getSelectedCells()   X-Ref
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor

return: string E.g. 'A1'

getActiveCell()   X-Ref
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor

return: string E.g. 'A1'

getStyleArray($array)   X-Ref
Build style array from subcomponents

param: array $array
return: array

applyFromArray($pStyles = null)   X-Ref
Apply styles from array

<code>
$objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray(
array(
'name'      => 'Arial',
'bold'      => true,
'italic'    => false,
'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE,
'strike'    => false,
'color'     => array(
'rgb' => '808080'
)
)
);
</code>

param: array    $pStyles    Array containing style information
return: PHPExcel_Style_Font

getName()   X-Ref
Get Name

return: string

setName($pValue = 'Calibri')   X-Ref
Set Name

param: string $pValue
return: PHPExcel_Style_Font

getSize()   X-Ref
Get Size

return: double

setSize($pValue = 10)   X-Ref
Set Size

param: double $pValue
return: PHPExcel_Style_Font

getBold()   X-Ref
Get Bold

return: boolean

setBold($pValue = false)   X-Ref
Set Bold

param: boolean $pValue
return: PHPExcel_Style_Font

getItalic()   X-Ref
Get Italic

return: boolean

setItalic($pValue = false)   X-Ref
Set Italic

param: boolean $pValue
return: PHPExcel_Style_Font

getSuperScript()   X-Ref
Get SuperScript

return: boolean

setSuperScript($pValue = false)   X-Ref
Set SuperScript

param: boolean $pValue
return: PHPExcel_Style_Font

getSubScript()   X-Ref
Get SubScript

return: boolean

setSubScript($pValue = false)   X-Ref
Set SubScript

param: boolean $pValue
return: PHPExcel_Style_Font

getUnderline()   X-Ref
Get Underline

return: string

setUnderline($pValue = PHPExcel_Style_Font::UNDERLINE_NONE)   X-Ref
Set Underline

param: string $pValue    PHPExcel_Style_Font underline type
return: PHPExcel_Style_Font

getStriketrough()   X-Ref
Get Striketrough

return: boolean

setStriketrough($pValue = false)   X-Ref
Set Striketrough

param: boolean $pValue
return: PHPExcel_Style_Font

getStrikethrough()   X-Ref
Get Strikethrough

return: boolean

setStrikethrough($pValue = false)   X-Ref
Set Strikethrough

param: boolean $pValue
return: PHPExcel_Style_Font

getColor()   X-Ref
Get Color

return: PHPExcel_Style_Color

setColor(PHPExcel_Style_Color $pValue = null)   X-Ref
Set Color

param: PHPExcel_Style_Color $pValue
return: PHPExcel_Style_Font

getHashCode()   X-Ref
Get hash code

return: string    Hash code

__clone()   X-Ref
Implement PHP __clone to create a deep clone, not just a shallow copy.




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1