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:
Mark Baker
2011-02-25 22:57:22 +00:00
parent 901d20e6f9
commit 45fb4d84c1
3 changed files with 22 additions and 0 deletions
+13
View File
@@ -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
*