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