@@ 1459-1468 (lines=10) @@ | ||
1456 | if ($xfrm) { |
|
1457 | $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($xfrm->attributes(), "rot"))); |
|
1458 | } |
|
1459 | if ($outerShdw) { |
|
1460 | $shadow = $objDrawing->getShadow(); |
|
1461 | $shadow->setVisible(true); |
|
1462 | $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "blurRad"))); |
|
1463 | $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "dist"))); |
|
1464 | $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($outerShdw->attributes(), "dir"))); |
|
1465 | $shadow->setAlignment((string) self::array_item($outerShdw->attributes(), "algn")); |
|
1466 | $shadow->getColor()->setRGB(self::array_item($outerShdw->srgbClr->attributes(), "val")); |
|
1467 | $shadow->setAlpha(self::array_item($outerShdw->srgbClr->alpha->attributes(), "val") / 1000); |
|
1468 | } |
|
1469 | $objDrawing->setWorksheet($docSheet); |
|
1470 | } else { |
|
1471 | $coordinates = PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1); |
|
@@ 1500-1509 (lines=10) @@ | ||
1497 | if ($xfrm) { |
|
1498 | $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($xfrm->attributes(), "rot"))); |
|
1499 | } |
|
1500 | if ($outerShdw) { |
|
1501 | $shadow = $objDrawing->getShadow(); |
|
1502 | $shadow->setVisible(true); |
|
1503 | $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "blurRad"))); |
|
1504 | $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "dist"))); |
|
1505 | $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($outerShdw->attributes(), "dir"))); |
|
1506 | $shadow->setAlignment((string) self::array_item($outerShdw->attributes(), "algn")); |
|
1507 | $shadow->getColor()->setRGB(self::array_item($outerShdw->srgbClr->attributes(), "val")); |
|
1508 | $shadow->setAlpha(self::array_item($outerShdw->srgbClr->alpha->attributes(), "val") / 1000); |
|
1509 | } |
|
1510 | $objDrawing->setWorksheet($docSheet); |
|
1511 | } elseif($this->_includeCharts) { |
|
1512 | $fromCoordinate = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1); |