[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

File Size: 322 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Style_Fill:: (13 methods):
  __construct()
  getSharedComponent()
  getStyleArray()
  applyFromArray()
  getFillType()
  setFillType()
  getRotation()
  setRotation()
  getStartColor()
  setStartColor()
  getEndColor()
  setEndColor()
  getHashCode()


Class: PHPExcel_Style_Fill  - X-Ref

PHPExcel_Style_Fill

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

__construct($isSupervisor = false, $isConditional = false)   X-Ref
Create a new PHPExcel_Style_Fill

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

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_Fill

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')->getFill()->applyFromArray(
array(
'type'       => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR,
'rotation'   => 0,
'startcolor' => array(
'rgb' => '000000'
),
'endcolor'   => array(
'argb' => 'FFFFFFFF'
)
)
);
</code>

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

getFillType()   X-Ref
Get Fill Type

return: string

setFillType($pValue = PHPExcel_Style_Fill::FILL_NONE)   X-Ref
Set Fill Type

param: string $pValue    PHPExcel_Style_Fill fill type
return: PHPExcel_Style_Fill

getRotation()   X-Ref
Get Rotation

return: double

setRotation($pValue = 0)   X-Ref
Set Rotation

param: double $pValue
return: PHPExcel_Style_Fill

getStartColor()   X-Ref
Get Start Color

return: PHPExcel_Style_Color

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

param: PHPExcel_Style_Color $pValue
return: PHPExcel_Style_Fill

getEndColor()   X-Ref
Get End Color

return: PHPExcel_Style_Color

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

param: PHPExcel_Style_Color $pValue
return: PHPExcel_Style_Fill

getHashCode()   X-Ref
Get hash code

return: string    Hash code



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1