Feature: Allow call to font setUnderline() for underline format to specify a simple boolean for UNDERLINE_NONE or UNDERLINE_SINGLE
This commit is contained in:
parent
f2bfda68e9
commit
4c88a30abd
|
@ -504,6 +504,9 @@ class PHPExcel_Style_Font implements PHPExcel_IComparable
|
|||
* @return PHPExcel_Style_Font
|
||||
*/
|
||||
public function setUnderline($pValue = PHPExcel_Style_Font::UNDERLINE_NONE) {
|
||||
if (is_bool($pValue)) {
|
||||
$pValue = ($pValue) ? PHPExcel_Style_Font::UNDERLINE_SINGLE : PHPExcel_Style_Font::UNDERLINE_NONE;
|
||||
}
|
||||
if ($pValue == '') {
|
||||
$pValue = PHPExcel_Style_Font::UNDERLINE_NONE;
|
||||
}
|
||||
|
|
|
@ -86,6 +86,7 @@ Fixed in develop branch:
|
|||
The new setExcelCompatibility(TRUE) option for the CSV Writer will generate files with this formatting for easy import into Excel2007 and below.
|
||||
- Feature: (MBaker) Language implementations for Turkish (tr)
|
||||
- Feature: (MBaker) Added fraction tests to advanced value binder
|
||||
- Feature: (MBaker) Allow call to font setUnderline() for underline format to specify a simple boolean for UNDERLINE_NONE or UNDERLINE_SINGLE
|
||||
- General: (alexgann) Add Currency detection to the Advanced Value Binder
|
||||
- General: (MBaker) Work item 18404 - setCellValueExplicitByColumnAndRow() do not return PHPExcel_Worksheet
|
||||
- General: (MBaker) Work item 18324 - Reader factory doesn't read anymore XLTX and XLT files
|
||||
|
|
Loading…
Reference in New Issue