src/PhpSpreadsheet/Reader/Xlsx/Chart.php 1 location
|
@@ 411-413 (lines=3) @@
|
408 |
|
$objText = $value->createTextRun((string) $titleDetailElement->t); |
409 |
|
} |
410 |
|
if (isset($titleDetailElement->rPr)) { |
411 |
|
if (isset($titleDetailElement->rPr->rFont['val'])) { |
412 |
|
$objText->getFont()->setName((string) $titleDetailElement->rPr->rFont['val']); |
413 |
|
} |
414 |
|
|
415 |
|
$fontSize = (self::getAttribute($titleDetailElement->rPr, 'sz', 'integer')); |
416 |
|
if (!is_null($fontSize)) { |
src/PhpSpreadsheet/Reader/Xlsx.php 1 location
|
@@ 2051-2053 (lines=3) @@
|
2048 |
|
} else { |
2049 |
|
$objText = $value->createTextRun(StringHelper::controlCharacterOOXML2PHP((string) $run->t)); |
2050 |
|
|
2051 |
|
if (isset($run->rPr->rFont['val'])) { |
2052 |
|
$objText->getFont()->setName((string) $run->rPr->rFont['val']); |
2053 |
|
} |
2054 |
|
if (isset($run->rPr->sz['val'])) { |
2055 |
|
$objText->getFont()->setSize((string) $run->rPr->sz['val']); |
2056 |
|
} |