projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1fc76b3
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:29:44 +0000
(17:29 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:29:44 +0000
(17:29 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
5047b3a
..
4f9ce9e
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-346,11
+346,11
@@
class Pman_Core_SimpleExcel extends Pman
$worksheet->write($start_row+$r, $c, $v, $format);
}
$worksheet->write($start_row+$r, $c, $v, $format);
}
- if(isset($col_cfg['autoHeight'])){
+
//
if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
$maxHeight = MAX(count($vv) * 20, $maxHeight);;
$worksheet->setRow($start_row+$r, $height);
$vv = explode("\n", $v);
$maxHeight = MAX(count($vv) * 20, $maxHeight);;
$worksheet->setRow($start_row+$r, $height);
- }
+
//
}
}
$this->start_row++;
}
$this->start_row++;