| @@ 244-251 (lines=8) @@ | ||
| 241 | * @param string|null $fontName フォント名 |
|
| 242 | * @author hagiwara |
|
| 243 | */ |
|
| 244 | public function setFontName($col, $row, $sheetNo, $fontName) |
|
| 245 | { |
|
| 246 | if (is_null($fontName)) { |
|
| 247 | return; |
|
| 248 | } |
|
| 249 | $cellInfo = $this->cellInfo($col, $row); |
|
| 250 | $this->getFont($col, $row, $sheetNo)->setName($fontName); |
|
| 251 | } |
|
| 252 | ||
| 253 | /** |
|
| 254 | * setUnderline |
|
| @@ 280-287 (lines=8) @@ | ||
| 277 | * @param boolean|null $bold 太字を引くか |
|
| 278 | * @author hagiwara |
|
| 279 | */ |
|
| 280 | public function setFontBold($col, $row, $sheetNo, $bold) |
|
| 281 | { |
|
| 282 | if (is_null($bold)) { |
|
| 283 | return; |
|
| 284 | } |
|
| 285 | $cellInfo = $this->cellInfo($col, $row); |
|
| 286 | $this->getFont($col, $row, $sheetNo)->setBold($bold); |
|
| 287 | } |
|
| 288 | ||
| 289 | /** |
|
| 290 | * setItalic |
|
| @@ 352-359 (lines=8) @@ | ||
| 349 | * @param integer|null $size |
|
| 350 | * @author hagiwara |
|
| 351 | */ |
|
| 352 | public function setSize($col, $row, $sheetNo, $size) |
|
| 353 | { |
|
| 354 | if (is_null($size)) { |
|
| 355 | return; |
|
| 356 | } |
|
| 357 | $cellInfo = $this->cellInfo($col, $row); |
|
| 358 | $this->getFont($col, $row, $sheetNo)->setSize($size); |
|
| 359 | } |
|
| 360 | ||
| 361 | private function getFont($col, $row, $sheetNo) |
|
| 362 | { |
|