mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-25 01:31:26 +00:00
Bugfix: Work item 15421 - PHPExcel_ReferenceHelper::insertNewBefore() is missing an 'Update worksheet: comments' section
Solution, courtesy of MKunert git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69421 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
@@ -1941,6 +1941,19 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||
return $this->_comments;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set comments array for the entire sheet.
|
||||
*
|
||||
* @param array of PHPExcel_Comment
|
||||
* @return PHPExcel_Worksheet
|
||||
*/
|
||||
public function setComments($pValue = array())
|
||||
{
|
||||
$this->_comments = $pValue;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get comment for cell
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user