@@ 1096-1101 (lines=6) @@ | ||
1093 | if (!empty($this->cellNotes)) { |
|
1094 | foreach ($this->cellNotes as $note => $noteDetails) { |
|
1095 | if (!isset($noteDetails['objTextData'])) { |
|
1096 | if (isset($this->textObjects[$note])) { |
|
1097 | $textObject = $this->textObjects[$note]; |
|
1098 | $noteDetails['objTextData'] = $textObject; |
|
1099 | } else { |
|
1100 | $noteDetails['objTextData']['text'] = ''; |
|
1101 | } |
|
1102 | } |
|
1103 | $cellAddress = str_replace('$', '', $noteDetails['cellRef']); |
|
1104 | $this->phpSheet->getComment($cellAddress)->setAuthor($noteDetails['author'])->setText($this->parseRichText($noteDetails['objTextData']['text'])); |
|
@@ 1024-1027 (lines=4) @@ | ||
1021 | if (isset($this->cellNotes[$obj['idObjID']])) { |
|
1022 | $cellNote = $this->cellNotes[$obj['idObjID']]; |
|
1023 | ||
1024 | if (isset($this->textObjects[$obj['idObjID']])) { |
|
1025 | $textObject = $this->textObjects[$obj['idObjID']]; |
|
1026 | $this->cellNotes[$obj['idObjID']]['objTextData'] = $textObject; |
|
1027 | } |
|
1028 | } |
|
1029 | break; |
|
1030 | case 0x08: |