| @@ 371-378 (lines=8) @@ | ||
| 368 | * typeはgetAlignHolizonalType参照 |
|
| 369 | * @author hagiwara |
|
| 370 | */ |
|
| 371 | public function setAlignHolizonal($col, $row, $sheetNo, $type) |
|
| 372 | { |
|
| 373 | if (is_null($type)) { |
|
| 374 | return; |
|
| 375 | } |
|
| 376 | $cellInfo = $this->cellInfo($col, $row); |
|
| 377 | $this->getSheet($sheetNo)->getStyle($cellInfo)->getAlignment()->setHorizontal($this->getAlignHolizonalType($type)); |
|
| 378 | } |
|
| 379 | ||
| 380 | /** |
|
| 381 | * setAlignVertical |
|
| @@ 390-397 (lines=8) @@ | ||
| 387 | * typeはgetAlignVerticalType参照 |
|
| 388 | * @author hagiwara |
|
| 389 | */ |
|
| 390 | public function setAlignVertical($col, $row, $sheetNo, $type) |
|
| 391 | { |
|
| 392 | if (is_null($type)) { |
|
| 393 | return; |
|
| 394 | } |
|
| 395 | $cellInfo = $this->cellInfo($col, $row); |
|
| 396 | $this->getSheet($sheetNo)->getStyle($cellInfo)->getAlignment()->setVertical($this->getAlignVerticalType($type)); |
|
| 397 | } |
|
| 398 | ||
| 399 | /** |
|
| 400 | * setBorder |
|