@@ -583,7 +583,7 @@ |
||
583 | 583 | while ($iterator->valid()) { |
584 | 584 | $aDrawings[] = $iterator->current(); |
585 | 585 | |
586 | - $iterator->next(); |
|
586 | + $iterator->next(); |
|
587 | 587 | } |
588 | 588 | } |
589 | 589 |
@@ -48,12 +48,12 @@ discard block |
||
48 | 48 | // XML header |
49 | 49 | $objWriter->startDocument('1.0', 'UTF-8', 'yes'); |
50 | 50 | |
51 | - // Comments cache |
|
52 | - $comments = $pWorksheet->getComments(); |
|
51 | + // Comments cache |
|
52 | + $comments = $pWorksheet->getComments(); |
|
53 | 53 | |
54 | - // Authors cache |
|
55 | - $authors = array(); |
|
56 | - $authorId = 0; |
|
54 | + // Authors cache |
|
55 | + $authors = array(); |
|
56 | + $authorId = 0; |
|
57 | 57 | foreach ($comments as $comment) { |
58 | 58 | if (!isset($authors[$comment->getAuthor()])) { |
59 | 59 | $authors[$comment->getAuthor()] = $authorId++; |
@@ -128,8 +128,8 @@ discard block |
||
128 | 128 | // XML header |
129 | 129 | $objWriter->startDocument('1.0', 'UTF-8', 'yes'); |
130 | 130 | |
131 | - // Comments cache |
|
132 | - $comments = $pWorksheet->getComments(); |
|
131 | + // Comments cache |
|
132 | + $comments = $pWorksheet->getComments(); |
|
133 | 133 | |
134 | 134 | // xml |
135 | 135 | $objWriter->startElement('xml'); |
@@ -190,11 +190,11 @@ discard block |
||
190 | 190 | */ |
191 | 191 | private function writeVMLComment(\PHPExcel\Shared\XMLWriter $objWriter = null, $pCellReference = 'A1', \PHPExcel\Comment $pComment = null) |
192 | 192 | { |
193 | - // Metadata |
|
194 | - list($column, $row) = \PHPExcel\Cell::coordinateFromString($pCellReference); |
|
195 | - $column = \PHPExcel\Cell::columnIndexFromString($column); |
|
196 | - $id = 1024 + $column + $row; |
|
197 | - $id = substr($id, 0, 4); |
|
193 | + // Metadata |
|
194 | + list($column, $row) = \PHPExcel\Cell::coordinateFromString($pCellReference); |
|
195 | + $column = \PHPExcel\Cell::columnIndexFromString($column); |
|
196 | + $id = 1024 + $column + $row; |
|
197 | + $id = substr($id, 0, 4); |
|
198 | 198 | |
199 | 199 | // v:shape |
200 | 200 | $objWriter->startElement('v:shape'); |