2010-08-26 19:14:53 +00:00
|
|
|
<?php
|
2015-05-20 18:17:17 +00:00
|
|
|
|
2010-08-26 19:14:53 +00:00
|
|
|
/**
|
2015-05-20 18:17:17 +00:00
|
|
|
* PHPExcel_Reader_IReader
|
2010-08-26 19:14:53 +00:00
|
|
|
*
|
2015-05-02 22:50:37 +00:00
|
|
|
* Copyright (c) 2006 - 2015 PHPExcel
|
2010-08-26 19:14:53 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2012-03-03 21:09:50 +00:00
|
|
|
*
|
2010-08-26 19:14:53 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2012-03-03 21:09:50 +00:00
|
|
|
*
|
2010-08-26 19:14:53 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
* @category PHPExcel
|
|
|
|
* @package PHPExcel_Reader
|
2015-05-02 22:50:37 +00:00
|
|
|
* @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
|
2015-05-11 21:38:52 +00:00
|
|
|
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
2010-08-26 19:14:53 +00:00
|
|
|
* @version ##VERSION##, ##DATE##
|
|
|
|
*/
|
|
|
|
interface PHPExcel_Reader_IReader
|
|
|
|
{
|
2015-05-11 21:38:52 +00:00
|
|
|
/**
|
|
|
|
* Can the current PHPExcel_Reader_IReader read the file?
|
|
|
|
*
|
|
|
|
* @param string $pFilename
|
|
|
|
* @return boolean
|
|
|
|
*/
|
|
|
|
public function canRead($pFilename);
|
2012-03-03 21:09:50 +00:00
|
|
|
|
2015-05-11 21:38:52 +00:00
|
|
|
/**
|
|
|
|
* Loads PHPExcel from file
|
|
|
|
*
|
|
|
|
* @param string $pFilename
|
2014-06-12 08:20:16 +00:00
|
|
|
* @return PHPExcel
|
2015-05-11 21:38:52 +00:00
|
|
|
* @throws PHPExcel_Reader_Exception
|
|
|
|
*/
|
|
|
|
public function load($pFilename);
|
2010-08-26 19:14:53 +00:00
|
|
|
}
|