projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c2245c
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:30:03 +0000
(17:30 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:30:03 +0000
(17:30 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
a0da59b
..
e1ba011
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-299,7
+299,7
@@
class Pman_Core_SimpleExcel extends Pman
$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
- $
maxH
eight = 20;
+ $
h
eight = 20;
foreach($cfg['cols'] as $c => $col_cfg) {
foreach($cfg['cols'] as $c => $col_cfg) {
@@
-348,8
+348,8
@@
class Pman_Core_SimpleExcel extends Pman
// if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
// if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
- $
maxHeight = MAX(count($vv) * 20, $maxH
eight);;
- $worksheet->setRow($start_row+$r, $
maxH
eight);
+ $
height = MAX(count($vv) * 20, $h
eight);;
+ $worksheet->setRow($start_row+$r, $
h
eight);
// }
}
$this->start_row++;
// }
}
$this->start_row++;