src/PhpSpreadsheet/Reader/Excel2007.php 1 location
|
@@ 2080-2082 (lines=3) @@
|
2077 |
|
} else { |
2078 |
|
$objText = $value->createTextRun(\PhpSpreadsheet\Shared\StringHelper::controlCharacterOOXML2PHP((string) $run->t)); |
2079 |
|
|
2080 |
|
if (isset($run->rPr->rFont["val"])) { |
2081 |
|
$objText->getFont()->setName((string) $run->rPr->rFont["val"]); |
2082 |
|
} |
2083 |
|
if (isset($run->rPr->sz["val"])) { |
2084 |
|
$objText->getFont()->setSize((string) $run->rPr->sz["val"]); |
2085 |
|
} |
src/PhpSpreadsheet/Reader/Excel2007/Chart.php 1 location
|
@@ 396-398 (lines=3) @@
|
393 |
|
$objText = $value->createTextRun((string) $titleDetailElement->t); |
394 |
|
} |
395 |
|
if (isset($titleDetailElement->rPr)) { |
396 |
|
if (isset($titleDetailElement->rPr->rFont["val"])) { |
397 |
|
$objText->getFont()->setName((string) $titleDetailElement->rPr->rFont["val"]); |
398 |
|
} |
399 |
|
|
400 |
|
$fontSize = (self::getAttribute($titleDetailElement->rPr, 'sz', 'integer')); |
401 |
|
if (!is_null($fontSize)) { |