Bugfix: Work item 14831 - Style : applyFromArray() for 'allborders' not working
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64875 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
9cacc2fda7
commit
1238c6086d
|
@ -315,6 +315,12 @@ class PHPExcel_Style_Borders implements PHPExcel_IComparable
|
|||
if (array_key_exists('diagonaldirection', $pStyles)) {
|
||||
$this->setDiagonalDirection($pStyles['diagonaldirection']);
|
||||
}
|
||||
if (array_key_exists('allborders', $pStyles)) {
|
||||
$this->getLeft()->applyFromArray($pStyles['allborders']);
|
||||
$this->getRight()->applyFromArray($pStyles['allborders']);
|
||||
$this->getTop()->applyFromArray($pStyles['allborders']);
|
||||
$this->getBottom()->applyFromArray($pStyles['allborders']);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
throw new Exception("Invalid style array passed.");
|
||||
|
|
|
@ -57,6 +57,7 @@ Fixed in SVN:
|
|||
- Bugfix: (MBaker) Work item 14425 - Wrong exception message while deleting column
|
||||
- Bugfix: (MBaker) Work item 14679 - Formula evaluation fails with Japanese sheet refs
|
||||
- Bugfix: (MBaker) Work item 13559 - PHPExcel_Writer_PDF does not handle cell borders correctly
|
||||
- Bugfix: (MBaker) Work item 14831 - Style : applyFromArray() for 'allborders' not working
|
||||
- General: (MBaker) Applied patch 6609 - Removes a unnecessary loop through each cell when applying conditional formatting to a range.
|
||||
- General: (MBaker) Applied patch 7169 - Removed spurious PHP end tags (?>)
|
||||
- General: (MBaker) Improved performance (speed) and reduced memory overheads, particularly for the Writers, but across the whole library.
|
||||
|
|
Loading…
Reference in New Issue