@@ 304-306 (lines=3) @@ | ||
301 | case 'href': |
|
302 | // echo 'Link to ' , $attributeValue , '<br />'; |
|
303 | $sheet->getCell($column . $row)->getHyperlink()->setUrl($attributeValue); |
|
304 | if (isset($this->formats[$child->nodeName])) { |
|
305 | $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]); |
|
306 | } |
|
307 | break; |
|
308 | } |
|
309 | } |
|
@@ 339-341 (lines=3) @@ | ||
336 | // echo 'END OF PARAGRAPH:' , '<br />'; |
|
337 | $this->flushCell($sheet, $column, $row, $cellContent); |
|
338 | ||
339 | if (isset($this->formats[$child->nodeName])) { |
|
340 | $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]); |
|
341 | } |
|
342 | ||
343 | $row++; |
|
344 | $column = 'A'; |
@@ 403-405 (lines=3) @@ | ||
400 | } |
|
401 | if (($formatStyle > '') && ($column > '') && ($row > '')) { |
|
402 | $columnLetter = \PhpSpreadsheet\Cell::stringFromColumnIndex($column-1); |
|
403 | if (isset($this->formats[$formatStyle])) { |
|
404 | $spreadsheet->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($this->formats[$formatStyle]); |
|
405 | } |
|
406 | } |
|
407 | if ((!empty($styleData)) && ($column > '') && ($row > '')) { |
|
408 | $columnLetter = \PhpSpreadsheet\Cell::stringFromColumnIndex($column-1); |