modifs.mineures sans commentaires
This commit is contained in:
parent
acb643d4dc
commit
7a8a699294
|
@ -73,6 +73,10 @@ class SsBuilder extends AbstractBuilder {
|
||||||
}
|
}
|
||||||
if ($styleHeader) {
|
if ($styleHeader) {
|
||||||
$ws->getStyle("$nrow:$nrow")->getFont()->setBold(true);
|
$ws->getStyle("$nrow:$nrow")->getFont()->setBold(true);
|
||||||
|
$maxcol = count($row);
|
||||||
|
for ($ncol = 1; $ncol <= $maxcol; $ncol++) {
|
||||||
|
$ws->getColumnDimensionByColumn($ncol)->setAutoSize(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue