src/PhpSpreadsheet/Reader/Excel2007/Chart.php 1 location
|
@@ 405-407 (lines=3) @@
|
402 |
|
$objText = $value->createTextRun((string) $titleDetailElement->t); |
403 |
|
} |
404 |
|
if (isset($titleDetailElement->rPr)) { |
405 |
|
if (isset($titleDetailElement->rPr->rFont['val'])) { |
406 |
|
$objText->getFont()->setName((string) $titleDetailElement->rPr->rFont['val']); |
407 |
|
} |
408 |
|
|
409 |
|
$fontSize = (self::getAttribute($titleDetailElement->rPr, 'sz', 'integer')); |
410 |
|
if (!is_null($fontSize)) { |
src/PhpSpreadsheet/Reader/Excel2007.php 1 location
|
@@ 2030-2032 (lines=3) @@
|
2027 |
|
} else { |
2028 |
|
$objText = $value->createTextRun(\PhpOffice\PhpSpreadsheet\Shared\StringHelper::controlCharacterOOXML2PHP((string) $run->t)); |
2029 |
|
|
2030 |
|
if (isset($run->rPr->rFont['val'])) { |
2031 |
|
$objText->getFont()->setName((string) $run->rPr->rFont['val']); |
2032 |
|
} |
2033 |
|
if (isset($run->rPr->sz['val'])) { |
2034 |
|
$objText->getFont()->setSize((string) $run->rPr->sz['val']); |
2035 |
|
} |