mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 21:36:05 +03:00
Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop
This commit is contained in:
commit
b8f783e5a3
@ -1,7 +1,5 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<project name="PHPExcel" default="release-standard" basedir=".">
|
<project name="PHPExcel" default="release-standard" basedir=".">
|
||||||
<taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2"/>
|
|
||||||
|
|
||||||
<target name="gather">
|
<target name="gather">
|
||||||
<if>
|
<if>
|
||||||
<isset property="${packageVersion}"/>
|
<isset property="${packageVersion}"/>
|
||||||
@ -152,6 +150,8 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="release-pear" depends="versionNumber">
|
<target name="release-pear" depends="versionNumber">
|
||||||
|
<taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2"/>
|
||||||
|
|
||||||
<mkdir dir="${phing.dir}/release"/>
|
<mkdir dir="${phing.dir}/release"/>
|
||||||
|
|
||||||
<echo msg="Creating PEAR release package (v${packageVersion})..."/>
|
<echo msg="Creating PEAR release package (v${packageVersion})..."/>
|
||||||
@ -213,4 +213,4 @@
|
|||||||
<echo msg="Cleaning build directory: ./build"/>
|
<echo msg="Cleaning build directory: ./build"/>
|
||||||
<delete dir="${phing.dir}/build"/>
|
<delete dir="${phing.dir}/build"/>
|
||||||
</target>
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
@ -35,7 +35,7 @@ if (PHP_SAPI == 'cli')
|
|||||||
die('This example should only be run from a Web Browser');
|
die('This example should only be run from a Web Browser');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Change these values to select the Rendering library that you wish to use
|
// Change these values to select the Rendering library that you wish to use
|
||||||
|
@ -35,7 +35,7 @@ if (PHP_SAPI == 'cli')
|
|||||||
die('This example should only be run from a Web Browser');
|
die('This example should only be run from a Web Browser');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ if (PHP_SAPI == 'cli')
|
|||||||
die('This example should only be run from a Web Browser');
|
die('This example should only be run from a Web Browser');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** Include PHPExcel_IOFactory */
|
/** Include PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Save Excel 2007 file
|
// Save Excel 2007 file
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite;
|
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite;
|
||||||
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3;
|
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3;
|
||||||
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip;
|
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip;
|
||||||
if (!PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {
|
if (!PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -34,7 +34,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel_IOFactory */
|
/** Include PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
if (!file_exists("05featuredemo.xlsx")) {
|
if (!file_exists("05featuredemo.xlsx")) {
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
echo date('H:i:s').' Create new PHPExcel object'.EOL;
|
echo date('H:i:s').' Create new PHPExcel object'.EOL;
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// List functions
|
// List functions
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Save Excel 95 file
|
// Save Excel 95 file
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -38,7 +38,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Write to CSV format" , EOL;
|
echo date('H:i:s') , " Write to CSV format" , EOL;
|
||||||
|
@ -38,7 +38,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Write to HTML format" , EOL;
|
echo date('H:i:s') , " Write to HTML format" , EOL;
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// List functions
|
// List functions
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel_IOFactory */
|
/** Include PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
if (!file_exists("14excel5.xls")) {
|
if (!file_exists("14excel5.xls")) {
|
||||||
|
@ -38,7 +38,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Change these values to select the Rendering library that you wish to use
|
// Change these values to select the Rendering library that you wish to use
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Check prerequisites
|
// Check prerequisites
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Change these values to select the PDF Rendering library that you wish to use
|
// Change these values to select the PDF Rendering library that you wish to use
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Read from Excel5 (.xls) template
|
// Read from Excel5 (.xls) template
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
if (!file_exists("05featuredemo.xlsx")) {
|
if (!file_exists("05featuredemo.xlsx")) {
|
||||||
|
@ -33,7 +33,7 @@ ini_set('display_startup_errors', TRUE);
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Set timezone
|
// Set timezone
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$inputFileType = 'Excel5';
|
$inputFileType = 'Excel5';
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$inputFileType = 'Excel2007';
|
$inputFileType = 'Excel2007';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -10,7 +10,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
echo date('H:i:s') , " Create new PHPExcel object" , EOL;
|
echo date('H:i:s') , " Create new PHPExcel object" , EOL;
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from Excel2003XML file" , PHP_EOL;
|
echo date('H:i:s') , " Load from Excel2003XML file" , PHP_EOL;
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from Gnumeric file" , PHP_EOL;
|
echo date('H:i:s') , " Load from Gnumeric file" , PHP_EOL;
|
||||||
$callStartTime = microtime(true);
|
$callStartTime = microtime(true);
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from OOCalc file" , PHP_EOL;
|
echo date('H:i:s') , " Load from OOCalc file" , PHP_EOL;
|
||||||
$callStartTime = microtime(true);
|
$callStartTime = microtime(true);
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h1>Quadratic Equation Solver</h1>
|
<h1>Quadratic Equation Solver</h1>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h1>Quadratic Equation Solver</h1>
|
<h1>Quadratic Equation Solver</h1>
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from SYLK file" , PHP_EOL;
|
echo date('H:i:s') , " Load from SYLK file" , PHP_EOL;
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from XML file" , PHP_EOL;
|
echo date('H:i:s') , " Load from XML file" , PHP_EOL;
|
||||||
|
@ -30,6 +30,7 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'ci');
|
|||||||
set_include_path(implode(PATH_SEPARATOR, array(
|
set_include_path(implode(PATH_SEPARATOR, array(
|
||||||
realpath(APPLICATION_PATH . '/../Classes'),
|
realpath(APPLICATION_PATH . '/../Classes'),
|
||||||
'./',
|
'./',
|
||||||
|
dirname(__FILE__),
|
||||||
get_include_path(),
|
get_include_path(),
|
||||||
)));
|
)));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user