ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($position=self::POSITION_RIGHT, PHPExcel_Chart_Layout $layout=NULL, $overlay=FALSE) | |
Create a new PHPExcel_Chart_Legend. More... | |
getPosition () | |
Get legend position as an excel string value. More... | |
setPosition ($position=self::POSITION_RIGHT) | |
Get legend position using an excel string value. More... | |
getPositionXL () | |
Get legend position as an Excel internal numeric value. More... | |
setPositionXL ($positionXL=self::xlLegendPositionRight) | |
Set legend position using an Excel internal numeric value. More... | |
getOverlay () | |
Get allow overlay of other elements? More... | |
setOverlay ($overlay=FALSE) | |
Set allow overlay of other elements? More... | |
getLayout () | |
Get Layout. More... | |
Data Fields | |
const | xlLegendPositionBottom = -4107 |
Legend positions. More... | |
const | xlLegendPositionCorner = 2 |
const | xlLegendPositionCustom = -4161 |
const | xlLegendPositionLeft = -4131 |
const | xlLegendPositionRight = -4152 |
const | xlLegendPositionTop = -4160 |
const | POSITION_RIGHT = 'r' |
const | POSITION_LEFT = 'l' |
const | POSITION_BOTTOM = 'b' |
const | POSITION_TOP = 't' |
const | POSITION_TOPRIGHT = 'tr' |
Private Attributes | |
$_position = self::POSITION_RIGHT | |
$_overlay = TRUE | |
$_layout = NULL | |
Static Private Attributes | |
static | $_positionXLref |
Definition at line 36 of file Legend.php.
PHPExcel_Chart_Legend::__construct | ( | $position = self::POSITION_RIGHT , |
|
PHPExcel_Chart_Layout | $layout = NULL , |
||
$overlay = FALSE |
|||
) |
Create a new PHPExcel_Chart_Legend.
Definition at line 85 of file Legend.php.
References $layout, setOverlay(), and setPosition().
PHPExcel_Chart_Legend::getLayout | ( | ) |
Get Layout.
Definition at line 167 of file Legend.php.
References $_layout.
PHPExcel_Chart_Legend::getOverlay | ( | ) |
Get allow overlay of other elements?
Definition at line 143 of file Legend.php.
References $_overlay.
PHPExcel_Chart_Legend::getPosition | ( | ) |
Get legend position as an excel string value.
Definition at line 97 of file Legend.php.
References $_position.
PHPExcel_Chart_Legend::getPositionXL | ( | ) |
Get legend position as an Excel internal numeric value.
Definition at line 120 of file Legend.php.
PHPExcel_Chart_Legend::setOverlay | ( | $overlay = FALSE | ) |
Set allow overlay of other elements?
boolean | $overlay |
Definition at line 153 of file Legend.php.
Referenced by __construct(), and LegendTest\testGetOverlay().
PHPExcel_Chart_Legend::setPosition | ( | $position = self::POSITION_RIGHT | ) |
Get legend position using an excel string value.
string | $position |
Definition at line 106 of file Legend.php.
Referenced by __construct(), and LegendTest\testGetPosition().
PHPExcel_Chart_Legend::setPositionXL | ( | $positionXL = self::xlLegendPositionRight | ) |
Set legend position using an Excel internal numeric value.
number | $positionXL |
Definition at line 129 of file Legend.php.
Referenced by LegendTest\testGetPositionXL().
|
private |
Definition at line 79 of file Legend.php.
Referenced by getLayout().
|
private |
Definition at line 72 of file Legend.php.
Referenced by getOverlay().
|
private |
Definition at line 65 of file Legend.php.
Referenced by getPosition().
|
staticprivate |
Definition at line 52 of file Legend.php.
const PHPExcel_Chart_Legend::POSITION_BOTTOM = 'b' |
Definition at line 48 of file Legend.php.
Referenced by LegendTest\testGetPosition(), and LegendTest\testSetPosition().
const PHPExcel_Chart_Legend::POSITION_LEFT = 'l' |
Definition at line 47 of file Legend.php.
Referenced by LegendTest\testSetPosition().
const PHPExcel_Chart_Legend::POSITION_RIGHT = 'r' |
Definition at line 46 of file Legend.php.
Referenced by LegendTest\testSetInvalidPositionReturnsFalse(), and LegendTest\testSetPosition().
const PHPExcel_Chart_Legend::POSITION_TOP = 't' |
Definition at line 49 of file Legend.php.
Referenced by LegendTest\testSetPosition().
const PHPExcel_Chart_Legend::POSITION_TOPRIGHT = 'tr' |
Definition at line 50 of file Legend.php.
Referenced by LegendTest\testSetPosition().
const PHPExcel_Chart_Legend::xlLegendPositionBottom = -4107 |
Legend positions.
Definition at line 39 of file Legend.php.
Referenced by LegendTest\testSetPositionXL().
const PHPExcel_Chart_Legend::xlLegendPositionCorner = 2 |
Definition at line 40 of file Legend.php.
Referenced by LegendTest\testGetPositionXL(), and LegendTest\testSetPositionXL().
const PHPExcel_Chart_Legend::xlLegendPositionCustom = -4161 |
Definition at line 41 of file Legend.php.
Referenced by LegendTest\testSetPositionXL().
const PHPExcel_Chart_Legend::xlLegendPositionLeft = -4131 |
Definition at line 42 of file Legend.php.
Referenced by LegendTest\testSetPositionXL().
const PHPExcel_Chart_Legend::xlLegendPositionRight = -4152 |
Definition at line 43 of file Legend.php.
Referenced by LegendTest\testSetInvalidXLPositionReturnsFalse(), and LegendTest\testSetPositionXL().
const PHPExcel_Chart_Legend::xlLegendPositionTop = -4160 |
Definition at line 44 of file Legend.php.
Referenced by LegendTest\testSetPositionXL().