[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Style/ -> Border.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 294 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Style_Border:: (10 methods):
  __construct()
  bindParent()
  getSharedComponent()
  getStyleArray()
  applyFromArray()
  getBorderStyle()
  setBorderStyle()
  getColor()
  setColor()
  getHashCode()


Class: PHPExcel_Style_Border  - X-Ref

PHPExcel_Style_Border

__construct($isSupervisor = FALSE, $isConditional = FALSE)   X-Ref
Create a new PHPExcel_Style_Border

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

bindParent($parent, $parentPropertyName=NULL)   X-Ref
Bind parent. Only used for supervisor

param: PHPExcel_Style_Borders $parent
param: string $parentPropertyName
return: PHPExcel_Style_Border

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_Border

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')->getBorders()->getTop()->applyFromArray(
array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
);
</code>

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

getBorderStyle()   X-Ref
Get Border style

return: string

setBorderStyle($pValue = PHPExcel_Style_Border::BORDER_NONE)   X-Ref
Set Border style

param: string|boolean    $pValue
return: PHPExcel_Style_Border

getColor()   X-Ref
Get Border Color

return: PHPExcel_Style_Color

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

param: PHPExcel_Style_Color $pValue
return: PHPExcel_Style_Border

getHashCode()   X-Ref
Get hash code

return: string    Hash code



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1