@@ 561-570 (lines=10) @@ | ||
558 | $this->_sheets = array(); |
|
559 | ||
560 | // Parse Workbook Global Substream |
|
561 | while ($this->_pos < $this->_dataSize) { |
|
562 | $code = self::_GetInt2d($this->_data, $this->_pos); |
|
563 | ||
564 | switch ($code) { |
|
565 | case self::XLS_Type_BOF: $this->_readBof(); break; |
|
566 | case self::XLS_Type_SHEET: $this->_readSheet(); break; |
|
567 | case self::XLS_Type_EOF: $this->_readDefault(); break 2; |
|
568 | default: $this->_readDefault(); break; |
|
569 | } |
|
570 | } |
|
571 | ||
572 | foreach ($this->_sheets as $sheet) { |
|
573 | if ($sheet['sheetType'] != 0x00) { |
|
@@ 611-620 (lines=10) @@ | ||
608 | $this->_sheets = array(); |
|
609 | ||
610 | // Parse Workbook Global Substream |
|
611 | while ($this->_pos < $this->_dataSize) { |
|
612 | $code = self::_GetInt2d($this->_data, $this->_pos); |
|
613 | ||
614 | switch ($code) { |
|
615 | case self::XLS_Type_BOF: $this->_readBof(); break; |
|
616 | case self::XLS_Type_SHEET: $this->_readSheet(); break; |
|
617 | case self::XLS_Type_EOF: $this->_readDefault(); break 2; |
|
618 | default: $this->_readDefault(); break; |
|
619 | } |
|
620 | } |
|
621 | ||
622 | // Parse the individual sheets |
|
623 | foreach ($this->_sheets as $sheet) { |