src/PhpSpreadsheet/Reader/Xlsx.php 1 location
|
@@ 2058-2060 (lines=3) @@
|
2055 |
|
} else { |
2056 |
|
$objText = $value->createTextRun(StringHelper::controlCharacterOOXML2PHP((string) $run->t)); |
2057 |
|
|
2058 |
|
if (isset($run->rPr->rFont['val'])) { |
2059 |
|
$objText->getFont()->setName((string) $run->rPr->rFont['val']); |
2060 |
|
} |
2061 |
|
if (isset($run->rPr->sz['val'])) { |
2062 |
|
$objText->getFont()->setSize((string) $run->rPr->sz['val']); |
2063 |
|
} |
src/PhpSpreadsheet/Reader/Xlsx/Chart.php 1 location
|
@@ 438-440 (lines=3) @@
|
435 |
|
$objText = $value->createTextRun((string) $titleDetailElement->t); |
436 |
|
} |
437 |
|
if (isset($titleDetailElement->rPr)) { |
438 |
|
if (isset($titleDetailElement->rPr->rFont['val'])) { |
439 |
|
$objText->getFont()->setName((string) $titleDetailElement->rPr->rFont['val']); |
440 |
|
} |
441 |
|
|
442 |
|
$fontSize = (self::getAttribute($titleDetailElement->rPr, 'sz', 'integer')); |
443 |
|
if ($fontSize !== null) { |