[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

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

Defines 1 class

PHPExcel_Style_Alignment:: (19 methods):
  __construct()
  getSharedComponent()
  getStyleArray()
  applyFromArray()
  getHorizontal()
  setHorizontal()
  getVertical()
  setVertical()
  getTextRotation()
  setTextRotation()
  getWrapText()
  setWrapText()
  getShrinkToFit()
  setShrinkToFit()
  getIndent()
  setIndent()
  getReadorder()
  setReadorder()
  getHashCode()


Class: PHPExcel_Style_Alignment  - X-Ref

PHPExcel_Style_Alignment

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_Alignment

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_Alignment

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')->getAlignment()->applyFromArray(
array(
'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,
'vertical'   => PHPExcel_Style_Alignment::VERTICAL_CENTER,
'rotation'   => 0,
'wrap'            => TRUE
)
);
</code>

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

getHorizontal()   X-Ref
Get Horizontal

return: string

setHorizontal($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL)   X-Ref
Set Horizontal

param: string $pValue
return: PHPExcel_Style_Alignment

getVertical()   X-Ref
Get Vertical

return: string

setVertical($pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM)   X-Ref
Set Vertical

param: string $pValue
return: PHPExcel_Style_Alignment

getTextRotation()   X-Ref
Get TextRotation

return: int

setTextRotation($pValue = 0)   X-Ref
Set TextRotation

param: int $pValue
return: PHPExcel_Style_Alignment

getWrapText()   X-Ref
Get Wrap Text

return: boolean

setWrapText($pValue = false)   X-Ref
Set Wrap Text

param: boolean $pValue
return: PHPExcel_Style_Alignment

getShrinkToFit()   X-Ref
Get Shrink to fit

return: boolean

setShrinkToFit($pValue = false)   X-Ref
Set Shrink to fit

param: boolean $pValue
return: PHPExcel_Style_Alignment

getIndent()   X-Ref
Get indent

return: int

setIndent($pValue = 0)   X-Ref
Set indent

param: int $pValue
return: PHPExcel_Style_Alignment

getReadorder()   X-Ref
Get read order

return: integer

setReadorder($pValue = 0)   X-Ref
Set read order

param: int $pValue
return: PHPExcel_Style_Alignment

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