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
|
@@ 2069-2071 (lines=3) @@
|
2066 |
|
} else { |
2067 |
|
$objText = $value->createTextRun(StringHelper::controlCharacterOOXML2PHP((string) $run->t)); |
2068 |
|
|
2069 |
|
if (isset($run->rPr->rFont['val'])) { |
2070 |
|
$objText->getFont()->setName((string) $run->rPr->rFont['val']); |
2071 |
|
} |
2072 |
|
if (isset($run->rPr->sz['val'])) { |
2073 |
|
$objText->getFont()->setSize((string) $run->rPr->sz['val']); |
2074 |
|
} |