mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2025-02-06 09:49:24 +03:00
Feature: Added getStyle() method to Cell object
This commit is contained in:
parent
b1c61d1be0
commit
04c1608f3f
@ -902,6 +902,17 @@ class PHPExcel_Cell
|
|||||||
self::$_valueBinder = $binder;
|
self::$_valueBinder = $binder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get style for cell
|
||||||
|
*
|
||||||
|
* @return PHPExcel_Style
|
||||||
|
* @throws PHPExcel_Exception
|
||||||
|
*/
|
||||||
|
public function getStyle()
|
||||||
|
{
|
||||||
|
return $this->getWorksheet()->getParent()->getCellXfByIndex($this->getXfIndex());
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement PHP __clone to create a deep clone, not just a shallow copy.
|
* Implement PHP __clone to create a deep clone, not just a shallow copy.
|
||||||
*/
|
*/
|
||||||
|
@ -36,13 +36,13 @@
|
|||||||
class PHPExcel_Worksheet implements PHPExcel_IComparable
|
class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
{
|
{
|
||||||
/* Break types */
|
/* Break types */
|
||||||
const BREAK_NONE = 0;
|
const BREAK_NONE = 0;
|
||||||
const BREAK_ROW = 1;
|
const BREAK_ROW = 1;
|
||||||
const BREAK_COLUMN = 2;
|
const BREAK_COLUMN = 2;
|
||||||
|
|
||||||
/* Sheet state */
|
/* Sheet state */
|
||||||
const SHEETSTATE_VISIBLE = 'visible';
|
const SHEETSTATE_VISIBLE = 'visible';
|
||||||
const SHEETSTATE_HIDDEN = 'hidden';
|
const SHEETSTATE_HIDDEN = 'hidden';
|
||||||
const SHEETSTATE_VERYHIDDEN = 'veryHidden';
|
const SHEETSTATE_VERYHIDDEN = 'veryHidden';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
Fixed in develop branch for release v1.7.9:
|
Fixed in develop branch for release v1.7.9:
|
||||||
- Feature: (MBaker) Include charts option for HTML Writer
|
- Feature: (MBaker) Include charts option for HTML Writer
|
||||||
- Feature: (MBaker) Added composer file
|
- Feature: (MBaker) Added composer file
|
||||||
|
- Feature: (MBaker) Added getStyle() method to Cell object
|
||||||
- Bugfix: (Asker) Work item 18777 - Error in PHPEXCEL/Calculation.php script on line 2976 (stack pop check)
|
- Bugfix: (Asker) Work item 18777 - Error in PHPEXCEL/Calculation.php script on line 2976 (stack pop check)
|
||||||
- Bugfix: (MBaker) Work item 18794 - CSV files without a file extension being identified as HTML
|
- Bugfix: (MBaker) Work item 18794 - CSV files without a file extension being identified as HTML
|
||||||
- Bugfix: (AndreKR) Work item GH-66 - Wrong check for maximum number of rows in Excel5 Writer
|
- Bugfix: (AndreKR) Work item GH-66 - Wrong check for maximum number of rows in Excel5 Writer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user