mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 13:26:07 +03:00
namespace updates
This commit is contained in:
parent
143d52ab4e
commit
f92cd96d6d
@ -2243,7 +2243,7 @@ class Worksheet implements IComparable
|
||||
*/
|
||||
public function getCommentByColumnAndRow($pColumn = 0, $pRow = 1)
|
||||
{
|
||||
return $this->getComment(PHPExcel\Cell::stringFromColumnIndex($pColumn) . $pRow);
|
||||
return $this->getComment(Cell::stringFromColumnIndex($pColumn) . $pRow);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -19,7 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* @category PHPExcel
|
||||
* @package PHPExcel_Worksheet
|
||||
* @package PHPExcel\Worksheet
|
||||
* @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
|
||||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version ##VERSION##, ##DATE##
|
||||
@ -29,7 +29,7 @@
|
||||
namespace PHPExcel;
|
||||
|
||||
/**
|
||||
* PHPExcel_Worksheet_Protection
|
||||
* PHPExcel\Worksheet_Protection
|
||||
*
|
||||
* @category PHPExcel
|
||||
* @package PHPExcel\Worksheet
|
||||
|
@ -33,8 +33,8 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||
|
||||
date_default_timezone_set('Europe/London');
|
||||
|
||||
/** Include PHPExcel_IOFactory */
|
||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
||||
/** Include PHPExcel Bootstrap */
|
||||
require_once '../Classes/Bootstrap.php';
|
||||
|
||||
|
||||
if (!file_exists("05featuredemo.xlsx")) {
|
||||
@ -44,7 +44,7 @@ if (!file_exists("05featuredemo.xlsx")) {
|
||||
echo date('H:i:s') , " Load from Excel2007 file" , EOL;
|
||||
$callStartTime = microtime(true);
|
||||
|
||||
$objPHPExcel = PHPExcel_IOFactory::load("05featuredemo.xlsx");
|
||||
$objPHPExcel = PHPExcel\IOFactory::load("05featuredemo.xlsx");
|
||||
|
||||
$callEndTime = microtime(true);
|
||||
$callTime = $callEndTime - $callStartTime;
|
||||
@ -56,7 +56,7 @@ echo date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024
|
||||
echo date('H:i:s') , " Write to Excel2007 format" , EOL;
|
||||
$callStartTime = microtime(true);
|
||||
|
||||
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
|
||||
$objWriter = PHPExcel\IOFactory::createWriter($objPHPExcel, 'Excel2007');
|
||||
$objWriter->save(str_replace('.php', '.xlsx', __FILE__));
|
||||
|
||||
$callEndTime = microtime(true);
|
||||
|
Loading…
Reference in New Issue
Block a user