diff --git a/Classes/PHPExcel/Reader/Excel2003XML.php b/Classes/PHPExcel/Reader/Excel2003XML.php index 2cf39734..1dd89d7e 100644 --- a/Classes/PHPExcel/Reader/Excel2003XML.php +++ b/Classes/PHPExcel/Reader/Excel2003XML.php @@ -58,13 +58,6 @@ class PHPExcel_Reader_Excel2003XML implements PHPExcel_Reader_IReader */ private $_loadSheetsOnly = null; - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - /** * Formats * @@ -521,6 +514,7 @@ class PHPExcel_Reader_Excel2003XML implements PHPExcel_Reader_IReader $worksheetID = 0; foreach($xml->Worksheet as $worksheet) { $worksheet_ss = $worksheet->attributes($namespaces['ss']); +// echo $worksheet_ss['Name'],'
'; if ((isset($this->_loadSheetsOnly)) && (isset($worksheet_ss['Name'])) && (!in_array($worksheet_ss['Name'], $this->_loadSheetsOnly))) { continue; @@ -709,23 +703,4 @@ class PHPExcel_Reader_Excel2003XML implements PHPExcel_Reader_IReader return $objPHPExcel; } - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_Excel2003XML - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } } diff --git a/Classes/PHPExcel/Reader/Gnumeric.php b/Classes/PHPExcel/Reader/Gnumeric.php index fbe30b99..aae491dd 100644 --- a/Classes/PHPExcel/Reader/Gnumeric.php +++ b/Classes/PHPExcel/Reader/Gnumeric.php @@ -58,13 +58,6 @@ class PHPExcel_Reader_Gnumeric implements PHPExcel_Reader_IReader */ private $_loadSheetsOnly = null; - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - /** * Formats * @@ -854,23 +847,4 @@ class PHPExcel_Reader_Gnumeric implements PHPExcel_Reader_IReader return $RGB; } - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_Gnumeric - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } } diff --git a/Classes/PHPExcel/Reader/OOCalc.php b/Classes/PHPExcel/Reader/OOCalc.php index 17a66c6a..8afdf42a 100644 --- a/Classes/PHPExcel/Reader/OOCalc.php +++ b/Classes/PHPExcel/Reader/OOCalc.php @@ -58,13 +58,6 @@ class PHPExcel_Reader_OOCalc implements PHPExcel_Reader_IReader */ private $_loadSheetsOnly = null; - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - /** * Formats * @@ -510,23 +503,4 @@ class PHPExcel_Reader_OOCalc implements PHPExcel_Reader_IReader return $objPHPExcel; } - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_OOCalc - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } }