[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

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

Defines 1 class

PHPExcel_Style_Borders:: (17 methods):
  __construct()
  getSharedComponent()
  getStyleArray()
  applyFromArray()
  getLeft()
  getRight()
  getTop()
  getBottom()
  getDiagonal()
  getAllBorders()
  getOutline()
  getInside()
  getVertical()
  getHorizontal()
  getDiagonalDirection()
  setDiagonalDirection()
  getHashCode()


Class: PHPExcel_Style_Borders  - X-Ref

PHPExcel_Style_Borders

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_Borders

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_Borders

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()->applyFromArray(
array(
'bottom'     => array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
),
'top'     => array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
)
);
</code>
<code>
$objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(
array(
'allborders' => array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
)
);
</code>

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

getLeft()   X-Ref
Get Left

return: PHPExcel_Style_Border

getRight()   X-Ref
Get Right

return: PHPExcel_Style_Border

getTop()   X-Ref
Get Top

return: PHPExcel_Style_Border

getBottom()   X-Ref
Get Bottom

return: PHPExcel_Style_Border

getDiagonal()   X-Ref
Get Diagonal

return: PHPExcel_Style_Border

getAllBorders()   X-Ref
Get AllBorders (pseudo-border). Only applies to supervisor.

return: PHPExcel_Style_Border

getOutline()   X-Ref
Get Outline (pseudo-border). Only applies to supervisor.

return: boolean

getInside()   X-Ref
Get Inside (pseudo-border). Only applies to supervisor.

return: boolean

getVertical()   X-Ref
Get Vertical (pseudo-border). Only applies to supervisor.

return: PHPExcel_Style_Border

getHorizontal()   X-Ref
Get Horizontal (pseudo-border). Only applies to supervisor.

return: PHPExcel_Style_Border

getDiagonalDirection()   X-Ref
Get DiagonalDirection

return: int

setDiagonalDirection($pValue = PHPExcel_Style_Borders::DIAGONAL_NONE)   X-Ref
Set DiagonalDirection

param: int $pValue
return: PHPExcel_Style_Borders

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