mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-25 14:56:04 +03:00
GH-455 Fix case-sensitivity issue with PHPExcel_Chart_GridLines
This commit is contained in:
parent
9940b262c4
commit
2be1bb0c2e
@ -115,14 +115,14 @@ class PHPExcel_Chart
|
||||
/**
|
||||
* Chart Major Gridlines as
|
||||
*
|
||||
* @var PHPExcel_Chart_Gridlines
|
||||
* @var PHPExcel_Chart_GridLines
|
||||
*/
|
||||
private $_majorGridlines = null;
|
||||
|
||||
/**
|
||||
* Chart Minor Gridlines as
|
||||
*
|
||||
* @var PHPExcel_Chart_Gridlines
|
||||
* @var PHPExcel_Chart_GridLines
|
||||
*/
|
||||
private $_minorGridlines = null;
|
||||
|
||||
@ -177,7 +177,7 @@ class PHPExcel_Chart
|
||||
/**
|
||||
* Create a new PHPExcel_Chart
|
||||
*/
|
||||
public function __construct($name, PHPExcel_Chart_Title $title = null, PHPExcel_Chart_Legend $legend = null, PHPExcel_Chart_PlotArea $plotArea = null, $plotVisibleOnly = true, $displayBlanksAs = '0', PHPExcel_Chart_Title $xAxisLabel = null, PHPExcel_Chart_Title $yAxisLabel = null, PHPExcel_Chart_Axis $xAxis = null, PHPExcel_Chart_Axis $yAxis = null, PHPExcel_Chart_Gridlines $majorGridlines = null, PHPExcel_Chart_Gridlines $minorGridlines = null)
|
||||
public function __construct($name, PHPExcel_Chart_Title $title = null, PHPExcel_Chart_Legend $legend = null, PHPExcel_Chart_PlotArea $plotArea = null, $plotVisibleOnly = true, $displayBlanksAs = '0', PHPExcel_Chart_Title $xAxisLabel = null, PHPExcel_Chart_Title $yAxisLabel = null, PHPExcel_Chart_Axis $xAxis = null, PHPExcel_Chart_Axis $yAxis = null, PHPExcel_Chart_GridLines $majorGridlines = null, PHPExcel_Chart_GridLines $minorGridlines = null)
|
||||
{
|
||||
$this->_name = $name;
|
||||
$this->_title = $title;
|
||||
@ -387,27 +387,27 @@ class PHPExcel_Chart
|
||||
/**
|
||||
* Get Major Gridlines
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
public function getMajorGridlines() {
|
||||
if($this->_majorGridlines !== NULL){
|
||||
return $this->_majorGridlines;
|
||||
}
|
||||
|
||||
return new PHPExcel_Chart_Gridlines();
|
||||
return new PHPExcel_Chart_GridLines();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Minor Gridlines
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
public function getMinorGridlines() {
|
||||
if($this->_minorGridlines !== NULL){
|
||||
return $this->_minorGridlines;
|
||||
}
|
||||
|
||||
return new PHPExcel_Chart_Gridlines();
|
||||
return new PHPExcel_Chart_GridLines();
|
||||
}
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@ require_once 'Properties.php';
|
||||
* Time: 2:36 PM
|
||||
*/
|
||||
|
||||
class PHPExcel_Chart_Gridlines extends
|
||||
class PHPExcel_Chart_GridLines extends
|
||||
PHPExcel_Properties {
|
||||
|
||||
/**
|
||||
@ -90,7 +90,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
/**
|
||||
* Change Object State to True
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _activateObject() {
|
||||
@ -229,7 +229,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
*
|
||||
* @param float $size
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setGlowSize($size) {
|
||||
@ -245,7 +245,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
* @param int $alpha
|
||||
* @param string $type
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setGlowColor($color, $alpha, $type) {
|
||||
@ -307,7 +307,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
*
|
||||
* @param int $shadow_presets
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setShadowPresetsProperties($shadow_presets) {
|
||||
@ -323,7 +323,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
* @param array $properties_map
|
||||
* @param * $reference
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setShadowProperiesMapValues(array $properties_map, &$reference = NULL) {
|
||||
@ -355,7 +355,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
* @param int $alpha
|
||||
* @param string $type
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setShadowColor($color, $alpha, $type) {
|
||||
@ -377,7 +377,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
*
|
||||
* @param float $blur
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setShadowBlur($blur) {
|
||||
@ -393,7 +393,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
*
|
||||
* @param int $angle
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setShadowAngle($angle) {
|
||||
@ -409,7 +409,7 @@ class PHPExcel_Chart_Gridlines extends
|
||||
*
|
||||
* @param float $distance
|
||||
*
|
||||
* @return PHPExcel_Chart_Gridlines
|
||||
* @return PHPExcel_Chart_GridLines
|
||||
*/
|
||||
|
||||
private function _setShadowDistance($distance) {
|
||||
|
@ -239,8 +239,8 @@ class PHPExcel_Writer_Excel2007_Chart extends
|
||||
PHPExcel_Worksheet $pSheet,
|
||||
PHPExcel_Chart_Axis $xAxis,
|
||||
PHPExcel_Chart_Axis $yAxis,
|
||||
PHPExcel_Chart_Gridlines $majorGridlines,
|
||||
PHPExcel_Chart_Gridlines $minorGridlines
|
||||
PHPExcel_Chart_GridLines $majorGridlines,
|
||||
PHPExcel_Chart_GridLines $minorGridlines
|
||||
) {
|
||||
if (is_null($plotArea)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user