[
  {
    "path": ".gitattributes",
    "content": "/Build export-ignore\n/unitTests export-ignore\nREADME.md export-ignore\n"
  },
  {
    "path": ".gitignore",
    "content": "build/PHPExcel.phar\nunitTests/codeCoverage\nanalysis\n\n## IDE support\n*.buildpath\n*.project\n/.settings\n/.idea\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: php\n\nphp:\n  - 5.4\n  - 5.5\n  - 5.6\n  - 7.0\n  - hhvm\n \nmatrix:\n  allow_failures:\n    - php: hhvm\n\nbefore_script:\n  ## Packages\n  - sudo apt-get -qq update > /dev/null\n  ## Composer\n  - composer self-update\n  - composer install --prefer-source --dev\n  - phpenv global \"$TRAVIS_PHP_VERSION\"\n\nscript:\n  ## PHP_CodeSniffer\n  - ./vendor/bin/phpcs --report-width=200 --report-summary  --report-full Classes/ unitTests/ --standard=PSR2 -n\n  ## PHPUnit\n  - phpunit -c ./unitTests/\n\nnotifications:\n  email: false\n"
  },
  {
    "path": "Build/PharStub.php",
    "content": "<?php\r\nspl_autoload_register(function ($class) {\r\n    include 'phar://PHPExcel/' . str_replace('_', '/', $class) . '.php';\r\n});\r\n\r\ntry {\r\n    Phar::mapPhar();\r\n    include 'phar://PHPExcel/PHPExcel.php';\r\n} catch (PharException $e) {\r\n    error_log($e->getMessage());\r\n    exit(1);\r\n}\r\n\r\n__HALT_COMPILER();"
  },
  {
    "path": "Build/build-release-documentation.bat",
    "content": "@ECHO OFF\r\nphing -f build.xml release-documentation"
  },
  {
    "path": "Build/build-release-pear.bat",
    "content": "@ECHO OFF\r\nphing -f build.xml release-pear"
  },
  {
    "path": "Build/build-release-phar.bat",
    "content": "@ECHO OFF\r\nphing -f build.xml release-phar"
  },
  {
    "path": "Build/build-release-standard.bat",
    "content": "@ECHO OFF\r\nphing -f build.xml release-standard"
  },
  {
    "path": "Build/build.xml",
    "content": "<?xml version=\"1.0\"?>\r\n<project name=\"PHPExcel\" default=\"release-standard\" basedir=\".\">\r\n    <target name=\"gather\">\r\n        <if>\r\n\t\t\t<isset property=\"${packageVersion}\"/>\r\n\t\t\t<then>\r\n\t\t\t\t<echo message=\"PHPExcel version number is ${packageVersion}\" />\r\n\t\t\t</then>\r\n\t\t\t<else>\r\n\t\t\t\t<propertyprompt propertyName=\"packageVersion\" defaultValue=\"1.0.0\"\r\n\t\t\t\t\t\t\t\tpromptText=\"Enter PHPExcel version number\"/>\r\n\t\t\t</else>\r\n        </if>\r\n\r\n        <if>\r\n\t\t\t<isset property=\"${releaseDate}\"/>\r\n\t\t\t<then>\r\n\t\t\t\t<echo message=\"Release date is ${releaseDate}\" />\r\n\t\t\t</then>\r\n\t\t\t<else>\r\n\t\t\t\t<propertyprompt propertyName=\"releaseDate\" defaultValue=\"2010-01-01\"\r\n\t\t\t\t\t\t\t\tpromptText=\"Enter PHPExcel release date\"/>\r\n\t\t\t</else>\r\n        </if>\r\n\r\n        <if>\r\n\t\t\t<isset property=\"${documentFormat}\"/>\r\n\t\t\t<then>\r\n\t\t\t\t<echo message=\"Document Format is ${documentFormat}\" />\r\n\t\t\t</then>\r\n\t\t\t<else>\r\n\t\t\t\t<propertyprompt propertyName=\"documentFormat\" defaultValue=\"doc\"\r\n\t\t\t\t\t\t\t\tpromptText=\"Enter Document Format\"/>\r\n\t\t\t</else>\r\n        </if>\r\n    </target>\r\n\r\n    <target name=\"prepare\" depends=\"gather\">\r\n        <echo msg=\"Creating build directory: ./build\"/>\r\n        <mkdir dir=\"${phing.dir}/build\"/>\r\n    </target>\r\n\r\n    <target name=\"build\" depends=\"prepare\">\r\n        <echo msg=\"Copying source files to build directory...\"/>\r\n\r\n        <copy todir=\"${phing.dir}/build/Classes\" overwrite=\"true\">\r\n            <fileset dir=\"${phing.dir}/../Classes\">\r\n                <include name=\"**/*\"/>\r\n            </fileset>\r\n        </copy>\r\n\r\n        <copy todir=\"${phing.dir}/build/Examples\" overwrite=\"true\">\r\n            <fileset dir=\"${phing.dir}/../Examples\">\r\n                <include name=\"**/*\"/>\r\n            </fileset>\r\n        </copy>\r\n\r\n        <copy todir=\"${phing.dir}/build/Documentation\" overwrite=\"true\">\r\n            <fileset dir=\"${phing.dir}/../Documentation\">\r\n                <include name=\"*.${documentFormat}\"/>\r\n                <include name=\"*.txt\"/>\r\n            </fileset>\r\n        </copy>\r\n        <mkdir dir=\"${phing.dir}/build/Documentation/API\"/>\r\n\r\n        <copy todir=\"${phing.dir}/build/Documentation/Examples\" overwrite=\"true\">\r\n            <fileset dir=\"${phing.dir}/../Documentation/Examples\">\r\n                <include name=\"**/*\"/>\r\n                <exclude name=\"assets\"/>\r\n            </fileset>\r\n        </copy>\r\n\r\n        <copy file=\"${phing.dir}/../changelog.txt\" tofile=\"${phing.dir}/build/changelog.txt\" overwrite=\"true\"/>\r\n        <copy file=\"${phing.dir}/../license.md\" tofile=\"${phing.dir}/build/license.txt\" overwrite=\"true\"/>\r\n        <copy file=\"${phing.dir}/../install.txt\" tofile=\"${phing.dir}/build/install.txt\" overwrite=\"true\"/>\r\n    </target>\r\n\r\n    <target name=\"versionNumber\" depends=\"build\">\r\n        <reflexive>\r\n            <fileset dir=\"${phing.dir}/build\">\r\n                <include pattern=\"**/*\"/>\r\n            </fileset>\r\n            <filterchain>\r\n                <replaceregexp>\r\n                    <regexp pattern=\"##VERSION##\" replace=\"${packageVersion}\"/>\r\n                    <regexp pattern=\"##DATE##\" replace=\"${releaseDate}\"/>\r\n                </replaceregexp>\r\n            </filterchain>\r\n        </reflexive>\r\n\r\n        <reflexive>\r\n            <fileset dir=\"${phing.dir}/build\">\r\n                <include pattern=\"**/changelog.txt\"/>\r\n            </fileset>\r\n            <filterchain>\r\n                <replaceregexp>\r\n                    <regexp pattern=\"Fixed in develop branch for release v${packageVersion}\" replace=\"${releaseDate} (v${packageVersion})\"/>\r\n                </replaceregexp>\r\n            </filterchain>\r\n        </reflexive>\r\n    </target>\r\n\r\n    <target name=\"apidocs\" depends=\"versionNumber\">\r\n        <echo msg=\"Generating API documentation...\"/>\r\n        <phpdoc2 title=\"PHPExcel classes\"\r\n                 destdir=\"${phing.dir}/build/Documentation/API\"\r\n\t\t\t\t template=\"responsive\">\r\n            <fileset dir=\"${phing.dir}/build/Classes\">\r\n                <include name=\"**/*.php\"/>\r\n            </fileset>\r\n        </phpdoc2>\r\n    </target>\r\n\r\n    <target name=\"release-standard\" depends=\"apidocs\">\r\n        <mkdir dir=\"${phing.dir}/release\"/>\r\n\r\n        <echo msg=\"Creating release package (v${packageVersion} with ${documentFormat} documents)...\"/>\r\n        <zip destfile=\"${phing.dir}/release/PHPExcel_${packageVersion}_${documentFormat}.zip\">\r\n            <fileset dir=\"${phing.dir}/build\">\r\n                <include name=\"**/*\"/>\r\n            </fileset>\r\n        </zip>\r\n\r\n        <echo msg=\"Cleaning build directory: ./build\"/>\r\n        <delete dir=\"${phing.dir}/build\"/>\r\n    </target>\r\n\r\n    <target name=\"release-phar\" depends=\"versionNumber\">\r\n        <mkdir dir=\"${phing.dir}/release\"/>\r\n\r\n        <echo msg=\"Creating PHAR release package (v${packageVersion})...\"/>\r\n        <pharpackage destfile=\"${phing.dir}/release/PHPExcel_${packageVersion}.phar\" basedir=\"${phing.dir}/build/Classes\" compression=\"gzip\" stub=\"${phing.dir}/PharStub.php\">\r\n            <fileset dir=\"${phing.dir}/build/Classes\">\r\n                <include name=\"**/**\" />\r\n            </fileset>\r\n            <metadata>\r\n                <element name=\"version\" value=\"${packageVersion}\" />\r\n                <element name=\"date\" value=\"${releaseDate}\" />\r\n                <element name=\"description\" value=\"A pure PHP library for reading and writing spreadsheet files\" />\r\n                <element name=\"authors\">\r\n                    <element name=\"Mark Baker\">\r\n                        <element name=\"e-mail\" value=\"mark@lange.demon.co.uk\" />\r\n                    </element>\r\n                </element>\r\n            </metadata>\r\n        </pharpackage>\r\n\r\n        <echo msg=\"Cleaning build directory: ./build\"/>\r\n        <delete dir=\"${phing.dir}/build\"/>\r\n    </target>\r\n\r\n    <target name=\"release-pear\" depends=\"versionNumber\">\r\n        <taskdef classname=\"phing.tasks.ext.d51PearPkg2Task\" name=\"d51pearpkg2\"/>\r\n\r\n        <mkdir dir=\"${phing.dir}/release\"/>\r\n\r\n        <echo msg=\"Creating PEAR release package (v${packageVersion})...\"/>\r\n\r\n        <d51pearpkg2 dir=\"${phing.dir}/build/Classes\" baseinstalldir=\"PHPExcel\">\r\n            <name>PHPExcel</name>\r\n            <summary>PHP Excel classes</summary>\r\n            <channel>pear.pearplex.net</channel>\r\n            <description>Project providing a set of classes for the PHP programming language, which allow you to write\r\n                to Excel 2007 files and read from Excel 2007 files.\r\n            </description>\r\n            <notes>This package ONLY contains the class files, not the documentation and example code. Please refer to\r\n                http://www.codeplex.com/PHPExcel for those files.\r\n            </notes>\r\n            <lead user=\"maartenba\" name=\"Maarten Balliauw\" email=\"maarten@phpexcel.net\"/>\r\n            <license uri=\"http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\">LGPL</license>\r\n            <version release=\"${packageVersion}\" api=\"${packageVersion}\"/>\r\n            <stability release=\"stable\" api=\"stable\"/>\r\n            <dependencies>\r\n                <php minimum_version=\"5.2.0\"/>\r\n                <pear minimum_version=\"1.4.0\"/>\r\n                <extension name=\"zip\" minimum_version=\"1.8.0\"/>\r\n            </dependencies>\r\n            <dirroles key=\"PHPExcel/Shared/PDF/fonts\">data</dirroles>\r\n            <dirroles key=\"PHPExcel/Shared/PDF/fonts/utils\">data</dirroles>\r\n            <dirroles key=\"/PHPExcel/Shared/PDF/fonts/utils\">data</dirroles>\r\n        </d51pearpkg2>\r\n\r\n        <exec command=\"pear package ${phing.dir}/build/Classes/package.xml\"/>\r\n        <move file=\"PHPExcel-${packageVersion}.tgz\" tofile=\"${phing.dir}/release/PHPExcel-${packageVersion}.tgz\" overwrite=\"true\"/>\r\n\r\n        <echo msg=\"Cleaning build directory: ./build\"/>\r\n        <delete dir=\"${phing.dir}/build\"/>\r\n    </target>\r\n\r\n    <target name=\"release-documentation\" depends=\"gather\">\r\n        <mkdir dir=\"${phing.dir}/release\"/>\r\n\r\n        <echo msg=\"Creating documentation release (v${packageVersion} with ${documentFormat} documents)...\"/>\r\n        <copy todir=\"${phing.dir}/build\" overwrite=\"true\">\r\n            <fileset dir=\"${phing.dir}/../Documentation\">\r\n                <include name=\"*.${documentFormat}\"/>\r\n                <include name=\"*.txt\"/>\r\n            </fileset>\r\n        </copy>\r\n        <copy todir=\"${phing.dir}/build/Examples\" overwrite=\"true\">\r\n            <fileset dir=\"${phing.dir}/../Documentation/Examples\">\r\n                <include name=\"**/*\"/>\r\n            </fileset>\r\n        </copy>\r\n\r\n        <echo msg=\"Creating documentation release package (v${packageVersion} with ${documentFormat} documents)...\"/>\r\n        <zip destfile=\"${phing.dir}/release/PHPExcel_${packageVersion}-documentation_${documentFormat}.zip\">\r\n            <fileset dir=\"${phing.dir}/build\">\r\n                <include name=\"**/*\"/>\r\n            </fileset>\r\n        </zip>\r\n\r\n        <echo msg=\"Cleaning build directory: ./build\"/>\r\n        <delete dir=\"${phing.dir}/build\"/>\r\n    </target>\r\n</project>\r\n"
  },
  {
    "path": "Classes/PHPExcel/Autoloader.php",
    "content": "<?php\n\nPHPExcel_Autoloader::register();\n//    As we always try to run the autoloader before anything else, we can use it to do a few\n//        simple checks and initialisations\n//PHPExcel_Shared_ZipStreamWrapper::register();\n// check mbstring.func_overload\nif (ini_get('mbstring.func_overload') & 2) {\n    throw new PHPExcel_Exception('Multibyte function overloading in PHP must be disabled for string functions (2).');\n}\nPHPExcel_Shared_String::buildCharacterSets();\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Autoloader\n{\n    /**\n     * Register the Autoloader with SPL\n     *\n     */\n    public static function register()\n    {\n        if (function_exists('__autoload')) {\n            // Register any existing autoloader function with SPL, so we don't get any clashes\n            spl_autoload_register('__autoload');\n        }\n        // Register ourselves with SPL\n        if (version_compare(PHP_VERSION, '5.3.0') >= 0) {\n            return spl_autoload_register(array('PHPExcel_Autoloader', 'load'), true, true);\n        } else {\n            return spl_autoload_register(array('PHPExcel_Autoloader', 'load'));\n        }\n    }\n\n    /**\n     * Autoload a class identified by name\n     *\n     * @param    string    $pClassName        Name of the object to load\n     */\n    public static function load($pClassName)\n    {\n        if ((class_exists($pClassName, false)) || (strpos($pClassName, 'PHPExcel') !== 0)) {\n            // Either already loaded, or not a PHPExcel class request\n            return false;\n        }\n\n        $pClassFilePath = PHPEXCEL_ROOT .\n            str_replace('_', DIRECTORY_SEPARATOR, $pClassName) .\n            '.php';\n\n        if ((file_exists($pClassFilePath) === false) || (is_readable($pClassFilePath) === false)) {\n            // Can't load\n            return false;\n        }\n\n        require($pClassFilePath);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/APC.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_APC\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_APC extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Prefix used to uniquely identify cache data for this worksheet\n     *\n     * @access    private\n     * @var string\n     */\n    private $cachePrefix = null;\n\n    /**\n     * Cache timeout\n     *\n     * @access    private\n     * @var integer\n     */\n    private $cacheTime = 600;\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @access  private\n     * @return  void\n     * @throws  PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            if (!apc_store(\n                $this->cachePrefix . $this->currentObjectID . '.cache',\n                serialize($this->currentObject),\n                $this->cacheTime\n            )) {\n                $this->__destruct();\n                throw new PHPExcel_Exception('Failed to store cell ' . $this->currentObjectID . ' in APC');\n            }\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @access  public\n     * @param   string         $pCoord  Coordinate address of the cell to update\n     * @param   PHPExcel_Cell  $cell    Cell to update\n     * @return  PHPExcel_Cell\n     * @throws  PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n        $this->cellCache[$pCoord] = true;\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n    /**\n     * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?\n     *\n     * @access  public\n     * @param   string  $pCoord  Coordinate address of the cell to check\n     * @throws  PHPExcel_Exception\n     * @return  boolean\n     */\n    public function isDataSet($pCoord)\n    {\n        //    Check if the requested entry is the current object, or exists in the cache\n        if (parent::isDataSet($pCoord)) {\n            if ($this->currentObjectID == $pCoord) {\n                return true;\n            }\n            //    Check if the requested entry still exists in apc\n            $success = apc_fetch($this->cachePrefix.$pCoord.'.cache');\n            if ($success === false) {\n                //    Entry no longer exists in APC, so clear it from the cache array\n                parent::deleteCacheData($pCoord);\n                throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in APC cache');\n            }\n            return true;\n        }\n        return false;\n    }\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @access  public\n     * @param   string         $pCoord  Coordinate of the cell\n     * @throws  PHPExcel_Exception\n     * @return  PHPExcel_Cell  Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (parent::isDataSet($pCoord)) {\n            $obj = apc_fetch($this->cachePrefix . $pCoord . '.cache');\n            if ($obj === false) {\n                //    Entry no longer exists in APC, so clear it from the cache array\n                parent::deleteCacheData($pCoord);\n                throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in APC cache');\n            }\n        } else {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = unserialize($obj);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n    /**\n     * Delete a cell in cache identified by coordinate address\n     *\n     * @access  public\n     * @param   string  $pCoord  Coordinate address of the cell to delete\n     * @throws  PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord)\n    {\n        //    Delete the entry from APC\n        apc_delete($this->cachePrefix.$pCoord.'.cache');\n\n        //    Delete the entry from our cell address array\n        parent::deleteCacheData($pCoord);\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @access  public\n     * @param   PHPExcel_Worksheet  $parent  The new worksheet\n     * @throws  PHPExcel_Exception\n     * @return  void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        parent::copyCellCollection($parent);\n        //    Get a new id for the new file name\n        $baseUnique = $this->getUniqueID();\n        $newCachePrefix = substr(md5($baseUnique), 0, 8) . '.';\n        $cacheList = $this->getCellList();\n        foreach ($cacheList as $cellID) {\n            if ($cellID != $this->currentObjectID) {\n                $obj = apc_fetch($this->cachePrefix . $cellID . '.cache');\n                if ($obj === false) {\n                    //    Entry no longer exists in APC, so clear it from the cache array\n                    parent::deleteCacheData($cellID);\n                    throw new PHPExcel_Exception('Cell entry ' . $cellID . ' no longer exists in APC');\n                }\n                if (!apc_store($newCachePrefix . $cellID . '.cache', $obj, $this->cacheTime)) {\n                    $this->__destruct();\n                    throw new PHPExcel_Exception('Failed to store cell ' . $cellID . ' in APC');\n                }\n            }\n        }\n        $this->cachePrefix = $newCachePrefix;\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return  void\n     */\n    public function unsetWorksheetCells()\n    {\n        if ($this->currentObject !== null) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n\n        //    Flush the APC cache\n        $this->__destruct();\n\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param  PHPExcel_Worksheet  $parent     The worksheet for this cell collection\n     * @param  array of mixed      $arguments  Additional initialisation arguments\n     */\n    public function __construct(PHPExcel_Worksheet $parent, $arguments)\n    {\n        $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600;\n\n        if ($this->cachePrefix === null) {\n            $baseUnique = $this->getUniqueID();\n            $this->cachePrefix = substr(md5($baseUnique), 0, 8) . '.';\n            $this->cacheTime = $cacheTime;\n\n            parent::__construct($parent);\n        }\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        $cacheList = $this->getCellList();\n        foreach ($cacheList as $cellID) {\n            apc_delete($this->cachePrefix . $cellID . '.cache');\n        }\n    }\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return  boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        if (!function_exists('apc_store')) {\n            return false;\n        }\n        if (apc_sma_info() === false) {\n            return false;\n        }\n\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/CacheBase.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_CacheBase\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_CachedObjectStorage_CacheBase\n{\n    /**\n     * Parent worksheet\n     *\n     * @var PHPExcel_Worksheet\n     */\n    protected $parent;\n\n    /**\n     * The currently active Cell\n     *\n     * @var PHPExcel_Cell\n     */\n    protected $currentObject = null;\n\n    /**\n     * Coordinate address of the currently active Cell\n     *\n     * @var string\n     */\n    protected $currentObjectID = null;\n\n    /**\n     * Flag indicating whether the currently active Cell requires saving\n     *\n     * @var boolean\n     */\n    protected $currentCellIsDirty = true;\n\n    /**\n     * An array of cells or cell pointers for the worksheet cells held in this cache,\n     *        and indexed by their coordinate address within the worksheet\n     *\n     * @var array of mixed\n     */\n    protected $cellCache = array();\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     */\n    public function __construct(PHPExcel_Worksheet $parent)\n    {\n        //    Set our parent worksheet.\n        //    This is maintained within the cache controller to facilitate re-attaching it to PHPExcel_Cell objects when\n        //        they are woken from a serialized state\n        $this->parent = $parent;\n    }\n\n    /**\n     * Return the parent worksheet for this cell collection\n     *\n     * @return    PHPExcel_Worksheet\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?\n     *\n     * @param    string        $pCoord        Coordinate address of the cell to check\n     * @return    boolean\n     */\n    public function isDataSet($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return true;\n        }\n        //    Check if the requested entry exists in the cache\n        return isset($this->cellCache[$pCoord]);\n    }\n\n    /**\n     * Move a cell object from one address to another\n     *\n     * @param    string        $fromAddress    Current address of the cell to move\n     * @param    string        $toAddress        Destination address of the cell to move\n     * @return    boolean\n     */\n    public function moveCell($fromAddress, $toAddress)\n    {\n        if ($fromAddress === $this->currentObjectID) {\n            $this->currentObjectID = $toAddress;\n        }\n        $this->currentCellIsDirty = true;\n        if (isset($this->cellCache[$fromAddress])) {\n            $this->cellCache[$toAddress] = &$this->cellCache[$fromAddress];\n            unset($this->cellCache[$fromAddress]);\n        }\n\n        return true;\n    }\n\n    /**\n     * Add or Update a cell in cache\n     *\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function updateCacheData(PHPExcel_Cell $cell)\n    {\n        return $this->addCacheData($cell->getCoordinate(), $cell);\n    }\n\n    /**\n     * Delete a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to delete\n     * @throws    PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID && !is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObjectID = $this->currentObject = null;\n        }\n\n        if (is_object($this->cellCache[$pCoord])) {\n            $this->cellCache[$pCoord]->detach();\n            unset($this->cellCache[$pCoord]);\n        }\n        $this->currentCellIsDirty = false;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return    string[]\n     */\n    public function getCellList()\n    {\n        return array_keys($this->cellCache);\n    }\n\n    /**\n     * Sort the list of all cell addresses currently held in cache by row and column\n     *\n     * @return    string[]\n     */\n    public function getSortedCellList()\n    {\n        $sortKeys = array();\n        foreach ($this->getCellList() as $coord) {\n            sscanf($coord, '%[A-Z]%d', $column, $row);\n            $sortKeys[sprintf('%09d%3s', $row, $column)] = $coord;\n        }\n        ksort($sortKeys);\n\n        return array_values($sortKeys);\n    }\n\n    /**\n     * Get highest worksheet column and highest row that have cell records\n     *\n     * @return array Highest column name and highest row number\n     */\n    public function getHighestRowAndColumn()\n    {\n        // Lookup highest column and highest row\n        $col = array('A' => '1A');\n        $row = array(1);\n        foreach ($this->getCellList() as $coord) {\n            sscanf($coord, '%[A-Z]%d', $c, $r);\n            $row[$r] = $r;\n            $col[$c] = strlen($c).$c;\n        }\n        if (!empty($row)) {\n            // Determine highest column and row\n            $highestRow = max($row);\n            $highestColumn = substr(max($col), 1);\n        }\n\n        return array(\n            'row'    => $highestRow,\n            'column' => $highestColumn\n        );\n    }\n\n    /**\n     * Return the cell address of the currently active cell object\n     *\n     * @return    string\n     */\n    public function getCurrentAddress()\n    {\n        return $this->currentObjectID;\n    }\n\n    /**\n     * Return the column address of the currently active cell object\n     *\n     * @return    string\n     */\n    public function getCurrentColumn()\n    {\n        sscanf($this->currentObjectID, '%[A-Z]%d', $column, $row);\n        return $column;\n    }\n\n    /**\n     * Return the row address of the currently active cell object\n     *\n     * @return    integer\n     */\n    public function getCurrentRow()\n    {\n        sscanf($this->currentObjectID, '%[A-Z]%d', $column, $row);\n        return (integer) $row;\n    }\n\n    /**\n     * Get highest worksheet column\n     *\n     * @param   string     $row        Return the highest column for the specified row,\n     *                                     or the highest column of any row if no row number is passed\n     * @return  string     Highest column name\n     */\n    public function getHighestColumn($row = null)\n    {\n        if ($row == null) {\n            $colRow = $this->getHighestRowAndColumn();\n            return $colRow['column'];\n        }\n\n        $columnList = array(1);\n        foreach ($this->getCellList() as $coord) {\n            sscanf($coord, '%[A-Z]%d', $c, $r);\n            if ($r != $row) {\n                continue;\n            }\n            $columnList[] = PHPExcel_Cell::columnIndexFromString($c);\n        }\n        return PHPExcel_Cell::stringFromColumnIndex(max($columnList) - 1);\n    }\n\n    /**\n     * Get highest worksheet row\n     *\n     * @param   string     $column     Return the highest row for the specified column,\n     *                                     or the highest row of any column if no column letter is passed\n     * @return  int        Highest row number\n     */\n    public function getHighestRow($column = null)\n    {\n        if ($column == null) {\n            $colRow = $this->getHighestRowAndColumn();\n            return $colRow['row'];\n        }\n\n        $rowList = array(0);\n        foreach ($this->getCellList() as $coord) {\n            sscanf($coord, '%[A-Z]%d', $c, $r);\n            if ($c != $column) {\n                continue;\n            }\n            $rowList[] = $r;\n        }\n\n        return max($rowList);\n    }\n\n    /**\n     * Generate a unique ID for cache referencing\n     *\n     * @return string Unique Reference\n     */\n    protected function getUniqueID()\n    {\n        if (function_exists('posix_getpid')) {\n            $baseUnique = posix_getpid();\n        } else {\n            $baseUnique = mt_rand();\n        }\n        return uniqid($baseUnique, true);\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        $this->currentCellIsDirty;\n        $this->storeData();\n\n        $this->parent = $parent;\n        if (($this->currentObject !== null) && (is_object($this->currentObject))) {\n            $this->currentObject->attach($this);\n        }\n    }    //    function copyCellCollection()\n\n    /**\n     * Remove a row, deleting all cells in that row\n     *\n     * @param string    $row    Row number to remove\n     * @return void\n     */\n    public function removeRow($row)\n    {\n        foreach ($this->getCellList() as $coord) {\n            sscanf($coord, '%[A-Z]%d', $c, $r);\n            if ($r == $row) {\n                $this->deleteCacheData($coord);\n            }\n        }\n    }\n\n    /**\n     * Remove a column, deleting all cells in that column\n     *\n     * @param string    $column    Column ID to remove\n     * @return void\n     */\n    public function removeColumn($column)\n    {\n        foreach ($this->getCellList() as $coord) {\n            sscanf($coord, '%[A-Z]%d', $c, $r);\n            if ($c == $column) {\n                $this->deleteCacheData($coord);\n            }\n        }\n    }\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/DiscISAM.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_DiscISAM\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_DiscISAM extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Name of the file for this cache\n     *\n     * @var string\n     */\n    private $fileName = null;\n\n    /**\n     * File handle for this cache file\n     *\n     * @var resource\n     */\n    private $fileHandle = null;\n\n    /**\n     * Directory/Folder where the cache file is located\n     *\n     * @var string\n     */\n    private $cacheDirectory = null;\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            fseek($this->fileHandle, 0, SEEK_END);\n\n            $this->cellCache[$this->currentObjectID] = array(\n                'ptr' => ftell($this->fileHandle),\n                'sz'  => fwrite($this->fileHandle, serialize($this->currentObject))\n            );\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (!isset($this->cellCache[$pCoord])) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        fseek($this->fileHandle, $this->cellCache[$pCoord]['ptr']);\n        $this->currentObject = unserialize(fread($this->fileHandle, $this->cellCache[$pCoord]['sz']));\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        parent::copyCellCollection($parent);\n        //    Get a new id for the new file name\n        $baseUnique = $this->getUniqueID();\n        $newFileName = $this->cacheDirectory.'/PHPExcel.'.$baseUnique.'.cache';\n        //    Copy the existing cell cache file\n        copy($this->fileName, $newFileName);\n        $this->fileName = $newFileName;\n        //    Open the copied cell cache file\n        $this->fileHandle = fopen($this->fileName, 'a+');\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n\n        //    Close down the temporary cache file\n        $this->__destruct();\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     * @param    array of mixed        $arguments    Additional initialisation arguments\n     */\n    public function __construct(PHPExcel_Worksheet $parent, $arguments)\n    {\n        $this->cacheDirectory    = ((isset($arguments['dir'])) && ($arguments['dir'] !== null))\n                                    ? $arguments['dir']\n                                    : PHPExcel_Shared_File::sys_get_temp_dir();\n\n        parent::__construct($parent);\n        if (is_null($this->fileHandle)) {\n            $baseUnique = $this->getUniqueID();\n            $this->fileName = $this->cacheDirectory.'/PHPExcel.'.$baseUnique.'.cache';\n            $this->fileHandle = fopen($this->fileName, 'a+');\n        }\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        if (!is_null($this->fileHandle)) {\n            fclose($this->fileHandle);\n            unlink($this->fileName);\n        }\n        $this->fileHandle = null;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/ICache.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_ICache\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\ninterface PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell);\n\n    /**\n     * Add or Update a cell in cache\n     *\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function updateCacheData(PHPExcel_Cell $cell);\n\n    /**\n     * Fetch a cell from cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to retrieve\n     * @return PHPExcel_Cell     Cell that was found, or null if not found\n     * @throws    PHPExcel_Exception\n     */\n    public function getCacheData($pCoord);\n\n    /**\n     * Delete a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to delete\n     * @throws    PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord);\n\n    /**\n     * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?\n     *\n     * @param    string        $pCoord        Coordinate address of the cell to check\n     * @return    boolean\n     */\n    public function isDataSet($pCoord);\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return    string[]\n     */\n    public function getCellList();\n\n    /**\n     * Get the list of all cell addresses currently held in cache sorted by column and row\n     *\n     * @return    string[]\n     */\n    public function getSortedCellList();\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent);\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable();\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/Igbinary.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_Igbinary\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_Igbinary extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            $this->cellCache[$this->currentObjectID] = igbinary_serialize($this->currentObject);\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }    //    function _storeData()\n\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }    //    function addCacheData()\n\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (!isset($this->cellCache[$pCoord])) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = igbinary_unserialize($this->cellCache[$pCoord]);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }    //    function getCacheData()\n\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }    //    function unsetWorksheetCells()\n\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        if (!function_exists('igbinary_serialize')) {\n            return false;\n        }\n\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/Memcache.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_Memcache\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Prefix used to uniquely identify cache data for this worksheet\n     *\n     * @var string\n     */\n    private $cachePrefix = null;\n\n    /**\n     * Cache timeout\n     *\n     * @var integer\n     */\n    private $cacheTime = 600;\n\n    /**\n     * Memcache interface\n     *\n     * @var resource\n     */\n    private $memcache = null;\n\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            $obj = serialize($this->currentObject);\n            if (!$this->memcache->replace($this->cachePrefix . $this->currentObjectID . '.cache', $obj, null, $this->cacheTime)) {\n                if (!$this->memcache->add($this->cachePrefix . $this->currentObjectID . '.cache', $obj, null, $this->cacheTime)) {\n                    $this->__destruct();\n                    throw new PHPExcel_Exception(\"Failed to store cell {$this->currentObjectID} in MemCache\");\n                }\n            }\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }    //    function _storeData()\n\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n        $this->cellCache[$pCoord] = true;\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }    //    function addCacheData()\n\n\n    /**\n     * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?\n     *\n     * @param    string        $pCoord        Coordinate address of the cell to check\n     * @return    boolean\n     * @return    boolean\n     */\n    public function isDataSet($pCoord)\n    {\n        //    Check if the requested entry is the current object, or exists in the cache\n        if (parent::isDataSet($pCoord)) {\n            if ($this->currentObjectID == $pCoord) {\n                return true;\n            }\n            //    Check if the requested entry still exists in Memcache\n            $success = $this->memcache->get($this->cachePrefix.$pCoord.'.cache');\n            if ($success === false) {\n                //    Entry no longer exists in Memcache, so clear it from the cache array\n                parent::deleteCacheData($pCoord);\n                throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in MemCache');\n            }\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (parent::isDataSet($pCoord)) {\n            $obj = $this->memcache->get($this->cachePrefix . $pCoord . '.cache');\n            if ($obj === false) {\n                //    Entry no longer exists in Memcache, so clear it from the cache array\n                parent::deleteCacheData($pCoord);\n                throw new PHPExcel_Exception(\"Cell entry {$pCoord} no longer exists in MemCache\");\n            }\n        } else {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = unserialize($obj);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n    /**\n     * Delete a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to delete\n     * @throws    PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord)\n    {\n        //    Delete the entry from Memcache\n        $this->memcache->delete($this->cachePrefix . $pCoord . '.cache');\n\n        //    Delete the entry from our cell address array\n        parent::deleteCacheData($pCoord);\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        parent::copyCellCollection($parent);\n        //    Get a new id for the new file name\n        $baseUnique = $this->getUniqueID();\n        $newCachePrefix = substr(md5($baseUnique), 0, 8) . '.';\n        $cacheList = $this->getCellList();\n        foreach ($cacheList as $cellID) {\n            if ($cellID != $this->currentObjectID) {\n                $obj = $this->memcache->get($this->cachePrefix.$cellID.'.cache');\n                if ($obj === false) {\n                    //    Entry no longer exists in Memcache, so clear it from the cache array\n                    parent::deleteCacheData($cellID);\n                    throw new PHPExcel_Exception(\"Cell entry {$cellID} no longer exists in MemCache\");\n                }\n                if (!$this->memcache->add($newCachePrefix . $cellID . '.cache', $obj, null, $this->cacheTime)) {\n                    $this->__destruct();\n                    throw new PHPExcel_Exception(\"Failed to store cell {$cellID} in MemCache\");\n                }\n            }\n        }\n        $this->cachePrefix = $newCachePrefix;\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n\n        //    Flush the Memcache cache\n        $this->__destruct();\n\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     * @param    array of mixed        $arguments    Additional initialisation arguments\n     */\n    public function __construct(PHPExcel_Worksheet $parent, $arguments)\n    {\n        $memcacheServer = (isset($arguments['memcacheServer'])) ? $arguments['memcacheServer'] : 'localhost';\n        $memcachePort = (isset($arguments['memcachePort'])) ? $arguments['memcachePort'] : 11211;\n        $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600;\n\n        if (is_null($this->cachePrefix)) {\n            $baseUnique = $this->getUniqueID();\n            $this->cachePrefix = substr(md5($baseUnique), 0, 8) . '.';\n\n            //    Set a new Memcache object and connect to the Memcache server\n            $this->memcache = new Memcache();\n            if (!$this->memcache->addServer($memcacheServer, $memcachePort, false, 50, 5, 5, true, array($this, 'failureCallback'))) {\n                throw new PHPExcel_Exception(\"Could not connect to MemCache server at {$memcacheServer}:{$memcachePort}\");\n            }\n            $this->cacheTime = $cacheTime;\n\n            parent::__construct($parent);\n        }\n    }\n\n    /**\n     * Memcache error handler\n     *\n     * @param    string    $host        Memcache server\n     * @param    integer    $port        Memcache port\n     * @throws    PHPExcel_Exception\n     */\n    public function failureCallback($host, $port)\n    {\n        throw new PHPExcel_Exception(\"memcache {$host}:{$port} failed\");\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        $cacheList = $this->getCellList();\n        foreach ($cacheList as $cellID) {\n            $this->memcache->delete($this->cachePrefix.$cellID . '.cache');\n        }\n    }\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        if (!function_exists('memcache_add')) {\n            return false;\n        }\n\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/Memory.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_Memory\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_Memory extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Dummy method callable from CacheBase, but unused by Memory cache\n     *\n     * @return    void\n     */\n    protected function storeData()\n    {\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        $this->cellCache[$pCoord] = $cell;\n\n        //    Set current entry to the new/updated entry\n        $this->currentObjectID = $pCoord;\n\n        return $cell;\n    }\n\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        //    Check if the entry that has been requested actually exists\n        if (!isset($this->cellCache[$pCoord])) {\n            $this->currentObjectID = null;\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n\n        //    Return requested entry\n        return $this->cellCache[$pCoord];\n    }\n\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        parent::copyCellCollection($parent);\n\n        $newCollection = array();\n        foreach ($this->cellCache as $k => &$cell) {\n            $newCollection[$k] = clone $cell;\n            $newCollection[$k]->attach($this);\n        }\n\n        $this->cellCache = $newCollection;\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     */\n    public function unsetWorksheetCells()\n    {\n        // Because cells are all stored as intact objects in memory, we need to detach each one from the parent\n        foreach ($this->cellCache as $k => &$cell) {\n            $cell->detach();\n            $this->cellCache[$k] = null;\n        }\n        unset($cell);\n\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/MemoryGZip.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_MemoryGZip\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_MemoryGZip extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            $this->cellCache[$this->currentObjectID] = gzdeflate(serialize($this->currentObject));\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (!isset($this->cellCache[$pCoord])) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = unserialize(gzinflate($this->cellCache[$pCoord]));\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/MemorySerialized.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_MemorySerialized\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_MemorySerialized extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            $this->cellCache[$this->currentObjectID] = serialize($this->currentObject);\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (!isset($this->cellCache[$pCoord])) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = unserialize($this->cellCache[$pCoord]);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/PHPTemp.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_PHPTemp\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_PHPTemp extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Name of the file for this cache\n     *\n     * @var string\n     */\n    private $fileHandle = null;\n\n    /**\n     * Memory limit to use before reverting to file cache\n     *\n     * @var integer\n     */\n    private $memoryCacheSize = null;\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            fseek($this->fileHandle, 0, SEEK_END);\n\n            $this->cellCache[$this->currentObjectID] = array(\n                'ptr' => ftell($this->fileHandle),\n                'sz'  => fwrite($this->fileHandle, serialize($this->currentObject))\n            );\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        if (!isset($this->cellCache[$pCoord])) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        fseek($this->fileHandle, $this->cellCache[$pCoord]['ptr']);\n        $this->currentObject = unserialize(fread($this->fileHandle, $this->cellCache[$pCoord]['sz']));\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        parent::copyCellCollection($parent);\n        //    Open a new stream for the cell cache data\n        $newFileHandle = fopen('php://temp/maxmemory:' . $this->memoryCacheSize, 'a+');\n        //    Copy the existing cell cache data to the new stream\n        fseek($this->fileHandle, 0);\n        while (!feof($this->fileHandle)) {\n            fwrite($newFileHandle, fread($this->fileHandle, 1024));\n        }\n        $this->fileHandle = $newFileHandle;\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n\n        //    Close down the php://temp file\n        $this->__destruct();\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     * @param    array of mixed        $arguments    Additional initialisation arguments\n     */\n    public function __construct(PHPExcel_Worksheet $parent, $arguments)\n    {\n        $this->memoryCacheSize = (isset($arguments['memoryCacheSize'])) ? $arguments['memoryCacheSize'] : '1MB';\n\n        parent::__construct($parent);\n        if (is_null($this->fileHandle)) {\n            $this->fileHandle = fopen('php://temp/maxmemory:' . $this->memoryCacheSize, 'a+');\n        }\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        if (!is_null($this->fileHandle)) {\n            fclose($this->fileHandle);\n        }\n        $this->fileHandle = null;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/SQLite.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_SQLite\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_SQLite extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Database table name\n     *\n     * @var string\n     */\n    private $TableName = null;\n\n    /**\n     * Database handle\n     *\n     * @var resource\n     */\n    private $DBHandle = null;\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            if (!$this->DBHandle->queryExec(\"INSERT OR REPLACE INTO kvp_\".$this->TableName.\" VALUES('\".$this->currentObjectID.\"','\".sqlite_escape_string(serialize($this->currentObject)).\"')\")) {\n                throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n            }\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        $query = \"SELECT value FROM kvp_\".$this->TableName.\" WHERE id='\".$pCoord.\"'\";\n        $cellResultSet = $this->DBHandle->query($query, SQLITE_ASSOC);\n        if ($cellResultSet === false) {\n            throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n        } elseif ($cellResultSet->numRows() == 0) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n\n        $cellResult = $cellResultSet->fetchSingle();\n        $this->currentObject = unserialize($cellResult);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     * Is a value set for an indexed cell?\n     *\n     * @param    string        $pCoord        Coordinate address of the cell to check\n     * @return    boolean\n     */\n    public function isDataSet($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return true;\n        }\n\n        //    Check if the requested entry exists in the cache\n        $query = \"SELECT id FROM kvp_\".$this->TableName.\" WHERE id='\".$pCoord.\"'\";\n        $cellResultSet = $this->DBHandle->query($query, SQLITE_ASSOC);\n        if ($cellResultSet === false) {\n            throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n        } elseif ($cellResultSet->numRows() == 0) {\n            //    Return null if requested entry doesn't exist in cache\n            return false;\n        }\n        return true;\n    }\n\n    /**\n     * Delete a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to delete\n     * @throws    PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            $this->currentObject->detach();\n            $this->currentObjectID = $this->currentObject = null;\n        }\n\n        //    Check if the requested entry exists in the cache\n        $query = \"DELETE FROM kvp_\".$this->TableName.\" WHERE id='\".$pCoord.\"'\";\n        if (!$this->DBHandle->queryExec($query)) {\n            throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n        }\n\n        $this->currentCellIsDirty = false;\n    }\n\n    /**\n     * Move a cell object from one address to another\n     *\n     * @param    string        $fromAddress    Current address of the cell to move\n     * @param    string        $toAddress        Destination address of the cell to move\n     * @return    boolean\n     */\n    public function moveCell($fromAddress, $toAddress)\n    {\n        if ($fromAddress === $this->currentObjectID) {\n            $this->currentObjectID = $toAddress;\n        }\n\n        $query = \"DELETE FROM kvp_\".$this->TableName.\" WHERE id='\".$toAddress.\"'\";\n        $result = $this->DBHandle->exec($query);\n        if ($result === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        $query = \"UPDATE kvp_\".$this->TableName.\" SET id='\".$toAddress.\"' WHERE id='\".$fromAddress.\"'\";\n        $result = $this->DBHandle->exec($query);\n        if ($result === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        return true;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return    string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        $query = \"SELECT id FROM kvp_\".$this->TableName;\n        $cellIdsResult = $this->DBHandle->unbufferedQuery($query, SQLITE_ASSOC);\n        if ($cellIdsResult === false) {\n            throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n        }\n\n        $cellKeys = array();\n        foreach ($cellIdsResult as $row) {\n            $cellKeys[] = $row['id'];\n        }\n\n        return $cellKeys;\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        $this->currentCellIsDirty;\n        $this->storeData();\n\n        //    Get a new id for the new table name\n        $tableName = str_replace('.', '_', $this->getUniqueID());\n        if (!$this->DBHandle->queryExec('CREATE TABLE kvp_'.$tableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)\n            AS SELECT * FROM kvp_'.$this->TableName)\n        ) {\n            throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n        }\n\n        //    Copy the existing cell cache file\n        $this->TableName = $tableName;\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n\n        //    Close down the temporary cache file\n        $this->__destruct();\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     */\n    public function __construct(PHPExcel_Worksheet $parent)\n    {\n        parent::__construct($parent);\n        if (is_null($this->DBHandle)) {\n            $this->TableName = str_replace('.', '_', $this->getUniqueID());\n            $_DBName = ':memory:';\n\n            $this->DBHandle = new SQLiteDatabase($_DBName);\n            if ($this->DBHandle === false) {\n                throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n            }\n            if (!$this->DBHandle->queryExec('CREATE TABLE kvp_'.$this->TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)')) {\n                throw new PHPExcel_Exception(sqlite_error_string($this->DBHandle->lastError()));\n            }\n        }\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        if (!is_null($this->DBHandle)) {\n            $this->DBHandle->queryExec('DROP TABLE kvp_'.$this->TableName);\n        }\n        $this->DBHandle = null;\n    }\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        if (!function_exists('sqlite_open')) {\n            return false;\n        }\n\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/SQLite3.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_SQLite3\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Database table name\n     *\n     * @var string\n     */\n    private $TableName = null;\n\n    /**\n     * Database handle\n     *\n     * @var resource\n     */\n    private $DBHandle = null;\n\n    /**\n     * Prepared statement for a SQLite3 select query\n     *\n     * @var SQLite3Stmt\n     */\n    private $selectQuery;\n\n    /**\n     * Prepared statement for a SQLite3 insert query\n     *\n     * @var SQLite3Stmt\n     */\n    private $insertQuery;\n\n    /**\n     * Prepared statement for a SQLite3 update query\n     *\n     * @var SQLite3Stmt\n     */\n    private $updateQuery;\n\n    /**\n     * Prepared statement for a SQLite3 delete query\n     *\n     * @var SQLite3Stmt\n     */\n    private $deleteQuery;\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            $this->insertQuery->bindValue('id', $this->currentObjectID, SQLITE3_TEXT);\n            $this->insertQuery->bindValue('data', serialize($this->currentObject), SQLITE3_BLOB);\n            $result = $this->insertQuery->execute();\n            if ($result === false) {\n                throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n            }\n            $this->currentCellIsDirty = false;\n        }\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param     string             $pCoord        Coordinate of the cell\n     * @throws     PHPExcel_Exception\n     * @return     PHPExcel_Cell     Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        $this->selectQuery->bindValue('id', $pCoord, SQLITE3_TEXT);\n        $cellResult = $this->selectQuery->execute();\n        if ($cellResult === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n        $cellData = $cellResult->fetchArray(SQLITE3_ASSOC);\n        if ($cellData === false) {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n\n        $this->currentObject = unserialize($cellData['value']);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n    /**\n     *    Is a value set for an indexed cell?\n     *\n     * @param    string        $pCoord        Coordinate address of the cell to check\n     * @return    boolean\n     */\n    public function isDataSet($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return true;\n        }\n\n        //    Check if the requested entry exists in the cache\n        $this->selectQuery->bindValue('id', $pCoord, SQLITE3_TEXT);\n        $cellResult = $this->selectQuery->execute();\n        if ($cellResult === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n        $cellData = $cellResult->fetchArray(SQLITE3_ASSOC);\n\n        return ($cellData === false) ? false : true;\n    }\n\n    /**\n     *    Delete a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to delete\n     * @throws    PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            $this->currentObject->detach();\n            $this->currentObjectID = $this->currentObject = null;\n        }\n\n        //    Check if the requested entry exists in the cache\n        $this->deleteQuery->bindValue('id', $pCoord, SQLITE3_TEXT);\n        $result = $this->deleteQuery->execute();\n        if ($result === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        $this->currentCellIsDirty = false;\n    }\n\n    /**\n     * Move a cell object from one address to another\n     *\n     * @param    string        $fromAddress    Current address of the cell to move\n     * @param    string        $toAddress        Destination address of the cell to move\n     * @return    boolean\n     */\n    public function moveCell($fromAddress, $toAddress)\n    {\n        if ($fromAddress === $this->currentObjectID) {\n            $this->currentObjectID = $toAddress;\n        }\n\n        $this->deleteQuery->bindValue('id', $toAddress, SQLITE3_TEXT);\n        $result = $this->deleteQuery->execute();\n        if ($result === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        $this->updateQuery->bindValue('toid', $toAddress, SQLITE3_TEXT);\n        $this->updateQuery->bindValue('fromid', $fromAddress, SQLITE3_TEXT);\n        $result = $this->updateQuery->execute();\n        if ($result === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        return true;\n    }\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return    string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        $query = \"SELECT id FROM kvp_\".$this->TableName;\n        $cellIdsResult = $this->DBHandle->query($query);\n        if ($cellIdsResult === false) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        $cellKeys = array();\n        while ($row = $cellIdsResult->fetchArray(SQLITE3_ASSOC)) {\n            $cellKeys[] = $row['id'];\n        }\n\n        return $cellKeys;\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        $this->currentCellIsDirty;\n        $this->storeData();\n\n        //    Get a new id for the new table name\n        $tableName = str_replace('.', '_', $this->getUniqueID());\n        if (!$this->DBHandle->exec('CREATE TABLE kvp_'.$tableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)\n            AS SELECT * FROM kvp_'.$this->TableName)\n        ) {\n            throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n        }\n\n        //    Copy the existing cell cache file\n        $this->TableName = $tableName;\n    }\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n\n        //    Close down the temporary cache file\n        $this->__destruct();\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     */\n    public function __construct(PHPExcel_Worksheet $parent)\n    {\n        parent::__construct($parent);\n        if (is_null($this->DBHandle)) {\n            $this->TableName = str_replace('.', '_', $this->getUniqueID());\n            $_DBName = ':memory:';\n\n            $this->DBHandle = new SQLite3($_DBName);\n            if ($this->DBHandle === false) {\n                throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n            }\n            if (!$this->DBHandle->exec('CREATE TABLE kvp_'.$this->TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)')) {\n                throw new PHPExcel_Exception($this->DBHandle->lastErrorMsg());\n            }\n        }\n\n        $this->selectQuery = $this->DBHandle->prepare(\"SELECT value FROM kvp_\".$this->TableName.\" WHERE id = :id\");\n        $this->insertQuery = $this->DBHandle->prepare(\"INSERT OR REPLACE INTO kvp_\".$this->TableName.\" VALUES(:id,:data)\");\n        $this->updateQuery = $this->DBHandle->prepare(\"UPDATE kvp_\".$this->TableName.\" SET id=:toId WHERE id=:fromId\");\n        $this->deleteQuery = $this->DBHandle->prepare(\"DELETE FROM kvp_\".$this->TableName.\" WHERE id = :id\");\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        if (!is_null($this->DBHandle)) {\n            $this->DBHandle->exec('DROP TABLE kvp_'.$this->TableName);\n            $this->DBHandle->close();\n        }\n        $this->DBHandle = null;\n    }\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        if (!class_exists('SQLite3', false)) {\n            return false;\n        }\n\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorage/Wincache.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorage_Wincache\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorage_Wincache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache\n{\n    /**\n     * Prefix used to uniquely identify cache data for this worksheet\n     *\n     * @var string\n     */\n    private $cachePrefix = null;\n\n    /**\n     * Cache timeout\n     *\n     * @var integer\n     */\n    private $cacheTime = 600;\n\n\n    /**\n     * Store cell data in cache for the current cell object if it's \"dirty\",\n     *     and the 'nullify' the current cell object\n     *\n     * @return    void\n     * @throws    PHPExcel_Exception\n     */\n    protected function storeData()\n    {\n        if ($this->currentCellIsDirty && !empty($this->currentObjectID)) {\n            $this->currentObject->detach();\n\n            $obj = serialize($this->currentObject);\n            if (wincache_ucache_exists($this->cachePrefix.$this->currentObjectID.'.cache')) {\n                if (!wincache_ucache_set($this->cachePrefix.$this->currentObjectID.'.cache', $obj, $this->cacheTime)) {\n                    $this->__destruct();\n                    throw new PHPExcel_Exception('Failed to store cell '.$this->currentObjectID.' in WinCache');\n                }\n            } else {\n                if (!wincache_ucache_add($this->cachePrefix.$this->currentObjectID.'.cache', $obj, $this->cacheTime)) {\n                    $this->__destruct();\n                    throw new PHPExcel_Exception('Failed to store cell '.$this->currentObjectID.' in WinCache');\n                }\n            }\n            $this->currentCellIsDirty = false;\n        }\n\n        $this->currentObjectID = $this->currentObject = null;\n    }\n\n    /**\n     * Add or Update a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to update\n     * @param    PHPExcel_Cell    $cell        Cell to update\n     * @return    PHPExcel_Cell\n     * @throws    PHPExcel_Exception\n     */\n    public function addCacheData($pCoord, PHPExcel_Cell $cell)\n    {\n        if (($pCoord !== $this->currentObjectID) && ($this->currentObjectID !== null)) {\n            $this->storeData();\n        }\n        $this->cellCache[$pCoord] = true;\n\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = $cell;\n        $this->currentCellIsDirty = true;\n\n        return $cell;\n    }\n\n    /**\n     * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?\n     *\n     * @param    string        $pCoord        Coordinate address of the cell to check\n     * @return    boolean\n     */\n    public function isDataSet($pCoord)\n    {\n        //    Check if the requested entry is the current object, or exists in the cache\n        if (parent::isDataSet($pCoord)) {\n            if ($this->currentObjectID == $pCoord) {\n                return true;\n            }\n            //    Check if the requested entry still exists in cache\n            $success = wincache_ucache_exists($this->cachePrefix.$pCoord.'.cache');\n            if ($success === false) {\n                //    Entry no longer exists in Wincache, so clear it from the cache array\n                parent::deleteCacheData($pCoord);\n                throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in WinCache');\n            }\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param    string            $pCoord        Coordinate of the cell\n     * @throws    PHPExcel_Exception\n     * @return    PHPExcel_Cell    Cell that was found, or null if not found\n     */\n    public function getCacheData($pCoord)\n    {\n        if ($pCoord === $this->currentObjectID) {\n            return $this->currentObject;\n        }\n        $this->storeData();\n\n        //    Check if the entry that has been requested actually exists\n        $obj = null;\n        if (parent::isDataSet($pCoord)) {\n            $success = false;\n            $obj = wincache_ucache_get($this->cachePrefix.$pCoord.'.cache', $success);\n            if ($success === false) {\n                //    Entry no longer exists in WinCache, so clear it from the cache array\n                parent::deleteCacheData($pCoord);\n                throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in WinCache');\n            }\n        } else {\n            //    Return null if requested entry doesn't exist in cache\n            return null;\n        }\n\n        //    Set current entry to the requested entry\n        $this->currentObjectID = $pCoord;\n        $this->currentObject = unserialize($obj);\n        //    Re-attach this as the cell's parent\n        $this->currentObject->attach($this);\n\n        //    Return requested entry\n        return $this->currentObject;\n    }\n\n\n    /**\n     * Get a list of all cell addresses currently held in cache\n     *\n     * @return  string[]\n     */\n    public function getCellList()\n    {\n        if ($this->currentObjectID !== null) {\n            $this->storeData();\n        }\n\n        return parent::getCellList();\n    }\n\n    /**\n     * Delete a cell in cache identified by coordinate address\n     *\n     * @param    string            $pCoord        Coordinate address of the cell to delete\n     * @throws    PHPExcel_Exception\n     */\n    public function deleteCacheData($pCoord)\n    {\n        //    Delete the entry from Wincache\n        wincache_ucache_delete($this->cachePrefix.$pCoord.'.cache');\n\n        //    Delete the entry from our cell address array\n        parent::deleteCacheData($pCoord);\n    }\n\n    /**\n     * Clone the cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The new worksheet\n     * @return    void\n     */\n    public function copyCellCollection(PHPExcel_Worksheet $parent)\n    {\n        parent::copyCellCollection($parent);\n        //    Get a new id for the new file name\n        $baseUnique = $this->getUniqueID();\n        $newCachePrefix = substr(md5($baseUnique), 0, 8) . '.';\n        $cacheList = $this->getCellList();\n        foreach ($cacheList as $cellID) {\n            if ($cellID != $this->currentObjectID) {\n                $success = false;\n                $obj = wincache_ucache_get($this->cachePrefix.$cellID.'.cache', $success);\n                if ($success === false) {\n                    //    Entry no longer exists in WinCache, so clear it from the cache array\n                    parent::deleteCacheData($cellID);\n                    throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in Wincache');\n                }\n                if (!wincache_ucache_add($newCachePrefix.$cellID.'.cache', $obj, $this->cacheTime)) {\n                    $this->__destruct();\n                    throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in Wincache');\n                }\n            }\n        }\n        $this->cachePrefix = $newCachePrefix;\n    }\n\n\n    /**\n     * Clear the cell collection and disconnect from our parent\n     *\n     * @return    void\n     */\n    public function unsetWorksheetCells()\n    {\n        if (!is_null($this->currentObject)) {\n            $this->currentObject->detach();\n            $this->currentObject = $this->currentObjectID = null;\n        }\n\n        //    Flush the WinCache cache\n        $this->__destruct();\n\n        $this->cellCache = array();\n\n        //    detach ourself from the worksheet, so that it can then delete this object successfully\n        $this->parent = null;\n    }\n\n    /**\n     * Initialise this new cell collection\n     *\n     * @param    PHPExcel_Worksheet    $parent        The worksheet for this cell collection\n     * @param    array of mixed        $arguments    Additional initialisation arguments\n     */\n    public function __construct(PHPExcel_Worksheet $parent, $arguments)\n    {\n        $cacheTime    = (isset($arguments['cacheTime']))    ? $arguments['cacheTime']    : 600;\n\n        if (is_null($this->cachePrefix)) {\n            $baseUnique = $this->getUniqueID();\n            $this->cachePrefix = substr(md5($baseUnique), 0, 8).'.';\n            $this->cacheTime = $cacheTime;\n\n            parent::__construct($parent);\n        }\n    }\n\n    /**\n     * Destroy this cell collection\n     */\n    public function __destruct()\n    {\n        $cacheList = $this->getCellList();\n        foreach ($cacheList as $cellID) {\n            wincache_ucache_delete($this->cachePrefix.$cellID.'.cache');\n        }\n    }\n\n    /**\n     * Identify whether the caching method is currently available\n     * Some methods are dependent on the availability of certain extensions being enabled in the PHP build\n     *\n     * @return    boolean\n     */\n    public static function cacheMethodIsAvailable()\n    {\n        if (!function_exists('wincache_ucache_add')) {\n            return false;\n        }\n\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CachedObjectStorageFactory.php",
    "content": "<?php\n\n/**\n * PHPExcel_CachedObjectStorageFactory\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_CachedObjectStorage\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CachedObjectStorageFactory\n{\n    const cache_in_memory               = 'Memory';\n    const cache_in_memory_gzip          = 'MemoryGZip';\n    const cache_in_memory_serialized    = 'MemorySerialized';\n    const cache_igbinary                = 'Igbinary';\n    const cache_to_discISAM             = 'DiscISAM';\n    const cache_to_apc                  = 'APC';\n    const cache_to_memcache             = 'Memcache';\n    const cache_to_phpTemp              = 'PHPTemp';\n    const cache_to_wincache             = 'Wincache';\n    const cache_to_sqlite               = 'SQLite';\n    const cache_to_sqlite3              = 'SQLite3';\n\n    /**\n     * Name of the method used for cell cacheing\n     *\n     * @var string\n     */\n    private static $cacheStorageMethod = null;\n\n    /**\n     * Name of the class used for cell cacheing\n     *\n     * @var string\n     */\n    private static $cacheStorageClass = null;\n\n    /**\n     * List of all possible cache storage methods\n     *\n     * @var string[]\n     */\n    private static $storageMethods = array(\n        self::cache_in_memory,\n        self::cache_in_memory_gzip,\n        self::cache_in_memory_serialized,\n        self::cache_igbinary,\n        self::cache_to_phpTemp,\n        self::cache_to_discISAM,\n        self::cache_to_apc,\n        self::cache_to_memcache,\n        self::cache_to_wincache,\n        self::cache_to_sqlite,\n        self::cache_to_sqlite3,\n    );\n\n    /**\n     * Default arguments for each cache storage method\n     *\n     * @var array of mixed array\n     */\n    private static $storageMethodDefaultParameters = array(\n        self::cache_in_memory               => array(\n                                                    ),\n        self::cache_in_memory_gzip          => array(\n                                                    ),\n        self::cache_in_memory_serialized    => array(\n                                                    ),\n        self::cache_igbinary                => array(\n                                                    ),\n        self::cache_to_phpTemp              => array( 'memoryCacheSize' => '1MB'\n                                                    ),\n        self::cache_to_discISAM             => array( 'dir'             => null\n                                                    ),\n        self::cache_to_apc                  => array( 'cacheTime'       => 600\n                                                    ),\n        self::cache_to_memcache             => array( 'memcacheServer'  => 'localhost',\n                                                      'memcachePort'    => 11211,\n                                                      'cacheTime'       => 600\n                                                    ),\n        self::cache_to_wincache             => array( 'cacheTime'       => 600\n                                                    ),\n        self::cache_to_sqlite               => array(\n                                                    ),\n        self::cache_to_sqlite3              => array(\n                                                    ),\n    );\n\n    /**\n     * Arguments for the active cache storage method\n     *\n     * @var array of mixed array\n     */\n    private static $storageMethodParameters = array();\n\n    /**\n     * Return the current cache storage method\n     *\n     * @return string|null\n     **/\n    public static function getCacheStorageMethod()\n    {\n        return self::$cacheStorageMethod;\n    }\n\n    /**\n     * Return the current cache storage class\n     *\n     * @return PHPExcel_CachedObjectStorage_ICache|null\n     **/\n    public static function getCacheStorageClass()\n    {\n        return self::$cacheStorageClass;\n    }\n\n    /**\n     * Return the list of all possible cache storage methods\n     *\n     * @return string[]\n     **/\n    public static function getAllCacheStorageMethods()\n    {\n        return self::$storageMethods;\n    }\n\n    /**\n     * Return the list of all available cache storage methods\n     *\n     * @return string[]\n     **/\n    public static function getCacheStorageMethods()\n    {\n        $activeMethods = array();\n        foreach (self::$storageMethods as $storageMethod) {\n            $cacheStorageClass = 'PHPExcel_CachedObjectStorage_' . $storageMethod;\n            if (call_user_func(array($cacheStorageClass, 'cacheMethodIsAvailable'))) {\n                $activeMethods[] = $storageMethod;\n            }\n        }\n        return $activeMethods;\n    }\n\n    /**\n     * Identify the cache storage method to use\n     *\n     * @param    string            $method        Name of the method to use for cell cacheing\n     * @param    array of mixed    $arguments    Additional arguments to pass to the cell caching class\n     *                                        when instantiating\n     * @return boolean\n     **/\n    public static function initialize($method = self::cache_in_memory, $arguments = array())\n    {\n        if (!in_array($method, self::$storageMethods)) {\n            return false;\n        }\n\n        $cacheStorageClass = 'PHPExcel_CachedObjectStorage_'.$method;\n        if (!call_user_func(array( $cacheStorageClass,\n                                   'cacheMethodIsAvailable'))) {\n            return false;\n        }\n\n        self::$storageMethodParameters[$method] = self::$storageMethodDefaultParameters[$method];\n        foreach ($arguments as $k => $v) {\n            if (array_key_exists($k, self::$storageMethodParameters[$method])) {\n                self::$storageMethodParameters[$method][$k] = $v;\n            }\n        }\n\n        if (self::$cacheStorageMethod === null) {\n            self::$cacheStorageClass = 'PHPExcel_CachedObjectStorage_' . $method;\n            self::$cacheStorageMethod = $method;\n        }\n        return true;\n    }\n\n    /**\n     * Initialise the cache storage\n     *\n     * @param    PHPExcel_Worksheet     $parent        Enable cell caching for this worksheet\n     * @return    PHPExcel_CachedObjectStorage_ICache\n     **/\n    public static function getInstance(PHPExcel_Worksheet $parent)\n    {\n        $cacheMethodIsAvailable = true;\n        if (self::$cacheStorageMethod === null) {\n            $cacheMethodIsAvailable = self::initialize();\n        }\n\n        if ($cacheMethodIsAvailable) {\n            $instance = new self::$cacheStorageClass(\n                $parent,\n                self::$storageMethodParameters[self::$cacheStorageMethod]\n            );\n            if ($instance !== null) {\n                return $instance;\n            }\n        }\n\n        return false;\n    }\n\n    /**\n     * Clear the cache storage\n     *\n     **/\n    public static function finalize()\n    {\n        self::$cacheStorageMethod = null;\n        self::$cacheStorageClass = null;\n        self::$storageMethodParameters = array();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CalcEngine/CyclicReferenceStack.php",
    "content": "<?php\n\n/**\n * PHPExcel_CalcEngine_CyclicReferenceStack\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CalcEngine_CyclicReferenceStack\n{\n    /**\n     *  The call stack for calculated cells\n     *\n     *  @var mixed[]\n     */\n    private $stack = array();\n\n    /**\n     * Return the number of entries on the stack\n     *\n     * @return  integer\n     */\n    public function count()\n    {\n        return count($this->stack);\n    }\n\n    /**\n     * Push a new entry onto the stack\n     *\n     * @param  mixed  $value\n     */\n    public function push($value)\n    {\n        $this->stack[$value] = $value;\n    }\n\n    /**\n     * Pop the last entry from the stack\n     *\n     * @return  mixed\n     */\n    public function pop()\n    {\n        return array_pop($this->stack);\n    }\n\n    /**\n     * Test to see if a specified entry exists on the stack\n     *\n     * @param  mixed  $value  The value to test\n     */\n    public function onStack($value)\n    {\n        return isset($this->stack[$value]);\n    }\n\n    /**\n     * Clear the stack\n     */\n    public function clear()\n    {\n        $this->stack = array();\n    }\n\n    /**\n     * Return an array of all entries on the stack\n     *\n     * @return  mixed[]\n     */\n    public function showStack()\n    {\n        return $this->stack;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/CalcEngine/Logger.php",
    "content": "<?php\n\n/**\n * PHPExcel_CalcEngine_Logger\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_CalcEngine_Logger\n{\n    /**\n     * Flag to determine whether a debug log should be generated by the calculation engine\n     *        If true, then a debug log will be generated\n     *        If false, then a debug log will not be generated\n     *\n     * @var boolean\n     */\n    private $writeDebugLog = false;\n\n    /**\n     * Flag to determine whether a debug log should be echoed by the calculation engine\n     *        If true, then a debug log will be echoed\n     *        If false, then a debug log will not be echoed\n     * A debug log can only be echoed if it is generated\n     *\n     * @var boolean\n     */\n    private $echoDebugLog = false;\n\n    /**\n     * The debug log generated by the calculation engine\n     *\n     * @var string[]\n     */\n    private $debugLog = array();\n\n    /**\n     * The calculation engine cell reference stack\n     *\n     * @var PHPExcel_CalcEngine_CyclicReferenceStack\n     */\n    private $cellStack;\n\n    /**\n     * Instantiate a Calculation engine logger\n     *\n     * @param  PHPExcel_CalcEngine_CyclicReferenceStack $stack\n     */\n    public function __construct(PHPExcel_CalcEngine_CyclicReferenceStack $stack)\n    {\n        $this->cellStack = $stack;\n    }\n\n    /**\n     * Enable/Disable Calculation engine logging\n     *\n     * @param  boolean $pValue\n     */\n    public function setWriteDebugLog($pValue = false)\n    {\n        $this->writeDebugLog = $pValue;\n    }\n\n    /**\n     * Return whether calculation engine logging is enabled or disabled\n     *\n     * @return  boolean\n     */\n    public function getWriteDebugLog()\n    {\n        return $this->writeDebugLog;\n    }\n\n    /**\n     * Enable/Disable echoing of debug log information\n     *\n     * @param  boolean $pValue\n     */\n    public function setEchoDebugLog($pValue = false)\n    {\n        $this->echoDebugLog = $pValue;\n    }\n\n    /**\n     * Return whether echoing of debug log information is enabled or disabled\n     *\n     * @return  boolean\n     */\n    public function getEchoDebugLog()\n    {\n        return $this->echoDebugLog;\n    }\n\n    /**\n     * Write an entry to the calculation engine debug log\n     */\n    public function writeDebugLog()\n    {\n        //    Only write the debug log if logging is enabled\n        if ($this->writeDebugLog) {\n            $message = implode(func_get_args());\n            $cellReference = implode(' -> ', $this->cellStack->showStack());\n            if ($this->echoDebugLog) {\n                echo $cellReference,\n                    ($this->cellStack->count() > 0 ? ' => ' : ''),\n                    $message,\n                    PHP_EOL;\n            }\n            $this->debugLog[] = $cellReference .\n                ($this->cellStack->count() > 0 ? ' => ' : '') .\n                $message;\n        }\n    }\n\n    /**\n     * Clear the calculation engine debug log\n     */\n    public function clearLog()\n    {\n        $this->debugLog = array();\n    }\n\n    /**\n     * Return the calculation engine debug log\n     *\n     * @return  string[]\n     */\n    public function getLog()\n    {\n        return $this->debugLog;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Database.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Calculation_Database\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Database\n{\n    /**\n     * fieldExtract\n     *\n     * Extracts the column ID to use for the data field.\n     *\n     * @access    private\n     * @param    mixed[]        $database        The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    mixed        $field            Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @return    string|NULL\n     *\n     */\n    private static function fieldExtract($database, $field)\n    {\n        $field = strtoupper(PHPExcel_Calculation_Functions::flattenSingleValue($field));\n        $fieldNames = array_map('strtoupper', array_shift($database));\n\n        if (is_numeric($field)) {\n            $keys = array_keys($fieldNames);\n            return $keys[$field-1];\n        }\n        $key = array_search($field, $fieldNames);\n        return ($key) ? $key : null;\n    }\n\n    /**\n     * filter\n     *\n     * Parses the selection criteria, extracts the database rows that match those criteria, and\n     * returns that subset of rows.\n     *\n     * @access    private\n     * @param    mixed[]        $database        The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    mixed[]        $criteria        The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    array of mixed\n     *\n     */\n    private static function filter($database, $criteria)\n    {\n        $fieldNames = array_shift($database);\n        $criteriaNames = array_shift($criteria);\n\n        //    Convert the criteria into a set of AND/OR conditions with [:placeholders]\n        $testConditions = $testValues = array();\n        $testConditionsCount = 0;\n        foreach ($criteriaNames as $key => $criteriaName) {\n            $testCondition = array();\n            $testConditionCount = 0;\n            foreach ($criteria as $row => $criterion) {\n                if ($criterion[$key] > '') {\n                    $testCondition[] = '[:'.$criteriaName.']'.PHPExcel_Calculation_Functions::ifCondition($criterion[$key]);\n                    $testConditionCount++;\n                }\n            }\n            if ($testConditionCount > 1) {\n                $testConditions[] = 'OR(' . implode(',', $testCondition) . ')';\n                $testConditionsCount++;\n            } elseif ($testConditionCount == 1) {\n                $testConditions[] = $testCondition[0];\n                $testConditionsCount++;\n            }\n        }\n\n        if ($testConditionsCount > 1) {\n            $testConditionSet = 'AND(' . implode(',', $testConditions) . ')';\n        } elseif ($testConditionsCount == 1) {\n            $testConditionSet = $testConditions[0];\n        }\n\n        //    Loop through each row of the database\n        foreach ($database as $dataRow => $dataValues) {\n            //    Substitute actual values from the database row for our [:placeholders]\n            $testConditionList = $testConditionSet;\n            foreach ($criteriaNames as $key => $criteriaName) {\n                $k = array_search($criteriaName, $fieldNames);\n                if (isset($dataValues[$k])) {\n                    $dataValue = $dataValues[$k];\n                    $dataValue = (is_string($dataValue)) ? PHPExcel_Calculation::wrapResult(strtoupper($dataValue)) : $dataValue;\n                    $testConditionList = str_replace('[:' . $criteriaName . ']', $dataValue, $testConditionList);\n                }\n            }\n            //    evaluate the criteria against the row data\n            $result = PHPExcel_Calculation::getInstance()->_calculateFormulaValue('='.$testConditionList);\n            //    If the row failed to meet the criteria, remove it from the database\n            if (!$result) {\n                unset($database[$dataRow]);\n            }\n        }\n\n        return $database;\n    }\n\n\n    private static function getFilteredColumn($database, $field, $criteria)\n    {\n        //    reduce the database to a set of rows that match all the criteria\n        $database = self::filter($database, $criteria);\n        //    extract an array of values for the requested column\n        $colData = array();\n        foreach ($database as $row) {\n            $colData[] = $row[$field];\n        }\n        \n        return $colData;\n    }\n\n    /**\n     * DAVERAGE\n     *\n     * Averages the values in a column of a list or database that match conditions you specify.\n     *\n     * Excel Function:\n     *        DAVERAGE(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DAVERAGE($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::AVERAGE(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DCOUNT\n     *\n     * Counts the cells that contain numbers in a column of a list or database that match conditions\n     * that you specify.\n     *\n     * Excel Function:\n     *        DCOUNT(database,[field],criteria)\n     *\n     * Excel Function:\n     *        DAVERAGE(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    integer\n     *\n     * @TODO    The field argument is optional. If field is omitted, DCOUNT counts all records in the\n     *            database that match the criteria.\n     *\n     */\n    public static function DCOUNT($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::COUNT(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DCOUNTA\n     *\n     * Counts the nonblank cells in a column of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DCOUNTA(database,[field],criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    integer\n     *\n     * @TODO    The field argument is optional. If field is omitted, DCOUNTA counts all records in the\n     *            database that match the criteria.\n     *\n     */\n    public static function DCOUNTA($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        //    reduce the database to a set of rows that match all the criteria\n        $database = self::filter($database, $criteria);\n        //    extract an array of values for the requested column\n        $colData = array();\n        foreach ($database as $row) {\n            $colData[] = $row[$field];\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::COUNTA(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DGET\n     *\n     * Extracts a single value from a column of a list or database that matches conditions that you\n     * specify.\n     *\n     * Excel Function:\n     *        DGET(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    mixed\n     *\n     */\n    public static function DGET($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        $colData = self::getFilteredColumn($database, $field, $criteria);\n        if (count($colData) > 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        return $colData[0];\n    }\n\n\n    /**\n     * DMAX\n     *\n     * Returns the largest number in a column of a list or database that matches conditions you that\n     * specify.\n     *\n     * Excel Function:\n     *        DMAX(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DMAX($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::MAX(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DMIN\n     *\n     * Returns the smallest number in a column of a list or database that matches conditions you that\n     * specify.\n     *\n     * Excel Function:\n     *        DMIN(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DMIN($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::MIN(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DPRODUCT\n     *\n     * Multiplies the values in a column of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DPRODUCT(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DPRODUCT($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_MathTrig::PRODUCT(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DSTDEV\n     *\n     * Estimates the standard deviation of a population based on a sample by using the numbers in a\n     * column of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DSTDEV(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DSTDEV($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::STDEV(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DSTDEVP\n     *\n     * Calculates the standard deviation of a population based on the entire population by using the\n     * numbers in a column of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DSTDEVP(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DSTDEVP($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::STDEVP(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DSUM\n     *\n     * Adds the numbers in a column of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DSUM(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DSUM($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_MathTrig::SUM(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DVAR\n     *\n     * Estimates the variance of a population based on a sample by using the numbers in a column\n     * of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DVAR(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DVAR($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::VARFunc(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n\n\n    /**\n     * DVARP\n     *\n     * Calculates the variance of a population based on the entire population by using the numbers\n     * in a column of a list or database that match conditions that you specify.\n     *\n     * Excel Function:\n     *        DVARP(database,field,criteria)\n     *\n     * @access    public\n     * @category Database Functions\n     * @param    mixed[]            $database    The range of cells that makes up the list or database.\n     *                                        A database is a list of related data in which rows of related\n     *                                        information are records, and columns of data are fields. The\n     *                                        first row of the list contains labels for each column.\n     * @param    string|integer    $field        Indicates which column is used in the function. Enter the\n     *                                        column label enclosed between double quotation marks, such as\n     *                                        \"Age\" or \"Yield,\" or a number (without quotation marks) that\n     *                                        represents the position of the column within the list: 1 for\n     *                                        the first column, 2 for the second column, and so on.\n     * @param    mixed[]            $criteria    The range of cells that contains the conditions you specify.\n     *                                        You can use any range for the criteria argument, as long as it\n     *                                        includes at least one column label and at least one cell below\n     *                                        the column label in which you specify a condition for the\n     *                                        column.\n     * @return    float\n     *\n     */\n    public static function DVARP($database, $field, $criteria)\n    {\n        $field = self::fieldExtract($database, $field);\n        if (is_null($field)) {\n            return null;\n        }\n\n        // Return\n        return PHPExcel_Calculation_Statistical::VARP(\n            self::getFilteredColumn($database, $field, $criteria)\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/DateTime.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Calculation_DateTime\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_DateTime\n{\n    /**\n     * Identify if a year is a leap year or not\n     *\n     * @param    integer    $year    The year to test\n     * @return    boolean            TRUE if the year is a leap year, otherwise FALSE\n     */\n    public static function isLeapYear($year)\n    {\n        return ((($year % 4) == 0) && (($year % 100) != 0) || (($year % 400) == 0));\n    }\n\n\n    /**\n     * Return the number of days between two dates based on a 360 day calendar\n     *\n     * @param    integer    $startDay        Day of month of the start date\n     * @param    integer    $startMonth        Month of the start date\n     * @param    integer    $startYear        Year of the start date\n     * @param    integer    $endDay            Day of month of the start date\n     * @param    integer    $endMonth        Month of the start date\n     * @param    integer    $endYear        Year of the start date\n     * @param    boolean $methodUS        Whether to use the US method or the European method of calculation\n     * @return    integer    Number of days between the start date and the end date\n     */\n    private static function dateDiff360($startDay, $startMonth, $startYear, $endDay, $endMonth, $endYear, $methodUS)\n    {\n        if ($startDay == 31) {\n            --$startDay;\n        } elseif ($methodUS && ($startMonth == 2 && ($startDay == 29 || ($startDay == 28 && !self::isLeapYear($startYear))))) {\n            $startDay = 30;\n        }\n        if ($endDay == 31) {\n            if ($methodUS && $startDay != 30) {\n                $endDay = 1;\n                if ($endMonth == 12) {\n                    ++$endYear;\n                    $endMonth = 1;\n                } else {\n                    ++$endMonth;\n                }\n            } else {\n                $endDay = 30;\n            }\n        }\n\n        return $endDay + $endMonth * 30 + $endYear * 360 - $startDay - $startMonth * 30 - $startYear * 360;\n    }\n\n\n    /**\n     * getDateValue\n     *\n     * @param    string    $dateValue\n     * @return    mixed    Excel date/time serial value, or string if error\n     */\n    public static function getDateValue($dateValue)\n    {\n        if (!is_numeric($dateValue)) {\n            if ((is_string($dateValue)) &&\n                (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            if ((is_object($dateValue)) && ($dateValue instanceof DateTime)) {\n                $dateValue = PHPExcel_Shared_Date::PHPToExcel($dateValue);\n            } else {\n                $saveReturnDateType = PHPExcel_Calculation_Functions::getReturnDateType();\n                PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n                $dateValue = self::DATEVALUE($dateValue);\n                PHPExcel_Calculation_Functions::setReturnDateType($saveReturnDateType);\n            }\n        }\n        return $dateValue;\n    }\n\n\n    /**\n     * getTimeValue\n     *\n     * @param    string    $timeValue\n     * @return    mixed    Excel date/time serial value, or string if error\n     */\n    private static function getTimeValue($timeValue)\n    {\n        $saveReturnDateType = PHPExcel_Calculation_Functions::getReturnDateType();\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $timeValue = self::TIMEVALUE($timeValue);\n        PHPExcel_Calculation_Functions::setReturnDateType($saveReturnDateType);\n        return $timeValue;\n    }\n\n\n    private static function adjustDateByMonths($dateValue = 0, $adjustmentMonths = 0)\n    {\n        // Execute function\n        $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue);\n        $oMonth = (int) $PHPDateObject->format('m');\n        $oYear = (int) $PHPDateObject->format('Y');\n\n        $adjustmentMonthsString = (string) $adjustmentMonths;\n        if ($adjustmentMonths > 0) {\n            $adjustmentMonthsString = '+'.$adjustmentMonths;\n        }\n        if ($adjustmentMonths != 0) {\n            $PHPDateObject->modify($adjustmentMonthsString.' months');\n        }\n        $nMonth = (int) $PHPDateObject->format('m');\n        $nYear = (int) $PHPDateObject->format('Y');\n\n        $monthDiff = ($nMonth - $oMonth) + (($nYear - $oYear) * 12);\n        if ($monthDiff != $adjustmentMonths) {\n            $adjustDays = (int) $PHPDateObject->format('d');\n            $adjustDaysString = '-'.$adjustDays.' days';\n            $PHPDateObject->modify($adjustDaysString);\n        }\n        return $PHPDateObject;\n    }\n\n\n    /**\n     * DATETIMENOW\n     *\n     * Returns the current date and time.\n     * The NOW function is useful when you need to display the current date and time on a worksheet or\n     * calculate a value based on the current date and time, and have that value updated each time you\n     * open the worksheet.\n     *\n     * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date\n     * and time format of your regional settings. PHPExcel does not change cell formatting in this way.\n     *\n     * Excel Function:\n     *        NOW()\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function DATETIMENOW()\n    {\n        $saveTimeZone = date_default_timezone_get();\n        date_default_timezone_set('UTC');\n        $retValue = false;\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                $retValue = (float) PHPExcel_Shared_Date::PHPToExcel(time());\n                break;\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                $retValue = (integer) time();\n                break;\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                $retValue = new DateTime();\n                break;\n        }\n        date_default_timezone_set($saveTimeZone);\n\n        return $retValue;\n    }\n\n\n    /**\n     * DATENOW\n     *\n     * Returns the current date.\n     * The NOW function is useful when you need to display the current date and time on a worksheet or\n     * calculate a value based on the current date and time, and have that value updated each time you\n     * open the worksheet.\n     *\n     * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date\n     * and time format of your regional settings. PHPExcel does not change cell formatting in this way.\n     *\n     * Excel Function:\n     *        TODAY()\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function DATENOW()\n    {\n        $saveTimeZone = date_default_timezone_get();\n        date_default_timezone_set('UTC');\n        $retValue = false;\n        $excelDateTime = floor(PHPExcel_Shared_Date::PHPToExcel(time()));\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                $retValue = (float) $excelDateTime;\n                break;\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                $retValue = (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateTime);\n                break;\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                $retValue = PHPExcel_Shared_Date::ExcelToPHPObject($excelDateTime);\n                break;\n        }\n        date_default_timezone_set($saveTimeZone);\n\n        return $retValue;\n    }\n\n\n    /**\n     * DATE\n     *\n     * The DATE function returns a value that represents a particular date.\n     *\n     * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date\n     * format of your regional settings. PHPExcel does not change cell formatting in this way.\n     *\n     * Excel Function:\n     *        DATE(year,month,day)\n     *\n     * PHPExcel is a lot more forgiving than MS Excel when passing non numeric values to this function.\n     * A Month name or abbreviation (English only at this point) such as 'January' or 'Jan' will still be accepted,\n     *     as will a day value with a suffix (e.g. '21st' rather than simply 21); again only English language.\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    integer        $year    The value of the year argument can include one to four digits.\n     *                                Excel interprets the year argument according to the configured\n     *                                date system: 1900 or 1904.\n     *                                If year is between 0 (zero) and 1899 (inclusive), Excel adds that\n     *                                value to 1900 to calculate the year. For example, DATE(108,1,2)\n     *                                returns January 2, 2008 (1900+108).\n     *                                If year is between 1900 and 9999 (inclusive), Excel uses that\n     *                                value as the year. For example, DATE(2008,1,2) returns January 2,\n     *                                2008.\n     *                                If year is less than 0 or is 10000 or greater, Excel returns the\n     *                                #NUM! error value.\n     * @param    integer        $month    A positive or negative integer representing the month of the year\n     *                                from 1 to 12 (January to December).\n     *                                If month is greater than 12, month adds that number of months to\n     *                                the first month in the year specified. For example, DATE(2008,14,2)\n     *                                returns the serial number representing February 2, 2009.\n     *                                If month is less than 1, month subtracts the magnitude of that\n     *                                number of months, plus 1, from the first month in the year\n     *                                specified. For example, DATE(2008,-3,2) returns the serial number\n     *                                representing September 2, 2007.\n     * @param    integer        $day    A positive or negative integer representing the day of the month\n     *                                from 1 to 31.\n     *                                If day is greater than the number of days in the month specified,\n     *                                day adds that number of days to the first day in the month. For\n     *                                example, DATE(2008,1,35) returns the serial number representing\n     *                                February 4, 2008.\n     *                                If day is less than 1, day subtracts the magnitude that number of\n     *                                days, plus one, from the first day of the month specified. For\n     *                                example, DATE(2008,1,-15) returns the serial number representing\n     *                                December 16, 2007.\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function DATE($year = 0, $month = 1, $day = 1)\n    {\n        $year  = PHPExcel_Calculation_Functions::flattenSingleValue($year);\n        $month = PHPExcel_Calculation_Functions::flattenSingleValue($month);\n        $day   = PHPExcel_Calculation_Functions::flattenSingleValue($day);\n\n        if (($month !== null) && (!is_numeric($month))) {\n            $month = PHPExcel_Shared_Date::monthStringToNumber($month);\n        }\n\n        if (($day !== null) && (!is_numeric($day))) {\n            $day = PHPExcel_Shared_Date::dayStringToNumber($day);\n        }\n\n        $year = ($year !== null) ? PHPExcel_Shared_String::testStringAsNumeric($year) : 0;\n        $month = ($month !== null) ? PHPExcel_Shared_String::testStringAsNumeric($month) : 0;\n        $day = ($day !== null) ? PHPExcel_Shared_String::testStringAsNumeric($day) : 0;\n        if ((!is_numeric($year)) ||\n            (!is_numeric($month)) ||\n            (!is_numeric($day))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $year    = (integer) $year;\n        $month    = (integer) $month;\n        $day    = (integer) $day;\n\n        $baseYear = PHPExcel_Shared_Date::getExcelCalendar();\n        // Validate parameters\n        if ($year < ($baseYear-1900)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ((($baseYear-1900) != 0) && ($year < $baseYear) && ($year >= 1900)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        if (($year < $baseYear) && ($year >= ($baseYear-1900))) {\n            $year += 1900;\n        }\n\n        if ($month < 1) {\n            //    Handle year/month adjustment if month < 1\n            --$month;\n            $year += ceil($month / 12) - 1;\n            $month = 13 - abs($month % 12);\n        } elseif ($month > 12) {\n            //    Handle year/month adjustment if month > 12\n            $year += floor($month / 12);\n            $month = ($month % 12);\n        }\n\n        // Re-validate the year parameter after adjustments\n        if (($year < $baseYear) || ($year >= 10000)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($year, $month, $day);\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                return (float) $excelDateValue;\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                return (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue);\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                return PHPExcel_Shared_Date::ExcelToPHPObject($excelDateValue);\n        }\n    }\n\n\n    /**\n     * TIME\n     *\n     * The TIME function returns a value that represents a particular time.\n     *\n     * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time\n     * format of your regional settings. PHPExcel does not change cell formatting in this way.\n     *\n     * Excel Function:\n     *        TIME(hour,minute,second)\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    integer        $hour        A number from 0 (zero) to 32767 representing the hour.\n     *                                    Any value greater than 23 will be divided by 24 and the remainder\n     *                                    will be treated as the hour value. For example, TIME(27,0,0) =\n     *                                    TIME(3,0,0) = .125 or 3:00 AM.\n     * @param    integer        $minute        A number from 0 to 32767 representing the minute.\n     *                                    Any value greater than 59 will be converted to hours and minutes.\n     *                                    For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM.\n     * @param    integer        $second        A number from 0 to 32767 representing the second.\n     *                                    Any value greater than 59 will be converted to hours, minutes,\n     *                                    and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148\n     *                                    or 12:33:20 AM\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function TIME($hour = 0, $minute = 0, $second = 0)\n    {\n        $hour = PHPExcel_Calculation_Functions::flattenSingleValue($hour);\n        $minute = PHPExcel_Calculation_Functions::flattenSingleValue($minute);\n        $second = PHPExcel_Calculation_Functions::flattenSingleValue($second);\n\n        if ($hour == '') {\n            $hour = 0;\n        }\n        if ($minute == '') {\n            $minute = 0;\n        }\n        if ($second == '') {\n            $second = 0;\n        }\n\n        if ((!is_numeric($hour)) || (!is_numeric($minute)) || (!is_numeric($second))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $hour = (integer) $hour;\n        $minute = (integer) $minute;\n        $second = (integer) $second;\n\n        if ($second < 0) {\n            $minute += floor($second / 60);\n            $second = 60 - abs($second % 60);\n            if ($second == 60) {\n                $second = 0;\n            }\n        } elseif ($second >= 60) {\n            $minute += floor($second / 60);\n            $second = $second % 60;\n        }\n        if ($minute < 0) {\n            $hour += floor($minute / 60);\n            $minute = 60 - abs($minute % 60);\n            if ($minute == 60) {\n                $minute = 0;\n            }\n        } elseif ($minute >= 60) {\n            $hour += floor($minute / 60);\n            $minute = $minute % 60;\n        }\n\n        if ($hour > 23) {\n            $hour = $hour % 24;\n        } elseif ($hour < 0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                $date = 0;\n                $calendar = PHPExcel_Shared_Date::getExcelCalendar();\n                if ($calendar != PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900) {\n                    $date = 1;\n                }\n                return (float) PHPExcel_Shared_Date::FormattedPHPToExcel($calendar, 1, $date, $hour, $minute, $second);\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::FormattedPHPToExcel(1970, 1, 1, $hour, $minute, $second));    // -2147468400; //    -2147472000 + 3600\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                $dayAdjust = 0;\n                if ($hour < 0) {\n                    $dayAdjust = floor($hour / 24);\n                    $hour = 24 - abs($hour % 24);\n                    if ($hour == 24) {\n                        $hour = 0;\n                    }\n                } elseif ($hour >= 24) {\n                    $dayAdjust = floor($hour / 24);\n                    $hour = $hour % 24;\n                }\n                $phpDateObject = new DateTime('1900-01-01 '.$hour.':'.$minute.':'.$second);\n                if ($dayAdjust != 0) {\n                    $phpDateObject->modify($dayAdjust.' days');\n                }\n                return $phpDateObject;\n        }\n    }\n\n\n    /**\n     * DATEVALUE\n     *\n     * Returns a value that represents a particular date.\n     * Use DATEVALUE to convert a date represented by a text string to an Excel or PHP date/time stamp\n     * value.\n     *\n     * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date\n     * format of your regional settings. PHPExcel does not change cell formatting in this way.\n     *\n     * Excel Function:\n     *        DATEVALUE(dateValue)\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    string    $dateValue        Text that represents a date in a Microsoft Excel date format.\n     *                                    For example, \"1/30/2008\" or \"30-Jan-2008\" are text strings within\n     *                                    quotation marks that represent dates. Using the default date\n     *                                    system in Excel for Windows, date_text must represent a date from\n     *                                    January 1, 1900, to December 31, 9999. Using the default date\n     *                                    system in Excel for the Macintosh, date_text must represent a date\n     *                                    from January 1, 1904, to December 31, 9999. DATEVALUE returns the\n     *                                    #VALUE! error value if date_text is out of this range.\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function DATEVALUE($dateValue = 1)\n    {\n        $dateValue = trim(PHPExcel_Calculation_Functions::flattenSingleValue($dateValue), '\"');\n        //    Strip any ordinals because they're allowed in Excel (English only)\n        $dateValue = preg_replace('/(\\d)(st|nd|rd|th)([ -\\/])/Ui', '$1$3', $dateValue);\n        //    Convert separators (/ . or space) to hyphens (should also handle dot used for ordinals in some countries, e.g. Denmark, Germany)\n        $dateValue    = str_replace(array('/', '.', '-', '  '), array(' ', ' ', ' ', ' '), $dateValue);\n\n        $yearFound = false;\n        $t1 = explode(' ', $dateValue);\n        foreach ($t1 as &$t) {\n            if ((is_numeric($t)) && ($t > 31)) {\n                if ($yearFound) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                } else {\n                    if ($t < 100) {\n                        $t += 1900;\n                    }\n                    $yearFound = true;\n                }\n            }\n        }\n        if ((count($t1) == 1) && (strpos($t, ':') != false)) {\n            //    We've been fed a time value without any date\n            return 0.0;\n        } elseif (count($t1) == 2) {\n            //    We only have two parts of the date: either day/month or month/year\n            if ($yearFound) {\n                array_unshift($t1, 1);\n            } else {\n                array_push($t1, date('Y'));\n            }\n        }\n        unset($t);\n        $dateValue = implode(' ', $t1);\n\n        $PHPDateArray = date_parse($dateValue);\n        if (($PHPDateArray === false) || ($PHPDateArray['error_count'] > 0)) {\n            $testVal1 = strtok($dateValue, '- ');\n            if ($testVal1 !== false) {\n                $testVal2 = strtok('- ');\n                if ($testVal2 !== false) {\n                    $testVal3 = strtok('- ');\n                    if ($testVal3 === false) {\n                        $testVal3 = strftime('%Y');\n                    }\n                } else {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            $PHPDateArray = date_parse($testVal1.'-'.$testVal2.'-'.$testVal3);\n            if (($PHPDateArray === false) || ($PHPDateArray['error_count'] > 0)) {\n                $PHPDateArray = date_parse($testVal2.'-'.$testVal1.'-'.$testVal3);\n                if (($PHPDateArray === false) || ($PHPDateArray['error_count'] > 0)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n            }\n        }\n\n        if (($PHPDateArray !== false) && ($PHPDateArray['error_count'] == 0)) {\n            // Execute function\n            if ($PHPDateArray['year'] == '') {\n                $PHPDateArray['year'] = strftime('%Y');\n            }\n            if ($PHPDateArray['year'] < 1900) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            if ($PHPDateArray['month'] == '') {\n                $PHPDateArray['month'] = strftime('%m');\n            }\n            if ($PHPDateArray['day'] == '') {\n                $PHPDateArray['day'] = strftime('%d');\n            }\n            $excelDateValue = floor(\n                PHPExcel_Shared_Date::FormattedPHPToExcel(\n                    $PHPDateArray['year'],\n                    $PHPDateArray['month'],\n                    $PHPDateArray['day'],\n                    $PHPDateArray['hour'],\n                    $PHPDateArray['minute'],\n                    $PHPDateArray['second']\n                )\n            );\n\n            switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n                case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                    return (float) $excelDateValue;\n                case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                    return (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue);\n                case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                    return new DateTime($PHPDateArray['year'].'-'.$PHPDateArray['month'].'-'.$PHPDateArray['day'].' 00:00:00');\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * TIMEVALUE\n     *\n     * Returns a value that represents a particular time.\n     * Use TIMEVALUE to convert a time represented by a text string to an Excel or PHP date/time stamp\n     * value.\n     *\n     * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time\n     * format of your regional settings. PHPExcel does not change cell formatting in this way.\n     *\n     * Excel Function:\n     *        TIMEVALUE(timeValue)\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    string    $timeValue        A text string that represents a time in any one of the Microsoft\n     *                                    Excel time formats; for example, \"6:45 PM\" and \"18:45\" text strings\n     *                                    within quotation marks that represent time.\n     *                                    Date information in time_text is ignored.\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function TIMEVALUE($timeValue)\n    {\n        $timeValue = trim(PHPExcel_Calculation_Functions::flattenSingleValue($timeValue), '\"');\n        $timeValue = str_replace(array('/', '.'), array('-', '-'), $timeValue);\n\n        $PHPDateArray = date_parse($timeValue);\n        if (($PHPDateArray !== false) && ($PHPDateArray['error_count'] == 0)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(\n                    $PHPDateArray['year'],\n                    $PHPDateArray['month'],\n                    $PHPDateArray['day'],\n                    $PHPDateArray['hour'],\n                    $PHPDateArray['minute'],\n                    $PHPDateArray['second']\n                );\n            } else {\n                $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900, 1, 1, $PHPDateArray['hour'], $PHPDateArray['minute'], $PHPDateArray['second']) - 1;\n            }\n\n            switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n                case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                    return (float) $excelDateValue;\n                case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                    return (integer) $phpDateValue = PHPExcel_Shared_Date::ExcelToPHP($excelDateValue+25569) - 3600;\n                case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                    return new DateTime('1900-01-01 '.$PHPDateArray['hour'].':'.$PHPDateArray['minute'].':'.$PHPDateArray['second']);\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * DATEDIF\n     *\n     * @param    mixed    $startDate        Excel date serial value, PHP date/time stamp, PHP DateTime object\n     *                                    or a standard date string\n     * @param    mixed    $endDate        Excel date serial value, PHP date/time stamp, PHP DateTime object\n     *                                    or a standard date string\n     * @param    string    $unit\n     * @return    integer    Interval between the dates\n     */\n    public static function DATEDIF($startDate = 0, $endDate = 0, $unit = 'D')\n    {\n        $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate);\n        $endDate   = PHPExcel_Calculation_Functions::flattenSingleValue($endDate);\n        $unit      = strtoupper(PHPExcel_Calculation_Functions::flattenSingleValue($unit));\n\n        if (is_string($startDate = self::getDateValue($startDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($endDate = self::getDateValue($endDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Validate parameters\n        if ($startDate >= $endDate) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $difference = $endDate - $startDate;\n\n        $PHPStartDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($startDate);\n        $startDays = $PHPStartDateObject->format('j');\n        $startMonths = $PHPStartDateObject->format('n');\n        $startYears = $PHPStartDateObject->format('Y');\n\n        $PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate);\n        $endDays = $PHPEndDateObject->format('j');\n        $endMonths = $PHPEndDateObject->format('n');\n        $endYears = $PHPEndDateObject->format('Y');\n\n        $retVal = PHPExcel_Calculation_Functions::NaN();\n        switch ($unit) {\n            case 'D':\n                $retVal = intval($difference);\n                break;\n            case 'M':\n                $retVal = intval($endMonths - $startMonths) + (intval($endYears - $startYears) * 12);\n                //    We're only interested in full months\n                if ($endDays < $startDays) {\n                    --$retVal;\n                }\n                break;\n            case 'Y':\n                $retVal = intval($endYears - $startYears);\n                //    We're only interested in full months\n                if ($endMonths < $startMonths) {\n                    --$retVal;\n                } elseif (($endMonths == $startMonths) && ($endDays < $startDays)) {\n                    --$retVal;\n                }\n                break;\n            case 'MD':\n                if ($endDays < $startDays) {\n                    $retVal = $endDays;\n                    $PHPEndDateObject->modify('-'.$endDays.' days');\n                    $adjustDays = $PHPEndDateObject->format('j');\n                    if ($adjustDays > $startDays) {\n                        $retVal += ($adjustDays - $startDays);\n                    }\n                } else {\n                    $retVal = $endDays - $startDays;\n                }\n                break;\n            case 'YM':\n                $retVal = intval($endMonths - $startMonths);\n                if ($retVal < 0) {\n                    $retVal += 12;\n                }\n                //    We're only interested in full months\n                if ($endDays < $startDays) {\n                    --$retVal;\n                }\n                break;\n            case 'YD':\n                $retVal = intval($difference);\n                if ($endYears > $startYears) {\n                    while ($endYears > $startYears) {\n                        $PHPEndDateObject->modify('-1 year');\n                        $endYears = $PHPEndDateObject->format('Y');\n                    }\n                    $retVal = $PHPEndDateObject->format('z') - $PHPStartDateObject->format('z');\n                    if ($retVal < 0) {\n                        $retVal += 365;\n                    }\n                }\n                break;\n            default:\n                $retVal = PHPExcel_Calculation_Functions::NaN();\n        }\n        return $retVal;\n    }\n\n\n    /**\n     * DAYS360\n     *\n     * Returns the number of days between two dates based on a 360-day year (twelve 30-day months),\n     * which is used in some accounting calculations. Use this function to help compute payments if\n     * your accounting system is based on twelve 30-day months.\n     *\n     * Excel Function:\n     *        DAYS360(startDate,endDate[,method])\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    mixed        $startDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                        PHP DateTime object, or a standard date string\n     * @param    mixed        $endDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                        PHP DateTime object, or a standard date string\n     * @param    boolean        $method            US or European Method\n     *                                        FALSE or omitted: U.S. (NASD) method. If the starting date is\n     *                                        the last day of a month, it becomes equal to the 30th of the\n     *                                        same month. If the ending date is the last day of a month and\n     *                                        the starting date is earlier than the 30th of a month, the\n     *                                        ending date becomes equal to the 1st of the next month;\n     *                                        otherwise the ending date becomes equal to the 30th of the\n     *                                        same month.\n     *                                        TRUE: European method. Starting dates and ending dates that\n     *                                        occur on the 31st of a month become equal to the 30th of the\n     *                                        same month.\n     * @return    integer        Number of days between start date and end date\n     */\n    public static function DAYS360($startDate = 0, $endDate = 0, $method = false)\n    {\n        $startDate    = PHPExcel_Calculation_Functions::flattenSingleValue($startDate);\n        $endDate    = PHPExcel_Calculation_Functions::flattenSingleValue($endDate);\n\n        if (is_string($startDate = self::getDateValue($startDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($endDate = self::getDateValue($endDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (!is_bool($method)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Execute function\n        $PHPStartDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($startDate);\n        $startDay = $PHPStartDateObject->format('j');\n        $startMonth = $PHPStartDateObject->format('n');\n        $startYear = $PHPStartDateObject->format('Y');\n\n        $PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate);\n        $endDay = $PHPEndDateObject->format('j');\n        $endMonth = $PHPEndDateObject->format('n');\n        $endYear = $PHPEndDateObject->format('Y');\n\n        return self::dateDiff360($startDay, $startMonth, $startYear, $endDay, $endMonth, $endYear, !$method);\n    }\n\n\n    /**\n     * YEARFRAC\n     *\n     * Calculates the fraction of the year represented by the number of whole days between two dates\n     * (the start_date and the end_date).\n     * Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or\n     * obligations to assign to a specific term.\n     *\n     * Excel Function:\n     *        YEARFRAC(startDate,endDate[,method])\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    mixed    $startDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @param    mixed    $endDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @param    integer    $method            Method used for the calculation\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float    fraction of the year\n     */\n    public static function YEARFRAC($startDate = 0, $endDate = 0, $method = 0)\n    {\n        $startDate    = PHPExcel_Calculation_Functions::flattenSingleValue($startDate);\n        $endDate    = PHPExcel_Calculation_Functions::flattenSingleValue($endDate);\n        $method        = PHPExcel_Calculation_Functions::flattenSingleValue($method);\n\n        if (is_string($startDate = self::getDateValue($startDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($endDate = self::getDateValue($endDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (((is_numeric($method)) && (!is_string($method))) || ($method == '')) {\n            switch ($method) {\n                case 0:\n                    return self::DAYS360($startDate, $endDate) / 360;\n                case 1:\n                    $days = self::DATEDIF($startDate, $endDate);\n                    $startYear = self::YEAR($startDate);\n                    $endYear = self::YEAR($endDate);\n                    $years = $endYear - $startYear + 1;\n                    $leapDays = 0;\n                    if ($years == 1) {\n                        if (self::isLeapYear($endYear)) {\n                            $startMonth = self::MONTHOFYEAR($startDate);\n                            $endMonth = self::MONTHOFYEAR($endDate);\n                            $endDay = self::DAYOFMONTH($endDate);\n                            if (($startMonth < 3) ||\n                                (($endMonth * 100 + $endDay) >= (2 * 100 + 29))) {\n                                 $leapDays += 1;\n                            }\n                        }\n                    } else {\n                        for ($year = $startYear; $year <= $endYear; ++$year) {\n                            if ($year == $startYear) {\n                                $startMonth = self::MONTHOFYEAR($startDate);\n                                $startDay = self::DAYOFMONTH($startDate);\n                                if ($startMonth < 3) {\n                                    $leapDays += (self::isLeapYear($year)) ? 1 : 0;\n                                }\n                            } elseif ($year == $endYear) {\n                                $endMonth = self::MONTHOFYEAR($endDate);\n                                $endDay = self::DAYOFMONTH($endDate);\n                                if (($endMonth * 100 + $endDay) >= (2 * 100 + 29)) {\n                                    $leapDays += (self::isLeapYear($year)) ? 1 : 0;\n                                }\n                            } else {\n                                $leapDays += (self::isLeapYear($year)) ? 1 : 0;\n                            }\n                        }\n                        if ($years == 2) {\n                            if (($leapDays == 0) && (self::isLeapYear($startYear)) && ($days > 365)) {\n                                $leapDays = 1;\n                            } elseif ($days < 366) {\n                                $years = 1;\n                            }\n                        }\n                        $leapDays /= $years;\n                    }\n                    return $days / (365 + $leapDays);\n                case 2:\n                    return self::DATEDIF($startDate, $endDate) / 360;\n                case 3:\n                    return self::DATEDIF($startDate, $endDate) / 365;\n                case 4:\n                    return self::DAYS360($startDate, $endDate, true) / 360;\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * NETWORKDAYS\n     *\n     * Returns the number of whole working days between start_date and end_date. Working days\n     * exclude weekends and any dates identified in holidays.\n     * Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days\n     * worked during a specific term.\n     *\n     * Excel Function:\n     *        NETWORKDAYS(startDate,endDate[,holidays[,holiday[,...]]])\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    mixed            $startDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                            PHP DateTime object, or a standard date string\n     * @param    mixed            $endDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                            PHP DateTime object, or a standard date string\n     * @param    mixed            $holidays,...    Optional series of Excel date serial value (float), PHP date\n     *                                            timestamp (integer), PHP DateTime object, or a standard date\n     *                                            strings that will be excluded from the working calendar, such\n     *                                            as state and federal holidays and floating holidays.\n     * @return    integer            Interval between the dates\n     */\n    public static function NETWORKDAYS($startDate, $endDate)\n    {\n        //    Retrieve the mandatory start and end date that are referenced in the function definition\n        $startDate    = PHPExcel_Calculation_Functions::flattenSingleValue($startDate);\n        $endDate    = PHPExcel_Calculation_Functions::flattenSingleValue($endDate);\n        //    Flush the mandatory start and end date that are referenced in the function definition, and get the optional days\n        $dateArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        array_shift($dateArgs);\n        array_shift($dateArgs);\n\n        //    Validate the start and end dates\n        if (is_string($startDate = $sDate = self::getDateValue($startDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $startDate = (float) floor($startDate);\n        if (is_string($endDate = $eDate = self::getDateValue($endDate))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $endDate = (float) floor($endDate);\n\n        if ($sDate > $eDate) {\n            $startDate = $eDate;\n            $endDate = $sDate;\n        }\n\n        // Execute function\n        $startDoW = 6 - self::DAYOFWEEK($startDate, 2);\n        if ($startDoW < 0) {\n            $startDoW = 0;\n        }\n        $endDoW = self::DAYOFWEEK($endDate, 2);\n        if ($endDoW >= 6) {\n            $endDoW = 0;\n        }\n\n        $wholeWeekDays = floor(($endDate - $startDate) / 7) * 5;\n        $partWeekDays = $endDoW + $startDoW;\n        if ($partWeekDays > 5) {\n            $partWeekDays -= 5;\n        }\n\n        //    Test any extra holiday parameters\n        $holidayCountedArray = array();\n        foreach ($dateArgs as $holidayDate) {\n            if (is_string($holidayDate = self::getDateValue($holidayDate))) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) {\n                if ((self::DAYOFWEEK($holidayDate, 2) < 6) && (!in_array($holidayDate, $holidayCountedArray))) {\n                    --$partWeekDays;\n                    $holidayCountedArray[] = $holidayDate;\n                }\n            }\n        }\n\n        if ($sDate > $eDate) {\n            return 0 - ($wholeWeekDays + $partWeekDays);\n        }\n        return $wholeWeekDays + $partWeekDays;\n    }\n\n\n    /**\n     * WORKDAY\n     *\n     * Returns the date that is the indicated number of working days before or after a date (the\n     * starting date). Working days exclude weekends and any dates identified as holidays.\n     * Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected\n     * delivery times, or the number of days of work performed.\n     *\n     * Excel Function:\n     *        WORKDAY(startDate,endDays[,holidays[,holiday[,...]]])\n     *\n     * @access    public\n     * @category Date/Time Functions\n     * @param    mixed        $startDate        Excel date serial value (float), PHP date timestamp (integer),\n     *                                        PHP DateTime object, or a standard date string\n     * @param    integer        $endDays        The number of nonweekend and nonholiday days before or after\n     *                                        startDate. A positive value for days yields a future date; a\n     *                                        negative value yields a past date.\n     * @param    mixed        $holidays,...    Optional series of Excel date serial value (float), PHP date\n     *                                        timestamp (integer), PHP DateTime object, or a standard date\n     *                                        strings that will be excluded from the working calendar, such\n     *                                        as state and federal holidays and floating holidays.\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function WORKDAY($startDate, $endDays)\n    {\n        //    Retrieve the mandatory start date and days that are referenced in the function definition\n        $startDate    = PHPExcel_Calculation_Functions::flattenSingleValue($startDate);\n        $endDays    = PHPExcel_Calculation_Functions::flattenSingleValue($endDays);\n        //    Flush the mandatory start date and days that are referenced in the function definition, and get the optional days\n        $dateArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        array_shift($dateArgs);\n        array_shift($dateArgs);\n\n        if ((is_string($startDate = self::getDateValue($startDate))) || (!is_numeric($endDays))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $startDate = (float) floor($startDate);\n        $endDays = (int) floor($endDays);\n        //    If endDays is 0, we always return startDate\n        if ($endDays == 0) {\n            return $startDate;\n        }\n\n        $decrementing = ($endDays < 0) ? true : false;\n\n        //    Adjust the start date if it falls over a weekend\n\n        $startDoW = self::DAYOFWEEK($startDate, 3);\n        if (self::DAYOFWEEK($startDate, 3) >= 5) {\n            $startDate += ($decrementing) ? -$startDoW + 4: 7 - $startDoW;\n            ($decrementing) ? $endDays++ : $endDays--;\n        }\n\n        //    Add endDays\n        $endDate = (float) $startDate + (intval($endDays / 5) * 7) + ($endDays % 5);\n\n        //    Adjust the calculated end date if it falls over a weekend\n        $endDoW = self::DAYOFWEEK($endDate, 3);\n        if ($endDoW >= 5) {\n            $endDate += ($decrementing) ? -$endDoW + 4: 7 - $endDoW;\n        }\n\n        //    Test any extra holiday parameters\n        if (!empty($dateArgs)) {\n            $holidayCountedArray = $holidayDates = array();\n            foreach ($dateArgs as $holidayDate) {\n                if (($holidayDate !== null) && (trim($holidayDate) > '')) {\n                    if (is_string($holidayDate = self::getDateValue($holidayDate))) {\n                        return PHPExcel_Calculation_Functions::VALUE();\n                    }\n                    if (self::DAYOFWEEK($holidayDate, 3) < 5) {\n                        $holidayDates[] = $holidayDate;\n                    }\n                }\n            }\n            if ($decrementing) {\n                rsort($holidayDates, SORT_NUMERIC);\n            } else {\n                sort($holidayDates, SORT_NUMERIC);\n            }\n            foreach ($holidayDates as $holidayDate) {\n                if ($decrementing) {\n                    if (($holidayDate <= $startDate) && ($holidayDate >= $endDate)) {\n                        if (!in_array($holidayDate, $holidayCountedArray)) {\n                            --$endDate;\n                            $holidayCountedArray[] = $holidayDate;\n                        }\n                    }\n                } else {\n                    if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) {\n                        if (!in_array($holidayDate, $holidayCountedArray)) {\n                            ++$endDate;\n                            $holidayCountedArray[] = $holidayDate;\n                        }\n                    }\n                }\n                //    Adjust the calculated end date if it falls over a weekend\n                $endDoW = self::DAYOFWEEK($endDate, 3);\n                if ($endDoW >= 5) {\n                    $endDate += ($decrementing) ? -$endDoW + 4 : 7 - $endDoW;\n                }\n            }\n        }\n\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                return (float) $endDate;\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                return (integer) PHPExcel_Shared_Date::ExcelToPHP($endDate);\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                return PHPExcel_Shared_Date::ExcelToPHPObject($endDate);\n        }\n    }\n\n\n    /**\n     * DAYOFMONTH\n     *\n     * Returns the day of the month, for a specified date. The day is given as an integer\n     * ranging from 1 to 31.\n     *\n     * Excel Function:\n     *        DAY(dateValue)\n     *\n     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @return    int        Day of the month\n     */\n    public static function DAYOFMONTH($dateValue = 1)\n    {\n        $dateValue    = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n\n        if ($dateValue === null) {\n            $dateValue = 1;\n        } elseif (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($dateValue == 0.0) {\n            return 0;\n        } elseif ($dateValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue);\n\n        return (int) $PHPDateObject->format('j');\n    }\n\n\n    /**\n     * DAYOFWEEK\n     *\n     * Returns the day of the week for a specified date. The day is given as an integer\n     * ranging from 0 to 7 (dependent on the requested style).\n     *\n     * Excel Function:\n     *        WEEKDAY(dateValue[,style])\n     *\n     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @param    int        $style            A number that determines the type of return value\n     *                                        1 or omitted    Numbers 1 (Sunday) through 7 (Saturday).\n     *                                        2                Numbers 1 (Monday) through 7 (Sunday).\n     *                                        3                Numbers 0 (Monday) through 6 (Sunday).\n     * @return    int        Day of the week value\n     */\n    public static function DAYOFWEEK($dateValue = 1, $style = 1)\n    {\n        $dateValue    = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n        $style        = PHPExcel_Calculation_Functions::flattenSingleValue($style);\n\n        if (!is_numeric($style)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif (($style < 1) || ($style > 3)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $style = floor($style);\n\n        if ($dateValue === null) {\n            $dateValue = 1;\n        } elseif (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($dateValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue);\n        $DoW = $PHPDateObject->format('w');\n\n        $firstDay = 1;\n        switch ($style) {\n            case 1:\n                ++$DoW;\n                break;\n            case 2:\n                if ($DoW == 0) {\n                    $DoW = 7;\n                }\n                break;\n            case 3:\n                if ($DoW == 0) {\n                    $DoW = 7;\n                }\n                $firstDay = 0;\n                --$DoW;\n                break;\n        }\n        if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL) {\n            //    Test for Excel's 1900 leap year, and introduce the error as required\n            if (($PHPDateObject->format('Y') == 1900) && ($PHPDateObject->format('n') <= 2)) {\n                --$DoW;\n                if ($DoW < $firstDay) {\n                    $DoW += 7;\n                }\n            }\n        }\n\n        return (int) $DoW;\n    }\n\n\n    /**\n     * WEEKOFYEAR\n     *\n     * Returns the week of the year for a specified date.\n     * The WEEKNUM function considers the week containing January 1 to be the first week of the year.\n     * However, there is a European standard that defines the first week as the one with the majority\n     * of days (four or more) falling in the new year. This means that for years in which there are\n     * three days or less in the first week of January, the WEEKNUM function returns week numbers\n     * that are incorrect according to the European standard.\n     *\n     * Excel Function:\n     *        WEEKNUM(dateValue[,style])\n     *\n     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @param    boolean    $method            Week begins on Sunday or Monday\n     *                                        1 or omitted    Week begins on Sunday.\n     *                                        2                Week begins on Monday.\n     * @return    int        Week Number\n     */\n    public static function WEEKOFYEAR($dateValue = 1, $method = 1)\n    {\n        $dateValue    = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n        $method        = PHPExcel_Calculation_Functions::flattenSingleValue($method);\n\n        if (!is_numeric($method)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif (($method < 1) || ($method > 2)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $method = floor($method);\n\n        if ($dateValue === null) {\n            $dateValue = 1;\n        } elseif (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($dateValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue);\n        $dayOfYear = $PHPDateObject->format('z');\n        $dow = $PHPDateObject->format('w');\n        $PHPDateObject->modify('-' . $dayOfYear . ' days');\n        $dow = $PHPDateObject->format('w');\n        $daysInFirstWeek = 7 - (($dow + (2 - $method)) % 7);\n        $dayOfYear -= $daysInFirstWeek;\n        $weekOfYear = ceil($dayOfYear / 7) + 1;\n\n        return (int) $weekOfYear;\n    }\n\n\n    /**\n     * MONTHOFYEAR\n     *\n     * Returns the month of a date represented by a serial number.\n     * The month is given as an integer, ranging from 1 (January) to 12 (December).\n     *\n     * Excel Function:\n     *        MONTH(dateValue)\n     *\n     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @return    int        Month of the year\n     */\n    public static function MONTHOFYEAR($dateValue = 1)\n    {\n        $dateValue    = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n\n        if ($dateValue === null) {\n            $dateValue = 1;\n        } elseif (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($dateValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue);\n\n        return (int) $PHPDateObject->format('n');\n    }\n\n\n    /**\n     * YEAR\n     *\n     * Returns the year corresponding to a date.\n     * The year is returned as an integer in the range 1900-9999.\n     *\n     * Excel Function:\n     *        YEAR(dateValue)\n     *\n     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard date string\n     * @return    int        Year\n     */\n    public static function YEAR($dateValue = 1)\n    {\n        $dateValue    = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n\n        if ($dateValue === null) {\n            $dateValue = 1;\n        } elseif (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($dateValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Execute function\n        $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue);\n\n        return (int) $PHPDateObject->format('Y');\n    }\n\n\n    /**\n     * HOUROFDAY\n     *\n     * Returns the hour of a time value.\n     * The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).\n     *\n     * Excel Function:\n     *        HOUR(timeValue)\n     *\n     * @param    mixed    $timeValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard time string\n     * @return    int        Hour\n     */\n    public static function HOUROFDAY($timeValue = 0)\n    {\n        $timeValue    = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue);\n\n        if (!is_numeric($timeValue)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                $testVal = strtok($timeValue, '/-: ');\n                if (strlen($testVal) < strlen($timeValue)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n            }\n            $timeValue = self::getTimeValue($timeValue);\n            if (is_string($timeValue)) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        // Execute function\n        if ($timeValue >= 1) {\n            $timeValue = fmod($timeValue, 1);\n        } elseif ($timeValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue);\n\n        return (int) gmdate('G', $timeValue);\n    }\n\n\n    /**\n     * MINUTEOFHOUR\n     *\n     * Returns the minutes of a time value.\n     * The minute is given as an integer, ranging from 0 to 59.\n     *\n     * Excel Function:\n     *        MINUTE(timeValue)\n     *\n     * @param    mixed    $timeValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard time string\n     * @return    int        Minute\n     */\n    public static function MINUTEOFHOUR($timeValue = 0)\n    {\n        $timeValue = $timeTester    = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue);\n\n        if (!is_numeric($timeValue)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                $testVal = strtok($timeValue, '/-: ');\n                if (strlen($testVal) < strlen($timeValue)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n            }\n            $timeValue = self::getTimeValue($timeValue);\n            if (is_string($timeValue)) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        // Execute function\n        if ($timeValue >= 1) {\n            $timeValue = fmod($timeValue, 1);\n        } elseif ($timeValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue);\n\n        return (int) gmdate('i', $timeValue);\n    }\n\n\n    /**\n     * SECONDOFMINUTE\n     *\n     * Returns the seconds of a time value.\n     * The second is given as an integer in the range 0 (zero) to 59.\n     *\n     * Excel Function:\n     *        SECOND(timeValue)\n     *\n     * @param    mixed    $timeValue        Excel date serial value (float), PHP date timestamp (integer),\n     *                                    PHP DateTime object, or a standard time string\n     * @return    int        Second\n     */\n    public static function SECONDOFMINUTE($timeValue = 0)\n    {\n        $timeValue    = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue);\n\n        if (!is_numeric($timeValue)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                $testVal = strtok($timeValue, '/-: ');\n                if (strlen($testVal) < strlen($timeValue)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n            }\n            $timeValue = self::getTimeValue($timeValue);\n            if (is_string($timeValue)) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        // Execute function\n        if ($timeValue >= 1) {\n            $timeValue = fmod($timeValue, 1);\n        } elseif ($timeValue < 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue);\n\n        return (int) gmdate('s', $timeValue);\n    }\n\n\n    /**\n     * EDATE\n     *\n     * Returns the serial number that represents the date that is the indicated number of months\n     * before or after a specified date (the start_date).\n     * Use EDATE to calculate maturity dates or due dates that fall on the same day of the month\n     * as the date of issue.\n     *\n     * Excel Function:\n     *        EDATE(dateValue,adjustmentMonths)\n     *\n     * @param    mixed    $dateValue            Excel date serial value (float), PHP date timestamp (integer),\n     *                                        PHP DateTime object, or a standard date string\n     * @param    int        $adjustmentMonths    The number of months before or after start_date.\n     *                                        A positive value for months yields a future date;\n     *                                        a negative value yields a past date.\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function EDATE($dateValue = 1, $adjustmentMonths = 0)\n    {\n        $dateValue            = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n        $adjustmentMonths    = PHPExcel_Calculation_Functions::flattenSingleValue($adjustmentMonths);\n\n        if (!is_numeric($adjustmentMonths)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $adjustmentMonths = floor($adjustmentMonths);\n\n        if (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Execute function\n        $PHPDateObject = self::adjustDateByMonths($dateValue, $adjustmentMonths);\n\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                return (float) PHPExcel_Shared_Date::PHPToExcel($PHPDateObject);\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                return $PHPDateObject;\n        }\n    }\n\n\n    /**\n     * EOMONTH\n     *\n     * Returns the date value for the last day of the month that is the indicated number of months\n     * before or after start_date.\n     * Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month.\n     *\n     * Excel Function:\n     *        EOMONTH(dateValue,adjustmentMonths)\n     *\n     * @param    mixed    $dateValue            Excel date serial value (float), PHP date timestamp (integer),\n     *                                        PHP DateTime object, or a standard date string\n     * @param    int        $adjustmentMonths    The number of months before or after start_date.\n     *                                        A positive value for months yields a future date;\n     *                                        a negative value yields a past date.\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function EOMONTH($dateValue = 1, $adjustmentMonths = 0)\n    {\n        $dateValue            = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue);\n        $adjustmentMonths    = PHPExcel_Calculation_Functions::flattenSingleValue($adjustmentMonths);\n\n        if (!is_numeric($adjustmentMonths)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $adjustmentMonths = floor($adjustmentMonths);\n\n        if (is_string($dateValue = self::getDateValue($dateValue))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Execute function\n        $PHPDateObject = self::adjustDateByMonths($dateValue, $adjustmentMonths+1);\n        $adjustDays = (int) $PHPDateObject->format('d');\n        $adjustDaysString = '-' . $adjustDays . ' days';\n        $PHPDateObject->modify($adjustDaysString);\n\n        switch (PHPExcel_Calculation_Functions::getReturnDateType()) {\n            case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL:\n                return (float) PHPExcel_Shared_Date::PHPToExcel($PHPDateObject);\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC:\n                return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));\n            case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT:\n                return $PHPDateObject;\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Engineering.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/** EULER */\ndefine('EULER', 2.71828182845904523536);\n\n/**\n * PHPExcel_Calculation_Engineering\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Engineering\n{\n    /**\n     * Details of the Units of measure that can be used in CONVERTUOM()\n     *\n     * @var mixed[]\n     */\n    private static $conversionUnits = array(\n        'g'     => array('Group' => 'Mass',        'Unit Name' => 'Gram',                     'AllowPrefix' => true),\n        'sg'    => array('Group' => 'Mass',        'Unit Name' => 'Slug',                     'AllowPrefix' => false),\n        'lbm'   => array('Group' => 'Mass',        'Unit Name' => 'Pound mass (avoirdupois)', 'AllowPrefix' => false),\n        'u'     => array('Group' => 'Mass',        'Unit Name' => 'U (atomic mass unit)',     'AllowPrefix' => true),\n        'ozm'   => array('Group' => 'Mass',        'Unit Name' => 'Ounce mass (avoirdupois)', 'AllowPrefix' => false),\n        'm'     => array('Group' => 'Distance',    'Unit Name' => 'Meter',                    'AllowPrefix' => true),\n        'mi'    => array('Group' => 'Distance',    'Unit Name' => 'Statute mile',             'AllowPrefix' => false),\n        'Nmi'   => array('Group' => 'Distance',    'Unit Name' => 'Nautical mile',            'AllowPrefix' => false),\n        'in'    => array('Group' => 'Distance',    'Unit Name' => 'Inch',                     'AllowPrefix' => false),\n        'ft'    => array('Group' => 'Distance',    'Unit Name' => 'Foot',                     'AllowPrefix' => false),\n        'yd'    => array('Group' => 'Distance',    'Unit Name' => 'Yard',                     'AllowPrefix' => false),\n        'ang'   => array('Group' => 'Distance',    'Unit Name' => 'Angstrom',                 'AllowPrefix' => true),\n        'Pica'  => array('Group' => 'Distance',    'Unit Name' => 'Pica (1/72 in)',           'AllowPrefix' => false),\n        'yr'    => array('Group' => 'Time',        'Unit Name' => 'Year',                     'AllowPrefix' => false),\n        'day'   => array('Group' => 'Time',        'Unit Name' => 'Day',                      'AllowPrefix' => false),\n        'hr'    => array('Group' => 'Time',        'Unit Name' => 'Hour',                     'AllowPrefix' => false),\n        'mn'    => array('Group' => 'Time',        'Unit Name' => 'Minute',                   'AllowPrefix' => false),\n        'sec'   => array('Group' => 'Time',        'Unit Name' => 'Second',                   'AllowPrefix' => true),\n        'Pa'    => array('Group' => 'Pressure',    'Unit Name' => 'Pascal',                   'AllowPrefix' => true),\n        'p'     => array('Group' => 'Pressure',    'Unit Name' => 'Pascal',                   'AllowPrefix' => true),\n        'atm'   => array('Group' => 'Pressure',    'Unit Name' => 'Atmosphere',               'AllowPrefix' => true),\n        'at'    => array('Group' => 'Pressure',    'Unit Name' => 'Atmosphere',               'AllowPrefix' => true),\n        'mmHg'  => array('Group' => 'Pressure',    'Unit Name' => 'mm of Mercury',            'AllowPrefix' => true),\n        'N'     => array('Group' => 'Force',       'Unit Name' => 'Newton',                   'AllowPrefix' => true),\n        'dyn'   => array('Group' => 'Force',       'Unit Name' => 'Dyne',                     'AllowPrefix' => true),\n        'dy'    => array('Group' => 'Force',       'Unit Name' => 'Dyne',                     'AllowPrefix' => true),\n        'lbf'   => array('Group' => 'Force',       'Unit Name' => 'Pound force',              'AllowPrefix' => false),\n        'J'     => array('Group' => 'Energy',      'Unit Name' => 'Joule',                    'AllowPrefix' => true),\n        'e'     => array('Group' => 'Energy',      'Unit Name' => 'Erg',                      'AllowPrefix' => true),\n        'c'     => array('Group' => 'Energy',      'Unit Name' => 'Thermodynamic calorie',    'AllowPrefix' => true),\n        'cal'   => array('Group' => 'Energy',      'Unit Name' => 'IT calorie',               'AllowPrefix' => true),\n        'eV'    => array('Group' => 'Energy',      'Unit Name' => 'Electron volt',            'AllowPrefix' => true),\n        'ev'    => array('Group' => 'Energy',      'Unit Name' => 'Electron volt',            'AllowPrefix' => true),\n        'HPh'   => array('Group' => 'Energy',      'Unit Name' => 'Horsepower-hour',          'AllowPrefix' => false),\n        'hh'    => array('Group' => 'Energy',      'Unit Name' => 'Horsepower-hour',          'AllowPrefix' => false),\n        'Wh'    => array('Group' => 'Energy',      'Unit Name' => 'Watt-hour',                'AllowPrefix' => true),\n        'wh'    => array('Group' => 'Energy',      'Unit Name' => 'Watt-hour',                'AllowPrefix' => true),\n        'flb'   => array('Group' => 'Energy',      'Unit Name' => 'Foot-pound',               'AllowPrefix' => false),\n        'BTU'   => array('Group' => 'Energy',      'Unit Name' => 'BTU',                      'AllowPrefix' => false),\n        'btu'   => array('Group' => 'Energy',      'Unit Name' => 'BTU',                      'AllowPrefix' => false),\n        'HP'    => array('Group' => 'Power',       'Unit Name' => 'Horsepower',               'AllowPrefix' => false),\n        'h'     => array('Group' => 'Power',       'Unit Name' => 'Horsepower',               'AllowPrefix' => false),\n        'W'     => array('Group' => 'Power',       'Unit Name' => 'Watt',                     'AllowPrefix' => true),\n        'w'     => array('Group' => 'Power',       'Unit Name' => 'Watt',                     'AllowPrefix' => true),\n        'T'     => array('Group' => 'Magnetism',   'Unit Name' => 'Tesla',                    'AllowPrefix' => true),\n        'ga'    => array('Group' => 'Magnetism',   'Unit Name' => 'Gauss',                    'AllowPrefix' => true),\n        'C'     => array('Group' => 'Temperature', 'Unit Name' => 'Celsius',                  'AllowPrefix' => false),\n        'cel'   => array('Group' => 'Temperature', 'Unit Name' => 'Celsius',                  'AllowPrefix' => false),\n        'F'     => array('Group' => 'Temperature', 'Unit Name' => 'Fahrenheit',               'AllowPrefix' => false),\n        'fah'   => array('Group' => 'Temperature', 'Unit Name' => 'Fahrenheit',               'AllowPrefix' => false),\n        'K'     => array('Group' => 'Temperature', 'Unit Name' => 'Kelvin',                   'AllowPrefix' => false),\n        'kel'   => array('Group' => 'Temperature', 'Unit Name' => 'Kelvin',                   'AllowPrefix' => false),\n        'tsp'   => array('Group' => 'Liquid',      'Unit Name' => 'Teaspoon',                 'AllowPrefix' => false),\n        'tbs'   => array('Group' => 'Liquid',      'Unit Name' => 'Tablespoon',               'AllowPrefix' => false),\n        'oz'    => array('Group' => 'Liquid',      'Unit Name' => 'Fluid Ounce',              'AllowPrefix' => false),\n        'cup'   => array('Group' => 'Liquid',      'Unit Name' => 'Cup',                      'AllowPrefix' => false),\n        'pt'    => array('Group' => 'Liquid',      'Unit Name' => 'U.S. Pint',                'AllowPrefix' => false),\n        'us_pt' => array('Group' => 'Liquid',      'Unit Name' => 'U.S. Pint',                'AllowPrefix' => false),\n        'uk_pt' => array('Group' => 'Liquid',      'Unit Name' => 'U.K. Pint',                'AllowPrefix' => false),\n        'qt'    => array('Group' => 'Liquid',      'Unit Name' => 'Quart',                    'AllowPrefix' => false),\n        'gal'   => array('Group' => 'Liquid',      'Unit Name' => 'Gallon',                   'AllowPrefix' => false),\n        'l'     => array('Group' => 'Liquid',      'Unit Name' => 'Litre',                    'AllowPrefix' => true),\n        'lt'    => array('Group' => 'Liquid',      'Unit Name' => 'Litre',                    'AllowPrefix' => true),\n    );\n\n    /**\n     * Details of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()\n     *\n     * @var mixed[]\n     */\n    private static $conversionMultipliers = array(\n        'Y' => array('multiplier' => 1E24,  'name' => 'yotta'),\n        'Z' => array('multiplier' => 1E21,  'name' => 'zetta'),\n        'E' => array('multiplier' => 1E18,  'name' => 'exa'),\n        'P' => array('multiplier' => 1E15,  'name' => 'peta'),\n        'T' => array('multiplier' => 1E12,  'name' => 'tera'),\n        'G' => array('multiplier' => 1E9,   'name' => 'giga'),\n        'M' => array('multiplier' => 1E6,   'name' => 'mega'),\n        'k' => array('multiplier' => 1E3,   'name' => 'kilo'),\n        'h' => array('multiplier' => 1E2,   'name' => 'hecto'),\n        'e' => array('multiplier' => 1E1,   'name' => 'deka'),\n        'd' => array('multiplier' => 1E-1,  'name' => 'deci'),\n        'c' => array('multiplier' => 1E-2,  'name' => 'centi'),\n        'm' => array('multiplier' => 1E-3,  'name' => 'milli'),\n        'u' => array('multiplier' => 1E-6,  'name' => 'micro'),\n        'n' => array('multiplier' => 1E-9,  'name' => 'nano'),\n        'p' => array('multiplier' => 1E-12, 'name' => 'pico'),\n        'f' => array('multiplier' => 1E-15, 'name' => 'femto'),\n        'a' => array('multiplier' => 1E-18, 'name' => 'atto'),\n        'z' => array('multiplier' => 1E-21, 'name' => 'zepto'),\n        'y' => array('multiplier' => 1E-24, 'name' => 'yocto'),\n    );\n\n    /**\n     * Details of the Units of measure conversion factors, organised by group\n     *\n     * @var mixed[]\n     */\n    private static $unitConversions = array(\n        'Mass' => array(\n            'g' => array(\n                'g'   => 1.0,\n                'sg'  => 6.85220500053478E-05,\n                'lbm' => 2.20462291469134E-03,\n                'u'   => 6.02217000000000E+23,\n                'ozm' => 3.52739718003627E-02,\n            ),\n            'sg' => array(\n                'g'   => 1.45938424189287E+04,\n                'sg'  => 1.0,\n                'lbm' => 3.21739194101647E+01,\n                'u'   => 8.78866000000000E+27,\n                'ozm' => 5.14782785944229E+02,\n            ),\n            'lbm' => array(\n                'g'   => 4.5359230974881148E+02,\n                'sg'  => 3.10810749306493E-02,\n                'lbm' => 1.0,\n                'u'   => 2.73161000000000E+26,\n                'ozm' => 1.60000023429410E+01,\n            ),\n            'u' => array(\n                'g'   => 1.66053100460465E-24,\n                'sg'  => 1.13782988532950E-28,\n                'lbm' => 3.66084470330684E-27,\n                'u'   => 1.0,\n                'ozm' => 5.85735238300524E-26,\n            ),\n            'ozm' => array(\n                'g'   => 2.83495152079732E+01,\n                'sg'  => 1.94256689870811E-03,\n                'lbm' => 6.24999908478882E-02,\n                'u'   => 1.70725600000000E+25,\n                'ozm' => 1.0,\n            ),\n        ),\n        'Distance' => array(\n            'm' => array(\n                'm'    => 1.0,\n                'mi'   => 6.21371192237334E-04,\n                'Nmi'  => 5.39956803455724E-04,\n                'in'   => 3.93700787401575E+01,\n                'ft'   => 3.28083989501312E+00,\n                'yd'   => 1.09361329797891E+00,\n                'ang'  => 1.00000000000000E+10,\n                'Pica' => 2.83464566929116E+03,\n            ),\n            'mi' => array(\n                'm'    => 1.60934400000000E+03,\n                'mi'   => 1.0,\n                'Nmi'  => 8.68976241900648E-01,\n                'in'   => 6.33600000000000E+04,\n                'ft'   => 5.28000000000000E+03,\n                'yd'   => 1.76000000000000E+03,\n                'ang'  => 1.60934400000000E+13,\n                'Pica' => 4.56191999999971E+06,\n            ),\n            'Nmi' => array(\n                'm'    => 1.85200000000000E+03,\n                'mi'   => 1.15077944802354E+00,\n                'Nmi'  => 1.0,\n                'in'   => 7.29133858267717E+04,\n                'ft'   => 6.07611548556430E+03,\n                'yd'   => 2.02537182785694E+03,\n                'ang'  => 1.85200000000000E+13,\n                'Pica' => 5.24976377952723E+06,\n            ),\n            'in' => array(\n                'm'    => 2.54000000000000E-02,\n                'mi'   => 1.57828282828283E-05,\n                'Nmi'  => 1.37149028077754E-05,\n                'in'   => 1.0,\n                'ft'   => 8.33333333333333E-02,\n                'yd'   => 2.77777777686643E-02,\n                'ang'  => 2.54000000000000E+08,\n                'Pica' => 7.19999999999955E+01,\n            ),\n            'ft' => array(\n                'm'    => 3.04800000000000E-01,\n                'mi'   => 1.89393939393939E-04,\n                'Nmi'  => 1.64578833693305E-04,\n                'in'   => 1.20000000000000E+01,\n                'ft'   => 1.0,\n                'yd'   => 3.33333333223972E-01,\n                'ang'  => 3.04800000000000E+09,\n                'Pica' => 8.63999999999946E+02,\n            ),\n            'yd' => array(\n                'm'    => 9.14400000300000E-01,\n                'mi'   => 5.68181818368230E-04,\n                'Nmi'  => 4.93736501241901E-04,\n                'in'   => 3.60000000118110E+01,\n                'ft'   => 3.00000000000000E+00,\n                'yd'   => 1.0,\n                'ang'  => 9.14400000300000E+09,\n                'Pica' => 2.59200000085023E+03,\n            ),\n            'ang' => array(\n                'm'    => 1.00000000000000E-10,\n                'mi'   => 6.21371192237334E-14,\n                'Nmi'  => 5.39956803455724E-14,\n                'in'   => 3.93700787401575E-09,\n                'ft'   => 3.28083989501312E-10,\n                'yd'   => 1.09361329797891E-10,\n                'ang'  => 1.0,\n                'Pica' => 2.83464566929116E-07,\n            ),\n            'Pica' => array(\n                'm'    => 3.52777777777800E-04,\n                'mi'   => 2.19205948372629E-07,\n                'Nmi'  => 1.90484761219114E-07,\n                'in'   => 1.38888888888898E-02,\n                'ft'   => 1.15740740740748E-03,\n                'yd'   => 3.85802469009251E-04,\n                'ang'  => 3.52777777777800E+06,\n                'Pica' => 1.0,\n            ),\n        ),\n        'Time' => array(\n            'yr' => array(\n                'yr'  => 1.0,\n                'day' => 365.25,\n                'hr'  => 8766.0,\n                'mn'  => 525960.0,\n                'sec' => 31557600.0,\n            ),\n            'day' => array(\n                'yr'  => 2.73785078713210E-03,\n                'day' => 1.0,\n                'hr'  => 24.0,\n                'mn'  => 1440.0,\n                'sec' => 86400.0,\n            ),\n            'hr' => array(\n                'yr'  => 1.14077116130504E-04,\n                'day' => 4.16666666666667E-02,\n                'hr'  => 1.0,\n                'mn'  => 60.0,\n                'sec' => 3600.0,\n            ),\n            'mn' => array(\n                'yr'  => 1.90128526884174E-06,\n                'day' => 6.94444444444444E-04,\n                'hr'  => 1.66666666666667E-02,\n                'mn'  => 1.0,\n                'sec' => 60.0,\n            ),\n            'sec' => array(\n                'yr'  => 3.16880878140289E-08,\n                'day' => 1.15740740740741E-05,\n                'hr'  => 2.77777777777778E-04,\n                'mn'  => 1.66666666666667E-02,\n                'sec' => 1.0,\n            ),\n        ),\n        'Pressure' => array(\n            'Pa' => array(\n                'Pa'   => 1.0,\n                'p'    => 1.0,\n                'atm'  => 9.86923299998193E-06,\n                'at'   => 9.86923299998193E-06,\n                'mmHg' => 7.50061707998627E-03,\n            ),\n            'p' => array(\n                'Pa'   => 1.0,\n                'p'    => 1.0,\n                'atm'  => 9.86923299998193E-06,\n                'at'   => 9.86923299998193E-06,\n                'mmHg' => 7.50061707998627E-03,\n            ),\n            'atm' => array(\n                'Pa'   => 1.01324996583000E+05,\n                'p'    => 1.01324996583000E+05,\n                'atm'  => 1.0,\n                'at'   => 1.0,\n                'mmHg' => 760.0,\n            ),\n            'at' => array(\n                'Pa'   => 1.01324996583000E+05,\n                'p'    => 1.01324996583000E+05,\n                'atm'  => 1.0,\n                'at'   => 1.0,\n                'mmHg' => 760.0,\n            ),\n            'mmHg' => array(\n                'Pa'   => 1.33322363925000E+02,\n                'p'    => 1.33322363925000E+02,\n                'atm'  => 1.31578947368421E-03,\n                'at'   => 1.31578947368421E-03,\n                'mmHg' => 1.0,\n            ),\n        ),\n        'Force' => array(\n            'N' => array(\n                'N'   => 1.0,\n                'dyn' => 1.0E+5,\n                'dy'  => 1.0E+5,\n                'lbf' => 2.24808923655339E-01,\n            ),\n            'dyn' => array(\n                'N'   => 1.0E-5,\n                'dyn' => 1.0,\n                'dy'  => 1.0,\n                'lbf' => 2.24808923655339E-06,\n            ),\n            'dy' => array(\n                'N'   => 1.0E-5,\n                'dyn' => 1.0,\n                'dy'  => 1.0,\n                'lbf' => 2.24808923655339E-06,\n            ),\n            'lbf' => array(\n                'N'   => 4.448222,\n                'dyn' => 4.448222E+5,\n                'dy'  => 4.448222E+5,\n                'lbf' => 1.0,\n            ),\n        ),\n        'Energy' => array(\n            'J' => array(\n                'J'   => 1.0,\n                'e'   => 9.99999519343231E+06,\n                'c'   => 2.39006249473467E-01,\n                'cal' => 2.38846190642017E-01,\n                'eV'  => 6.24145700000000E+18,\n                'ev'  => 6.24145700000000E+18,\n                'HPh' => 3.72506430801000E-07,\n                'hh'  => 3.72506430801000E-07,\n                'Wh'  => 2.77777916238711E-04,\n                'wh'  => 2.77777916238711E-04,\n                'flb' => 2.37304222192651E+01,\n                'BTU' => 9.47815067349015E-04,\n                'btu' => 9.47815067349015E-04,\n            ),\n            'e' => array(\n                'J'   => 1.00000048065700E-07,\n                'e'   => 1.0,\n                'c'   => 2.39006364353494E-08,\n                'cal' => 2.38846305445111E-08,\n                'eV'  => 6.24146000000000E+11,\n                'ev'  => 6.24146000000000E+11,\n                'HPh' => 3.72506609848824E-14,\n                'hh'  => 3.72506609848824E-14,\n                'Wh'  => 2.77778049754611E-11,\n                'wh'  => 2.77778049754611E-11,\n                'flb' => 2.37304336254586E-06,\n                'BTU' => 9.47815522922962E-11,\n                'btu' => 9.47815522922962E-11,\n            ),\n            'c' => array(\n                'J'   => 4.18399101363672E+00,\n                'e'   => 4.18398900257312E+07,\n                'c'   => 1.0,\n                'cal' => 9.99330315287563E-01,\n                'eV'  => 2.61142000000000E+19,\n                'ev'  => 2.61142000000000E+19,\n                'HPh' => 1.55856355899327E-06,\n                'hh'  => 1.55856355899327E-06,\n                'Wh'  => 1.16222030532950E-03,\n                'wh'  => 1.16222030532950E-03,\n                'flb' => 9.92878733152102E+01,\n                'BTU' => 3.96564972437776E-03,\n                'btu' => 3.96564972437776E-03,\n            ),\n            'cal' => array(\n                'J'   => 4.18679484613929E+00,\n                'e'   => 4.18679283372801E+07,\n                'c'   => 1.00067013349059E+00,\n                'cal' => 1.0,\n                'eV'  => 2.61317000000000E+19,\n                'ev'  => 2.61317000000000E+19,\n                'HPh' => 1.55960800463137E-06,\n                'hh'  => 1.55960800463137E-06,\n                'Wh'  => 1.16299914807955E-03,\n                'wh'  => 1.16299914807955E-03,\n                'flb' => 9.93544094443283E+01,\n                'BTU' => 3.96830723907002E-03,\n                'btu' => 3.96830723907002E-03,\n            ),\n            'eV' => array(\n                'J'   => 1.60219000146921E-19,\n                'e'   => 1.60218923136574E-12,\n                'c'   => 3.82933423195043E-20,\n                'cal' => 3.82676978535648E-20,\n                'eV'  => 1.0,\n                'ev'  => 1.0,\n                'HPh' => 5.96826078912344E-26,\n                'hh'  => 5.96826078912344E-26,\n                'Wh'  => 4.45053000026614E-23,\n                'wh'  => 4.45053000026614E-23,\n                'flb' => 3.80206452103492E-18,\n                'BTU' => 1.51857982414846E-22,\n                'btu' => 1.51857982414846E-22,\n            ),\n            'ev' => array(\n                'J'   => 1.60219000146921E-19,\n                'e'   => 1.60218923136574E-12,\n                'c'   => 3.82933423195043E-20,\n                'cal' => 3.82676978535648E-20,\n                'eV'  => 1.0,\n                'ev'  => 1.0,\n                'HPh' => 5.96826078912344E-26,\n                'hh'  => 5.96826078912344E-26,\n                'Wh'  => 4.45053000026614E-23,\n                'wh'  => 4.45053000026614E-23,\n                'flb' => 3.80206452103492E-18,\n                'BTU' => 1.51857982414846E-22,\n                'btu' => 1.51857982414846E-22,\n            ),\n            'HPh' => array(\n                'J'   => 2.68451741316170E+06,\n                'e'   => 2.68451612283024E+13,\n                'c'   => 6.41616438565991E+05,\n                'cal' => 6.41186757845835E+05,\n                'eV'  => 1.67553000000000E+25,\n                'ev'  => 1.67553000000000E+25,\n                'HPh' => 1.0,\n                'hh'  => 1.0,\n                'Wh'  => 7.45699653134593E+02,\n                'wh'  => 7.45699653134593E+02,\n                'flb' => 6.37047316692964E+07,\n                'BTU' => 2.54442605275546E+03,\n                'btu' => 2.54442605275546E+03,\n            ),\n            'hh' => array(\n                'J'   => 2.68451741316170E+06,\n                'e'   => 2.68451612283024E+13,\n                'c'   => 6.41616438565991E+05,\n                'cal' => 6.41186757845835E+05,\n                'eV'  => 1.67553000000000E+25,\n                'ev'  => 1.67553000000000E+25,\n                'HPh' => 1.0,\n                'hh'  => 1.0,\n                'Wh'  => 7.45699653134593E+02,\n                'wh'  => 7.45699653134593E+02,\n                'flb' => 6.37047316692964E+07,\n                'BTU' => 2.54442605275546E+03,\n                'btu' => 2.54442605275546E+03,\n            ),\n            'Wh' => array(\n                'J'   => 3.59999820554720E+03,\n                'e'   => 3.59999647518369E+10,\n                'c'   => 8.60422069219046E+02,\n                'cal' => 8.59845857713046E+02,\n                'eV'  => 2.24692340000000E+22,\n                'ev'  => 2.24692340000000E+22,\n                'HPh' => 1.34102248243839E-03,\n                'hh'  => 1.34102248243839E-03,\n                'Wh'  => 1.0,\n                'wh'  => 1.0,\n                'flb' => 8.54294774062316E+04,\n                'BTU' => 3.41213254164705E+00,\n                'btu' => 3.41213254164705E+00,\n            ),\n            'wh' => array(\n                'J'   => 3.59999820554720E+03,\n                'e'   => 3.59999647518369E+10,\n                'c'   => 8.60422069219046E+02,\n                'cal' => 8.59845857713046E+02,\n                'eV'  => 2.24692340000000E+22,\n                'ev'  => 2.24692340000000E+22,\n                'HPh' => 1.34102248243839E-03,\n                'hh'  => 1.34102248243839E-03,\n                'Wh'  => 1.0,\n                'wh'  => 1.0,\n                'flb' => 8.54294774062316E+04,\n                'BTU' => 3.41213254164705E+00,\n                'btu' => 3.41213254164705E+00,\n            ),\n            'flb' => array(\n                'J'   => 4.21400003236424E-02,\n                'e'   => 4.21399800687660E+05,\n                'c'   => 1.00717234301644E-02,\n                'cal' => 1.00649785509554E-02,\n                'eV'  => 2.63015000000000E+17,\n                'ev'  => 2.63015000000000E+17,\n                'HPh' => 1.56974211145130E-08,\n                'hh'  => 1.56974211145130E-08,\n                'Wh'  => 1.17055614802000E-05,\n                'wh'  => 1.17055614802000E-05,\n                'flb' => 1.0,\n                'BTU' => 3.99409272448406E-05,\n                'btu' => 3.99409272448406E-05,\n            ),\n            'BTU' => array(\n                'J'   => 1.05505813786749E+03,\n                'e'   => 1.05505763074665E+10,\n                'c'   => 2.52165488508168E+02,\n                'cal' => 2.51996617135510E+02,\n                'eV'  => 6.58510000000000E+21,\n                'ev'  => 6.58510000000000E+21,\n                'HPh' => 3.93015941224568E-04,\n                'hh'  => 3.93015941224568E-04,\n                'Wh'  => 2.93071851047526E-01,\n                'wh'  => 2.93071851047526E-01,\n                'flb' => 2.50369750774671E+04,\n                'BTU' => 1.0,\n                'btu' => 1.0,\n            ),\n            'btu' => array(\n                'J'   => 1.05505813786749E+03,\n                'e'   => 1.05505763074665E+10,\n                'c'   => 2.52165488508168E+02,\n                'cal' => 2.51996617135510E+02,\n                'eV'  => 6.58510000000000E+21,\n                'ev'  => 6.58510000000000E+21,\n                'HPh' => 3.93015941224568E-04,\n                'hh'  => 3.93015941224568E-04,\n                'Wh'  => 2.93071851047526E-01,\n                'wh'  => 2.93071851047526E-01,\n                'flb' => 2.50369750774671E+04,\n                'BTU' => 1.0,\n                'btu' => 1.0,\n            ),\n        ),\n        'Power' => array(\n            'HP' => array(\n                'HP' => 1.0,\n                'h'  => 1.0,\n                'W'  => 7.45701000000000E+02,\n                'w'  => 7.45701000000000E+02,\n            ),\n            'h' => array(\n                'HP' => 1.0,\n                'h'  => 1.0,\n                'W'  => 7.45701000000000E+02,\n                'w'  => 7.45701000000000E+02,\n            ),\n            'W' => array(\n                'HP' => 1.34102006031908E-03,\n                'h'  => 1.34102006031908E-03,\n                'W'  => 1.0,\n                'w'  => 1.0,\n            ),\n            'w' => array(\n                'HP' => 1.34102006031908E-03,\n                'h'  => 1.34102006031908E-03,\n                'W'  => 1.0,\n                'w'  => 1.0,\n            ),\n        ),\n        'Magnetism' => array(\n            'T' => array(\n                'T'  => 1.0,\n                'ga' => 10000.0,\n            ),\n            'ga' => array(\n                'T'  => 0.0001,\n                'ga' => 1.0,\n            ),\n        ),\n        'Liquid' => array(\n            'tsp' => array(\n                'tsp'   => 1.0,\n                'tbs'   => 3.33333333333333E-01,\n                'oz'    => 1.66666666666667E-01,\n                'cup'   => 2.08333333333333E-02,\n                'pt'    => 1.04166666666667E-02,\n                'us_pt' => 1.04166666666667E-02,\n                'uk_pt' => 8.67558516821960E-03,\n                'qt'    => 5.20833333333333E-03,\n                'gal'   => 1.30208333333333E-03,\n                'l'     => 4.92999408400710E-03,\n                'lt'    => 4.92999408400710E-03,\n            ),\n            'tbs' => array(\n                'tsp'   => 3.00000000000000E+00,\n                'tbs'   => 1.0,\n                'oz'    => 5.00000000000000E-01,\n                'cup'   => 6.25000000000000E-02,\n                'pt'    => 3.12500000000000E-02,\n                'us_pt' => 3.12500000000000E-02,\n                'uk_pt' => 2.60267555046588E-02,\n                'qt'    => 1.56250000000000E-02,\n                'gal'   => 3.90625000000000E-03,\n                'l'     => 1.47899822520213E-02,\n                'lt'    => 1.47899822520213E-02,\n            ),\n            'oz' => array(\n                'tsp'   => 6.00000000000000E+00,\n                'tbs'   => 2.00000000000000E+00,\n                'oz'    => 1.0,\n                'cup'   => 1.25000000000000E-01,\n                'pt'    => 6.25000000000000E-02,\n                'us_pt' => 6.25000000000000E-02,\n                'uk_pt' => 5.20535110093176E-02,\n                'qt'    => 3.12500000000000E-02,\n                'gal'   => 7.81250000000000E-03,\n                'l'     => 2.95799645040426E-02,\n                'lt'    => 2.95799645040426E-02,\n            ),\n            'cup' => array(\n                'tsp'   => 4.80000000000000E+01,\n                'tbs'   => 1.60000000000000E+01,\n                'oz'    => 8.00000000000000E+00,\n                'cup'   => 1.0,\n                'pt'    => 5.00000000000000E-01,\n                'us_pt' => 5.00000000000000E-01,\n                'uk_pt' => 4.16428088074541E-01,\n                'qt'    => 2.50000000000000E-01,\n                'gal'   => 6.25000000000000E-02,\n                'l'     => 2.36639716032341E-01,\n                'lt'    => 2.36639716032341E-01,\n            ),\n            'pt' => array(\n                'tsp'   => 9.60000000000000E+01,\n                'tbs'   => 3.20000000000000E+01,\n                'oz'    => 1.60000000000000E+01,\n                'cup'   => 2.00000000000000E+00,\n                'pt'    => 1.0,\n                'us_pt' => 1.0,\n                'uk_pt' => 8.32856176149081E-01,\n                'qt'    => 5.00000000000000E-01,\n                'gal'   => 1.25000000000000E-01,\n                'l'     => 4.73279432064682E-01,\n                'lt'    => 4.73279432064682E-01,\n            ),\n            'us_pt' => array(\n                'tsp'   => 9.60000000000000E+01,\n                'tbs'   => 3.20000000000000E+01,\n                'oz'    => 1.60000000000000E+01,\n                'cup'   => 2.00000000000000E+00,\n                'pt'    => 1.0,\n                'us_pt' => 1.0,\n                'uk_pt' => 8.32856176149081E-01,\n                'qt'    => 5.00000000000000E-01,\n                'gal'   => 1.25000000000000E-01,\n                'l'     => 4.73279432064682E-01,\n                'lt'    => 4.73279432064682E-01,\n            ),\n            'uk_pt' => array(\n                'tsp'   => 1.15266000000000E+02,\n                'tbs'   => 3.84220000000000E+01,\n                'oz'    => 1.92110000000000E+01,\n                'cup'   => 2.40137500000000E+00,\n                'pt'    => 1.20068750000000E+00,\n                'us_pt' => 1.20068750000000E+00,\n                'uk_pt' => 1.0,\n                'qt'    => 6.00343750000000E-01,\n                'gal'   => 1.50085937500000E-01,\n                'l'     => 5.68260698087162E-01,\n                'lt'    => 5.68260698087162E-01,\n            ),\n            'qt' => array(\n                'tsp'   => 1.92000000000000E+02,\n                'tbs'   => 6.40000000000000E+01,\n                'oz'    => 3.20000000000000E+01,\n                'cup'   => 4.00000000000000E+00,\n                'pt'    => 2.00000000000000E+00,\n                'us_pt' => 2.00000000000000E+00,\n                'uk_pt' => 1.66571235229816E+00,\n                'qt'    => 1.0,\n                'gal'   => 2.50000000000000E-01,\n                'l'     => 9.46558864129363E-01,\n                'lt'    => 9.46558864129363E-01,\n            ),\n            'gal' => array(\n                'tsp'   => 7.68000000000000E+02,\n                'tbs'   => 2.56000000000000E+02,\n                'oz'    => 1.28000000000000E+02,\n                'cup'   => 1.60000000000000E+01,\n                'pt'    => 8.00000000000000E+00,\n                'us_pt' => 8.00000000000000E+00,\n                'uk_pt' => 6.66284940919265E+00,\n                'qt'    => 4.00000000000000E+00,\n                'gal'   => 1.0,\n                'l'     => 3.78623545651745E+00,\n                'lt'    => 3.78623545651745E+00,\n            ),\n            'l' => array(\n                'tsp'   => 2.02840000000000E+02,\n                'tbs'   => 6.76133333333333E+01,\n                'oz'    => 3.38066666666667E+01,\n                'cup'   => 4.22583333333333E+00,\n                'pt'    => 2.11291666666667E+00,\n                'us_pt' => 2.11291666666667E+00,\n                'uk_pt' => 1.75975569552166E+00,\n                'qt'    => 1.05645833333333E+00,\n                'gal'   => 2.64114583333333E-01,\n                'l'     => 1.0,\n                'lt'    => 1.0,\n            ),\n            'lt' => array(\n                'tsp'   => 2.02840000000000E+02,\n                'tbs'   => 6.76133333333333E+01,\n                'oz'    => 3.38066666666667E+01,\n                'cup'   => 4.22583333333333E+00,\n                'pt'    => 2.11291666666667E+00,\n                'us_pt' => 2.11291666666667E+00,\n                'uk_pt' => 1.75975569552166E+00,\n                'qt'    => 1.05645833333333E+00,\n                'gal'   => 2.64114583333333E-01,\n                'l'     => 1.0,\n                'lt'    => 1.0,\n            ),\n        ),\n    );\n\n\n    /**\n     * parseComplex\n     *\n     * Parses a complex number into its real and imaginary parts, and an I or J suffix\n     *\n     * @param    string        $complexNumber    The complex number\n     * @return    string[]    Indexed on \"real\", \"imaginary\" and \"suffix\"\n     */\n    public static function parseComplex($complexNumber)\n    {\n        $workString = (string) $complexNumber;\n\n        $realNumber = $imaginary = 0;\n        //    Extract the suffix, if there is one\n        $suffix = substr($workString, -1);\n        if (!is_numeric($suffix)) {\n            $workString = substr($workString, 0, -1);\n        } else {\n            $suffix = '';\n        }\n\n        //    Split the input into its Real and Imaginary components\n        $leadingSign = 0;\n        if (strlen($workString) > 0) {\n            $leadingSign = (($workString{0} == '+') || ($workString{0} == '-')) ? 1 : 0;\n        }\n        $power = '';\n        $realNumber = strtok($workString, '+-');\n        if (strtoupper(substr($realNumber, -1)) == 'E') {\n            $power = strtok('+-');\n            ++$leadingSign;\n        }\n\n        $realNumber = substr($workString, 0, strlen($realNumber)+strlen($power)+$leadingSign);\n\n        if ($suffix != '') {\n            $imaginary = substr($workString, strlen($realNumber));\n\n            if (($imaginary == '') && (($realNumber == '') || ($realNumber == '+') || ($realNumber == '-'))) {\n                $imaginary = $realNumber.'1';\n                $realNumber = '0';\n            } elseif ($imaginary == '') {\n                $imaginary = $realNumber;\n                $realNumber = '0';\n            } elseif (($imaginary == '+') || ($imaginary == '-')) {\n                $imaginary .= '1';\n            }\n        }\n\n        return array(\n            'real'   => $realNumber,\n            'imaginary' => $imaginary,\n            'suffix' => $suffix\n        );\n    }\n\n\n    /**\n     * Cleans the leading characters in a complex number string\n     *\n     * @param    string        $complexNumber    The complex number to clean\n     * @return    string        The \"cleaned\" complex number\n     */\n    private static function cleanComplex($complexNumber)\n    {\n        if ($complexNumber{0} == '+') {\n            $complexNumber = substr($complexNumber, 1);\n        }\n        if ($complexNumber{0} == '0') {\n            $complexNumber = substr($complexNumber, 1);\n        }\n        if ($complexNumber{0} == '.') {\n            $complexNumber = '0'.$complexNumber;\n        }\n        if ($complexNumber{0} == '+') {\n            $complexNumber = substr($complexNumber, 1);\n        }\n        return $complexNumber;\n    }\n\n    /**\n     * Formats a number base string value with leading zeroes\n     *\n     * @param    string        $xVal        The \"number\" to pad\n     * @param    integer        $places        The length that we want to pad this value\n     * @return    string        The padded \"number\"\n     */\n    private static function nbrConversionFormat($xVal, $places)\n    {\n        if (!is_null($places)) {\n            if (strlen($xVal) <= $places) {\n                return substr(str_pad($xVal, $places, '0', STR_PAD_LEFT), -10);\n            } else {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n        }\n\n        return substr($xVal, -10);\n    }\n\n    /**\n     *    BESSELI\n     *\n     *    Returns the modified Bessel function In(x), which is equivalent to the Bessel function evaluated\n     *        for purely imaginary arguments\n     *\n     *    Excel Function:\n     *        BESSELI(x,ord)\n     *\n     *    @access    public\n     *    @category Engineering Functions\n     *    @param    float        $x        The value at which to evaluate the function.\n     *                                If x is nonnumeric, BESSELI returns the #VALUE! error value.\n     *    @param    integer        $ord    The order of the Bessel function.\n     *                                If ord is not an integer, it is truncated.\n     *                                If $ord is nonnumeric, BESSELI returns the #VALUE! error value.\n     *                                If $ord < 0, BESSELI returns the #NUM! error value.\n     *    @return    float\n     *\n     */\n    public static function BESSELI($x, $ord)\n    {\n        $x    = (is_null($x))    ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $ord    = (is_null($ord))    ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($ord);\n\n        if ((is_numeric($x)) && (is_numeric($ord))) {\n            $ord    = floor($ord);\n            if ($ord < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            if (abs($x) <= 30) {\n                $fResult = $fTerm = pow($x / 2, $ord) / PHPExcel_Calculation_MathTrig::FACT($ord);\n                $ordK = 1;\n                $fSqrX = ($x * $x) / 4;\n                do {\n                    $fTerm *= $fSqrX;\n                    $fTerm /= ($ordK * ($ordK + $ord));\n                    $fResult += $fTerm;\n                } while ((abs($fTerm) > 1e-12) && (++$ordK < 100));\n            } else {\n                $f_2_PI = 2 * M_PI;\n\n                $fXAbs = abs($x);\n                $fResult = exp($fXAbs) / sqrt($f_2_PI * $fXAbs);\n                if (($ord & 1) && ($x < 0)) {\n                    $fResult = -$fResult;\n                }\n            }\n            return (is_nan($fResult)) ? PHPExcel_Calculation_Functions::NaN() : $fResult;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     *    BESSELJ\n     *\n     *    Returns the Bessel function\n     *\n     *    Excel Function:\n     *        BESSELJ(x,ord)\n     *\n     *    @access    public\n     *    @category Engineering Functions\n     *    @param    float        $x        The value at which to evaluate the function.\n     *                                If x is nonnumeric, BESSELJ returns the #VALUE! error value.\n     *    @param    integer        $ord    The order of the Bessel function. If n is not an integer, it is truncated.\n     *                                If $ord is nonnumeric, BESSELJ returns the #VALUE! error value.\n     *                                If $ord < 0, BESSELJ returns the #NUM! error value.\n     *    @return    float\n     *\n     */\n    public static function BESSELJ($x, $ord)\n    {\n        $x    = (is_null($x))    ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $ord    = (is_null($ord))    ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($ord);\n\n        if ((is_numeric($x)) && (is_numeric($ord))) {\n            $ord    = floor($ord);\n            if ($ord < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            $fResult = 0;\n            if (abs($x) <= 30) {\n                $fResult = $fTerm = pow($x / 2, $ord) / PHPExcel_Calculation_MathTrig::FACT($ord);\n                $ordK = 1;\n                $fSqrX = ($x * $x) / -4;\n                do {\n                    $fTerm *= $fSqrX;\n                    $fTerm /= ($ordK * ($ordK + $ord));\n                    $fResult += $fTerm;\n                } while ((abs($fTerm) > 1e-12) && (++$ordK < 100));\n            } else {\n                $f_PI_DIV_2 = M_PI / 2;\n                $f_PI_DIV_4 = M_PI / 4;\n\n                $fXAbs = abs($x);\n                $fResult = sqrt(M_2DIVPI / $fXAbs) * cos($fXAbs - $ord * $f_PI_DIV_2 - $f_PI_DIV_4);\n                if (($ord & 1) && ($x < 0)) {\n                    $fResult = -$fResult;\n                }\n            }\n            return (is_nan($fResult)) ? PHPExcel_Calculation_Functions::NaN() : $fResult;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    private static function besselK0($fNum)\n    {\n        if ($fNum <= 2) {\n            $fNum2 = $fNum * 0.5;\n            $y = ($fNum2 * $fNum2);\n            $fRet = -log($fNum2) * self::BESSELI($fNum, 0) +\n                (-0.57721566 + $y * (0.42278420 + $y * (0.23069756 + $y * (0.3488590e-1 + $y * (0.262698e-2 + $y *\n                (0.10750e-3 + $y * 0.74e-5))))));\n        } else {\n            $y = 2 / $fNum;\n            $fRet = exp(-$fNum) / sqrt($fNum) *\n                (1.25331414 + $y * (-0.7832358e-1 + $y * (0.2189568e-1 + $y * (-0.1062446e-1 + $y *\n                (0.587872e-2 + $y * (-0.251540e-2 + $y * 0.53208e-3))))));\n        }\n        return $fRet;\n    }\n\n\n    private static function besselK1($fNum)\n    {\n        if ($fNum <= 2) {\n            $fNum2 = $fNum * 0.5;\n            $y = ($fNum2 * $fNum2);\n            $fRet = log($fNum2) * self::BESSELI($fNum, 1) +\n                (1 + $y * (0.15443144 + $y * (-0.67278579 + $y * (-0.18156897 + $y * (-0.1919402e-1 + $y *\n                (-0.110404e-2 + $y * (-0.4686e-4))))))) / $fNum;\n        } else {\n            $y = 2 / $fNum;\n            $fRet = exp(-$fNum) / sqrt($fNum) *\n                (1.25331414 + $y * (0.23498619 + $y * (-0.3655620e-1 + $y * (0.1504268e-1 + $y * (-0.780353e-2 + $y *\n                (0.325614e-2 + $y * (-0.68245e-3)))))));\n        }\n        return $fRet;\n    }\n\n\n    /**\n     *    BESSELK\n     *\n     *    Returns the modified Bessel function Kn(x), which is equivalent to the Bessel functions evaluated\n     *        for purely imaginary arguments.\n     *\n     *    Excel Function:\n     *        BESSELK(x,ord)\n     *\n     *    @access    public\n     *    @category Engineering Functions\n     *    @param    float        $x        The value at which to evaluate the function.\n     *                                If x is nonnumeric, BESSELK returns the #VALUE! error value.\n     *    @param    integer        $ord    The order of the Bessel function. If n is not an integer, it is truncated.\n     *                                If $ord is nonnumeric, BESSELK returns the #VALUE! error value.\n     *                                If $ord < 0, BESSELK returns the #NUM! error value.\n     *    @return    float\n     *\n     */\n    public static function BESSELK($x, $ord)\n    {\n        $x        = (is_null($x))        ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $ord    = (is_null($ord))    ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($ord);\n\n        if ((is_numeric($x)) && (is_numeric($ord))) {\n            if (($ord < 0) || ($x == 0.0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            switch (floor($ord)) {\n                case 0:\n                    return self::besselK0($x);\n                case 1:\n                    return self::besselK1($x);\n                default:\n                    $fTox    = 2 / $x;\n                    $fBkm    = self::besselK0($x);\n                    $fBk    = self::besselK1($x);\n                    for ($n = 1; $n < $ord; ++$n) {\n                        $fBkp    = $fBkm + $n * $fTox * $fBk;\n                        $fBkm    = $fBk;\n                        $fBk    = $fBkp;\n                    }\n            }\n            return (is_nan($fBk)) ? PHPExcel_Calculation_Functions::NaN() : $fBk;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    private static function besselY0($fNum)\n    {\n        if ($fNum < 8.0) {\n            $y = ($fNum * $fNum);\n            $f1 = -2957821389.0 + $y * (7062834065.0 + $y * (-512359803.6 + $y * (10879881.29 + $y * (-86327.92757 + $y * 228.4622733))));\n            $f2 = 40076544269.0 + $y * (745249964.8 + $y * (7189466.438 + $y * (47447.26470 + $y * (226.1030244 + $y))));\n            $fRet = $f1 / $f2 + 0.636619772 * self::BESSELJ($fNum, 0) * log($fNum);\n        } else {\n            $z = 8.0 / $fNum;\n            $y = ($z * $z);\n            $xx = $fNum - 0.785398164;\n            $f1 = 1 + $y * (-0.1098628627e-2 + $y * (0.2734510407e-4 + $y * (-0.2073370639e-5 + $y * 0.2093887211e-6)));\n            $f2 = -0.1562499995e-1 + $y * (0.1430488765e-3 + $y * (-0.6911147651e-5 + $y * (0.7621095161e-6 + $y * (-0.934945152e-7))));\n            $fRet = sqrt(0.636619772 / $fNum) * (sin($xx) * $f1 + $z * cos($xx) * $f2);\n        }\n        return $fRet;\n    }\n\n\n    private static function besselY1($fNum)\n    {\n        if ($fNum < 8.0) {\n            $y = ($fNum * $fNum);\n            $f1 = $fNum * (-0.4900604943e13 + $y * (0.1275274390e13 + $y * (-0.5153438139e11 + $y * (0.7349264551e9 + $y *\n                (-0.4237922726e7 + $y * 0.8511937935e4)))));\n            $f2 = 0.2499580570e14 + $y * (0.4244419664e12 + $y * (0.3733650367e10 + $y * (0.2245904002e8 + $y *\n                (0.1020426050e6 + $y * (0.3549632885e3 + $y)))));\n            $fRet = $f1 / $f2 + 0.636619772 * ( self::BESSELJ($fNum, 1) * log($fNum) - 1 / $fNum);\n        } else {\n            $fRet = sqrt(0.636619772 / $fNum) * sin($fNum - 2.356194491);\n        }\n        return $fRet;\n    }\n\n\n    /**\n     *    BESSELY\n     *\n     *    Returns the Bessel function, which is also called the Weber function or the Neumann function.\n     *\n     *    Excel Function:\n     *        BESSELY(x,ord)\n     *\n     *    @access    public\n     *    @category Engineering Functions\n     *    @param    float        $x        The value at which to evaluate the function.\n     *                                If x is nonnumeric, BESSELK returns the #VALUE! error value.\n     *    @param    integer        $ord    The order of the Bessel function. If n is not an integer, it is truncated.\n     *                                If $ord is nonnumeric, BESSELK returns the #VALUE! error value.\n     *                                If $ord < 0, BESSELK returns the #NUM! error value.\n     *\n     *    @return    float\n     */\n    public static function BESSELY($x, $ord)\n    {\n        $x        = (is_null($x))        ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $ord    = (is_null($ord))    ? 0.0 :    PHPExcel_Calculation_Functions::flattenSingleValue($ord);\n\n        if ((is_numeric($x)) && (is_numeric($ord))) {\n            if (($ord < 0) || ($x == 0.0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            switch (floor($ord)) {\n                case 0:\n                    return self::besselY0($x);\n                case 1:\n                    return self::besselY1($x);\n                default:\n                    $fTox    = 2 / $x;\n                    $fBym    = self::besselY0($x);\n                    $fBy    = self::besselY1($x);\n                    for ($n = 1; $n < $ord; ++$n) {\n                        $fByp    = $n * $fTox * $fBy - $fBym;\n                        $fBym    = $fBy;\n                        $fBy    = $fByp;\n                    }\n            }\n            return (is_nan($fBy)) ? PHPExcel_Calculation_Functions::NaN() : $fBy;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * BINTODEC\n     *\n     * Return a binary value as decimal.\n     *\n     * Excel Function:\n     *        BIN2DEC(x)\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The binary number (as a string) that you want to convert. The number\n     *                                cannot contain more than 10 characters (10 bits). The most significant\n     *                                bit of number is the sign bit. The remaining 9 bits are magnitude bits.\n     *                                Negative numbers are represented using two's-complement notation.\n     *                                If number is not a valid binary number, or if number contains more than\n     *                                10 characters (10 bits), BIN2DEC returns the #NUM! error value.\n     * @return    string\n     */\n    public static function BINTODEC($x)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n\n        if (is_bool($x)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $x = (int) $x;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n            $x = floor($x);\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[01]/', $x, $out)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if (strlen($x) > 10) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif (strlen($x) == 10) {\n            //    Two's Complement\n            $x = substr($x, -9);\n            return '-'.(512-bindec($x));\n        }\n        return bindec($x);\n    }\n\n\n    /**\n     * BINTOHEX\n     *\n     * Return a binary value as hex.\n     *\n     * Excel Function:\n     *        BIN2HEX(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The binary number (as a string) that you want to convert. The number\n     *                                cannot contain more than 10 characters (10 bits). The most significant\n     *                                bit of number is the sign bit. The remaining 9 bits are magnitude bits.\n     *                                Negative numbers are represented using two's-complement notation.\n     *                                If number is not a valid binary number, or if number contains more than\n     *                                10 characters (10 bits), BIN2HEX returns the #NUM! error value.\n     * @param    integer        $places    The number of characters to use. If places is omitted, BIN2HEX uses the\n     *                                minimum number of characters necessary. Places is useful for padding the\n     *                                return value with leading 0s (zeros).\n     *                                If places is not an integer, it is truncated.\n     *                                If places is nonnumeric, BIN2HEX returns the #VALUE! error value.\n     *                                If places is negative, BIN2HEX returns the #NUM! error value.\n     * @return    string\n     */\n    public static function BINTOHEX($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $x = (int) $x;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n            $x = floor($x);\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[01]/', $x, $out)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if (strlen($x) > 10) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif (strlen($x) == 10) {\n            //    Two's Complement\n            return str_repeat('F', 8).substr(strtoupper(dechex(bindec(substr($x, -9)))), -2);\n        }\n        $hexVal = (string) strtoupper(dechex(bindec($x)));\n\n        return self::nbrConversionFormat($hexVal, $places);\n    }\n\n\n    /**\n     * BINTOOCT\n     *\n     * Return a binary value as octal.\n     *\n     * Excel Function:\n     *        BIN2OCT(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The binary number (as a string) that you want to convert. The number\n     *                                cannot contain more than 10 characters (10 bits). The most significant\n     *                                bit of number is the sign bit. The remaining 9 bits are magnitude bits.\n     *                                Negative numbers are represented using two's-complement notation.\n     *                                If number is not a valid binary number, or if number contains more than\n     *                                10 characters (10 bits), BIN2OCT returns the #NUM! error value.\n     * @param    integer        $places    The number of characters to use. If places is omitted, BIN2OCT uses the\n     *                                minimum number of characters necessary. Places is useful for padding the\n     *                                return value with leading 0s (zeros).\n     *                                If places is not an integer, it is truncated.\n     *                                If places is nonnumeric, BIN2OCT returns the #VALUE! error value.\n     *                                If places is negative, BIN2OCT returns the #NUM! error value.\n     * @return    string\n     */\n    public static function BINTOOCT($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $x = (int) $x;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n            $x = floor($x);\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[01]/', $x, $out)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if (strlen($x) > 10) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif (strlen($x) == 10) {\n            //    Two's Complement\n            return str_repeat('7', 7).substr(strtoupper(decoct(bindec(substr($x, -9)))), -3);\n        }\n        $octVal = (string) decoct(bindec($x));\n\n        return self::nbrConversionFormat($octVal, $places);\n    }\n\n\n    /**\n     * DECTOBIN\n     *\n     * Return a decimal value as binary.\n     *\n     * Excel Function:\n     *        DEC2BIN(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The decimal integer you want to convert. If number is negative,\n     *                                valid place values are ignored and DEC2BIN returns a 10-character\n     *                                (10-bit) binary number in which the most significant bit is the sign\n     *                                bit. The remaining 9 bits are magnitude bits. Negative numbers are\n     *                                represented using two's-complement notation.\n     *                                If number < -512 or if number > 511, DEC2BIN returns the #NUM! error\n     *                                value.\n     *                                If number is nonnumeric, DEC2BIN returns the #VALUE! error value.\n     *                                If DEC2BIN requires more than places characters, it returns the #NUM!\n     *                                error value.\n     * @param    integer        $places    The number of characters to use. If places is omitted, DEC2BIN uses\n     *                                the minimum number of characters necessary. Places is useful for\n     *                                padding the return value with leading 0s (zeros).\n     *                                If places is not an integer, it is truncated.\n     *                                If places is nonnumeric, DEC2BIN returns the #VALUE! error value.\n     *                                If places is zero or negative, DEC2BIN returns the #NUM! error value.\n     * @return    string\n     */\n    public static function DECTOBIN($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $x = (int) $x;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[-0123456789.]/', $x, $out)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) floor($x);\n        $r = decbin($x);\n        if (strlen($r) == 32) {\n            //    Two's Complement\n            $r = substr($r, -10);\n        } elseif (strlen($r) > 11) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        return self::nbrConversionFormat($r, $places);\n    }\n\n\n    /**\n     * DECTOHEX\n     *\n     * Return a decimal value as hex.\n     *\n     * Excel Function:\n     *        DEC2HEX(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The decimal integer you want to convert. If number is negative,\n     *                                places is ignored and DEC2HEX returns a 10-character (40-bit)\n     *                                hexadecimal number in which the most significant bit is the sign\n     *                                bit. The remaining 39 bits are magnitude bits. Negative numbers\n     *                                are represented using two's-complement notation.\n     *                                If number < -549,755,813,888 or if number > 549,755,813,887,\n     *                                DEC2HEX returns the #NUM! error value.\n     *                                If number is nonnumeric, DEC2HEX returns the #VALUE! error value.\n     *                                If DEC2HEX requires more than places characters, it returns the\n     *                                #NUM! error value.\n     * @param    integer        $places    The number of characters to use. If places is omitted, DEC2HEX uses\n     *                                the minimum number of characters necessary. Places is useful for\n     *                                padding the return value with leading 0s (zeros).\n     *                                If places is not an integer, it is truncated.\n     *                                If places is nonnumeric, DEC2HEX returns the #VALUE! error value.\n     *                                If places is zero or negative, DEC2HEX returns the #NUM! error value.\n     * @return    string\n     */\n    public static function DECTOHEX($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $x = (int) $x;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[-0123456789.]/', $x, $out)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) floor($x);\n        $r = strtoupper(dechex($x));\n        if (strlen($r) == 8) {\n            //    Two's Complement\n            $r = 'FF'.$r;\n        }\n\n        return self::nbrConversionFormat($r, $places);\n    }\n\n\n    /**\n     * DECTOOCT\n     *\n     * Return an decimal value as octal.\n     *\n     * Excel Function:\n     *        DEC2OCT(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The decimal integer you want to convert. If number is negative,\n     *                                places is ignored and DEC2OCT returns a 10-character (30-bit)\n     *                                octal number in which the most significant bit is the sign bit.\n     *                                The remaining 29 bits are magnitude bits. Negative numbers are\n     *                                represented using two's-complement notation.\n     *                                If number < -536,870,912 or if number > 536,870,911, DEC2OCT\n     *                                returns the #NUM! error value.\n     *                                If number is nonnumeric, DEC2OCT returns the #VALUE! error value.\n     *                                If DEC2OCT requires more than places characters, it returns the\n     *                                #NUM! error value.\n     * @param    integer        $places    The number of characters to use. If places is omitted, DEC2OCT uses\n     *                                the minimum number of characters necessary. Places is useful for\n     *                                padding the return value with leading 0s (zeros).\n     *                                If places is not an integer, it is truncated.\n     *                                If places is nonnumeric, DEC2OCT returns the #VALUE! error value.\n     *                                If places is zero or negative, DEC2OCT returns the #NUM! error value.\n     * @return    string\n     */\n    public static function DECTOOCT($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $x = (int) $x;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[-0123456789.]/', $x, $out)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) floor($x);\n        $r = decoct($x);\n        if (strlen($r) == 11) {\n            //    Two's Complement\n            $r = substr($r, -10);\n        }\n\n        return self::nbrConversionFormat($r, $places);\n    }\n\n\n    /**\n     * HEXTOBIN\n     *\n     * Return a hex value as binary.\n     *\n     * Excel Function:\n     *        HEX2BIN(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x            the hexadecimal number you want to convert. Number cannot\n     *                                    contain more than 10 characters. The most significant bit of\n     *                                    number is the sign bit (40th bit from the right). The remaining\n     *                                    9 bits are magnitude bits. Negative numbers are represented\n     *                                    using two's-complement notation.\n     *                                    If number is negative, HEX2BIN ignores places and returns a\n     *                                    10-character binary number.\n     *                                    If number is negative, it cannot be less than FFFFFFFE00, and\n     *                                    if number is positive, it cannot be greater than 1FF.\n     *                                    If number is not a valid hexadecimal number, HEX2BIN returns\n     *                                    the #NUM! error value.\n     *                                    If HEX2BIN requires more than places characters, it returns\n     *                                    the #NUM! error value.\n     * @param    integer        $places        The number of characters to use. If places is omitted,\n     *                                    HEX2BIN uses the minimum number of characters necessary. Places\n     *                                    is useful for padding the return value with leading 0s (zeros).\n     *                                    If places is not an integer, it is truncated.\n     *                                    If places is nonnumeric, HEX2BIN returns the #VALUE! error value.\n     *                                    If places is negative, HEX2BIN returns the #NUM! error value.\n     * @return    string\n     */\n    public static function HEXTOBIN($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/', strtoupper($x), $out)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $binVal = decbin(hexdec($x));\n\n        return substr(self::nbrConversionFormat($binVal, $places), -10);\n    }\n\n\n    /**\n     * HEXTODEC\n     *\n     * Return a hex value as decimal.\n     *\n     * Excel Function:\n     *        HEX2DEC(x)\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The hexadecimal number you want to convert. This number cannot\n     *                                contain more than 10 characters (40 bits). The most significant\n     *                                bit of number is the sign bit. The remaining 39 bits are magnitude\n     *                                bits. Negative numbers are represented using two's-complement\n     *                                notation.\n     *                                If number is not a valid hexadecimal number, HEX2DEC returns the\n     *                                #NUM! error value.\n     * @return    string\n     */\n    public static function HEXTODEC($x)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n\n        if (is_bool($x)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/', strtoupper($x), $out)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return hexdec($x);\n    }\n\n\n    /**\n     * HEXTOOCT\n     *\n     * Return a hex value as octal.\n     *\n     * Excel Function:\n     *        HEX2OCT(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x            The hexadecimal number you want to convert. Number cannot\n     *                                    contain more than 10 characters. The most significant bit of\n     *                                    number is the sign bit. The remaining 39 bits are magnitude\n     *                                    bits. Negative numbers are represented using two's-complement\n     *                                    notation.\n     *                                    If number is negative, HEX2OCT ignores places and returns a\n     *                                    10-character octal number.\n     *                                    If number is negative, it cannot be less than FFE0000000, and\n     *                                    if number is positive, it cannot be greater than 1FFFFFFF.\n     *                                    If number is not a valid hexadecimal number, HEX2OCT returns\n     *                                    the #NUM! error value.\n     *                                    If HEX2OCT requires more than places characters, it returns\n     *                                    the #NUM! error value.\n     * @param    integer        $places        The number of characters to use. If places is omitted, HEX2OCT\n     *                                    uses the minimum number of characters necessary. Places is\n     *                                    useful for padding the return value with leading 0s (zeros).\n     *                                    If places is not an integer, it is truncated.\n     *                                    If places is nonnumeric, HEX2OCT returns the #VALUE! error\n     *                                    value.\n     *                                    If places is negative, HEX2OCT returns the #NUM! error value.\n     * @return    string\n     */\n    public static function HEXTOOCT($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) $x;\n        if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/', strtoupper($x), $out)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $octVal = decoct(hexdec($x));\n\n        return self::nbrConversionFormat($octVal, $places);\n    }    //    function HEXTOOCT()\n\n\n    /**\n     * OCTTOBIN\n     *\n     * Return an octal value as binary.\n     *\n     * Excel Function:\n     *        OCT2BIN(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x            The octal number you want to convert. Number may not\n     *                                    contain more than 10 characters. The most significant\n     *                                    bit of number is the sign bit. The remaining 29 bits\n     *                                    are magnitude bits. Negative numbers are represented\n     *                                    using two's-complement notation.\n     *                                    If number is negative, OCT2BIN ignores places and returns\n     *                                    a 10-character binary number.\n     *                                    If number is negative, it cannot be less than 7777777000,\n     *                                    and if number is positive, it cannot be greater than 777.\n     *                                    If number is not a valid octal number, OCT2BIN returns\n     *                                    the #NUM! error value.\n     *                                    If OCT2BIN requires more than places characters, it\n     *                                    returns the #NUM! error value.\n     * @param    integer        $places        The number of characters to use. If places is omitted,\n     *                                    OCT2BIN uses the minimum number of characters necessary.\n     *                                    Places is useful for padding the return value with\n     *                                    leading 0s (zeros).\n     *                                    If places is not an integer, it is truncated.\n     *                                    If places is nonnumeric, OCT2BIN returns the #VALUE!\n     *                                    error value.\n     *                                    If places is negative, OCT2BIN returns the #NUM! error\n     *                                    value.\n     * @return    string\n     */\n    public static function OCTTOBIN($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) $x;\n        if (preg_match_all('/[01234567]/', $x, $out) != strlen($x)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $r = decbin(octdec($x));\n\n        return self::nbrConversionFormat($r, $places);\n    }\n\n\n    /**\n     * OCTTODEC\n     *\n     * Return an octal value as decimal.\n     *\n     * Excel Function:\n     *        OCT2DEC(x)\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x        The octal number you want to convert. Number may not contain\n     *                                more than 10 octal characters (30 bits). The most significant\n     *                                bit of number is the sign bit. The remaining 29 bits are\n     *                                magnitude bits. Negative numbers are represented using\n     *                                two's-complement notation.\n     *                                If number is not a valid octal number, OCT2DEC returns the\n     *                                #NUM! error value.\n     * @return    string\n     */\n    public static function OCTTODEC($x)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n\n        if (is_bool($x)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) $x;\n        if (preg_match_all('/[01234567]/', $x, $out) != strlen($x)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return octdec($x);\n    }\n\n\n    /**\n     * OCTTOHEX\n     *\n     * Return an octal value as hex.\n     *\n     * Excel Function:\n     *        OCT2HEX(x[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $x            The octal number you want to convert. Number may not contain\n     *                                    more than 10 octal characters (30 bits). The most significant\n     *                                    bit of number is the sign bit. The remaining 29 bits are\n     *                                    magnitude bits. Negative numbers are represented using\n     *                                    two's-complement notation.\n     *                                    If number is negative, OCT2HEX ignores places and returns a\n     *                                    10-character hexadecimal number.\n     *                                    If number is not a valid octal number, OCT2HEX returns the\n     *                                    #NUM! error value.\n     *                                    If OCT2HEX requires more than places characters, it returns\n     *                                    the #NUM! error value.\n     * @param    integer        $places        The number of characters to use. If places is omitted, OCT2HEX\n     *                                    uses the minimum number of characters necessary. Places is useful\n     *                                    for padding the return value with leading 0s (zeros).\n     *                                    If places is not an integer, it is truncated.\n     *                                    If places is nonnumeric, OCT2HEX returns the #VALUE! error value.\n     *                                    If places is negative, OCT2HEX returns the #NUM! error value.\n     * @return    string\n     */\n    public static function OCTTOHEX($x, $places = null)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $places    = PHPExcel_Calculation_Functions::flattenSingleValue($places);\n\n        if (is_bool($x)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $x = (string) $x;\n        if (preg_match_all('/[01234567]/', $x, $out) != strlen($x)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $hexVal = strtoupper(dechex(octdec($x)));\n\n        return self::nbrConversionFormat($hexVal, $places);\n    }\n\n\n    /**\n     * COMPLEX\n     *\n     * Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj.\n     *\n     * Excel Function:\n     *        COMPLEX(realNumber,imaginary[,places])\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    float        $realNumber        The real coefficient of the complex number.\n     * @param    float        $imaginary        The imaginary coefficient of the complex number.\n     * @param    string        $suffix            The suffix for the imaginary component of the complex number.\n     *                                        If omitted, the suffix is assumed to be \"i\".\n     * @return    string\n     */\n    public static function COMPLEX($realNumber = 0.0, $imaginary = 0.0, $suffix = 'i')\n    {\n        $realNumber = (is_null($realNumber)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($realNumber);\n        $imaginary  = (is_null($imaginary))  ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($imaginary);\n        $suffix     = (is_null($suffix))     ? 'i' : PHPExcel_Calculation_Functions::flattenSingleValue($suffix);\n\n        if (((is_numeric($realNumber)) && (is_numeric($imaginary))) &&\n            (($suffix == 'i') || ($suffix == 'j') || ($suffix == ''))) {\n            $realNumber    = (float) $realNumber;\n            $imaginary    = (float) $imaginary;\n\n            if ($suffix == '') {\n                $suffix = 'i';\n            }\n            if ($realNumber == 0.0) {\n                if ($imaginary == 0.0) {\n                    return (string) '0';\n                } elseif ($imaginary == 1.0) {\n                    return (string) $suffix;\n                } elseif ($imaginary == -1.0) {\n                    return (string) '-'.$suffix;\n                }\n                return (string) $imaginary.$suffix;\n            } elseif ($imaginary == 0.0) {\n                return (string) $realNumber;\n            } elseif ($imaginary == 1.0) {\n                return (string) $realNumber.'+'.$suffix;\n            } elseif ($imaginary == -1.0) {\n                return (string) $realNumber.'-'.$suffix;\n            }\n            if ($imaginary > 0) {\n                $imaginary = (string) '+'.$imaginary;\n            }\n            return (string) $realNumber.$imaginary.$suffix;\n        }\n\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * IMAGINARY\n     *\n     * Returns the imaginary coefficient of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMAGINARY(complexNumber)\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $complexNumber    The complex number for which you want the imaginary\n     *                                         coefficient.\n     * @return    float\n     */\n    public static function IMAGINARY($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n        return $parsedComplex['imaginary'];\n    }\n\n\n    /**\n     * IMREAL\n     *\n     * Returns the real coefficient of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMREAL(complexNumber)\n     *\n     * @access    public\n     * @category Engineering Functions\n     * @param    string        $complexNumber    The complex number for which you want the real coefficient.\n     * @return    float\n     */\n    public static function IMREAL($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n        return $parsedComplex['real'];\n    }\n\n\n    /**\n     * IMABS\n     *\n     * Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMABS(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the absolute value.\n     * @return    float\n     */\n    public static function IMABS($complexNumber)\n    {\n        $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        return sqrt(\n            ($parsedComplex['real'] * $parsedComplex['real']) +\n            ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])\n        );\n    }\n\n\n    /**\n     * IMARGUMENT\n     *\n     * Returns the argument theta of a complex number, i.e. the angle in radians from the real\n     * axis to the representation of the number in polar coordinates.\n     *\n     * Excel Function:\n     *        IMARGUMENT(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the argument theta.\n     * @return    float\n     */\n    public static function IMARGUMENT($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if ($parsedComplex['real'] == 0.0) {\n            if ($parsedComplex['imaginary'] == 0.0) {\n                return 0.0;\n            } elseif ($parsedComplex['imaginary'] < 0.0) {\n                return M_PI / -2;\n            } else {\n                return M_PI / 2;\n            }\n        } elseif ($parsedComplex['real'] > 0.0) {\n            return atan($parsedComplex['imaginary'] / $parsedComplex['real']);\n        } elseif ($parsedComplex['imaginary'] < 0.0) {\n            return 0 - (M_PI - atan(abs($parsedComplex['imaginary']) / abs($parsedComplex['real'])));\n        } else {\n            return M_PI - atan($parsedComplex['imaginary'] / abs($parsedComplex['real']));\n        }\n    }\n\n\n    /**\n     * IMCONJUGATE\n     *\n     * Returns the complex conjugate of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMCONJUGATE(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the conjugate.\n     * @return    string\n     */\n    public static function IMCONJUGATE($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if ($parsedComplex['imaginary'] == 0.0) {\n            return $parsedComplex['real'];\n        } else {\n            return self::cleanComplex(\n                self::COMPLEX(\n                    $parsedComplex['real'],\n                    0 - $parsedComplex['imaginary'],\n                    $parsedComplex['suffix']\n                )\n            );\n        }\n    }\n\n\n    /**\n     * IMCOS\n     *\n     * Returns the cosine of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMCOS(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the cosine.\n     * @return    string|float\n     */\n    public static function IMCOS($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if ($parsedComplex['imaginary'] == 0.0) {\n            return cos($parsedComplex['real']);\n        } else {\n            return self::IMCONJUGATE(\n                self::COMPLEX(\n                    cos($parsedComplex['real']) * cosh($parsedComplex['imaginary']),\n                    sin($parsedComplex['real']) * sinh($parsedComplex['imaginary']),\n                    $parsedComplex['suffix']\n                )\n            );\n        }\n    }\n\n\n    /**\n     * IMSIN\n     *\n     * Returns the sine of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMSIN(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the sine.\n     * @return    string|float\n     */\n    public static function IMSIN($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if ($parsedComplex['imaginary'] == 0.0) {\n            return sin($parsedComplex['real']);\n        } else {\n            return self::COMPLEX(\n                sin($parsedComplex['real']) * cosh($parsedComplex['imaginary']),\n                cos($parsedComplex['real']) * sinh($parsedComplex['imaginary']),\n                $parsedComplex['suffix']\n            );\n        }\n    }\n\n\n    /**\n     * IMSQRT\n     *\n     * Returns the square root of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMSQRT(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the square root.\n     * @return    string\n     */\n    public static function IMSQRT($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        $theta = self::IMARGUMENT($complexNumber);\n        $d1 = cos($theta / 2);\n        $d2 = sin($theta / 2);\n        $r = sqrt(sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])));\n\n        if ($parsedComplex['suffix'] == '') {\n            return self::COMPLEX($d1 * $r, $d2 * $r);\n        } else {\n            return self::COMPLEX($d1 * $r, $d2 * $r, $parsedComplex['suffix']);\n        }\n    }\n\n\n    /**\n     * IMLN\n     *\n     * Returns the natural logarithm of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMLN(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the natural logarithm.\n     * @return    string\n     */\n    public static function IMLN($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        $logR = log(sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])));\n        $t = self::IMARGUMENT($complexNumber);\n\n        if ($parsedComplex['suffix'] == '') {\n            return self::COMPLEX($logR, $t);\n        } else {\n            return self::COMPLEX($logR, $t, $parsedComplex['suffix']);\n        }\n    }\n\n\n    /**\n     * IMLOG10\n     *\n     * Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMLOG10(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the common logarithm.\n     * @return    string\n     */\n    public static function IMLOG10($complexNumber)\n    {\n        $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif (($parsedComplex['real'] > 0.0) && ($parsedComplex['imaginary'] == 0.0)) {\n            return log10($parsedComplex['real']);\n        }\n\n        return self::IMPRODUCT(log10(EULER), self::IMLN($complexNumber));\n    }\n\n\n    /**\n     * IMLOG2\n     *\n     * Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMLOG2(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the base-2 logarithm.\n     * @return    string\n     */\n    public static function IMLOG2($complexNumber)\n    {\n        $complexNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif (($parsedComplex['real'] > 0.0) && ($parsedComplex['imaginary'] == 0.0)) {\n            return log($parsedComplex['real'], 2);\n        }\n\n        return self::IMPRODUCT(log(EULER, 2), self::IMLN($complexNumber));\n    }\n\n\n    /**\n     * IMEXP\n     *\n     * Returns the exponential of a complex number in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMEXP(complexNumber)\n     *\n     * @param    string        $complexNumber    The complex number for which you want the exponential.\n     * @return    string\n     */\n    public static function IMEXP($complexNumber)\n    {\n        $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) {\n            return '1';\n        }\n\n        $e = exp($parsedComplex['real']);\n        $eX = $e * cos($parsedComplex['imaginary']);\n        $eY = $e * sin($parsedComplex['imaginary']);\n\n        if ($parsedComplex['suffix'] == '') {\n            return self::COMPLEX($eX, $eY);\n        } else {\n            return self::COMPLEX($eX, $eY, $parsedComplex['suffix']);\n        }\n    }\n\n\n    /**\n     * IMPOWER\n     *\n     * Returns a complex number in x + yi or x + yj text format raised to a power.\n     *\n     * Excel Function:\n     *        IMPOWER(complexNumber,realNumber)\n     *\n     * @param    string        $complexNumber    The complex number you want to raise to a power.\n     * @param    float        $realNumber        The power to which you want to raise the complex number.\n     * @return    string\n     */\n    public static function IMPOWER($complexNumber, $realNumber)\n    {\n        $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber);\n        $realNumber    = PHPExcel_Calculation_Functions::flattenSingleValue($realNumber);\n\n        if (!is_numeric($realNumber)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        $parsedComplex = self::parseComplex($complexNumber);\n\n        $r = sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary']));\n        $rPower = pow($r, $realNumber);\n        $theta = self::IMARGUMENT($complexNumber) * $realNumber;\n        if ($theta == 0) {\n            return 1;\n        } elseif ($parsedComplex['imaginary'] == 0.0) {\n            return self::COMPLEX($rPower * cos($theta), $rPower * sin($theta), $parsedComplex['suffix']);\n        } else {\n            return self::COMPLEX($rPower * cos($theta), $rPower * sin($theta), $parsedComplex['suffix']);\n        }\n    }\n\n\n    /**\n     * IMDIV\n     *\n     * Returns the quotient of two complex numbers in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMDIV(complexDividend,complexDivisor)\n     *\n     * @param    string        $complexDividend    The complex numerator or dividend.\n     * @param    string        $complexDivisor        The complex denominator or divisor.\n     * @return    string\n     */\n    public static function IMDIV($complexDividend, $complexDivisor)\n    {\n        $complexDividend    = PHPExcel_Calculation_Functions::flattenSingleValue($complexDividend);\n        $complexDivisor    = PHPExcel_Calculation_Functions::flattenSingleValue($complexDivisor);\n\n        $parsedComplexDividend = self::parseComplex($complexDividend);\n        $parsedComplexDivisor = self::parseComplex($complexDivisor);\n\n        if (($parsedComplexDividend['suffix'] != '') && ($parsedComplexDivisor['suffix'] != '') &&\n            ($parsedComplexDividend['suffix'] != $parsedComplexDivisor['suffix'])) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if (($parsedComplexDividend['suffix'] != '') && ($parsedComplexDivisor['suffix'] == '')) {\n            $parsedComplexDivisor['suffix'] = $parsedComplexDividend['suffix'];\n        }\n\n        $d1 = ($parsedComplexDividend['real'] * $parsedComplexDivisor['real']) + ($parsedComplexDividend['imaginary'] * $parsedComplexDivisor['imaginary']);\n        $d2 = ($parsedComplexDividend['imaginary'] * $parsedComplexDivisor['real']) - ($parsedComplexDividend['real'] * $parsedComplexDivisor['imaginary']);\n        $d3 = ($parsedComplexDivisor['real'] * $parsedComplexDivisor['real']) + ($parsedComplexDivisor['imaginary'] * $parsedComplexDivisor['imaginary']);\n\n        $r = $d1 / $d3;\n        $i = $d2 / $d3;\n\n        if ($i > 0.0) {\n            return self::cleanComplex($r.'+'.$i.$parsedComplexDivisor['suffix']);\n        } elseif ($i < 0.0) {\n            return self::cleanComplex($r.$i.$parsedComplexDivisor['suffix']);\n        } else {\n            return $r;\n        }\n    }\n\n\n    /**\n     * IMSUB\n     *\n     * Returns the difference of two complex numbers in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMSUB(complexNumber1,complexNumber2)\n     *\n     * @param    string        $complexNumber1        The complex number from which to subtract complexNumber2.\n     * @param    string        $complexNumber2        The complex number to subtract from complexNumber1.\n     * @return    string\n     */\n    public static function IMSUB($complexNumber1, $complexNumber2)\n    {\n        $complexNumber1    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber1);\n        $complexNumber2    = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber2);\n\n        $parsedComplex1 = self::parseComplex($complexNumber1);\n        $parsedComplex2 = self::parseComplex($complexNumber2);\n\n        if ((($parsedComplex1['suffix'] != '') && ($parsedComplex2['suffix'] != '')) &&\n            ($parsedComplex1['suffix'] != $parsedComplex2['suffix'])) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif (($parsedComplex1['suffix'] == '') && ($parsedComplex2['suffix'] != '')) {\n            $parsedComplex1['suffix'] = $parsedComplex2['suffix'];\n        }\n\n        $d1 = $parsedComplex1['real'] - $parsedComplex2['real'];\n        $d2 = $parsedComplex1['imaginary'] - $parsedComplex2['imaginary'];\n\n        return self::COMPLEX($d1, $d2, $parsedComplex1['suffix']);\n    }\n\n\n    /**\n     * IMSUM\n     *\n     * Returns the sum of two or more complex numbers in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMSUM(complexNumber[,complexNumber[,...]])\n     *\n     * @param    string        $complexNumber,...    Series of complex numbers to add\n     * @return    string\n     */\n    public static function IMSUM()\n    {\n        // Return value\n        $returnValue = self::parseComplex('0');\n        $activeSuffix = '';\n\n        // Loop through the arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            $parsedComplex = self::parseComplex($arg);\n\n            if ($activeSuffix == '') {\n                $activeSuffix = $parsedComplex['suffix'];\n            } elseif (($parsedComplex['suffix'] != '') && ($activeSuffix != $parsedComplex['suffix'])) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n\n            $returnValue['real'] += $parsedComplex['real'];\n            $returnValue['imaginary'] += $parsedComplex['imaginary'];\n        }\n\n        if ($returnValue['imaginary'] == 0.0) {\n            $activeSuffix = '';\n        }\n        return self::COMPLEX($returnValue['real'], $returnValue['imaginary'], $activeSuffix);\n    }\n\n\n    /**\n     * IMPRODUCT\n     *\n     * Returns the product of two or more complex numbers in x + yi or x + yj text format.\n     *\n     * Excel Function:\n     *        IMPRODUCT(complexNumber[,complexNumber[,...]])\n     *\n     * @param    string        $complexNumber,...    Series of complex numbers to multiply\n     * @return    string\n     */\n    public static function IMPRODUCT()\n    {\n        // Return value\n        $returnValue = self::parseComplex('1');\n        $activeSuffix = '';\n\n        // Loop through the arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            $parsedComplex = self::parseComplex($arg);\n\n            $workValue = $returnValue;\n            if (($parsedComplex['suffix'] != '') && ($activeSuffix == '')) {\n                $activeSuffix = $parsedComplex['suffix'];\n            } elseif (($parsedComplex['suffix'] != '') && ($activeSuffix != $parsedComplex['suffix'])) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $returnValue['real'] = ($workValue['real'] * $parsedComplex['real']) - ($workValue['imaginary'] * $parsedComplex['imaginary']);\n            $returnValue['imaginary'] = ($workValue['real'] * $parsedComplex['imaginary']) + ($workValue['imaginary'] * $parsedComplex['real']);\n        }\n\n        if ($returnValue['imaginary'] == 0.0) {\n            $activeSuffix = '';\n        }\n        return self::COMPLEX($returnValue['real'], $returnValue['imaginary'], $activeSuffix);\n    }\n\n\n    /**\n     *    DELTA\n     *\n     *    Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise.\n     *    Use this function to filter a set of values. For example, by summing several DELTA\n     *    functions you calculate the count of equal pairs. This function is also known as the\n     *    Kronecker Delta function.\n     *\n     *    Excel Function:\n     *        DELTA(a[,b])\n     *\n     *    @param    float        $a    The first number.\n     *    @param    float        $b    The second number. If omitted, b is assumed to be zero.\n     *    @return    int\n     */\n    public static function DELTA($a, $b = 0)\n    {\n        $a = PHPExcel_Calculation_Functions::flattenSingleValue($a);\n        $b = PHPExcel_Calculation_Functions::flattenSingleValue($b);\n\n        return (int) ($a == $b);\n    }\n\n\n    /**\n     *    GESTEP\n     *\n     *    Excel Function:\n     *        GESTEP(number[,step])\n     *\n     *    Returns 1 if number >= step; returns 0 (zero) otherwise\n     *    Use this function to filter a set of values. For example, by summing several GESTEP\n     *    functions you calculate the count of values that exceed a threshold.\n     *\n     *    @param    float        $number        The value to test against step.\n     *    @param    float        $step        The threshold value.\n     *                                    If you omit a value for step, GESTEP uses zero.\n     *    @return    int\n     */\n    public static function GESTEP($number, $step = 0)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $step    = PHPExcel_Calculation_Functions::flattenSingleValue($step);\n\n        return (int) ($number >= $step);\n    }\n\n\n    //\n    //    Private method to calculate the erf value\n    //\n    private static $twoSqrtPi = 1.128379167095512574;\n\n    public static function erfVal($x)\n    {\n        if (abs($x) > 2.2) {\n            return 1 - self::erfcVal($x);\n        }\n        $sum = $term = $x;\n        $xsqr = ($x * $x);\n        $j = 1;\n        do {\n            $term *= $xsqr / $j;\n            $sum -= $term / (2 * $j + 1);\n            ++$j;\n            $term *= $xsqr / $j;\n            $sum += $term / (2 * $j + 1);\n            ++$j;\n            if ($sum == 0.0) {\n                break;\n            }\n        } while (abs($term / $sum) > PRECISION);\n        return self::$twoSqrtPi * $sum;\n    }\n\n\n    /**\n     *    ERF\n     *\n     *    Returns the error function integrated between the lower and upper bound arguments.\n     *\n     *    Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments,\n     *            the function would return a #NUM! error. However, in Excel 2010, the function algorithm was\n     *            improved, so that it can now calculate the function for both positive and negative ranges.\n     *            PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments.\n     *\n     *    Excel Function:\n     *        ERF(lower[,upper])\n     *\n     *    @param    float        $lower    lower bound for integrating ERF\n     *    @param    float        $upper    upper bound for integrating ERF.\n     *                                If omitted, ERF integrates between zero and lower_limit\n     *    @return    float\n     */\n    public static function ERF($lower, $upper = null)\n    {\n        $lower    = PHPExcel_Calculation_Functions::flattenSingleValue($lower);\n        $upper    = PHPExcel_Calculation_Functions::flattenSingleValue($upper);\n\n        if (is_numeric($lower)) {\n            if (is_null($upper)) {\n                return self::erfVal($lower);\n            }\n            if (is_numeric($upper)) {\n                return self::erfVal($upper) - self::erfVal($lower);\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    //\n    //    Private method to calculate the erfc value\n    //\n    private static $oneSqrtPi = 0.564189583547756287;\n\n    private static function erfcVal($x)\n    {\n        if (abs($x) < 2.2) {\n            return 1 - self::erfVal($x);\n        }\n        if ($x < 0) {\n            return 2 - self::ERFC(-$x);\n        }\n        $a = $n = 1;\n        $b = $c = $x;\n        $d = ($x * $x) + 0.5;\n        $q1 = $q2 = $b / $d;\n        $t = 0;\n        do {\n            $t = $a * $n + $b * $x;\n            $a = $b;\n            $b = $t;\n            $t = $c * $n + $d * $x;\n            $c = $d;\n            $d = $t;\n            $n += 0.5;\n            $q1 = $q2;\n            $q2 = $b / $d;\n        } while ((abs($q1 - $q2) / $q2) > PRECISION);\n        return self::$oneSqrtPi * exp(-$x * $x) * $q2;\n    }\n\n\n    /**\n     *    ERFC\n     *\n     *    Returns the complementary ERF function integrated between x and infinity\n     *\n     *    Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument,\n     *        the function would return a #NUM! error. However, in Excel 2010, the function algorithm was\n     *        improved, so that it can now calculate the function for both positive and negative x values.\n     *            PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments.\n     *\n     *    Excel Function:\n     *        ERFC(x)\n     *\n     *    @param    float    $x    The lower bound for integrating ERFC\n     *    @return    float\n     */\n    public static function ERFC($x)\n    {\n        $x = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n\n        if (is_numeric($x)) {\n            return self::erfcVal($x);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     *    getConversionGroups\n     *    Returns a list of the different conversion groups for UOM conversions\n     *\n     *    @return    array\n     */\n    public static function getConversionGroups()\n    {\n        $conversionGroups = array();\n        foreach (self::$conversionUnits as $conversionUnit) {\n            $conversionGroups[] = $conversionUnit['Group'];\n        }\n        return array_merge(array_unique($conversionGroups));\n    }\n\n\n    /**\n     *    getConversionGroupUnits\n     *    Returns an array of units of measure, for a specified conversion group, or for all groups\n     *\n     *    @param    string    $group    The group whose units of measure you want to retrieve\n     *    @return    array\n     */\n    public static function getConversionGroupUnits($group = null)\n    {\n        $conversionGroups = array();\n        foreach (self::$conversionUnits as $conversionUnit => $conversionGroup) {\n            if ((is_null($group)) || ($conversionGroup['Group'] == $group)) {\n                $conversionGroups[$conversionGroup['Group']][] = $conversionUnit;\n            }\n        }\n        return $conversionGroups;\n    }\n\n\n    /**\n     *    getConversionGroupUnitDetails\n     *\n     *    @param    string    $group    The group whose units of measure you want to retrieve\n     *    @return    array\n     */\n    public static function getConversionGroupUnitDetails($group = null)\n    {\n        $conversionGroups = array();\n        foreach (self::$conversionUnits as $conversionUnit => $conversionGroup) {\n            if ((is_null($group)) || ($conversionGroup['Group'] == $group)) {\n                $conversionGroups[$conversionGroup['Group']][] = array(\n                    'unit'        => $conversionUnit,\n                    'description' => $conversionGroup['Unit Name']\n                );\n            }\n        }\n        return $conversionGroups;\n    }\n\n\n    /**\n     *    getConversionMultipliers\n     *    Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM()\n     *\n     *    @return    array of mixed\n     */\n    public static function getConversionMultipliers()\n    {\n        return self::$conversionMultipliers;\n    }\n\n\n    /**\n     *    CONVERTUOM\n     *\n     *    Converts a number from one measurement system to another.\n     *    For example, CONVERT can translate a table of distances in miles to a table of distances\n     *    in kilometers.\n     *\n     *    Excel Function:\n     *        CONVERT(value,fromUOM,toUOM)\n     *\n     *    @param    float        $value        The value in fromUOM to convert.\n     *    @param    string        $fromUOM    The units for value.\n     *    @param    string        $toUOM        The units for the result.\n     *\n     *    @return    float\n     */\n    public static function CONVERTUOM($value, $fromUOM, $toUOM)\n    {\n        $value   = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $fromUOM = PHPExcel_Calculation_Functions::flattenSingleValue($fromUOM);\n        $toUOM   = PHPExcel_Calculation_Functions::flattenSingleValue($toUOM);\n\n        if (!is_numeric($value)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $fromMultiplier = 1.0;\n        if (isset(self::$conversionUnits[$fromUOM])) {\n            $unitGroup1 = self::$conversionUnits[$fromUOM]['Group'];\n        } else {\n            $fromMultiplier = substr($fromUOM, 0, 1);\n            $fromUOM = substr($fromUOM, 1);\n            if (isset(self::$conversionMultipliers[$fromMultiplier])) {\n                $fromMultiplier = self::$conversionMultipliers[$fromMultiplier]['multiplier'];\n            } else {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            if ((isset(self::$conversionUnits[$fromUOM])) && (self::$conversionUnits[$fromUOM]['AllowPrefix'])) {\n                $unitGroup1 = self::$conversionUnits[$fromUOM]['Group'];\n            } else {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n        }\n        $value *= $fromMultiplier;\n\n        $toMultiplier = 1.0;\n        if (isset(self::$conversionUnits[$toUOM])) {\n            $unitGroup2 = self::$conversionUnits[$toUOM]['Group'];\n        } else {\n            $toMultiplier = substr($toUOM, 0, 1);\n            $toUOM = substr($toUOM, 1);\n            if (isset(self::$conversionMultipliers[$toMultiplier])) {\n                $toMultiplier = self::$conversionMultipliers[$toMultiplier]['multiplier'];\n            } else {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            if ((isset(self::$conversionUnits[$toUOM])) && (self::$conversionUnits[$toUOM]['AllowPrefix'])) {\n                $unitGroup2 = self::$conversionUnits[$toUOM]['Group'];\n            } else {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n        }\n        if ($unitGroup1 != $unitGroup2) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n\n        if (($fromUOM == $toUOM) && ($fromMultiplier == $toMultiplier)) {\n            //    We've already factored $fromMultiplier into the value, so we need\n            //        to reverse it again\n            return $value / $fromMultiplier;\n        } elseif ($unitGroup1 == 'Temperature') {\n            if (($fromUOM == 'F') || ($fromUOM == 'fah')) {\n                if (($toUOM == 'F') || ($toUOM == 'fah')) {\n                    return $value;\n                } else {\n                    $value = (($value - 32) / 1.8);\n                    if (($toUOM == 'K') || ($toUOM == 'kel')) {\n                        $value += 273.15;\n                    }\n                    return $value;\n                }\n            } elseif ((($fromUOM == 'K') || ($fromUOM == 'kel')) &&\n                      (($toUOM == 'K') || ($toUOM == 'kel'))) {\n                        return $value;\n            } elseif ((($fromUOM == 'C') || ($fromUOM == 'cel')) &&\n                      (($toUOM == 'C') || ($toUOM == 'cel'))) {\n                    return $value;\n            }\n            if (($toUOM == 'F') || ($toUOM == 'fah')) {\n                if (($fromUOM == 'K') || ($fromUOM == 'kel')) {\n                    $value -= 273.15;\n                }\n                return ($value * 1.8) + 32;\n            }\n            if (($toUOM == 'C') || ($toUOM == 'cel')) {\n                return $value - 273.15;\n            }\n            return $value + 273.15;\n        }\n        return ($value * self::$unitConversions[$unitGroup1][$fromUOM][$toUOM]) / $toMultiplier;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Exception.php",
    "content": "<?php\n\n/**\n * PHPExcel_Calculation_Exception\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Exception extends PHPExcel_Exception\n{\n    /**\n     * Error handler callback\n     *\n     * @param mixed $code\n     * @param mixed $string\n     * @param mixed $file\n     * @param mixed $line\n     * @param mixed $context\n     */\n    public static function errorHandlerCallback($code, $string, $file, $line, $context)\n    {\n        $e = new self($string, $code);\n        $e->line = $line;\n        $e->file = $file;\n        throw $e;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/ExceptionHandler.php",
    "content": "<?php\n\n/**\n * PHPExcel_Calculation_ExceptionHandler\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_ExceptionHandler\n{\n    /**\n     * Register errorhandler\n     */\n    public function __construct()\n    {\n        set_error_handler(array('PHPExcel_Calculation_Exception', 'errorHandlerCallback'), E_ALL);\n    }\n\n    /**\n     * Unregister errorhandler\n     */\n    public function __destruct()\n    {\n        restore_error_handler();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Financial.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/** FINANCIAL_MAX_ITERATIONS */\ndefine('FINANCIAL_MAX_ITERATIONS', 128);\n\n/** FINANCIAL_PRECISION */\ndefine('FINANCIAL_PRECISION', 1.0e-08);\n\n/**\n * PHPExcel_Calculation_Financial\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Financial\n{\n    /**\n     * isLastDayOfMonth\n     *\n     * Returns a boolean TRUE/FALSE indicating if this date is the last date of the month\n     *\n     * @param    DateTime    $testDate    The date for testing\n     * @return    boolean\n     */\n    private static function isLastDayOfMonth($testDate)\n    {\n        return ($testDate->format('d') == $testDate->format('t'));\n    }\n\n\n    /**\n     * isFirstDayOfMonth\n     *\n     * Returns a boolean TRUE/FALSE indicating if this date is the first date of the month\n     *\n     * @param    DateTime    $testDate    The date for testing\n     * @return    boolean\n     */\n    private static function isFirstDayOfMonth($testDate)\n    {\n        return ($testDate->format('d') == 1);\n    }\n\n\n    private static function couponFirstPeriodDate($settlement, $maturity, $frequency, $next)\n    {\n        $months = 12 / $frequency;\n\n        $result = PHPExcel_Shared_Date::ExcelToPHPObject($maturity);\n        $eom = self::isLastDayOfMonth($result);\n\n        while ($settlement < PHPExcel_Shared_Date::PHPToExcel($result)) {\n            $result->modify('-'.$months.' months');\n        }\n        if ($next) {\n            $result->modify('+'.$months.' months');\n        }\n\n        if ($eom) {\n            $result->modify('-1 day');\n        }\n\n        return PHPExcel_Shared_Date::PHPToExcel($result);\n    }\n\n\n    private static function isValidFrequency($frequency)\n    {\n        if (($frequency == 1) || ($frequency == 2) || ($frequency == 4)) {\n            return true;\n        }\n        if ((PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) &&\n            (($frequency == 6) || ($frequency == 12))) {\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * daysPerYear\n     *\n     * Returns the number of days in a specified year, as defined by the \"basis\" value\n     *\n     * @param    integer        $year    The year against which we're testing\n     * @param   integer        $basis    The type of day count:\n     *                                    0 or omitted US (NASD)    360\n     *                                    1                        Actual (365 or 366 in a leap year)\n     *                                    2                        360\n     *                                    3                        365\n     *                                    4                        European 360\n     * @return    integer\n     */\n    private static function daysPerYear($year, $basis = 0)\n    {\n        switch ($basis) {\n            case 0:\n            case 2:\n            case 4:\n                $daysPerYear = 360;\n                break;\n            case 3:\n                $daysPerYear = 365;\n                break;\n            case 1:\n                $daysPerYear = (PHPExcel_Calculation_DateTime::isLeapYear($year)) ? 366 : 365;\n                break;\n            default:\n                return PHPExcel_Calculation_Functions::NaN();\n        }\n        return $daysPerYear;\n    }\n\n\n    private static function interestAndPrincipal($rate = 0, $per = 0, $nper = 0, $pv = 0, $fv = 0, $type = 0)\n    {\n        $pmt = self::PMT($rate, $nper, $pv, $fv, $type);\n        $capital = $pv;\n        for ($i = 1; $i<= $per; ++$i) {\n            $interest = ($type && $i == 1) ? 0 : -$capital * $rate;\n            $principal = $pmt - $interest;\n            $capital += $principal;\n        }\n        return array($interest, $principal);\n    }\n\n\n    /**\n     * ACCRINT\n     *\n     * Returns the accrued interest for a security that pays periodic interest.\n     *\n     * Excel Function:\n     *        ACCRINT(issue,firstinterest,settlement,rate,par,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    $issue            The security's issue date.\n     * @param    mixed    $firstinterest    The security's first interest date.\n     * @param    mixed    $settlement        The security's settlement date.\n     *                                    The security settlement date is the date after the issue date\n     *                                    when the security is traded to the buyer.\n     * @param    float    $rate            The security's annual coupon rate.\n     * @param    float    $par            The security's par value.\n     *                                    If you omit par, ACCRINT uses $1,000.\n     * @param    integer    $frequency        the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer    $basis            The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function ACCRINT($issue, $firstinterest, $settlement, $rate, $par = 1000, $frequency = 1, $basis = 0)\n    {\n        $issue        = PHPExcel_Calculation_Functions::flattenSingleValue($issue);\n        $firstinterest    = PHPExcel_Calculation_Functions::flattenSingleValue($firstinterest);\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $rate        = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $par        = (is_null($par))        ? 1000 :    PHPExcel_Calculation_Functions::flattenSingleValue($par);\n        $frequency    = (is_null($frequency))    ? 1    :         PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis        = (is_null($basis))        ? 0    :        PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if ((is_numeric($rate)) && (is_numeric($par))) {\n            $rate    = (float) $rate;\n            $par    = (float) $par;\n            if (($rate <= 0) || ($par <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis);\n            if (!is_numeric($daysBetweenIssueAndSettlement)) {\n                //    return date error\n                return $daysBetweenIssueAndSettlement;\n            }\n\n            return $par * $rate * $daysBetweenIssueAndSettlement;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * ACCRINTM\n     *\n     * Returns the accrued interest for a security that pays interest at maturity.\n     *\n     * Excel Function:\n     *        ACCRINTM(issue,settlement,rate[,par[,basis]])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    issue        The security's issue date.\n     * @param    mixed    settlement    The security's settlement (or maturity) date.\n     * @param    float    rate        The security's annual coupon rate.\n     * @param    float    par            The security's par value.\n     *                                    If you omit par, ACCRINT uses $1,000.\n     * @param    integer    basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function ACCRINTM($issue, $settlement, $rate, $par = 1000, $basis = 0)\n    {\n        $issue        = PHPExcel_Calculation_Functions::flattenSingleValue($issue);\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $rate        = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $par        = (is_null($par))    ? 1000 :    PHPExcel_Calculation_Functions::flattenSingleValue($par);\n        $basis        = (is_null($basis))    ? 0 :        PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if ((is_numeric($rate)) && (is_numeric($par))) {\n            $rate    = (float) $rate;\n            $par    = (float) $par;\n            if (($rate <= 0) || ($par <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis);\n            if (!is_numeric($daysBetweenIssueAndSettlement)) {\n                //    return date error\n                return $daysBetweenIssueAndSettlement;\n            }\n            return $par * $rate * $daysBetweenIssueAndSettlement;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * AMORDEGRC\n     *\n     * Returns the depreciation for each accounting period.\n     * This function is provided for the French accounting system. If an asset is purchased in\n     * the middle of the accounting period, the prorated depreciation is taken into account.\n     * The function is similar to AMORLINC, except that a depreciation coefficient is applied in\n     * the calculation depending on the life of the assets.\n     * This function will return the depreciation until the last period of the life of the assets\n     * or until the cumulated value of depreciation is greater than the cost of the assets minus\n     * the salvage value.\n     *\n     * Excel Function:\n     *        AMORDEGRC(cost,purchased,firstPeriod,salvage,period,rate[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    cost        The cost of the asset.\n     * @param    mixed    purchased    Date of the purchase of the asset.\n     * @param    mixed    firstPeriod    Date of the end of the first period.\n     * @param    mixed    salvage        The salvage value at the end of the life of the asset.\n     * @param    float    period        The period.\n     * @param    float    rate        Rate of depreciation.\n     * @param    integer    basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function AMORDEGRC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis = 0)\n    {\n        $cost            = PHPExcel_Calculation_Functions::flattenSingleValue($cost);\n        $purchased        = PHPExcel_Calculation_Functions::flattenSingleValue($purchased);\n        $firstPeriod    = PHPExcel_Calculation_Functions::flattenSingleValue($firstPeriod);\n        $salvage        = PHPExcel_Calculation_Functions::flattenSingleValue($salvage);\n        $period            = floor(PHPExcel_Calculation_Functions::flattenSingleValue($period));\n        $rate            = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $basis            = (is_null($basis))    ? 0 :    (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    The depreciation coefficients are:\n        //    Life of assets (1/rate)        Depreciation coefficient\n        //    Less than 3 years            1\n        //    Between 3 and 4 years        1.5\n        //    Between 5 and 6 years        2\n        //    More than 6 years            2.5\n        $fUsePer = 1.0 / $rate;\n        if ($fUsePer < 3.0) {\n            $amortiseCoeff = 1.0;\n        } elseif ($fUsePer < 5.0) {\n            $amortiseCoeff = 1.5;\n        } elseif ($fUsePer <= 6.0) {\n            $amortiseCoeff = 2.0;\n        } else {\n            $amortiseCoeff = 2.5;\n        }\n\n        $rate *= $amortiseCoeff;\n        $fNRate = round(PHPExcel_Calculation_DateTime::YEARFRAC($purchased, $firstPeriod, $basis) * $rate * $cost, 0);\n        $cost -= $fNRate;\n        $fRest = $cost - $salvage;\n\n        for ($n = 0; $n < $period; ++$n) {\n            $fNRate = round($rate * $cost, 0);\n            $fRest -= $fNRate;\n\n            if ($fRest < 0.0) {\n                switch ($period - $n) {\n                    case 0:\n                    case 1:\n                        return round($cost * 0.5, 0);\n                    default:\n                        return 0.0;\n                }\n            }\n            $cost -= $fNRate;\n        }\n        return $fNRate;\n    }\n\n\n    /**\n     * AMORLINC\n     *\n     * Returns the depreciation for each accounting period.\n     * This function is provided for the French accounting system. If an asset is purchased in\n     * the middle of the accounting period, the prorated depreciation is taken into account.\n     *\n     * Excel Function:\n     *        AMORLINC(cost,purchased,firstPeriod,salvage,period,rate[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    cost        The cost of the asset.\n     * @param    mixed    purchased    Date of the purchase of the asset.\n     * @param    mixed    firstPeriod    Date of the end of the first period.\n     * @param    mixed    salvage        The salvage value at the end of the life of the asset.\n     * @param    float    period        The period.\n     * @param    float    rate        Rate of depreciation.\n     * @param    integer    basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function AMORLINC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis = 0)\n    {\n        $cost        = PHPExcel_Calculation_Functions::flattenSingleValue($cost);\n        $purchased   = PHPExcel_Calculation_Functions::flattenSingleValue($purchased);\n        $firstPeriod = PHPExcel_Calculation_Functions::flattenSingleValue($firstPeriod);\n        $salvage     = PHPExcel_Calculation_Functions::flattenSingleValue($salvage);\n        $period      = PHPExcel_Calculation_Functions::flattenSingleValue($period);\n        $rate        = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $basis       = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        $fOneRate = $cost * $rate;\n        $fCostDelta = $cost - $salvage;\n        //    Note, quirky variation for leap years on the YEARFRAC for this function\n        $purchasedYear = PHPExcel_Calculation_DateTime::YEAR($purchased);\n        $yearFrac = PHPExcel_Calculation_DateTime::YEARFRAC($purchased, $firstPeriod, $basis);\n\n        if (($basis == 1) && ($yearFrac < 1) && (PHPExcel_Calculation_DateTime::isLeapYear($purchasedYear))) {\n            $yearFrac *= 365 / 366;\n        }\n\n        $f0Rate = $yearFrac * $rate * $cost;\n        $nNumOfFullPeriods = intval(($cost - $salvage - $f0Rate) / $fOneRate);\n\n        if ($period == 0) {\n            return $f0Rate;\n        } elseif ($period <= $nNumOfFullPeriods) {\n            return $fOneRate;\n        } elseif ($period == ($nNumOfFullPeriods + 1)) {\n            return ($fCostDelta - $fOneRate * $nNumOfFullPeriods - $f0Rate);\n        } else {\n            return 0.0;\n        }\n    }\n\n\n    /**\n     * COUPDAYBS\n     *\n     * Returns the number of days from the beginning of the coupon period to the settlement date.\n     *\n     * Excel Function:\n     *        COUPDAYBS(settlement,maturity,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    frequency    the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function COUPDAYBS($settlement, $maturity, $frequency, $basis = 0)\n    {\n        $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity   = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $frequency  = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis      = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        $daysPerYear = self::daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement), $basis);\n        $prev = self::couponFirstPeriodDate($settlement, $maturity, $frequency, false);\n\n        return PHPExcel_Calculation_DateTime::YEARFRAC($prev, $settlement, $basis) * $daysPerYear;\n    }\n\n\n    /**\n     * COUPDAYS\n     *\n     * Returns the number of days in the coupon period that contains the settlement date.\n     *\n     * Excel Function:\n     *        COUPDAYS(settlement,maturity,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    frequency    the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function COUPDAYS($settlement, $maturity, $frequency, $basis = 0)\n    {\n        $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity   = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $frequency  = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis      = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        switch ($basis) {\n            case 3:\n                // Actual/365\n                return 365 / $frequency;\n            case 1:\n                // Actual/actual\n                if ($frequency == 1) {\n                    $daysPerYear = self::daysPerYear(PHPExcel_Calculation_DateTime::YEAR($maturity), $basis);\n                    return ($daysPerYear / $frequency);\n                }\n                $prev = self::couponFirstPeriodDate($settlement, $maturity, $frequency, false);\n                $next = self::couponFirstPeriodDate($settlement, $maturity, $frequency, true);\n                return ($next - $prev);\n            default:\n                // US (NASD) 30/360, Actual/360 or European 30/360\n                return 360 / $frequency;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * COUPDAYSNC\n     *\n     * Returns the number of days from the settlement date to the next coupon date.\n     *\n     * Excel Function:\n     *        COUPDAYSNC(settlement,maturity,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    frequency    the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function COUPDAYSNC($settlement, $maturity, $frequency, $basis = 0)\n    {\n        $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity   = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $frequency  = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis      = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        $daysPerYear = self::daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement), $basis);\n        $next = self::couponFirstPeriodDate($settlement, $maturity, $frequency, true);\n\n        return PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $next, $basis) * $daysPerYear;\n    }\n\n\n    /**\n     * COUPNCD\n     *\n     * Returns the next coupon date after the settlement date.\n     *\n     * Excel Function:\n     *        COUPNCD(settlement,maturity,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    frequency    the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function COUPNCD($settlement, $maturity, $frequency, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $frequency    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis        = (is_null($basis))    ? 0 :    (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        return self::couponFirstPeriodDate($settlement, $maturity, $frequency, true);\n    }\n\n\n    /**\n     * COUPNUM\n     *\n     * Returns the number of coupons payable between the settlement date and maturity date,\n     * rounded up to the nearest whole coupon.\n     *\n     * Excel Function:\n     *        COUPNUM(settlement,maturity,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    frequency    the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    integer\n     */\n    public static function COUPNUM($settlement, $maturity, $frequency, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $frequency    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis        = (is_null($basis))    ? 0 :    (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        $settlement = self::couponFirstPeriodDate($settlement, $maturity, $frequency, true);\n        $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis) * 365;\n\n        switch ($frequency) {\n            case 1: // annual payments\n                return ceil($daysBetweenSettlementAndMaturity / 360);\n            case 2: // half-yearly\n                return ceil($daysBetweenSettlementAndMaturity / 180);\n            case 4: // quarterly\n                return ceil($daysBetweenSettlementAndMaturity / 90);\n            case 6: // bimonthly\n                return ceil($daysBetweenSettlementAndMaturity / 60);\n            case 12: // monthly\n                return ceil($daysBetweenSettlementAndMaturity / 30);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * COUPPCD\n     *\n     * Returns the previous coupon date before the settlement date.\n     *\n     * Excel Function:\n     *        COUPPCD(settlement,maturity,frequency[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    frequency    the number of coupon payments per year.\n     *                                    Valid frequency values are:\n     *                                        1    Annual\n     *                                        2    Semi-Annual\n     *                                        4    Quarterly\n     *                                    If working in Gnumeric Mode, the following frequency options are\n     *                                    also available\n     *                                        6    Bimonthly\n     *                                        12    Monthly\n     * @param    integer        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    mixed    Excel date/time serial value, PHP date/time serial value or PHP date/time object,\n     *                        depending on the value of the ReturnDateType flag\n     */\n    public static function COUPPCD($settlement, $maturity, $frequency, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $frequency    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis        = (is_null($basis))    ? 0 :    (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        return self::couponFirstPeriodDate($settlement, $maturity, $frequency, false);\n    }\n\n\n    /**\n     * CUMIPMT\n     *\n     * Returns the cumulative interest paid on a loan between the start and end periods.\n     *\n     * Excel Function:\n     *        CUMIPMT(rate,nper,pv,start,end[,type])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    $rate    The Interest rate\n     * @param    integer    $nper    The total number of payment periods\n     * @param    float    $pv        Present Value\n     * @param    integer    $start    The first period in the calculation.\n     *                            Payment periods are numbered beginning with 1.\n     * @param    integer    $end    The last period in the calculation.\n     * @param    integer    $type    A number 0 or 1 and indicates when payments are due:\n     *                                0 or omitted    At the end of the period.\n     *                                1                At the beginning of the period.\n     * @return    float\n     */\n    public static function CUMIPMT($rate, $nper, $pv, $start, $end, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $nper    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $start    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($start);\n        $end    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($end);\n        $type    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ($start < 1 || $start > $end) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Calculate\n        $interest = 0;\n        for ($per = $start; $per <= $end; ++$per) {\n            $interest += self::IPMT($rate, $per, $nper, $pv, 0, $type);\n        }\n\n        return $interest;\n    }\n\n\n    /**\n     * CUMPRINC\n     *\n     * Returns the cumulative principal paid on a loan between the start and end periods.\n     *\n     * Excel Function:\n     *        CUMPRINC(rate,nper,pv,start,end[,type])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    $rate    The Interest rate\n     * @param    integer    $nper    The total number of payment periods\n     * @param    float    $pv        Present Value\n     * @param    integer    $start    The first period in the calculation.\n     *                            Payment periods are numbered beginning with 1.\n     * @param    integer    $end    The last period in the calculation.\n     * @param    integer    $type    A number 0 or 1 and indicates when payments are due:\n     *                                0 or omitted    At the end of the period.\n     *                                1                At the beginning of the period.\n     * @return    float\n     */\n    public static function CUMPRINC($rate, $nper, $pv, $start, $end, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $nper    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $start    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($start);\n        $end    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($end);\n        $type    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ($start < 1 || $start > $end) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Calculate\n        $principal = 0;\n        for ($per = $start; $per <= $end; ++$per) {\n            $principal += self::PPMT($rate, $per, $nper, $pv, 0, $type);\n        }\n\n        return $principal;\n    }\n\n\n    /**\n     * DB\n     *\n     * Returns the depreciation of an asset for a specified period using the\n     * fixed-declining balance method.\n     * This form of depreciation is used if you want to get a higher depreciation value\n     * at the beginning of the depreciation (as opposed to linear depreciation). The\n     * depreciation value is reduced with every depreciation period by the depreciation\n     * already deducted from the initial cost.\n     *\n     * Excel Function:\n     *        DB(cost,salvage,life,period[,month])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    cost        Initial cost of the asset.\n     * @param    float    salvage        Value at the end of the depreciation.\n     *                                (Sometimes called the salvage value of the asset)\n     * @param    integer    life        Number of periods over which the asset is depreciated.\n     *                                (Sometimes called the useful life of the asset)\n     * @param    integer    period        The period for which you want to calculate the\n     *                                depreciation. Period must use the same units as life.\n     * @param    integer    month        Number of months in the first year. If month is omitted,\n     *                                it defaults to 12.\n     * @return    float\n     */\n    public static function DB($cost, $salvage, $life, $period, $month = 12)\n    {\n        $cost        = PHPExcel_Calculation_Functions::flattenSingleValue($cost);\n        $salvage    = PHPExcel_Calculation_Functions::flattenSingleValue($salvage);\n        $life        = PHPExcel_Calculation_Functions::flattenSingleValue($life);\n        $period        = PHPExcel_Calculation_Functions::flattenSingleValue($period);\n        $month        = PHPExcel_Calculation_Functions::flattenSingleValue($month);\n\n        //    Validate\n        if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period)) && (is_numeric($month))) {\n            $cost    = (float) $cost;\n            $salvage = (float) $salvage;\n            $life    = (int) $life;\n            $period  = (int) $period;\n            $month   = (int) $month;\n            if ($cost == 0) {\n                return 0.0;\n            } elseif (($cost < 0) || (($salvage / $cost) < 0) || ($life <= 0) || ($period < 1) || ($month < 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            //    Set Fixed Depreciation Rate\n            $fixedDepreciationRate = 1 - pow(($salvage / $cost), (1 / $life));\n            $fixedDepreciationRate = round($fixedDepreciationRate, 3);\n\n            //    Loop through each period calculating the depreciation\n            $previousDepreciation = 0;\n            for ($per = 1; $per <= $period; ++$per) {\n                if ($per == 1) {\n                    $depreciation = $cost * $fixedDepreciationRate * $month / 12;\n                } elseif ($per == ($life + 1)) {\n                    $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate * (12 - $month) / 12;\n                } else {\n                    $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate;\n                }\n                $previousDepreciation += $depreciation;\n            }\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                $depreciation = round($depreciation, 2);\n            }\n            return $depreciation;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * DDB\n     *\n     * Returns the depreciation of an asset for a specified period using the\n     * double-declining balance method or some other method you specify.\n     *\n     * Excel Function:\n     *        DDB(cost,salvage,life,period[,factor])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    cost        Initial cost of the asset.\n     * @param    float    salvage        Value at the end of the depreciation.\n     *                                (Sometimes called the salvage value of the asset)\n     * @param    integer    life        Number of periods over which the asset is depreciated.\n     *                                (Sometimes called the useful life of the asset)\n     * @param    integer    period        The period for which you want to calculate the\n     *                                depreciation. Period must use the same units as life.\n     * @param    float    factor        The rate at which the balance declines.\n     *                                If factor is omitted, it is assumed to be 2 (the\n     *                                double-declining balance method).\n     * @return    float\n     */\n    public static function DDB($cost, $salvage, $life, $period, $factor = 2.0)\n    {\n        $cost        = PHPExcel_Calculation_Functions::flattenSingleValue($cost);\n        $salvage    = PHPExcel_Calculation_Functions::flattenSingleValue($salvage);\n        $life        = PHPExcel_Calculation_Functions::flattenSingleValue($life);\n        $period        = PHPExcel_Calculation_Functions::flattenSingleValue($period);\n        $factor        = PHPExcel_Calculation_Functions::flattenSingleValue($factor);\n\n        //    Validate\n        if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period)) && (is_numeric($factor))) {\n            $cost    = (float) $cost;\n            $salvage = (float) $salvage;\n            $life    = (int) $life;\n            $period  = (int) $period;\n            $factor  = (float) $factor;\n            if (($cost <= 0) || (($salvage / $cost) < 0) || ($life <= 0) || ($period < 1) || ($factor <= 0.0) || ($period > $life)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            //    Set Fixed Depreciation Rate\n            $fixedDepreciationRate = 1 - pow(($salvage / $cost), (1 / $life));\n            $fixedDepreciationRate = round($fixedDepreciationRate, 3);\n\n            //    Loop through each period calculating the depreciation\n            $previousDepreciation = 0;\n            for ($per = 1; $per <= $period; ++$per) {\n                $depreciation = min(($cost - $previousDepreciation) * ($factor / $life), ($cost - $salvage - $previousDepreciation));\n                $previousDepreciation += $depreciation;\n            }\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                $depreciation = round($depreciation, 2);\n            }\n            return $depreciation;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * DISC\n     *\n     * Returns the discount rate for a security.\n     *\n     * Excel Function:\n     *        DISC(settlement,maturity,price,redemption[,basis])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue\n     *                                date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    integer    price        The security's price per $100 face value.\n     * @param    integer    redemption    The security's redemption value per $100 face value.\n     * @param    integer    basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function DISC($settlement, $maturity, $price, $redemption, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $price        = PHPExcel_Calculation_Functions::flattenSingleValue($price);\n        $redemption    = PHPExcel_Calculation_Functions::flattenSingleValue($redemption);\n        $basis        = PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if ((is_numeric($price)) && (is_numeric($redemption)) && (is_numeric($basis))) {\n            $price        = (float) $price;\n            $redemption    = (float) $redemption;\n            $basis        = (int) $basis;\n            if (($price <= 0) || ($redemption <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n\n            return ((1 - $price / $redemption) / $daysBetweenSettlementAndMaturity);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * DOLLARDE\n     *\n     * Converts a dollar price expressed as an integer part and a fraction\n     *        part into a dollar price expressed as a decimal number.\n     * Fractional dollar numbers are sometimes used for security prices.\n     *\n     * Excel Function:\n     *        DOLLARDE(fractional_dollar,fraction)\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    $fractional_dollar    Fractional Dollar\n     * @param    integer    $fraction            Fraction\n     * @return    float\n     */\n    public static function DOLLARDE($fractional_dollar = null, $fraction = 0)\n    {\n        $fractional_dollar    = PHPExcel_Calculation_Functions::flattenSingleValue($fractional_dollar);\n        $fraction            = (int)PHPExcel_Calculation_Functions::flattenSingleValue($fraction);\n\n        // Validate parameters\n        if (is_null($fractional_dollar) || $fraction < 0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ($fraction == 0) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $dollars = floor($fractional_dollar);\n        $cents = fmod($fractional_dollar, 1);\n        $cents /= $fraction;\n        $cents *= pow(10, ceil(log10($fraction)));\n        return $dollars + $cents;\n    }\n\n\n    /**\n     * DOLLARFR\n     *\n     * Converts a dollar price expressed as a decimal number into a dollar price\n     *        expressed as a fraction.\n     * Fractional dollar numbers are sometimes used for security prices.\n     *\n     * Excel Function:\n     *        DOLLARFR(decimal_dollar,fraction)\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    $decimal_dollar        Decimal Dollar\n     * @param    integer    $fraction            Fraction\n     * @return    float\n     */\n    public static function DOLLARFR($decimal_dollar = null, $fraction = 0)\n    {\n        $decimal_dollar    = PHPExcel_Calculation_Functions::flattenSingleValue($decimal_dollar);\n        $fraction        = (int)PHPExcel_Calculation_Functions::flattenSingleValue($fraction);\n\n        // Validate parameters\n        if (is_null($decimal_dollar) || $fraction < 0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ($fraction == 0) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $dollars = floor($decimal_dollar);\n        $cents = fmod($decimal_dollar, 1);\n        $cents *= $fraction;\n        $cents *= pow(10, -ceil(log10($fraction)));\n        return $dollars + $cents;\n    }\n\n\n    /**\n     * EFFECT\n     *\n     * Returns the effective interest rate given the nominal rate and the number of\n     *        compounding payments per year.\n     *\n     * Excel Function:\n     *        EFFECT(nominal_rate,npery)\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    $nominal_rate        Nominal interest rate\n     * @param    integer    $npery                Number of compounding payments per year\n     * @return    float\n     */\n    public static function EFFECT($nominal_rate = 0, $npery = 0)\n    {\n        $nominal_rate    = PHPExcel_Calculation_Functions::flattenSingleValue($nominal_rate);\n        $npery            = (int)PHPExcel_Calculation_Functions::flattenSingleValue($npery);\n\n        // Validate parameters\n        if ($nominal_rate <= 0 || $npery < 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        return pow((1 + $nominal_rate / $npery), $npery) - 1;\n    }\n\n\n    /**\n     * FV\n     *\n     * Returns the Future Value of a cash flow with constant payments and interest rate (annuities).\n     *\n     * Excel Function:\n     *        FV(rate,nper,pmt[,pv[,type]])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    $rate    The interest rate per period\n     * @param    int        $nper    Total number of payment periods in an annuity\n     * @param    float    $pmt    The payment made each period: it cannot change over the\n     *                            life of the annuity. Typically, pmt contains principal\n     *                            and interest but no other fees or taxes.\n     * @param    float    $pv        Present Value, or the lump-sum amount that a series of\n     *                            future payments is worth right now.\n     * @param    integer    $type    A number 0 or 1 and indicates when payments are due:\n     *                                0 or omitted    At the end of the period.\n     *                                1                At the beginning of the period.\n     * @return    float\n     */\n    public static function FV($rate = 0, $nper = 0, $pmt = 0, $pv = 0, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $nper    = PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pmt    = PHPExcel_Calculation_Functions::flattenSingleValue($pmt);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $type    = PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Calculate\n        if (!is_null($rate) && $rate != 0) {\n            return -$pv * pow(1 + $rate, $nper) - $pmt * (1 + $rate * $type) * (pow(1 + $rate, $nper) - 1) / $rate;\n        }\n        return -$pv - $pmt * $nper;\n    }\n\n\n    /**\n     * FVSCHEDULE\n     *\n     * Returns the future value of an initial principal after applying a series of compound interest rates.\n     * Use FVSCHEDULE to calculate the future value of an investment with a variable or adjustable rate.\n     *\n     * Excel Function:\n     *        FVSCHEDULE(principal,schedule)\n     *\n     * @param    float    $principal    The present value.\n     * @param    float[]    $schedule    An array of interest rates to apply.\n     * @return    float\n     */\n    public static function FVSCHEDULE($principal, $schedule)\n    {\n        $principal    = PHPExcel_Calculation_Functions::flattenSingleValue($principal);\n        $schedule    = PHPExcel_Calculation_Functions::flattenArray($schedule);\n\n        foreach ($schedule as $rate) {\n            $principal *= 1 + $rate;\n        }\n\n        return $principal;\n    }\n\n\n    /**\n     * INTRATE\n     *\n     * Returns the interest rate for a fully invested security.\n     *\n     * Excel Function:\n     *        INTRATE(settlement,maturity,investment,redemption[,basis])\n     *\n     * @param    mixed    $settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue date when the security is traded to the buyer.\n     * @param    mixed    $maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    integer    $investment    The amount invested in the security.\n     * @param    integer    $redemption    The amount to be received at maturity.\n     * @param    integer    $basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function INTRATE($settlement, $maturity, $investment, $redemption, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $investment    = PHPExcel_Calculation_Functions::flattenSingleValue($investment);\n        $redemption    = PHPExcel_Calculation_Functions::flattenSingleValue($redemption);\n        $basis        = PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if ((is_numeric($investment)) && (is_numeric($redemption)) && (is_numeric($basis))) {\n            $investment    = (float) $investment;\n            $redemption    = (float) $redemption;\n            $basis        = (int) $basis;\n            if (($investment <= 0) || ($redemption <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n\n            return (($redemption / $investment) - 1) / ($daysBetweenSettlementAndMaturity);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * IPMT\n     *\n     * Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate.\n     *\n     * Excel Function:\n     *        IPMT(rate,per,nper,pv[,fv][,type])\n     *\n     * @param    float    $rate    Interest rate per period\n     * @param    int        $per    Period for which we want to find the interest\n     * @param    int        $nper    Number of periods\n     * @param    float    $pv        Present Value\n     * @param    float    $fv        Future Value\n     * @param    int        $type    Payment type: 0 = at the end of each period, 1 = at the beginning of each period\n     * @return    float\n     */\n    public static function IPMT($rate, $per, $nper, $pv, $fv = 0, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $per    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($per);\n        $nper    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $fv        = PHPExcel_Calculation_Functions::flattenSingleValue($fv);\n        $type    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ($per <= 0 || $per > $nper) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Calculate\n        $interestAndPrincipal = self::interestAndPrincipal($rate, $per, $nper, $pv, $fv, $type);\n        return $interestAndPrincipal[0];\n    }\n\n    /**\n     * IRR\n     *\n     * Returns the internal rate of return for a series of cash flows represented by the numbers in values.\n     * These cash flows do not have to be even, as they would be for an annuity. However, the cash flows must occur\n     * at regular intervals, such as monthly or annually. The internal rate of return is the interest rate received\n     * for an investment consisting of payments (negative values) and income (positive values) that occur at regular\n     * periods.\n     *\n     * Excel Function:\n     *        IRR(values[,guess])\n     *\n     * @param    float[]    $values        An array or a reference to cells that contain numbers for which you want\n     *                                    to calculate the internal rate of return.\n     *                                Values must contain at least one positive value and one negative value to\n     *                                    calculate the internal rate of return.\n     * @param    float    $guess        A number that you guess is close to the result of IRR\n     * @return    float\n     */\n    public static function IRR($values, $guess = 0.1)\n    {\n        if (!is_array($values)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $values = PHPExcel_Calculation_Functions::flattenArray($values);\n        $guess = PHPExcel_Calculation_Functions::flattenSingleValue($guess);\n\n        // create an initial range, with a root somewhere between 0 and guess\n        $x1 = 0.0;\n        $x2 = $guess;\n        $f1 = self::NPV($x1, $values);\n        $f2 = self::NPV($x2, $values);\n        for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) {\n            if (($f1 * $f2) < 0.0) {\n                break;\n            }\n            if (abs($f1) < abs($f2)) {\n                $f1 = self::NPV($x1 += 1.6 * ($x1 - $x2), $values);\n            } else {\n                $f2 = self::NPV($x2 += 1.6 * ($x2 - $x1), $values);\n            }\n        }\n        if (($f1 * $f2) > 0.0) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        $f = self::NPV($x1, $values);\n        if ($f < 0.0) {\n            $rtb = $x1;\n            $dx = $x2 - $x1;\n        } else {\n            $rtb = $x2;\n            $dx = $x1 - $x2;\n        }\n\n        for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) {\n            $dx *= 0.5;\n            $x_mid = $rtb + $dx;\n            $f_mid = self::NPV($x_mid, $values);\n            if ($f_mid <= 0.0) {\n                $rtb = $x_mid;\n            }\n            if ((abs($f_mid) < FINANCIAL_PRECISION) || (abs($dx) < FINANCIAL_PRECISION)) {\n                return $x_mid;\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * ISPMT\n     *\n     * Returns the interest payment for an investment based on an interest rate and a constant payment schedule.\n     *\n     * Excel Function:\n     *     =ISPMT(interest_rate, period, number_payments, PV)\n     *\n     * interest_rate is the interest rate for the investment\n     *\n     * period is the period to calculate the interest rate.  It must be betweeen 1 and number_payments.\n     *\n     * number_payments is the number of payments for the annuity\n     *\n     * PV is the loan amount or present value of the payments\n     */\n    public static function ISPMT()\n    {\n        // Return value\n        $returnValue = 0;\n\n        // Get the parameters\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        $interestRate = array_shift($aArgs);\n        $period = array_shift($aArgs);\n        $numberPeriods = array_shift($aArgs);\n        $principleRemaining = array_shift($aArgs);\n\n        // Calculate\n        $principlePayment = ($principleRemaining * 1.0) / ($numberPeriods * 1.0);\n        for ($i=0; $i <= $period; ++$i) {\n            $returnValue = $interestRate * $principleRemaining * -1;\n            $principleRemaining -= $principlePayment;\n            // principle needs to be 0 after the last payment, don't let floating point screw it up\n            if ($i == $numberPeriods) {\n                $returnValue = 0;\n            }\n        }\n        return($returnValue);\n    }\n\n\n    /**\n     * MIRR\n     *\n     * Returns the modified internal rate of return for a series of periodic cash flows. MIRR considers both\n     *        the cost of the investment and the interest received on reinvestment of cash.\n     *\n     * Excel Function:\n     *        MIRR(values,finance_rate, reinvestment_rate)\n     *\n     * @param    float[]    $values                An array or a reference to cells that contain a series of payments and\n     *                                            income occurring at regular intervals.\n     *                                        Payments are negative value, income is positive values.\n     * @param    float    $finance_rate        The interest rate you pay on the money used in the cash flows\n     * @param    float    $reinvestment_rate    The interest rate you receive on the cash flows as you reinvest them\n     * @return    float\n     */\n    public static function MIRR($values, $finance_rate, $reinvestment_rate)\n    {\n        if (!is_array($values)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $values                = PHPExcel_Calculation_Functions::flattenArray($values);\n        $finance_rate        = PHPExcel_Calculation_Functions::flattenSingleValue($finance_rate);\n        $reinvestment_rate    = PHPExcel_Calculation_Functions::flattenSingleValue($reinvestment_rate);\n        $n = count($values);\n\n        $rr = 1.0 + $reinvestment_rate;\n        $fr = 1.0 + $finance_rate;\n\n        $npv_pos = $npv_neg = 0.0;\n        foreach ($values as $i => $v) {\n            if ($v >= 0) {\n                $npv_pos += $v / pow($rr, $i);\n            } else {\n                $npv_neg += $v / pow($fr, $i);\n            }\n        }\n\n        if (($npv_neg == 0) || ($npv_pos == 0) || ($reinvestment_rate <= -1)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        $mirr = pow((-$npv_pos * pow($rr, $n))\n                / ($npv_neg * ($rr)), (1.0 / ($n - 1))) - 1.0;\n\n        return (is_finite($mirr) ? $mirr : PHPExcel_Calculation_Functions::VALUE());\n    }\n\n\n    /**\n     * NOMINAL\n     *\n     * Returns the nominal interest rate given the effective rate and the number of compounding payments per year.\n     *\n     * @param    float    $effect_rate    Effective interest rate\n     * @param    int        $npery            Number of compounding payments per year\n     * @return    float\n     */\n    public static function NOMINAL($effect_rate = 0, $npery = 0)\n    {\n        $effect_rate    = PHPExcel_Calculation_Functions::flattenSingleValue($effect_rate);\n        $npery            = (int)PHPExcel_Calculation_Functions::flattenSingleValue($npery);\n\n        // Validate parameters\n        if ($effect_rate <= 0 || $npery < 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Calculate\n        return $npery * (pow($effect_rate + 1, 1 / $npery) - 1);\n    }\n\n\n    /**\n     * NPER\n     *\n     * Returns the number of periods for a cash flow with constant periodic payments (annuities), and interest rate.\n     *\n     * @param    float    $rate    Interest rate per period\n     * @param    int        $pmt    Periodic payment (annuity)\n     * @param    float    $pv        Present Value\n     * @param    float    $fv        Future Value\n     * @param    int        $type    Payment type: 0 = at the end of each period, 1 = at the beginning of each period\n     * @return    float\n     */\n    public static function NPER($rate = 0, $pmt = 0, $pv = 0, $fv = 0, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $pmt    = PHPExcel_Calculation_Functions::flattenSingleValue($pmt);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $fv        = PHPExcel_Calculation_Functions::flattenSingleValue($fv);\n        $type    = PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Calculate\n        if (!is_null($rate) && $rate != 0) {\n            if ($pmt == 0 && $pv == 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return log(($pmt * (1 + $rate * $type) / $rate - $fv) / ($pv + $pmt * (1 + $rate * $type) / $rate)) / log(1 + $rate);\n        }\n        if ($pmt == 0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return (-$pv -$fv) / $pmt;\n    }\n\n    /**\n     * NPV\n     *\n     * Returns the Net Present Value of a cash flow series given a discount rate.\n     *\n     * @return    float\n     */\n    public static function NPV()\n    {\n        // Return value\n        $returnValue = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $rate = array_shift($aArgs);\n        for ($i = 1; $i <= count($aArgs); ++$i) {\n            // Is it a numeric value?\n            if (is_numeric($aArgs[$i - 1])) {\n                $returnValue += $aArgs[$i - 1] / pow(1 + $rate, $i);\n            }\n        }\n\n        // Return\n        return $returnValue;\n    }\n\n    /**\n     * PMT\n     *\n     * Returns the constant payment (annuity) for a cash flow with a constant interest rate.\n     *\n     * @param    float    $rate    Interest rate per period\n     * @param    int        $nper    Number of periods\n     * @param    float    $pv        Present Value\n     * @param    float    $fv        Future Value\n     * @param    int        $type    Payment type: 0 = at the end of each period, 1 = at the beginning of each period\n     * @return    float\n     */\n    public static function PMT($rate = 0, $nper = 0, $pv = 0, $fv = 0, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $nper    = PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $fv        = PHPExcel_Calculation_Functions::flattenSingleValue($fv);\n        $type    = PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Calculate\n        if (!is_null($rate) && $rate != 0) {\n            return (-$fv - $pv * pow(1 + $rate, $nper)) / (1 + $rate * $type) / ((pow(1 + $rate, $nper) - 1) / $rate);\n        }\n        return (-$pv - $fv) / $nper;\n    }\n\n\n    /**\n     * PPMT\n     *\n     * Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate.\n     *\n     * @param    float    $rate    Interest rate per period\n     * @param    int        $per    Period for which we want to find the interest\n     * @param    int        $nper    Number of periods\n     * @param    float    $pv        Present Value\n     * @param    float    $fv        Future Value\n     * @param    int        $type    Payment type: 0 = at the end of each period, 1 = at the beginning of each period\n     * @return    float\n     */\n    public static function PPMT($rate, $per, $nper, $pv, $fv = 0, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $per    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($per);\n        $nper    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $fv        = PHPExcel_Calculation_Functions::flattenSingleValue($fv);\n        $type    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ($per <= 0 || $per > $nper) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // Calculate\n        $interestAndPrincipal = self::interestAndPrincipal($rate, $per, $nper, $pv, $fv, $type);\n        return $interestAndPrincipal[1];\n    }\n\n\n    public static function PRICE($settlement, $maturity, $rate, $yield, $redemption, $frequency, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $rate        = (float) PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $yield        = (float) PHPExcel_Calculation_Functions::flattenSingleValue($yield);\n        $redemption    = (float) PHPExcel_Calculation_Functions::flattenSingleValue($redemption);\n        $frequency    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency);\n        $basis        = (is_null($basis))    ? 0 :    (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        if (is_string($settlement = PHPExcel_Calculation_DateTime::getDateValue($settlement))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (($settlement > $maturity) ||\n            (!self::isValidFrequency($frequency)) ||\n            (($basis < 0) || ($basis > 4))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        $dsc = self::COUPDAYSNC($settlement, $maturity, $frequency, $basis);\n        $e = self::COUPDAYS($settlement, $maturity, $frequency, $basis);\n        $n = self::COUPNUM($settlement, $maturity, $frequency, $basis);\n        $a = self::COUPDAYBS($settlement, $maturity, $frequency, $basis);\n\n        $baseYF    = 1.0 + ($yield / $frequency);\n        $rfp    = 100 * ($rate / $frequency);\n        $de    = $dsc / $e;\n\n        $result = $redemption / pow($baseYF, (--$n + $de));\n        for ($k = 0; $k <= $n; ++$k) {\n            $result += $rfp / (pow($baseYF, ($k + $de)));\n        }\n        $result -= $rfp * ($a / $e);\n\n        return $result;\n    }\n\n\n    /**\n     * PRICEDISC\n     *\n     * Returns the price per $100 face value of a discounted security.\n     *\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    int        discount    The security's discount rate.\n     * @param    int        redemption    The security's redemption value per $100 face value.\n     * @param    int        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function PRICEDISC($settlement, $maturity, $discount, $redemption, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $discount    = (float) PHPExcel_Calculation_Functions::flattenSingleValue($discount);\n        $redemption    = (float) PHPExcel_Calculation_Functions::flattenSingleValue($redemption);\n        $basis        = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if ((is_numeric($discount)) && (is_numeric($redemption)) && (is_numeric($basis))) {\n            if (($discount <= 0) || ($redemption <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n\n            return $redemption * (1 - $discount * $daysBetweenSettlementAndMaturity);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * PRICEMAT\n     *\n     * Returns the price per $100 face value of a security that pays interest at maturity.\n     *\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security's settlement date is the date after the issue date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    mixed    issue        The security's issue date.\n     * @param    int        rate        The security's interest rate at date of issue.\n     * @param    int        yield        The security's annual yield.\n     * @param    int        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function PRICEMAT($settlement, $maturity, $issue, $rate, $yield, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $issue        = PHPExcel_Calculation_Functions::flattenSingleValue($issue);\n        $rate        = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $yield        = PHPExcel_Calculation_Functions::flattenSingleValue($yield);\n        $basis        = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if (is_numeric($rate) && is_numeric($yield)) {\n            if (($rate <= 0) || ($yield <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysPerYear = self::daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement), $basis);\n            if (!is_numeric($daysPerYear)) {\n                return $daysPerYear;\n            }\n            $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis);\n            if (!is_numeric($daysBetweenIssueAndSettlement)) {\n                //    return date error\n                return $daysBetweenIssueAndSettlement;\n            }\n            $daysBetweenIssueAndSettlement *= $daysPerYear;\n            $daysBetweenIssueAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $maturity, $basis);\n            if (!is_numeric($daysBetweenIssueAndMaturity)) {\n                //    return date error\n                return $daysBetweenIssueAndMaturity;\n            }\n            $daysBetweenIssueAndMaturity *= $daysPerYear;\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n            $daysBetweenSettlementAndMaturity *= $daysPerYear;\n\n            return ((100 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate * 100)) /\n                   (1 + (($daysBetweenSettlementAndMaturity / $daysPerYear) * $yield)) -\n                   (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate * 100));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * PV\n     *\n     * Returns the Present Value of a cash flow with constant payments and interest rate (annuities).\n     *\n     * @param    float    $rate    Interest rate per period\n     * @param    int        $nper    Number of periods\n     * @param    float    $pmt    Periodic payment (annuity)\n     * @param    float    $fv        Future Value\n     * @param    int        $type    Payment type: 0 = at the end of each period, 1 = at the beginning of each period\n     * @return    float\n     */\n    public static function PV($rate = 0, $nper = 0, $pmt = 0, $fv = 0, $type = 0)\n    {\n        $rate    = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $nper    = PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pmt    = PHPExcel_Calculation_Functions::flattenSingleValue($pmt);\n        $fv        = PHPExcel_Calculation_Functions::flattenSingleValue($fv);\n        $type    = PHPExcel_Calculation_Functions::flattenSingleValue($type);\n\n        // Validate parameters\n        if ($type != 0 && $type != 1) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // Calculate\n        if (!is_null($rate) && $rate != 0) {\n            return (-$pmt * (1 + $rate * $type) * ((pow(1 + $rate, $nper) - 1) / $rate) - $fv) / pow(1 + $rate, $nper);\n        }\n        return -$fv - $pmt * $nper;\n    }\n\n\n    /**\n     * RATE\n     *\n     * Returns the interest rate per period of an annuity.\n     * RATE is calculated by iteration and can have zero or more solutions.\n     * If the successive results of RATE do not converge to within 0.0000001 after 20 iterations,\n     * RATE returns the #NUM! error value.\n     *\n     * Excel Function:\n     *        RATE(nper,pmt,pv[,fv[,type[,guess]]])\n     *\n     * @access    public\n     * @category Financial Functions\n     * @param    float    nper        The total number of payment periods in an annuity.\n     * @param    float    pmt            The payment made each period and cannot change over the life\n     *                                    of the annuity.\n     *                                Typically, pmt includes principal and interest but no other\n     *                                    fees or taxes.\n     * @param    float    pv            The present value - the total amount that a series of future\n     *                                    payments is worth now.\n     * @param    float    fv            The future value, or a cash balance you want to attain after\n     *                                    the last payment is made. If fv is omitted, it is assumed\n     *                                    to be 0 (the future value of a loan, for example, is 0).\n     * @param    integer    type        A number 0 or 1 and indicates when payments are due:\n     *                                        0 or omitted    At the end of the period.\n     *                                        1                At the beginning of the period.\n     * @param    float    guess        Your guess for what the rate will be.\n     *                                    If you omit guess, it is assumed to be 10 percent.\n     * @return    float\n     **/\n    public static function RATE($nper, $pmt, $pv, $fv = 0.0, $type = 0, $guess = 0.1)\n    {\n        $nper    = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper);\n        $pmt    = PHPExcel_Calculation_Functions::flattenSingleValue($pmt);\n        $pv        = PHPExcel_Calculation_Functions::flattenSingleValue($pv);\n        $fv        = (is_null($fv))    ? 0.0    :    PHPExcel_Calculation_Functions::flattenSingleValue($fv);\n        $type    = (is_null($type))    ? 0        :    (int) PHPExcel_Calculation_Functions::flattenSingleValue($type);\n        $guess    = (is_null($guess))    ? 0.1    :    PHPExcel_Calculation_Functions::flattenSingleValue($guess);\n\n        $rate = $guess;\n        if (abs($rate) < FINANCIAL_PRECISION) {\n            $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv;\n        } else {\n            $f = exp($nper * log(1 + $rate));\n            $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv;\n        }\n        $y0 = $pv + $pmt * $nper + $fv;\n        $y1 = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv;\n\n        // find root by secant method\n        $i  = $x0 = 0.0;\n        $x1 = $rate;\n        while ((abs($y0 - $y1) > FINANCIAL_PRECISION) && ($i < FINANCIAL_MAX_ITERATIONS)) {\n            $rate = ($y1 * $x0 - $y0 * $x1) / ($y1 - $y0);\n            $x0 = $x1;\n            $x1 = $rate;\n            if (($nper * abs($pmt)) > ($pv - $fv)) {\n                $x1 = abs($x1);\n            }\n            if (abs($rate) < FINANCIAL_PRECISION) {\n                $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv;\n            } else {\n                $f = exp($nper * log(1 + $rate));\n                $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv;\n            }\n\n            $y0 = $y1;\n            $y1 = $y;\n            ++$i;\n        }\n        return $rate;\n    }\n\n\n    /**\n     * RECEIVED\n     *\n     * Returns the price per $100 face value of a discounted security.\n     *\n     * @param    mixed    settlement    The security's settlement date.\n     *                                The security settlement date is the date after the issue date when the security is traded to the buyer.\n     * @param    mixed    maturity    The security's maturity date.\n     *                                The maturity date is the date when the security expires.\n     * @param    int        investment    The amount invested in the security.\n     * @param    int        discount    The security's discount rate.\n     * @param    int        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function RECEIVED($settlement, $maturity, $investment, $discount, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $investment    = (float) PHPExcel_Calculation_Functions::flattenSingleValue($investment);\n        $discount    = (float) PHPExcel_Calculation_Functions::flattenSingleValue($discount);\n        $basis        = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if ((is_numeric($investment)) && (is_numeric($discount)) && (is_numeric($basis))) {\n            if (($investment <= 0) || ($discount <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n\n            return $investment / ( 1 - ($discount * $daysBetweenSettlementAndMaturity));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SLN\n     *\n     * Returns the straight-line depreciation of an asset for one period\n     *\n     * @param    cost        Initial cost of the asset\n     * @param    salvage        Value at the end of the depreciation\n     * @param    life        Number of periods over which the asset is depreciated\n     * @return    float\n     */\n    public static function SLN($cost, $salvage, $life)\n    {\n        $cost        = PHPExcel_Calculation_Functions::flattenSingleValue($cost);\n        $salvage    = PHPExcel_Calculation_Functions::flattenSingleValue($salvage);\n        $life        = PHPExcel_Calculation_Functions::flattenSingleValue($life);\n\n        // Calculate\n        if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life))) {\n            if ($life < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return ($cost - $salvage) / $life;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SYD\n     *\n     * Returns the sum-of-years' digits depreciation of an asset for a specified period.\n     *\n     * @param    cost        Initial cost of the asset\n     * @param    salvage        Value at the end of the depreciation\n     * @param    life        Number of periods over which the asset is depreciated\n     * @param    period        Period\n     * @return    float\n     */\n    public static function SYD($cost, $salvage, $life, $period)\n    {\n        $cost        = PHPExcel_Calculation_Functions::flattenSingleValue($cost);\n        $salvage    = PHPExcel_Calculation_Functions::flattenSingleValue($salvage);\n        $life        = PHPExcel_Calculation_Functions::flattenSingleValue($life);\n        $period        = PHPExcel_Calculation_Functions::flattenSingleValue($period);\n\n        // Calculate\n        if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period))) {\n            if (($life < 1) || ($period > $life)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return (($cost - $salvage) * ($life - $period + 1) * 2) / ($life * ($life + 1));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * TBILLEQ\n     *\n     * Returns the bond-equivalent yield for a Treasury bill.\n     *\n     * @param    mixed    settlement    The Treasury bill's settlement date.\n     *                                The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer.\n     * @param    mixed    maturity    The Treasury bill's maturity date.\n     *                                The maturity date is the date when the Treasury bill expires.\n     * @param    int        discount    The Treasury bill's discount rate.\n     * @return    float\n     */\n    public static function TBILLEQ($settlement, $maturity, $discount)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $discount    = PHPExcel_Calculation_Functions::flattenSingleValue($discount);\n\n        //    Use TBILLPRICE for validation\n        $testValue = self::TBILLPRICE($settlement, $maturity, $discount);\n        if (is_string($testValue)) {\n            return $testValue;\n        }\n\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n            ++$maturity;\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360;\n        } else {\n            $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::getDateValue($maturity) - PHPExcel_Calculation_DateTime::getDateValue($settlement));\n        }\n\n        return (365 * $discount) / (360 - $discount * $daysBetweenSettlementAndMaturity);\n    }\n\n\n    /**\n     * TBILLPRICE\n     *\n     * Returns the yield for a Treasury bill.\n     *\n     * @param    mixed    settlement    The Treasury bill's settlement date.\n     *                                The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer.\n     * @param    mixed    maturity    The Treasury bill's maturity date.\n     *                                The maturity date is the date when the Treasury bill expires.\n     * @param    int        discount    The Treasury bill's discount rate.\n     * @return    float\n     */\n    public static function TBILLPRICE($settlement, $maturity, $discount)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $discount    = PHPExcel_Calculation_Functions::flattenSingleValue($discount);\n\n        if (is_string($maturity = PHPExcel_Calculation_DateTime::getDateValue($maturity))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        //    Validate\n        if (is_numeric($discount)) {\n            if ($discount <= 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                ++$maturity;\n                $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360;\n                if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                    //    return date error\n                    return $daysBetweenSettlementAndMaturity;\n                }\n            } else {\n                $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::getDateValue($maturity) - PHPExcel_Calculation_DateTime::getDateValue($settlement));\n            }\n\n            if ($daysBetweenSettlementAndMaturity > 360) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            $price = 100 * (1 - (($discount * $daysBetweenSettlementAndMaturity) / 360));\n            if ($price <= 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return $price;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * TBILLYIELD\n     *\n     * Returns the yield for a Treasury bill.\n     *\n     * @param    mixed    settlement    The Treasury bill's settlement date.\n     *                                The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer.\n     * @param    mixed    maturity    The Treasury bill's maturity date.\n     *                                The maturity date is the date when the Treasury bill expires.\n     * @param    int        price        The Treasury bill's price per $100 face value.\n     * @return    float\n     */\n    public static function TBILLYIELD($settlement, $maturity, $price)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $price        = PHPExcel_Calculation_Functions::flattenSingleValue($price);\n\n        //    Validate\n        if (is_numeric($price)) {\n            if ($price <= 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                ++$maturity;\n                $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360;\n                if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                    //    return date error\n                    return $daysBetweenSettlementAndMaturity;\n                }\n            } else {\n                $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::getDateValue($maturity) - PHPExcel_Calculation_DateTime::getDateValue($settlement));\n            }\n\n            if ($daysBetweenSettlementAndMaturity > 360) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            return ((100 - $price) / $price) * (360 / $daysBetweenSettlementAndMaturity);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    public static function XIRR($values, $dates, $guess = 0.1)\n    {\n        if ((!is_array($values)) && (!is_array($dates))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $values = PHPExcel_Calculation_Functions::flattenArray($values);\n        $dates  = PHPExcel_Calculation_Functions::flattenArray($dates);\n        $guess  = PHPExcel_Calculation_Functions::flattenSingleValue($guess);\n        if (count($values) != count($dates)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        // create an initial range, with a root somewhere between 0 and guess\n        $x1 = 0.0;\n        $x2 = $guess;\n        $f1 = self::XNPV($x1, $values, $dates);\n        $f2 = self::XNPV($x2, $values, $dates);\n        for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) {\n            if (($f1 * $f2) < 0.0) {\n                break;\n            } elseif (abs($f1) < abs($f2)) {\n                $f1 = self::XNPV($x1 += 1.6 * ($x1 - $x2), $values, $dates);\n            } else {\n                $f2 = self::XNPV($x2 += 1.6 * ($x2 - $x1), $values, $dates);\n            }\n        }\n        if (($f1 * $f2) > 0.0) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        $f = self::XNPV($x1, $values, $dates);\n        if ($f < 0.0) {\n            $rtb = $x1;\n            $dx = $x2 - $x1;\n        } else {\n            $rtb = $x2;\n            $dx = $x1 - $x2;\n        }\n\n        for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) {\n            $dx *= 0.5;\n            $x_mid = $rtb + $dx;\n            $f_mid = self::XNPV($x_mid, $values, $dates);\n            if ($f_mid <= 0.0) {\n                $rtb = $x_mid;\n            }\n            if ((abs($f_mid) < FINANCIAL_PRECISION) || (abs($dx) < FINANCIAL_PRECISION)) {\n                return $x_mid;\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * XNPV\n     *\n     * Returns the net present value for a schedule of cash flows that is not necessarily periodic.\n     * To calculate the net present value for a series of cash flows that is periodic, use the NPV function.\n     *\n     * Excel Function:\n     *        =XNPV(rate,values,dates)\n     *\n     * @param    float            $rate        The discount rate to apply to the cash flows.\n     * @param    array of float    $values     A series of cash flows that corresponds to a schedule of payments in dates.\n     *                                         The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment.\n     *                                         If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year.\n     *                                         The series of values must contain at least one positive value and one negative value.\n     * @param    array of mixed    $dates      A schedule of payment dates that corresponds to the cash flow payments.\n     *                                         The first payment date indicates the beginning of the schedule of payments.\n     *                                         All other dates must be later than this date, but they may occur in any order.\n     * @return    float\n     */\n    public static function XNPV($rate, $values, $dates)\n    {\n        $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        if (!is_numeric($rate)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if ((!is_array($values)) || (!is_array($dates))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $values    = PHPExcel_Calculation_Functions::flattenArray($values);\n        $dates    = PHPExcel_Calculation_Functions::flattenArray($dates);\n        $valCount = count($values);\n        if ($valCount != count($dates)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        if ((min($values) > 0) || (max($values) < 0)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        $xnpv = 0.0;\n        for ($i = 0; $i < $valCount; ++$i) {\n            if (!is_numeric($values[$i])) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            $xnpv += $values[$i] / pow(1 + $rate, PHPExcel_Calculation_DateTime::DATEDIF($dates[0], $dates[$i], 'd') / 365);\n        }\n        return (is_finite($xnpv)) ? $xnpv : PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * YIELDDISC\n     *\n     * Returns the annual yield of a security that pays interest at maturity.\n     *\n     * @param    mixed    settlement      The security's settlement date.\n     *                                    The security's settlement date is the date after the issue date when the security is traded to the buyer.\n     * @param    mixed    maturity        The security's maturity date.\n     *                                    The maturity date is the date when the security expires.\n     * @param    int        price         The security's price per $100 face value.\n     * @param    int        redemption    The security's redemption value per $100 face value.\n     * @param    int        basis         The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function YIELDDISC($settlement, $maturity, $price, $redemption, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $price        = PHPExcel_Calculation_Functions::flattenSingleValue($price);\n        $redemption    = PHPExcel_Calculation_Functions::flattenSingleValue($redemption);\n        $basis        = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if (is_numeric($price) && is_numeric($redemption)) {\n            if (($price <= 0) || ($redemption <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysPerYear = self::daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement), $basis);\n            if (!is_numeric($daysPerYear)) {\n                return $daysPerYear;\n            }\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n            $daysBetweenSettlementAndMaturity *= $daysPerYear;\n\n            return (($redemption - $price) / $price) * ($daysPerYear / $daysBetweenSettlementAndMaturity);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * YIELDMAT\n     *\n     * Returns the annual yield of a security that pays interest at maturity.\n     *\n     * @param    mixed    settlement     The security's settlement date.\n     *                                   The security's settlement date is the date after the issue date when the security is traded to the buyer.\n     * @param    mixed    maturity       The security's maturity date.\n     *                                   The maturity date is the date when the security expires.\n     * @param    mixed    issue          The security's issue date.\n     * @param    int        rate         The security's interest rate at date of issue.\n     * @param    int        price        The security's price per $100 face value.\n     * @param    int        basis        The type of day count to use.\n     *                                        0 or omitted    US (NASD) 30/360\n     *                                        1                Actual/actual\n     *                                        2                Actual/360\n     *                                        3                Actual/365\n     *                                        4                European 30/360\n     * @return    float\n     */\n    public static function YIELDMAT($settlement, $maturity, $issue, $rate, $price, $basis = 0)\n    {\n        $settlement    = PHPExcel_Calculation_Functions::flattenSingleValue($settlement);\n        $maturity    = PHPExcel_Calculation_Functions::flattenSingleValue($maturity);\n        $issue        = PHPExcel_Calculation_Functions::flattenSingleValue($issue);\n        $rate        = PHPExcel_Calculation_Functions::flattenSingleValue($rate);\n        $price        = PHPExcel_Calculation_Functions::flattenSingleValue($price);\n        $basis        = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis);\n\n        //    Validate\n        if (is_numeric($rate) && is_numeric($price)) {\n            if (($rate <= 0) || ($price <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $daysPerYear = self::daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement), $basis);\n            if (!is_numeric($daysPerYear)) {\n                return $daysPerYear;\n            }\n            $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis);\n            if (!is_numeric($daysBetweenIssueAndSettlement)) {\n                //    return date error\n                return $daysBetweenIssueAndSettlement;\n            }\n            $daysBetweenIssueAndSettlement *= $daysPerYear;\n            $daysBetweenIssueAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $maturity, $basis);\n            if (!is_numeric($daysBetweenIssueAndMaturity)) {\n                //    return date error\n                return $daysBetweenIssueAndMaturity;\n            }\n            $daysBetweenIssueAndMaturity *= $daysPerYear;\n            $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis);\n            if (!is_numeric($daysBetweenSettlementAndMaturity)) {\n                //    return date error\n                return $daysBetweenSettlementAndMaturity;\n            }\n            $daysBetweenSettlementAndMaturity *= $daysPerYear;\n\n            return ((1 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate) - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) /\n                   (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) *\n                   ($daysPerYear / $daysBetweenSettlementAndMaturity);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/FormulaParser.php",
    "content": "<?php\n\n/*\nPARTLY BASED ON:\n    Copyright (c) 2007 E. W. Bachtal, Inc.\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy of this software\n    and associated documentation files (the \"Software\"), to deal in the Software without restriction,\n    including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,\n    and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,\n    subject to the following conditions:\n\n      The above copyright notice and this permission notice shall be included in all copies or substantial\n      portions of the Software.\n\n    The software is provided \"as is\", without warranty of any kind, express or implied, including but not\n    limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In\n    no event shall the authors or copyright holders be liable for any claim, damages or other liability,\n    whether in an action of contract, tort or otherwise, arising from, out of or in connection with the\n    software or the use or other dealings in the software.\n\n    http://ewbi.blogs.com/develops/2007/03/excel_formula_p.html\n    http://ewbi.blogs.com/develops/2004/12/excel_formula_p.html\n*/\n\n/**\n * PHPExcel_Calculation_FormulaParser\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\nclass PHPExcel_Calculation_FormulaParser\n{\n    /* Character constants */\n    const QUOTE_DOUBLE  = '\"';\n    const QUOTE_SINGLE  = '\\'';\n    const BRACKET_CLOSE = ']';\n    const BRACKET_OPEN  = '[';\n    const BRACE_OPEN    = '{';\n    const BRACE_CLOSE   = '}';\n    const PAREN_OPEN    = '(';\n    const PAREN_CLOSE   = ')';\n    const SEMICOLON     = ';';\n    const WHITESPACE    = ' ';\n    const COMMA         = ',';\n    const ERROR_START   = '#';\n\n    const OPERATORS_SN             = \"+-\";\n    const OPERATORS_INFIX         = \"+-*/^&=><\";\n    const OPERATORS_POSTFIX     = \"%\";\n\n    /**\n     * Formula\n     *\n     * @var string\n     */\n    private $formula;\n\n    /**\n     * Tokens\n     *\n     * @var PHPExcel_Calculation_FormulaToken[]\n     */\n    private $tokens = array();\n\n    /**\n     * Create a new PHPExcel_Calculation_FormulaParser\n     *\n     * @param     string        $pFormula    Formula to parse\n     * @throws     PHPExcel_Calculation_Exception\n     */\n    public function __construct($pFormula = '')\n    {\n        // Check parameters\n        if (is_null($pFormula)) {\n            throw new PHPExcel_Calculation_Exception(\"Invalid parameter passed: formula\");\n        }\n\n        // Initialise values\n        $this->formula = trim($pFormula);\n        // Parse!\n        $this->parseToTokens();\n    }\n\n    /**\n     * Get Formula\n     *\n     * @return string\n     */\n    public function getFormula()\n    {\n        return $this->formula;\n    }\n\n    /**\n     * Get Token\n     *\n     * @param     int        $pId    Token id\n     * @return    string\n     * @throws  PHPExcel_Calculation_Exception\n     */\n    public function getToken($pId = 0)\n    {\n        if (isset($this->tokens[$pId])) {\n            return $this->tokens[$pId];\n        } else {\n            throw new PHPExcel_Calculation_Exception(\"Token with id $pId does not exist.\");\n        }\n    }\n\n    /**\n     * Get Token count\n     *\n     * @return string\n     */\n    public function getTokenCount()\n    {\n        return count($this->tokens);\n    }\n\n    /**\n     * Get Tokens\n     *\n     * @return PHPExcel_Calculation_FormulaToken[]\n     */\n    public function getTokens()\n    {\n        return $this->tokens;\n    }\n\n    /**\n     * Parse to tokens\n     */\n    private function parseToTokens()\n    {\n        // No attempt is made to verify formulas; assumes formulas are derived from Excel, where\n        // they can only exist if valid; stack overflows/underflows sunk as nulls without exceptions.\n\n        // Check if the formula has a valid starting =\n        $formulaLength = strlen($this->formula);\n        if ($formulaLength < 2 || $this->formula{0} != '=') {\n            return;\n        }\n\n        // Helper variables\n        $tokens1    = $tokens2     = $stack = array();\n        $inString    = $inPath     = $inRange     = $inError = false;\n        $token        = $previousToken    = $nextToken    = null;\n\n        $index    = 1;\n        $value    = '';\n\n        $ERRORS             = array(\"#NULL!\", \"#DIV/0!\", \"#VALUE!\", \"#REF!\", \"#NAME?\", \"#NUM!\", \"#N/A\");\n        $COMPARATORS_MULTI     = array(\">=\", \"<=\", \"<>\");\n\n        while ($index < $formulaLength) {\n            // state-dependent character evaluation (order is important)\n\n            // double-quoted strings\n            // embeds are doubled\n            // end marks token\n            if ($inString) {\n                if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE) {\n                    if ((($index + 2) <= $formulaLength) && ($this->formula{$index + 1} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE)) {\n                        $value .= PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE;\n                        ++$index;\n                    } else {\n                        $inString = false;\n                        $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_TEXT);\n                        $value = \"\";\n                    }\n                } else {\n                    $value .= $this->formula{$index};\n                }\n                ++$index;\n                continue;\n            }\n\n            // single-quoted strings (links)\n            // embeds are double\n            // end does not mark a token\n            if ($inPath) {\n                if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE) {\n                    if ((($index + 2) <= $formulaLength) && ($this->formula{$index + 1} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE)) {\n                        $value .= PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE;\n                        ++$index;\n                    } else {\n                        $inPath = false;\n                    }\n                } else {\n                    $value .= $this->formula{$index};\n                }\n                ++$index;\n                continue;\n            }\n\n            // bracked strings (R1C1 range index or linked workbook name)\n            // no embeds (changed to \"()\" by Excel)\n            // end does not mark a token\n            if ($inRange) {\n                if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::BRACKET_CLOSE) {\n                    $inRange = false;\n                }\n                $value .= $this->formula{$index};\n                ++$index;\n                continue;\n            }\n\n            // error values\n            // end marks a token, determined from absolute list of values\n            if ($inError) {\n                $value .= $this->formula{$index};\n                ++$index;\n                if (in_array($value, $ERRORS)) {\n                    $inError = false;\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_ERROR);\n                    $value = \"\";\n                }\n                continue;\n            }\n\n            // scientific notation check\n            if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_SN, $this->formula{$index}) !== false) {\n                if (strlen($value) > 1) {\n                    if (preg_match(\"/^[1-9]{1}(\\.[0-9]+)?E{1}$/\", $this->formula{$index}) != 0) {\n                        $value .= $this->formula{$index};\n                        ++$index;\n                        continue;\n                    }\n                }\n            }\n\n            // independent character evaluation (order not important)\n\n            // establish state-dependent character evaluations\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE) {\n                if (strlen($value > 0)) {\n                    // unexpected\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN);\n                    $value = \"\";\n                }\n                $inString = true;\n                ++$index;\n                continue;\n            }\n\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE) {\n                if (strlen($value) > 0) {\n                    // unexpected\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN);\n                    $value = \"\";\n                }\n                $inPath = true;\n                ++$index;\n                continue;\n            }\n\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::BRACKET_OPEN) {\n                $inRange = true;\n                $value .= PHPExcel_Calculation_FormulaParser::BRACKET_OPEN;\n                ++$index;\n                continue;\n            }\n\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::ERROR_START) {\n                if (strlen($value) > 0) {\n                    // unexpected\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN);\n                    $value = \"\";\n                }\n                $inError = true;\n                $value .= PHPExcel_Calculation_FormulaParser::ERROR_START;\n                ++$index;\n                continue;\n            }\n\n            // mark start and end of arrays and array rows\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::BRACE_OPEN) {\n                if (strlen($value) > 0) {\n                    // unexpected\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN);\n                    $value = \"\";\n                }\n\n                $tmp = new PHPExcel_Calculation_FormulaToken(\"ARRAY\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START);\n                $tokens1[] = $tmp;\n                $stack[] = clone $tmp;\n\n                $tmp = new PHPExcel_Calculation_FormulaToken(\"ARRAYROW\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START);\n                $tokens1[] = $tmp;\n                $stack[] = clone $tmp;\n\n                ++$index;\n                continue;\n            }\n\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::SEMICOLON) {\n                if (strlen($value) > 0) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n\n                $tmp = array_pop($stack);\n                $tmp->setValue(\"\");\n                $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP);\n                $tokens1[] = $tmp;\n\n                $tmp = new PHPExcel_Calculation_FormulaToken(\",\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT);\n                $tokens1[] = $tmp;\n\n                $tmp = new PHPExcel_Calculation_FormulaToken(\"ARRAYROW\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START);\n                $tokens1[] = $tmp;\n                $stack[] = clone $tmp;\n\n                ++$index;\n                continue;\n            }\n\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::BRACE_CLOSE) {\n                if (strlen($value) > 0) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n\n                $tmp = array_pop($stack);\n                $tmp->setValue(\"\");\n                $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP);\n                $tokens1[] = $tmp;\n\n                $tmp = array_pop($stack);\n                $tmp->setValue(\"\");\n                $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP);\n                $tokens1[] = $tmp;\n\n                ++$index;\n                continue;\n            }\n\n            // trim white-space\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::WHITESPACE) {\n                if (strlen($value) > 0) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n                $tokens1[] = new PHPExcel_Calculation_FormulaToken(\"\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE);\n                ++$index;\n                while (($this->formula{$index} == PHPExcel_Calculation_FormulaParser::WHITESPACE) && ($index < $formulaLength)) {\n                    ++$index;\n                }\n                continue;\n            }\n\n            // multi-character comparators\n            if (($index + 2) <= $formulaLength) {\n                if (in_array(substr($this->formula, $index, 2), $COMPARATORS_MULTI)) {\n                    if (strlen($value) > 0) {\n                        $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                        $value = \"\";\n                    }\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken(substr($this->formula, $index, 2), PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL);\n                    $index += 2;\n                    continue;\n                }\n            }\n\n            // standard infix operators\n            if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_INFIX, $this->formula{$index}) !== false) {\n                if (strlen($value) > 0) {\n                    $tokens1[] =new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n                $tokens1[] = new PHPExcel_Calculation_FormulaToken($this->formula{$index}, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX);\n                ++$index;\n                continue;\n            }\n\n            // standard postfix operators (only one)\n            if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_POSTFIX, $this->formula{$index}) !== false) {\n                if (strlen($value) > 0) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n                $tokens1[] = new PHPExcel_Calculation_FormulaToken($this->formula{$index}, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX);\n                ++$index;\n                continue;\n            }\n\n            // start subexpression or function\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::PAREN_OPEN) {\n                if (strlen($value) > 0) {\n                    $tmp = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START);\n                    $tokens1[] = $tmp;\n                    $stack[] = clone $tmp;\n                    $value = \"\";\n                } else {\n                    $tmp = new PHPExcel_Calculation_FormulaToken(\"\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START);\n                    $tokens1[] = $tmp;\n                    $stack[] = clone $tmp;\n                }\n                ++$index;\n                continue;\n            }\n\n            // function, subexpression, or array parameters, or operand unions\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::COMMA) {\n                if (strlen($value) > 0) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n\n                $tmp = array_pop($stack);\n                $tmp->setValue(\"\");\n                $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP);\n                $stack[] = $tmp;\n\n                if ($tmp->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken(\",\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_UNION);\n                } else {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken(\",\", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT);\n                }\n                ++$index;\n                continue;\n            }\n\n            // stop subexpression\n            if ($this->formula{$index} == PHPExcel_Calculation_FormulaParser::PAREN_CLOSE) {\n                if (strlen($value) > 0) {\n                    $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n                    $value = \"\";\n                }\n\n                $tmp = array_pop($stack);\n                $tmp->setValue(\"\");\n                $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP);\n                $tokens1[] = $tmp;\n\n                ++$index;\n                continue;\n            }\n\n            // token accumulation\n            $value .= $this->formula{$index};\n            ++$index;\n        }\n\n        // dump remaining accumulation\n        if (strlen($value) > 0) {\n            $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND);\n        }\n\n        // move tokenList to new set, excluding unnecessary white-space tokens and converting necessary ones to intersections\n        $tokenCount = count($tokens1);\n        for ($i = 0; $i < $tokenCount; ++$i) {\n            $token = $tokens1[$i];\n            if (isset($tokens1[$i - 1])) {\n                $previousToken = $tokens1[$i - 1];\n            } else {\n                $previousToken = null;\n            }\n            if (isset($tokens1[$i + 1])) {\n                $nextToken = $tokens1[$i + 1];\n            } else {\n                $nextToken = null;\n            }\n\n            if (is_null($token)) {\n                continue;\n            }\n\n            if ($token->getTokenType() != PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE) {\n                $tokens2[] = $token;\n                continue;\n            }\n\n            if (is_null($previousToken)) {\n                continue;\n            }\n\n            if (! (\n                    (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) ||\n                    (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) ||\n                    ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND)\n                  ) ) {\n                continue;\n            }\n\n            if (is_null($nextToken)) {\n                continue;\n            }\n\n            if (! (\n                    (($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START)) ||\n                    (($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START)) ||\n                    ($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND)\n                  ) ) {\n                continue;\n            }\n\n            $tokens2[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_INTERSECTION);\n        }\n\n        // move tokens to final list, switching infix \"-\" operators to prefix when appropriate, switching infix \"+\" operators\n        // to noop when appropriate, identifying operand and infix-operator subtypes, and pulling \"@\" from function names\n        $this->tokens = array();\n\n        $tokenCount = count($tokens2);\n        for ($i = 0; $i < $tokenCount; ++$i) {\n            $token = $tokens2[$i];\n            if (isset($tokens2[$i - 1])) {\n                $previousToken = $tokens2[$i - 1];\n            } else {\n                $previousToken = null;\n            }\n            if (isset($tokens2[$i + 1])) {\n                $nextToken = $tokens2[$i + 1];\n            } else {\n                $nextToken = null;\n            }\n\n            if (is_null($token)) {\n                continue;\n            }\n\n            if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == \"-\") {\n                if ($i == 0) {\n                    $token->setTokenType(PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX);\n                } elseif ((($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) &&\n                    ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) ||\n                    (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) &&\n                    ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) ||\n                    ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) ||\n                    ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND)) {\n                    $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH);\n                } else {\n                    $token->setTokenType(PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX);\n                }\n\n                $this->tokens[] = $token;\n                continue;\n            }\n\n            if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == \"+\") {\n                if ($i == 0) {\n                    continue;\n                } elseif ((($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) &&\n                    ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) ||\n                    (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) &&\n                    ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) ||\n                    ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) ||\n                    ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND)) {\n                    $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH);\n                } else {\n                    continue;\n                }\n\n                $this->tokens[] = $token;\n                continue;\n            }\n\n            if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX &&\n                $token->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) {\n                if (strpos(\"<>=\", substr($token->getValue(), 0, 1)) !== false) {\n                    $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL);\n                } elseif ($token->getValue() == \"&\") {\n                    $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_CONCATENATION);\n                } else {\n                    $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH);\n                }\n\n                $this->tokens[] = $token;\n                continue;\n            }\n\n            if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND &&\n                $token->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) {\n                if (!is_numeric($token->getValue())) {\n                    if (strtoupper($token->getValue()) == \"TRUE\" || strtoupper($token->getValue() == \"FALSE\")) {\n                        $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL);\n                    } else {\n                        $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_RANGE);\n                    }\n                } else {\n                    $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NUMBER);\n                }\n\n                $this->tokens[] = $token;\n                continue;\n            }\n\n            if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) {\n                if (strlen($token->getValue() > 0)) {\n                    if (substr($token->getValue(), 0, 1) == \"@\") {\n                        $token->setValue(substr($token->getValue(), 1));\n                    }\n                }\n            }\n\n            $this->tokens[] = $token;\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/FormulaToken.php",
    "content": "<?php\n\n/*\nPARTLY BASED ON:\n    Copyright (c) 2007 E. W. Bachtal, Inc.\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy of this software\n    and associated documentation files (the \"Software\"), to deal in the Software without restriction,\n    including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,\n    and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,\n    subject to the following conditions:\n\n      The above copyright notice and this permission notice shall be included in all copies or substantial\n      portions of the Software.\n\n    The software is provided \"as is\", without warranty of any kind, express or implied, including but not\n    limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In\n    no event shall the authors or copyright holders be liable for any claim, damages or other liability,\n    whether in an action of contract, tort or otherwise, arising from, out of or in connection with the\n    software or the use or other dealings in the software.\n\n    http://ewbi.blogs.com/develops/2007/03/excel_formula_p.html\n    http://ewbi.blogs.com/develops/2004/12/excel_formula_p.html\n*/\n\n/**\n * PHPExcel_Calculation_FormulaToken\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\nclass PHPExcel_Calculation_FormulaToken\n{\n    /* Token types */\n    const TOKEN_TYPE_NOOP            = 'Noop';\n    const TOKEN_TYPE_OPERAND         = 'Operand';\n    const TOKEN_TYPE_FUNCTION        = 'Function';\n    const TOKEN_TYPE_SUBEXPRESSION   = 'Subexpression';\n    const TOKEN_TYPE_ARGUMENT        = 'Argument';\n    const TOKEN_TYPE_OPERATORPREFIX  = 'OperatorPrefix';\n    const TOKEN_TYPE_OPERATORINFIX   = 'OperatorInfix';\n    const TOKEN_TYPE_OPERATORPOSTFIX = 'OperatorPostfix';\n    const TOKEN_TYPE_WHITESPACE      = 'Whitespace';\n    const TOKEN_TYPE_UNKNOWN         = 'Unknown';\n\n    /* Token subtypes */\n    const TOKEN_SUBTYPE_NOTHING       = 'Nothing';\n    const TOKEN_SUBTYPE_START         = 'Start';\n    const TOKEN_SUBTYPE_STOP          = 'Stop';\n    const TOKEN_SUBTYPE_TEXT          = 'Text';\n    const TOKEN_SUBTYPE_NUMBER        = 'Number';\n    const TOKEN_SUBTYPE_LOGICAL       = 'Logical';\n    const TOKEN_SUBTYPE_ERROR         = 'Error';\n    const TOKEN_SUBTYPE_RANGE         = 'Range';\n    const TOKEN_SUBTYPE_MATH          = 'Math';\n    const TOKEN_SUBTYPE_CONCATENATION = 'Concatenation';\n    const TOKEN_SUBTYPE_INTERSECTION  = 'Intersection';\n    const TOKEN_SUBTYPE_UNION         = 'Union';\n\n    /**\n     * Value\n     *\n     * @var string\n     */\n    private $value;\n\n    /**\n     * Token Type (represented by TOKEN_TYPE_*)\n     *\n     * @var string\n     */\n    private $tokenType;\n\n    /**\n     * Token SubType (represented by TOKEN_SUBTYPE_*)\n     *\n     * @var string\n     */\n    private $tokenSubType;\n\n    /**\n     * Create a new PHPExcel_Calculation_FormulaToken\n     *\n     * @param string    $pValue\n     * @param string    $pTokenType     Token type (represented by TOKEN_TYPE_*)\n     * @param string    $pTokenSubType     Token Subtype (represented by TOKEN_SUBTYPE_*)\n     */\n    public function __construct($pValue, $pTokenType = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN, $pTokenSubType = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING)\n    {\n        // Initialise values\n        $this->value       = $pValue;\n        $this->tokenType    = $pTokenType;\n        $this->tokenSubType = $pTokenSubType;\n    }\n\n    /**\n     * Get Value\n     *\n     * @return string\n     */\n    public function getValue()\n    {\n        return $this->value;\n    }\n\n    /**\n     * Set Value\n     *\n     * @param string    $value\n     */\n    public function setValue($value)\n    {\n        $this->value = $value;\n    }\n\n    /**\n     * Get Token Type (represented by TOKEN_TYPE_*)\n     *\n     * @return string\n     */\n    public function getTokenType()\n    {\n        return $this->tokenType;\n    }\n\n    /**\n     * Set Token Type\n     *\n     * @param string    $value\n     */\n    public function setTokenType($value = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN)\n    {\n        $this->tokenType = $value;\n    }\n\n    /**\n     * Get Token SubType (represented by TOKEN_SUBTYPE_*)\n     *\n     * @return string\n     */\n    public function getTokenSubType()\n    {\n        return $this->tokenSubType;\n    }\n\n    /**\n     * Set Token SubType\n     *\n     * @param string    $value\n     */\n    public function setTokenSubType($value = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING)\n    {\n        $this->tokenSubType = $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Function.php",
    "content": "<?php\n\n/**\n * PHPExcel_Calculation_Function\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Function\n{\n    /* Function categories */\n    const CATEGORY_CUBE                 = 'Cube';\n    const CATEGORY_DATABASE             = 'Database';\n    const CATEGORY_DATE_AND_TIME        = 'Date and Time';\n    const CATEGORY_ENGINEERING          = 'Engineering';\n    const CATEGORY_FINANCIAL            = 'Financial';\n    const CATEGORY_INFORMATION          = 'Information';\n    const CATEGORY_LOGICAL              = 'Logical';\n    const CATEGORY_LOOKUP_AND_REFERENCE = 'Lookup and Reference';\n    const CATEGORY_MATH_AND_TRIG        = 'Math and Trig';\n    const CATEGORY_STATISTICAL          = 'Statistical';\n    const CATEGORY_TEXT_AND_DATA        = 'Text and Data';\n\n    /**\n     * Category (represented by CATEGORY_*)\n     *\n     * @var string\n     */\n    private $category;\n\n    /**\n     * Excel name\n     *\n     * @var string\n     */\n    private $excelName;\n\n    /**\n     * PHPExcel name\n     *\n     * @var string\n     */\n    private $phpExcelName;\n\n    /**\n     * Create a new PHPExcel_Calculation_Function\n     *\n     * @param     string        $pCategory         Category (represented by CATEGORY_*)\n     * @param     string        $pExcelName        Excel function name\n     * @param     string        $pPHPExcelName    PHPExcel function mapping\n     * @throws     PHPExcel_Calculation_Exception\n     */\n    public function __construct($pCategory = null, $pExcelName = null, $pPHPExcelName = null)\n    {\n        if (($pCategory !== null) && ($pExcelName !== null) && ($pPHPExcelName !== null)) {\n            // Initialise values\n            $this->category     = $pCategory;\n            $this->excelName    = $pExcelName;\n            $this->phpExcelName = $pPHPExcelName;\n        } else {\n            throw new PHPExcel_Calculation_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Get Category (represented by CATEGORY_*)\n     *\n     * @return string\n     */\n    public function getCategory()\n    {\n        return $this->category;\n    }\n\n    /**\n     * Set Category (represented by CATEGORY_*)\n     *\n     * @param     string        $value\n     * @throws     PHPExcel_Calculation_Exception\n     */\n    public function setCategory($value = null)\n    {\n        if (!is_null($value)) {\n            $this->category = $value;\n        } else {\n            throw new PHPExcel_Calculation_Exception(\"Invalid parameter passed.\");\n        }\n    }\n\n    /**\n     * Get Excel name\n     *\n     * @return string\n     */\n    public function getExcelName()\n    {\n        return $this->excelName;\n    }\n\n    /**\n     * Set Excel name\n     *\n     * @param string    $value\n     */\n    public function setExcelName($value)\n    {\n        $this->excelName = $value;\n    }\n\n    /**\n     * Get PHPExcel name\n     *\n     * @return string\n     */\n    public function getPHPExcelName()\n    {\n        return $this->phpExcelName;\n    }\n\n    /**\n     * Set PHPExcel name\n     *\n     * @param string    $value\n     */\n    public function setPHPExcelName($value)\n    {\n        $this->phpExcelName = $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Functions.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n\n/** MAX_VALUE */\ndefine('MAX_VALUE', 1.2e308);\n\n/** 2 / PI */\ndefine('M_2DIVPI', 0.63661977236758134307553505349006);\n\n/** MAX_ITERATIONS */\ndefine('MAX_ITERATIONS', 256);\n\n/** PRECISION */\ndefine('PRECISION', 8.88E-016);\n\n\n/**\n * PHPExcel_Calculation_Functions\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Functions\n{\n\n    /** constants */\n    const COMPATIBILITY_EXCEL      = 'Excel';\n    const COMPATIBILITY_GNUMERIC   = 'Gnumeric';\n    const COMPATIBILITY_OPENOFFICE = 'OpenOfficeCalc';\n\n    const RETURNDATE_PHP_NUMERIC = 'P';\n    const RETURNDATE_PHP_OBJECT  = 'O';\n    const RETURNDATE_EXCEL       = 'E';\n\n\n    /**\n     * Compatibility mode to use for error checking and responses\n     *\n     * @access    private\n     * @var string\n     */\n    protected static $compatibilityMode = self::COMPATIBILITY_EXCEL;\n\n    /**\n     * Data Type to use when returning date values\n     *\n     * @access    private\n     * @var string\n     */\n    protected static $returnDateType = self::RETURNDATE_EXCEL;\n\n    /**\n     * List of error codes\n     *\n     * @access    private\n     * @var array\n     */\n    protected static $errorCodes = array(\n        'null'           => '#NULL!',\n        'divisionbyzero' => '#DIV/0!',\n        'value'          => '#VALUE!',\n        'reference'      => '#REF!',\n        'name'           => '#NAME?',\n        'num'            => '#NUM!',\n        'na'             => '#N/A',\n        'gettingdata'    => '#GETTING_DATA'\n    );\n\n\n    /**\n     * Set the Compatibility Mode\n     *\n     * @access    public\n     * @category Function Configuration\n     * @param     string        $compatibilityMode        Compatibility Mode\n     *                                                Permitted values are:\n     *                                                    PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL            'Excel'\n     *                                                    PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC        'Gnumeric'\n     *                                                    PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE    'OpenOfficeCalc'\n     * @return     boolean    (Success or Failure)\n     */\n    public static function setCompatibilityMode($compatibilityMode)\n    {\n        if (($compatibilityMode == self::COMPATIBILITY_EXCEL) ||\n            ($compatibilityMode == self::COMPATIBILITY_GNUMERIC) ||\n            ($compatibilityMode == self::COMPATIBILITY_OPENOFFICE)) {\n            self::$compatibilityMode = $compatibilityMode;\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Return the current Compatibility Mode\n     *\n     * @access    public\n     * @category Function Configuration\n     * @return     string        Compatibility Mode\n     *                            Possible Return values are:\n     *                                PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL            'Excel'\n     *                                PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC        'Gnumeric'\n     *                                PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE    'OpenOfficeCalc'\n     */\n    public static function getCompatibilityMode()\n    {\n        return self::$compatibilityMode;\n    }\n\n\n    /**\n     * Set the Return Date Format used by functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object)\n     *\n     * @access    public\n     * @category Function Configuration\n     * @param     string    $returnDateType            Return Date Format\n     *                                                Permitted values are:\n     *                                                    PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC        'P'\n     *                                                    PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT        'O'\n     *                                                    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL            'E'\n     * @return     boolean                            Success or failure\n     */\n    public static function setReturnDateType($returnDateType)\n    {\n        if (($returnDateType == self::RETURNDATE_PHP_NUMERIC) ||\n            ($returnDateType == self::RETURNDATE_PHP_OBJECT) ||\n            ($returnDateType == self::RETURNDATE_EXCEL)) {\n            self::$returnDateType = $returnDateType;\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Return the current Return Date Format for functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object)\n     *\n     * @access    public\n     * @category Function Configuration\n     * @return     string        Return Date Format\n     *                            Possible Return values are:\n     *                                PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC        'P'\n     *                                PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT        'O'\n     *                                PHPExcel_Calculation_Functions::RETURNDATE_EXCEL            'E'\n     */\n    public static function getReturnDateType()\n    {\n        return self::$returnDateType;\n    }\n\n\n    /**\n     * DUMMY\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #Not Yet Implemented\n     */\n    public static function DUMMY()\n    {\n        return '#Not Yet Implemented';\n    }\n\n\n    /**\n     * DIV0\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #Not Yet Implemented\n     */\n    public static function DIV0()\n    {\n        return self::$errorCodes['divisionbyzero'];\n    }\n\n\n    /**\n     * NA\n     *\n     * Excel Function:\n     *        =NA()\n     *\n     * Returns the error value #N/A\n     *        #N/A is the error value that means \"no value is available.\"\n     *\n     * @access    public\n     * @category Logical Functions\n     * @return    string    #N/A!\n     */\n    public static function NA()\n    {\n        return self::$errorCodes['na'];\n    }\n\n\n    /**\n     * NaN\n     *\n     * Returns the error value #NUM!\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #NUM!\n     */\n    public static function NaN()\n    {\n        return self::$errorCodes['num'];\n    }\n\n\n    /**\n     * NAME\n     *\n     * Returns the error value #NAME?\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #NAME?\n     */\n    public static function NAME()\n    {\n        return self::$errorCodes['name'];\n    }\n\n\n    /**\n     * REF\n     *\n     * Returns the error value #REF!\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #REF!\n     */\n    public static function REF()\n    {\n        return self::$errorCodes['reference'];\n    }\n\n\n    /**\n     * NULL\n     *\n     * Returns the error value #NULL!\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #NULL!\n     */\n    public static function NULL()\n    {\n        return self::$errorCodes['null'];\n    }\n\n\n    /**\n     * VALUE\n     *\n     * Returns the error value #VALUE!\n     *\n     * @access    public\n     * @category Error Returns\n     * @return    string    #VALUE!\n     */\n    public static function VALUE()\n    {\n        return self::$errorCodes['value'];\n    }\n\n\n    public static function isMatrixValue($idx)\n    {\n        return ((substr_count($idx, '.') <= 1) || (preg_match('/\\.[A-Z]/', $idx) > 0));\n    }\n\n\n    public static function isValue($idx)\n    {\n        return (substr_count($idx, '.') == 0);\n    }\n\n\n    public static function isCellValue($idx)\n    {\n        return (substr_count($idx, '.') > 1);\n    }\n\n\n    public static function ifCondition($condition)\n    {\n        $condition    = PHPExcel_Calculation_Functions::flattenSingleValue($condition);\n        if (!isset($condition{0})) {\n            $condition = '=\"\"';\n        }\n        if (!in_array($condition{0}, array('>', '<', '='))) {\n            if (!is_numeric($condition)) {\n                $condition = PHPExcel_Calculation::wrapResult(strtoupper($condition));\n            }\n            return '=' . $condition;\n        } else {\n            preg_match('/([<>=]+)(.*)/', $condition, $matches);\n            list(, $operator, $operand) = $matches;\n\n            if (!is_numeric($operand)) {\n                $operand = str_replace('\"', '\"\"', $operand);\n                $operand = PHPExcel_Calculation::wrapResult(strtoupper($operand));\n            }\n\n            return $operator.$operand;\n        }\n    }\n\n    /**\n     * ERROR_TYPE\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function ERROR_TYPE($value = '')\n    {\n        $value = self::flattenSingleValue($value);\n\n        $i = 1;\n        foreach (self::$errorCodes as $errorCode) {\n            if ($value === $errorCode) {\n                return $i;\n            }\n            ++$i;\n        }\n        return self::NA();\n    }\n\n\n    /**\n     * IS_BLANK\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function IS_BLANK($value = null)\n    {\n        if (!is_null($value)) {\n            $value    = self::flattenSingleValue($value);\n        }\n\n        return is_null($value);\n    }\n\n\n    /**\n     * IS_ERR\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function IS_ERR($value = '')\n    {\n        $value = self::flattenSingleValue($value);\n\n        return self::IS_ERROR($value) && (!self::IS_NA($value));\n    }\n\n\n    /**\n     * IS_ERROR\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function IS_ERROR($value = '')\n    {\n        $value = self::flattenSingleValue($value);\n\n        if (!is_string($value)) {\n            return false;\n        }\n        return in_array($value, array_values(self::$errorCodes));\n    }\n\n\n    /**\n     * IS_NA\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function IS_NA($value = '')\n    {\n        $value = self::flattenSingleValue($value);\n\n        return ($value === self::NA());\n    }\n\n\n    /**\n     * IS_EVEN\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function IS_EVEN($value = null)\n    {\n        $value = self::flattenSingleValue($value);\n\n        if ($value === null) {\n            return self::NAME();\n        } elseif ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) {\n            return self::VALUE();\n        }\n\n        return ($value % 2 == 0);\n    }\n\n\n    /**\n     * IS_ODD\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function IS_ODD($value = null)\n    {\n        $value = self::flattenSingleValue($value);\n\n        if ($value === null) {\n            return self::NAME();\n        } elseif ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) {\n            return self::VALUE();\n        }\n\n        return (abs($value) % 2 == 1);\n    }\n\n\n    /**\n     * IS_NUMBER\n     *\n     * @param    mixed    $value        Value to check\n     * @return    boolean\n     */\n    public static function IS_NUMBER($value = null)\n    {\n        $value = self::flattenSingleValue($value);\n\n        if (is_string($value)) {\n            return false;\n        }\n        return is_numeric($value);\n    }\n\n\n    /**\n     * IS_LOGICAL\n     *\n     * @param    mixed    $value        Value to check\n     * @return    boolean\n     */\n    public static function IS_LOGICAL($value = null)\n    {\n        $value = self::flattenSingleValue($value);\n\n        return is_bool($value);\n    }\n\n\n    /**\n     * IS_TEXT\n     *\n     * @param    mixed    $value        Value to check\n     * @return    boolean\n     */\n    public static function IS_TEXT($value = null)\n    {\n        $value = self::flattenSingleValue($value);\n\n        return (is_string($value) && !self::IS_ERROR($value));\n    }\n\n\n    /**\n     * IS_NONTEXT\n     *\n     * @param    mixed    $value        Value to check\n     * @return    boolean\n     */\n    public static function IS_NONTEXT($value = null)\n    {\n        return !self::IS_TEXT($value);\n    }\n\n\n    /**\n     * VERSION\n     *\n     * @return    string    Version information\n     */\n    public static function VERSION()\n    {\n        return 'PHPExcel ##VERSION##, ##DATE##';\n    }\n\n\n    /**\n     * N\n     *\n     * Returns a value converted to a number\n     *\n     * @param    value        The value you want converted\n     * @return    number        N converts values listed in the following table\n     *        If value is or refers to N returns\n     *        A number            That number\n     *        A date                The serial number of that date\n     *        TRUE                1\n     *        FALSE                0\n     *        An error value        The error value\n     *        Anything else        0\n     */\n    public static function N($value = null)\n    {\n        while (is_array($value)) {\n            $value = array_shift($value);\n        }\n\n        switch (gettype($value)) {\n            case 'double':\n            case 'float':\n            case 'integer':\n                return $value;\n            case 'boolean':\n                return (integer) $value;\n            case 'string':\n                //    Errors\n                if ((strlen($value) > 0) && ($value{0} == '#')) {\n                    return $value;\n                }\n                break;\n        }\n        return 0;\n    }\n\n\n    /**\n     * TYPE\n     *\n     * Returns a number that identifies the type of a value\n     *\n     * @param    value        The value you want tested\n     * @return    number        N converts values listed in the following table\n     *        If value is or refers to N returns\n     *        A number            1\n     *        Text                2\n     *        Logical Value        4\n     *        An error value        16\n     *        Array or Matrix        64\n     */\n    public static function TYPE($value = null)\n    {\n        $value = self::flattenArrayIndexed($value);\n        if (is_array($value) && (count($value) > 1)) {\n            end($value);\n            $a = key($value);\n            //    Range of cells is an error\n            if (self::isCellValue($a)) {\n                return 16;\n            //    Test for Matrix\n            } elseif (self::isMatrixValue($a)) {\n                return 64;\n            }\n        } elseif (empty($value)) {\n            //    Empty Cell\n            return 1;\n        }\n        $value = self::flattenSingleValue($value);\n\n        if (($value === null) || (is_float($value)) || (is_int($value))) {\n                return 1;\n        } elseif (is_bool($value)) {\n                return 4;\n        } elseif (is_array($value)) {\n                return 64;\n        } elseif (is_string($value)) {\n            //    Errors\n            if ((strlen($value) > 0) && ($value{0} == '#')) {\n                return 16;\n            }\n            return 2;\n        }\n        return 0;\n    }\n\n\n    /**\n     * Convert a multi-dimensional array to a simple 1-dimensional array\n     *\n     * @param    array    $array    Array to be flattened\n     * @return    array    Flattened array\n     */\n    public static function flattenArray($array)\n    {\n        if (!is_array($array)) {\n            return (array) $array;\n        }\n\n        $arrayValues = array();\n        foreach ($array as $value) {\n            if (is_array($value)) {\n                foreach ($value as $val) {\n                    if (is_array($val)) {\n                        foreach ($val as $v) {\n                            $arrayValues[] = $v;\n                        }\n                    } else {\n                        $arrayValues[] = $val;\n                    }\n                }\n            } else {\n                $arrayValues[] = $value;\n            }\n        }\n\n        return $arrayValues;\n    }\n\n\n    /**\n     * Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing\n     *\n     * @param    array    $array    Array to be flattened\n     * @return    array    Flattened array\n     */\n    public static function flattenArrayIndexed($array)\n    {\n        if (!is_array($array)) {\n            return (array) $array;\n        }\n\n        $arrayValues = array();\n        foreach ($array as $k1 => $value) {\n            if (is_array($value)) {\n                foreach ($value as $k2 => $val) {\n                    if (is_array($val)) {\n                        foreach ($val as $k3 => $v) {\n                            $arrayValues[$k1.'.'.$k2.'.'.$k3] = $v;\n                        }\n                    } else {\n                        $arrayValues[$k1.'.'.$k2] = $val;\n                    }\n                }\n            } else {\n                $arrayValues[$k1] = $value;\n            }\n        }\n\n        return $arrayValues;\n    }\n\n\n    /**\n     * Convert an array to a single scalar value by extracting the first element\n     *\n     * @param    mixed        $value        Array or scalar value\n     * @return    mixed\n     */\n    public static function flattenSingleValue($value = '')\n    {\n        while (is_array($value)) {\n            $value = array_pop($value);\n        }\n\n        return $value;\n    }\n}\n\n\n//\n//    There are a few mathematical functions that aren't available on all versions of PHP for all platforms\n//    These functions aren't available in Windows implementations of PHP prior to version 5.3.0\n//    So we test if they do exist for this version of PHP/operating platform; and if not we create them\n//\nif (!function_exists('acosh')) {\n    function acosh($x)\n    {\n        return 2 * log(sqrt(($x + 1) / 2) + sqrt(($x - 1) / 2));\n    }    //    function acosh()\n}\n\nif (!function_exists('asinh')) {\n    function asinh($x)\n    {\n        return log($x + sqrt(1 + $x * $x));\n    }    //    function asinh()\n}\n\nif (!function_exists('atanh')) {\n    function atanh($x)\n    {\n        return (log(1 + $x) - log(1 - $x)) / 2;\n    }    //    function atanh()\n}\n\n\n//\n//    Strangely, PHP doesn't have a mb_str_replace multibyte function\n//    As we'll only ever use this function with UTF-8 characters, we can simply \"hard-code\" the character set\n//\nif ((!function_exists('mb_str_replace')) &&\n    (function_exists('mb_substr')) && (function_exists('mb_strlen')) && (function_exists('mb_strpos'))) {\n    function mb_str_replace($search, $replace, $subject)\n    {\n        if (is_array($subject)) {\n            $ret = array();\n            foreach ($subject as $key => $val) {\n                $ret[$key] = mb_str_replace($search, $replace, $val);\n            }\n            return $ret;\n        }\n\n        foreach ((array) $search as $key => $s) {\n            if ($s == '' && $s !== 0) {\n                continue;\n            }\n            $r = !is_array($replace) ? $replace : (array_key_exists($key, $replace) ? $replace[$key] : '');\n            $pos = mb_strpos($subject, $s, 0, 'UTF-8');\n            while ($pos !== false) {\n                $subject = mb_substr($subject, 0, $pos, 'UTF-8') . $r . mb_substr($subject, $pos + mb_strlen($s, 'UTF-8'), 65535, 'UTF-8');\n                $pos = mb_strpos($subject, $s, $pos + mb_strlen($r, 'UTF-8'), 'UTF-8');\n            }\n        }\n        return $subject;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Logical.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Calculation_Logical\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Logical\n{\n    /**\n     * TRUE\n     *\n     * Returns the boolean TRUE.\n     *\n     * Excel Function:\n     *        =TRUE()\n     *\n     * @access    public\n     * @category Logical Functions\n     * @return    boolean        True\n     */\n    public static function TRUE()\n    {\n        return true;\n    }\n\n\n    /**\n     * FALSE\n     *\n     * Returns the boolean FALSE.\n     *\n     * Excel Function:\n     *        =FALSE()\n     *\n     * @access    public\n     * @category Logical Functions\n     * @return    boolean        False\n     */\n    public static function FALSE()\n    {\n        return false;\n    }\n\n\n    /**\n     * LOGICAL_AND\n     *\n     * Returns boolean TRUE if all its arguments are TRUE; returns FALSE if one or more argument is FALSE.\n     *\n     * Excel Function:\n     *        =AND(logical1[,logical2[, ...]])\n     *\n     *        The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays\n     *            or references that contain logical values.\n     *\n     *        Boolean arguments are treated as True or False as appropriate\n     *        Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False\n     *        If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds\n     *            the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value\n     *\n     * @access    public\n     * @category Logical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    boolean        The logical AND of the arguments.\n     */\n    public static function LOGICAL_AND()\n    {\n        // Return value\n        $returnValue = true;\n\n        // Loop through the arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        $argCount = -1;\n        foreach ($aArgs as $argCount => $arg) {\n            // Is it a boolean value?\n            if (is_bool($arg)) {\n                $returnValue = $returnValue && $arg;\n            } elseif ((is_numeric($arg)) && (!is_string($arg))) {\n                $returnValue = $returnValue && ($arg != 0);\n            } elseif (is_string($arg)) {\n                $arg = strtoupper($arg);\n                if (($arg == 'TRUE') || ($arg == PHPExcel_Calculation::getTRUE())) {\n                    $arg = true;\n                } elseif (($arg == 'FALSE') || ($arg == PHPExcel_Calculation::getFALSE())) {\n                    $arg = false;\n                } else {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n                $returnValue = $returnValue && ($arg != 0);\n            }\n        }\n\n        // Return\n        if ($argCount < 0) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * LOGICAL_OR\n     *\n     * Returns boolean TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE.\n     *\n     * Excel Function:\n     *        =OR(logical1[,logical2[, ...]])\n     *\n     *        The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays\n     *            or references that contain logical values.\n     *\n     *        Boolean arguments are treated as True or False as appropriate\n     *        Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False\n     *        If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds\n     *            the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value\n     *\n     * @access    public\n     * @category Logical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    boolean        The logical OR of the arguments.\n     */\n    public static function LOGICAL_OR()\n    {\n        // Return value\n        $returnValue = false;\n\n        // Loop through the arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        $argCount = -1;\n        foreach ($aArgs as $argCount => $arg) {\n            // Is it a boolean value?\n            if (is_bool($arg)) {\n                $returnValue = $returnValue || $arg;\n            } elseif ((is_numeric($arg)) && (!is_string($arg))) {\n                $returnValue = $returnValue || ($arg != 0);\n            } elseif (is_string($arg)) {\n                $arg = strtoupper($arg);\n                if (($arg == 'TRUE') || ($arg == PHPExcel_Calculation::getTRUE())) {\n                    $arg = true;\n                } elseif (($arg == 'FALSE') || ($arg == PHPExcel_Calculation::getFALSE())) {\n                    $arg = false;\n                } else {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n                $returnValue = $returnValue || ($arg != 0);\n            }\n        }\n\n        // Return\n        if ($argCount < 0) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * NOT\n     *\n     * Returns the boolean inverse of the argument.\n     *\n     * Excel Function:\n     *        =NOT(logical)\n     *\n     *        The argument must evaluate to a logical value such as TRUE or FALSE\n     *\n     *        Boolean arguments are treated as True or False as appropriate\n     *        Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False\n     *        If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds\n     *            the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value\n     *\n     * @access    public\n     * @category Logical Functions\n     * @param    mixed        $logical    A value or expression that can be evaluated to TRUE or FALSE\n     * @return    boolean        The boolean inverse of the argument.\n     */\n    public static function NOT($logical = false)\n    {\n        $logical = PHPExcel_Calculation_Functions::flattenSingleValue($logical);\n        if (is_string($logical)) {\n            $logical = strtoupper($logical);\n            if (($logical == 'TRUE') || ($logical == PHPExcel_Calculation::getTRUE())) {\n                return false;\n            } elseif (($logical == 'FALSE') || ($logical == PHPExcel_Calculation::getFALSE())) {\n                return true;\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n\n        return !$logical;\n    }\n\n    /**\n     * STATEMENT_IF\n     *\n     * Returns one value if a condition you specify evaluates to TRUE and another value if it evaluates to FALSE.\n     *\n     * Excel Function:\n     *        =IF(condition[,returnIfTrue[,returnIfFalse]])\n     *\n     *        Condition is any value or expression that can be evaluated to TRUE or FALSE.\n     *            For example, A10=100 is a logical expression; if the value in cell A10 is equal to 100,\n     *            the expression evaluates to TRUE. Otherwise, the expression evaluates to FALSE.\n     *            This argument can use any comparison calculation operator.\n     *        ReturnIfTrue is the value that is returned if condition evaluates to TRUE.\n     *            For example, if this argument is the text string \"Within budget\" and the condition argument evaluates to TRUE,\n     *            then the IF function returns the text \"Within budget\"\n     *            If condition is TRUE and ReturnIfTrue is blank, this argument returns 0 (zero). To display the word TRUE, use\n     *            the logical value TRUE for this argument.\n     *            ReturnIfTrue can be another formula.\n     *        ReturnIfFalse is the value that is returned if condition evaluates to FALSE.\n     *            For example, if this argument is the text string \"Over budget\" and the condition argument evaluates to FALSE,\n     *            then the IF function returns the text \"Over budget\".\n     *            If condition is FALSE and ReturnIfFalse is omitted, then the logical value FALSE is returned.\n     *            If condition is FALSE and ReturnIfFalse is blank, then the value 0 (zero) is returned.\n     *            ReturnIfFalse can be another formula.\n     *\n     * @access    public\n     * @category Logical Functions\n     * @param    mixed    $condition        Condition to evaluate\n     * @param    mixed    $returnIfTrue    Value to return when condition is true\n     * @param    mixed    $returnIfFalse    Optional value to return when condition is false\n     * @return    mixed    The value of returnIfTrue or returnIfFalse determined by condition\n     */\n    public static function STATEMENT_IF($condition = true, $returnIfTrue = 0, $returnIfFalse = false)\n    {\n        $condition     = (is_null($condition))     ? true :  (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($condition);\n        $returnIfTrue  = (is_null($returnIfTrue))  ? 0 :     PHPExcel_Calculation_Functions::flattenSingleValue($returnIfTrue);\n        $returnIfFalse = (is_null($returnIfFalse)) ? false : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfFalse);\n\n        return ($condition) ? $returnIfTrue : $returnIfFalse;\n    }\n\n\n    /**\n     * IFERROR\n     *\n     * Excel Function:\n     *        =IFERROR(testValue,errorpart)\n     *\n     * @access    public\n     * @category Logical Functions\n     * @param    mixed    $testValue    Value to check, is also the value returned when no error\n     * @param    mixed    $errorpart    Value to return when testValue is an error condition\n     * @return    mixed    The value of errorpart or testValue determined by error condition\n     */\n    public static function IFERROR($testValue = '', $errorpart = '')\n    {\n        $testValue = (is_null($testValue)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($testValue);\n        $errorpart = (is_null($errorpart)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($errorpart);\n\n        return self::STATEMENT_IF(PHPExcel_Calculation_Functions::IS_ERROR($testValue), $errorpart, $testValue);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/LookupRef.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Calculation_LookupRef\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_LookupRef\n{\n    /**\n     * CELL_ADDRESS\n     *\n     * Creates a cell address as text, given specified row and column numbers.\n     *\n     * Excel Function:\n     *        =ADDRESS(row, column, [relativity], [referenceStyle], [sheetText])\n     *\n     * @param    row                Row number to use in the cell reference\n     * @param    column            Column number to use in the cell reference\n     * @param    relativity        Flag indicating the type of reference to return\n     *                                1 or omitted    Absolute\n     *                                2                Absolute row; relative column\n     *                                3                Relative row; absolute column\n     *                                4                Relative\n     * @param    referenceStyle    A logical value that specifies the A1 or R1C1 reference style.\n     *                                TRUE or omitted        CELL_ADDRESS returns an A1-style reference\n     *                                FALSE                CELL_ADDRESS returns an R1C1-style reference\n     * @param    sheetText        Optional Name of worksheet to use\n     * @return    string\n     */\n    public static function CELL_ADDRESS($row, $column, $relativity = 1, $referenceStyle = true, $sheetText = '')\n    {\n        $row        = PHPExcel_Calculation_Functions::flattenSingleValue($row);\n        $column     = PHPExcel_Calculation_Functions::flattenSingleValue($column);\n        $relativity = PHPExcel_Calculation_Functions::flattenSingleValue($relativity);\n        $sheetText  = PHPExcel_Calculation_Functions::flattenSingleValue($sheetText);\n\n        if (($row < 1) || ($column < 1)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if ($sheetText > '') {\n            if (strpos($sheetText, ' ') !== false) {\n                $sheetText = \"'\".$sheetText.\"'\";\n            }\n            $sheetText .='!';\n        }\n        if ((!is_bool($referenceStyle)) || $referenceStyle) {\n            $rowRelative = $columnRelative = '$';\n            $column = PHPExcel_Cell::stringFromColumnIndex($column-1);\n            if (($relativity == 2) || ($relativity == 4)) {\n                $columnRelative = '';\n            }\n            if (($relativity == 3) || ($relativity == 4)) {\n                $rowRelative = '';\n            }\n            return $sheetText.$columnRelative.$column.$rowRelative.$row;\n        } else {\n            if (($relativity == 2) || ($relativity == 4)) {\n                $column = '['.$column.']';\n            }\n            if (($relativity == 3) || ($relativity == 4)) {\n                $row = '['.$row.']';\n            }\n            return $sheetText.'R'.$row.'C'.$column;\n        }\n    }\n\n\n    /**\n     * COLUMN\n     *\n     * Returns the column number of the given cell reference\n     * If the cell reference is a range of cells, COLUMN returns the column numbers of each column in the reference as a horizontal array.\n     * If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the\n     *        reference of the cell in which the COLUMN function appears; otherwise this function returns 0.\n     *\n     * Excel Function:\n     *        =COLUMN([cellAddress])\n     *\n     * @param    cellAddress        A reference to a range of cells for which you want the column numbers\n     * @return    integer or array of integer\n     */\n    public static function COLUMN($cellAddress = null)\n    {\n        if (is_null($cellAddress) || trim($cellAddress) === '') {\n            return 0;\n        }\n\n        if (is_array($cellAddress)) {\n            foreach ($cellAddress as $columnKey => $value) {\n                $columnKey = preg_replace('/[^a-z]/i', '', $columnKey);\n                return (integer) PHPExcel_Cell::columnIndexFromString($columnKey);\n            }\n        } else {\n            if (strpos($cellAddress, '!') !== false) {\n                list($sheet, $cellAddress) = explode('!', $cellAddress);\n            }\n            if (strpos($cellAddress, ':') !== false) {\n                list($startAddress, $endAddress) = explode(':', $cellAddress);\n                $startAddress = preg_replace('/[^a-z]/i', '', $startAddress);\n                $endAddress = preg_replace('/[^a-z]/i', '', $endAddress);\n                $returnValue = array();\n                do {\n                    $returnValue[] = (integer) PHPExcel_Cell::columnIndexFromString($startAddress);\n                } while ($startAddress++ != $endAddress);\n                return $returnValue;\n            } else {\n                $cellAddress = preg_replace('/[^a-z]/i', '', $cellAddress);\n                return (integer) PHPExcel_Cell::columnIndexFromString($cellAddress);\n            }\n        }\n    }\n\n\n    /**\n     * COLUMNS\n     *\n     * Returns the number of columns in an array or reference.\n     *\n     * Excel Function:\n     *        =COLUMNS(cellAddress)\n     *\n     * @param    cellAddress        An array or array formula, or a reference to a range of cells for which you want the number of columns\n     * @return    integer            The number of columns in cellAddress\n     */\n    public static function COLUMNS($cellAddress = null)\n    {\n        if (is_null($cellAddress) || $cellAddress === '') {\n            return 1;\n        } elseif (!is_array($cellAddress)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        reset($cellAddress);\n        $isMatrix = (is_numeric(key($cellAddress)));\n        list($columns, $rows) = PHPExcel_Calculation::_getMatrixDimensions($cellAddress);\n\n        if ($isMatrix) {\n            return $rows;\n        } else {\n            return $columns;\n        }\n    }\n\n\n    /**\n     * ROW\n     *\n     * Returns the row number of the given cell reference\n     * If the cell reference is a range of cells, ROW returns the row numbers of each row in the reference as a vertical array.\n     * If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the\n     *        reference of the cell in which the ROW function appears; otherwise this function returns 0.\n     *\n     * Excel Function:\n     *        =ROW([cellAddress])\n     *\n     * @param    cellAddress        A reference to a range of cells for which you want the row numbers\n     * @return    integer or array of integer\n     */\n    public static function ROW($cellAddress = null)\n    {\n        if (is_null($cellAddress) || trim($cellAddress) === '') {\n            return 0;\n        }\n\n        if (is_array($cellAddress)) {\n            foreach ($cellAddress as $columnKey => $rowValue) {\n                foreach ($rowValue as $rowKey => $cellValue) {\n                    return (integer) preg_replace('/[^0-9]/i', '', $rowKey);\n                }\n            }\n        } else {\n            if (strpos($cellAddress, '!') !== false) {\n                list($sheet, $cellAddress) = explode('!', $cellAddress);\n            }\n            if (strpos($cellAddress, ':') !== false) {\n                list($startAddress, $endAddress) = explode(':', $cellAddress);\n                $startAddress = preg_replace('/[^0-9]/', '', $startAddress);\n                $endAddress = preg_replace('/[^0-9]/', '', $endAddress);\n                $returnValue = array();\n                do {\n                    $returnValue[][] = (integer) $startAddress;\n                } while ($startAddress++ != $endAddress);\n                return $returnValue;\n            } else {\n                list($cellAddress) = explode(':', $cellAddress);\n                return (integer) preg_replace('/[^0-9]/', '', $cellAddress);\n            }\n        }\n    }\n\n\n    /**\n     * ROWS\n     *\n     * Returns the number of rows in an array or reference.\n     *\n     * Excel Function:\n     *        =ROWS(cellAddress)\n     *\n     * @param    cellAddress        An array or array formula, or a reference to a range of cells for which you want the number of rows\n     * @return    integer            The number of rows in cellAddress\n     */\n    public static function ROWS($cellAddress = null)\n    {\n        if (is_null($cellAddress) || $cellAddress === '') {\n            return 1;\n        } elseif (!is_array($cellAddress)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        reset($cellAddress);\n        $isMatrix = (is_numeric(key($cellAddress)));\n        list($columns, $rows) = PHPExcel_Calculation::_getMatrixDimensions($cellAddress);\n\n        if ($isMatrix) {\n            return $columns;\n        } else {\n            return $rows;\n        }\n    }\n\n\n    /**\n     * HYPERLINK\n     *\n     * Excel Function:\n     *        =HYPERLINK(linkURL,displayName)\n     *\n     * @access    public\n     * @category Logical Functions\n     * @param    string            $linkURL        Value to check, is also the value returned when no error\n     * @param    string            $displayName    Value to return when testValue is an error condition\n     * @param    PHPExcel_Cell    $pCell            The cell to set the hyperlink in\n     * @return    mixed    The value of $displayName (or $linkURL if $displayName was blank)\n     */\n    public static function HYPERLINK($linkURL = '', $displayName = null, PHPExcel_Cell $pCell = null)\n    {\n        $args = func_get_args();\n        $pCell = array_pop($args);\n\n        $linkURL     = (is_null($linkURL))     ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($linkURL);\n        $displayName = (is_null($displayName)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($displayName);\n\n        if ((!is_object($pCell)) || (trim($linkURL) == '')) {\n            return PHPExcel_Calculation_Functions::REF();\n        }\n\n        if ((is_object($displayName)) || trim($displayName) == '') {\n            $displayName = $linkURL;\n        }\n\n        $pCell->getHyperlink()->setUrl($linkURL);\n        $pCell->getHyperlink()->setTooltip($displayName);\n\n        return $displayName;\n    }\n\n\n    /**\n     * INDIRECT\n     *\n     * Returns the reference specified by a text string.\n     * References are immediately evaluated to display their contents.\n     *\n     * Excel Function:\n     *        =INDIRECT(cellAddress)\n     *\n     * NOTE - INDIRECT() does not yet support the optional a1 parameter introduced in Excel 2010\n     *\n     * @param    cellAddress        $cellAddress    The cell address of the current cell (containing this formula)\n     * @param    PHPExcel_Cell    $pCell            The current cell (containing this formula)\n     * @return    mixed            The cells referenced by cellAddress\n     *\n     * @todo    Support for the optional a1 parameter introduced in Excel 2010\n     *\n     */\n    public static function INDIRECT($cellAddress = null, PHPExcel_Cell $pCell = null)\n    {\n        $cellAddress    = PHPExcel_Calculation_Functions::flattenSingleValue($cellAddress);\n        if (is_null($cellAddress) || $cellAddress === '') {\n            return PHPExcel_Calculation_Functions::REF();\n        }\n\n        $cellAddress1 = $cellAddress;\n        $cellAddress2 = null;\n        if (strpos($cellAddress, ':') !== false) {\n            list($cellAddress1, $cellAddress2) = explode(':', $cellAddress);\n        }\n\n        if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $cellAddress1, $matches)) ||\n            ((!is_null($cellAddress2)) && (!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $cellAddress2, $matches)))) {\n            if (!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $cellAddress1, $matches)) {\n                return PHPExcel_Calculation_Functions::REF();\n            }\n\n            if (strpos($cellAddress, '!') !== false) {\n                list($sheetName, $cellAddress) = explode('!', $cellAddress);\n                $sheetName = trim($sheetName, \"'\");\n                $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName);\n            } else {\n                $pSheet = $pCell->getWorksheet();\n            }\n\n            return PHPExcel_Calculation::getInstance()->extractNamedRange($cellAddress, $pSheet, false);\n        }\n\n        if (strpos($cellAddress, '!') !== false) {\n            list($sheetName, $cellAddress) = explode('!', $cellAddress);\n            $sheetName = trim($sheetName, \"'\");\n            $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName);\n        } else {\n            $pSheet = $pCell->getWorksheet();\n        }\n\n        return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, false);\n    }\n\n\n    /**\n     * OFFSET\n     *\n     * Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells.\n     * The reference that is returned can be a single cell or a range of cells. You can specify the number of rows and\n     * the number of columns to be returned.\n     *\n     * Excel Function:\n     *        =OFFSET(cellAddress, rows, cols, [height], [width])\n     *\n     * @param    cellAddress        The reference from which you want to base the offset. Reference must refer to a cell or\n     *                                range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value.\n     * @param    rows            The number of rows, up or down, that you want the upper-left cell to refer to.\n     *                                Using 5 as the rows argument specifies that the upper-left cell in the reference is\n     *                                five rows below reference. Rows can be positive (which means below the starting reference)\n     *                                or negative (which means above the starting reference).\n     * @param    cols            The number of columns, to the left or right, that you want the upper-left cell of the result\n     *                                to refer to. Using 5 as the cols argument specifies that the upper-left cell in the\n     *                                reference is five columns to the right of reference. Cols can be positive (which means\n     *                                to the right of the starting reference) or negative (which means to the left of the\n     *                                starting reference).\n     * @param    height            The height, in number of rows, that you want the returned reference to be. Height must be a positive number.\n     * @param    width            The width, in number of columns, that you want the returned reference to be. Width must be a positive number.\n     * @return    string            A reference to a cell or range of cells\n     */\n    public static function OFFSET($cellAddress = null, $rows = 0, $columns = 0, $height = null, $width = null)\n    {\n        $rows    = PHPExcel_Calculation_Functions::flattenSingleValue($rows);\n        $columns = PHPExcel_Calculation_Functions::flattenSingleValue($columns);\n        $height  = PHPExcel_Calculation_Functions::flattenSingleValue($height);\n        $width   = PHPExcel_Calculation_Functions::flattenSingleValue($width);\n        if ($cellAddress == null) {\n            return 0;\n        }\n\n        $args = func_get_args();\n        $pCell = array_pop($args);\n        if (!is_object($pCell)) {\n            return PHPExcel_Calculation_Functions::REF();\n        }\n\n        $sheetName = null;\n        if (strpos($cellAddress, \"!\")) {\n            list($sheetName, $cellAddress) = explode(\"!\", $cellAddress);\n            $sheetName = trim($sheetName, \"'\");\n        }\n        if (strpos($cellAddress, \":\")) {\n            list($startCell, $endCell) = explode(\":\", $cellAddress);\n        } else {\n            $startCell = $endCell = $cellAddress;\n        }\n        list($startCellColumn, $startCellRow) = PHPExcel_Cell::coordinateFromString($startCell);\n        list($endCellColumn, $endCellRow) = PHPExcel_Cell::coordinateFromString($endCell);\n\n        $startCellRow += $rows;\n        $startCellColumn = PHPExcel_Cell::columnIndexFromString($startCellColumn) - 1;\n        $startCellColumn += $columns;\n\n        if (($startCellRow <= 0) || ($startCellColumn < 0)) {\n            return PHPExcel_Calculation_Functions::REF();\n        }\n        $endCellColumn = PHPExcel_Cell::columnIndexFromString($endCellColumn) - 1;\n        if (($width != null) && (!is_object($width))) {\n            $endCellColumn = $startCellColumn + $width - 1;\n        } else {\n            $endCellColumn += $columns;\n        }\n        $startCellColumn = PHPExcel_Cell::stringFromColumnIndex($startCellColumn);\n\n        if (($height != null) && (!is_object($height))) {\n            $endCellRow = $startCellRow + $height - 1;\n        } else {\n            $endCellRow += $rows;\n        }\n\n        if (($endCellRow <= 0) || ($endCellColumn < 0)) {\n            return PHPExcel_Calculation_Functions::REF();\n        }\n        $endCellColumn = PHPExcel_Cell::stringFromColumnIndex($endCellColumn);\n\n        $cellAddress = $startCellColumn.$startCellRow;\n        if (($startCellColumn != $endCellColumn) || ($startCellRow != $endCellRow)) {\n            $cellAddress .= ':'.$endCellColumn.$endCellRow;\n        }\n\n        if ($sheetName !== null) {\n            $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName);\n        } else {\n            $pSheet = $pCell->getWorksheet();\n        }\n\n        return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, false);\n    }\n\n\n    /**\n     * CHOOSE\n     *\n     * Uses lookup_value to return a value from the list of value arguments.\n     * Use CHOOSE to select one of up to 254 values based on the lookup_value.\n     *\n     * Excel Function:\n     *        =CHOOSE(index_num, value1, [value2], ...)\n     *\n     * @param    index_num        Specifies which value argument is selected.\n     *                            Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number\n     *                                between 1 and 254.\n     * @param    value1...        Value1 is required, subsequent values are optional.\n     *                            Between 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on\n     *                                index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or\n     *                                text.\n     * @return    mixed            The selected value\n     */\n    public static function CHOOSE()\n    {\n        $chooseArgs = func_get_args();\n        $chosenEntry = PHPExcel_Calculation_Functions::flattenArray(array_shift($chooseArgs));\n        $entryCount = count($chooseArgs) - 1;\n\n        if (is_array($chosenEntry)) {\n            $chosenEntry = array_shift($chosenEntry);\n        }\n        if ((is_numeric($chosenEntry)) && (!is_bool($chosenEntry))) {\n            --$chosenEntry;\n        } else {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $chosenEntry = floor($chosenEntry);\n        if (($chosenEntry < 0) || ($chosenEntry > $entryCount)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (is_array($chooseArgs[$chosenEntry])) {\n            return PHPExcel_Calculation_Functions::flattenArray($chooseArgs[$chosenEntry]);\n        } else {\n            return $chooseArgs[$chosenEntry];\n        }\n    }\n\n\n    /**\n     * MATCH\n     *\n     * The MATCH function searches for a specified item in a range of cells\n     *\n     * Excel Function:\n     *        =MATCH(lookup_value, lookup_array, [match_type])\n     *\n     * @param    lookup_value    The value that you want to match in lookup_array\n     * @param    lookup_array    The range of cells being searched\n     * @param    match_type        The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered.\n     * @return    integer            The relative position of the found item\n     */\n    public static function MATCH($lookup_value, $lookup_array, $match_type = 1)\n    {\n        $lookup_array = PHPExcel_Calculation_Functions::flattenArray($lookup_array);\n        $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value);\n        $match_type    = (is_null($match_type)) ? 1 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($match_type);\n        //    MATCH is not case sensitive\n        $lookup_value = strtolower($lookup_value);\n\n        //    lookup_value type has to be number, text, or logical values\n        if ((!is_numeric($lookup_value)) && (!is_string($lookup_value)) && (!is_bool($lookup_value))) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n\n        //    match_type is 0, 1 or -1\n        if (($match_type !== 0) && ($match_type !== -1) && ($match_type !== 1)) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n\n        //    lookup_array should not be empty\n        $lookupArraySize = count($lookup_array);\n        if ($lookupArraySize <= 0) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n\n        //    lookup_array should contain only number, text, or logical values, or empty (null) cells\n        foreach ($lookup_array as $i => $lookupArrayValue) {\n            //    check the type of the value\n            if ((!is_numeric($lookupArrayValue)) && (!is_string($lookupArrayValue)) &&\n                (!is_bool($lookupArrayValue)) && (!is_null($lookupArrayValue))) {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            //    convert strings to lowercase for case-insensitive testing\n            if (is_string($lookupArrayValue)) {\n                $lookup_array[$i] = strtolower($lookupArrayValue);\n            }\n            if ((is_null($lookupArrayValue)) && (($match_type == 1) || ($match_type == -1))) {\n                $lookup_array = array_slice($lookup_array, 0, $i-1);\n            }\n        }\n\n        // if match_type is 1 or -1, the list has to be ordered\n        if ($match_type == 1) {\n            asort($lookup_array);\n            $keySet = array_keys($lookup_array);\n        } elseif ($match_type == -1) {\n            arsort($lookup_array);\n            $keySet = array_keys($lookup_array);\n        }\n\n        // **\n        // find the match\n        // **\n        foreach ($lookup_array as $i => $lookupArrayValue) {\n            if (($match_type == 0) && ($lookupArrayValue == $lookup_value)) {\n                //    exact match\n                return ++$i;\n            } elseif (($match_type == -1) && ($lookupArrayValue <= $lookup_value)) {\n                $i = array_search($i, $keySet);\n                // if match_type is -1 <=> find the smallest value that is greater than or equal to lookup_value\n                if ($i < 1) {\n                    // 1st cell was already smaller than the lookup_value\n                    break;\n                } else {\n                    // the previous cell was the match\n                    return $keySet[$i-1]+1;\n                }\n            } elseif (($match_type == 1) && ($lookupArrayValue >= $lookup_value)) {\n                $i = array_search($i, $keySet);\n                // if match_type is 1 <=> find the largest value that is less than or equal to lookup_value\n                if ($i < 1) {\n                    // 1st cell was already bigger than the lookup_value\n                    break;\n                } else {\n                    // the previous cell was the match\n                    return $keySet[$i-1]+1;\n                }\n            }\n        }\n\n        //    unsuccessful in finding a match, return #N/A error value\n        return PHPExcel_Calculation_Functions::NA();\n    }\n\n\n    /**\n     * INDEX\n     *\n     * Uses an index to choose a value from a reference or array\n     *\n     * Excel Function:\n     *        =INDEX(range_array, row_num, [column_num])\n     *\n     * @param    range_array        A range of cells or an array constant\n     * @param    row_num            The row in array from which to return a value. If row_num is omitted, column_num is required.\n     * @param    column_num        The column in array from which to return a value. If column_num is omitted, row_num is required.\n     * @return    mixed            the value of a specified cell or array of cells\n     */\n    public static function INDEX($arrayValues, $rowNum = 0, $columnNum = 0)\n    {\n        if (($rowNum < 0) || ($columnNum < 0)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (!is_array($arrayValues)) {\n            return PHPExcel_Calculation_Functions::REF();\n        }\n\n        $rowKeys = array_keys($arrayValues);\n        $columnKeys = @array_keys($arrayValues[$rowKeys[0]]);\n\n        if ($columnNum > count($columnKeys)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($columnNum == 0) {\n            if ($rowNum == 0) {\n                return $arrayValues;\n            }\n            $rowNum = $rowKeys[--$rowNum];\n            $returnArray = array();\n            foreach ($arrayValues as $arrayColumn) {\n                if (is_array($arrayColumn)) {\n                    if (isset($arrayColumn[$rowNum])) {\n                        $returnArray[] = $arrayColumn[$rowNum];\n                    } else {\n                        return $arrayValues[$rowNum];\n                    }\n                } else {\n                    return $arrayValues[$rowNum];\n                }\n            }\n            return $returnArray;\n        }\n        $columnNum = $columnKeys[--$columnNum];\n        if ($rowNum > count($rowKeys)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif ($rowNum == 0) {\n            return $arrayValues[$columnNum];\n        }\n        $rowNum = $rowKeys[--$rowNum];\n\n        return $arrayValues[$rowNum][$columnNum];\n    }\n\n\n    /**\n     * TRANSPOSE\n     *\n     * @param    array    $matrixData    A matrix of values\n     * @return    array\n     *\n     * Unlike the Excel TRANSPOSE function, which will only work on a single row or column, this function will transpose a full matrix.\n     */\n    public static function TRANSPOSE($matrixData)\n    {\n        $returnMatrix = array();\n        if (!is_array($matrixData)) {\n            $matrixData = array(array($matrixData));\n        }\n\n        $column = 0;\n        foreach ($matrixData as $matrixRow) {\n            $row = 0;\n            foreach ($matrixRow as $matrixCell) {\n                $returnMatrix[$row][$column] = $matrixCell;\n                ++$row;\n            }\n            ++$column;\n        }\n        return $returnMatrix;\n    }\n\n\n    private static function vlookupSort($a, $b)\n    {\n        reset($a);\n        $firstColumn = key($a);\n        if (($aLower = strtolower($a[$firstColumn])) == ($bLower = strtolower($b[$firstColumn]))) {\n            return 0;\n        }\n        return ($aLower < $bLower) ? -1 : 1;\n    }\n\n\n    /**\n     * VLOOKUP\n     * The VLOOKUP function searches for value in the left-most column of lookup_array and returns the value in the same row based on the index_number.\n     * @param    lookup_value    The value that you want to match in lookup_array\n     * @param    lookup_array    The range of cells being searched\n     * @param    index_number    The column number in table_array from which the matching value must be returned. The first column is 1.\n     * @param    not_exact_match    Determines if you are looking for an exact match based on lookup_value.\n     * @return    mixed            The value of the found cell\n     */\n    public static function VLOOKUP($lookup_value, $lookup_array, $index_number, $not_exact_match = true)\n    {\n        $lookup_value    = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value);\n        $index_number    = PHPExcel_Calculation_Functions::flattenSingleValue($index_number);\n        $not_exact_match = PHPExcel_Calculation_Functions::flattenSingleValue($not_exact_match);\n\n        // index_number must be greater than or equal to 1\n        if ($index_number < 1) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // index_number must be less than or equal to the number of columns in lookup_array\n        if ((!is_array($lookup_array)) || (empty($lookup_array))) {\n            return PHPExcel_Calculation_Functions::REF();\n        } else {\n            $f = array_keys($lookup_array);\n            $firstRow = array_pop($f);\n            if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) {\n                return PHPExcel_Calculation_Functions::REF();\n            } else {\n                $columnKeys = array_keys($lookup_array[$firstRow]);\n                $returnColumn = $columnKeys[--$index_number];\n                $firstColumn = array_shift($columnKeys);\n            }\n        }\n\n        if (!$not_exact_match) {\n            uasort($lookup_array, array('self', 'vlookupSort'));\n        }\n\n        $rowNumber = $rowValue = false;\n        foreach ($lookup_array as $rowKey => $rowData) {\n            if ((is_numeric($lookup_value) && is_numeric($rowData[$firstColumn]) && ($rowData[$firstColumn] > $lookup_value)) ||\n                (!is_numeric($lookup_value) && !is_numeric($rowData[$firstColumn]) && (strtolower($rowData[$firstColumn]) > strtolower($lookup_value)))) {\n                break;\n            }\n            $rowNumber = $rowKey;\n            $rowValue = $rowData[$firstColumn];\n        }\n\n        if ($rowNumber !== false) {\n            if ((!$not_exact_match) && ($rowValue != $lookup_value)) {\n                //    if an exact match is required, we have what we need to return an appropriate response\n                return PHPExcel_Calculation_Functions::NA();\n            } else {\n                //    otherwise return the appropriate value\n                return $lookup_array[$rowNumber][$returnColumn];\n            }\n        }\n\n        return PHPExcel_Calculation_Functions::NA();\n    }\n\n\n    /**\n     * HLOOKUP\n     * The HLOOKUP function searches for value in the top-most row of lookup_array and returns the value in the same column based on the index_number.\n     * @param    lookup_value    The value that you want to match in lookup_array\n     * @param    lookup_array    The range of cells being searched\n     * @param    index_number    The row number in table_array from which the matching value must be returned. The first row is 1.\n     * @param    not_exact_match Determines if you are looking for an exact match based on lookup_value.\n     * @return   mixed           The value of the found cell\n     */\n    public static function HLOOKUP($lookup_value, $lookup_array, $index_number, $not_exact_match = true)\n    {\n        $lookup_value   = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value);\n        $index_number   = PHPExcel_Calculation_Functions::flattenSingleValue($index_number);\n        $not_exact_match    = PHPExcel_Calculation_Functions::flattenSingleValue($not_exact_match);\n\n        // index_number must be greater than or equal to 1\n        if ($index_number < 1) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        // index_number must be less than or equal to the number of columns in lookup_array\n        if ((!is_array($lookup_array)) || (empty($lookup_array))) {\n            return PHPExcel_Calculation_Functions::REF();\n        } else {\n            $f = array_keys($lookup_array);\n            $firstRow = array_pop($f);\n            if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) {\n                return PHPExcel_Calculation_Functions::REF();\n            } else {\n                $columnKeys = array_keys($lookup_array[$firstRow]);\n                                $firstkey = $f[0] - 1;\n                $returnColumn = $firstkey + $index_number;\n                $firstColumn = array_shift($f);\n            }\n        }\n\n        if (!$not_exact_match) {\n            $firstRowH = asort($lookup_array[$firstColumn]);\n        }\n\n        $rowNumber = $rowValue = false;\n        foreach ($lookup_array[$firstColumn] as $rowKey => $rowData) {\n            if ((is_numeric($lookup_value) && is_numeric($rowData) && ($rowData > $lookup_value)) ||\n                (!is_numeric($lookup_value) && !is_numeric($rowData) && (strtolower($rowData) > strtolower($lookup_value)))) {\n                break;\n            }\n            $rowNumber = $rowKey;\n            $rowValue = $rowData;\n        }\n\n        if ($rowNumber !== false) {\n            if ((!$not_exact_match) && ($rowValue != $lookup_value)) {\n                //  if an exact match is required, we have what we need to return an appropriate response\n                return PHPExcel_Calculation_Functions::NA();\n            } else {\n                //  otherwise return the appropriate value\n                return $lookup_array[$returnColumn][$rowNumber];\n            }\n        }\n\n        return PHPExcel_Calculation_Functions::NA();\n    }\n\n\n    /**\n     * LOOKUP\n     * The LOOKUP function searches for value either from a one-row or one-column range or from an array.\n     * @param    lookup_value    The value that you want to match in lookup_array\n     * @param    lookup_vector    The range of cells being searched\n     * @param    result_vector    The column from which the matching value must be returned\n     * @return    mixed            The value of the found cell\n     */\n    public static function LOOKUP($lookup_value, $lookup_vector, $result_vector = null)\n    {\n        $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value);\n\n        if (!is_array($lookup_vector)) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n        $lookupRows = count($lookup_vector);\n        $l = array_keys($lookup_vector);\n        $l = array_shift($l);\n        $lookupColumns = count($lookup_vector[$l]);\n        if ((($lookupRows == 1) && ($lookupColumns > 1)) || (($lookupRows == 2) && ($lookupColumns != 2))) {\n            $lookup_vector = self::TRANSPOSE($lookup_vector);\n            $lookupRows = count($lookup_vector);\n            $l = array_keys($lookup_vector);\n            $lookupColumns = count($lookup_vector[array_shift($l)]);\n        }\n\n        if (is_null($result_vector)) {\n            $result_vector = $lookup_vector;\n        }\n        $resultRows = count($result_vector);\n        $l = array_keys($result_vector);\n        $l = array_shift($l);\n        $resultColumns = count($result_vector[$l]);\n        if ((($resultRows == 1) && ($resultColumns > 1)) || (($resultRows == 2) && ($resultColumns != 2))) {\n            $result_vector = self::TRANSPOSE($result_vector);\n            $resultRows = count($result_vector);\n            $r = array_keys($result_vector);\n            $resultColumns = count($result_vector[array_shift($r)]);\n        }\n\n        if ($lookupRows == 2) {\n            $result_vector = array_pop($lookup_vector);\n            $lookup_vector = array_shift($lookup_vector);\n        }\n        if ($lookupColumns != 2) {\n            foreach ($lookup_vector as &$value) {\n                if (is_array($value)) {\n                    $k = array_keys($value);\n                    $key1 = $key2 = array_shift($k);\n                    $key2++;\n                    $dataValue1 = $value[$key1];\n                } else {\n                    $key1 = 0;\n                    $key2 = 1;\n                    $dataValue1 = $value;\n                }\n                $dataValue2 = array_shift($result_vector);\n                if (is_array($dataValue2)) {\n                    $dataValue2 = array_shift($dataValue2);\n                }\n                $value = array($key1 => $dataValue1, $key2 => $dataValue2);\n            }\n            unset($value);\n        }\n\n        return self::VLOOKUP($lookup_value, $lookup_vector, 2);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/MathTrig.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Calculation_MathTrig\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_MathTrig\n{\n    //\n    //    Private method to return an array of the factors of the input value\n    //\n    private static function factors($value)\n    {\n        $startVal = floor(sqrt($value));\n\n        $factorArray = array();\n        for ($i = $startVal; $i > 1; --$i) {\n            if (($value % $i) == 0) {\n                $factorArray = array_merge($factorArray, self::factors($value / $i));\n                $factorArray = array_merge($factorArray, self::factors($i));\n                if ($i <= sqrt($value)) {\n                    break;\n                }\n            }\n        }\n        if (!empty($factorArray)) {\n            rsort($factorArray);\n            return $factorArray;\n        } else {\n            return array((integer) $value);\n        }\n    }\n\n\n    private static function romanCut($num, $n)\n    {\n        return ($num - ($num % $n ) ) / $n;\n    }\n\n\n    /**\n     * ATAN2\n     *\n     * This function calculates the arc tangent of the two variables x and y. It is similar to\n     *        calculating the arc tangent of y ÷ x, except that the signs of both arguments are used\n     *        to determine the quadrant of the result.\n     * The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a\n     *        point with coordinates (xCoordinate, yCoordinate). The angle is given in radians between\n     *        -pi and pi, excluding -pi.\n     *\n     * Note that the Excel ATAN2() function accepts its arguments in the reverse order to the standard\n     *        PHP atan2() function, so we need to reverse them here before calling the PHP atan() function.\n     *\n     * Excel Function:\n     *        ATAN2(xCoordinate,yCoordinate)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $xCoordinate        The x-coordinate of the point.\n     * @param    float    $yCoordinate        The y-coordinate of the point.\n     * @return    float    The inverse tangent of the specified x- and y-coordinates.\n     */\n    public static function ATAN2($xCoordinate = null, $yCoordinate = null)\n    {\n        $xCoordinate = PHPExcel_Calculation_Functions::flattenSingleValue($xCoordinate);\n        $yCoordinate = PHPExcel_Calculation_Functions::flattenSingleValue($yCoordinate);\n\n        $xCoordinate = ($xCoordinate !== null) ? $xCoordinate : 0.0;\n        $yCoordinate = ($yCoordinate !== null) ? $yCoordinate : 0.0;\n\n        if (((is_numeric($xCoordinate)) || (is_bool($xCoordinate))) &&\n            ((is_numeric($yCoordinate)))  || (is_bool($yCoordinate))) {\n            $xCoordinate    = (float) $xCoordinate;\n            $yCoordinate    = (float) $yCoordinate;\n\n            if (($xCoordinate == 0) && ($yCoordinate == 0)) {\n                return PHPExcel_Calculation_Functions::DIV0();\n            }\n\n            return atan2($yCoordinate, $xCoordinate);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * CEILING\n     *\n     * Returns number rounded up, away from zero, to the nearest multiple of significance.\n     *        For example, if you want to avoid using pennies in your prices and your product is\n     *        priced at $4.42, use the formula =CEILING(4.42,0.05) to round prices up to the\n     *        nearest nickel.\n     *\n     * Excel Function:\n     *        CEILING(number[,significance])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $number            The number you want to round.\n     * @param    float    $significance    The multiple to which you want to round.\n     * @return    float    Rounded Number\n     */\n    public static function CEILING($number, $significance = null)\n    {\n        $number       = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $significance = PHPExcel_Calculation_Functions::flattenSingleValue($significance);\n\n        if ((is_null($significance)) &&\n            (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) {\n            $significance = $number / abs($number);\n        }\n\n        if ((is_numeric($number)) && (is_numeric($significance))) {\n            if (($number == 0.0 ) || ($significance == 0.0)) {\n                return 0.0;\n            } elseif (self::SIGN($number) == self::SIGN($significance)) {\n                return ceil($number / $significance) * $significance;\n            } else {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * COMBIN\n     *\n     * Returns the number of combinations for a given number of items. Use COMBIN to\n     *        determine the total possible number of groups for a given number of items.\n     *\n     * Excel Function:\n     *        COMBIN(numObjs,numInSet)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    int        $numObjs    Number of different objects\n     * @param    int        $numInSet    Number of objects in each combination\n     * @return    int        Number of combinations\n     */\n    public static function COMBIN($numObjs, $numInSet)\n    {\n        $numObjs    = PHPExcel_Calculation_Functions::flattenSingleValue($numObjs);\n        $numInSet    = PHPExcel_Calculation_Functions::flattenSingleValue($numInSet);\n\n        if ((is_numeric($numObjs)) && (is_numeric($numInSet))) {\n            if ($numObjs < $numInSet) {\n                return PHPExcel_Calculation_Functions::NaN();\n            } elseif ($numInSet < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return round(self::FACT($numObjs) / self::FACT($numObjs - $numInSet)) / self::FACT($numInSet);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * EVEN\n     *\n     * Returns number rounded up to the nearest even integer.\n     * You can use this function for processing items that come in twos. For example,\n     *        a packing crate accepts rows of one or two items. The crate is full when\n     *        the number of items, rounded up to the nearest two, matches the crate's\n     *        capacity.\n     *\n     * Excel Function:\n     *        EVEN(number)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $number            Number to round\n     * @return    int        Rounded Number\n     */\n    public static function EVEN($number)\n    {\n        $number = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n\n        if (is_null($number)) {\n            return 0;\n        } elseif (is_bool($number)) {\n            $number = (int) $number;\n        }\n\n        if (is_numeric($number)) {\n            $significance = 2 * self::SIGN($number);\n            return (int) self::CEILING($number, $significance);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FACT\n     *\n     * Returns the factorial of a number.\n     * The factorial of a number is equal to 1*2*3*...* number.\n     *\n     * Excel Function:\n     *        FACT(factVal)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $factVal    Factorial Value\n     * @return    int        Factorial\n     */\n    public static function FACT($factVal)\n    {\n        $factVal    = PHPExcel_Calculation_Functions::flattenSingleValue($factVal);\n\n        if (is_numeric($factVal)) {\n            if ($factVal < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $factLoop = floor($factVal);\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                if ($factVal > $factLoop) {\n                    return PHPExcel_Calculation_Functions::NaN();\n                }\n            }\n\n            $factorial = 1;\n            while ($factLoop > 1) {\n                $factorial *= $factLoop--;\n            }\n            return $factorial ;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FACTDOUBLE\n     *\n     * Returns the double factorial of a number.\n     *\n     * Excel Function:\n     *        FACTDOUBLE(factVal)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $factVal    Factorial Value\n     * @return    int        Double Factorial\n     */\n    public static function FACTDOUBLE($factVal)\n    {\n        $factLoop    = PHPExcel_Calculation_Functions::flattenSingleValue($factVal);\n\n        if (is_numeric($factLoop)) {\n            $factLoop    = floor($factLoop);\n            if ($factVal < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $factorial = 1;\n            while ($factLoop > 1) {\n                $factorial *= $factLoop--;\n                --$factLoop;\n            }\n            return $factorial ;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FLOOR\n     *\n     * Rounds number down, toward zero, to the nearest multiple of significance.\n     *\n     * Excel Function:\n     *        FLOOR(number[,significance])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $number            Number to round\n     * @param    float    $significance    Significance\n     * @return    float    Rounded Number\n     */\n    public static function FLOOR($number, $significance = null)\n    {\n        $number            = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $significance    = PHPExcel_Calculation_Functions::flattenSingleValue($significance);\n\n        if ((is_null($significance)) &&\n            (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) {\n            $significance = $number/abs($number);\n        }\n\n        if ((is_numeric($number)) && (is_numeric($significance))) {\n            if ($significance == 0.0) {\n                return PHPExcel_Calculation_Functions::DIV0();\n            } elseif ($number == 0.0) {\n                return 0.0;\n            } elseif (self::SIGN($number) == self::SIGN($significance)) {\n                return floor($number / $significance) * $significance;\n            } else {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n        }\n\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * GCD\n     *\n     * Returns the greatest common divisor of a series of numbers.\n     * The greatest common divisor is the largest integer that divides both\n     *        number1 and number2 without a remainder.\n     *\n     * Excel Function:\n     *        GCD(number1[,number2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed    $arg,...        Data values\n     * @return    integer                    Greatest Common Divisor\n     */\n    public static function GCD()\n    {\n        $returnValue = 1;\n        $allValuesFactors = array();\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $value) {\n            if (!is_numeric($value)) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            } elseif ($value == 0) {\n                continue;\n            } elseif ($value < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $myFactors = self::factors($value);\n            $myCountedFactors = array_count_values($myFactors);\n            $allValuesFactors[] = $myCountedFactors;\n        }\n        $allValuesCount = count($allValuesFactors);\n        if ($allValuesCount == 0) {\n            return 0;\n        }\n\n        $mergedArray = $allValuesFactors[0];\n        for ($i=1; $i < $allValuesCount; ++$i) {\n            $mergedArray = array_intersect_key($mergedArray, $allValuesFactors[$i]);\n        }\n        $mergedArrayValues = count($mergedArray);\n        if ($mergedArrayValues == 0) {\n            return $returnValue;\n        } elseif ($mergedArrayValues > 1) {\n            foreach ($mergedArray as $mergedKey => $mergedValue) {\n                foreach ($allValuesFactors as $highestPowerTest) {\n                    foreach ($highestPowerTest as $testKey => $testValue) {\n                        if (($testKey == $mergedKey) && ($testValue < $mergedValue)) {\n                            $mergedArray[$mergedKey] = $testValue;\n                            $mergedValue = $testValue;\n                        }\n                    }\n                }\n            }\n\n            $returnValue = 1;\n            foreach ($mergedArray as $key => $value) {\n                $returnValue *= pow($key, $value);\n            }\n            return $returnValue;\n        } else {\n            $keys = array_keys($mergedArray);\n            $key = $keys[0];\n            $value = $mergedArray[$key];\n            foreach ($allValuesFactors as $testValue) {\n                foreach ($testValue as $mergedKey => $mergedValue) {\n                    if (($mergedKey == $key) && ($mergedValue < $value)) {\n                        $value = $mergedValue;\n                    }\n                }\n            }\n            return pow($key, $value);\n        }\n    }\n\n\n    /**\n     * INT\n     *\n     * Casts a floating point value to an integer\n     *\n     * Excel Function:\n     *        INT(number)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $number            Number to cast to an integer\n     * @return    integer    Integer value\n     */\n    public static function INT($number)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n\n        if (is_null($number)) {\n            return 0;\n        } elseif (is_bool($number)) {\n            return (int) $number;\n        }\n        if (is_numeric($number)) {\n            return (int) floor($number);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * LCM\n     *\n     * Returns the lowest common multiplier of a series of numbers\n     * The least common multiple is the smallest positive integer that is a multiple\n     * of all integer arguments number1, number2, and so on. Use LCM to add fractions\n     * with different denominators.\n     *\n     * Excel Function:\n     *        LCM(number1[,number2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed    $arg,...        Data values\n     * @return    int        Lowest Common Multiplier\n     */\n    public static function LCM()\n    {\n        $returnValue = 1;\n        $allPoweredFactors = array();\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $value) {\n            if (!is_numeric($value)) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            if ($value == 0) {\n                return 0;\n            } elseif ($value < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $myFactors = self::factors(floor($value));\n            $myCountedFactors = array_count_values($myFactors);\n            $myPoweredFactors = array();\n            foreach ($myCountedFactors as $myCountedFactor => $myCountedPower) {\n                $myPoweredFactors[$myCountedFactor] = pow($myCountedFactor, $myCountedPower);\n            }\n            foreach ($myPoweredFactors as $myPoweredValue => $myPoweredFactor) {\n                if (array_key_exists($myPoweredValue, $allPoweredFactors)) {\n                    if ($allPoweredFactors[$myPoweredValue] < $myPoweredFactor) {\n                        $allPoweredFactors[$myPoweredValue] = $myPoweredFactor;\n                    }\n                } else {\n                    $allPoweredFactors[$myPoweredValue] = $myPoweredFactor;\n                }\n            }\n        }\n        foreach ($allPoweredFactors as $allPoweredFactor) {\n            $returnValue *= (integer) $allPoweredFactor;\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * LOG_BASE\n     *\n     * Returns the logarithm of a number to a specified base. The default base is 10.\n     *\n     * Excel Function:\n     *        LOG(number[,base])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    float    $number        The positive real number for which you want the logarithm\n     * @param    float    $base        The base of the logarithm. If base is omitted, it is assumed to be 10.\n     * @return    float\n     */\n    public static function LOG_BASE($number = null, $base = 10)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $base    = (is_null($base)) ? 10 : (float) PHPExcel_Calculation_Functions::flattenSingleValue($base);\n\n        if ((!is_numeric($base)) || (!is_numeric($number))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (($base <= 0) || ($number <= 0)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return log($number, $base);\n    }\n\n\n    /**\n     * MDETERM\n     *\n     * Returns the matrix determinant of an array.\n     *\n     * Excel Function:\n     *        MDETERM(array)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    array    $matrixValues    A matrix of values\n     * @return    float\n     */\n    public static function MDETERM($matrixValues)\n    {\n        $matrixData = array();\n        if (!is_array($matrixValues)) {\n            $matrixValues = array(array($matrixValues));\n        }\n\n        $row = $maxColumn = 0;\n        foreach ($matrixValues as $matrixRow) {\n            if (!is_array($matrixRow)) {\n                $matrixRow = array($matrixRow);\n            }\n            $column = 0;\n            foreach ($matrixRow as $matrixCell) {\n                if ((is_string($matrixCell)) || ($matrixCell === null)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n                $matrixData[$column][$row] = $matrixCell;\n                ++$column;\n            }\n            if ($column > $maxColumn) {\n                $maxColumn = $column;\n            }\n            ++$row;\n        }\n        if ($row != $maxColumn) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        try {\n            $matrix = new PHPExcel_Shared_JAMA_Matrix($matrixData);\n            return $matrix->det();\n        } catch (PHPExcel_Exception $ex) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n    }\n\n\n    /**\n     * MINVERSE\n     *\n     * Returns the inverse matrix for the matrix stored in an array.\n     *\n     * Excel Function:\n     *        MINVERSE(array)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    array    $matrixValues    A matrix of values\n     * @return    array\n     */\n    public static function MINVERSE($matrixValues)\n    {\n        $matrixData = array();\n        if (!is_array($matrixValues)) {\n            $matrixValues = array(array($matrixValues));\n        }\n\n        $row = $maxColumn = 0;\n        foreach ($matrixValues as $matrixRow) {\n            if (!is_array($matrixRow)) {\n                $matrixRow = array($matrixRow);\n            }\n            $column = 0;\n            foreach ($matrixRow as $matrixCell) {\n                if ((is_string($matrixCell)) || ($matrixCell === null)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n                $matrixData[$column][$row] = $matrixCell;\n                ++$column;\n            }\n            if ($column > $maxColumn) {\n                $maxColumn = $column;\n            }\n            ++$row;\n        }\n        if ($row != $maxColumn) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        try {\n            $matrix = new PHPExcel_Shared_JAMA_Matrix($matrixData);\n            return $matrix->inverse()->getArray();\n        } catch (PHPExcel_Exception $ex) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n    }\n\n\n    /**\n     * MMULT\n     *\n     * @param    array    $matrixData1    A matrix of values\n     * @param    array    $matrixData2    A matrix of values\n     * @return    array\n     */\n    public static function MMULT($matrixData1, $matrixData2)\n    {\n        $matrixAData = $matrixBData = array();\n        if (!is_array($matrixData1)) {\n            $matrixData1 = array(array($matrixData1));\n        }\n        if (!is_array($matrixData2)) {\n            $matrixData2 = array(array($matrixData2));\n        }\n\n        try {\n            $rowA = 0;\n            foreach ($matrixData1 as $matrixRow) {\n                if (!is_array($matrixRow)) {\n                    $matrixRow = array($matrixRow);\n                }\n                $columnA = 0;\n                foreach ($matrixRow as $matrixCell) {\n                    if ((!is_numeric($matrixCell)) || ($matrixCell === null)) {\n                        return PHPExcel_Calculation_Functions::VALUE();\n                    }\n                    $matrixAData[$rowA][$columnA] = $matrixCell;\n                    ++$columnA;\n                }\n                ++$rowA;\n            }\n            $matrixA = new PHPExcel_Shared_JAMA_Matrix($matrixAData);\n            $rowB = 0;\n            foreach ($matrixData2 as $matrixRow) {\n                if (!is_array($matrixRow)) {\n                    $matrixRow = array($matrixRow);\n                }\n                $columnB = 0;\n                foreach ($matrixRow as $matrixCell) {\n                    if ((!is_numeric($matrixCell)) || ($matrixCell === null)) {\n                        return PHPExcel_Calculation_Functions::VALUE();\n                    }\n                    $matrixBData[$rowB][$columnB] = $matrixCell;\n                    ++$columnB;\n                }\n                ++$rowB;\n            }\n            $matrixB = new PHPExcel_Shared_JAMA_Matrix($matrixBData);\n\n            if ($columnA != $rowB) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n\n            return $matrixA->times($matrixB)->getArray();\n        } catch (PHPExcel_Exception $ex) {\n            var_dump($ex->getMessage());\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n    }\n\n\n    /**\n     * MOD\n     *\n     * @param    int        $a        Dividend\n     * @param    int        $b        Divisor\n     * @return    int        Remainder\n     */\n    public static function MOD($a = 1, $b = 1)\n    {\n        $a = PHPExcel_Calculation_Functions::flattenSingleValue($a);\n        $b = PHPExcel_Calculation_Functions::flattenSingleValue($b);\n\n        if ($b == 0.0) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        } elseif (($a < 0.0) && ($b > 0.0)) {\n            return $b - fmod(abs($a), $b);\n        } elseif (($a > 0.0) && ($b < 0.0)) {\n            return $b + fmod($a, abs($b));\n        }\n\n        return fmod($a, $b);\n    }\n\n\n    /**\n     * MROUND\n     *\n     * Rounds a number to the nearest multiple of a specified value\n     *\n     * @param    float    $number            Number to round\n     * @param    int        $multiple        Multiple to which you want to round $number\n     * @return    float    Rounded Number\n     */\n    public static function MROUND($number, $multiple)\n    {\n        $number   = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $multiple = PHPExcel_Calculation_Functions::flattenSingleValue($multiple);\n\n        if ((is_numeric($number)) && (is_numeric($multiple))) {\n            if ($multiple == 0) {\n                return 0;\n            }\n            if ((self::SIGN($number)) == (self::SIGN($multiple))) {\n                $multiplier = 1 / $multiple;\n                return round($number * $multiplier) / $multiplier;\n            }\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * MULTINOMIAL\n     *\n     * Returns the ratio of the factorial of a sum of values to the product of factorials.\n     *\n     * @param    array of mixed        Data Series\n     * @return    float\n     */\n    public static function MULTINOMIAL()\n    {\n        $summer = 0;\n        $divisor = 1;\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) {\n            // Is it a numeric value?\n            if (is_numeric($arg)) {\n                if ($arg < 1) {\n                    return PHPExcel_Calculation_Functions::NaN();\n                }\n                $summer += floor($arg);\n                $divisor *= self::FACT($arg);\n            } else {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n        }\n\n        // Return\n        if ($summer > 0) {\n            $summer = self::FACT($summer);\n            return $summer / $divisor;\n        }\n        return 0;\n    }\n\n\n    /**\n     * ODD\n     *\n     * Returns number rounded up to the nearest odd integer.\n     *\n     * @param    float    $number            Number to round\n     * @return    int        Rounded Number\n     */\n    public static function ODD($number)\n    {\n        $number = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n\n        if (is_null($number)) {\n            return 1;\n        } elseif (is_bool($number)) {\n            return 1;\n        } elseif (is_numeric($number)) {\n            $significance = self::SIGN($number);\n            if ($significance == 0) {\n                return 1;\n            }\n\n            $result = self::CEILING($number, $significance);\n            if ($result == self::EVEN($result)) {\n                $result += $significance;\n            }\n\n            return (int) $result;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * POWER\n     *\n     * Computes x raised to the power y.\n     *\n     * @param    float        $x\n     * @param    float        $y\n     * @return    float\n     */\n    public static function POWER($x = 0, $y = 2)\n    {\n        $x    = PHPExcel_Calculation_Functions::flattenSingleValue($x);\n        $y    = PHPExcel_Calculation_Functions::flattenSingleValue($y);\n\n        // Validate parameters\n        if ($x == 0.0 && $y == 0.0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        } elseif ($x == 0.0 && $y < 0.0) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        // Return\n        $result = pow($x, $y);\n        return (!is_nan($result) && !is_infinite($result)) ? $result : PHPExcel_Calculation_Functions::NaN();\n    }\n\n\n    /**\n     * PRODUCT\n     *\n     * PRODUCT returns the product of all the values and cells referenced in the argument list.\n     *\n     * Excel Function:\n     *        PRODUCT(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function PRODUCT()\n    {\n        // Return value\n        $returnValue = null;\n\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                if (is_null($returnValue)) {\n                    $returnValue = $arg;\n                } else {\n                    $returnValue *= $arg;\n                }\n            }\n        }\n\n        // Return\n        if (is_null($returnValue)) {\n            return 0;\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * QUOTIENT\n     *\n     * QUOTIENT function returns the integer portion of a division. Numerator is the divided number\n     *        and denominator is the divisor.\n     *\n     * Excel Function:\n     *        QUOTIENT(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function QUOTIENT()\n    {\n        // Return value\n        $returnValue = null;\n\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                if (is_null($returnValue)) {\n                    $returnValue = ($arg == 0) ? 0 : $arg;\n                } else {\n                    if (($returnValue == 0) || ($arg == 0)) {\n                        $returnValue = 0;\n                    } else {\n                        $returnValue /= $arg;\n                    }\n                }\n            }\n        }\n\n        // Return\n        return intval($returnValue);\n    }\n\n\n    /**\n     * RAND\n     *\n     * @param    int        $min    Minimal value\n     * @param    int        $max    Maximal value\n     * @return    int        Random number\n     */\n    public static function RAND($min = 0, $max = 0)\n    {\n        $min = PHPExcel_Calculation_Functions::flattenSingleValue($min);\n        $max = PHPExcel_Calculation_Functions::flattenSingleValue($max);\n\n        if ($min == 0 && $max == 0) {\n            return (mt_rand(0, 10000000)) / 10000000;\n        } else {\n            return mt_rand($min, $max);\n        }\n    }\n\n\n    public static function ROMAN($aValue, $style = 0)\n    {\n        $aValue    = PHPExcel_Calculation_Functions::flattenSingleValue($aValue);\n        $style    = (is_null($style))    ? 0 :    (integer) PHPExcel_Calculation_Functions::flattenSingleValue($style);\n        if ((!is_numeric($aValue)) || ($aValue < 0) || ($aValue >= 4000)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $aValue = (integer) $aValue;\n        if ($aValue == 0) {\n            return '';\n        }\n\n        $mill = array('', 'M', 'MM', 'MMM', 'MMMM', 'MMMMM');\n        $cent = array('', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM');\n        $tens = array('', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC');\n        $ones = array('', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX');\n\n        $roman = '';\n        while ($aValue > 5999) {\n            $roman .= 'M';\n            $aValue -= 1000;\n        }\n        $m = self::romanCut($aValue, 1000);\n        $aValue %= 1000;\n        $c = self::romanCut($aValue, 100);\n        $aValue %= 100;\n        $t = self::romanCut($aValue, 10);\n        $aValue %= 10;\n\n        return $roman.$mill[$m].$cent[$c].$tens[$t].$ones[$aValue];\n    }\n\n\n    /**\n     * ROUNDUP\n     *\n     * Rounds a number up to a specified number of decimal places\n     *\n     * @param    float    $number            Number to round\n     * @param    int        $digits            Number of digits to which you want to round $number\n     * @return    float    Rounded Number\n     */\n    public static function ROUNDUP($number, $digits)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $digits    = PHPExcel_Calculation_Functions::flattenSingleValue($digits);\n\n        if ((is_numeric($number)) && (is_numeric($digits))) {\n            $significance = pow(10, (int) $digits);\n            if ($number < 0.0) {\n                return floor($number * $significance) / $significance;\n            } else {\n                return ceil($number * $significance) / $significance;\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * ROUNDDOWN\n     *\n     * Rounds a number down to a specified number of decimal places\n     *\n     * @param    float    $number            Number to round\n     * @param    int        $digits            Number of digits to which you want to round $number\n     * @return    float    Rounded Number\n     */\n    public static function ROUNDDOWN($number, $digits)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n        $digits    = PHPExcel_Calculation_Functions::flattenSingleValue($digits);\n\n        if ((is_numeric($number)) && (is_numeric($digits))) {\n            $significance = pow(10, (int) $digits);\n            if ($number < 0.0) {\n                return ceil($number * $significance) / $significance;\n            } else {\n                return floor($number * $significance) / $significance;\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SERIESSUM\n     *\n     * Returns the sum of a power series\n     *\n     * @param    float            $x    Input value to the power series\n     * @param    float            $n    Initial power to which you want to raise $x\n     * @param    float            $m    Step by which to increase $n for each term in the series\n     * @param    array of mixed        Data Series\n     * @return    float\n     */\n    public static function SERIESSUM()\n    {\n        $returnValue = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        $x = array_shift($aArgs);\n        $n = array_shift($aArgs);\n        $m = array_shift($aArgs);\n\n        if ((is_numeric($x)) && (is_numeric($n)) && (is_numeric($m))) {\n            // Calculate\n            $i = 0;\n            foreach ($aArgs as $arg) {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    $returnValue += $arg * pow($x, $n + ($m * $i++));\n                } else {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n            }\n            return $returnValue;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SIGN\n     *\n     * Determines the sign of a number. Returns 1 if the number is positive, zero (0)\n     *        if the number is 0, and -1 if the number is negative.\n     *\n     * @param    float    $number            Number to round\n     * @return    int        sign value\n     */\n    public static function SIGN($number)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n\n        if (is_bool($number)) {\n            return (int) $number;\n        }\n        if (is_numeric($number)) {\n            if ($number == 0.0) {\n                return 0;\n            }\n            return $number / abs($number);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SQRTPI\n     *\n     * Returns the square root of (number * pi).\n     *\n     * @param    float    $number        Number\n     * @return    float    Square Root of Number * Pi\n     */\n    public static function SQRTPI($number)\n    {\n        $number    = PHPExcel_Calculation_Functions::flattenSingleValue($number);\n\n        if (is_numeric($number)) {\n            if ($number < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return sqrt($number * M_PI) ;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SUBTOTAL\n     *\n     * Returns a subtotal in a list or database.\n     *\n     * @param    int        the number 1 to 11 that specifies which function to\n     *                    use in calculating subtotals within a list.\n     * @param    array of mixed        Data Series\n     * @return    float\n     */\n    public static function SUBTOTAL()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $subtotal = array_shift($aArgs);\n\n        if ((is_numeric($subtotal)) && (!is_string($subtotal))) {\n            switch ($subtotal) {\n                case 1:\n                    return PHPExcel_Calculation_Statistical::AVERAGE($aArgs);\n                case 2:\n                    return PHPExcel_Calculation_Statistical::COUNT($aArgs);\n                case 3:\n                    return PHPExcel_Calculation_Statistical::COUNTA($aArgs);\n                case 4:\n                    return PHPExcel_Calculation_Statistical::MAX($aArgs);\n                case 5:\n                    return PHPExcel_Calculation_Statistical::MIN($aArgs);\n                case 6:\n                    return self::PRODUCT($aArgs);\n                case 7:\n                    return PHPExcel_Calculation_Statistical::STDEV($aArgs);\n                case 8:\n                    return PHPExcel_Calculation_Statistical::STDEVP($aArgs);\n                case 9:\n                    return self::SUM($aArgs);\n                case 10:\n                    return PHPExcel_Calculation_Statistical::VARFunc($aArgs);\n                case 11:\n                    return PHPExcel_Calculation_Statistical::VARP($aArgs);\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SUM\n     *\n     * SUM computes the sum of all the values and cells referenced in the argument list.\n     *\n     * Excel Function:\n     *        SUM(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function SUM()\n    {\n        $returnValue = 0;\n\n        // Loop through the arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                $returnValue += $arg;\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * SUMIF\n     *\n     * Counts the number of cells that contain numbers within the list of arguments\n     *\n     * Excel Function:\n     *        SUMIF(value1[,value2[, ...]],condition)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    string        $condition        The criteria that defines which cells will be summed.\n     * @return    float\n     */\n    public static function SUMIF($aArgs, $condition, $sumArgs = array())\n    {\n        $returnValue = 0;\n\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs);\n        $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs);\n        if (empty($sumArgs)) {\n            $sumArgs = $aArgs;\n        }\n        $condition = PHPExcel_Calculation_Functions::ifCondition($condition);\n        // Loop through arguments\n        foreach ($aArgs as $key => $arg) {\n            if (!is_numeric($arg)) {\n                $arg = str_replace('\"', '\"\"', $arg);\n                $arg = PHPExcel_Calculation::wrapResult(strtoupper($arg));\n            }\n\n            $testCondition = '='.$arg.$condition;\n            if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {\n                // Is it a value within our criteria\n                $returnValue += $sumArgs[$key];\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n \t/**\n\t *\tSUMIFS\n\t *\n\t *\tCounts the number of cells that contain numbers within the list of arguments\n\t *\n\t *\tExcel Function:\n\t *\t\tSUMIFS(value1[,value2[, ...]],condition)\n\t *\n\t *\t@access\tpublic\n\t *\t@category Mathematical and Trigonometric Functions\n\t *\t@param\tmixed\t\t$arg,...\t\tData values\n\t *\t@param\tstring\t\t$condition\t\tThe criteria that defines which cells will be summed.\n\t *\t@return\tfloat\n\t */\n\tpublic static function SUMIFS() {\n\t\t$arrayList = func_get_args();\n\n\t\t$sumArgs = PHPExcel_Calculation_Functions::flattenArray(array_shift($arrayList));\n\n        while (count($arrayList) > 0) {\n            $aArgsArray[] = PHPExcel_Calculation_Functions::flattenArray(array_shift($arrayList));\n            $conditions[] = PHPExcel_Calculation_Functions::ifCondition(array_shift($arrayList));\n        }\n\n        // Loop through each set of arguments and conditions\n        foreach ($conditions as $index => $condition) {\n            $aArgs = $aArgsArray[$index];\n            $wildcard = false;\n            if ((strpos($condition, '*') !== false) || (strpos($condition, '?') !== false)) {\n                // * and ? are wildcard characters.\n                // Use ~* and ~? for literal star and question mark\n                // Code logic doesn't yet handle escaping\n                $condition = trim(ltrim($condition, '=<>'), '\"');\n                $wildcard = true;\n            }\n            // Loop through arguments\n            foreach ($aArgs as $key => $arg) {\n                if ($wildcard) {\n                    if (!fnmatch($condition, $arg, FNM_CASEFOLD)) {\n                        // Is it a value within our criteria\n                        $sumArgs[$key] = 0.0;\n                    }\n                } else {\n                    if (!is_numeric($arg)) {\n                        $arg = PHPExcel_Calculation::wrapResult(strtoupper($arg));\n                    }\n                    $testCondition = '='.$arg.$condition;\n                    if (!PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {\n                        // Is it a value within our criteria\n                        $sumArgs[$key] = 0.0;\n                    }\n                }\n            }\n        }\n\n\t\t// Return\n\t\treturn array_sum($sumArgs);\n\t}\n\n\n    /**\n     * SUMPRODUCT\n     *\n     * Excel Function:\n     *        SUMPRODUCT(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function SUMPRODUCT()\n    {\n        $arrayList = func_get_args();\n\n        $wrkArray = PHPExcel_Calculation_Functions::flattenArray(array_shift($arrayList));\n        $wrkCellCount = count($wrkArray);\n\n        for ($i=0; $i< $wrkCellCount; ++$i) {\n            if ((!is_numeric($wrkArray[$i])) || (is_string($wrkArray[$i]))) {\n                $wrkArray[$i] = 0;\n            }\n        }\n\n        foreach ($arrayList as $matrixData) {\n            $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData);\n            $count = count($array2);\n            if ($wrkCellCount != $count) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n\n            foreach ($array2 as $i => $val) {\n                if ((!is_numeric($val)) || (is_string($val))) {\n                    $val = 0;\n                }\n                $wrkArray[$i] *= $val;\n            }\n        }\n\n        return array_sum($wrkArray);\n    }\n\n\n    /**\n     * SUMSQ\n     *\n     * SUMSQ returns the sum of the squares of the arguments\n     *\n     * Excel Function:\n     *        SUMSQ(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function SUMSQ()\n    {\n        $returnValue = 0;\n\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                $returnValue += ($arg * $arg);\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * SUMX2MY2\n     *\n     * @param    mixed[]    $matrixData1    Matrix #1\n     * @param    mixed[]    $matrixData2    Matrix #2\n     * @return    float\n     */\n    public static function SUMX2MY2($matrixData1, $matrixData2)\n    {\n        $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1);\n        $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2);\n        $count = min(count($array1), count($array2));\n\n        $result = 0;\n        for ($i = 0; $i < $count; ++$i) {\n            if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) &&\n                ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) {\n                $result += ($array1[$i] * $array1[$i]) - ($array2[$i] * $array2[$i]);\n            }\n        }\n\n        return $result;\n    }\n\n\n    /**\n     * SUMX2PY2\n     *\n     * @param    mixed[]    $matrixData1    Matrix #1\n     * @param    mixed[]    $matrixData2    Matrix #2\n     * @return    float\n     */\n    public static function SUMX2PY2($matrixData1, $matrixData2)\n    {\n        $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1);\n        $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2);\n        $count = min(count($array1), count($array2));\n\n        $result = 0;\n        for ($i = 0; $i < $count; ++$i) {\n            if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) &&\n                ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) {\n                $result += ($array1[$i] * $array1[$i]) + ($array2[$i] * $array2[$i]);\n            }\n        }\n\n        return $result;\n    }\n\n\n    /**\n     * SUMXMY2\n     *\n     * @param    mixed[]    $matrixData1    Matrix #1\n     * @param    mixed[]    $matrixData2    Matrix #2\n     * @return    float\n     */\n    public static function SUMXMY2($matrixData1, $matrixData2)\n    {\n        $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1);\n        $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2);\n        $count = min(count($array1), count($array2));\n\n        $result = 0;\n        for ($i = 0; $i < $count; ++$i) {\n            if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) &&\n                ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) {\n                $result += ($array1[$i] - $array2[$i]) * ($array1[$i] - $array2[$i]);\n            }\n        }\n\n        return $result;\n    }\n\n\n    /**\n     * TRUNC\n     *\n     * Truncates value to the number of fractional digits by number_digits.\n     *\n     * @param    float        $value\n     * @param    int            $digits\n     * @return    float        Truncated value\n     */\n    public static function TRUNC($value = 0, $digits = 0)\n    {\n        $value    = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $digits    = PHPExcel_Calculation_Functions::flattenSingleValue($digits);\n\n        // Validate parameters\n        if ((!is_numeric($value)) || (!is_numeric($digits))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $digits = floor($digits);\n\n        // Truncate\n        $adjust = pow(10, $digits);\n\n        if (($digits > 0) && (rtrim(intval((abs($value) - abs(intval($value))) * $adjust), '0') < $adjust/10)) {\n            return $value;\n        }\n\n        return (intval($value * $adjust)) / $adjust;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Statistical.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/trendClass.php';\n\n\n/** LOG_GAMMA_X_MAX_VALUE */\ndefine('LOG_GAMMA_X_MAX_VALUE', 2.55e305);\n\n/** XMININ */\ndefine('XMININ', 2.23e-308);\n\n/** EPS */\ndefine('EPS', 2.22e-16);\n\n/** SQRT2PI */\ndefine('SQRT2PI', 2.5066282746310005024157652848110452530069867406099);\n\n/**\n * PHPExcel_Calculation_Statistical\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Statistical\n{\n    private static function checkTrendArrays(&$array1, &$array2)\n    {\n        if (!is_array($array1)) {\n            $array1 = array($array1);\n        }\n        if (!is_array($array2)) {\n            $array2 = array($array2);\n        }\n\n        $array1 = PHPExcel_Calculation_Functions::flattenArray($array1);\n        $array2 = PHPExcel_Calculation_Functions::flattenArray($array2);\n        foreach ($array1 as $key => $value) {\n            if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {\n                unset($array1[$key]);\n                unset($array2[$key]);\n            }\n        }\n        foreach ($array2 as $key => $value) {\n            if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {\n                unset($array1[$key]);\n                unset($array2[$key]);\n            }\n        }\n        $array1 = array_merge($array1);\n        $array2 = array_merge($array2);\n\n        return true;\n    }\n\n\n    /**\n     * Beta function.\n     *\n     * @author Jaco van Kooten\n     *\n     * @param p require p>0\n     * @param q require q>0\n     * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow\n     */\n    private static function beta($p, $q)\n    {\n        if ($p <= 0.0 || $q <= 0.0 || ($p + $q) > LOG_GAMMA_X_MAX_VALUE) {\n            return 0.0;\n        } else {\n            return exp(self::logBeta($p, $q));\n        }\n    }\n\n\n    /**\n     * Incomplete beta function\n     *\n     * @author Jaco van Kooten\n     * @author Paul Meagher\n     *\n     * The computation is based on formulas from Numerical Recipes, Chapter 6.4 (W.H. Press et al, 1992).\n     * @param x require 0<=x<=1\n     * @param p require p>0\n     * @param q require q>0\n     * @return 0 if x<0, p<=0, q<=0 or p+q>2.55E305 and 1 if x>1 to avoid errors and over/underflow\n     */\n    private static function incompleteBeta($x, $p, $q)\n    {\n        if ($x <= 0.0) {\n            return 0.0;\n        } elseif ($x >= 1.0) {\n            return 1.0;\n        } elseif (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > LOG_GAMMA_X_MAX_VALUE)) {\n            return 0.0;\n        }\n        $beta_gam = exp((0 - self::logBeta($p, $q)) + $p * log($x) + $q * log(1.0 - $x));\n        if ($x < ($p + 1.0) / ($p + $q + 2.0)) {\n            return $beta_gam * self::betaFraction($x, $p, $q) / $p;\n        } else {\n            return 1.0 - ($beta_gam * self::betaFraction(1 - $x, $q, $p) / $q);\n        }\n    }\n\n\n    // Function cache for logBeta function\n    private static $logBetaCacheP      = 0.0;\n    private static $logBetaCacheQ      = 0.0;\n    private static $logBetaCacheResult = 0.0;\n\n    /**\n     * The natural logarithm of the beta function.\n     *\n     * @param p require p>0\n     * @param q require q>0\n     * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow\n     * @author Jaco van Kooten\n     */\n    private static function logBeta($p, $q)\n    {\n        if ($p != self::$logBetaCacheP || $q != self::$logBetaCacheQ) {\n            self::$logBetaCacheP = $p;\n            self::$logBetaCacheQ = $q;\n            if (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > LOG_GAMMA_X_MAX_VALUE)) {\n                self::$logBetaCacheResult = 0.0;\n            } else {\n                self::$logBetaCacheResult = self::logGamma($p) + self::logGamma($q) - self::logGamma($p + $q);\n            }\n        }\n        return self::$logBetaCacheResult;\n    }\n\n\n    /**\n     * Evaluates of continued fraction part of incomplete beta function.\n     * Based on an idea from Numerical Recipes (W.H. Press et al, 1992).\n     * @author Jaco van Kooten\n     */\n    private static function betaFraction($x, $p, $q)\n    {\n        $c = 1.0;\n        $sum_pq = $p + $q;\n        $p_plus = $p + 1.0;\n        $p_minus = $p - 1.0;\n        $h = 1.0 - $sum_pq * $x / $p_plus;\n        if (abs($h) < XMININ) {\n            $h = XMININ;\n        }\n        $h = 1.0 / $h;\n        $frac = $h;\n        $m     = 1;\n        $delta = 0.0;\n        while ($m <= MAX_ITERATIONS && abs($delta-1.0) > PRECISION) {\n            $m2 = 2 * $m;\n            // even index for d\n            $d = $m * ($q - $m) * $x / ( ($p_minus + $m2) * ($p + $m2));\n            $h = 1.0 + $d * $h;\n            if (abs($h) < XMININ) {\n                $h = XMININ;\n            }\n            $h = 1.0 / $h;\n            $c = 1.0 + $d / $c;\n            if (abs($c) < XMININ) {\n                $c = XMININ;\n            }\n            $frac *= $h * $c;\n            // odd index for d\n            $d = -($p + $m) * ($sum_pq + $m) * $x / (($p + $m2) * ($p_plus + $m2));\n            $h = 1.0 + $d * $h;\n            if (abs($h) < XMININ) {\n                $h = XMININ;\n            }\n            $h = 1.0 / $h;\n            $c = 1.0 + $d / $c;\n            if (abs($c) < XMININ) {\n                $c = XMININ;\n            }\n            $delta = $h * $c;\n            $frac *= $delta;\n            ++$m;\n        }\n        return $frac;\n    }\n\n\n    /**\n     * logGamma function\n     *\n     * @version 1.1\n     * @author Jaco van Kooten\n     *\n     * Original author was Jaco van Kooten. Ported to PHP by Paul Meagher.\n     *\n     * The natural logarithm of the gamma function. <br />\n     * Based on public domain NETLIB (Fortran) code by W. J. Cody and L. Stoltz <br />\n     * Applied Mathematics Division <br />\n     * Argonne National Laboratory <br />\n     * Argonne, IL 60439 <br />\n     * <p>\n     * References:\n     * <ol>\n     * <li>W. J. Cody and K. E. Hillstrom, 'Chebyshev Approximations for the Natural\n     *     Logarithm of the Gamma Function,' Math. Comp. 21, 1967, pp. 198-203.</li>\n     * <li>K. E. Hillstrom, ANL/AMD Program ANLC366S, DGAMMA/DLGAMA, May, 1969.</li>\n     * <li>Hart, Et. Al., Computer Approximations, Wiley and sons, New York, 1968.</li>\n     * </ol>\n     * </p>\n     * <p>\n     * From the original documentation:\n     * </p>\n     * <p>\n     * This routine calculates the LOG(GAMMA) function for a positive real argument X.\n     * Computation is based on an algorithm outlined in references 1 and 2.\n     * The program uses rational functions that theoretically approximate LOG(GAMMA)\n     * to at least 18 significant decimal digits. The approximation for X > 12 is from\n     * reference 3, while approximations for X < 12.0 are similar to those in reference\n     * 1, but are unpublished. The accuracy achieved depends on the arithmetic system,\n     * the compiler, the intrinsic functions, and proper selection of the\n     * machine-dependent constants.\n     * </p>\n     * <p>\n     * Error returns: <br />\n     * The program returns the value XINF for X .LE. 0.0 or when overflow would occur.\n     * The computation is believed to be free of underflow and overflow.\n     * </p>\n     * @return MAX_VALUE for x < 0.0 or when overflow would occur, i.e. x > 2.55E305\n     */\n\n    // Function cache for logGamma\n    private static $logGammaCacheResult = 0.0;\n    private static $logGammaCacheX      = 0.0;\n\n    private static function logGamma($x)\n    {\n        // Log Gamma related constants\n        static $lg_d1 = -0.5772156649015328605195174;\n        static $lg_d2 = 0.4227843350984671393993777;\n        static $lg_d4 = 1.791759469228055000094023;\n\n        static $lg_p1 = array(\n            4.945235359296727046734888,\n            201.8112620856775083915565,\n            2290.838373831346393026739,\n            11319.67205903380828685045,\n            28557.24635671635335736389,\n            38484.96228443793359990269,\n            26377.48787624195437963534,\n            7225.813979700288197698961\n        );\n        static $lg_p2 = array(\n            4.974607845568932035012064,\n            542.4138599891070494101986,\n            15506.93864978364947665077,\n            184793.2904445632425417223,\n            1088204.76946882876749847,\n            3338152.967987029735917223,\n            5106661.678927352456275255,\n            3074109.054850539556250927\n        );\n        static $lg_p4 = array(\n            14745.02166059939948905062,\n            2426813.369486704502836312,\n            121475557.4045093227939592,\n            2663432449.630976949898078,\n            29403789566.34553899906876,\n            170266573776.5398868392998,\n            492612579337.743088758812,\n            560625185622.3951465078242\n        );\n        static $lg_q1 = array(\n            67.48212550303777196073036,\n            1113.332393857199323513008,\n            7738.757056935398733233834,\n            27639.87074403340708898585,\n            54993.10206226157329794414,\n            61611.22180066002127833352,\n            36351.27591501940507276287,\n            8785.536302431013170870835\n        );\n        static $lg_q2 = array(\n            183.0328399370592604055942,\n            7765.049321445005871323047,\n            133190.3827966074194402448,\n            1136705.821321969608938755,\n            5267964.117437946917577538,\n            13467014.54311101692290052,\n            17827365.30353274213975932,\n            9533095.591844353613395747\n        );\n        static $lg_q4 = array(\n            2690.530175870899333379843,\n            639388.5654300092398984238,\n            41355999.30241388052042842,\n            1120872109.61614794137657,\n            14886137286.78813811542398,\n            101680358627.2438228077304,\n            341747634550.7377132798597,\n            446315818741.9713286462081\n        );\n        static $lg_c  = array(\n            -0.001910444077728,\n            8.4171387781295e-4,\n            -5.952379913043012e-4,\n            7.93650793500350248e-4,\n            -0.002777777777777681622553,\n            0.08333333333333333331554247,\n            0.0057083835261\n        );\n\n        // Rough estimate of the fourth root of logGamma_xBig\n        static $lg_frtbig = 2.25e76;\n        static $pnt68     = 0.6796875;\n\n\n        if ($x == self::$logGammaCacheX) {\n            return self::$logGammaCacheResult;\n        }\n        $y = $x;\n        if ($y > 0.0 && $y <= LOG_GAMMA_X_MAX_VALUE) {\n            if ($y <= EPS) {\n                $res = -log(y);\n            } elseif ($y <= 1.5) {\n                // ---------------------\n                //    EPS .LT. X .LE. 1.5\n                // ---------------------\n                if ($y < $pnt68) {\n                    $corr = -log($y);\n                    $xm1 = $y;\n                } else {\n                    $corr = 0.0;\n                    $xm1 = $y - 1.0;\n                }\n                if ($y <= 0.5 || $y >= $pnt68) {\n                    $xden = 1.0;\n                    $xnum = 0.0;\n                    for ($i = 0; $i < 8; ++$i) {\n                        $xnum = $xnum * $xm1 + $lg_p1[$i];\n                        $xden = $xden * $xm1 + $lg_q1[$i];\n                    }\n                    $res = $corr + $xm1 * ($lg_d1 + $xm1 * ($xnum / $xden));\n                } else {\n                    $xm2 = $y - 1.0;\n                    $xden = 1.0;\n                    $xnum = 0.0;\n                    for ($i = 0; $i < 8; ++$i) {\n                        $xnum = $xnum * $xm2 + $lg_p2[$i];\n                        $xden = $xden * $xm2 + $lg_q2[$i];\n                    }\n                    $res = $corr + $xm2 * ($lg_d2 + $xm2 * ($xnum / $xden));\n                }\n            } elseif ($y <= 4.0) {\n                // ---------------------\n                //    1.5 .LT. X .LE. 4.0\n                // ---------------------\n                $xm2 = $y - 2.0;\n                $xden = 1.0;\n                $xnum = 0.0;\n                for ($i = 0; $i < 8; ++$i) {\n                    $xnum = $xnum * $xm2 + $lg_p2[$i];\n                    $xden = $xden * $xm2 + $lg_q2[$i];\n                }\n                $res = $xm2 * ($lg_d2 + $xm2 * ($xnum / $xden));\n            } elseif ($y <= 12.0) {\n                // ----------------------\n                //    4.0 .LT. X .LE. 12.0\n                // ----------------------\n                $xm4 = $y - 4.0;\n                $xden = -1.0;\n                $xnum = 0.0;\n                for ($i = 0; $i < 8; ++$i) {\n                    $xnum = $xnum * $xm4 + $lg_p4[$i];\n                    $xden = $xden * $xm4 + $lg_q4[$i];\n                }\n                $res = $lg_d4 + $xm4 * ($xnum / $xden);\n            } else {\n                // ---------------------------------\n                //    Evaluate for argument .GE. 12.0\n                // ---------------------------------\n                $res = 0.0;\n                if ($y <= $lg_frtbig) {\n                    $res = $lg_c[6];\n                    $ysq = $y * $y;\n                    for ($i = 0; $i < 6; ++$i) {\n                        $res = $res / $ysq + $lg_c[$i];\n                    }\n                    $res /= $y;\n                    $corr = log($y);\n                    $res = $res + log(SQRT2PI) - 0.5 * $corr;\n                    $res += $y * ($corr - 1.0);\n                }\n            }\n        } else {\n            // --------------------------\n            //    Return for bad arguments\n            // --------------------------\n            $res = MAX_VALUE;\n        }\n        // ------------------------------\n        //    Final adjustments and return\n        // ------------------------------\n        self::$logGammaCacheX = $x;\n        self::$logGammaCacheResult = $res;\n        return $res;\n    }\n\n\n    //\n    //    Private implementation of the incomplete Gamma function\n    //\n    private static function incompleteGamma($a, $x)\n    {\n        static $max = 32;\n        $summer = 0;\n        for ($n=0; $n<=$max; ++$n) {\n            $divisor = $a;\n            for ($i=1; $i<=$n; ++$i) {\n                $divisor *= ($a + $i);\n            }\n            $summer += (pow($x, $n) / $divisor);\n        }\n        return pow($x, $a) * exp(0-$x) * $summer;\n    }\n\n\n    //\n    //    Private implementation of the Gamma function\n    //\n    private static function gamma($data)\n    {\n        if ($data == 0.0) {\n            return 0;\n        }\n\n        static $p0 = 1.000000000190015;\n        static $p = array(\n            1 => 76.18009172947146,\n            2 => -86.50532032941677,\n            3 => 24.01409824083091,\n            4 => -1.231739572450155,\n            5 => 1.208650973866179e-3,\n            6 => -5.395239384953e-6\n        );\n\n        $y = $x = $data;\n        $tmp = $x + 5.5;\n        $tmp -= ($x + 0.5) * log($tmp);\n\n        $summer = $p0;\n        for ($j=1; $j<=6; ++$j) {\n            $summer += ($p[$j] / ++$y);\n        }\n        return exp(0 - $tmp + log(SQRT2PI * $summer / $x));\n    }\n\n\n    /***************************************************************************\n     *                                inverse_ncdf.php\n     *                            -------------------\n     *    begin                : Friday, January 16, 2004\n     *    copyright            : (C) 2004 Michael Nickerson\n     *    email                : nickersonm@yahoo.com\n     *\n     ***************************************************************************/\n    private static function inverseNcdf($p)\n    {\n        //    Inverse ncdf approximation by Peter J. Acklam, implementation adapted to\n        //    PHP by Michael Nickerson, using Dr. Thomas Ziegler's C implementation as\n        //    a guide. http://home.online.no/~pjacklam/notes/invnorm/index.html\n        //    I have not checked the accuracy of this implementation. Be aware that PHP\n        //    will truncate the coeficcients to 14 digits.\n\n        //    You have permission to use and distribute this function freely for\n        //    whatever purpose you want, but please show common courtesy and give credit\n        //    where credit is due.\n\n        //    Input paramater is $p - probability - where 0 < p < 1.\n\n        //    Coefficients in rational approximations\n        static $a = array(\n            1 => -3.969683028665376e+01,\n            2 => 2.209460984245205e+02,\n            3 => -2.759285104469687e+02,\n            4 => 1.383577518672690e+02,\n            5 => -3.066479806614716e+01,\n            6 => 2.506628277459239e+00\n        );\n\n        static $b = array(\n            1 => -5.447609879822406e+01,\n            2 => 1.615858368580409e+02,\n            3 => -1.556989798598866e+02,\n            4 => 6.680131188771972e+01,\n            5 => -1.328068155288572e+01\n        );\n\n        static $c = array(\n            1 => -7.784894002430293e-03,\n            2 => -3.223964580411365e-01,\n            3 => -2.400758277161838e+00,\n            4 => -2.549732539343734e+00,\n            5 => 4.374664141464968e+00,\n            6 => 2.938163982698783e+00\n        );\n\n        static $d = array(\n            1 => 7.784695709041462e-03,\n            2 => 3.224671290700398e-01,\n            3 => 2.445134137142996e+00,\n            4 => 3.754408661907416e+00\n        );\n\n        //    Define lower and upper region break-points.\n        $p_low = 0.02425;            //Use lower region approx. below this\n        $p_high = 1 - $p_low;        //Use upper region approx. above this\n\n        if (0 < $p && $p < $p_low) {\n            //    Rational approximation for lower region.\n            $q = sqrt(-2 * log($p));\n            return ((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) /\n                    (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1);\n        } elseif ($p_low <= $p && $p <= $p_high) {\n            //    Rational approximation for central region.\n            $q = $p - 0.5;\n            $r = $q * $q;\n            return ((((($a[1] * $r + $a[2]) * $r + $a[3]) * $r + $a[4]) * $r + $a[5]) * $r + $a[6]) * $q /\n                   ((((($b[1] * $r + $b[2]) * $r + $b[3]) * $r + $b[4]) * $r + $b[5]) * $r + 1);\n        } elseif ($p_high < $p && $p < 1) {\n            //    Rational approximation for upper region.\n            $q = sqrt(-2 * log(1 - $p));\n            return -((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) /\n                     (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1);\n        }\n        //    If 0 < p < 1, return a null value\n        return PHPExcel_Calculation_Functions::NULL();\n    }\n\n\n    private static function inverseNcdf2($prob)\n    {\n        //    Approximation of inverse standard normal CDF developed by\n        //    B. Moro, \"The Full Monte,\" Risk 8(2), Feb 1995, 57-58.\n\n        $a1 = 2.50662823884;\n        $a2 = -18.61500062529;\n        $a3 = 41.39119773534;\n        $a4 = -25.44106049637;\n\n        $b1 = -8.4735109309;\n        $b2 = 23.08336743743;\n        $b3 = -21.06224101826;\n        $b4 = 3.13082909833;\n\n        $c1 = 0.337475482272615;\n        $c2 = 0.976169019091719;\n        $c3 = 0.160797971491821;\n        $c4 = 2.76438810333863E-02;\n        $c5 = 3.8405729373609E-03;\n        $c6 = 3.951896511919E-04;\n        $c7 = 3.21767881768E-05;\n        $c8 = 2.888167364E-07;\n        $c9 = 3.960315187E-07;\n\n        $y = $prob - 0.5;\n        if (abs($y) < 0.42) {\n            $z = ($y * $y);\n            $z = $y * ((($a4 * $z + $a3) * $z + $a2) * $z + $a1) / (((($b4 * $z + $b3) * $z + $b2) * $z + $b1) * $z + 1);\n        } else {\n            if ($y > 0) {\n                $z = log(-log(1 - $prob));\n            } else {\n                $z = log(-log($prob));\n            }\n            $z = $c1 + $z * ($c2 + $z * ($c3 + $z * ($c4 + $z * ($c5 + $z * ($c6 + $z * ($c7 + $z * ($c8 + $z * $c9)))))));\n            if ($y < 0) {\n                $z = -$z;\n            }\n        }\n        return $z;\n    }    //    function inverseNcdf2()\n\n\n    private static function inverseNcdf3($p)\n    {\n        //    ALGORITHM AS241 APPL. STATIST. (1988) VOL. 37, NO. 3.\n        //    Produces the normal deviate Z corresponding to a given lower\n        //    tail area of P; Z is accurate to about 1 part in 10**16.\n        //\n        //    This is a PHP version of the original FORTRAN code that can\n        //    be found at http://lib.stat.cmu.edu/apstat/\n        $split1 = 0.425;\n        $split2 = 5;\n        $const1 = 0.180625;\n        $const2 = 1.6;\n\n        //    coefficients for p close to 0.5\n        $a0 = 3.3871328727963666080;\n        $a1 = 1.3314166789178437745E+2;\n        $a2 = 1.9715909503065514427E+3;\n        $a3 = 1.3731693765509461125E+4;\n        $a4 = 4.5921953931549871457E+4;\n        $a5 = 6.7265770927008700853E+4;\n        $a6 = 3.3430575583588128105E+4;\n        $a7 = 2.5090809287301226727E+3;\n\n        $b1 = 4.2313330701600911252E+1;\n        $b2 = 6.8718700749205790830E+2;\n        $b3 = 5.3941960214247511077E+3;\n        $b4 = 2.1213794301586595867E+4;\n        $b5 = 3.9307895800092710610E+4;\n        $b6 = 2.8729085735721942674E+4;\n        $b7 = 5.2264952788528545610E+3;\n\n        //    coefficients for p not close to 0, 0.5 or 1.\n        $c0 = 1.42343711074968357734;\n        $c1 = 4.63033784615654529590;\n        $c2 = 5.76949722146069140550;\n        $c3 = 3.64784832476320460504;\n        $c4 = 1.27045825245236838258;\n        $c5 = 2.41780725177450611770E-1;\n        $c6 = 2.27238449892691845833E-2;\n        $c7 = 7.74545014278341407640E-4;\n\n        $d1 = 2.05319162663775882187;\n        $d2 = 1.67638483018380384940;\n        $d3 = 6.89767334985100004550E-1;\n        $d4 = 1.48103976427480074590E-1;\n        $d5 = 1.51986665636164571966E-2;\n        $d6 = 5.47593808499534494600E-4;\n        $d7 = 1.05075007164441684324E-9;\n\n        //    coefficients for p near 0 or 1.\n        $e0 = 6.65790464350110377720;\n        $e1 = 5.46378491116411436990;\n        $e2 = 1.78482653991729133580;\n        $e3 = 2.96560571828504891230E-1;\n        $e4 = 2.65321895265761230930E-2;\n        $e5 = 1.24266094738807843860E-3;\n        $e6 = 2.71155556874348757815E-5;\n        $e7 = 2.01033439929228813265E-7;\n\n        $f1 = 5.99832206555887937690E-1;\n        $f2 = 1.36929880922735805310E-1;\n        $f3 = 1.48753612908506148525E-2;\n        $f4 = 7.86869131145613259100E-4;\n        $f5 = 1.84631831751005468180E-5;\n        $f6 = 1.42151175831644588870E-7;\n        $f7 = 2.04426310338993978564E-15;\n\n        $q = $p - 0.5;\n\n        //    computation for p close to 0.5\n        if (abs($q) <= split1) {\n            $R = $const1 - $q * $q;\n            $z = $q * ((((((($a7 * $R + $a6) * $R + $a5) * $R + $a4) * $R + $a3) * $R + $a2) * $R + $a1) * $R + $a0) /\n                      ((((((($b7 * $R + $b6) * $R + $b5) * $R + $b4) * $R + $b3) * $R + $b2) * $R + $b1) * $R + 1);\n        } else {\n            if ($q < 0) {\n                $R = $p;\n            } else {\n                $R = 1 - $p;\n            }\n            $R = pow(-log($R), 2);\n\n            //    computation for p not close to 0, 0.5 or 1.\n            if ($R <= $split2) {\n                $R = $R - $const2;\n                $z = ((((((($c7 * $R + $c6) * $R + $c5) * $R + $c4) * $R + $c3) * $R + $c2) * $R + $c1) * $R + $c0) /\n                     ((((((($d7 * $R + $d6) * $R + $d5) * $R + $d4) * $R + $d3) * $R + $d2) * $R + $d1) * $R + 1);\n            } else {\n            //    computation for p near 0 or 1.\n                $R = $R - $split2;\n                $z = ((((((($e7 * $R + $e6) * $R + $e5) * $R + $e4) * $R + $e3) * $R + $e2) * $R + $e1) * $R + $e0) /\n                     ((((((($f7 * $R + $f6) * $R + $f5) * $R + $f4) * $R + $f3) * $R + $f2) * $R + $f1) * $R + 1);\n            }\n            if ($q < 0) {\n                $z = -$z;\n            }\n        }\n        return $z;\n    }\n\n\n    /**\n     * AVEDEV\n     *\n     * Returns the average of the absolute deviations of data points from their mean.\n     * AVEDEV is a measure of the variability in a data set.\n     *\n     * Excel Function:\n     *        AVEDEV(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function AVEDEV()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n\n        // Return value\n        $returnValue = null;\n\n        $aMean = self::AVERAGE($aArgs);\n        if ($aMean != PHPExcel_Calculation_Functions::DIV0()) {\n            $aCount = 0;\n            foreach ($aArgs as $k => $arg) {\n                if ((is_bool($arg)) &&\n                    ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) {\n                    $arg = (integer) $arg;\n                }\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    if (is_null($returnValue)) {\n                        $returnValue = abs($arg - $aMean);\n                    } else {\n                        $returnValue += abs($arg - $aMean);\n                    }\n                    ++$aCount;\n                }\n            }\n\n            // Return\n            if ($aCount == 0) {\n                return PHPExcel_Calculation_Functions::DIV0();\n            }\n            return $returnValue / $aCount;\n        }\n        return PHPExcel_Calculation_Functions::NaN();\n    }\n\n\n    /**\n     * AVERAGE\n     *\n     * Returns the average (arithmetic mean) of the arguments\n     *\n     * Excel Function:\n     *        AVERAGE(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function AVERAGE()\n    {\n        $returnValue = $aCount = 0;\n\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()) as $k => $arg) {\n            if ((is_bool($arg)) &&\n                ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) {\n                $arg = (integer) $arg;\n            }\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                if (is_null($returnValue)) {\n                    $returnValue = $arg;\n                } else {\n                    $returnValue += $arg;\n                }\n                ++$aCount;\n            }\n        }\n\n        // Return\n        if ($aCount > 0) {\n            return $returnValue / $aCount;\n        } else {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n    }\n\n\n    /**\n     * AVERAGEA\n     *\n     * Returns the average of its arguments, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        AVERAGEA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function AVERAGEA()\n    {\n        $returnValue = null;\n\n        $aCount = 0;\n        // Loop through arguments\n        foreach (PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()) as $k => $arg) {\n            if ((is_bool($arg)) &&\n                (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n            } else {\n                if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {\n                    if (is_bool($arg)) {\n                        $arg = (integer) $arg;\n                    } elseif (is_string($arg)) {\n                        $arg = 0;\n                    }\n                    if (is_null($returnValue)) {\n                        $returnValue = $arg;\n                    } else {\n                        $returnValue += $arg;\n                    }\n                    ++$aCount;\n                }\n            }\n        }\n\n        if ($aCount > 0) {\n            return $returnValue / $aCount;\n        } else {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n    }\n\n\n    /**\n     * AVERAGEIF\n     *\n     * Returns the average value from a range of cells that contain numbers within the list of arguments\n     *\n     * Excel Function:\n     *        AVERAGEIF(value1[,value2[, ...]],condition)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    string        $condition        The criteria that defines which cells will be checked.\n     * @param    mixed[]        $averageArgs    Data values\n     * @return    float\n     */\n    public static function AVERAGEIF($aArgs, $condition, $averageArgs = array())\n    {\n        $returnValue = 0;\n\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs);\n        $averageArgs = PHPExcel_Calculation_Functions::flattenArray($averageArgs);\n        if (empty($averageArgs)) {\n            $averageArgs = $aArgs;\n        }\n        $condition = PHPExcel_Calculation_Functions::ifCondition($condition);\n        // Loop through arguments\n        $aCount = 0;\n        foreach ($aArgs as $key => $arg) {\n            if (!is_numeric($arg)) {\n                $arg = PHPExcel_Calculation::wrapResult(strtoupper($arg));\n            }\n            $testCondition = '='.$arg.$condition;\n            if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {\n                if ((is_null($returnValue)) || ($arg > $returnValue)) {\n                    $returnValue += $arg;\n                    ++$aCount;\n                }\n            }\n        }\n\n        if ($aCount > 0) {\n            return $returnValue / $aCount;\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * BETADIST\n     *\n     * Returns the beta distribution.\n     *\n     * @param    float        $value            Value at which you want to evaluate the distribution\n     * @param    float        $alpha            Parameter to the distribution\n     * @param    float        $beta            Parameter to the distribution\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function BETADIST($value, $alpha, $beta, $rMin = 0, $rMax = 1)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha);\n        $beta  = PHPExcel_Calculation_Functions::flattenSingleValue($beta);\n        $rMin  = PHPExcel_Calculation_Functions::flattenSingleValue($rMin);\n        $rMax  = PHPExcel_Calculation_Functions::flattenSingleValue($rMax);\n\n        if ((is_numeric($value)) && (is_numeric($alpha)) && (is_numeric($beta)) && (is_numeric($rMin)) && (is_numeric($rMax))) {\n            if (($value < $rMin) || ($value > $rMax) || ($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ($rMin > $rMax) {\n                $tmp = $rMin;\n                $rMin = $rMax;\n                $rMax = $tmp;\n            }\n            $value -= $rMin;\n            $value /= ($rMax - $rMin);\n            return self::incompleteBeta($value, $alpha, $beta);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * BETAINV\n     *\n     * Returns the inverse of the beta distribution.\n     *\n     * @param    float        $probability    Probability at which you want to evaluate the distribution\n     * @param    float        $alpha            Parameter to the distribution\n     * @param    float        $beta            Parameter to the distribution\n     * @param    float        $rMin            Minimum value\n     * @param    float        $rMax            Maximum value\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function BETAINV($probability, $alpha, $beta, $rMin = 0, $rMax = 1)\n    {\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $alpha       = PHPExcel_Calculation_Functions::flattenSingleValue($alpha);\n        $beta        = PHPExcel_Calculation_Functions::flattenSingleValue($beta);\n        $rMin        = PHPExcel_Calculation_Functions::flattenSingleValue($rMin);\n        $rMax        = PHPExcel_Calculation_Functions::flattenSingleValue($rMax);\n\n        if ((is_numeric($probability)) && (is_numeric($alpha)) && (is_numeric($beta)) && (is_numeric($rMin)) && (is_numeric($rMax))) {\n            if (($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax) || ($probability <= 0) || ($probability > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ($rMin > $rMax) {\n                $tmp = $rMin;\n                $rMin = $rMax;\n                $rMax = $tmp;\n            }\n            $a = 0;\n            $b = 2;\n\n            $i = 0;\n            while ((($b - $a) > PRECISION) && ($i++ < MAX_ITERATIONS)) {\n                $guess = ($a + $b) / 2;\n                $result = self::BETADIST($guess, $alpha, $beta);\n                if (($result == $probability) || ($result == 0)) {\n                    $b = $a;\n                } elseif ($result > $probability) {\n                    $b = $guess;\n                } else {\n                    $a = $guess;\n                }\n            }\n            if ($i == MAX_ITERATIONS) {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            return round($rMin + $guess * ($rMax - $rMin), 12);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * BINOMDIST\n     *\n     * Returns the individual term binomial distribution probability. Use BINOMDIST in problems with\n     *        a fixed number of tests or trials, when the outcomes of any trial are only success or failure,\n     *        when trials are independent, and when the probability of success is constant throughout the\n     *        experiment. For example, BINOMDIST can calculate the probability that two of the next three\n     *        babies born are male.\n     *\n     * @param    float        $value            Number of successes in trials\n     * @param    float        $trials            Number of trials\n     * @param    float        $probability    Probability of success on each trial\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     * @todo    Cumulative distribution function\n     *\n     */\n    public static function BINOMDIST($value, $trials, $probability, $cumulative)\n    {\n        $value       = floor(PHPExcel_Calculation_Functions::flattenSingleValue($value));\n        $trials      = floor(PHPExcel_Calculation_Functions::flattenSingleValue($trials));\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n\n        if ((is_numeric($value)) && (is_numeric($trials)) && (is_numeric($probability))) {\n            if (($value < 0) || ($value > $trials)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if (($probability < 0) || ($probability > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ((is_numeric($cumulative)) || (is_bool($cumulative))) {\n                if ($cumulative) {\n                    $summer = 0;\n                    for ($i = 0; $i <= $value; ++$i) {\n                        $summer += PHPExcel_Calculation_MathTrig::COMBIN($trials, $i) * pow($probability, $i) * pow(1 - $probability, $trials - $i);\n                    }\n                    return $summer;\n                } else {\n                    return PHPExcel_Calculation_MathTrig::COMBIN($trials, $value) * pow($probability, $value) * pow(1 - $probability, $trials - $value) ;\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * CHIDIST\n     *\n     * Returns the one-tailed probability of the chi-squared distribution.\n     *\n     * @param    float        $value            Value for the function\n     * @param    float        $degrees        degrees of freedom\n     * @return    float\n     */\n    public static function CHIDIST($value, $degrees)\n    {\n        $value   = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees));\n\n        if ((is_numeric($value)) && (is_numeric($degrees))) {\n            if ($degrees < 1) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ($value < 0) {\n                if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                    return 1;\n                }\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return 1 - (self::incompleteGamma($degrees/2, $value/2) / self::gamma($degrees/2));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * CHIINV\n     *\n     * Returns the one-tailed probability of the chi-squared distribution.\n     *\n     * @param    float        $probability    Probability for the function\n     * @param    float        $degrees        degrees of freedom\n     * @return    float\n     */\n    public static function CHIINV($probability, $degrees)\n    {\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $degrees     = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees));\n\n        if ((is_numeric($probability)) && (is_numeric($degrees))) {\n            $xLo = 100;\n            $xHi = 0;\n\n            $x = $xNew = 1;\n            $dx    = 1;\n            $i = 0;\n\n            while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) {\n                // Apply Newton-Raphson step\n                $result = self::CHIDIST($x, $degrees);\n                $error = $result - $probability;\n                if ($error == 0.0) {\n                    $dx = 0;\n                } elseif ($error < 0.0) {\n                    $xLo = $x;\n                } else {\n                    $xHi = $x;\n                }\n                // Avoid division by zero\n                if ($result != 0.0) {\n                    $dx = $error / $result;\n                    $xNew = $x - $dx;\n                }\n                // If the NR fails to converge (which for example may be the\n                // case if the initial guess is too rough) we apply a bisection\n                // step to determine a more narrow interval around the root.\n                if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) {\n                    $xNew = ($xLo + $xHi) / 2;\n                    $dx = $xNew - $x;\n                }\n                $x = $xNew;\n            }\n            if ($i == MAX_ITERATIONS) {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            return round($x, 12);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * CONFIDENCE\n     *\n     * Returns the confidence interval for a population mean\n     *\n     * @param    float        $alpha\n     * @param    float        $stdDev        Standard Deviation\n     * @param    float        $size\n     * @return    float\n     *\n     */\n    public static function CONFIDENCE($alpha, $stdDev, $size)\n    {\n        $alpha  = PHPExcel_Calculation_Functions::flattenSingleValue($alpha);\n        $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev);\n        $size   = floor(PHPExcel_Calculation_Functions::flattenSingleValue($size));\n\n        if ((is_numeric($alpha)) && (is_numeric($stdDev)) && (is_numeric($size))) {\n            if (($alpha <= 0) || ($alpha >= 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if (($stdDev <= 0) || ($size < 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return self::NORMSINV(1 - $alpha / 2) * $stdDev / sqrt($size);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * CORREL\n     *\n     * Returns covariance, the average of the products of deviations for each data point pair.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function CORREL($yValues, $xValues = null)\n    {\n        if ((is_null($xValues)) || (!is_array($yValues)) || (!is_array($xValues))) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getCorrelation();\n    }\n\n\n    /**\n     * COUNT\n     *\n     * Counts the number of cells that contain numbers within the list of arguments\n     *\n     * Excel Function:\n     *        COUNT(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    int\n     */\n    public static function COUNT()\n    {\n        $returnValue = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n        foreach ($aArgs as $k => $arg) {\n            if ((is_bool($arg)) &&\n                ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) {\n                $arg = (integer) $arg;\n            }\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                ++$returnValue;\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * COUNTA\n     *\n     * Counts the number of cells that are not empty within the list of arguments\n     *\n     * Excel Function:\n     *        COUNTA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    int\n     */\n    public static function COUNTA()\n    {\n        $returnValue = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a numeric, boolean or string value?\n            if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {\n                ++$returnValue;\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * COUNTBLANK\n     *\n     * Counts the number of empty cells within the list of arguments\n     *\n     * Excel Function:\n     *        COUNTBLANK(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    int\n     */\n    public static function COUNTBLANK()\n    {\n        $returnValue = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a blank cell?\n            if ((is_null($arg)) || ((is_string($arg)) && ($arg == ''))) {\n                ++$returnValue;\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * COUNTIF\n     *\n     * Counts the number of cells that contain numbers within the list of arguments\n     *\n     * Excel Function:\n     *        COUNTIF(value1[,value2[, ...]],condition)\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    string        $condition        The criteria that defines which cells will be counted.\n     * @return    int\n     */\n    public static function COUNTIF($aArgs, $condition)\n    {\n        $returnValue = 0;\n\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs);\n        $condition = PHPExcel_Calculation_Functions::ifCondition($condition);\n        // Loop through arguments\n        foreach ($aArgs as $arg) {\n            if (!is_numeric($arg)) {\n                $arg = PHPExcel_Calculation::wrapResult(strtoupper($arg));\n            }\n            $testCondition = '='.$arg.$condition;\n            if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {\n                // Is it a value within our criteria\n                ++$returnValue;\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * COVAR\n     *\n     * Returns covariance, the average of the products of deviations for each data point pair.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function COVAR($yValues, $xValues)\n    {\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getCovariance();\n    }\n\n\n    /**\n     * CRITBINOM\n     *\n     * Returns the smallest value for which the cumulative binomial distribution is greater\n     *        than or equal to a criterion value\n     *\n     * See http://support.microsoft.com/kb/828117/ for details of the algorithm used\n     *\n     * @param    float        $trials            number of Bernoulli trials\n     * @param    float        $probability    probability of a success on each trial\n     * @param    float        $alpha            criterion value\n     * @return    int\n     *\n     * @todo    Warning. This implementation differs from the algorithm detailed on the MS\n     *            web site in that $CumPGuessMinus1 = $CumPGuess - 1 rather than $CumPGuess - $PGuess\n     *            This eliminates a potential endless loop error, but may have an adverse affect on the\n     *            accuracy of the function (although all my tests have so far returned correct results).\n     *\n     */\n    public static function CRITBINOM($trials, $probability, $alpha)\n    {\n        $trials      = floor(PHPExcel_Calculation_Functions::flattenSingleValue($trials));\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $alpha       = PHPExcel_Calculation_Functions::flattenSingleValue($alpha);\n\n        if ((is_numeric($trials)) && (is_numeric($probability)) && (is_numeric($alpha))) {\n            if ($trials < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            } elseif (($probability < 0) || ($probability > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            } elseif (($alpha < 0) || ($alpha > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            } elseif ($alpha <= 0.5) {\n                $t = sqrt(log(1 / ($alpha * $alpha)));\n                $trialsApprox = 0 - ($t + (2.515517 + 0.802853 * $t + 0.010328 * $t * $t) / (1 + 1.432788 * $t + 0.189269 * $t * $t + 0.001308 * $t * $t * $t));\n            } else {\n                $t = sqrt(log(1 / pow(1 - $alpha, 2)));\n                $trialsApprox = $t - (2.515517 + 0.802853 * $t + 0.010328 * $t * $t) / (1 + 1.432788 * $t + 0.189269 * $t * $t + 0.001308 * $t * $t * $t);\n            }\n            $Guess = floor($trials * $probability + $trialsApprox * sqrt($trials * $probability * (1 - $probability)));\n            if ($Guess < 0) {\n                $Guess = 0;\n            } elseif ($Guess > $trials) {\n                $Guess = $trials;\n            }\n\n            $TotalUnscaledProbability = $UnscaledPGuess = $UnscaledCumPGuess = 0.0;\n            $EssentiallyZero = 10e-12;\n\n            $m = floor($trials * $probability);\n            ++$TotalUnscaledProbability;\n            if ($m == $Guess) {\n                ++$UnscaledPGuess;\n            }\n            if ($m <= $Guess) {\n                ++$UnscaledCumPGuess;\n            }\n\n            $PreviousValue = 1;\n            $Done = false;\n            $k = $m + 1;\n            while ((!$Done) && ($k <= $trials)) {\n                $CurrentValue = $PreviousValue * ($trials - $k + 1) * $probability / ($k * (1 - $probability));\n                $TotalUnscaledProbability += $CurrentValue;\n                if ($k == $Guess) {\n                    $UnscaledPGuess += $CurrentValue;\n                }\n                if ($k <= $Guess) {\n                    $UnscaledCumPGuess += $CurrentValue;\n                }\n                if ($CurrentValue <= $EssentiallyZero) {\n                    $Done = true;\n                }\n                $PreviousValue = $CurrentValue;\n                ++$k;\n            }\n\n            $PreviousValue = 1;\n            $Done = false;\n            $k = $m - 1;\n            while ((!$Done) && ($k >= 0)) {\n                $CurrentValue = $PreviousValue * $k + 1 * (1 - $probability) / (($trials - $k) * $probability);\n                $TotalUnscaledProbability += $CurrentValue;\n                if ($k == $Guess) {\n                    $UnscaledPGuess += $CurrentValue;\n                }\n                if ($k <= $Guess) {\n                    $UnscaledCumPGuess += $CurrentValue;\n                }\n                if ($CurrentValue <= $EssentiallyZero) {\n                    $Done = true;\n                }\n                $PreviousValue = $CurrentValue;\n                --$k;\n            }\n\n            $PGuess = $UnscaledPGuess / $TotalUnscaledProbability;\n            $CumPGuess = $UnscaledCumPGuess / $TotalUnscaledProbability;\n\n//            $CumPGuessMinus1 = $CumPGuess - $PGuess;\n            $CumPGuessMinus1 = $CumPGuess - 1;\n\n            while (true) {\n                if (($CumPGuessMinus1 < $alpha) && ($CumPGuess >= $alpha)) {\n                    return $Guess;\n                } elseif (($CumPGuessMinus1 < $alpha) && ($CumPGuess < $alpha)) {\n                    $PGuessPlus1 = $PGuess * ($trials - $Guess) * $probability / $Guess / (1 - $probability);\n                    $CumPGuessMinus1 = $CumPGuess;\n                    $CumPGuess = $CumPGuess + $PGuessPlus1;\n                    $PGuess = $PGuessPlus1;\n                    ++$Guess;\n                } elseif (($CumPGuessMinus1 >= $alpha) && ($CumPGuess >= $alpha)) {\n                    $PGuessMinus1 = $PGuess * $Guess * (1 - $probability) / ($trials - $Guess + 1) / $probability;\n                    $CumPGuess = $CumPGuessMinus1;\n                    $CumPGuessMinus1 = $CumPGuessMinus1 - $PGuess;\n                    $PGuess = $PGuessMinus1;\n                    --$Guess;\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * DEVSQ\n     *\n     * Returns the sum of squares of deviations of data points from their sample mean.\n     *\n     * Excel Function:\n     *        DEVSQ(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function DEVSQ()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n\n        // Return value\n        $returnValue = null;\n\n        $aMean = self::AVERAGE($aArgs);\n        if ($aMean != PHPExcel_Calculation_Functions::DIV0()) {\n            $aCount = -1;\n            foreach ($aArgs as $k => $arg) {\n                // Is it a numeric value?\n                if ((is_bool($arg)) &&\n                    ((!PHPExcel_Calculation_Functions::isCellValue($k)) ||\n                    (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) {\n                    $arg = (integer) $arg;\n                }\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    if (is_null($returnValue)) {\n                        $returnValue = pow(($arg - $aMean), 2);\n                    } else {\n                        $returnValue += pow(($arg - $aMean), 2);\n                    }\n                    ++$aCount;\n                }\n            }\n\n            // Return\n            if (is_null($returnValue)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            } else {\n                return $returnValue;\n            }\n        }\n        return self::NA();\n    }\n\n\n    /**\n     * EXPONDIST\n     *\n     *    Returns the exponential distribution. Use EXPONDIST to model the time between events,\n     *        such as how long an automated bank teller takes to deliver cash. For example, you can\n     *        use EXPONDIST to determine the probability that the process takes at most 1 minute.\n     *\n     * @param    float        $value            Value of the function\n     * @param    float        $lambda            The parameter value\n     * @param    boolean        $cumulative\n     * @return    float\n     */\n    public static function EXPONDIST($value, $lambda, $cumulative)\n    {\n        $value    = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $lambda    = PHPExcel_Calculation_Functions::flattenSingleValue($lambda);\n        $cumulative    = PHPExcel_Calculation_Functions::flattenSingleValue($cumulative);\n\n        if ((is_numeric($value)) && (is_numeric($lambda))) {\n            if (($value < 0) || ($lambda < 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ((is_numeric($cumulative)) || (is_bool($cumulative))) {\n                if ($cumulative) {\n                    return 1 - exp(0-$value*$lambda);\n                } else {\n                    return $lambda * exp(0-$value*$lambda);\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FISHER\n     *\n     * Returns the Fisher transformation at x. This transformation produces a function that\n     *        is normally distributed rather than skewed. Use this function to perform hypothesis\n     *        testing on the correlation coefficient.\n     *\n     * @param    float        $value\n     * @return    float\n     */\n    public static function FISHER($value)\n    {\n        $value    = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n\n        if (is_numeric($value)) {\n            if (($value <= -1) || ($value >= 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return 0.5 * log((1+$value)/(1-$value));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FISHERINV\n     *\n     * Returns the inverse of the Fisher transformation. Use this transformation when\n     *        analyzing correlations between ranges or arrays of data. If y = FISHER(x), then\n     *        FISHERINV(y) = x.\n     *\n     * @param    float        $value\n     * @return    float\n     */\n    public static function FISHERINV($value)\n    {\n        $value    = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n\n        if (is_numeric($value)) {\n            return (exp(2 * $value) - 1) / (exp(2 * $value) + 1);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FORECAST\n     *\n     * Calculates, or predicts, a future value by using existing values. The predicted value is a y-value for a given x-value.\n     *\n     * @param    float                Value of X for which we want to find Y\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function FORECAST($xValue, $yValues, $xValues)\n    {\n        $xValue    = PHPExcel_Calculation_Functions::flattenSingleValue($xValue);\n        if (!is_numeric($xValue)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        } elseif (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getValueOfYForX($xValue);\n    }\n\n\n    /**\n     * GAMMADIST\n     *\n     * Returns the gamma distribution.\n     *\n     * @param    float        $value            Value at which you want to evaluate the distribution\n     * @param    float        $a                Parameter to the distribution\n     * @param    float        $b                Parameter to the distribution\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function GAMMADIST($value, $a, $b, $cumulative)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $a     = PHPExcel_Calculation_Functions::flattenSingleValue($a);\n        $b     = PHPExcel_Calculation_Functions::flattenSingleValue($b);\n\n        if ((is_numeric($value)) && (is_numeric($a)) && (is_numeric($b))) {\n            if (($value < 0) || ($a <= 0) || ($b <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ((is_numeric($cumulative)) || (is_bool($cumulative))) {\n                if ($cumulative) {\n                    return self::incompleteGamma($a, $value / $b) / self::gamma($a);\n                } else {\n                    return (1 / (pow($b, $a) * self::gamma($a))) * pow($value, $a-1) * exp(0-($value / $b));\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * GAMMAINV\n     *\n     * Returns the inverse of the beta distribution.\n     *\n     * @param    float        $probability    Probability at which you want to evaluate the distribution\n     * @param    float        $alpha            Parameter to the distribution\n     * @param    float        $beta            Parameter to the distribution\n     * @return    float\n     *\n     */\n    public static function GAMMAINV($probability, $alpha, $beta)\n    {\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $alpha       = PHPExcel_Calculation_Functions::flattenSingleValue($alpha);\n        $beta        = PHPExcel_Calculation_Functions::flattenSingleValue($beta);\n\n        if ((is_numeric($probability)) && (is_numeric($alpha)) && (is_numeric($beta))) {\n            if (($alpha <= 0) || ($beta <= 0) || ($probability < 0) || ($probability > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n\n            $xLo = 0;\n            $xHi = $alpha * $beta * 5;\n\n            $x = $xNew = 1;\n            $error = $pdf = 0;\n            $dx    = 1024;\n            $i = 0;\n\n            while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) {\n                // Apply Newton-Raphson step\n                $error = self::GAMMADIST($x, $alpha, $beta, true) - $probability;\n                if ($error < 0.0) {\n                    $xLo = $x;\n                } else {\n                    $xHi = $x;\n                }\n                $pdf = self::GAMMADIST($x, $alpha, $beta, false);\n                // Avoid division by zero\n                if ($pdf != 0.0) {\n                    $dx = $error / $pdf;\n                    $xNew = $x - $dx;\n                }\n                // If the NR fails to converge (which for example may be the\n                // case if the initial guess is too rough) we apply a bisection\n                // step to determine a more narrow interval around the root.\n                if (($xNew < $xLo) || ($xNew > $xHi) || ($pdf == 0.0)) {\n                    $xNew = ($xLo + $xHi) / 2;\n                    $dx = $xNew - $x;\n                }\n                $x = $xNew;\n            }\n            if ($i == MAX_ITERATIONS) {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            return $x;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * GAMMALN\n     *\n     * Returns the natural logarithm of the gamma function.\n     *\n     * @param    float        $value\n     * @return    float\n     */\n    public static function GAMMALN($value)\n    {\n        $value    = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n\n        if (is_numeric($value)) {\n            if ($value <= 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return log(self::gamma($value));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * GEOMEAN\n     *\n     * Returns the geometric mean of an array or range of positive data. For example, you\n     *        can use GEOMEAN to calculate average growth rate given compound interest with\n     *        variable rates.\n     *\n     * Excel Function:\n     *        GEOMEAN(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function GEOMEAN()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        $aMean = PHPExcel_Calculation_MathTrig::PRODUCT($aArgs);\n        if (is_numeric($aMean) && ($aMean > 0)) {\n            $aCount = self::COUNT($aArgs) ;\n            if (self::MIN($aArgs) > 0) {\n                return pow($aMean, (1 / $aCount));\n            }\n        }\n        return PHPExcel_Calculation_Functions::NaN();\n    }\n\n\n    /**\n     * GROWTH\n     *\n     * Returns values along a predicted emponential trend\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @param    array of mixed        Values of X for which we want to find Y\n     * @param    boolean                A logical value specifying whether to force the intersect to equal 0.\n     * @return    array of float\n     */\n    public static function GROWTH($yValues, $xValues = array(), $newValues = array(), $const = true)\n    {\n        $yValues = PHPExcel_Calculation_Functions::flattenArray($yValues);\n        $xValues = PHPExcel_Calculation_Functions::flattenArray($xValues);\n        $newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);\n        $const = (is_null($const)) ? true : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);\n\n        $bestFitExponential = trendClass::calculate(trendClass::TREND_EXPONENTIAL, $yValues, $xValues, $const);\n        if (empty($newValues)) {\n            $newValues = $bestFitExponential->getXValues();\n        }\n\n        $returnArray = array();\n        foreach ($newValues as $xValue) {\n            $returnArray[0][] = $bestFitExponential->getValueOfYForX($xValue);\n        }\n\n        return $returnArray;\n    }\n\n\n    /**\n     * HARMEAN\n     *\n     * Returns the harmonic mean of a data set. The harmonic mean is the reciprocal of the\n     *        arithmetic mean of reciprocals.\n     *\n     * Excel Function:\n     *        HARMEAN(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function HARMEAN()\n    {\n        // Return value\n        $returnValue = PHPExcel_Calculation_Functions::NA();\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        if (self::MIN($aArgs) < 0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $aCount = 0;\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                if ($arg <= 0) {\n                    return PHPExcel_Calculation_Functions::NaN();\n                }\n                if (is_null($returnValue)) {\n                    $returnValue = (1 / $arg);\n                } else {\n                    $returnValue += (1 / $arg);\n                }\n                ++$aCount;\n            }\n        }\n\n        // Return\n        if ($aCount > 0) {\n            return 1 / ($returnValue / $aCount);\n        } else {\n            return $returnValue;\n        }\n    }\n\n\n    /**\n     * HYPGEOMDIST\n     *\n     * Returns the hypergeometric distribution. HYPGEOMDIST returns the probability of a given number of\n     * sample successes, given the sample size, population successes, and population size.\n     *\n     * @param    float        $sampleSuccesses        Number of successes in the sample\n     * @param    float        $sampleNumber            Size of the sample\n     * @param    float        $populationSuccesses    Number of successes in the population\n     * @param    float        $populationNumber        Population size\n     * @return    float\n     *\n     */\n    public static function HYPGEOMDIST($sampleSuccesses, $sampleNumber, $populationSuccesses, $populationNumber)\n    {\n        $sampleSuccesses     = floor(PHPExcel_Calculation_Functions::flattenSingleValue($sampleSuccesses));\n        $sampleNumber        = floor(PHPExcel_Calculation_Functions::flattenSingleValue($sampleNumber));\n        $populationSuccesses = floor(PHPExcel_Calculation_Functions::flattenSingleValue($populationSuccesses));\n        $populationNumber    = floor(PHPExcel_Calculation_Functions::flattenSingleValue($populationNumber));\n\n        if ((is_numeric($sampleSuccesses)) && (is_numeric($sampleNumber)) && (is_numeric($populationSuccesses)) && (is_numeric($populationNumber))) {\n            if (($sampleSuccesses < 0) || ($sampleSuccesses > $sampleNumber) || ($sampleSuccesses > $populationSuccesses)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if (($sampleNumber <= 0) || ($sampleNumber > $populationNumber)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if (($populationSuccesses <= 0) || ($populationSuccesses > $populationNumber)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return PHPExcel_Calculation_MathTrig::COMBIN($populationSuccesses, $sampleSuccesses) *\n                   PHPExcel_Calculation_MathTrig::COMBIN($populationNumber - $populationSuccesses, $sampleNumber - $sampleSuccesses) /\n                   PHPExcel_Calculation_MathTrig::COMBIN($populationNumber, $sampleNumber);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * INTERCEPT\n     *\n     * Calculates the point at which a line will intersect the y-axis by using existing x-values and y-values.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function INTERCEPT($yValues, $xValues)\n    {\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getIntersect();\n    }\n\n\n    /**\n     * KURT\n     *\n     * Returns the kurtosis of a data set. Kurtosis characterizes the relative peakedness\n     * or flatness of a distribution compared with the normal distribution. Positive\n     * kurtosis indicates a relatively peaked distribution. Negative kurtosis indicates a\n     * relatively flat distribution.\n     *\n     * @param    array    Data Series\n     * @return    float\n     */\n    public static function KURT()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n        $mean = self::AVERAGE($aArgs);\n        $stdDev = self::STDEV($aArgs);\n\n        if ($stdDev > 0) {\n            $count = $summer = 0;\n            // Loop through arguments\n            foreach ($aArgs as $k => $arg) {\n                if ((is_bool($arg)) &&\n                    (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n                } else {\n                    // Is it a numeric value?\n                    if ((is_numeric($arg)) && (!is_string($arg))) {\n                        $summer += pow((($arg - $mean) / $stdDev), 4);\n                        ++$count;\n                    }\n                }\n            }\n\n            // Return\n            if ($count > 3) {\n                return $summer * ($count * ($count+1) / (($count-1) * ($count-2) * ($count-3))) - (3 * pow($count-1, 2) / (($count-2) * ($count-3)));\n            }\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * LARGE\n     *\n     * Returns the nth largest value in a data set. You can use this function to\n     *        select a value based on its relative standing.\n     *\n     * Excel Function:\n     *        LARGE(value1[,value2[, ...]],entry)\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    int            $entry            Position (ordered from the largest) in the array or range of data to return\n     * @return    float\n     *\n     */\n    public static function LARGE()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $entry = floor(array_pop($aArgs));\n\n        if ((is_numeric($entry)) && (!is_string($entry))) {\n            $mArgs = array();\n            foreach ($aArgs as $arg) {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    $mArgs[] = $arg;\n                }\n            }\n            $count = self::COUNT($mArgs);\n            $entry = floor(--$entry);\n            if (($entry < 0) || ($entry >= $count) || ($count == 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            rsort($mArgs);\n            return $mArgs[$entry];\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * LINEST\n     *\n     * Calculates the statistics for a line by using the \"least squares\" method to calculate a straight line that best fits your data,\n     *        and then returns an array that describes the line.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @param    boolean                A logical value specifying whether to force the intersect to equal 0.\n     * @param    boolean                A logical value specifying whether to return additional regression statistics.\n     * @return    array\n     */\n    public static function LINEST($yValues, $xValues = null, $const = true, $stats = false)\n    {\n        $const = (is_null($const)) ? true : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);\n        $stats = (is_null($stats)) ? false : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);\n        if (is_null($xValues)) {\n            $xValues = range(1, count(PHPExcel_Calculation_Functions::flattenArray($yValues)));\n        }\n\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return 0;\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues, $const);\n        if ($stats) {\n            return array(\n                array(\n                    $bestFitLinear->getSlope(),\n                    $bestFitLinear->getSlopeSE(),\n                    $bestFitLinear->getGoodnessOfFit(),\n                    $bestFitLinear->getF(),\n                    $bestFitLinear->getSSRegression(),\n                ),\n                array(\n                    $bestFitLinear->getIntersect(),\n                    $bestFitLinear->getIntersectSE(),\n                    $bestFitLinear->getStdevOfResiduals(),\n                    $bestFitLinear->getDFResiduals(),\n                    $bestFitLinear->getSSResiduals()\n                )\n            );\n        } else {\n            return array(\n                $bestFitLinear->getSlope(),\n                $bestFitLinear->getIntersect()\n            );\n        }\n    }\n\n\n    /**\n     * LOGEST\n     *\n     * Calculates an exponential curve that best fits the X and Y data series,\n     *        and then returns an array that describes the line.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @param    boolean                A logical value specifying whether to force the intersect to equal 0.\n     * @param    boolean                A logical value specifying whether to return additional regression statistics.\n     * @return    array\n     */\n    public static function LOGEST($yValues, $xValues = null, $const = true, $stats = false)\n    {\n        $const = (is_null($const)) ? true : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);\n        $stats = (is_null($stats)) ? false : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);\n        if (is_null($xValues)) {\n            $xValues = range(1, count(PHPExcel_Calculation_Functions::flattenArray($yValues)));\n        }\n\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        foreach ($yValues as $value) {\n            if ($value <= 0.0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n        }\n\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return 1;\n        }\n\n        $bestFitExponential = trendClass::calculate(trendClass::TREND_EXPONENTIAL, $yValues, $xValues, $const);\n        if ($stats) {\n            return array(\n                array(\n                    $bestFitExponential->getSlope(),\n                    $bestFitExponential->getSlopeSE(),\n                    $bestFitExponential->getGoodnessOfFit(),\n                    $bestFitExponential->getF(),\n                    $bestFitExponential->getSSRegression(),\n                ),\n                array(\n                    $bestFitExponential->getIntersect(),\n                    $bestFitExponential->getIntersectSE(),\n                    $bestFitExponential->getStdevOfResiduals(),\n                    $bestFitExponential->getDFResiduals(),\n                    $bestFitExponential->getSSResiduals()\n                )\n            );\n        } else {\n            return array(\n                $bestFitExponential->getSlope(),\n                $bestFitExponential->getIntersect()\n            );\n        }\n    }\n\n\n    /**\n     * LOGINV\n     *\n     * Returns the inverse of the normal cumulative distribution\n     *\n     * @param    float        $probability\n     * @param    float        $mean\n     * @param    float        $stdDev\n     * @return    float\n     *\n     * @todo    Try implementing P J Acklam's refinement algorithm for greater\n     *            accuracy if I can get my head round the mathematics\n     *            (as described at) http://home.online.no/~pjacklam/notes/invnorm/\n     */\n    public static function LOGINV($probability, $mean, $stdDev)\n    {\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $mean        = PHPExcel_Calculation_Functions::flattenSingleValue($mean);\n        $stdDev      = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev);\n\n        if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) {\n            if (($probability < 0) || ($probability > 1) || ($stdDev <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return exp($mean + $stdDev * self::NORMSINV($probability));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * LOGNORMDIST\n     *\n     * Returns the cumulative lognormal distribution of x, where ln(x) is normally distributed\n     * with parameters mean and standard_dev.\n     *\n     * @param    float        $value\n     * @param    float        $mean\n     * @param    float        $stdDev\n     * @return    float\n     */\n    public static function LOGNORMDIST($value, $mean, $stdDev)\n    {\n        $value  = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $mean   = PHPExcel_Calculation_Functions::flattenSingleValue($mean);\n        $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev);\n\n        if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) {\n            if (($value <= 0) || ($stdDev <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return self::NORMSDIST((log($value) - $mean) / $stdDev);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * MAX\n     *\n     * MAX returns the value of the element of the values passed that has the highest value,\n     *        with negative numbers considered smaller than positive numbers.\n     *\n     * Excel Function:\n     *        MAX(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function MAX()\n    {\n        $returnValue = null;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                if ((is_null($returnValue)) || ($arg > $returnValue)) {\n                    $returnValue = $arg;\n                }\n            }\n        }\n\n        if (is_null($returnValue)) {\n            return 0;\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * MAXA\n     *\n     * Returns the greatest value in a list of arguments, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        MAXA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function MAXA()\n    {\n        $returnValue = null;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {\n                if (is_bool($arg)) {\n                    $arg = (integer) $arg;\n                } elseif (is_string($arg)) {\n                    $arg = 0;\n                }\n                if ((is_null($returnValue)) || ($arg > $returnValue)) {\n                    $returnValue = $arg;\n                }\n            }\n        }\n\n        if (is_null($returnValue)) {\n            return 0;\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * MAXIF\n     *\n     * Counts the maximum value within a range of cells that contain numbers within the list of arguments\n     *\n     * Excel Function:\n     *        MAXIF(value1[,value2[, ...]],condition)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    string        $condition        The criteria that defines which cells will be checked.\n     * @return    float\n     */\n    public static function MAXIF($aArgs, $condition, $sumArgs = array())\n    {\n        $returnValue = null;\n\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs);\n        $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs);\n        if (empty($sumArgs)) {\n            $sumArgs = $aArgs;\n        }\n        $condition = PHPExcel_Calculation_Functions::ifCondition($condition);\n        // Loop through arguments\n        foreach ($aArgs as $key => $arg) {\n            if (!is_numeric($arg)) {\n                $arg = PHPExcel_Calculation::wrapResult(strtoupper($arg));\n            }\n            $testCondition = '='.$arg.$condition;\n            if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {\n                if ((is_null($returnValue)) || ($arg > $returnValue)) {\n                    $returnValue = $arg;\n                }\n            }\n        }\n\n        return $returnValue;\n    }\n\n    /**\n     * MEDIAN\n     *\n     * Returns the median of the given numbers. The median is the number in the middle of a set of numbers.\n     *\n     * Excel Function:\n     *        MEDIAN(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function MEDIAN()\n    {\n        $returnValue = PHPExcel_Calculation_Functions::NaN();\n\n        $mArgs = array();\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                $mArgs[] = $arg;\n            }\n        }\n\n        $mValueCount = count($mArgs);\n        if ($mValueCount > 0) {\n            sort($mArgs, SORT_NUMERIC);\n            $mValueCount = $mValueCount / 2;\n            if ($mValueCount == floor($mValueCount)) {\n                $returnValue = ($mArgs[$mValueCount--] + $mArgs[$mValueCount]) / 2;\n            } else {\n                $mValueCount = floor($mValueCount);\n                $returnValue = $mArgs[$mValueCount];\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * MIN\n     *\n     * MIN returns the value of the element of the values passed that has the smallest value,\n     *        with negative numbers considered smaller than positive numbers.\n     *\n     * Excel Function:\n     *        MIN(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function MIN()\n    {\n        $returnValue = null;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                if ((is_null($returnValue)) || ($arg < $returnValue)) {\n                    $returnValue = $arg;\n                }\n            }\n        }\n\n        if (is_null($returnValue)) {\n            return 0;\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * MINA\n     *\n     * Returns the smallest value in a list of arguments, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        MINA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function MINA()\n    {\n        $returnValue = null;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) {\n                if (is_bool($arg)) {\n                    $arg = (integer) $arg;\n                } elseif (is_string($arg)) {\n                    $arg = 0;\n                }\n                if ((is_null($returnValue)) || ($arg < $returnValue)) {\n                    $returnValue = $arg;\n                }\n            }\n        }\n\n        if (is_null($returnValue)) {\n            return 0;\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * MINIF\n     *\n     * Returns the minimum value within a range of cells that contain numbers within the list of arguments\n     *\n     * Excel Function:\n     *        MINIF(value1[,value2[, ...]],condition)\n     *\n     * @access    public\n     * @category Mathematical and Trigonometric Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    string        $condition        The criteria that defines which cells will be checked.\n     * @return    float\n     */\n    public static function MINIF($aArgs, $condition, $sumArgs = array())\n    {\n        $returnValue = null;\n\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs);\n        $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs);\n        if (empty($sumArgs)) {\n            $sumArgs = $aArgs;\n        }\n        $condition = PHPExcel_Calculation_Functions::ifCondition($condition);\n        // Loop through arguments\n        foreach ($aArgs as $key => $arg) {\n            if (!is_numeric($arg)) {\n                $arg = PHPExcel_Calculation::wrapResult(strtoupper($arg));\n            }\n            $testCondition = '='.$arg.$condition;\n            if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {\n                if ((is_null($returnValue)) || ($arg < $returnValue)) {\n                    $returnValue = $arg;\n                }\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    //\n    //    Special variant of array_count_values that isn't limited to strings and integers,\n    //        but can work with floating point numbers as values\n    //\n    private static function modeCalc($data)\n    {\n        $frequencyArray = array();\n        foreach ($data as $datum) {\n            $found = false;\n            foreach ($frequencyArray as $key => $value) {\n                if ((string) $value['value'] == (string) $datum) {\n                    ++$frequencyArray[$key]['frequency'];\n                    $found = true;\n                    break;\n                }\n            }\n            if (!$found) {\n                $frequencyArray[] = array(\n                    'value'     => $datum,\n                    'frequency' => 1\n                );\n            }\n        }\n\n        foreach ($frequencyArray as $key => $value) {\n            $frequencyList[$key] = $value['frequency'];\n            $valueList[$key] = $value['value'];\n        }\n        array_multisort($frequencyList, SORT_DESC, $valueList, SORT_ASC, SORT_NUMERIC, $frequencyArray);\n\n        if ($frequencyArray[0]['frequency'] == 1) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n        return $frequencyArray[0]['value'];\n    }\n\n\n    /**\n     * MODE\n     *\n     * Returns the most frequently occurring, or repetitive, value in an array or range of data\n     *\n     * Excel Function:\n     *        MODE(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function MODE()\n    {\n        $returnValue = PHPExcel_Calculation_Functions::NA();\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        $mArgs = array();\n        foreach ($aArgs as $arg) {\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                $mArgs[] = $arg;\n            }\n        }\n\n        if (!empty($mArgs)) {\n            return self::modeCalc($mArgs);\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * NEGBINOMDIST\n     *\n     * Returns the negative binomial distribution. NEGBINOMDIST returns the probability that\n     *        there will be number_f failures before the number_s-th success, when the constant\n     *        probability of a success is probability_s. This function is similar to the binomial\n     *        distribution, except that the number of successes is fixed, and the number of trials is\n     *        variable. Like the binomial, trials are assumed to be independent.\n     *\n     * @param    float        $failures        Number of Failures\n     * @param    float        $successes        Threshold number of Successes\n     * @param    float        $probability    Probability of success on each trial\n     * @return    float\n     *\n     */\n    public static function NEGBINOMDIST($failures, $successes, $probability)\n    {\n        $failures    = floor(PHPExcel_Calculation_Functions::flattenSingleValue($failures));\n        $successes   = floor(PHPExcel_Calculation_Functions::flattenSingleValue($successes));\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n\n        if ((is_numeric($failures)) && (is_numeric($successes)) && (is_numeric($probability))) {\n            if (($failures < 0) || ($successes < 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            } elseif (($probability < 0) || ($probability > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) {\n                if (($failures + $successes - 1) <= 0) {\n                    return PHPExcel_Calculation_Functions::NaN();\n                }\n            }\n            return (PHPExcel_Calculation_MathTrig::COMBIN($failures + $successes - 1, $successes - 1)) * (pow($probability, $successes)) * (pow(1 - $probability, $failures));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * NORMDIST\n     *\n     * Returns the normal distribution for the specified mean and standard deviation. This\n     * function has a very wide range of applications in statistics, including hypothesis\n     * testing.\n     *\n     * @param    float        $value\n     * @param    float        $mean        Mean Value\n     * @param    float        $stdDev        Standard Deviation\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function NORMDIST($value, $mean, $stdDev, $cumulative)\n    {\n        $value  = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $mean   = PHPExcel_Calculation_Functions::flattenSingleValue($mean);\n        $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev);\n\n        if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) {\n            if ($stdDev < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ((is_numeric($cumulative)) || (is_bool($cumulative))) {\n                if ($cumulative) {\n                    return 0.5 * (1 + PHPExcel_Calculation_Engineering::erfVal(($value - $mean) / ($stdDev * sqrt(2))));\n                } else {\n                    return (1 / (SQRT2PI * $stdDev)) * exp(0 - (pow($value - $mean, 2) / (2 * ($stdDev * $stdDev))));\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * NORMINV\n     *\n     * Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.\n     *\n     * @param    float        $value\n     * @param    float        $mean        Mean Value\n     * @param    float        $stdDev        Standard Deviation\n     * @return    float\n     *\n     */\n    public static function NORMINV($probability, $mean, $stdDev)\n    {\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $mean        = PHPExcel_Calculation_Functions::flattenSingleValue($mean);\n        $stdDev      = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev);\n\n        if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) {\n            if (($probability < 0) || ($probability > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ($stdDev < 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return (self::inverseNcdf($probability) * $stdDev) + $mean;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * NORMSDIST\n     *\n     * Returns the standard normal cumulative distribution function. The distribution has\n     * a mean of 0 (zero) and a standard deviation of one. Use this function in place of a\n     * table of standard normal curve areas.\n     *\n     * @param    float        $value\n     * @return    float\n     */\n    public static function NORMSDIST($value)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n\n        return self::NORMDIST($value, 0, 1, true);\n    }\n\n\n    /**\n     * NORMSINV\n     *\n     * Returns the inverse of the standard normal cumulative distribution\n     *\n     * @param    float        $value\n     * @return    float\n     */\n    public static function NORMSINV($value)\n    {\n        return self::NORMINV($value, 0, 1);\n    }\n\n\n    /**\n     * PERCENTILE\n     *\n     * Returns the nth percentile of values in a range..\n     *\n     * Excel Function:\n     *        PERCENTILE(value1[,value2[, ...]],entry)\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    float        $entry            Percentile value in the range 0..1, inclusive.\n     * @return    float\n     */\n    public static function PERCENTILE()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $entry = array_pop($aArgs);\n\n        if ((is_numeric($entry)) && (!is_string($entry))) {\n            if (($entry < 0) || ($entry > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $mArgs = array();\n            foreach ($aArgs as $arg) {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    $mArgs[] = $arg;\n                }\n            }\n            $mValueCount = count($mArgs);\n            if ($mValueCount > 0) {\n                sort($mArgs);\n                $count = self::COUNT($mArgs);\n                $index = $entry * ($count-1);\n                $iBase = floor($index);\n                if ($index == $iBase) {\n                    return $mArgs[$index];\n                } else {\n                    $iNext = $iBase + 1;\n                    $iProportion = $index - $iBase;\n                    return $mArgs[$iBase] + (($mArgs[$iNext] - $mArgs[$iBase]) * $iProportion) ;\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * PERCENTRANK\n     *\n     * Returns the rank of a value in a data set as a percentage of the data set.\n     *\n     * @param    array of number        An array of, or a reference to, a list of numbers.\n     * @param    number                The number whose rank you want to find.\n     * @param    number                The number of significant digits for the returned percentage value.\n     * @return    float\n     */\n    public static function PERCENTRANK($valueSet, $value, $significance = 3)\n    {\n        $valueSet     = PHPExcel_Calculation_Functions::flattenArray($valueSet);\n        $value        = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $significance = (is_null($significance)) ? 3 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($significance);\n\n        foreach ($valueSet as $key => $valueEntry) {\n            if (!is_numeric($valueEntry)) {\n                unset($valueSet[$key]);\n            }\n        }\n        sort($valueSet, SORT_NUMERIC);\n        $valueCount = count($valueSet);\n        if ($valueCount == 0) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        $valueAdjustor = $valueCount - 1;\n        if (($value < $valueSet[0]) || ($value > $valueSet[$valueAdjustor])) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n\n        $pos = array_search($value, $valueSet);\n        if ($pos === false) {\n            $pos = 0;\n            $testValue = $valueSet[0];\n            while ($testValue < $value) {\n                $testValue = $valueSet[++$pos];\n            }\n            --$pos;\n            $pos += (($value - $valueSet[$pos]) / ($testValue - $valueSet[$pos]));\n        }\n\n        return round($pos / $valueAdjustor, $significance);\n    }\n\n\n    /**\n     * PERMUT\n     *\n     * Returns the number of permutations for a given number of objects that can be\n     *        selected from number objects. A permutation is any set or subset of objects or\n     *        events where internal order is significant. Permutations are different from\n     *        combinations, for which the internal order is not significant. Use this function\n     *        for lottery-style probability calculations.\n     *\n     * @param    int        $numObjs    Number of different objects\n     * @param    int        $numInSet    Number of objects in each permutation\n     * @return    int        Number of permutations\n     */\n    public static function PERMUT($numObjs, $numInSet)\n    {\n        $numObjs  = PHPExcel_Calculation_Functions::flattenSingleValue($numObjs);\n        $numInSet = PHPExcel_Calculation_Functions::flattenSingleValue($numInSet);\n\n        if ((is_numeric($numObjs)) && (is_numeric($numInSet))) {\n            $numInSet = floor($numInSet);\n            if ($numObjs < $numInSet) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return round(PHPExcel_Calculation_MathTrig::FACT($numObjs) / PHPExcel_Calculation_MathTrig::FACT($numObjs - $numInSet));\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * POISSON\n     *\n     * Returns the Poisson distribution. A common application of the Poisson distribution\n     * is predicting the number of events over a specific time, such as the number of\n     * cars arriving at a toll plaza in 1 minute.\n     *\n     * @param    float        $value\n     * @param    float        $mean        Mean Value\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function POISSON($value, $mean, $cumulative)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $mean  = PHPExcel_Calculation_Functions::flattenSingleValue($mean);\n\n        if ((is_numeric($value)) && (is_numeric($mean))) {\n            if (($value < 0) || ($mean <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ((is_numeric($cumulative)) || (is_bool($cumulative))) {\n                if ($cumulative) {\n                    $summer = 0;\n                    for ($i = 0; $i <= floor($value); ++$i) {\n                        $summer += pow($mean, $i) / PHPExcel_Calculation_MathTrig::FACT($i);\n                    }\n                    return exp(0-$mean) * $summer;\n                } else {\n                    return (exp(0-$mean) * pow($mean, $value)) / PHPExcel_Calculation_MathTrig::FACT($value);\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * QUARTILE\n     *\n     * Returns the quartile of a data set.\n     *\n     * Excel Function:\n     *        QUARTILE(value1[,value2[, ...]],entry)\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    int            $entry            Quartile value in the range 1..3, inclusive.\n     * @return    float\n     */\n    public static function QUARTILE()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $entry = floor(array_pop($aArgs));\n\n        if ((is_numeric($entry)) && (!is_string($entry))) {\n            $entry /= 4;\n            if (($entry < 0) || ($entry > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return self::PERCENTILE($aArgs, $entry);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * RANK\n     *\n     * Returns the rank of a number in a list of numbers.\n     *\n     * @param    number                The number whose rank you want to find.\n     * @param    array of number        An array of, or a reference to, a list of numbers.\n     * @param    mixed                Order to sort the values in the value set\n     * @return    float\n     */\n    public static function RANK($value, $valueSet, $order = 0)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $valueSet = PHPExcel_Calculation_Functions::flattenArray($valueSet);\n        $order = (is_null($order)) ? 0 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($order);\n\n        foreach ($valueSet as $key => $valueEntry) {\n            if (!is_numeric($valueEntry)) {\n                unset($valueSet[$key]);\n            }\n        }\n\n        if ($order == 0) {\n            rsort($valueSet, SORT_NUMERIC);\n        } else {\n            sort($valueSet, SORT_NUMERIC);\n        }\n        $pos = array_search($value, $valueSet);\n        if ($pos === false) {\n            return PHPExcel_Calculation_Functions::NA();\n        }\n\n        return ++$pos;\n    }\n\n\n    /**\n     * RSQ\n     *\n     * Returns the square of the Pearson product moment correlation coefficient through data points in known_y's and known_x's.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function RSQ($yValues, $xValues)\n    {\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getGoodnessOfFit();\n    }\n\n\n    /**\n     * SKEW\n     *\n     * Returns the skewness of a distribution. Skewness characterizes the degree of asymmetry\n     * of a distribution around its mean. Positive skewness indicates a distribution with an\n     * asymmetric tail extending toward more positive values. Negative skewness indicates a\n     * distribution with an asymmetric tail extending toward more negative values.\n     *\n     * @param    array    Data Series\n     * @return    float\n     */\n    public static function SKEW()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n        $mean = self::AVERAGE($aArgs);\n        $stdDev = self::STDEV($aArgs);\n\n        $count = $summer = 0;\n        // Loop through arguments\n        foreach ($aArgs as $k => $arg) {\n            if ((is_bool($arg)) &&\n                (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n            } else {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    $summer += pow((($arg - $mean) / $stdDev), 3);\n                    ++$count;\n                }\n            }\n        }\n\n        if ($count > 2) {\n            return $summer * ($count / (($count-1) * ($count-2)));\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * SLOPE\n     *\n     * Returns the slope of the linear regression line through data points in known_y's and known_x's.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function SLOPE($yValues, $xValues)\n    {\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getSlope();\n    }\n\n\n    /**\n     * SMALL\n     *\n     * Returns the nth smallest value in a data set. You can use this function to\n     *        select a value based on its relative standing.\n     *\n     * Excel Function:\n     *        SMALL(value1[,value2[, ...]],entry)\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    int            $entry            Position (ordered from the smallest) in the array or range of data to return\n     * @return    float\n     */\n    public static function SMALL()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $entry = array_pop($aArgs);\n\n        if ((is_numeric($entry)) && (!is_string($entry))) {\n            $mArgs = array();\n            foreach ($aArgs as $arg) {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    $mArgs[] = $arg;\n                }\n            }\n            $count = self::COUNT($mArgs);\n            $entry = floor(--$entry);\n            if (($entry < 0) || ($entry >= $count) || ($count == 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            sort($mArgs);\n            return $mArgs[$entry];\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * STANDARDIZE\n     *\n     * Returns a normalized value from a distribution characterized by mean and standard_dev.\n     *\n     * @param    float    $value        Value to normalize\n     * @param    float    $mean        Mean Value\n     * @param    float    $stdDev        Standard Deviation\n     * @return    float    Standardized value\n     */\n    public static function STANDARDIZE($value, $mean, $stdDev)\n    {\n        $value  = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $mean   = PHPExcel_Calculation_Functions::flattenSingleValue($mean);\n        $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev);\n\n        if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) {\n            if ($stdDev <= 0) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            return ($value - $mean) / $stdDev ;\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * STDEV\n     *\n     * Estimates standard deviation based on a sample. The standard deviation is a measure of how\n     *        widely values are dispersed from the average value (the mean).\n     *\n     * Excel Function:\n     *        STDEV(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function STDEV()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n\n        // Return value\n        $returnValue = null;\n\n        $aMean = self::AVERAGE($aArgs);\n        if (!is_null($aMean)) {\n            $aCount = -1;\n            foreach ($aArgs as $k => $arg) {\n                if ((is_bool($arg)) &&\n                    ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) {\n                    $arg = (integer) $arg;\n                }\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    if (is_null($returnValue)) {\n                        $returnValue = pow(($arg - $aMean), 2);\n                    } else {\n                        $returnValue += pow(($arg - $aMean), 2);\n                    }\n                    ++$aCount;\n                }\n            }\n\n            // Return\n            if (($aCount > 0) && ($returnValue >= 0)) {\n                return sqrt($returnValue / $aCount);\n            }\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * STDEVA\n     *\n     * Estimates standard deviation based on a sample, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        STDEVA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function STDEVA()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n\n        $returnValue = null;\n\n        $aMean = self::AVERAGEA($aArgs);\n        if (!is_null($aMean)) {\n            $aCount = -1;\n            foreach ($aArgs as $k => $arg) {\n                if ((is_bool($arg)) &&\n                    (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n                } else {\n                    // Is it a numeric value?\n                    if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) {\n                        if (is_bool($arg)) {\n                            $arg = (integer) $arg;\n                        } elseif (is_string($arg)) {\n                            $arg = 0;\n                        }\n                        if (is_null($returnValue)) {\n                            $returnValue = pow(($arg - $aMean), 2);\n                        } else {\n                            $returnValue += pow(($arg - $aMean), 2);\n                        }\n                        ++$aCount;\n                    }\n                }\n            }\n\n            if (($aCount > 0) && ($returnValue >= 0)) {\n                return sqrt($returnValue / $aCount);\n            }\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * STDEVP\n     *\n     * Calculates standard deviation based on the entire population\n     *\n     * Excel Function:\n     *        STDEVP(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function STDEVP()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n\n        $returnValue = null;\n\n        $aMean = self::AVERAGE($aArgs);\n        if (!is_null($aMean)) {\n            $aCount = 0;\n            foreach ($aArgs as $k => $arg) {\n                if ((is_bool($arg)) &&\n                    ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) {\n                    $arg = (integer) $arg;\n                }\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    if (is_null($returnValue)) {\n                        $returnValue = pow(($arg - $aMean), 2);\n                    } else {\n                        $returnValue += pow(($arg - $aMean), 2);\n                    }\n                    ++$aCount;\n                }\n            }\n\n            if (($aCount > 0) && ($returnValue >= 0)) {\n                return sqrt($returnValue / $aCount);\n            }\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * STDEVPA\n     *\n     * Calculates standard deviation based on the entire population, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        STDEVPA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function STDEVPA()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n\n        $returnValue = null;\n\n        $aMean = self::AVERAGEA($aArgs);\n        if (!is_null($aMean)) {\n            $aCount = 0;\n            foreach ($aArgs as $k => $arg) {\n                if ((is_bool($arg)) &&\n                    (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n                } else {\n                    // Is it a numeric value?\n                    if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) {\n                        if (is_bool($arg)) {\n                            $arg = (integer) $arg;\n                        } elseif (is_string($arg)) {\n                            $arg = 0;\n                        }\n                        if (is_null($returnValue)) {\n                            $returnValue = pow(($arg - $aMean), 2);\n                        } else {\n                            $returnValue += pow(($arg - $aMean), 2);\n                        }\n                        ++$aCount;\n                    }\n                }\n            }\n\n            if (($aCount > 0) && ($returnValue >= 0)) {\n                return sqrt($returnValue / $aCount);\n            }\n        }\n        return PHPExcel_Calculation_Functions::DIV0();\n    }\n\n\n    /**\n     * STEYX\n     *\n     * Returns the standard error of the predicted y-value for each x in the regression.\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @return    float\n     */\n    public static function STEYX($yValues, $xValues)\n    {\n        if (!self::checkTrendArrays($yValues, $xValues)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $yValueCount = count($yValues);\n        $xValueCount = count($xValues);\n\n        if (($yValueCount == 0) || ($yValueCount != $xValueCount)) {\n            return PHPExcel_Calculation_Functions::NA();\n        } elseif ($yValueCount == 1) {\n            return PHPExcel_Calculation_Functions::DIV0();\n        }\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues);\n        return $bestFitLinear->getStdevOfResiduals();\n    }\n\n\n    /**\n     * TDIST\n     *\n     * Returns the probability of Student's T distribution.\n     *\n     * @param    float        $value            Value for the function\n     * @param    float        $degrees        degrees of freedom\n     * @param    float        $tails            number of tails (1 or 2)\n     * @return    float\n     */\n    public static function TDIST($value, $degrees, $tails)\n    {\n        $value        = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $degrees    = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees));\n        $tails        = floor(PHPExcel_Calculation_Functions::flattenSingleValue($tails));\n\n        if ((is_numeric($value)) && (is_numeric($degrees)) && (is_numeric($tails))) {\n            if (($value < 0) || ($degrees < 1) || ($tails < 1) || ($tails > 2)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            //    tdist, which finds the probability that corresponds to a given value\n            //    of t with k degrees of freedom. This algorithm is translated from a\n            //    pascal function on p81 of \"Statistical Computing in Pascal\" by D\n            //    Cooke, A H Craven & G M Clark (1985: Edward Arnold (Pubs.) Ltd:\n            //    London). The above Pascal algorithm is itself a translation of the\n            //    fortran algoritm \"AS 3\" by B E Cooper of the Atlas Computer\n            //    Laboratory as reported in (among other places) \"Applied Statistics\n            //    Algorithms\", editied by P Griffiths and I D Hill (1985; Ellis\n            //    Horwood Ltd.; W. Sussex, England).\n            $tterm = $degrees;\n            $ttheta = atan2($value, sqrt($tterm));\n            $tc = cos($ttheta);\n            $ts = sin($ttheta);\n            $tsum = 0;\n\n            if (($degrees % 2) == 1) {\n                $ti = 3;\n                $tterm = $tc;\n            } else {\n                $ti = 2;\n                $tterm = 1;\n            }\n\n            $tsum = $tterm;\n            while ($ti < $degrees) {\n                $tterm *= $tc * $tc * ($ti - 1) / $ti;\n                $tsum += $tterm;\n                $ti += 2;\n            }\n            $tsum *= $ts;\n            if (($degrees % 2) == 1) {\n                $tsum = M_2DIVPI * ($tsum + $ttheta);\n            }\n            $tValue = 0.5 * (1 + $tsum);\n            if ($tails == 1) {\n                return 1 - abs($tValue);\n            } else {\n                return 1 - abs((1 - $tValue) - $tValue);\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * TINV\n     *\n     * Returns the one-tailed probability of the chi-squared distribution.\n     *\n     * @param    float        $probability    Probability for the function\n     * @param    float        $degrees        degrees of freedom\n     * @return    float\n     */\n    public static function TINV($probability, $degrees)\n    {\n        $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability);\n        $degrees     = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees));\n\n        if ((is_numeric($probability)) && (is_numeric($degrees))) {\n            $xLo = 100;\n            $xHi = 0;\n\n            $x = $xNew = 1;\n            $dx    = 1;\n            $i = 0;\n\n            while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) {\n                // Apply Newton-Raphson step\n                $result = self::TDIST($x, $degrees, 2);\n                $error = $result - $probability;\n                if ($error == 0.0) {\n                    $dx = 0;\n                } elseif ($error < 0.0) {\n                    $xLo = $x;\n                } else {\n                    $xHi = $x;\n                }\n                // Avoid division by zero\n                if ($result != 0.0) {\n                    $dx = $error / $result;\n                    $xNew = $x - $dx;\n                }\n                // If the NR fails to converge (which for example may be the\n                // case if the initial guess is too rough) we apply a bisection\n                // step to determine a more narrow interval around the root.\n                if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) {\n                    $xNew = ($xLo + $xHi) / 2;\n                    $dx = $xNew - $x;\n                }\n                $x = $xNew;\n            }\n            if ($i == MAX_ITERATIONS) {\n                return PHPExcel_Calculation_Functions::NA();\n            }\n            return round($x, 12);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * TREND\n     *\n     * Returns values along a linear trend\n     *\n     * @param    array of mixed        Data Series Y\n     * @param    array of mixed        Data Series X\n     * @param    array of mixed        Values of X for which we want to find Y\n     * @param    boolean                A logical value specifying whether to force the intersect to equal 0.\n     * @return    array of float\n     */\n    public static function TREND($yValues, $xValues = array(), $newValues = array(), $const = true)\n    {\n        $yValues = PHPExcel_Calculation_Functions::flattenArray($yValues);\n        $xValues = PHPExcel_Calculation_Functions::flattenArray($xValues);\n        $newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);\n        $const = (is_null($const)) ? true : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);\n\n        $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR, $yValues, $xValues, $const);\n        if (empty($newValues)) {\n            $newValues = $bestFitLinear->getXValues();\n        }\n\n        $returnArray = array();\n        foreach ($newValues as $xValue) {\n            $returnArray[0][] = $bestFitLinear->getValueOfYForX($xValue);\n        }\n\n        return $returnArray;\n    }\n\n\n    /**\n     * TRIMMEAN\n     *\n     * Returns the mean of the interior of a data set. TRIMMEAN calculates the mean\n     *        taken by excluding a percentage of data points from the top and bottom tails\n     *        of a data set.\n     *\n     * Excel Function:\n     *        TRIMEAN(value1[,value2[, ...]], $discard)\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @param    float        $discard        Percentage to discard\n     * @return    float\n     */\n    public static function TRIMMEAN()\n    {\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n\n        // Calculate\n        $percent = array_pop($aArgs);\n\n        if ((is_numeric($percent)) && (!is_string($percent))) {\n            if (($percent < 0) || ($percent > 1)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            $mArgs = array();\n            foreach ($aArgs as $arg) {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) && (!is_string($arg))) {\n                    $mArgs[] = $arg;\n                }\n            }\n            $discard = floor(self::COUNT($mArgs) * $percent / 2);\n            sort($mArgs);\n            for ($i=0; $i < $discard; ++$i) {\n                array_pop($mArgs);\n                array_shift($mArgs);\n            }\n            return self::AVERAGE($mArgs);\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * VARFunc\n     *\n     * Estimates variance based on a sample.\n     *\n     * Excel Function:\n     *        VAR(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function VARFunc()\n    {\n        $returnValue = PHPExcel_Calculation_Functions::DIV0();\n\n        $summerA = $summerB = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        $aCount = 0;\n        foreach ($aArgs as $arg) {\n            if (is_bool($arg)) {\n                $arg = (integer) $arg;\n            }\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                $summerA += ($arg * $arg);\n                $summerB += $arg;\n                ++$aCount;\n            }\n        }\n\n        if ($aCount > 1) {\n            $summerA *= $aCount;\n            $summerB *= $summerB;\n            $returnValue = ($summerA - $summerB) / ($aCount * ($aCount - 1));\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * VARA\n     *\n     * Estimates variance based on a sample, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        VARA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function VARA()\n    {\n        $returnValue = PHPExcel_Calculation_Functions::DIV0();\n\n        $summerA = $summerB = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n        $aCount = 0;\n        foreach ($aArgs as $k => $arg) {\n            if ((is_string($arg)) &&\n                (PHPExcel_Calculation_Functions::isValue($k))) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            } elseif ((is_string($arg)) &&\n                (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n            } else {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) {\n                    if (is_bool($arg)) {\n                        $arg = (integer) $arg;\n                    } elseif (is_string($arg)) {\n                        $arg = 0;\n                    }\n                    $summerA += ($arg * $arg);\n                    $summerB += $arg;\n                    ++$aCount;\n                }\n            }\n        }\n\n        if ($aCount > 1) {\n            $summerA *= $aCount;\n            $summerB *= $summerB;\n            $returnValue = ($summerA - $summerB) / ($aCount * ($aCount - 1));\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * VARP\n     *\n     * Calculates variance based on the entire population\n     *\n     * Excel Function:\n     *        VARP(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function VARP()\n    {\n        // Return value\n        $returnValue = PHPExcel_Calculation_Functions::DIV0();\n\n        $summerA = $summerB = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        $aCount = 0;\n        foreach ($aArgs as $arg) {\n            if (is_bool($arg)) {\n                $arg = (integer) $arg;\n            }\n            // Is it a numeric value?\n            if ((is_numeric($arg)) && (!is_string($arg))) {\n                $summerA += ($arg * $arg);\n                $summerB += $arg;\n                ++$aCount;\n            }\n        }\n\n        if ($aCount > 0) {\n            $summerA *= $aCount;\n            $summerB *= $summerB;\n            $returnValue = ($summerA - $summerB) / ($aCount * $aCount);\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * VARPA\n     *\n     * Calculates variance based on the entire population, including numbers, text, and logical values\n     *\n     * Excel Function:\n     *        VARPA(value1[,value2[, ...]])\n     *\n     * @access    public\n     * @category Statistical Functions\n     * @param    mixed        $arg,...        Data values\n     * @return    float\n     */\n    public static function VARPA()\n    {\n        $returnValue = PHPExcel_Calculation_Functions::DIV0();\n\n        $summerA = $summerB = 0;\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args());\n        $aCount = 0;\n        foreach ($aArgs as $k => $arg) {\n            if ((is_string($arg)) &&\n                (PHPExcel_Calculation_Functions::isValue($k))) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            } elseif ((is_string($arg)) &&\n                (!PHPExcel_Calculation_Functions::isMatrixValue($k))) {\n            } else {\n                // Is it a numeric value?\n                if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) {\n                    if (is_bool($arg)) {\n                        $arg = (integer) $arg;\n                    } elseif (is_string($arg)) {\n                        $arg = 0;\n                    }\n                    $summerA += ($arg * $arg);\n                    $summerB += $arg;\n                    ++$aCount;\n                }\n            }\n        }\n\n        if ($aCount > 0) {\n            $summerA *= $aCount;\n            $summerB *= $summerB;\n            $returnValue = ($summerA - $summerB) / ($aCount * $aCount);\n        }\n        return $returnValue;\n    }\n\n\n    /**\n     * WEIBULL\n     *\n     * Returns the Weibull distribution. Use this distribution in reliability\n     * analysis, such as calculating a device's mean time to failure.\n     *\n     * @param    float        $value\n     * @param    float        $alpha        Alpha Parameter\n     * @param    float        $beta        Beta Parameter\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function WEIBULL($value, $alpha, $beta, $cumulative)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha);\n        $beta  = PHPExcel_Calculation_Functions::flattenSingleValue($beta);\n\n        if ((is_numeric($value)) && (is_numeric($alpha)) && (is_numeric($beta))) {\n            if (($value < 0) || ($alpha <= 0) || ($beta <= 0)) {\n                return PHPExcel_Calculation_Functions::NaN();\n            }\n            if ((is_numeric($cumulative)) || (is_bool($cumulative))) {\n                if ($cumulative) {\n                    return 1 - exp(0 - pow($value / $beta, $alpha));\n                } else {\n                    return ($alpha / pow($beta, $alpha)) * pow($value, $alpha - 1) * exp(0 - pow($value / $beta, $alpha));\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * ZTEST\n     *\n     * Returns the Weibull distribution. Use this distribution in reliability\n     * analysis, such as calculating a device's mean time to failure.\n     *\n     * @param    float        $dataSet\n     * @param    float        $m0        Alpha Parameter\n     * @param    float        $sigma    Beta Parameter\n     * @param    boolean        $cumulative\n     * @return    float\n     *\n     */\n    public static function ZTEST($dataSet, $m0, $sigma = null)\n    {\n        $dataSet = PHPExcel_Calculation_Functions::flattenArrayIndexed($dataSet);\n        $m0      = PHPExcel_Calculation_Functions::flattenSingleValue($m0);\n        $sigma   = PHPExcel_Calculation_Functions::flattenSingleValue($sigma);\n\n        if (is_null($sigma)) {\n            $sigma = self::STDEV($dataSet);\n        }\n        $n = count($dataSet);\n\n        return 1 - self::NORMSDIST((self::AVERAGE($dataSet) - $m0) / ($sigma / SQRT($n)));\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/TextData.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Calculation_TextData\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Calculation\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_TextData\n{\n    private static $invalidChars;\n\n    private static function unicodeToOrd($c)\n    {\n        if (ord($c{0}) >=0 && ord($c{0}) <= 127) {\n            return ord($c{0});\n        } elseif (ord($c{0}) >= 192 && ord($c{0}) <= 223) {\n            return (ord($c{0})-192)*64 + (ord($c{1})-128);\n        } elseif (ord($c{0}) >= 224 && ord($c{0}) <= 239) {\n            return (ord($c{0})-224)*4096 + (ord($c{1})-128)*64 + (ord($c{2})-128);\n        } elseif (ord($c{0}) >= 240 && ord($c{0}) <= 247) {\n            return (ord($c{0})-240)*262144 + (ord($c{1})-128)*4096 + (ord($c{2})-128)*64 + (ord($c{3})-128);\n        } elseif (ord($c{0}) >= 248 && ord($c{0}) <= 251) {\n            return (ord($c{0})-248)*16777216 + (ord($c{1})-128)*262144 + (ord($c{2})-128)*4096 + (ord($c{3})-128)*64 + (ord($c{4})-128);\n        } elseif (ord($c{0}) >= 252 && ord($c{0}) <= 253) {\n            return (ord($c{0})-252)*1073741824 + (ord($c{1})-128)*16777216 + (ord($c{2})-128)*262144 + (ord($c{3})-128)*4096 + (ord($c{4})-128)*64 + (ord($c{5})-128);\n        } elseif (ord($c{0}) >= 254 && ord($c{0}) <= 255) {\n            // error\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        return 0;\n    }\n\n    /**\n     * CHARACTER\n     *\n     * @param    string    $character    Value\n     * @return    int\n     */\n    public static function CHARACTER($character)\n    {\n        $character = PHPExcel_Calculation_Functions::flattenSingleValue($character);\n\n        if ((!is_numeric($character)) || ($character < 0)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (function_exists('mb_convert_encoding')) {\n            return mb_convert_encoding('&#'.intval($character).';', 'UTF-8', 'HTML-ENTITIES');\n        } else {\n            return chr(intval($character));\n        }\n    }\n\n\n    /**\n     * TRIMNONPRINTABLE\n     *\n     * @param    mixed    $stringValue    Value to check\n     * @return    string\n     */\n    public static function TRIMNONPRINTABLE($stringValue = '')\n    {\n        $stringValue    = PHPExcel_Calculation_Functions::flattenSingleValue($stringValue);\n\n        if (is_bool($stringValue)) {\n            return ($stringValue) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        if (self::$invalidChars == null) {\n            self::$invalidChars = range(chr(0), chr(31));\n        }\n\n        if (is_string($stringValue) || is_numeric($stringValue)) {\n            return str_replace(self::$invalidChars, '', trim($stringValue, \"\\x00..\\x1F\"));\n        }\n        return null;\n    }\n\n\n    /**\n     * TRIMSPACES\n     *\n     * @param    mixed    $stringValue    Value to check\n     * @return    string\n     */\n    public static function TRIMSPACES($stringValue = '')\n    {\n        $stringValue = PHPExcel_Calculation_Functions::flattenSingleValue($stringValue);\n        if (is_bool($stringValue)) {\n            return ($stringValue) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        if (is_string($stringValue) || is_numeric($stringValue)) {\n            return trim(preg_replace('/ +/', ' ', trim($stringValue, ' ')), ' ');\n        }\n        return null;\n    }\n\n\n    /**\n     * ASCIICODE\n     *\n     * @param    string    $characters        Value\n     * @return    int\n     */\n    public static function ASCIICODE($characters)\n    {\n        if (($characters === null) || ($characters === '')) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        $characters    = PHPExcel_Calculation_Functions::flattenSingleValue($characters);\n        if (is_bool($characters)) {\n            if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                $characters = (int) $characters;\n            } else {\n                $characters = ($characters) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n            }\n        }\n\n        $character = $characters;\n        if ((function_exists('mb_strlen')) && (function_exists('mb_substr'))) {\n            if (mb_strlen($characters, 'UTF-8') > 1) {\n                $character = mb_substr($characters, 0, 1, 'UTF-8');\n            }\n            return self::unicodeToOrd($character);\n        } else {\n            if (strlen($characters) > 0) {\n                $character = substr($characters, 0, 1);\n            }\n            return ord($character);\n        }\n    }\n\n\n    /**\n     * CONCATENATE\n     *\n     * @return    string\n     */\n    public static function CONCATENATE()\n    {\n        $returnValue = '';\n\n        // Loop through arguments\n        $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args());\n        foreach ($aArgs as $arg) {\n            if (is_bool($arg)) {\n                if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n                    $arg = (int) $arg;\n                } else {\n                    $arg = ($arg) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n                }\n            }\n            $returnValue .= $arg;\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * DOLLAR\n     *\n     * This function converts a number to text using currency format, with the decimals rounded to the specified place.\n     * The format used is $#,##0.00_);($#,##0.00)..\n     *\n     * @param    float    $value            The value to format\n     * @param    int        $decimals        The number of digits to display to the right of the decimal point.\n     *                                    If decimals is negative, number is rounded to the left of the decimal point.\n     *                                    If you omit decimals, it is assumed to be 2\n     * @return    string\n     */\n    public static function DOLLAR($value = 0, $decimals = 2)\n    {\n        $value        = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $decimals    = is_null($decimals) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($decimals);\n\n        // Validate parameters\n        if (!is_numeric($value) || !is_numeric($decimals)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $decimals = floor($decimals);\n\n        $mask = '$#,##0';\n        if ($decimals > 0) {\n            $mask .= '.' . str_repeat('0', $decimals);\n        } else {\n            $round = pow(10, abs($decimals));\n            if ($value < 0) {\n                $round = 0-$round;\n            }\n            $value = PHPExcel_Calculation_MathTrig::MROUND($value, $round);\n        }\n\n        return PHPExcel_Style_NumberFormat::toFormattedString($value, $mask);\n\n    }\n\n\n    /**\n     * SEARCHSENSITIVE\n     *\n     * @param    string    $needle        The string to look for\n     * @param    string    $haystack    The string in which to look\n     * @param    int        $offset        Offset within $haystack\n     * @return    string\n     */\n    public static function SEARCHSENSITIVE($needle, $haystack, $offset = 1)\n    {\n        $needle   = PHPExcel_Calculation_Functions::flattenSingleValue($needle);\n        $haystack = PHPExcel_Calculation_Functions::flattenSingleValue($haystack);\n        $offset   = PHPExcel_Calculation_Functions::flattenSingleValue($offset);\n\n        if (!is_bool($needle)) {\n            if (is_bool($haystack)) {\n                $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n            }\n\n            if (($offset > 0) && (PHPExcel_Shared_String::CountCharacters($haystack) > $offset)) {\n                if (PHPExcel_Shared_String::CountCharacters($needle) == 0) {\n                    return $offset;\n                }\n                if (function_exists('mb_strpos')) {\n                    $pos = mb_strpos($haystack, $needle, --$offset, 'UTF-8');\n                } else {\n                    $pos = strpos($haystack, $needle, --$offset);\n                }\n                if ($pos !== false) {\n                    return ++$pos;\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * SEARCHINSENSITIVE\n     *\n     * @param    string    $needle        The string to look for\n     * @param    string    $haystack    The string in which to look\n     * @param    int        $offset        Offset within $haystack\n     * @return    string\n     */\n    public static function SEARCHINSENSITIVE($needle, $haystack, $offset = 1)\n    {\n        $needle   = PHPExcel_Calculation_Functions::flattenSingleValue($needle);\n        $haystack = PHPExcel_Calculation_Functions::flattenSingleValue($haystack);\n        $offset   = PHPExcel_Calculation_Functions::flattenSingleValue($offset);\n\n        if (!is_bool($needle)) {\n            if (is_bool($haystack)) {\n                $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n            }\n\n            if (($offset > 0) && (PHPExcel_Shared_String::CountCharacters($haystack) > $offset)) {\n                if (PHPExcel_Shared_String::CountCharacters($needle) == 0) {\n                    return $offset;\n                }\n                if (function_exists('mb_stripos')) {\n                    $pos = mb_stripos($haystack, $needle, --$offset, 'UTF-8');\n                } else {\n                    $pos = stripos($haystack, $needle, --$offset);\n                }\n                if ($pos !== false) {\n                    return ++$pos;\n                }\n            }\n        }\n        return PHPExcel_Calculation_Functions::VALUE();\n    }\n\n\n    /**\n     * FIXEDFORMAT\n     *\n     * @param    mixed        $value    Value to check\n     * @param    integer        $decimals\n     * @param    boolean        $no_commas\n     * @return    boolean\n     */\n    public static function FIXEDFORMAT($value, $decimals = 2, $no_commas = false)\n    {\n        $value     = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $decimals  = PHPExcel_Calculation_Functions::flattenSingleValue($decimals);\n        $no_commas = PHPExcel_Calculation_Functions::flattenSingleValue($no_commas);\n\n        // Validate parameters\n        if (!is_numeric($value) || !is_numeric($decimals)) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        $decimals = floor($decimals);\n\n        $valueResult = round($value, $decimals);\n        if ($decimals < 0) {\n            $decimals = 0;\n        }\n        if (!$no_commas) {\n            $valueResult = number_format($valueResult, $decimals);\n        }\n\n        return (string) $valueResult;\n    }\n\n\n    /**\n     * LEFT\n     *\n     * @param    string    $value    Value\n     * @param    int        $chars    Number of characters\n     * @return    string\n     */\n    public static function LEFT($value = '', $chars = 1)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars);\n\n        if ($chars < 0) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (is_bool($value)) {\n            $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        if (function_exists('mb_substr')) {\n            return mb_substr($value, 0, $chars, 'UTF-8');\n        } else {\n            return substr($value, 0, $chars);\n        }\n    }\n\n\n    /**\n     * MID\n     *\n     * @param    string    $value    Value\n     * @param    int        $start    Start character\n     * @param    int        $chars    Number of characters\n     * @return    string\n     */\n    public static function MID($value = '', $start = 1, $chars = null)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $start = PHPExcel_Calculation_Functions::flattenSingleValue($start);\n        $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars);\n\n        if (($start < 1) || ($chars < 0)) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (is_bool($value)) {\n            $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        if (function_exists('mb_substr')) {\n            return mb_substr($value, --$start, $chars, 'UTF-8');\n        } else {\n            return substr($value, --$start, $chars);\n        }\n    }\n\n\n    /**\n     * RIGHT\n     *\n     * @param    string    $value    Value\n     * @param    int        $chars    Number of characters\n     * @return    string\n     */\n    public static function RIGHT($value = '', $chars = 1)\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars);\n\n        if ($chars < 0) {\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n\n        if (is_bool($value)) {\n            $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        if ((function_exists('mb_substr')) && (function_exists('mb_strlen'))) {\n            return mb_substr($value, mb_strlen($value, 'UTF-8') - $chars, $chars, 'UTF-8');\n        } else {\n            return substr($value, strlen($value) - $chars);\n        }\n    }\n\n\n    /**\n     * STRINGLENGTH\n     *\n     * @param    string    $value    Value\n     * @return    string\n     */\n    public static function STRINGLENGTH($value = '')\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n\n        if (is_bool($value)) {\n            $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        if (function_exists('mb_strlen')) {\n            return mb_strlen($value, 'UTF-8');\n        } else {\n            return strlen($value);\n        }\n    }\n\n\n    /**\n     * LOWERCASE\n     *\n     * Converts a string value to upper case.\n     *\n     * @param    string        $mixedCaseString\n     * @return    string\n     */\n    public static function LOWERCASE($mixedCaseString)\n    {\n        $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString);\n\n        if (is_bool($mixedCaseString)) {\n            $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        return PHPExcel_Shared_String::StrToLower($mixedCaseString);\n    }\n\n\n    /**\n     * UPPERCASE\n     *\n     * Converts a string value to upper case.\n     *\n     * @param    string        $mixedCaseString\n     * @return    string\n     */\n    public static function UPPERCASE($mixedCaseString)\n    {\n        $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString);\n\n        if (is_bool($mixedCaseString)) {\n            $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        return PHPExcel_Shared_String::StrToUpper($mixedCaseString);\n    }\n\n\n    /**\n     * PROPERCASE\n     *\n     * Converts a string value to upper case.\n     *\n     * @param    string        $mixedCaseString\n     * @return    string\n     */\n    public static function PROPERCASE($mixedCaseString)\n    {\n        $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString);\n\n        if (is_bool($mixedCaseString)) {\n            $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();\n        }\n\n        return PHPExcel_Shared_String::StrToTitle($mixedCaseString);\n    }\n\n\n    /**\n     * REPLACE\n     *\n     * @param    string    $oldText    String to modify\n     * @param    int        $start        Start character\n     * @param    int        $chars        Number of characters\n     * @param    string    $newText    String to replace in defined position\n     * @return    string\n     */\n    public static function REPLACE($oldText = '', $start = 1, $chars = null, $newText)\n    {\n        $oldText = PHPExcel_Calculation_Functions::flattenSingleValue($oldText);\n        $start   = PHPExcel_Calculation_Functions::flattenSingleValue($start);\n        $chars   = PHPExcel_Calculation_Functions::flattenSingleValue($chars);\n        $newText = PHPExcel_Calculation_Functions::flattenSingleValue($newText);\n\n        $left = self::LEFT($oldText, $start-1);\n        $right = self::RIGHT($oldText, self::STRINGLENGTH($oldText)-($start+$chars)+1);\n\n        return $left.$newText.$right;\n    }\n\n\n    /**\n     * SUBSTITUTE\n     *\n     * @param    string    $text        Value\n     * @param    string    $fromText    From Value\n     * @param    string    $toText        To Value\n     * @param    integer    $instance    Instance Number\n     * @return    string\n     */\n    public static function SUBSTITUTE($text = '', $fromText = '', $toText = '', $instance = 0)\n    {\n        $text     = PHPExcel_Calculation_Functions::flattenSingleValue($text);\n        $fromText = PHPExcel_Calculation_Functions::flattenSingleValue($fromText);\n        $toText   = PHPExcel_Calculation_Functions::flattenSingleValue($toText);\n        $instance = floor(PHPExcel_Calculation_Functions::flattenSingleValue($instance));\n\n        if ($instance == 0) {\n            if (function_exists('mb_str_replace')) {\n                return mb_str_replace($fromText, $toText, $text);\n            } else {\n                return str_replace($fromText, $toText, $text);\n            }\n        } else {\n            $pos = -1;\n            while ($instance > 0) {\n                if (function_exists('mb_strpos')) {\n                    $pos = mb_strpos($text, $fromText, $pos+1, 'UTF-8');\n                } else {\n                    $pos = strpos($text, $fromText, $pos+1);\n                }\n                if ($pos === false) {\n                    break;\n                }\n                --$instance;\n            }\n            if ($pos !== false) {\n                if (function_exists('mb_strlen')) {\n                    return self::REPLACE($text, ++$pos, mb_strlen($fromText, 'UTF-8'), $toText);\n                } else {\n                    return self::REPLACE($text, ++$pos, strlen($fromText), $toText);\n                }\n            }\n        }\n\n        return $text;\n    }\n\n\n    /**\n     * RETURNSTRING\n     *\n     * @param    mixed    $testValue    Value to check\n     * @return    boolean\n     */\n    public static function RETURNSTRING($testValue = '')\n    {\n        $testValue = PHPExcel_Calculation_Functions::flattenSingleValue($testValue);\n\n        if (is_string($testValue)) {\n            return $testValue;\n        }\n        return null;\n    }\n\n\n    /**\n     * TEXTFORMAT\n     *\n     * @param    mixed    $value    Value to check\n     * @param    string    $format    Format mask to use\n     * @return    boolean\n     */\n    public static function TEXTFORMAT($value, $format)\n    {\n        $value  = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n        $format = PHPExcel_Calculation_Functions::flattenSingleValue($format);\n\n        if ((is_string($value)) && (!is_numeric($value)) && PHPExcel_Shared_Date::isDateTimeFormatCode($format)) {\n            $value = PHPExcel_Calculation_DateTime::DATEVALUE($value);\n        }\n\n        return (string) PHPExcel_Style_NumberFormat::toFormattedString($value, $format);\n    }\n\n    /**\n     * VALUE\n     *\n     * @param    mixed    $value    Value to check\n     * @return    boolean\n     */\n    public static function VALUE($value = '')\n    {\n        $value = PHPExcel_Calculation_Functions::flattenSingleValue($value);\n\n        if (!is_numeric($value)) {\n            $numberValue = str_replace(\n                PHPExcel_Shared_String::getThousandsSeparator(),\n                '',\n                trim($value, \" \\t\\n\\r\\0\\x0B\" . PHPExcel_Shared_String::getCurrencyCode())\n            );\n            if (is_numeric($numberValue)) {\n                return (float) $numberValue;\n            }\n\n            $dateSetting = PHPExcel_Calculation_Functions::getReturnDateType();\n            PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n\n            if (strpos($value, ':') !== false) {\n                $timeValue = PHPExcel_Calculation_DateTime::TIMEVALUE($value);\n                if ($timeValue !== PHPExcel_Calculation_Functions::VALUE()) {\n                    PHPExcel_Calculation_Functions::setReturnDateType($dateSetting);\n                    return $timeValue;\n                }\n            }\n            $dateValue = PHPExcel_Calculation_DateTime::DATEVALUE($value);\n            if ($dateValue !== PHPExcel_Calculation_Functions::VALUE()) {\n                PHPExcel_Calculation_Functions::setReturnDateType($dateSetting);\n                return $dateValue;\n            }\n            PHPExcel_Calculation_Functions::setReturnDateType($dateSetting);\n\n            return PHPExcel_Calculation_Functions::VALUE();\n        }\n        return (float) $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/Token/Stack.php",
    "content": "<?php\n\n/**\n * PHPExcel_Calculation_Token_Stack\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation_Token_Stack\n{\n    /**\n     *  The parser stack for formulae\n     *\n     *  @var mixed[]\n     */\n    private $stack = array();\n\n    /**\n     *  Count of entries in the parser stack\n     *\n     *  @var integer\n     */\n    private $count = 0;\n\n    /**\n     * Return the number of entries on the stack\n     *\n     * @return  integer\n     */\n    public function count()\n    {\n        return $this->count;\n    }\n\n    /**\n     * Push a new entry onto the stack\n     *\n     * @param  mixed  $type\n     * @param  mixed  $value\n     * @param  mixed  $reference\n     */\n    public function push($type, $value, $reference = null)\n    {\n        $this->stack[$this->count++] = array(\n            'type'      => $type,\n            'value'     => $value,\n            'reference' => $reference\n        );\n        if ($type == 'Function') {\n            $localeFunction = PHPExcel_Calculation::localeFunc($value);\n            if ($localeFunction != $value) {\n                $this->stack[($this->count - 1)]['localeValue'] = $localeFunction;\n            }\n        }\n    }\n\n    /**\n     * Pop the last entry from the stack\n     *\n     * @return  mixed\n     */\n    public function pop()\n    {\n        if ($this->count > 0) {\n            return $this->stack[--$this->count];\n        }\n        return null;\n    }\n\n    /**\n     * Return an entry from the stack without removing it\n     *\n     * @param   integer  $n  number indicating how far back in the stack we want to look\n     * @return  mixed\n     */\n    public function last($n = 1)\n    {\n        if ($this->count - $n < 0) {\n            return null;\n        }\n        return $this->stack[$this->count - $n];\n    }\n\n    /**\n     * Clear the stack\n     */\n    public function clear()\n    {\n        $this->stack = array();\n        $this->count = 0;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation/functionlist.txt",
    "content": "ABS\nACCRINT\nACCRINTM\nACOS\nACOSH\nADDRESS\nAMORDEGRC\nAMORLINC\nAND\nAREAS\nASC\nASIN\nASINH\nATAN\nATAN2\nATANH\nAVEDEV\nAVERAGE\nAVERAGEA\nAVERAGEIF\nAVERAGEIFS\nBAHTTEXT\nBESSELI\nBESSELJ\nBESSELK\nBESSELY\nBETADIST\nBETAINV\nBIN2DEC\nBIN2HEX\nBIN2OCT\nBINOMDIST\nCEILING\nCELL\nCHAR\nCHIDIST\nCHIINV\nCHITEST\nCHOOSE\nCLEAN\nCODE\nCOLUMN\nCOLUMNS\nCOMBIN\nCOMPLEX\nCONCATENATE\nCONFIDENCE\nCONVERT\nCORREL\nCOS\nCOSH\nCOUNT\nCOUNTA\nCOUNTBLANK\nCOUNTIF\nCOUNTIFS\nCOUPDAYBS\nCOUPDAYBS\nCOUPDAYSNC\nCOUPNCD\nCOUPNUM\nCOUPPCD\nCOVAR\nCRITBINOM\nCUBEKPIMEMBER\nCUBEMEMBER\nCUBEMEMBERPROPERTY\nCUBERANKEDMEMBER\nCUBESET\nCUBESETCOUNT\nCUBEVALUE\nCUMIPMT\nCUMPRINC\nDATE\nDATEDIF\nDATEVALUE\nDAVERAGE\nDAY\nDAYS360\nDB\nDCOUNT\nDCOUNTA\nDDB\nDEC2BIN\nDEC2HEX\nDEC2OCT\nDEGREES\nDELTA\nDEVSQ\nDGET\nDISC\nDMAX\nDMIN\nDOLLAR\nDOLLARDE\nDOLLARFR\nDPRODUCT\nDSTDEV\nDSTDEVP\nDSUM\nDURATION\nDVAR\nDVARP\nEDATE\nEFFECT\nEOMONTH\nERF\nERFC\nERROR.TYPE\nEVEN\nEXACT\nEXP\nEXPONDIST\nFACT\nFACTDOUBLE\nFALSE\nFDIST\nFIND\nFINDB\nFINV\nFISHER\nFISHERINV\nFIXED\nFLOOR\nFORECAST\nFREQUENCY\nFTEST\nFV\nFVSCHEDULE\nGAMAMDIST\nGAMMAINV\nGAMMALN\nGCD\nGEOMEAN\nGESTEP\nGETPIVOTDATA\nGROWTH\nHARMEAN\nHEX2BIN\nHEX2OCT\nHLOOKUP\nHOUR\nHYPERLINK\nHYPGEOMDIST\nIF\nIFERROR\nIMABS\nIMAGINARY\nIMARGUMENT\nIMCONJUGATE\nIMCOS\nIMEXP\nIMLN\nIMLOG10\nIMLOG2\nIMPOWER\nIMPRODUCT\nIMREAL\nIMSIN\nIMSQRT\nIMSUB\nIMSUM\nINDEX\nINDIRECT\nINFO\nINT\nINTERCEPT\nINTRATE\nIPMT\nIRR\nISBLANK\nISERR\nISERROR\nISEVEN\nISLOGICAL\nISNA\nISNONTEXT\nISNUMBER\nISODD\nISPMT\nISREF\nISTEXT\nJIS\nKURT\nLARGE\nLCM\nLEFT\nLEFTB\nLEN\nLENB\nLINEST\nLN\nLOG\nLOG10\nLOGEST\nLOGINV\nLOGNORMDIST\nLOOKUP\nLOWER\nMATCH\nMAX\nMAXA\nMDETERM\nMDURATION\nMEDIAN\nMID\nMIDB\nMIN\nMINA\nMINUTE\nMINVERSE\nMIRR\nMMULT\nMOD\nMODE\nMONTH\nMROUND\nMULTINOMIAL\nN\nNA\nNEGBINOMDIST\nNETWORKDAYS\nNOMINAL\nNORMDIST\nNORMINV\nNORMSDIST\nNORMSINV\nNOT\nNOW\nNPER\nNPV\nOCT2BIN\nOCT2DEC\nOCT2HEX\nODD\nODDFPRICE\nODDFYIELD\nODDLPRICE\nODDLYIELD\nOFFSET\nOR\nPEARSON\nPERCENTILE\nPERCENTRANK\nPERMUT\nPHONETIC\nPI\nPMT\nPOISSON\nPOWER\nPPMT\nPRICE\nPRICEDISC\nPRICEMAT\nPROB\nPRODUCT\nPROPER\nPV\nQUARTILE\nQUOTIENT\nRADIANS\nRAND\nRANDBETWEEN\nRANK\nRATE\nRECEIVED\nREPLACE\nREPLACEB\nREPT\nRIGHT\nRIGHTB\nROMAN\nROUND\nROUNDDOWN\nROUNDUP\nROW\nROWS\nRSQ\nRTD\nSEARCH\nSEARCHB\nSECOND\nSERIESSUM\nSIGN\nSIN\nSINH\nSKEW\nSLN\nSLOPE\nSMALL\nSQRT\nSQRTPI\nSTANDARDIZE\nSTDEV\nSTDEVA\nSTDEVP\nSTDEVPA\nSTEYX\nSUBSTITUTE\nSUBTOTAL\nSUM\nSUMIF\nSUMIFS\nSUMPRODUCT\nSUMSQ\nSUMX2MY2\nSUMX2PY2\nSUMXMY2\nSYD\nT\nTAN\nTANH\nTBILLEQ\nTBILLPRICE\nTBILLYIELD\nTDIST\nTEXT\nTIME\nTIMEVALUE\nTINV\nTODAY\nTRANSPOSE\nTREND\nTRIM\nTRIMMEAN\nTRUE\nTRUNC\nTTEST\nTYPE\nUPPER\nUSDOLLAR\nVALUE\nVAR\nVARA\nVARP\nVARPA\nVDB\nVERSION\nVLOOKUP\nWEEKDAY\nWEEKNUM\nWEIBULL\nWORKDAY\nXIRR\nXNPV\nYEAR\nYEARFRAC\nYIELD\nYIELDDISC\nYIELDMAT\nZTEST\n"
  },
  {
    "path": "Classes/PHPExcel/Calculation.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\nif (!defined('CALCULATION_REGEXP_CELLREF')) {\n    //    Test for support of \\P (multibyte options) in PCRE\n    if (defined('PREG_BAD_UTF8_ERROR')) {\n        //    Cell reference (cell or range of cells, with or without a sheet reference)\n        define('CALCULATION_REGEXP_CELLREF', '((([^\\s,!&%^\\/\\*\\+<>=-]*)|(\\'[^\\']*\\')|(\\\"[^\\\"]*\\\"))!)?\\$?([a-z]{1,3})\\$?(\\d{1,7})');\n        //    Named Range of cells\n        define('CALCULATION_REGEXP_NAMEDRANGE', '((([^\\s,!&%^\\/\\*\\+<>=-]*)|(\\'[^\\']*\\')|(\\\"[^\\\"]*\\\"))!)?([_A-Z][_A-Z0-9\\.]*)');\n    } else {\n        //    Cell reference (cell or range of cells, with or without a sheet reference)\n        define('CALCULATION_REGEXP_CELLREF', '(((\\w*)|(\\'[^\\']*\\')|(\\\"[^\\\"]*\\\"))!)?\\$?([a-z]{1,3})\\$?(\\d+)');\n        //    Named Range of cells\n        define('CALCULATION_REGEXP_NAMEDRANGE', '(((\\w*)|(\\'.*\\')|(\\\".*\\\"))!)?([_A-Z][_A-Z0-9\\.]*)');\n    }\n}\n\n/**\n * PHPExcel_Calculation (Multiton)\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Calculation\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Calculation\n{\n    /** Constants                */\n    /** Regular Expressions        */\n    //    Numeric operand\n    const CALCULATION_REGEXP_NUMBER        = '[-+]?\\d*\\.?\\d+(e[-+]?\\d+)?';\n    //    String operand\n    const CALCULATION_REGEXP_STRING        = '\"(?:[^\"]|\"\")*\"';\n    //    Opening bracket\n    const CALCULATION_REGEXP_OPENBRACE    = '\\(';\n    //    Function (allow for the old @ symbol that could be used to prefix a function, but we'll ignore it)\n    const CALCULATION_REGEXP_FUNCTION    = '@?([A-Z][A-Z0-9\\.]*)[\\s]*\\(';\n    //    Cell reference (cell or range of cells, with or without a sheet reference)\n    const CALCULATION_REGEXP_CELLREF    = CALCULATION_REGEXP_CELLREF;\n    //    Named Range of cells\n    const CALCULATION_REGEXP_NAMEDRANGE    = CALCULATION_REGEXP_NAMEDRANGE;\n    //    Error\n    const CALCULATION_REGEXP_ERROR        = '\\#[A-Z][A-Z0_\\/]*[!\\?]?';\n\n\n    /** constants */\n    const RETURN_ARRAY_AS_ERROR = 'error';\n    const RETURN_ARRAY_AS_VALUE = 'value';\n    const RETURN_ARRAY_AS_ARRAY = 'array';\n\n    private static $returnArrayAsType = self::RETURN_ARRAY_AS_VALUE;\n\n\n    /**\n     * Instance of this class\n     *\n     * @access    private\n     * @var PHPExcel_Calculation\n     */\n    private static $instance;\n\n\n    /**\n     * Instance of the workbook this Calculation Engine is using\n     *\n     * @access    private\n     * @var PHPExcel\n     */\n    private $workbook;\n\n    /**\n     * List of instances of the calculation engine that we've instantiated for individual workbooks\n     *\n     * @access    private\n     * @var PHPExcel_Calculation[]\n     */\n    private static $workbookSets;\n\n    /**\n     * Calculation cache\n     *\n     * @access    private\n     * @var array\n     */\n    private $calculationCache = array ();\n\n\n    /**\n     * Calculation cache enabled\n     *\n     * @access    private\n     * @var boolean\n     */\n    private $calculationCacheEnabled = true;\n\n\n    /**\n     * List of operators that can be used within formulae\n     * The true/false value indicates whether it is a binary operator or a unary operator\n     *\n     * @access    private\n     * @var array\n     */\n    private static $operators = array(\n        '+' => true,    '-' => true,    '*' => true,    '/' => true,\n        '^' => true,    '&' => true,    '%' => false,    '~' => false,\n        '>' => true,    '<' => true,    '=' => true,    '>=' => true,\n        '<=' => true,    '<>' => true,    '|' => true,    ':' => true\n    );\n\n    /**\n     * List of binary operators (those that expect two operands)\n     *\n     * @access    private\n     * @var array\n     */\n    private static $binaryOperators = array(\n        '+' => true,    '-' => true,    '*' => true,    '/' => true,\n        '^' => true,    '&' => true,    '>' => true,    '<' => true,\n        '=' => true,    '>=' => true,    '<=' => true,    '<>' => true,\n        '|' => true,    ':' => true\n    );\n\n    /**\n     * The debug log generated by the calculation engine\n     *\n     * @access    private\n     * @var PHPExcel_CalcEngine_Logger\n     *\n     */\n    private $debugLog;\n\n    /**\n     * Flag to determine how formula errors should be handled\n     *        If true, then a user error will be triggered\n     *        If false, then an exception will be thrown\n     *\n     * @access    public\n     * @var boolean\n     *\n     */\n    public $suppressFormulaErrors = false;\n\n    /**\n     * Error message for any error that was raised/thrown by the calculation engine\n     *\n     * @access    public\n     * @var string\n     *\n     */\n    public $formulaError = null;\n\n    /**\n     * An array of the nested cell references accessed by the calculation engine, used for the debug log\n     *\n     * @access    private\n     * @var array of string\n     *\n     */\n    private $cyclicReferenceStack;\n\n    private $cellStack = array();\n\n    /**\n     * Current iteration counter for cyclic formulae\n     * If the value is 0 (or less) then cyclic formulae will throw an exception,\n     *    otherwise they will iterate to the limit defined here before returning a result\n     *\n     * @var integer\n     *\n     */\n    private $cyclicFormulaCounter = 1;\n\n    private $cyclicFormulaCell = '';\n\n    /**\n     * Number of iterations for cyclic formulae\n     *\n     * @var integer\n     *\n     */\n    public $cyclicFormulaCount = 1;\n\n    /**\n     * Epsilon Precision used for comparisons in calculations\n     *\n     * @var float\n     *\n     */\n    private $delta    = 0.1e-12;\n\n\n    /**\n     * The current locale setting\n     *\n     * @var string\n     *\n     */\n    private static $localeLanguage = 'en_us';                    //    US English    (default locale)\n\n    /**\n     * List of available locale settings\n     * Note that this is read for the locale subdirectory only when requested\n     *\n     * @var string[]\n     *\n     */\n    private static $validLocaleLanguages = array(\n        'en'        //    English        (default language)\n    );\n\n    /**\n     * Locale-specific argument separator for function arguments\n     *\n     * @var string\n     *\n     */\n    private static $localeArgumentSeparator = ',';\n    private static $localeFunctions = array();\n\n    /**\n     * Locale-specific translations for Excel constants (True, False and Null)\n     *\n     * @var string[]\n     *\n     */\n    public static $localeBoolean = array(\n        'TRUE'  => 'TRUE',\n        'FALSE' => 'FALSE',\n        'NULL'  => 'NULL'\n    );\n\n    /**\n     * Excel constant string translations to their PHP equivalents\n     * Constant conversion from text name/value to actual (datatyped) value\n     *\n     * @var string[]\n     *\n     */\n    private static $excelConstants = array(\n        'TRUE'  => true,\n        'FALSE' => false,\n        'NULL'  => null\n    );\n\n     //    PHPExcel functions\n    private static $PHPExcelFunctions = array(\n        'ABS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'abs',\n            'argumentCount' => '1'\n        ),\n        'ACCRINT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::ACCRINT',\n            'argumentCount' => '4-7'\n        ),\n        'ACCRINTM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::ACCRINTM',\n            'argumentCount' => '3-5'\n        ),\n        'ACOS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'acos',\n            'argumentCount' => '1'\n        ),\n        'ACOSH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'acosh',\n            'argumentCount' => '1'\n        ),\n        'ADDRESS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::CELL_ADDRESS',\n            'argumentCount' => '2-5'\n        ),\n        'AMORDEGRC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::AMORDEGRC',\n            'argumentCount' => '6,7'\n        ),\n        'AMORLINC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::AMORLINC',\n            'argumentCount' => '6,7'\n        ),\n        'AND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::LOGICAL_AND',\n            'argumentCount' => '1+'\n        ),\n        'AREAS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'ASC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'ASIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'asin',\n            'argumentCount' => '1'\n        ),\n        'ASINH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'asinh',\n            'argumentCount' => '1'\n        ),\n        'ATAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'atan',\n            'argumentCount' => '1'\n        ),\n        'ATAN2' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::ATAN2',\n            'argumentCount' => '2'\n        ),\n        'ATANH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'atanh',\n            'argumentCount' => '1'\n        ),\n        'AVEDEV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::AVEDEV',\n            'argumentCount' => '1+'\n        ),\n        'AVERAGE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGE',\n            'argumentCount' => '1+'\n        ),\n        'AVERAGEA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGEA',\n            'argumentCount' => '1+'\n        ),\n        'AVERAGEIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGEIF',\n            'argumentCount' => '2,3'\n        ),\n        'AVERAGEIFS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '3+'\n        ),\n        'BAHTTEXT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'BESSELI' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELI',\n            'argumentCount' => '2'\n        ),\n        'BESSELJ' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELJ',\n            'argumentCount' => '2'\n        ),\n        'BESSELK' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELK',\n            'argumentCount' => '2'\n        ),\n        'BESSELY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELY',\n            'argumentCount' => '2'\n        ),\n        'BETADIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::BETADIST',\n            'argumentCount' => '3-5'\n        ),\n        'BETAINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::BETAINV',\n            'argumentCount' => '3-5'\n        ),\n        'BIN2DEC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BINTODEC',\n            'argumentCount' => '1'\n        ),\n        'BIN2HEX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BINTOHEX',\n            'argumentCount' => '1,2'\n        ),\n        'BIN2OCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::BINTOOCT',\n            'argumentCount' => '1,2'\n        ),\n        'BINOMDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::BINOMDIST',\n            'argumentCount' => '4'\n        ),\n        'CEILING' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::CEILING',\n            'argumentCount' => '2'\n        ),\n        'CELL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1,2'\n        ),\n        'CHAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::CHARACTER',\n            'argumentCount' => '1'\n        ),\n        'CHIDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::CHIDIST',\n            'argumentCount' => '2'\n        ),\n        'CHIINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::CHIINV',\n            'argumentCount' => '2'\n        ),\n        'CHITEST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2'\n        ),\n        'CHOOSE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::CHOOSE',\n            'argumentCount' => '2+'\n        ),\n        'CLEAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::TRIMNONPRINTABLE',\n            'argumentCount' => '1'\n        ),\n        'CODE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::ASCIICODE',\n            'argumentCount' => '1'\n        ),\n        'COLUMN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::COLUMN',\n            'argumentCount' => '-1',\n            'passByReference' => array(true)\n        ),\n        'COLUMNS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::COLUMNS',\n            'argumentCount' => '1'\n        ),\n        'COMBIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::COMBIN',\n            'argumentCount' => '2'\n        ),\n        'COMPLEX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::COMPLEX',\n            'argumentCount' => '2,3'\n        ),\n        'CONCATENATE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::CONCATENATE',\n            'argumentCount' => '1+'\n        ),\n        'CONFIDENCE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::CONFIDENCE',\n            'argumentCount' => '3'\n        ),\n        'CONVERT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::CONVERTUOM',\n            'argumentCount' => '3'\n        ),\n        'CORREL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::CORREL',\n            'argumentCount' => '2'\n        ),\n        'COS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'cos',\n            'argumentCount' => '1'\n        ),\n        'COSH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'cosh',\n            'argumentCount' => '1'\n        ),\n        'COUNT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::COUNT',\n            'argumentCount' => '1+'\n        ),\n        'COUNTA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTA',\n            'argumentCount' => '1+'\n        ),\n        'COUNTBLANK' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTBLANK',\n            'argumentCount' => '1'\n        ),\n        'COUNTIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTIF',\n            'argumentCount' => '2'\n        ),\n        'COUNTIFS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2'\n        ),\n        'COUPDAYBS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYBS',\n            'argumentCount' => '3,4'\n        ),\n        'COUPDAYS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYS',\n            'argumentCount' => '3,4'\n        ),\n        'COUPDAYSNC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYSNC',\n            'argumentCount' => '3,4'\n        ),\n        'COUPNCD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::COUPNCD',\n            'argumentCount' => '3,4'\n        ),\n        'COUPNUM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::COUPNUM',\n            'argumentCount' => '3,4'\n        ),\n        'COUPPCD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::COUPPCD',\n            'argumentCount' => '3,4'\n        ),\n        'COVAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::COVAR',\n            'argumentCount' => '2'\n        ),\n        'CRITBINOM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::CRITBINOM',\n            'argumentCount' => '3'\n        ),\n        'CUBEKPIMEMBER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUBEMEMBER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUBEMEMBERPROPERTY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUBERANKEDMEMBER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUBESET' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUBESETCOUNT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUBEVALUE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_CUBE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '?'\n        ),\n        'CUMIPMT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::CUMIPMT',\n            'argumentCount' => '6'\n        ),\n        'CUMPRINC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::CUMPRINC',\n            'argumentCount' => '6'\n        ),\n        'DATE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DATE',\n            'argumentCount' => '3'\n        ),\n        'DATEDIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DATEDIF',\n            'argumentCount' => '2,3'\n        ),\n        'DATEVALUE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DATEVALUE',\n            'argumentCount' => '1'\n        ),\n        'DAVERAGE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DAVERAGE',\n            'argumentCount' => '3'\n        ),\n        'DAY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DAYOFMONTH',\n            'argumentCount' => '1'\n        ),\n        'DAYS360' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DAYS360',\n            'argumentCount' => '2,3'\n        ),\n        'DB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::DB',\n            'argumentCount' => '4,5'\n        ),\n        'DCOUNT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DCOUNT',\n            'argumentCount' => '3'\n        ),\n        'DCOUNTA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DCOUNTA',\n            'argumentCount' => '3'\n        ),\n        'DDB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::DDB',\n            'argumentCount' => '4,5'\n        ),\n        'DEC2BIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOBIN',\n            'argumentCount' => '1,2'\n        ),\n        'DEC2HEX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOHEX',\n            'argumentCount' => '1,2'\n        ),\n        'DEC2OCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOOCT',\n            'argumentCount' => '1,2'\n        ),\n        'DEGREES' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'rad2deg',\n            'argumentCount' => '1'\n        ),\n        'DELTA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::DELTA',\n            'argumentCount' => '1,2'\n        ),\n        'DEVSQ' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::DEVSQ',\n            'argumentCount' => '1+'\n        ),\n        'DGET' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DGET',\n            'argumentCount' => '3'\n        ),\n        'DISC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::DISC',\n            'argumentCount' => '4,5'\n        ),\n        'DMAX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DMAX',\n            'argumentCount' => '3'\n        ),\n        'DMIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DMIN',\n            'argumentCount' => '3'\n        ),\n        'DOLLAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::DOLLAR',\n            'argumentCount' => '1,2'\n        ),\n        'DOLLARDE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::DOLLARDE',\n            'argumentCount' => '2'\n        ),\n        'DOLLARFR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::DOLLARFR',\n            'argumentCount' => '2'\n        ),\n        'DPRODUCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DPRODUCT',\n            'argumentCount' => '3'\n        ),\n        'DSTDEV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DSTDEV',\n            'argumentCount' => '3'\n        ),\n        'DSTDEVP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DSTDEVP',\n            'argumentCount' => '3'\n        ),\n        'DSUM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DSUM',\n            'argumentCount' => '3'\n        ),\n        'DURATION' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '5,6'\n        ),\n        'DVAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DVAR',\n            'argumentCount' => '3'\n        ),\n        'DVARP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE,\n            'functionCall' => 'PHPExcel_Calculation_Database::DVARP',\n            'argumentCount' => '3'\n        ),\n        'EDATE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::EDATE',\n            'argumentCount' => '2'\n        ),\n        'EFFECT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::EFFECT',\n            'argumentCount' => '2'\n        ),\n        'EOMONTH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::EOMONTH',\n            'argumentCount' => '2'\n        ),\n        'ERF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::ERF',\n            'argumentCount' => '1,2'\n        ),\n        'ERFC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::ERFC',\n            'argumentCount' => '1'\n        ),\n        'ERROR.TYPE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::ERROR_TYPE',\n            'argumentCount' => '1'\n        ),\n        'EVEN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::EVEN',\n            'argumentCount' => '1'\n        ),\n        'EXACT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2'\n        ),\n        'EXP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'exp',\n            'argumentCount' => '1'\n        ),\n        'EXPONDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::EXPONDIST',\n            'argumentCount' => '3'\n        ),\n        'FACT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::FACT',\n            'argumentCount' => '1'\n        ),\n        'FACTDOUBLE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::FACTDOUBLE',\n            'argumentCount' => '1'\n        ),\n        'FALSE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::FALSE',\n            'argumentCount' => '0'\n        ),\n        'FDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '3'\n        ),\n        'FIND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHSENSITIVE',\n            'argumentCount' => '2,3'\n        ),\n        'FINDB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHSENSITIVE',\n            'argumentCount' => '2,3'\n        ),\n        'FINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '3'\n        ),\n        'FISHER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::FISHER',\n            'argumentCount' => '1'\n        ),\n        'FISHERINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::FISHERINV',\n            'argumentCount' => '1'\n        ),\n        'FIXED' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::FIXEDFORMAT',\n            'argumentCount' => '1-3'\n        ),\n        'FLOOR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::FLOOR',\n            'argumentCount' => '2'\n        ),\n        'FORECAST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::FORECAST',\n            'argumentCount' => '3'\n        ),\n        'FREQUENCY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2'\n        ),\n        'FTEST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2'\n        ),\n        'FV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::FV',\n            'argumentCount' => '3-5'\n        ),\n        'FVSCHEDULE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::FVSCHEDULE',\n            'argumentCount' => '2'\n        ),\n        'GAMMADIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMADIST',\n            'argumentCount' => '4'\n        ),\n        'GAMMAINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMAINV',\n            'argumentCount' => '3'\n        ),\n        'GAMMALN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMALN',\n            'argumentCount' => '1'\n        ),\n        'GCD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::GCD',\n            'argumentCount' => '1+'\n        ),\n        'GEOMEAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::GEOMEAN',\n            'argumentCount' => '1+'\n        ),\n        'GESTEP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::GESTEP',\n            'argumentCount' => '1,2'\n        ),\n        'GETPIVOTDATA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2+'\n        ),\n        'GROWTH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::GROWTH',\n            'argumentCount' => '1-4'\n        ),\n        'HARMEAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::HARMEAN',\n            'argumentCount' => '1+'\n        ),\n        'HEX2BIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTOBIN',\n            'argumentCount' => '1,2'\n        ),\n        'HEX2DEC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTODEC',\n            'argumentCount' => '1'\n        ),\n        'HEX2OCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTOOCT',\n            'argumentCount' => '1,2'\n        ),\n        'HLOOKUP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::HLOOKUP',\n            'argumentCount' => '3,4'\n        ),\n        'HOUR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::HOUROFDAY',\n            'argumentCount' => '1'\n        ),\n        'HYPERLINK' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::HYPERLINK',\n            'argumentCount' => '1,2',\n            'passCellReference' => true\n        ),\n        'HYPGEOMDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::HYPGEOMDIST',\n            'argumentCount' => '4'\n        ),\n        'IF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::STATEMENT_IF',\n            'argumentCount' => '1-3'\n        ),\n        'IFERROR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::IFERROR',\n            'argumentCount' => '2'\n        ),\n        'IMABS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMABS',\n            'argumentCount' => '1'\n        ),\n        'IMAGINARY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMAGINARY',\n            'argumentCount' => '1'\n        ),\n        'IMARGUMENT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMARGUMENT',\n            'argumentCount' => '1'\n        ),\n        'IMCONJUGATE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMCONJUGATE',\n            'argumentCount' => '1'\n        ),\n        'IMCOS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMCOS',\n            'argumentCount' => '1'\n        ),\n        'IMDIV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMDIV',\n            'argumentCount' => '2'\n        ),\n        'IMEXP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMEXP',\n            'argumentCount' => '1'\n        ),\n        'IMLN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMLN',\n            'argumentCount' => '1'\n        ),\n        'IMLOG10' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMLOG10',\n            'argumentCount' => '1'\n        ),\n        'IMLOG2' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMLOG2',\n            'argumentCount' => '1'\n        ),\n        'IMPOWER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMPOWER',\n            'argumentCount' => '2'\n        ),\n        'IMPRODUCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMPRODUCT',\n            'argumentCount' => '1+'\n        ),\n        'IMREAL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMREAL',\n            'argumentCount' => '1'\n        ),\n        'IMSIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMSIN',\n            'argumentCount' => '1'\n        ),\n        'IMSQRT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMSQRT',\n            'argumentCount' => '1'\n        ),\n        'IMSUB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMSUB',\n            'argumentCount' => '2'\n        ),\n        'IMSUM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::IMSUM',\n            'argumentCount' => '1+'\n        ),\n        'INDEX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::INDEX',\n            'argumentCount' => '1-4'\n        ),\n        'INDIRECT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::INDIRECT',\n            'argumentCount' => '1,2',\n            'passCellReference' => true\n        ),\n        'INFO' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'INT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::INT',\n            'argumentCount' => '1'\n        ),\n        'INTERCEPT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::INTERCEPT',\n            'argumentCount' => '2'\n        ),\n        'INTRATE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::INTRATE',\n            'argumentCount' => '4,5'\n        ),\n        'IPMT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::IPMT',\n            'argumentCount' => '4-6'\n        ),\n        'IRR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::IRR',\n            'argumentCount' => '1,2'\n        ),\n        'ISBLANK' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_BLANK',\n            'argumentCount' => '1'\n        ),\n        'ISERR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_ERR',\n            'argumentCount' => '1'\n        ),\n        'ISERROR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_ERROR',\n            'argumentCount' => '1'\n        ),\n        'ISEVEN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_EVEN',\n            'argumentCount' => '1'\n        ),\n        'ISLOGICAL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_LOGICAL',\n            'argumentCount' => '1'\n        ),\n        'ISNA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_NA',\n            'argumentCount' => '1'\n        ),\n        'ISNONTEXT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_NONTEXT',\n            'argumentCount' => '1'\n        ),\n        'ISNUMBER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_NUMBER',\n            'argumentCount' => '1'\n        ),\n        'ISODD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_ODD',\n            'argumentCount' => '1'\n        ),\n        'ISPMT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::ISPMT',\n            'argumentCount' => '4'\n        ),\n        'ISREF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'ISTEXT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::IS_TEXT',\n            'argumentCount' => '1'\n        ),\n        'JIS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'KURT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::KURT',\n            'argumentCount' => '1+'\n        ),\n        'LARGE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::LARGE',\n            'argumentCount' => '2'\n        ),\n        'LCM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::LCM',\n            'argumentCount' => '1+'\n        ),\n        'LEFT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::LEFT',\n            'argumentCount' => '1,2'\n        ),\n        'LEFTB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::LEFT',\n            'argumentCount' => '1,2'\n        ),\n        'LEN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::STRINGLENGTH',\n            'argumentCount' => '1'\n        ),\n        'LENB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::STRINGLENGTH',\n            'argumentCount' => '1'\n        ),\n        'LINEST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::LINEST',\n            'argumentCount' => '1-4'\n        ),\n        'LN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'log',\n            'argumentCount' => '1'\n        ),\n        'LOG' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::LOG_BASE',\n            'argumentCount' => '1,2'\n        ),\n        'LOG10' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'log10',\n            'argumentCount' => '1'\n        ),\n        'LOGEST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::LOGEST',\n            'argumentCount' => '1-4'\n        ),\n        'LOGINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::LOGINV',\n            'argumentCount' => '3'\n        ),\n        'LOGNORMDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::LOGNORMDIST',\n            'argumentCount' => '3'\n        ),\n        'LOOKUP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::LOOKUP',\n            'argumentCount' => '2,3'\n        ),\n        'LOWER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::LOWERCASE',\n            'argumentCount' => '1'\n        ),\n        'MATCH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::MATCH',\n            'argumentCount' => '2,3'\n        ),\n        'MAX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MAX',\n            'argumentCount' => '1+'\n        ),\n        'MAXA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MAXA',\n            'argumentCount' => '1+'\n        ),\n        'MAXIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MAXIF',\n            'argumentCount' => '2+'\n        ),\n        'MDETERM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::MDETERM',\n            'argumentCount' => '1'\n        ),\n        'MDURATION' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '5,6'\n        ),\n        'MEDIAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MEDIAN',\n            'argumentCount' => '1+'\n        ),\n        'MEDIANIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2+'\n        ),\n        'MID' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::MID',\n            'argumentCount' => '3'\n        ),\n        'MIDB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::MID',\n            'argumentCount' => '3'\n        ),\n        'MIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MIN',\n            'argumentCount' => '1+'\n        ),\n        'MINA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MINA',\n            'argumentCount' => '1+'\n        ),\n        'MINIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MINIF',\n            'argumentCount' => '2+'\n        ),\n        'MINUTE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::MINUTEOFHOUR',\n            'argumentCount' => '1'\n        ),\n        'MINVERSE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::MINVERSE',\n            'argumentCount' => '1'\n        ),\n        'MIRR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::MIRR',\n            'argumentCount' => '3'\n        ),\n        'MMULT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::MMULT',\n            'argumentCount' => '2'\n        ),\n        'MOD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::MOD',\n            'argumentCount' => '2'\n        ),\n        'MODE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::MODE',\n            'argumentCount' => '1+'\n        ),\n        'MONTH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::MONTHOFYEAR',\n            'argumentCount' => '1'\n        ),\n        'MROUND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::MROUND',\n            'argumentCount' => '2'\n        ),\n        'MULTINOMIAL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::MULTINOMIAL',\n            'argumentCount' => '1+'\n        ),\n        'N' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::N',\n            'argumentCount' => '1'\n        ),\n        'NA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::NA',\n            'argumentCount' => '0'\n        ),\n        'NEGBINOMDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::NEGBINOMDIST',\n            'argumentCount' => '3'\n        ),\n        'NETWORKDAYS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::NETWORKDAYS',\n            'argumentCount' => '2+'\n        ),\n        'NOMINAL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::NOMINAL',\n            'argumentCount' => '2'\n        ),\n        'NORMDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::NORMDIST',\n            'argumentCount' => '4'\n        ),\n        'NORMINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::NORMINV',\n            'argumentCount' => '3'\n        ),\n        'NORMSDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::NORMSDIST',\n            'argumentCount' => '1'\n        ),\n        'NORMSINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::NORMSINV',\n            'argumentCount' => '1'\n        ),\n        'NOT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::NOT',\n            'argumentCount' => '1'\n        ),\n        'NOW' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DATETIMENOW',\n            'argumentCount' => '0'\n        ),\n        'NPER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::NPER',\n            'argumentCount' => '3-5'\n        ),\n        'NPV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::NPV',\n            'argumentCount' => '2+'\n        ),\n        'OCT2BIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTOBIN',\n            'argumentCount' => '1,2'\n        ),\n        'OCT2DEC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTODEC',\n            'argumentCount' => '1'\n        ),\n        'OCT2HEX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING,\n            'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTOHEX',\n            'argumentCount' => '1,2'\n        ),\n        'ODD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::ODD',\n            'argumentCount' => '1'\n        ),\n        'ODDFPRICE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '8,9'\n        ),\n        'ODDFYIELD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '8,9'\n        ),\n        'ODDLPRICE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '7,8'\n        ),\n        'ODDLYIELD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '7,8'\n        ),\n        'OFFSET' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::OFFSET',\n            'argumentCount' => '3-5',\n            'passCellReference' => true,\n            'passByReference' => array(true)\n        ),\n        'OR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::LOGICAL_OR',\n            'argumentCount' => '1+'\n        ),\n        'PEARSON' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::CORREL',\n            'argumentCount' => '2'\n        ),\n        'PERCENTILE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::PERCENTILE',\n            'argumentCount' => '2'\n        ),\n        'PERCENTRANK' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::PERCENTRANK',\n            'argumentCount' => '2,3'\n        ),\n        'PERMUT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::PERMUT',\n            'argumentCount' => '2'\n        ),\n        'PHONETIC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1'\n        ),\n        'PI' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'pi',\n            'argumentCount' => '0'\n        ),\n        'PMT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::PMT',\n            'argumentCount' => '3-5'\n        ),\n        'POISSON' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::POISSON',\n            'argumentCount' => '3'\n        ),\n        'POWER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::POWER',\n            'argumentCount' => '2'\n        ),\n        'PPMT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::PPMT',\n            'argumentCount' => '4-6'\n        ),\n        'PRICE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::PRICE',\n            'argumentCount' => '6,7'\n        ),\n        'PRICEDISC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::PRICEDISC',\n            'argumentCount' => '4,5'\n        ),\n        'PRICEMAT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::PRICEMAT',\n            'argumentCount' => '5,6'\n        ),\n        'PROB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '3,4'\n        ),\n        'PRODUCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::PRODUCT',\n            'argumentCount' => '1+'\n        ),\n        'PROPER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::PROPERCASE',\n            'argumentCount' => '1'\n        ),\n        'PV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::PV',\n            'argumentCount' => '3-5'\n        ),\n        'QUARTILE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::QUARTILE',\n            'argumentCount' => '2'\n        ),\n        'QUOTIENT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::QUOTIENT',\n            'argumentCount' => '2'\n        ),\n        'RADIANS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'deg2rad',\n            'argumentCount' => '1'\n        ),\n        'RAND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::RAND',\n            'argumentCount' => '0'\n        ),\n        'RANDBETWEEN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::RAND',\n            'argumentCount' => '2'\n        ),\n        'RANK' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::RANK',\n            'argumentCount' => '2,3'\n        ),\n        'RATE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::RATE',\n            'argumentCount' => '3-6'\n        ),\n        'RECEIVED' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::RECEIVED',\n            'argumentCount' => '4-5'\n        ),\n        'REPLACE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::REPLACE',\n            'argumentCount' => '4'\n        ),\n        'REPLACEB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::REPLACE',\n            'argumentCount' => '4'\n        ),\n        'REPT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'str_repeat',\n            'argumentCount' => '2'\n        ),\n        'RIGHT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::RIGHT',\n            'argumentCount' => '1,2'\n        ),\n        'RIGHTB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::RIGHT',\n            'argumentCount' => '1,2'\n        ),\n        'ROMAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::ROMAN',\n            'argumentCount' => '1,2'\n        ),\n        'ROUND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'round',\n            'argumentCount' => '2'\n        ),\n        'ROUNDDOWN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::ROUNDDOWN',\n            'argumentCount' => '2'\n        ),\n        'ROUNDUP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::ROUNDUP',\n            'argumentCount' => '2'\n        ),\n        'ROW' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::ROW',\n            'argumentCount' => '-1',\n            'passByReference' => array(true)\n        ),\n        'ROWS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::ROWS',\n            'argumentCount' => '1'\n        ),\n        'RSQ' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::RSQ',\n            'argumentCount' => '2'\n        ),\n        'RTD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '1+'\n        ),\n        'SEARCH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHINSENSITIVE',\n            'argumentCount' => '2,3'\n        ),\n        'SEARCHB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHINSENSITIVE',\n            'argumentCount' => '2,3'\n        ),\n        'SECOND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::SECONDOFMINUTE',\n            'argumentCount' => '1'\n        ),\n        'SERIESSUM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SERIESSUM',\n            'argumentCount' => '4'\n        ),\n        'SIGN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SIGN',\n            'argumentCount' => '1'\n        ),\n        'SIN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'sin',\n            'argumentCount' => '1'\n        ),\n        'SINH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'sinh',\n            'argumentCount' => '1'\n        ),\n        'SKEW' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::SKEW',\n            'argumentCount' => '1+'\n        ),\n        'SLN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::SLN',\n            'argumentCount' => '3'\n        ),\n        'SLOPE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::SLOPE',\n            'argumentCount' => '2'\n        ),\n        'SMALL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::SMALL',\n            'argumentCount' => '2'\n        ),\n        'SQRT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'sqrt',\n            'argumentCount' => '1'\n        ),\n        'SQRTPI' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SQRTPI',\n            'argumentCount' => '1'\n        ),\n        'STANDARDIZE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::STANDARDIZE',\n            'argumentCount' => '3'\n        ),\n        'STDEV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::STDEV',\n            'argumentCount' => '1+'\n        ),\n        'STDEVA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVA',\n            'argumentCount' => '1+'\n        ),\n        'STDEVP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVP',\n            'argumentCount' => '1+'\n        ),\n        'STDEVPA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVPA',\n            'argumentCount' => '1+'\n        ),\n        'STEYX' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::STEYX',\n            'argumentCount' => '2'\n        ),\n        'SUBSTITUTE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::SUBSTITUTE',\n            'argumentCount' => '3,4'\n        ),\n        'SUBTOTAL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUBTOTAL',\n            'argumentCount' => '2+'\n        ),\n        'SUM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUM',\n            'argumentCount' => '1+'\n        ),\n        'SUMIF' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMIF',\n            'argumentCount' => '2,3'\n        ),\n        'SUMIFS' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMIFS',\n            'argumentCount' => '3+'\n        ),\n        'SUMPRODUCT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMPRODUCT',\n            'argumentCount' => '1+'\n        ),\n        'SUMSQ' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMSQ',\n            'argumentCount' => '1+'\n        ),\n        'SUMX2MY2' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMX2MY2',\n            'argumentCount' => '2'\n        ),\n        'SUMX2PY2' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMX2PY2',\n            'argumentCount' => '2'\n        ),\n        'SUMXMY2' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMXMY2',\n            'argumentCount' => '2'\n        ),\n        'SYD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::SYD',\n            'argumentCount' => '4'\n        ),\n        'T' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::RETURNSTRING',\n            'argumentCount' => '1'\n        ),\n        'TAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'tan',\n            'argumentCount' => '1'\n        ),\n        'TANH' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'tanh',\n            'argumentCount' => '1'\n        ),\n        'TBILLEQ' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::TBILLEQ',\n            'argumentCount' => '3'\n        ),\n        'TBILLPRICE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::TBILLPRICE',\n            'argumentCount' => '3'\n        ),\n        'TBILLYIELD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::TBILLYIELD',\n            'argumentCount' => '3'\n        ),\n        'TDIST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::TDIST',\n            'argumentCount' => '3'\n        ),\n        'TEXT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::TEXTFORMAT',\n            'argumentCount' => '2'\n        ),\n        'TIME' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::TIME',\n            'argumentCount' => '3'\n        ),\n        'TIMEVALUE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::TIMEVALUE',\n            'argumentCount' => '1'\n        ),\n        'TINV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::TINV',\n            'argumentCount' => '2'\n        ),\n        'TODAY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DATENOW',\n            'argumentCount' => '0'\n        ),\n        'TRANSPOSE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::TRANSPOSE',\n            'argumentCount' => '1'\n        ),\n        'TREND' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::TREND',\n            'argumentCount' => '1-4'\n        ),\n        'TRIM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::TRIMSPACES',\n            'argumentCount' => '1'\n        ),\n        'TRIMMEAN' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::TRIMMEAN',\n            'argumentCount' => '2'\n        ),\n        'TRUE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL,\n            'functionCall' => 'PHPExcel_Calculation_Logical::TRUE',\n            'argumentCount' => '0'\n        ),\n        'TRUNC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG,\n            'functionCall' => 'PHPExcel_Calculation_MathTrig::TRUNC',\n            'argumentCount' => '1,2'\n        ),\n        'TTEST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '4'\n        ),\n        'TYPE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::TYPE',\n            'argumentCount' => '1'\n        ),\n        'UPPER' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::UPPERCASE',\n            'argumentCount' => '1'\n        ),\n        'USDOLLAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '2'\n        ),\n        'VALUE' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA,\n            'functionCall' => 'PHPExcel_Calculation_TextData::VALUE',\n            'argumentCount' => '1'\n        ),\n        'VAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::VARFunc',\n            'argumentCount' => '1+'\n        ),\n        'VARA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::VARA',\n            'argumentCount' => '1+'\n        ),\n        'VARP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::VARP',\n            'argumentCount' => '1+'\n        ),\n        'VARPA' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::VARPA',\n            'argumentCount' => '1+'\n        ),\n        'VDB' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '5-7'\n        ),\n        'VERSION' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION,\n            'functionCall' => 'PHPExcel_Calculation_Functions::VERSION',\n            'argumentCount' => '0'\n        ),\n        'VLOOKUP' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE,\n            'functionCall' => 'PHPExcel_Calculation_LookupRef::VLOOKUP',\n            'argumentCount' => '3,4'\n        ),\n        'WEEKDAY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::DAYOFWEEK',\n            'argumentCount' => '1,2'\n        ),\n        'WEEKNUM' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::WEEKOFYEAR',\n            'argumentCount' => '1,2'\n        ),\n        'WEIBULL' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::WEIBULL',\n            'argumentCount' => '4'\n        ),\n        'WORKDAY' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::WORKDAY',\n            'argumentCount' => '2+'\n        ),\n        'XIRR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::XIRR',\n            'argumentCount' => '2,3'\n        ),\n        'XNPV' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::XNPV',\n            'argumentCount' => '3'\n        ),\n        'YEAR' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::YEAR',\n            'argumentCount' => '1'\n        ),\n        'YEARFRAC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME,\n            'functionCall' => 'PHPExcel_Calculation_DateTime::YEARFRAC',\n            'argumentCount' => '2,3'\n        ),\n        'YIELD' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY',\n            'argumentCount' => '6,7'\n        ),\n        'YIELDDISC' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::YIELDDISC',\n            'argumentCount' => '4,5'\n        ),\n        'YIELDMAT' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL,\n            'functionCall' => 'PHPExcel_Calculation_Financial::YIELDMAT',\n            'argumentCount' => '5,6'\n        ),\n        'ZTEST' => array(\n            'category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL,\n            'functionCall' => 'PHPExcel_Calculation_Statistical::ZTEST',\n            'argumentCount' => '2-3'\n        )\n    );\n\n    //    Internal functions used for special control purposes\n    private static $controlFunctions = array(\n        'MKMATRIX' => array(\n            'argumentCount' => '*',\n            'functionCall' => 'self::mkMatrix'\n        )\n    );\n\n\n    public function __construct(PHPExcel $workbook = null)\n    {\n        $this->delta = 1 * pow(10, 0 - ini_get('precision'));\n\n        $this->workbook = $workbook;\n        $this->cyclicReferenceStack = new PHPExcel_CalcEngine_CyclicReferenceStack();\n        $this->_debugLog = new PHPExcel_CalcEngine_Logger($this->cyclicReferenceStack);\n    }\n\n\n    private static function loadLocales()\n    {\n        $localeFileDirectory = PHPEXCEL_ROOT.'PHPExcel/locale/';\n        foreach (glob($localeFileDirectory.'/*', GLOB_ONLYDIR) as $filename) {\n            $filename = substr($filename, strlen($localeFileDirectory)+1);\n            if ($filename != 'en') {\n                self::$validLocaleLanguages[] = $filename;\n            }\n        }\n    }\n\n    /**\n     * Get an instance of this class\n     *\n     * @access    public\n     * @param   PHPExcel $workbook  Injected workbook for working with a PHPExcel object,\n     *                                    or NULL to create a standalone claculation engine\n     * @return PHPExcel_Calculation\n     */\n    public static function getInstance(PHPExcel $workbook = null)\n    {\n        if ($workbook !== null) {\n            $instance = $workbook->getCalculationEngine();\n            if (isset($instance)) {\n                return $instance;  \n            }\n        }\n\n        if (!isset(self::$instance) || (self::$instance === null)) {\n            self::$instance = new PHPExcel_Calculation();\n        }\n        return self::$instance;\n    }\n\n    /**\n     * Unset an instance of this class\n     *\n     * @access    public\n     */\n    public function __destruct()\n    {\n        $this->workbook = null;\n    }\n\n    /**\n     * Flush the calculation cache for any existing instance of this class\n     *        but only if a PHPExcel_Calculation instance exists\n     *\n     * @access    public\n     * @return null\n     */\n    public function flushInstance()\n    {\n        $this->clearCalculationCache();\n    }\n\n\n    /**\n     * Get the debuglog for this claculation engine instance\n     *\n     * @access    public\n     * @return PHPExcel_CalcEngine_Logger\n     */\n    public function getDebugLog()\n    {\n        return $this->_debugLog;\n    }\n\n    /**\n     * __clone implementation. Cloning should not be allowed in a Singleton!\n     *\n     * @access    public\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    final public function __clone()\n    {\n        throw new PHPExcel_Calculation_Exception('Cloning the calculation engine is not allowed!');\n    }\n\n\n    /**\n     * Return the locale-specific translation of TRUE\n     *\n     * @access    public\n     * @return     string        locale-specific translation of TRUE\n     */\n    public static function getTRUE()\n    {\n        return self::$localeBoolean['TRUE'];\n    }\n\n    /**\n     * Return the locale-specific translation of FALSE\n     *\n     * @access    public\n     * @return     string        locale-specific translation of FALSE\n     */\n    public static function getFALSE()\n    {\n        return self::$localeBoolean['FALSE'];\n    }\n\n    /**\n     * Set the Array Return Type (Array or Value of first element in the array)\n     *\n     * @access    public\n     * @param     string    $returnType            Array return type\n     * @return     boolean                    Success or failure\n     */\n    public static function setArrayReturnType($returnType)\n    {\n        if (($returnType == self::RETURN_ARRAY_AS_VALUE) ||\n            ($returnType == self::RETURN_ARRAY_AS_ERROR) ||\n            ($returnType == self::RETURN_ARRAY_AS_ARRAY)) {\n            self::$returnArrayAsType = $returnType;\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Return the Array Return Type (Array or Value of first element in the array)\n     *\n     * @access    public\n     * @return     string        $returnType            Array return type\n     */\n    public static function getArrayReturnType()\n    {\n        return self::$returnArrayAsType;\n    }\n\n\n    /**\n     * Is calculation caching enabled?\n     *\n     * @access    public\n     * @return boolean\n     */\n    public function getCalculationCacheEnabled()\n    {\n        return $this->calculationCacheEnabled;\n    }\n\n    /**\n     * Enable/disable calculation cache\n     *\n     * @access    public\n     * @param boolean $pValue\n     */\n    public function setCalculationCacheEnabled($pValue = true)\n    {\n        $this->calculationCacheEnabled = $pValue;\n        $this->clearCalculationCache();\n    }\n\n\n    /**\n     * Enable calculation cache\n     */\n    public function enableCalculationCache()\n    {\n        $this->setCalculationCacheEnabled(true);\n    }\n\n\n    /**\n     * Disable calculation cache\n     */\n    public function disableCalculationCache()\n    {\n        $this->setCalculationCacheEnabled(false);\n    }\n\n\n    /**\n     * Clear calculation cache\n     */\n    public function clearCalculationCache()\n    {\n        $this->calculationCache = array();\n    }\n\n    /**\n     * Clear calculation cache for a specified worksheet\n     *\n     * @param string $worksheetName\n     */\n    public function clearCalculationCacheForWorksheet($worksheetName)\n    {\n        if (isset($this->calculationCache[$worksheetName])) {\n            unset($this->calculationCache[$worksheetName]);\n        }\n    }\n\n    /**\n     * Rename calculation cache for a specified worksheet\n     *\n     * @param string $fromWorksheetName\n     * @param string $toWorksheetName\n     */\n    public function renameCalculationCacheForWorksheet($fromWorksheetName, $toWorksheetName)\n    {\n        if (isset($this->calculationCache[$fromWorksheetName])) {\n            $this->calculationCache[$toWorksheetName] = &$this->calculationCache[$fromWorksheetName];\n            unset($this->calculationCache[$fromWorksheetName]);\n        }\n    }\n\n\n    /**\n     * Get the currently defined locale code\n     *\n     * @return string\n     */\n    public function getLocale()\n    {\n        return self::$localeLanguage;\n    }\n\n\n    /**\n     * Set the locale code\n     *\n     * @param string $locale  The locale to use for formula translation\n     * @return boolean\n     */\n    public function setLocale($locale = 'en_us')\n    {\n        //    Identify our locale and language\n        $language = $locale = strtolower($locale);\n        if (strpos($locale, '_') !== false) {\n            list($language) = explode('_', $locale);\n        }\n\n        if (count(self::$validLocaleLanguages) == 1) {\n            self::loadLocales();\n        }\n        //    Test whether we have any language data for this language (any locale)\n        if (in_array($language, self::$validLocaleLanguages)) {\n            //    initialise language/locale settings\n            self::$localeFunctions = array();\n            self::$localeArgumentSeparator = ',';\n            self::$localeBoolean = array('TRUE' => 'TRUE', 'FALSE' => 'FALSE', 'NULL' => 'NULL');\n            //    Default is English, if user isn't requesting english, then read the necessary data from the locale files\n            if ($locale != 'en_us') {\n                //    Search for a file with a list of function names for locale\n                $functionNamesFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.str_replace('_', DIRECTORY_SEPARATOR, $locale).DIRECTORY_SEPARATOR.'functions';\n                if (!file_exists($functionNamesFile)) {\n                    //    If there isn't a locale specific function file, look for a language specific function file\n                    $functionNamesFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.'functions';\n                    if (!file_exists($functionNamesFile)) {\n                        return false;\n                    }\n                }\n                //    Retrieve the list of locale or language specific function names\n                $localeFunctions = file($functionNamesFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);\n                foreach ($localeFunctions as $localeFunction) {\n                    list($localeFunction) = explode('##', $localeFunction);    //    Strip out comments\n                    if (strpos($localeFunction, '=') !== false) {\n                        list($fName, $lfName) = explode('=', $localeFunction);\n                        $fName = trim($fName);\n                        $lfName = trim($lfName);\n                        if ((isset(self::$PHPExcelFunctions[$fName])) && ($lfName != '') && ($fName != $lfName)) {\n                            self::$localeFunctions[$fName] = $lfName;\n                        }\n                    }\n                }\n                //    Default the TRUE and FALSE constants to the locale names of the TRUE() and FALSE() functions\n                if (isset(self::$localeFunctions['TRUE'])) {\n                    self::$localeBoolean['TRUE'] = self::$localeFunctions['TRUE'];\n                }\n                if (isset(self::$localeFunctions['FALSE'])) {\n                    self::$localeBoolean['FALSE'] = self::$localeFunctions['FALSE'];\n                }\n\n                $configFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.str_replace('_', DIRECTORY_SEPARATOR, $locale).DIRECTORY_SEPARATOR.'config';\n                if (!file_exists($configFile)) {\n                    $configFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.'config';\n                }\n                if (file_exists($configFile)) {\n                    $localeSettings = file($configFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);\n                    foreach ($localeSettings as $localeSetting) {\n                        list($localeSetting) = explode('##', $localeSetting);    //    Strip out comments\n                        if (strpos($localeSetting, '=') !== false) {\n                            list($settingName, $settingValue) = explode('=', $localeSetting);\n                            $settingName = strtoupper(trim($settingName));\n                            switch ($settingName) {\n                                case 'ARGUMENTSEPARATOR':\n                                    self::$localeArgumentSeparator = trim($settingValue);\n                                    break;\n                            }\n                        }\n                    }\n                }\n            }\n\n            self::$functionReplaceFromExcel = self::$functionReplaceToExcel =\n            self::$functionReplaceFromLocale = self::$functionReplaceToLocale = null;\n            self::$localeLanguage = $locale;\n            return true;\n        }\n        return false;\n    }\n\n\n\n    public static function translateSeparator($fromSeparator, $toSeparator, $formula, &$inBraces)\n    {\n        $strlen = mb_strlen($formula);\n        for ($i = 0; $i < $strlen; ++$i) {\n            $chr = mb_substr($formula, $i, 1);\n            switch ($chr) {\n                case '{':\n                    $inBraces = true;\n                    break;\n                case '}':\n                    $inBraces = false;\n                    break;\n                case $fromSeparator:\n                    if (!$inBraces) {\n                        $formula = mb_substr($formula, 0, $i).$toSeparator.mb_substr($formula, $i+1);\n                    }\n            }\n        }\n        return $formula;\n    }\n\n    private static function translateFormula($from, $to, $formula, $fromSeparator, $toSeparator)\n    {\n        //    Convert any Excel function names to the required language\n        if (self::$localeLanguage !== 'en_us') {\n            $inBraces = false;\n            //    If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators\n            if (strpos($formula, '\"') !== false) {\n                //    So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded\n                //        the formula\n                $temp = explode('\"', $formula);\n                $i = false;\n                foreach ($temp as &$value) {\n                    //    Only count/replace in alternating array entries\n                    if ($i = !$i) {\n                        $value = preg_replace($from, $to, $value);\n                        $value = self::translateSeparator($fromSeparator, $toSeparator, $value, $inBraces);\n                    }\n                }\n                unset($value);\n                //    Then rebuild the formula string\n                $formula = implode('\"', $temp);\n            } else {\n                //    If there's no quoted strings, then we do a simple count/replace\n                $formula = preg_replace($from, $to, $formula);\n                $formula = self::translateSeparator($fromSeparator, $toSeparator, $formula, $inBraces);\n            }\n        }\n\n        return $formula;\n    }\n\n    private static $functionReplaceFromExcel = null;\n    private static $functionReplaceToLocale  = null;\n\n    public function _translateFormulaToLocale($formula)\n    {\n        if (self::$functionReplaceFromExcel === null) {\n            self::$functionReplaceFromExcel = array();\n            foreach (array_keys(self::$localeFunctions) as $excelFunctionName) {\n                self::$functionReplaceFromExcel[] = '/(@?[^\\w\\.])'.preg_quote($excelFunctionName).'([\\s]*\\()/Ui';\n            }\n            foreach (array_keys(self::$localeBoolean) as $excelBoolean) {\n                self::$functionReplaceFromExcel[] = '/(@?[^\\w\\.])'.preg_quote($excelBoolean).'([^\\w\\.])/Ui';\n            }\n\n        }\n\n        if (self::$functionReplaceToLocale === null) {\n            self::$functionReplaceToLocale = array();\n            foreach (array_values(self::$localeFunctions) as $localeFunctionName) {\n                self::$functionReplaceToLocale[] = '$1'.trim($localeFunctionName).'$2';\n            }\n            foreach (array_values(self::$localeBoolean) as $localeBoolean) {\n                self::$functionReplaceToLocale[] = '$1'.trim($localeBoolean).'$2';\n            }\n        }\n\n        return self::translateFormula(self::$functionReplaceFromExcel, self::$functionReplaceToLocale, $formula, ',', self::$localeArgumentSeparator);\n    }\n\n\n    private static $functionReplaceFromLocale = null;\n    private static $functionReplaceToExcel    = null;\n\n    public function _translateFormulaToEnglish($formula)\n    {\n        if (self::$functionReplaceFromLocale === null) {\n            self::$functionReplaceFromLocale = array();\n            foreach (array_values(self::$localeFunctions) as $localeFunctionName) {\n                self::$functionReplaceFromLocale[] = '/(@?[^\\w\\.])'.preg_quote($localeFunctionName).'([\\s]*\\()/Ui';\n            }\n            foreach (array_values(self::$localeBoolean) as $excelBoolean) {\n                self::$functionReplaceFromLocale[] = '/(@?[^\\w\\.])'.preg_quote($excelBoolean).'([^\\w\\.])/Ui';\n            }\n        }\n\n        if (self::$functionReplaceToExcel === null) {\n            self::$functionReplaceToExcel = array();\n            foreach (array_keys(self::$localeFunctions) as $excelFunctionName) {\n                self::$functionReplaceToExcel[] = '$1'.trim($excelFunctionName).'$2';\n            }\n            foreach (array_keys(self::$localeBoolean) as $excelBoolean) {\n                self::$functionReplaceToExcel[] = '$1'.trim($excelBoolean).'$2';\n            }\n        }\n\n        return self::translateFormula(self::$functionReplaceFromLocale, self::$functionReplaceToExcel, $formula, self::$localeArgumentSeparator, ',');\n    }\n\n\n    public static function localeFunc($function)\n    {\n        if (self::$localeLanguage !== 'en_us') {\n            $functionName = trim($function, '(');\n            if (isset(self::$localeFunctions[$functionName])) {\n                $brace = ($functionName != $function);\n                $function = self::$localeFunctions[$functionName];\n                if ($brace) {\n                    $function .= '(';\n                }\n            }\n        }\n        return $function;\n    }\n\n\n\n\n    /**\n     * Wrap string values in quotes\n     *\n     * @param mixed $value\n     * @return mixed\n     */\n    public static function wrapResult($value)\n    {\n        if (is_string($value)) {\n            //    Error values cannot be \"wrapped\"\n            if (preg_match('/^'.self::CALCULATION_REGEXP_ERROR.'$/i', $value, $match)) {\n                //    Return Excel errors \"as is\"\n                return $value;\n            }\n            //    Return strings wrapped in quotes\n            return '\"'.$value.'\"';\n        //    Convert numeric errors to NaN error\n        } elseif ((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n\n        return $value;\n    }\n\n\n    /**\n     * Remove quotes used as a wrapper to identify string values\n     *\n     * @param mixed $value\n     * @return mixed\n     */\n    public static function unwrapResult($value)\n    {\n        if (is_string($value)) {\n            if ((isset($value{0})) && ($value{0} == '\"') && (substr($value, -1) == '\"')) {\n                return substr($value, 1, -1);\n            }\n        //    Convert numeric errors to NaN error\n        } elseif ((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return $value;\n    }\n\n\n\n\n    /**\n     * Calculate cell value (using formula from a cell ID)\n     * Retained for backward compatibility\n     *\n     * @access    public\n     * @param    PHPExcel_Cell    $pCell    Cell to calculate\n     * @return    mixed\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function calculate(PHPExcel_Cell $pCell = null)\n    {\n        try {\n            return $this->calculateCellValue($pCell);\n        } catch (PHPExcel_Exception $e) {\n            throw new PHPExcel_Calculation_Exception($e->getMessage());\n        }\n    }\n\n\n    /**\n     * Calculate the value of a cell formula\n     *\n     * @access    public\n     * @param    PHPExcel_Cell    $pCell        Cell to calculate\n     * @param    Boolean            $resetLog    Flag indicating whether the debug log should be reset or not\n     * @return    mixed\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function calculateCellValue(PHPExcel_Cell $pCell = null, $resetLog = true)\n    {\n        if ($pCell === null) {\n            return null;\n        }\n\n        $returnArrayAsType = self::$returnArrayAsType;\n        if ($resetLog) {\n            //    Initialise the logging settings if requested\n            $this->formulaError = null;\n            $this->_debugLog->clearLog();\n            $this->cyclicReferenceStack->clear();\n            $this->cyclicFormulaCounter = 1;\n\n            self::$returnArrayAsType = self::RETURN_ARRAY_AS_ARRAY;\n        }\n\n        //    Execute the calculation for the cell formula\n        $this->cellStack[] = array(\n            'sheet' => $pCell->getWorksheet()->getTitle(),\n            'cell' => $pCell->getCoordinate(),\n        );\n        try {\n            $result = self::unwrapResult($this->_calculateFormulaValue($pCell->getValue(), $pCell->getCoordinate(), $pCell));\n            $cellAddress = array_pop($this->cellStack);\n            $this->workbook->getSheetByName($cellAddress['sheet'])->getCell($cellAddress['cell']);\n        } catch (PHPExcel_Exception $e) {\n            $cellAddress = array_pop($this->cellStack);\n            $this->workbook->getSheetByName($cellAddress['sheet'])->getCell($cellAddress['cell']);\n            throw new PHPExcel_Calculation_Exception($e->getMessage());\n        }\n\n        if ((is_array($result)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) {\n            self::$returnArrayAsType = $returnArrayAsType;\n            $testResult = PHPExcel_Calculation_Functions::flattenArray($result);\n            if (self::$returnArrayAsType == self::RETURN_ARRAY_AS_ERROR) {\n                return PHPExcel_Calculation_Functions::VALUE();\n            }\n            //    If there's only a single cell in the array, then we allow it\n            if (count($testResult) != 1) {\n                //    If keys are numeric, then it's a matrix result rather than a cell range result, so we permit it\n                $r = array_keys($result);\n                $r = array_shift($r);\n                if (!is_numeric($r)) {\n                    return PHPExcel_Calculation_Functions::VALUE();\n                }\n                if (is_array($result[$r])) {\n                    $c = array_keys($result[$r]);\n                    $c = array_shift($c);\n                    if (!is_numeric($c)) {\n                        return PHPExcel_Calculation_Functions::VALUE();\n                    }\n                }\n            }\n            $result = array_shift($testResult);\n        }\n        self::$returnArrayAsType = $returnArrayAsType;\n\n\n        if ($result === null) {\n            return 0;\n        } elseif ((is_float($result)) && ((is_nan($result)) || (is_infinite($result)))) {\n            return PHPExcel_Calculation_Functions::NaN();\n        }\n        return $result;\n    }\n\n\n    /**\n     * Validate and parse a formula string\n     *\n     * @param    string        $formula        Formula to parse\n     * @return    array\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function parseFormula($formula)\n    {\n        //    Basic validation that this is indeed a formula\n        //    We return an empty array if not\n        $formula = trim($formula);\n        if ((!isset($formula{0})) || ($formula{0} != '=')) {\n            return array();\n        }\n        $formula = ltrim(substr($formula, 1));\n        if (!isset($formula{0})) {\n            return array();\n        }\n\n        //    Parse the formula and return the token stack\n        return $this->_parseFormula($formula);\n    }\n\n\n    /**\n     * Calculate the value of a formula\n     *\n     * @param    string            $formula    Formula to parse\n     * @param    string            $cellID        Address of the cell to calculate\n     * @param    PHPExcel_Cell    $pCell        Cell to calculate\n     * @return    mixed\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function calculateFormula($formula, $cellID = null, PHPExcel_Cell $pCell = null)\n    {\n        //    Initialise the logging settings\n        $this->formulaError = null;\n        $this->_debugLog->clearLog();\n        $this->cyclicReferenceStack->clear();\n\n        if ($this->workbook !== null && $cellID === null && $pCell === null) {\n            $cellID = 'A1';\n            $pCell = $this->workbook->getActiveSheet()->getCell($cellID);\n        } else {\n            //    Disable calculation cacheing because it only applies to cell calculations, not straight formulae\n            //    But don't actually flush any cache\n            $resetCache = $this->getCalculationCacheEnabled();\n            $this->calculationCacheEnabled = false;\n        }\n\n        //    Execute the calculation\n        try {\n            $result = self::unwrapResult($this->_calculateFormulaValue($formula, $cellID, $pCell));\n        } catch (PHPExcel_Exception $e) {\n            throw new PHPExcel_Calculation_Exception($e->getMessage());\n        }\n\n        if ($this->workbook === null) {\n            //    Reset calculation cacheing to its previous state\n            $this->calculationCacheEnabled = $resetCache;\n        }\n\n        return $result;\n    }\n\n\n    public function getValueFromCache($cellReference, &$cellValue)\n    {\n        // Is calculation cacheing enabled?\n        // Is the value present in calculation cache?\n        $this->_debugLog->writeDebugLog('Testing cache value for cell ', $cellReference);\n        if (($this->calculationCacheEnabled) && (isset($this->calculationCache[$cellReference]))) {\n            $this->_debugLog->writeDebugLog('Retrieving value for cell ', $cellReference, ' from cache');\n            // Return the cached result\n            $cellValue = $this->calculationCache[$cellReference];\n            return true;\n        }\n        return false;\n    }\n\n    public function saveValueToCache($cellReference, $cellValue)\n    {\n        if ($this->calculationCacheEnabled) {\n            $this->calculationCache[$cellReference] = $cellValue;\n        }\n    }\n\n    /**\n     * Parse a cell formula and calculate its value\n     *\n     * @param    string            $formula    The formula to parse and calculate\n     * @param    string            $cellID        The ID (e.g. A3) of the cell that we are calculating\n     * @param    PHPExcel_Cell    $pCell        Cell to calculate\n     * @return    mixed\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function _calculateFormulaValue($formula, $cellID = null, PHPExcel_Cell $pCell = null)\n    {\n        $cellValue = null;\n\n        //    Basic validation that this is indeed a formula\n        //    We simply return the cell value if not\n        $formula = trim($formula);\n        if ($formula{0} != '=') {\n            return self::wrapResult($formula);\n        }\n        $formula = ltrim(substr($formula, 1));\n        if (!isset($formula{0})) {\n            return self::wrapResult($formula);\n        }\n\n        $pCellParent = ($pCell !== null) ? $pCell->getWorksheet() : null;\n        $wsTitle = ($pCellParent !== null) ? $pCellParent->getTitle() : \"\\x00Wrk\";\n        $wsCellReference = $wsTitle . '!' . $cellID;\n\n        if (($cellID !== null) && ($this->getValueFromCache($wsCellReference, $cellValue))) {\n            return $cellValue;\n        }\n\n        if (($wsTitle{0} !== \"\\x00\") && ($this->cyclicReferenceStack->onStack($wsCellReference))) {\n            if ($this->cyclicFormulaCount <= 0) {\n                $this->cyclicFormulaCell = '';\n                return $this->raiseFormulaError('Cyclic Reference in Formula');\n            } elseif ($this->cyclicFormulaCell === $wsCellReference) {\n                ++$this->cyclicFormulaCounter;\n                if ($this->cyclicFormulaCounter >= $this->cyclicFormulaCount) {\n                    $this->cyclicFormulaCell = '';\n                    return $cellValue;\n                }\n            } elseif ($this->cyclicFormulaCell == '') {\n                if ($this->cyclicFormulaCounter >= $this->cyclicFormulaCount) {\n                    return $cellValue;\n                }\n                $this->cyclicFormulaCell = $wsCellReference;\n            }\n        }\n\n        //    Parse the formula onto the token stack and calculate the value\n        $this->cyclicReferenceStack->push($wsCellReference);\n        $cellValue = $this->processTokenStack($this->_parseFormula($formula, $pCell), $cellID, $pCell);\n        $this->cyclicReferenceStack->pop();\n\n        // Save to calculation cache\n        if ($cellID !== null) {\n            $this->saveValueToCache($wsCellReference, $cellValue);\n        }\n\n        //    Return the calculated value\n        return $cellValue;\n    }\n\n\n    /**\n     * Ensure that paired matrix operands are both matrices and of the same size\n     *\n     * @param    mixed        &$operand1    First matrix operand\n     * @param    mixed        &$operand2    Second matrix operand\n     * @param    integer        $resize        Flag indicating whether the matrices should be resized to match\n     *                                        and (if so), whether the smaller dimension should grow or the\n     *                                        larger should shrink.\n     *                                            0 = no resize\n     *                                            1 = shrink to fit\n     *                                            2 = extend to fit\n     */\n    private static function checkMatrixOperands(&$operand1, &$operand2, $resize = 1)\n    {\n        //    Examine each of the two operands, and turn them into an array if they aren't one already\n        //    Note that this function should only be called if one or both of the operand is already an array\n        if (!is_array($operand1)) {\n            list($matrixRows, $matrixColumns) = self::getMatrixDimensions($operand2);\n            $operand1 = array_fill(0, $matrixRows, array_fill(0, $matrixColumns, $operand1));\n            $resize = 0;\n        } elseif (!is_array($operand2)) {\n            list($matrixRows, $matrixColumns) = self::getMatrixDimensions($operand1);\n            $operand2 = array_fill(0, $matrixRows, array_fill(0, $matrixColumns, $operand2));\n            $resize = 0;\n        }\n\n        list($matrix1Rows, $matrix1Columns) = self::getMatrixDimensions($operand1);\n        list($matrix2Rows, $matrix2Columns) = self::getMatrixDimensions($operand2);\n        if (($matrix1Rows == $matrix2Columns) && ($matrix2Rows == $matrix1Columns)) {\n            $resize = 1;\n        }\n\n        if ($resize == 2) {\n            //    Given two matrices of (potentially) unequal size, convert the smaller in each dimension to match the larger\n            self::resizeMatricesExtend($operand1, $operand2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns);\n        } elseif ($resize == 1) {\n            //    Given two matrices of (potentially) unequal size, convert the larger in each dimension to match the smaller\n            self::resizeMatricesShrink($operand1, $operand2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns);\n        }\n        return array( $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns);\n    }\n\n\n    /**\n     * Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0\n     *\n     * @param    mixed        &$matrix        matrix operand\n     * @return    array        An array comprising the number of rows, and number of columns\n     */\n    private static function getMatrixDimensions(&$matrix)\n    {\n        $matrixRows = count($matrix);\n        $matrixColumns = 0;\n        foreach ($matrix as $rowKey => $rowValue) {\n            $matrixColumns = max(count($rowValue), $matrixColumns);\n            if (!is_array($rowValue)) {\n                $matrix[$rowKey] = array($rowValue);\n            } else {\n                $matrix[$rowKey] = array_values($rowValue);\n            }\n        }\n        $matrix = array_values($matrix);\n        return array($matrixRows, $matrixColumns);\n    }\n\n\n    /**\n     * Ensure that paired matrix operands are both matrices of the same size\n     *\n     * @param    mixed        &$matrix1        First matrix operand\n     * @param    mixed        &$matrix2        Second matrix operand\n     * @param    integer        $matrix1Rows    Row size of first matrix operand\n     * @param    integer        $matrix1Columns    Column size of first matrix operand\n     * @param    integer        $matrix2Rows    Row size of second matrix operand\n     * @param    integer        $matrix2Columns    Column size of second matrix operand\n     */\n    private static function resizeMatricesShrink(&$matrix1, &$matrix2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns)\n    {\n        if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) {\n            if ($matrix2Rows < $matrix1Rows) {\n                for ($i = $matrix2Rows; $i < $matrix1Rows; ++$i) {\n                    unset($matrix1[$i]);\n                }\n            }\n            if ($matrix2Columns < $matrix1Columns) {\n                for ($i = 0; $i < $matrix1Rows; ++$i) {\n                    for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) {\n                        unset($matrix1[$i][$j]);\n                    }\n                }\n            }\n        }\n\n        if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) {\n            if ($matrix1Rows < $matrix2Rows) {\n                for ($i = $matrix1Rows; $i < $matrix2Rows; ++$i) {\n                    unset($matrix2[$i]);\n                }\n            }\n            if ($matrix1Columns < $matrix2Columns) {\n                for ($i = 0; $i < $matrix2Rows; ++$i) {\n                    for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) {\n                        unset($matrix2[$i][$j]);\n                    }\n                }\n            }\n        }\n    }\n\n\n    /**\n     * Ensure that paired matrix operands are both matrices of the same size\n     *\n     * @param    mixed        &$matrix1    First matrix operand\n     * @param    mixed        &$matrix2    Second matrix operand\n     * @param    integer        $matrix1Rows    Row size of first matrix operand\n     * @param    integer        $matrix1Columns    Column size of first matrix operand\n     * @param    integer        $matrix2Rows    Row size of second matrix operand\n     * @param    integer        $matrix2Columns    Column size of second matrix operand\n     */\n    private static function resizeMatricesExtend(&$matrix1, &$matrix2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns)\n    {\n        if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) {\n            if ($matrix2Columns < $matrix1Columns) {\n                for ($i = 0; $i < $matrix2Rows; ++$i) {\n                    $x = $matrix2[$i][$matrix2Columns-1];\n                    for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) {\n                        $matrix2[$i][$j] = $x;\n                    }\n                }\n            }\n            if ($matrix2Rows < $matrix1Rows) {\n                $x = $matrix2[$matrix2Rows-1];\n                for ($i = 0; $i < $matrix1Rows; ++$i) {\n                    $matrix2[$i] = $x;\n                }\n            }\n        }\n\n        if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) {\n            if ($matrix1Columns < $matrix2Columns) {\n                for ($i = 0; $i < $matrix1Rows; ++$i) {\n                    $x = $matrix1[$i][$matrix1Columns-1];\n                    for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) {\n                        $matrix1[$i][$j] = $x;\n                    }\n                }\n            }\n            if ($matrix1Rows < $matrix2Rows) {\n                $x = $matrix1[$matrix1Rows-1];\n                for ($i = 0; $i < $matrix2Rows; ++$i) {\n                    $matrix1[$i] = $x;\n                }\n            }\n        }\n    }\n\n\n    /**\n     * Format details of an operand for display in the log (based on operand type)\n     *\n     * @param    mixed        $value    First matrix operand\n     * @return    mixed\n     */\n    private function showValue($value)\n    {\n        if ($this->_debugLog->getWriteDebugLog()) {\n            $testArray = PHPExcel_Calculation_Functions::flattenArray($value);\n            if (count($testArray) == 1) {\n                $value = array_pop($testArray);\n            }\n\n            if (is_array($value)) {\n                $returnMatrix = array();\n                $pad = $rpad = ', ';\n                foreach ($value as $row) {\n                    if (is_array($row)) {\n                        $returnMatrix[] = implode($pad, array_map(array($this, 'showValue'), $row));\n                        $rpad = '; ';\n                    } else {\n                        $returnMatrix[] = $this->showValue($row);\n                    }\n                }\n                return '{ '.implode($rpad, $returnMatrix).' }';\n            } elseif (is_string($value) && (trim($value, '\"') == $value)) {\n                return '\"'.$value.'\"';\n            } elseif (is_bool($value)) {\n                return ($value) ? self::$localeBoolean['TRUE'] : self::$localeBoolean['FALSE'];\n            }\n        }\n        return PHPExcel_Calculation_Functions::flattenSingleValue($value);\n    }\n\n\n    /**\n     * Format type and details of an operand for display in the log (based on operand type)\n     *\n     * @param    mixed        $value    First matrix operand\n     * @return    mixed\n     */\n    private function showTypeDetails($value)\n    {\n        if ($this->_debugLog->getWriteDebugLog()) {\n            $testArray = PHPExcel_Calculation_Functions::flattenArray($value);\n            if (count($testArray) == 1) {\n                $value = array_pop($testArray);\n            }\n\n            if ($value === null) {\n                return 'a NULL value';\n            } elseif (is_float($value)) {\n                $typeString = 'a floating point number';\n            } elseif (is_int($value)) {\n                $typeString = 'an integer number';\n            } elseif (is_bool($value)) {\n                $typeString = 'a boolean';\n            } elseif (is_array($value)) {\n                $typeString = 'a matrix';\n            } else {\n                if ($value == '') {\n                    return 'an empty string';\n                } elseif ($value{0} == '#') {\n                    return 'a '.$value.' error';\n                } else {\n                    $typeString = 'a string';\n                }\n            }\n            return $typeString.' with a value of '.$this->showValue($value);\n        }\n    }\n\n\n    private function convertMatrixReferences($formula)\n    {\n        static $matrixReplaceFrom = array('{', ';', '}');\n        static $matrixReplaceTo = array('MKMATRIX(MKMATRIX(', '),MKMATRIX(', '))');\n\n        //    Convert any Excel matrix references to the MKMATRIX() function\n        if (strpos($formula, '{') !== false) {\n            //    If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators\n            if (strpos($formula, '\"') !== false) {\n                //    So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded\n                //        the formula\n                $temp = explode('\"', $formula);\n                //    Open and Closed counts used for trapping mismatched braces in the formula\n                $openCount = $closeCount = 0;\n                $i = false;\n                foreach ($temp as &$value) {\n                    //    Only count/replace in alternating array entries\n                    if ($i = !$i) {\n                        $openCount += substr_count($value, '{');\n                        $closeCount += substr_count($value, '}');\n                        $value = str_replace($matrixReplaceFrom, $matrixReplaceTo, $value);\n                    }\n                }\n                unset($value);\n                //    Then rebuild the formula string\n                $formula = implode('\"', $temp);\n            } else {\n                //    If there's no quoted strings, then we do a simple count/replace\n                $openCount = substr_count($formula, '{');\n                $closeCount = substr_count($formula, '}');\n                $formula = str_replace($matrixReplaceFrom, $matrixReplaceTo, $formula);\n            }\n            //    Trap for mismatched braces and trigger an appropriate error\n            if ($openCount < $closeCount) {\n                if ($openCount > 0) {\n                    return $this->raiseFormulaError(\"Formula Error: Mismatched matrix braces '}'\");\n                } else {\n                    return $this->raiseFormulaError(\"Formula Error: Unexpected '}' encountered\");\n                }\n            } elseif ($openCount > $closeCount) {\n                if ($closeCount > 0) {\n                    return $this->raiseFormulaError(\"Formula Error: Mismatched matrix braces '{'\");\n                } else {\n                    return $this->raiseFormulaError(\"Formula Error: Unexpected '{' encountered\");\n                }\n            }\n        }\n\n        return $formula;\n    }\n\n\n    private static function mkMatrix()\n    {\n        return func_get_args();\n    }\n\n\n    //    Binary Operators\n    //    These operators always work on two values\n    //    Array key is the operator, the value indicates whether this is a left or right associative operator\n    private static $operatorAssociativity    = array(\n        '^' => 0,                                                            //    Exponentiation\n        '*' => 0, '/' => 0,                                                 //    Multiplication and Division\n        '+' => 0, '-' => 0,                                                    //    Addition and Subtraction\n        '&' => 0,                                                            //    Concatenation\n        '|' => 0, ':' => 0,                                                    //    Intersect and Range\n        '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0        //    Comparison\n    );\n\n    //    Comparison (Boolean) Operators\n    //    These operators work on two values, but always return a boolean result\n    private static $comparisonOperators    = array('>' => true, '<' => true, '=' => true, '>=' => true, '<=' => true, '<>' => true);\n\n    //    Operator Precedence\n    //    This list includes all valid operators, whether binary (including boolean) or unary (such as %)\n    //    Array key is the operator, the value is its precedence\n    private static $operatorPrecedence    = array(\n        ':' => 8,                                                                //    Range\n        '|' => 7,                                                                //    Intersect\n        '~' => 6,                                                                //    Negation\n        '%' => 5,                                                                //    Percentage\n        '^' => 4,                                                                //    Exponentiation\n        '*' => 3, '/' => 3,                                                     //    Multiplication and Division\n        '+' => 2, '-' => 2,                                                        //    Addition and Subtraction\n        '&' => 1,                                                                //    Concatenation\n        '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0            //    Comparison\n    );\n\n    // Convert infix to postfix notation\n    private function _parseFormula($formula, PHPExcel_Cell $pCell = null)\n    {\n        if (($formula = $this->convertMatrixReferences(trim($formula))) === false) {\n            return false;\n        }\n\n        //    If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent worksheet),\n        //        so we store the parent worksheet so that we can re-attach it when necessary\n        $pCellParent = ($pCell !== null) ? $pCell->getWorksheet() : null;\n\n        $regexpMatchString = '/^('.self::CALCULATION_REGEXP_FUNCTION.\n                               '|'.self::CALCULATION_REGEXP_CELLREF.\n                               '|'.self::CALCULATION_REGEXP_NUMBER.\n                               '|'.self::CALCULATION_REGEXP_STRING.\n                               '|'.self::CALCULATION_REGEXP_OPENBRACE.\n                               '|'.self::CALCULATION_REGEXP_NAMEDRANGE.\n                               '|'.self::CALCULATION_REGEXP_ERROR.\n                             ')/si';\n\n        //    Start with initialisation\n        $index = 0;\n        $stack = new PHPExcel_Calculation_Token_Stack;\n        $output = array();\n        $expectingOperator = false;                    //    We use this test in syntax-checking the expression to determine when a\n                                                    //        - is a negation or + is a positive operator rather than an operation\n        $expectingOperand = false;                    //    We use this test in syntax-checking the expression to determine whether an operand\n                                                    //        should be null in a function call\n        //    The guts of the lexical parser\n        //    Loop through the formula extracting each operator and operand in turn\n        while (true) {\n//echo 'Assessing Expression '.substr($formula, $index), PHP_EOL;\n            $opCharacter = $formula{$index};    //    Get the first character of the value at the current index position\n//echo 'Initial character of expression block is '.$opCharacter, PHP_EOL;\n            if ((isset(self::$comparisonOperators[$opCharacter])) && (strlen($formula) > $index) && (isset(self::$comparisonOperators[$formula{$index+1}]))) {\n                $opCharacter .= $formula{++$index};\n//echo 'Initial character of expression block is comparison operator '.$opCharacter.PHP_EOL;\n            }\n\n            //    Find out if we're currently at the beginning of a number, variable, cell reference, function, parenthesis or operand\n            $isOperandOrFunction = preg_match($regexpMatchString, substr($formula, $index), $match);\n//echo '$isOperandOrFunction is '.(($isOperandOrFunction) ? 'True' : 'False').PHP_EOL;\n//var_dump($match);\n\n            if ($opCharacter == '-' && !$expectingOperator) {                //    Is it a negation instead of a minus?\n//echo 'Element is a Negation operator', PHP_EOL;\n                $stack->push('Unary Operator', '~');                            //    Put a negation on the stack\n                ++$index;                                                    //        and drop the negation symbol\n            } elseif ($opCharacter == '%' && $expectingOperator) {\n//echo 'Element is a Percentage operator', PHP_EOL;\n                $stack->push('Unary Operator', '%');                            //    Put a percentage on the stack\n                ++$index;\n            } elseif ($opCharacter == '+' && !$expectingOperator) {            //    Positive (unary plus rather than binary operator plus) can be discarded?\n//echo 'Element is a Positive number, not Plus operator', PHP_EOL;\n                ++$index;                                                    //    Drop the redundant plus symbol\n            } elseif ((($opCharacter == '~') || ($opCharacter == '|')) && (!$isOperandOrFunction)) {    //    We have to explicitly deny a tilde or pipe, because they are legal\n                return $this->raiseFormulaError(\"Formula Error: Illegal character '~'\");                //        on the stack but not in the input expression\n\n            } elseif ((isset(self::$operators[$opCharacter]) or $isOperandOrFunction) && $expectingOperator) {    //    Are we putting an operator on the stack?\n//echo 'Element with value '.$opCharacter.' is an Operator', PHP_EOL;\n                while ($stack->count() > 0 &&\n                    ($o2 = $stack->last()) &&\n                    isset(self::$operators[$o2['value']]) &&\n                    @(self::$operatorAssociativity[$opCharacter] ? self::$operatorPrecedence[$opCharacter] < self::$operatorPrecedence[$o2['value']] : self::$operatorPrecedence[$opCharacter] <= self::$operatorPrecedence[$o2['value']])) {\n                    $output[] = $stack->pop();                                //    Swap operands and higher precedence operators from the stack to the output\n                }\n                $stack->push('Binary Operator', $opCharacter);    //    Finally put our current operator onto the stack\n                ++$index;\n                $expectingOperator = false;\n\n            } elseif ($opCharacter == ')' && $expectingOperator) {            //    Are we expecting to close a parenthesis?\n//echo 'Element is a Closing bracket', PHP_EOL;\n                $expectingOperand = false;\n                while (($o2 = $stack->pop()) && $o2['value'] != '(') {        //    Pop off the stack back to the last (\n                    if ($o2 === null) {\n                        return $this->raiseFormulaError('Formula Error: Unexpected closing brace \")\"');\n                    } else {\n                        $output[] = $o2;\n                    }\n                }\n                $d = $stack->last(2);\n                if (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $d['value'], $matches)) {    //    Did this parenthesis just close a function?\n                    $functionName = $matches[1];                                        //    Get the function name\n//echo 'Closed Function is '.$functionName, PHP_EOL;\n                    $d = $stack->pop();\n                    $argumentCount = $d['value'];        //    See how many arguments there were (argument count is the next value stored on the stack)\n//if ($argumentCount == 0) {\n//    echo 'With no arguments', PHP_EOL;\n//} elseif ($argumentCount == 1) {\n//    echo 'With 1 argument', PHP_EOL;\n//} else {\n//    echo 'With '.$argumentCount.' arguments', PHP_EOL;\n//}\n                    $output[] = $d;                        //    Dump the argument count on the output\n                    $output[] = $stack->pop();            //    Pop the function and push onto the output\n                    if (isset(self::$controlFunctions[$functionName])) {\n//echo 'Built-in function '.$functionName, PHP_EOL;\n                        $expectedArgumentCount = self::$controlFunctions[$functionName]['argumentCount'];\n                        $functionCall = self::$controlFunctions[$functionName]['functionCall'];\n                    } elseif (isset(self::$PHPExcelFunctions[$functionName])) {\n//echo 'PHPExcel function '.$functionName, PHP_EOL;\n                        $expectedArgumentCount = self::$PHPExcelFunctions[$functionName]['argumentCount'];\n                        $functionCall = self::$PHPExcelFunctions[$functionName]['functionCall'];\n                    } else {    // did we somehow push a non-function on the stack? this should never happen\n                        return $this->raiseFormulaError(\"Formula Error: Internal error, non-function on stack\");\n                    }\n                    //    Check the argument count\n                    $argumentCountError = false;\n                    if (is_numeric($expectedArgumentCount)) {\n                        if ($expectedArgumentCount < 0) {\n//echo '$expectedArgumentCount is between 0 and '.abs($expectedArgumentCount), PHP_EOL;\n                            if ($argumentCount > abs($expectedArgumentCount)) {\n                                $argumentCountError = true;\n                                $expectedArgumentCountString = 'no more than '.abs($expectedArgumentCount);\n                            }\n                        } else {\n//echo '$expectedArgumentCount is numeric '.$expectedArgumentCount, PHP_EOL;\n                            if ($argumentCount != $expectedArgumentCount) {\n                                $argumentCountError = true;\n                                $expectedArgumentCountString = $expectedArgumentCount;\n                            }\n                        }\n                    } elseif ($expectedArgumentCount != '*') {\n                        $isOperandOrFunction = preg_match('/(\\d*)([-+,])(\\d*)/', $expectedArgumentCount, $argMatch);\n//print_r($argMatch);\n//echo PHP_EOL;\n                        switch ($argMatch[2]) {\n                            case '+':\n                                if ($argumentCount < $argMatch[1]) {\n                                    $argumentCountError = true;\n                                    $expectedArgumentCountString = $argMatch[1].' or more ';\n                                }\n                                break;\n                            case '-':\n                                if (($argumentCount < $argMatch[1]) || ($argumentCount > $argMatch[3])) {\n                                    $argumentCountError = true;\n                                    $expectedArgumentCountString = 'between '.$argMatch[1].' and '.$argMatch[3];\n                                }\n                                break;\n                            case ',':\n                                if (($argumentCount != $argMatch[1]) && ($argumentCount != $argMatch[3])) {\n                                    $argumentCountError = true;\n                                    $expectedArgumentCountString = 'either '.$argMatch[1].' or '.$argMatch[3];\n                                }\n                                break;\n                        }\n                    }\n                    if ($argumentCountError) {\n                        return $this->raiseFormulaError(\"Formula Error: Wrong number of arguments for $functionName() function: $argumentCount given, \".$expectedArgumentCountString.\" expected\");\n                    }\n                }\n                ++$index;\n\n            } elseif ($opCharacter == ',') {            //    Is this the separator for function arguments?\n//echo 'Element is a Function argument separator', PHP_EOL;\n                while (($o2 = $stack->pop()) && $o2['value'] != '(') {        //    Pop off the stack back to the last (\n                    if ($o2 === null) {\n                        return $this->raiseFormulaError(\"Formula Error: Unexpected ,\");\n                    } else {\n                        $output[] = $o2;    // pop the argument expression stuff and push onto the output\n                    }\n                }\n                //    If we've a comma when we're expecting an operand, then what we actually have is a null operand;\n                //        so push a null onto the stack\n                if (($expectingOperand) || (!$expectingOperator)) {\n                    $output[] = array('type' => 'NULL Value', 'value' => self::$excelConstants['NULL'], 'reference' => null);\n                }\n                // make sure there was a function\n                $d = $stack->last(2);\n                if (!preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $d['value'], $matches)) {\n                    return $this->raiseFormulaError(\"Formula Error: Unexpected ,\");\n                }\n                $d = $stack->pop();\n                $stack->push($d['type'], ++$d['value'], $d['reference']);    // increment the argument count\n                $stack->push('Brace', '(');    // put the ( back on, we'll need to pop back to it again\n                $expectingOperator = false;\n                $expectingOperand = true;\n                ++$index;\n\n            } elseif ($opCharacter == '(' && !$expectingOperator) {\n//                echo 'Element is an Opening Bracket<br />';\n                $stack->push('Brace', '(');\n                ++$index;\n\n            } elseif ($isOperandOrFunction && !$expectingOperator) {    // do we now have a function/variable/number?\n                $expectingOperator = true;\n                $expectingOperand = false;\n                $val = $match[1];\n                $length = strlen($val);\n//                echo 'Element with value '.$val.' is an Operand, Variable, Constant, String, Number, Cell Reference or Function<br />';\n\n                if (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $val, $matches)) {\n                    $val = preg_replace('/\\s/u', '', $val);\n//                    echo 'Element '.$val.' is a Function<br />';\n                    if (isset(self::$PHPExcelFunctions[strtoupper($matches[1])]) || isset(self::$controlFunctions[strtoupper($matches[1])])) {    // it's a function\n                        $stack->push('Function', strtoupper($val));\n                        $ax = preg_match('/^\\s*(\\s*\\))/ui', substr($formula, $index+$length), $amatch);\n                        if ($ax) {\n                            $stack->push('Operand Count for Function '.strtoupper($val).')', 0);\n                            $expectingOperator = true;\n                        } else {\n                            $stack->push('Operand Count for Function '.strtoupper($val).')', 1);\n                            $expectingOperator = false;\n                        }\n                        $stack->push('Brace', '(');\n                    } else {    // it's a var w/ implicit multiplication\n                        $output[] = array('type' => 'Value', 'value' => $matches[1], 'reference' => null);\n                    }\n                } elseif (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $val, $matches)) {\n//                    echo 'Element '.$val.' is a Cell reference<br />';\n                    //    Watch for this case-change when modifying to allow cell references in different worksheets...\n                    //    Should only be applied to the actual cell column, not the worksheet name\n\n                    //    If the last entry on the stack was a : operator, then we have a cell range reference\n                    $testPrevOp = $stack->last(1);\n                    if ($testPrevOp['value'] == ':') {\n                        //    If we have a worksheet reference, then we're playing with a 3D reference\n                        if ($matches[2] == '') {\n                            //    Otherwise, we 'inherit' the worksheet reference from the start cell reference\n                            //    The start of the cell range reference should be the last entry in $output\n                            $startCellRef = $output[count($output)-1]['value'];\n                            preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $startCellRef, $startMatches);\n                            if ($startMatches[2] > '') {\n                                $val = $startMatches[2].'!'.$val;\n                            }\n                        } else {\n                            return $this->raiseFormulaError(\"3D Range references are not yet supported\");\n                        }\n                    }\n\n                    $output[] = array('type' => 'Cell Reference', 'value' => $val, 'reference' => $val);\n//                    $expectingOperator = FALSE;\n                } else {    // it's a variable, constant, string, number or boolean\n//                    echo 'Element is a Variable, Constant, String, Number or Boolean<br />';\n                    //    If the last entry on the stack was a : operator, then we may have a row or column range reference\n                    $testPrevOp = $stack->last(1);\n                    if ($testPrevOp['value'] == ':') {\n                        $startRowColRef = $output[count($output)-1]['value'];\n                        $rangeWS1 = '';\n                        if (strpos('!', $startRowColRef) !== false) {\n                            list($rangeWS1, $startRowColRef) = explode('!', $startRowColRef);\n                        }\n                        if ($rangeWS1 != '') {\n                            $rangeWS1 .= '!';\n                        }\n                        $rangeWS2 = $rangeWS1;\n                        if (strpos('!', $val) !== false) {\n                            list($rangeWS2, $val) = explode('!', $val);\n                        }\n                        if ($rangeWS2 != '') {\n                            $rangeWS2 .= '!';\n                        }\n                        if ((is_integer($startRowColRef)) && (ctype_digit($val)) &&\n                            ($startRowColRef <= 1048576) && ($val <= 1048576)) {\n                            //    Row range\n                            $endRowColRef = ($pCellParent !== null) ? $pCellParent->getHighestColumn() : 'XFD';    //    Max 16,384 columns for Excel2007\n                            $output[count($output)-1]['value'] = $rangeWS1.'A'.$startRowColRef;\n                            $val = $rangeWS2.$endRowColRef.$val;\n                        } elseif ((ctype_alpha($startRowColRef)) && (ctype_alpha($val)) &&\n                            (strlen($startRowColRef) <= 3) && (strlen($val) <= 3)) {\n                            //    Column range\n                            $endRowColRef = ($pCellParent !== null) ? $pCellParent->getHighestRow() : 1048576;        //    Max 1,048,576 rows for Excel2007\n                            $output[count($output)-1]['value'] = $rangeWS1.strtoupper($startRowColRef).'1';\n                            $val = $rangeWS2.$val.$endRowColRef;\n                        }\n                    }\n\n                    $localeConstant = false;\n                    if ($opCharacter == '\"') {\n//                        echo 'Element is a String<br />';\n                        //    UnEscape any quotes within the string\n                        $val = self::wrapResult(str_replace('\"\"', '\"', self::unwrapResult($val)));\n                    } elseif (is_numeric($val)) {\n//                        echo 'Element is a Number<br />';\n                        if ((strpos($val, '.') !== false) || (stripos($val, 'e') !== false) || ($val > PHP_INT_MAX) || ($val < -PHP_INT_MAX)) {\n//                            echo 'Casting '.$val.' to float<br />';\n                            $val = (float) $val;\n                        } else {\n//                            echo 'Casting '.$val.' to integer<br />';\n                            $val = (integer) $val;\n                        }\n                    } elseif (isset(self::$excelConstants[trim(strtoupper($val))])) {\n                        $excelConstant = trim(strtoupper($val));\n//                        echo 'Element '.$excelConstant.' is an Excel Constant<br />';\n                        $val = self::$excelConstants[$excelConstant];\n                    } elseif (($localeConstant = array_search(trim(strtoupper($val)), self::$localeBoolean)) !== false) {\n//                        echo 'Element '.$localeConstant.' is an Excel Constant<br />';\n                        $val = self::$excelConstants[$localeConstant];\n                    }\n                    $details = array('type' => 'Value', 'value' => $val, 'reference' => null);\n                    if ($localeConstant) {\n                        $details['localeValue'] = $localeConstant;\n                    }\n                    $output[] = $details;\n                }\n                $index += $length;\n\n            } elseif ($opCharacter == '$') {    // absolute row or column range\n                ++$index;\n            } elseif ($opCharacter == ')') {    // miscellaneous error checking\n                if ($expectingOperand) {\n                    $output[] = array('type' => 'NULL Value', 'value' => self::$excelConstants['NULL'], 'reference' => null);\n                    $expectingOperand = false;\n                    $expectingOperator = true;\n                } else {\n                    return $this->raiseFormulaError(\"Formula Error: Unexpected ')'\");\n                }\n            } elseif (isset(self::$operators[$opCharacter]) && !$expectingOperator) {\n                return $this->raiseFormulaError(\"Formula Error: Unexpected operator '$opCharacter'\");\n            } else {    // I don't even want to know what you did to get here\n                return $this->raiseFormulaError(\"Formula Error: An unexpected error occured\");\n            }\n            //    Test for end of formula string\n            if ($index == strlen($formula)) {\n                //    Did we end with an operator?.\n                //    Only valid for the % unary operator\n                if ((isset(self::$operators[$opCharacter])) && ($opCharacter != '%')) {\n                    return $this->raiseFormulaError(\"Formula Error: Operator '$opCharacter' has no operands\");\n                } else {\n                    break;\n                }\n            }\n            //    Ignore white space\n            while (($formula{$index} == \"\\n\") || ($formula{$index} == \"\\r\")) {\n                ++$index;\n            }\n            if ($formula{$index} == ' ') {\n                while ($formula{$index} == ' ') {\n                    ++$index;\n                }\n                //    If we're expecting an operator, but only have a space between the previous and next operands (and both are\n                //        Cell References) then we have an INTERSECTION operator\n//                echo 'Possible Intersect Operator<br />';\n                if (($expectingOperator) && (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'.*/Ui', substr($formula, $index), $match)) &&\n                    ($output[count($output)-1]['type'] == 'Cell Reference')) {\n//                    echo 'Element is an Intersect Operator<br />';\n                    while ($stack->count() > 0 &&\n                        ($o2 = $stack->last()) &&\n                        isset(self::$operators[$o2['value']]) &&\n                        @(self::$operatorAssociativity[$opCharacter] ? self::$operatorPrecedence[$opCharacter] < self::$operatorPrecedence[$o2['value']] : self::$operatorPrecedence[$opCharacter] <= self::$operatorPrecedence[$o2['value']])) {\n                        $output[] = $stack->pop();                                //    Swap operands and higher precedence operators from the stack to the output\n                    }\n                    $stack->push('Binary Operator', '|');    //    Put an Intersect Operator on the stack\n                    $expectingOperator = false;\n                }\n            }\n        }\n\n        while (($op = $stack->pop()) !== null) {    // pop everything off the stack and push onto output\n            if ((is_array($op) && $op['value'] == '(') || ($op === '(')) {\n                return $this->raiseFormulaError(\"Formula Error: Expecting ')'\");    // if there are any opening braces on the stack, then braces were unbalanced\n            }\n            $output[] = $op;\n        }\n        return $output;\n    }\n\n\n    private static function dataTestReference(&$operandData)\n    {\n        $operand = $operandData['value'];\n        if (($operandData['reference'] === null) && (is_array($operand))) {\n            $rKeys = array_keys($operand);\n            $rowKey = array_shift($rKeys);\n            $cKeys = array_keys(array_keys($operand[$rowKey]));\n            $colKey = array_shift($cKeys);\n            if (ctype_upper($colKey)) {\n                $operandData['reference'] = $colKey.$rowKey;\n            }\n        }\n        return $operand;\n    }\n\n    // evaluate postfix notation\n    private function processTokenStack($tokens, $cellID = null, PHPExcel_Cell $pCell = null)\n    {\n        if ($tokens == false) {\n            return false;\n        }\n\n        //    If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent cell collection),\n        //        so we store the parent cell collection so that we can re-attach it when necessary\n        $pCellWorksheet = ($pCell !== null) ? $pCell->getWorksheet() : null;\n        $pCellParent = ($pCell !== null) ? $pCell->getParent() : null;\n        $stack = new PHPExcel_Calculation_Token_Stack;\n\n        //    Loop through each token in turn\n        foreach ($tokens as $tokenData) {\n//            print_r($tokenData);\n//            echo '<br />';\n            $token = $tokenData['value'];\n//            echo '<b>Token is '.$token.'</b><br />';\n            // if the token is a binary operator, pop the top two values off the stack, do the operation, and push the result back on the stack\n            if (isset(self::$binaryOperators[$token])) {\n//                echo 'Token is a binary operator<br />';\n                //    We must have two operands, error if we don't\n                if (($operand2Data = $stack->pop()) === null) {\n                    return $this->raiseFormulaError('Internal error - Operand value missing from stack');\n                }\n                if (($operand1Data = $stack->pop()) === null) {\n                    return $this->raiseFormulaError('Internal error - Operand value missing from stack');\n                }\n\n                $operand1 = self::dataTestReference($operand1Data);\n                $operand2 = self::dataTestReference($operand2Data);\n\n                //    Log what we're doing\n                if ($token == ':') {\n                    $this->_debugLog->writeDebugLog('Evaluating Range ', $this->showValue($operand1Data['reference']), ' ', $token, ' ', $this->showValue($operand2Data['reference']));\n                } else {\n                    $this->_debugLog->writeDebugLog('Evaluating ', $this->showValue($operand1), ' ', $token, ' ', $this->showValue($operand2));\n                }\n\n                //    Process the operation in the appropriate manner\n                switch ($token) {\n                    //    Comparison (Boolean) Operators\n                    case '>':            //    Greater than\n                    case '<':            //    Less than\n                    case '>=':            //    Greater than or Equal to\n                    case '<=':            //    Less than or Equal to\n                    case '=':            //    Equality\n                    case '<>':            //    Inequality\n                        $this->executeBinaryComparisonOperation($cellID, $operand1, $operand2, $token, $stack);\n                        break;\n                    //    Binary Operators\n                    case ':':            //    Range\n                        $sheet1 = $sheet2 = '';\n                        if (strpos($operand1Data['reference'], '!') !== false) {\n                            list($sheet1, $operand1Data['reference']) = explode('!', $operand1Data['reference']);\n                        } else {\n                            $sheet1 = ($pCellParent !== null) ? $pCellWorksheet->getTitle() : '';\n                        }\n                        if (strpos($operand2Data['reference'], '!') !== false) {\n                            list($sheet2, $operand2Data['reference']) = explode('!', $operand2Data['reference']);\n                        } else {\n                            $sheet2 = $sheet1;\n                        }\n                        if ($sheet1 == $sheet2) {\n                            if ($operand1Data['reference'] === null) {\n                                if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) {\n                                    $operand1Data['reference'] = $pCell->getColumn().$operand1Data['value'];\n                                } elseif (trim($operand1Data['reference']) == '') {\n                                    $operand1Data['reference'] = $pCell->getCoordinate();\n                                } else {\n                                    $operand1Data['reference'] = $operand1Data['value'].$pCell->getRow();\n                                }\n                            }\n                            if ($operand2Data['reference'] === null) {\n                                if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) {\n                                    $operand2Data['reference'] = $pCell->getColumn().$operand2Data['value'];\n                                } elseif (trim($operand2Data['reference']) == '') {\n                                    $operand2Data['reference'] = $pCell->getCoordinate();\n                                } else {\n                                    $operand2Data['reference'] = $operand2Data['value'].$pCell->getRow();\n                                }\n                            }\n\n                            $oData = array_merge(explode(':', $operand1Data['reference']), explode(':', $operand2Data['reference']));\n                            $oCol = $oRow = array();\n                            foreach ($oData as $oDatum) {\n                                $oCR = PHPExcel_Cell::coordinateFromString($oDatum);\n                                $oCol[] = PHPExcel_Cell::columnIndexFromString($oCR[0]) - 1;\n                                $oRow[] = $oCR[1];\n                            }\n                            $cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow);\n                            if ($pCellParent !== null) {\n                                $cellValue = $this->extractCellRange($cellRef, $this->workbook->getSheetByName($sheet1), false);\n                            } else {\n                                return $this->raiseFormulaError('Unable to access Cell Reference');\n                            }\n                            $stack->push('Cell Reference', $cellValue, $cellRef);\n                        } else {\n                            $stack->push('Error', PHPExcel_Calculation_Functions::REF(), null);\n                        }\n                        break;\n                    case '+':            //    Addition\n                        $this->executeNumericBinaryOperation($cellID, $operand1, $operand2, $token, 'plusEquals', $stack);\n                        break;\n                    case '-':            //    Subtraction\n                        $this->executeNumericBinaryOperation($cellID, $operand1, $operand2, $token, 'minusEquals', $stack);\n                        break;\n                    case '*':            //    Multiplication\n                        $this->executeNumericBinaryOperation($cellID, $operand1, $operand2, $token, 'arrayTimesEquals', $stack);\n                        break;\n                    case '/':            //    Division\n                        $this->executeNumericBinaryOperation($cellID, $operand1, $operand2, $token, 'arrayRightDivide', $stack);\n                        break;\n                    case '^':            //    Exponential\n                        $this->executeNumericBinaryOperation($cellID, $operand1, $operand2, $token, 'power', $stack);\n                        break;\n                    case '&':            //    Concatenation\n                        //    If either of the operands is a matrix, we need to treat them both as matrices\n                        //        (converting the other operand to a matrix if need be); then perform the required\n                        //        matrix operation\n                        if (is_bool($operand1)) {\n                            $operand1 = ($operand1) ? self::$localeBoolean['TRUE'] : self::$localeBoolean['FALSE'];\n                        }\n                        if (is_bool($operand2)) {\n                            $operand2 = ($operand2) ? self::$localeBoolean['TRUE'] : self::$localeBoolean['FALSE'];\n                        }\n                        if ((is_array($operand1)) || (is_array($operand2))) {\n                            //    Ensure that both operands are arrays/matrices\n                            self::checkMatrixOperands($operand1, $operand2, 2);\n                            try {\n                                //    Convert operand 1 from a PHP array to a matrix\n                                $matrix = new PHPExcel_Shared_JAMA_Matrix($operand1);\n                                //    Perform the required operation against the operand 1 matrix, passing in operand 2\n                                $matrixResult = $matrix->concat($operand2);\n                                $result = $matrixResult->getArray();\n                            } catch (PHPExcel_Exception $ex) {\n                                $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage());\n                                $result = '#VALUE!';\n                            }\n                        } else {\n                            $result = '\"'.str_replace('\"\"', '\"', self::unwrapResult($operand1, '\"').self::unwrapResult($operand2, '\"')).'\"';\n                        }\n                        $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails($result));\n                        $stack->push('Value', $result);\n                        break;\n                    case '|':            //    Intersect\n                        $rowIntersect = array_intersect_key($operand1, $operand2);\n                        $cellIntersect = $oCol = $oRow = array();\n                        foreach (array_keys($rowIntersect) as $row) {\n                            $oRow[] = $row;\n                            foreach ($rowIntersect[$row] as $col => $data) {\n                                $oCol[] = PHPExcel_Cell::columnIndexFromString($col) - 1;\n                                $cellIntersect[$row] = array_intersect_key($operand1[$row], $operand2[$row]);\n                            }\n                        }\n                        $cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow);\n                        $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails($cellIntersect));\n                        $stack->push('Value', $cellIntersect, $cellRef);\n                        break;\n                }\n\n            // if the token is a unary operator, pop one value off the stack, do the operation, and push it back on\n            } elseif (($token === '~') || ($token === '%')) {\n//                echo 'Token is a unary operator<br />';\n                if (($arg = $stack->pop()) === null) {\n                    return $this->raiseFormulaError('Internal error - Operand value missing from stack');\n                }\n                $arg = $arg['value'];\n                if ($token === '~') {\n//                    echo 'Token is a negation operator<br />';\n                    $this->_debugLog->writeDebugLog('Evaluating Negation of ', $this->showValue($arg));\n                    $multiplier = -1;\n                } else {\n//                    echo 'Token is a percentile operator<br />';\n                    $this->_debugLog->writeDebugLog('Evaluating Percentile of ', $this->showValue($arg));\n                    $multiplier = 0.01;\n                }\n                if (is_array($arg)) {\n                    self::checkMatrixOperands($arg, $multiplier, 2);\n                    try {\n                        $matrix1 = new PHPExcel_Shared_JAMA_Matrix($arg);\n                        $matrixResult = $matrix1->arrayTimesEquals($multiplier);\n                        $result = $matrixResult->getArray();\n                    } catch (PHPExcel_Exception $ex) {\n                        $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage());\n                        $result = '#VALUE!';\n                    }\n                    $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails($result));\n                    $stack->push('Value', $result);\n                } else {\n                    $this->executeNumericBinaryOperation($cellID, $multiplier, $arg, '*', 'arrayTimesEquals', $stack);\n                }\n\n            } elseif (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $token, $matches)) {\n                $cellRef = null;\n//                echo 'Element '.$token.' is a Cell reference<br />';\n                if (isset($matches[8])) {\n//                    echo 'Reference is a Range of cells<br />';\n                    if ($pCell === null) {\n//                        We can't access the range, so return a REF error\n                        $cellValue = PHPExcel_Calculation_Functions::REF();\n                    } else {\n                        $cellRef = $matches[6].$matches[7].':'.$matches[9].$matches[10];\n                        if ($matches[2] > '') {\n                            $matches[2] = trim($matches[2], \"\\\"'\");\n                            if ((strpos($matches[2], '[') !== false) || (strpos($matches[2], ']') !== false)) {\n                                //    It's a Reference to an external workbook (not currently supported)\n                                return $this->raiseFormulaError('Unable to access External Workbook');\n                            }\n                            $matches[2] = trim($matches[2], \"\\\"'\");\n//                            echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'<br />';\n                            $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in worksheet ', $matches[2]);\n                            if ($pCellParent !== null) {\n                                $cellValue = $this->extractCellRange($cellRef, $this->workbook->getSheetByName($matches[2]), false);\n                            } else {\n                                return $this->raiseFormulaError('Unable to access Cell Reference');\n                            }\n                            $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->showTypeDetails($cellValue));\n//                            $cellRef = $matches[2].'!'.$cellRef;\n                        } else {\n//                            echo '$cellRef='.$cellRef.' in current worksheet<br />';\n                            $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in current worksheet');\n                            if ($pCellParent !== null) {\n                                $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, false);\n                            } else {\n                                return $this->raiseFormulaError('Unable to access Cell Reference');\n                            }\n                            $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' is ', $this->showTypeDetails($cellValue));\n                        }\n                    }\n                } else {\n//                    echo 'Reference is a single Cell<br />';\n                    if ($pCell === null) {\n//                        We can't access the cell, so return a REF error\n                        $cellValue = PHPExcel_Calculation_Functions::REF();\n                    } else {\n                        $cellRef = $matches[6].$matches[7];\n                        if ($matches[2] > '') {\n                            $matches[2] = trim($matches[2], \"\\\"'\");\n                            if ((strpos($matches[2], '[') !== false) || (strpos($matches[2], ']') !== false)) {\n                                //    It's a Reference to an external workbook (not currently supported)\n                                return $this->raiseFormulaError('Unable to access External Workbook');\n                            }\n//                            echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'<br />';\n                            $this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in worksheet ', $matches[2]);\n                            if ($pCellParent !== null) {\n                                $cellSheet = $this->workbook->getSheetByName($matches[2]);\n                                if ($cellSheet && $cellSheet->cellExists($cellRef)) {\n                                    $cellValue = $this->extractCellRange($cellRef, $this->workbook->getSheetByName($matches[2]), false);\n                                    $pCell->attach($pCellParent);\n                                } else {\n                                    $cellValue = null;\n                                }\n                            } else {\n                                return $this->raiseFormulaError('Unable to access Cell Reference');\n                            }\n                            $this->_debugLog->writeDebugLog('Evaluation Result for cell ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->showTypeDetails($cellValue));\n//                            $cellRef = $matches[2].'!'.$cellRef;\n                        } else {\n//                            echo '$cellRef='.$cellRef.' in current worksheet<br />';\n                            $this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in current worksheet');\n                            if ($pCellParent->isDataSet($cellRef)) {\n                                $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, false);\n                                $pCell->attach($pCellParent);\n                            } else {\n                                $cellValue = null;\n                            }\n                            $this->_debugLog->writeDebugLog('Evaluation Result for cell ', $cellRef, ' is ', $this->showTypeDetails($cellValue));\n                        }\n                    }\n                }\n                $stack->push('Value', $cellValue, $cellRef);\n\n            // if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on\n            } elseif (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $token, $matches)) {\n//                echo 'Token is a function<br />';\n                $functionName = $matches[1];\n                $argCount = $stack->pop();\n                $argCount = $argCount['value'];\n                if ($functionName != 'MKMATRIX') {\n                    $this->_debugLog->writeDebugLog('Evaluating Function ', self::localeFunc($functionName), '() with ', (($argCount == 0) ? 'no' : $argCount), ' argument', (($argCount == 1) ? '' : 's'));\n                }\n                if ((isset(self::$PHPExcelFunctions[$functionName])) || (isset(self::$controlFunctions[$functionName]))) {    // function\n                    if (isset(self::$PHPExcelFunctions[$functionName])) {\n                        $functionCall = self::$PHPExcelFunctions[$functionName]['functionCall'];\n                        $passByReference = isset(self::$PHPExcelFunctions[$functionName]['passByReference']);\n                        $passCellReference = isset(self::$PHPExcelFunctions[$functionName]['passCellReference']);\n                    } elseif (isset(self::$controlFunctions[$functionName])) {\n                        $functionCall = self::$controlFunctions[$functionName]['functionCall'];\n                        $passByReference = isset(self::$controlFunctions[$functionName]['passByReference']);\n                        $passCellReference = isset(self::$controlFunctions[$functionName]['passCellReference']);\n                    }\n                    // get the arguments for this function\n//                    echo 'Function '.$functionName.' expects '.$argCount.' arguments<br />';\n                    $args = $argArrayVals = array();\n                    for ($i = 0; $i < $argCount; ++$i) {\n                        $arg = $stack->pop();\n                        $a = $argCount - $i - 1;\n                        if (($passByReference) &&\n                            (isset(self::$PHPExcelFunctions[$functionName]['passByReference'][$a])) &&\n                            (self::$PHPExcelFunctions[$functionName]['passByReference'][$a])) {\n                            if ($arg['reference'] === null) {\n                                $args[] = $cellID;\n                                if ($functionName != 'MKMATRIX') {\n                                    $argArrayVals[] = $this->showValue($cellID);\n                                }\n                            } else {\n                                $args[] = $arg['reference'];\n                                if ($functionName != 'MKMATRIX') {\n                                    $argArrayVals[] = $this->showValue($arg['reference']);\n                                }\n                            }\n                        } else {\n                            $args[] = self::unwrapResult($arg['value']);\n                            if ($functionName != 'MKMATRIX') {\n                                $argArrayVals[] = $this->showValue($arg['value']);\n                            }\n                        }\n                    }\n                    //    Reverse the order of the arguments\n                    krsort($args);\n                    if (($passByReference) && ($argCount == 0)) {\n                        $args[] = $cellID;\n                        $argArrayVals[] = $this->showValue($cellID);\n                    }\n//                    echo 'Arguments are: ';\n//                    print_r($args);\n//                    echo '<br />';\n                    if ($functionName != 'MKMATRIX') {\n                        if ($this->_debugLog->getWriteDebugLog()) {\n                            krsort($argArrayVals);\n                            $this->_debugLog->writeDebugLog('Evaluating ', self::localeFunc($functionName), '( ', implode(self::$localeArgumentSeparator.' ', PHPExcel_Calculation_Functions::flattenArray($argArrayVals)), ' )');\n                        }\n                    }\n                    //    Process each argument in turn, building the return value as an array\n//                    if (($argCount == 1) && (is_array($args[1])) && ($functionName != 'MKMATRIX')) {\n//                        $operand1 = $args[1];\n//                        $this->_debugLog->writeDebugLog('Argument is a matrix: ', $this->showValue($operand1));\n//                        $result = array();\n//                        $row = 0;\n//                        foreach($operand1 as $args) {\n//                            if (is_array($args)) {\n//                                foreach($args as $arg) {\n//                                    $this->_debugLog->writeDebugLog('Evaluating ', self::localeFunc($functionName), '( ', $this->showValue($arg), ' )');\n//                                    $r = call_user_func_array($functionCall, $arg);\n//                                    $this->_debugLog->writeDebugLog('Evaluation Result for ', self::localeFunc($functionName), '() function call is ', $this->showTypeDetails($r));\n//                                    $result[$row][] = $r;\n//                                }\n//                                ++$row;\n//                            } else {\n//                                $this->_debugLog->writeDebugLog('Evaluating ', self::localeFunc($functionName), '( ', $this->showValue($args), ' )');\n//                                $r = call_user_func_array($functionCall, $args);\n//                                $this->_debugLog->writeDebugLog('Evaluation Result for ', self::localeFunc($functionName), '() function call is ', $this->showTypeDetails($r));\n//                                $result[] = $r;\n//                            }\n//                        }\n//                    } else {\n                    //    Process the argument with the appropriate function call\n                    if ($passCellReference) {\n                        $args[] = $pCell;\n                    }\n                    if (strpos($functionCall, '::') !== false) {\n                        $result = call_user_func_array(explode('::', $functionCall), $args);\n                    } else {\n                        foreach ($args as &$arg) {\n                            $arg = PHPExcel_Calculation_Functions::flattenSingleValue($arg);\n                        }\n                        unset($arg);\n                        $result = call_user_func_array($functionCall, $args);\n                    }\n                    if ($functionName != 'MKMATRIX') {\n                        $this->_debugLog->writeDebugLog('Evaluation Result for ', self::localeFunc($functionName), '() function call is ', $this->showTypeDetails($result));\n                    }\n                    $stack->push('Value', self::wrapResult($result));\n                }\n\n            } else {\n                // if the token is a number, boolean, string or an Excel error, push it onto the stack\n                if (isset(self::$excelConstants[strtoupper($token)])) {\n                    $excelConstant = strtoupper($token);\n//                    echo 'Token is a PHPExcel constant: '.$excelConstant.'<br />';\n                    $stack->push('Constant Value', self::$excelConstants[$excelConstant]);\n                    $this->_debugLog->writeDebugLog('Evaluating Constant ', $excelConstant, ' as ', $this->showTypeDetails(self::$excelConstants[$excelConstant]));\n                } elseif ((is_numeric($token)) || ($token === null) || (is_bool($token)) || ($token == '') || ($token{0} == '\"') || ($token{0} == '#')) {\n//                    echo 'Token is a number, boolean, string, null or an Excel error<br />';\n                    $stack->push('Value', $token);\n                // if the token is a named range, push the named range name onto the stack\n                } elseif (preg_match('/^'.self::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $token, $matches)) {\n//                    echo 'Token is a named range<br />';\n                    $namedRange = $matches[6];\n//                    echo 'Named Range is '.$namedRange.'<br />';\n                    $this->_debugLog->writeDebugLog('Evaluating Named Range ', $namedRange);\n                    $cellValue = $this->extractNamedRange($namedRange, ((null !== $pCell) ? $pCellWorksheet : null), false);\n                    $pCell->attach($pCellParent);\n                    $this->_debugLog->writeDebugLog('Evaluation Result for named range ', $namedRange, ' is ', $this->showTypeDetails($cellValue));\n                    $stack->push('Named Range', $cellValue, $namedRange);\n                } else {\n                    return $this->raiseFormulaError(\"undefined variable '$token'\");\n                }\n            }\n        }\n        // when we're out of tokens, the stack should have a single element, the final result\n        if ($stack->count() != 1) {\n            return $this->raiseFormulaError(\"internal error\");\n        }\n        $output = $stack->pop();\n        $output = $output['value'];\n\n//        if ((is_array($output)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) {\n//            return array_shift(PHPExcel_Calculation_Functions::flattenArray($output));\n//        }\n        return $output;\n    }\n\n\n    private function validateBinaryOperand($cellID, &$operand, &$stack)\n    {\n        if (is_array($operand)) {\n            if ((count($operand, COUNT_RECURSIVE) - count($operand)) == 1) {\n                do {\n                    $operand = array_pop($operand);\n                } while (is_array($operand));\n            }\n        }\n        //    Numbers, matrices and booleans can pass straight through, as they're already valid\n        if (is_string($operand)) {\n            //    We only need special validations for the operand if it is a string\n            //    Start by stripping off the quotation marks we use to identify true excel string values internally\n            if ($operand > '' && $operand{0} == '\"') {\n                $operand = self::unwrapResult($operand);\n            }\n            //    If the string is a numeric value, we treat it as a numeric, so no further testing\n            if (!is_numeric($operand)) {\n                //    If not a numeric, test to see if the value is an Excel error, and so can't be used in normal binary operations\n                if ($operand > '' && $operand{0} == '#') {\n                    $stack->push('Value', $operand);\n                    $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails($operand));\n                    return false;\n                } elseif (!PHPExcel_Shared_String::convertToNumberIfFraction($operand)) {\n                    //    If not a numeric or a fraction, then it's a text string, and so can't be used in mathematical binary operations\n                    $stack->push('Value', '#VALUE!');\n                    $this->_debugLog->writeDebugLog('Evaluation Result is a ', $this->showTypeDetails('#VALUE!'));\n                    return false;\n                }\n            }\n        }\n\n        //    return a true if the value of the operand is one that we can use in normal binary operations\n        return true;\n    }\n\n\n    private function executeBinaryComparisonOperation($cellID, $operand1, $operand2, $operation, &$stack, $recursingArrays = false)\n    {\n        //    If we're dealing with matrix operations, we want a matrix result\n        if ((is_array($operand1)) || (is_array($operand2))) {\n            $result = array();\n            if ((is_array($operand1)) && (!is_array($operand2))) {\n                foreach ($operand1 as $x => $operandData) {\n                    $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operandData), ' ', $operation, ' ', $this->showValue($operand2));\n                    $this->executeBinaryComparisonOperation($cellID, $operandData, $operand2, $operation, $stack);\n                    $r = $stack->pop();\n                    $result[$x] = $r['value'];\n                }\n            } elseif ((!is_array($operand1)) && (is_array($operand2))) {\n                foreach ($operand2 as $x => $operandData) {\n                    $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData));\n                    $this->executeBinaryComparisonOperation($cellID, $operand1, $operandData, $operation, $stack);\n                    $r = $stack->pop();\n                    $result[$x] = $r['value'];\n                }\n            } else {\n                if (!$recursingArrays) {\n                    self::checkMatrixOperands($operand1, $operand2, 2);\n                }\n                foreach ($operand1 as $x => $operandData) {\n                    $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operandData), ' ', $operation, ' ', $this->showValue($operand2[$x]));\n                    $this->executeBinaryComparisonOperation($cellID, $operandData, $operand2[$x], $operation, $stack, true);\n                    $r = $stack->pop();\n                    $result[$x] = $r['value'];\n                }\n            }\n            //    Log the result details\n            $this->_debugLog->writeDebugLog('Comparison Evaluation Result is ', $this->showTypeDetails($result));\n            //    And push the result onto the stack\n            $stack->push('Array', $result);\n            return true;\n        }\n\n        //    Simple validate the two operands if they are string values\n        if (is_string($operand1) && $operand1 > '' && $operand1{0} == '\"') {\n            $operand1 = self::unwrapResult($operand1);\n        }\n        if (is_string($operand2) && $operand2 > '' && $operand2{0} == '\"') {\n            $operand2 = self::unwrapResult($operand2);\n        }\n\n        // Use case insensitive comparaison if not OpenOffice mode\n        if (PHPExcel_Calculation_Functions::getCompatibilityMode() != PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) {\n            if (is_string($operand1)) {\n                $operand1 = strtoupper($operand1);\n            }\n            if (is_string($operand2)) {\n                $operand2 = strtoupper($operand2);\n            }\n        }\n\n        $useLowercaseFirstComparison = is_string($operand1) && is_string($operand2) && PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE;\n\n        //    execute the necessary operation\n        switch ($operation) {\n            //    Greater than\n            case '>':\n                if ($useLowercaseFirstComparison) {\n                    $result = $this->strcmpLowercaseFirst($operand1, $operand2) > 0;\n                } else {\n                    $result = ($operand1 > $operand2);\n                }\n                break;\n            //    Less than\n            case '<':\n                if ($useLowercaseFirstComparison) {\n                    $result = $this->strcmpLowercaseFirst($operand1, $operand2) < 0;\n                } else {\n                    $result = ($operand1 < $operand2);\n                }\n                break;\n            //    Equality\n            case '=':\n                if (is_numeric($operand1) && is_numeric($operand2)) {\n                    $result = (abs($operand1 - $operand2) < $this->delta);\n                } else {\n                    $result = strcmp($operand1, $operand2) == 0;\n                }\n                break;\n            //    Greater than or equal\n            case '>=':\n                if (is_numeric($operand1) && is_numeric($operand2)) {\n                    $result = ((abs($operand1 - $operand2) < $this->delta) || ($operand1 > $operand2));\n                } elseif ($useLowercaseFirstComparison) {\n                    $result = $this->strcmpLowercaseFirst($operand1, $operand2) >= 0;\n                } else {\n                    $result = strcmp($operand1, $operand2) >= 0;\n                }\n                break;\n            //    Less than or equal\n            case '<=':\n                if (is_numeric($operand1) && is_numeric($operand2)) {\n                    $result = ((abs($operand1 - $operand2) < $this->delta) || ($operand1 < $operand2));\n                } elseif ($useLowercaseFirstComparison) {\n                    $result = $this->strcmpLowercaseFirst($operand1, $operand2) <= 0;\n                } else {\n                    $result = strcmp($operand1, $operand2) <= 0;\n                }\n                break;\n            //    Inequality\n            case '<>':\n                if (is_numeric($operand1) && is_numeric($operand2)) {\n                    $result = (abs($operand1 - $operand2) > 1E-14);\n                } else {\n                    $result = strcmp($operand1, $operand2) != 0;\n                }\n                break;\n        }\n\n        //    Log the result details\n        $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails($result));\n        //    And push the result onto the stack\n        $stack->push('Value', $result);\n        return true;\n    }\n\n    /**\n     * Compare two strings in the same way as strcmp() except that lowercase come before uppercase letters\n     * @param    string    $str1    First string value for the comparison\n     * @param    string    $str2    Second string value for the comparison\n     * @return   integer\n     */\n    private function strcmpLowercaseFirst($str1, $str2)\n    {\n        $inversedStr1 = PHPExcel_Shared_String::StrCaseReverse($str1);\n        $inversedStr2 = PHPExcel_Shared_String::StrCaseReverse($str2);\n\n        return strcmp($inversedStr1, $inversedStr2);\n    }\n\n    private function executeNumericBinaryOperation($cellID, $operand1, $operand2, $operation, $matrixFunction, &$stack)\n    {\n        //    Validate the two operands\n        if (!$this->validateBinaryOperand($cellID, $operand1, $stack)) {\n            return false;\n        }\n        if (!$this->validateBinaryOperand($cellID, $operand2, $stack)) {\n            return false;\n        }\n\n        //    If either of the operands is a matrix, we need to treat them both as matrices\n        //        (converting the other operand to a matrix if need be); then perform the required\n        //        matrix operation\n        if ((is_array($operand1)) || (is_array($operand2))) {\n            //    Ensure that both operands are arrays/matrices of the same size\n            self::checkMatrixOperands($operand1, $operand2, 2);\n\n            try {\n                //    Convert operand 1 from a PHP array to a matrix\n                $matrix = new PHPExcel_Shared_JAMA_Matrix($operand1);\n                //    Perform the required operation against the operand 1 matrix, passing in operand 2\n                $matrixResult = $matrix->$matrixFunction($operand2);\n                $result = $matrixResult->getArray();\n            } catch (PHPExcel_Exception $ex) {\n                $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage());\n                $result = '#VALUE!';\n            }\n        } else {\n            if ((PHPExcel_Calculation_Functions::getCompatibilityMode() != PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) &&\n                ((is_string($operand1) && !is_numeric($operand1) && strlen($operand1)>0) ||\n                 (is_string($operand2) && !is_numeric($operand2) && strlen($operand2)>0))) {\n                $result = PHPExcel_Calculation_Functions::VALUE();\n            } else {\n                //    If we're dealing with non-matrix operations, execute the necessary operation\n                switch ($operation) {\n                    //    Addition\n                    case '+':\n                        $result = $operand1 + $operand2;\n                        break;\n                    //    Subtraction\n                    case '-':\n                        $result = $operand1 - $operand2;\n                        break;\n                    //    Multiplication\n                    case '*':\n                        $result = $operand1 * $operand2;\n                        break;\n                    //    Division\n                    case '/':\n                        if ($operand2 == 0) {\n                            //    Trap for Divide by Zero error\n                            $stack->push('Value', '#DIV/0!');\n                            $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails('#DIV/0!'));\n                            return false;\n                        } else {\n                            $result = $operand1 / $operand2;\n                        }\n                        break;\n                    //    Power\n                    case '^':\n                        $result = pow($operand1, $operand2);\n                        break;\n                }\n            }\n        }\n\n        //    Log the result details\n        $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->showTypeDetails($result));\n        //    And push the result onto the stack\n        $stack->push('Value', $result);\n        return true;\n    }\n\n\n    // trigger an error, but nicely, if need be\n    protected function raiseFormulaError($errorMessage)\n    {\n        $this->formulaError = $errorMessage;\n        $this->cyclicReferenceStack->clear();\n        if (!$this->suppressFormulaErrors) {\n            throw new PHPExcel_Calculation_Exception($errorMessage);\n        }\n        trigger_error($errorMessage, E_USER_ERROR);\n    }\n\n\n    /**\n     * Extract range values\n     *\n     * @param    string                &$pRange    String based range representation\n     * @param    PHPExcel_Worksheet    $pSheet        Worksheet\n     * @param    boolean                $resetLog    Flag indicating whether calculation log should be reset or not\n     * @return  mixed                Array of values in range if range contains more than one element. Otherwise, a single value is returned.\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function extractCellRange(&$pRange = 'A1', PHPExcel_Worksheet $pSheet = null, $resetLog = true)\n    {\n        // Return value\n        $returnValue = array ();\n\n//        echo 'extractCellRange('.$pRange.')', PHP_EOL;\n        if ($pSheet !== null) {\n            $pSheetName = $pSheet->getTitle();\n//            echo 'Passed sheet name is '.$pSheetName.PHP_EOL;\n//            echo 'Range reference is '.$pRange.PHP_EOL;\n            if (strpos($pRange, '!') !== false) {\n//                echo '$pRange reference includes sheet reference', PHP_EOL;\n                list($pSheetName, $pRange) = PHPExcel_Worksheet::extractSheetTitle($pRange, true);\n//                echo 'New sheet name is '.$pSheetName, PHP_EOL;\n//                echo 'Adjusted Range reference is '.$pRange, PHP_EOL;\n                $pSheet = $this->workbook->getSheetByName($pSheetName);\n            }\n\n            // Extract range\n            $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange);\n            $pRange = $pSheetName.'!'.$pRange;\n            if (!isset($aReferences[1])) {\n                //    Single cell in range\n                sscanf($aReferences[0], '%[A-Z]%d', $currentCol, $currentRow);\n                $cellValue = null;\n                if ($pSheet->cellExists($aReferences[0])) {\n                    $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog);\n                } else {\n                    $returnValue[$currentRow][$currentCol] = null;\n                }\n            } else {\n                // Extract cell data for all cells in the range\n                foreach ($aReferences as $reference) {\n                    // Extract range\n                    sscanf($reference, '%[A-Z]%d', $currentCol, $currentRow);\n                    $cellValue = null;\n                    if ($pSheet->cellExists($reference)) {\n                        $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog);\n                    } else {\n                        $returnValue[$currentRow][$currentCol] = null;\n                    }\n                }\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * Extract range values\n     *\n     * @param    string                &$pRange    String based range representation\n     * @param    PHPExcel_Worksheet    $pSheet        Worksheet\n     * @return  mixed                Array of values in range if range contains more than one element. Otherwise, a single value is returned.\n     * @param    boolean                $resetLog    Flag indicating whether calculation log should be reset or not\n     * @throws    PHPExcel_Calculation_Exception\n     */\n    public function extractNamedRange(&$pRange = 'A1', PHPExcel_Worksheet $pSheet = null, $resetLog = true)\n    {\n        // Return value\n        $returnValue = array ();\n\n//        echo 'extractNamedRange('.$pRange.')<br />';\n        if ($pSheet !== null) {\n            $pSheetName = $pSheet->getTitle();\n//            echo 'Current sheet name is '.$pSheetName.'<br />';\n//            echo 'Range reference is '.$pRange.'<br />';\n            if (strpos($pRange, '!') !== false) {\n//                echo '$pRange reference includes sheet reference', PHP_EOL;\n                list($pSheetName, $pRange) = PHPExcel_Worksheet::extractSheetTitle($pRange, true);\n//                echo 'New sheet name is '.$pSheetName, PHP_EOL;\n//                echo 'Adjusted Range reference is '.$pRange, PHP_EOL;\n                $pSheet = $this->workbook->getSheetByName($pSheetName);\n            }\n\n            // Named range?\n            $namedRange = PHPExcel_NamedRange::resolveRange($pRange, $pSheet);\n            if ($namedRange !== null) {\n                $pSheet = $namedRange->getWorksheet();\n//                echo 'Named Range '.$pRange.' (';\n                $pRange = $namedRange->getRange();\n                $splitRange = PHPExcel_Cell::splitRange($pRange);\n                //    Convert row and column references\n                if (ctype_alpha($splitRange[0][0])) {\n                    $pRange = $splitRange[0][0] . '1:' . $splitRange[0][1] . $namedRange->getWorksheet()->getHighestRow();\n                } elseif (ctype_digit($splitRange[0][0])) {\n                    $pRange = 'A' . $splitRange[0][0] . ':' . $namedRange->getWorksheet()->getHighestColumn() . $splitRange[0][1];\n                }\n//                echo $pRange.') is in sheet '.$namedRange->getWorksheet()->getTitle().'<br />';\n\n//                if ($pSheet->getTitle() != $namedRange->getWorksheet()->getTitle()) {\n//                    if (!$namedRange->getLocalOnly()) {\n//                        $pSheet = $namedRange->getWorksheet();\n//                    } else {\n//                        return $returnValue;\n//                    }\n//                }\n            } else {\n                return PHPExcel_Calculation_Functions::REF();\n            }\n\n            // Extract range\n            $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange);\n//            var_dump($aReferences);\n            if (!isset($aReferences[1])) {\n                //    Single cell (or single column or row) in range\n                list($currentCol, $currentRow) = PHPExcel_Cell::coordinateFromString($aReferences[0]);\n                $cellValue = null;\n                if ($pSheet->cellExists($aReferences[0])) {\n                    $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog);\n                } else {\n                    $returnValue[$currentRow][$currentCol] = null;\n                }\n            } else {\n                // Extract cell data for all cells in the range\n                foreach ($aReferences as $reference) {\n                    // Extract range\n                    list($currentCol, $currentRow) = PHPExcel_Cell::coordinateFromString($reference);\n//                    echo 'NAMED RANGE: $currentCol='.$currentCol.' $currentRow='.$currentRow.'<br />';\n                    $cellValue = null;\n                    if ($pSheet->cellExists($reference)) {\n                        $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog);\n                    } else {\n                        $returnValue[$currentRow][$currentCol] = null;\n                    }\n                }\n            }\n//                print_r($returnValue);\n//            echo '<br />';\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * Is a specific function implemented?\n     *\n     * @param    string    $pFunction    Function Name\n     * @return    boolean\n     */\n    public function isImplemented($pFunction = '')\n    {\n        $pFunction = strtoupper($pFunction);\n        if (isset(self::$PHPExcelFunctions[$pFunction])) {\n            return (self::$PHPExcelFunctions[$pFunction]['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY');\n        } else {\n            return false;\n        }\n    }\n\n\n    /**\n     * Get a list of all implemented functions as an array of function objects\n     *\n     * @return    array of PHPExcel_Calculation_Function\n     */\n    public function listFunctions()\n    {\n        $returnValue = array();\n\n        foreach (self::$PHPExcelFunctions as $functionName => $function) {\n            if ($function['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY') {\n                $returnValue[$functionName] = new PHPExcel_Calculation_Function(\n                    $function['category'],\n                    $functionName,\n                    $function['functionCall']\n                );\n            }\n        }\n\n        return $returnValue;\n    }\n\n\n    /**\n     * Get a list of all Excel function names\n     *\n     * @return    array\n     */\n    public function listAllFunctionNames()\n    {\n        return array_keys(self::$PHPExcelFunctions);\n    }\n\n    /**\n     * Get a list of implemented Excel function names\n     *\n     * @return    array\n     */\n    public function listFunctionNames()\n    {\n        $returnValue = array();\n        foreach (self::$PHPExcelFunctions as $functionName => $function) {\n            if ($function['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY') {\n                $returnValue[] = $functionName;\n            }\n        }\n\n        return $returnValue;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell/AdvancedValueBinder.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Cell_AdvancedValueBinder\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Cell_AdvancedValueBinder extends PHPExcel_Cell_DefaultValueBinder implements PHPExcel_Cell_IValueBinder\n{\n    /**\n     * Bind value to a cell\n     *\n     * @param  PHPExcel_Cell  $cell  Cell to bind value to\n     * @param  mixed $value          Value to bind in cell\n     * @return boolean\n     */\n    public function bindValue(PHPExcel_Cell $cell, $value = null)\n    {\n        // sanitize UTF-8 strings\n        if (is_string($value)) {\n            $value = PHPExcel_Shared_String::SanitizeUTF8($value);\n        }\n\n        // Find out data type\n        $dataType = parent::dataTypeForValue($value);\n\n        // Style logic - strings\n        if ($dataType === PHPExcel_Cell_DataType::TYPE_STRING && !$value instanceof PHPExcel_RichText) {\n            //    Test for booleans using locale-setting\n            if ($value == PHPExcel_Calculation::getTRUE()) {\n                $cell->setValueExplicit(true, PHPExcel_Cell_DataType::TYPE_BOOL);\n                return true;\n            } elseif ($value == PHPExcel_Calculation::getFALSE()) {\n                $cell->setValueExplicit(false, PHPExcel_Cell_DataType::TYPE_BOOL);\n                return true;\n            }\n\n            // Check for number in scientific format\n            if (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NUMBER.'$/', $value)) {\n                $cell->setValueExplicit((float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                return true;\n            }\n\n            // Check for fraction\n            if (preg_match('/^([+-]?)\\s*([0-9]+)\\s?\\/\\s*([0-9]+)$/', $value, $matches)) {\n                // Convert value to number\n                $value = $matches[2] / $matches[3];\n                if ($matches[1] == '-') {\n                    $value = 0 - $value;\n                }\n                $cell->setValueExplicit((float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode('??/??');\n                return true;\n            } elseif (preg_match('/^([+-]?)([0-9]*) +([0-9]*)\\s?\\/\\s*([0-9]*)$/', $value, $matches)) {\n                // Convert value to number\n                $value = $matches[2] + ($matches[3] / $matches[4]);\n                if ($matches[1] == '-') {\n                    $value = 0 - $value;\n                }\n                $cell->setValueExplicit((float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode('# ??/??');\n                return true;\n            }\n\n            // Check for percentage\n            if (preg_match('/^\\-?[0-9]*\\.?[0-9]*\\s?\\%$/', $value)) {\n                // Convert value to number\n                $value = (float) str_replace('%', '', $value) / 100;\n                $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00);\n                return true;\n            }\n\n            // Check for currency\n            $currencyCode = PHPExcel_Shared_String::getCurrencyCode();\n            $decimalSeparator = PHPExcel_Shared_String::getDecimalSeparator();\n            $thousandsSeparator = PHPExcel_Shared_String::getThousandsSeparator();\n            if (preg_match('/^'.preg_quote($currencyCode).' *(\\d{1,3}('.preg_quote($thousandsSeparator).'\\d{3})*|(\\d+))('.preg_quote($decimalSeparator).'\\d{2})?$/', $value)) {\n                // Convert value to number\n                $value = (float) trim(str_replace(array($currencyCode, $thousandsSeparator, $decimalSeparator), array('', '', '.'), $value));\n                $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode(\n                        str_replace('$', $currencyCode, PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE)\n                    );\n                return true;\n            } elseif (preg_match('/^\\$ *(\\d{1,3}(\\,\\d{3})*|(\\d+))(\\.\\d{2})?$/', $value)) {\n                // Convert value to number\n                $value = (float) trim(str_replace(array('$',','), '', $value));\n                $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE);\n                return true;\n            }\n\n            // Check for time without seconds e.g. '9:45', '09:45'\n            if (preg_match('/^(\\d|[0-1]\\d|2[0-3]):[0-5]\\d$/', $value)) {\n                // Convert value to number\n                list($h, $m) = explode(':', $value);\n                $days = $h / 24 + $m / 1440;\n                $cell->setValueExplicit($days, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME3);\n                return true;\n            }\n\n            // Check for time with seconds '9:45:59', '09:45:59'\n            if (preg_match('/^(\\d|[0-1]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$/', $value)) {\n                // Convert value to number\n                list($h, $m, $s) = explode(':', $value);\n                $days = $h / 24 + $m / 1440 + $s / 86400;\n                // Convert value to number\n                $cell->setValueExplicit($days, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4);\n                return true;\n            }\n\n            // Check for datetime, e.g. '2008-12-31', '2008-12-31 15:59', '2008-12-31 15:59:10'\n            if (($d = PHPExcel_Shared_Date::stringToExcel($value)) !== false) {\n                // Convert value to number\n                $cell->setValueExplicit($d, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n                // Determine style. Either there is a time part or not. Look for ':'\n                if (strpos($value, ':') !== false) {\n                    $formatCode = 'yyyy-mm-dd h:mm';\n                } else {\n                    $formatCode = 'yyyy-mm-dd';\n                }\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getNumberFormat()->setFormatCode($formatCode);\n                return true;\n            }\n\n            // Check for newline character \"\\n\"\n            if (strpos($value, \"\\n\") !== false) {\n                $value = PHPExcel_Shared_String::SanitizeUTF8($value);\n                $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING);\n                // Set style\n                $cell->getWorksheet()->getStyle($cell->getCoordinate())\n                    ->getAlignment()->setWrapText(true);\n                return true;\n            }\n        }\n\n        // Not bound yet? Use parent...\n        return parent::bindValue($cell, $value);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell/DataType.php",
    "content": "<?php\n\n/**\n * PHPExcel_Cell_DataType\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Cell_DataType\n{\n    /* Data types */\n    const TYPE_STRING2  = 'str';\n    const TYPE_STRING   = 's';\n    const TYPE_FORMULA  = 'f';\n    const TYPE_NUMERIC  = 'n';\n    const TYPE_BOOL     = 'b';\n    const TYPE_NULL     = 'null';\n    const TYPE_INLINE   = 'inlineStr';\n    const TYPE_ERROR    = 'e';\n\n    /**\n     * List of error codes\n     *\n     * @var array\n     */\n    private static $errorCodes = array(\n        '#NULL!'  => 0,\n        '#DIV/0!' => 1,\n        '#VALUE!' => 2,\n        '#REF!'   => 3,\n        '#NAME?'  => 4,\n        '#NUM!'   => 5,\n        '#N/A'    => 6\n    );\n\n    /**\n     * Get list of error codes\n     *\n     * @return array\n     */\n    public static function getErrorCodes()\n    {\n        return self::$errorCodes;\n    }\n\n    /**\n     * DataType for value\n     *\n     * @deprecated  Replaced by PHPExcel_Cell_IValueBinder infrastructure, will be removed in version 1.8.0\n     * @param       mixed  $pValue\n     * @return      string\n     */\n    public static function dataTypeForValue($pValue = null)\n    {\n        return PHPExcel_Cell_DefaultValueBinder::dataTypeForValue($pValue);\n    }\n\n    /**\n     * Check a string that it satisfies Excel requirements\n     *\n     * @param  mixed  Value to sanitize to an Excel string\n     * @return mixed  Sanitized value\n     */\n    public static function checkString($pValue = null)\n    {\n        if ($pValue instanceof PHPExcel_RichText) {\n            // TODO: Sanitize Rich-Text string (max. character count is 32,767)\n            return $pValue;\n        }\n\n        // string must never be longer than 32,767 characters, truncate if necessary\n        $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 32767);\n\n        // we require that newline is represented as \"\\n\" in core, not as \"\\r\\n\" or \"\\r\"\n        $pValue = str_replace(array(\"\\r\\n\", \"\\r\"), \"\\n\", $pValue);\n\n        return $pValue;\n    }\n\n    /**\n     * Check a value that it is a valid error code\n     *\n     * @param  mixed   Value to sanitize to an Excel error code\n     * @return string  Sanitized value\n     */\n    public static function checkErrorCode($pValue = null)\n    {\n        $pValue = (string) $pValue;\n\n        if (!array_key_exists($pValue, self::$errorCodes)) {\n            $pValue = '#NULL!';\n        }\n\n        return $pValue;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell/DataValidation.php",
    "content": "<?php\n\n/**\n * PHPExcel_Cell_DataValidation\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Cell_DataValidation\n{\n    /* Data validation types */\n    const TYPE_NONE        = 'none';\n    const TYPE_CUSTOM      = 'custom';\n    const TYPE_DATE        = 'date';\n    const TYPE_DECIMAL     = 'decimal';\n    const TYPE_LIST        = 'list';\n    const TYPE_TEXTLENGTH  = 'textLength';\n    const TYPE_TIME        = 'time';\n    const TYPE_WHOLE       = 'whole';\n\n    /* Data validation error styles */\n    const STYLE_STOP         = 'stop';\n    const STYLE_WARNING      = 'warning';\n    const STYLE_INFORMATION  = 'information';\n\n    /* Data validation operators */\n    const OPERATOR_BETWEEN             = 'between';\n    const OPERATOR_EQUAL               = 'equal';\n    const OPERATOR_GREATERTHAN         = 'greaterThan';\n    const OPERATOR_GREATERTHANOREQUAL  = 'greaterThanOrEqual';\n    const OPERATOR_LESSTHAN            = 'lessThan';\n    const OPERATOR_LESSTHANOREQUAL     = 'lessThanOrEqual';\n    const OPERATOR_NOTBETWEEN          = 'notBetween';\n    const OPERATOR_NOTEQUAL            = 'notEqual';\n\n    /**\n     * Formula 1\n     *\n     * @var string\n     */\n    private $formula1;\n\n    /**\n     * Formula 2\n     *\n     * @var string\n     */\n    private $formula2;\n\n    /**\n     * Type\n     *\n     * @var string\n     */\n    private $type = PHPExcel_Cell_DataValidation::TYPE_NONE;\n\n    /**\n     * Error style\n     *\n     * @var string\n     */\n    private $errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP;\n\n    /**\n     * Operator\n     *\n     * @var string\n     */\n    private $operator;\n\n    /**\n     * Allow Blank\n     *\n     * @var boolean\n     */\n    private $allowBlank;\n\n    /**\n     * Show DropDown\n     *\n     * @var boolean\n     */\n    private $showDropDown;\n\n    /**\n     * Show InputMessage\n     *\n     * @var boolean\n     */\n    private $showInputMessage;\n\n    /**\n     * Show ErrorMessage\n     *\n     * @var boolean\n     */\n    private $showErrorMessage;\n\n    /**\n     * Error title\n     *\n     * @var string\n     */\n    private $errorTitle;\n\n    /**\n     * Error\n     *\n     * @var string\n     */\n    private $error;\n\n    /**\n     * Prompt title\n     *\n     * @var string\n     */\n    private $promptTitle;\n\n    /**\n     * Prompt\n     *\n     * @var string\n     */\n    private $prompt;\n\n    /**\n     * Create a new PHPExcel_Cell_DataValidation\n     */\n    public function __construct()\n    {\n        // Initialise member variables\n        $this->formula1          = '';\n        $this->formula2          = '';\n        $this->type              = PHPExcel_Cell_DataValidation::TYPE_NONE;\n        $this->errorStyle        = PHPExcel_Cell_DataValidation::STYLE_STOP;\n        $this->operator          = '';\n        $this->allowBlank        = false;\n        $this->showDropDown      = false;\n        $this->showInputMessage  = false;\n        $this->showErrorMessage  = false;\n        $this->errorTitle        = '';\n        $this->error             = '';\n        $this->promptTitle       = '';\n        $this->prompt            = '';\n    }\n\n    /**\n     * Get Formula 1\n     *\n     * @return string\n     */\n    public function getFormula1()\n    {\n        return $this->formula1;\n    }\n\n    /**\n     * Set Formula 1\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setFormula1($value = '')\n    {\n        $this->formula1 = $value;\n        return $this;\n    }\n\n    /**\n     * Get Formula 2\n     *\n     * @return string\n     */\n    public function getFormula2()\n    {\n        return $this->formula2;\n    }\n\n    /**\n     * Set Formula 2\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setFormula2($value = '')\n    {\n        $this->formula2 = $value;\n        return $this;\n    }\n\n    /**\n     * Get Type\n     *\n     * @return string\n     */\n    public function getType()\n    {\n        return $this->type;\n    }\n\n    /**\n     * Set Type\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setType($value = PHPExcel_Cell_DataValidation::TYPE_NONE)\n    {\n        $this->type = $value;\n        return $this;\n    }\n\n    /**\n     * Get Error style\n     *\n     * @return string\n     */\n    public function getErrorStyle()\n    {\n        return $this->errorStyle;\n    }\n\n    /**\n     * Set Error style\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setErrorStyle($value = PHPExcel_Cell_DataValidation::STYLE_STOP)\n    {\n        $this->errorStyle = $value;\n        return $this;\n    }\n\n    /**\n     * Get Operator\n     *\n     * @return string\n     */\n    public function getOperator()\n    {\n        return $this->operator;\n    }\n\n    /**\n     * Set Operator\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setOperator($value = '')\n    {\n        $this->operator = $value;\n        return $this;\n    }\n\n    /**\n     * Get Allow Blank\n     *\n     * @return boolean\n     */\n    public function getAllowBlank()\n    {\n        return $this->allowBlank;\n    }\n\n    /**\n     * Set Allow Blank\n     *\n     * @param  boolean    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setAllowBlank($value = false)\n    {\n        $this->allowBlank = $value;\n        return $this;\n    }\n\n    /**\n     * Get Show DropDown\n     *\n     * @return boolean\n     */\n    public function getShowDropDown()\n    {\n        return $this->showDropDown;\n    }\n\n    /**\n     * Set Show DropDown\n     *\n     * @param  boolean    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setShowDropDown($value = false)\n    {\n        $this->showDropDown = $value;\n        return $this;\n    }\n\n    /**\n     * Get Show InputMessage\n     *\n     * @return boolean\n     */\n    public function getShowInputMessage()\n    {\n        return $this->showInputMessage;\n    }\n\n    /**\n     * Set Show InputMessage\n     *\n     * @param  boolean    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setShowInputMessage($value = false)\n    {\n        $this->showInputMessage = $value;\n        return $this;\n    }\n\n    /**\n     * Get Show ErrorMessage\n     *\n     * @return boolean\n     */\n    public function getShowErrorMessage()\n    {\n        return $this->showErrorMessage;\n    }\n\n    /**\n     * Set Show ErrorMessage\n     *\n     * @param  boolean    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setShowErrorMessage($value = false)\n    {\n        $this->showErrorMessage = $value;\n        return $this;\n    }\n\n    /**\n     * Get Error title\n     *\n     * @return string\n     */\n    public function getErrorTitle()\n    {\n        return $this->errorTitle;\n    }\n\n    /**\n     * Set Error title\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setErrorTitle($value = '')\n    {\n        $this->errorTitle = $value;\n        return $this;\n    }\n\n    /**\n     * Get Error\n     *\n     * @return string\n     */\n    public function getError()\n    {\n        return $this->error;\n    }\n\n    /**\n     * Set Error\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setError($value = '')\n    {\n        $this->error = $value;\n        return $this;\n    }\n\n    /**\n     * Get Prompt title\n     *\n     * @return string\n     */\n    public function getPromptTitle()\n    {\n        return $this->promptTitle;\n    }\n\n    /**\n     * Set Prompt title\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setPromptTitle($value = '')\n    {\n        $this->promptTitle = $value;\n        return $this;\n    }\n\n    /**\n     * Get Prompt\n     *\n     * @return string\n     */\n    public function getPrompt()\n    {\n        return $this->prompt;\n    }\n\n    /**\n     * Set Prompt\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_DataValidation\n     */\n    public function setPrompt($value = '')\n    {\n        $this->prompt = $value;\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->formula1 .\n            $this->formula2 .\n            $this->type = PHPExcel_Cell_DataValidation::TYPE_NONE .\n            $this->errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP .\n            $this->operator .\n            ($this->allowBlank ? 't' : 'f') .\n            ($this->showDropDown ? 't' : 'f') .\n            ($this->showInputMessage ? 't' : 'f') .\n            ($this->showErrorMessage ? 't' : 'f') .\n            $this->errorTitle .\n            $this->error .\n            $this->promptTitle .\n            $this->prompt .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell/DefaultValueBinder.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Cell_DefaultValueBinder\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Cell_DefaultValueBinder implements PHPExcel_Cell_IValueBinder\n{\n    /**\n     * Bind value to a cell\n     *\n     * @param  PHPExcel_Cell  $cell   Cell to bind value to\n     * @param  mixed          $value  Value to bind in cell\n     * @return boolean\n     */\n    public function bindValue(PHPExcel_Cell $cell, $value = null)\n    {\n        // sanitize UTF-8 strings\n        if (is_string($value)) {\n            $value = PHPExcel_Shared_String::SanitizeUTF8($value);\n        } elseif (is_object($value)) {\n            // Handle any objects that might be injected\n            if ($value instanceof DateTime) {\n                $value = $value->format('Y-m-d H:i:s');\n            } elseif (!($value instanceof PHPExcel_RichText)) {\n                $value = (string) $value;\n            }\n        }\n\n        // Set value explicit\n        $cell->setValueExplicit($value, self::dataTypeForValue($value));\n\n        // Done!\n        return true;\n    }\n\n    /**\n     * DataType for value\n     *\n     * @param   mixed  $pValue\n     * @return  string\n     */\n    public static function dataTypeForValue($pValue = null)\n    {\n        // Match the value against a few data types\n        if ($pValue === null) {\n            return PHPExcel_Cell_DataType::TYPE_NULL;\n        } elseif ($pValue === '') {\n            return PHPExcel_Cell_DataType::TYPE_STRING;\n        } elseif ($pValue instanceof PHPExcel_RichText) {\n            return PHPExcel_Cell_DataType::TYPE_INLINE;\n        } elseif ($pValue{0} === '=' && strlen($pValue) > 1) {\n            return PHPExcel_Cell_DataType::TYPE_FORMULA;\n        } elseif (is_bool($pValue)) {\n            return PHPExcel_Cell_DataType::TYPE_BOOL;\n        } elseif (is_float($pValue) || is_int($pValue)) {\n            return PHPExcel_Cell_DataType::TYPE_NUMERIC;\n        } elseif (preg_match('/^[\\+\\-]?([0-9]+\\\\.?[0-9]*|[0-9]*\\\\.?[0-9]+)([Ee][\\-\\+]?[0-2]?\\d{1,3})?$/', $pValue)) {\n            $tValue = ltrim($pValue, '+-');\n            if (is_string($pValue) && $tValue{0} === '0' && strlen($tValue) > 1 && $tValue{1} !== '.') {\n                return PHPExcel_Cell_DataType::TYPE_STRING;\n            } elseif ((strpos($pValue, '.') === false) && ($pValue > PHP_INT_MAX)) {\n                return PHPExcel_Cell_DataType::TYPE_STRING;\n            }\n            return PHPExcel_Cell_DataType::TYPE_NUMERIC;\n        } elseif (is_string($pValue) && array_key_exists($pValue, PHPExcel_Cell_DataType::getErrorCodes())) {\n            return PHPExcel_Cell_DataType::TYPE_ERROR;\n        }\n\n        return PHPExcel_Cell_DataType::TYPE_STRING;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell/Hyperlink.php",
    "content": "<?php\n\n/**\n * PHPExcel_Cell_Hyperlink\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Cell_Hyperlink\n{\n    /**\n     * URL to link the cell to\n     *\n     * @var string\n     */\n    private $url;\n\n    /**\n     * Tooltip to display on the hyperlink\n     *\n     * @var string\n     */\n    private $tooltip;\n\n    /**\n     * Create a new PHPExcel_Cell_Hyperlink\n     *\n     * @param  string  $pUrl      Url to link the cell to\n     * @param  string  $pTooltip  Tooltip to display on the hyperlink\n     */\n    public function __construct($pUrl = '', $pTooltip = '')\n    {\n        // Initialise member variables\n        $this->url     = $pUrl;\n        $this->tooltip = $pTooltip;\n    }\n\n    /**\n     * Get URL\n     *\n     * @return string\n     */\n    public function getUrl()\n    {\n        return $this->url;\n    }\n\n    /**\n     * Set URL\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_Hyperlink\n     */\n    public function setUrl($value = '')\n    {\n        $this->url = $value;\n        return $this;\n    }\n\n    /**\n     * Get tooltip\n     *\n     * @return string\n     */\n    public function getTooltip()\n    {\n        return $this->tooltip;\n    }\n\n    /**\n     * Set tooltip\n     *\n     * @param  string    $value\n     * @return PHPExcel_Cell_Hyperlink\n     */\n    public function setTooltip($value = '')\n    {\n        $this->tooltip = $value;\n        return $this;\n    }\n\n    /**\n     * Is this hyperlink internal? (to another worksheet)\n     *\n     * @return boolean\n     */\n    public function isInternal()\n    {\n        return strpos($this->url, 'sheet://') !== false;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->url .\n            $this->tooltip .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell/IValueBinder.php",
    "content": "<?php\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Cell_IValueBinder\n *\n * @category   PHPExcel\n * @package    PHPExcel_Cell\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\ninterface PHPExcel_Cell_IValueBinder\n{\n    /**\n     * Bind value to a cell\n     *\n     * @param  PHPExcel_Cell $cell    Cell to bind value to\n     * @param  mixed $value           Value to bind in cell\n     * @return boolean\n     */\n    public function bindValue(PHPExcel_Cell $cell, $value = null);\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Cell.php",
    "content": "<?php\n\n/**\n *    PHPExcel_Cell\n *\n *    Copyright (c) 2006 - 2015 PHPExcel\n *\n *    This library is free software; you can redistribute it and/or\n *    modify it under the terms of the GNU Lesser General Public\n *    License as published by the Free Software Foundation; either\n *    version 2.1 of the License, or (at your option) any later version.\n *\n *    This library is distributed in the hope that it will be useful,\n *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *    Lesser General Public License for more details.\n *\n *    You should have received a copy of the GNU Lesser General Public\n *    License along with this library; if not, write to the Free Software\n *    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *    @category    PHPExcel\n *    @package    PHPExcel_Cell\n *    @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *    @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *    @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Cell\n{\n    /**\n     *  Default range variable constant\n     *\n     *  @var  string\n     */\n    const DEFAULT_RANGE = 'A1:A1';\n\n    /**\n     *    Value binder to use\n     *\n     *    @var    PHPExcel_Cell_IValueBinder\n     */\n    private static $valueBinder;\n\n    /**\n     *    Value of the cell\n     *\n     *    @var    mixed\n     */\n    private $value;\n\n    /**\n     *    Calculated value of the cell (used for caching)\n     *    This returns the value last calculated by MS Excel or whichever spreadsheet program was used to\n     *        create the original spreadsheet file.\n     *    Note that this value is not guaranteed to reflect the actual calculated value because it is\n     *        possible that auto-calculation was disabled in the original spreadsheet, and underlying data\n     *        values used by the formula have changed since it was last calculated.\n     *\n     *    @var mixed\n     */\n    private $calculatedValue;\n\n    /**\n     *    Type of the cell data\n     *\n     *    @var    string\n     */\n    private $dataType;\n\n    /**\n     *    Parent worksheet\n     *\n     *    @var    PHPExcel_CachedObjectStorage_CacheBase\n     */\n    private $parent;\n\n    /**\n     *    Index to cellXf\n     *\n     *    @var    int\n     */\n    private $xfIndex = 0;\n\n    /**\n     *    Attributes of the formula\n     *\n     */\n    private $formulaAttributes;\n\n\n    /**\n     *    Send notification to the cache controller\n     *\n     *    @return void\n     **/\n    public function notifyCacheController()\n    {\n        $this->parent->updateCacheData($this);\n\n        return $this;\n    }\n\n    public function detach()\n    {\n        $this->parent = null;\n    }\n\n    public function attach(PHPExcel_CachedObjectStorage_CacheBase $parent)\n    {\n        $this->parent = $parent;\n    }\n\n\n    /**\n     *    Create a new Cell\n     *\n     *    @param    mixed                $pValue\n     *    @param    string                $pDataType\n     *    @param    PHPExcel_Worksheet    $pSheet\n     *    @throws    PHPExcel_Exception\n     */\n    public function __construct($pValue = null, $pDataType = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // Initialise cell value\n        $this->value = $pValue;\n\n        // Set worksheet cache\n        $this->parent = $pSheet->getCellCacheController();\n\n        // Set datatype?\n        if ($pDataType !== null) {\n            if ($pDataType == PHPExcel_Cell_DataType::TYPE_STRING2) {\n                $pDataType = PHPExcel_Cell_DataType::TYPE_STRING;\n            }\n            $this->dataType = $pDataType;\n        } elseif (!self::getValueBinder()->bindValue($this, $pValue)) {\n            throw new PHPExcel_Exception(\"Value could not be bound to cell.\");\n        }\n    }\n\n    /**\n     *    Get cell coordinate column\n     *\n     *    @return    string\n     */\n    public function getColumn()\n    {\n        return $this->parent->getCurrentColumn();\n    }\n\n    /**\n     *    Get cell coordinate row\n     *\n     *    @return    int\n     */\n    public function getRow()\n    {\n        return $this->parent->getCurrentRow();\n    }\n\n    /**\n     *    Get cell coordinate\n     *\n     *    @return    string\n     */\n    public function getCoordinate()\n    {\n        return $this->parent->getCurrentAddress();\n    }\n\n    /**\n     *    Get cell value\n     *\n     *    @return    mixed\n     */\n    public function getValue()\n    {\n        return $this->value;\n    }\n\n    /**\n     *    Get cell value with formatting\n     *\n     *    @return    string\n     */\n    public function getFormattedValue()\n    {\n        return (string) PHPExcel_Style_NumberFormat::toFormattedString(\n            $this->getCalculatedValue(),\n            $this->getStyle()\n                ->getNumberFormat()->getFormatCode()\n        );\n    }\n\n    /**\n     *    Set cell value\n     *\n     *    Sets the value for a cell, automatically determining the datatype using the value binder\n     *\n     *    @param    mixed    $pValue                    Value\n     *    @return    PHPExcel_Cell\n     *    @throws    PHPExcel_Exception\n     */\n    public function setValue($pValue = null)\n    {\n        if (!self::getValueBinder()->bindValue($this, $pValue)) {\n            throw new PHPExcel_Exception(\"Value could not be bound to cell.\");\n        }\n        return $this;\n    }\n\n    /**\n     *    Set the value for a cell, with the explicit data type passed to the method (bypassing any use of the value binder)\n     *\n     *    @param    mixed    $pValue            Value\n     *    @param    string    $pDataType        Explicit data type\n     *    @return    PHPExcel_Cell\n     *    @throws    PHPExcel_Exception\n     */\n    public function setValueExplicit($pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING)\n    {\n        // set the value according to data type\n        switch ($pDataType) {\n            case PHPExcel_Cell_DataType::TYPE_NULL:\n                $this->value = $pValue;\n                break;\n            case PHPExcel_Cell_DataType::TYPE_STRING2:\n                $pDataType = PHPExcel_Cell_DataType::TYPE_STRING;\n                // no break\n            case PHPExcel_Cell_DataType::TYPE_STRING:\n                // Synonym for string\n            case PHPExcel_Cell_DataType::TYPE_INLINE:\n                // Rich text\n                $this->value = PHPExcel_Cell_DataType::checkString($pValue);\n                break;\n            case PHPExcel_Cell_DataType::TYPE_NUMERIC:\n                $this->value = (float) $pValue;\n                break;\n            case PHPExcel_Cell_DataType::TYPE_FORMULA:\n                $this->value = (string) $pValue;\n                break;\n            case PHPExcel_Cell_DataType::TYPE_BOOL:\n                $this->value = (bool) $pValue;\n                break;\n            case PHPExcel_Cell_DataType::TYPE_ERROR:\n                $this->value = PHPExcel_Cell_DataType::checkErrorCode($pValue);\n                break;\n            default:\n                throw new PHPExcel_Exception('Invalid datatype: ' . $pDataType);\n                break;\n        }\n\n        // set the datatype\n        $this->dataType = $pDataType;\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *    Get calculated cell value\n     *\n     *    @deprecated        Since version 1.7.8 for planned changes to cell for array formula handling\n     *\n     *    @param    boolean $resetLog  Whether the calculation engine logger should be reset or not\n     *    @return    mixed\n     *    @throws    PHPExcel_Exception\n     */\n    public function getCalculatedValue($resetLog = true)\n    {\n//echo 'Cell '.$this->getCoordinate().' value is a '.$this->dataType.' with a value of '.$this->getValue().PHP_EOL;\n        if ($this->dataType == PHPExcel_Cell_DataType::TYPE_FORMULA) {\n            try {\n//echo 'Cell value for '.$this->getCoordinate().' is a formula: Calculating value'.PHP_EOL;\n                $result = PHPExcel_Calculation::getInstance(\n                    $this->getWorksheet()->getParent()\n                )->calculateCellValue($this, $resetLog);\n//echo $this->getCoordinate().' calculation result is '.$result.PHP_EOL;\n                //    We don't yet handle array returns\n                if (is_array($result)) {\n                    while (is_array($result)) {\n                        $result = array_pop($result);\n                    }\n                }\n            } catch (PHPExcel_Exception $ex) {\n                if (($ex->getMessage() === 'Unable to access External Workbook') && ($this->calculatedValue !== null)) {\n//echo 'Returning fallback value of '.$this->calculatedValue.' for cell '.$this->getCoordinate().PHP_EOL;\n                    return $this->calculatedValue; // Fallback for calculations referencing external files.\n                }\n//echo 'Calculation Exception: '.$ex->getMessage().PHP_EOL;\n                $result = '#N/A';\n                throw new PHPExcel_Calculation_Exception(\n                    $this->getWorksheet()->getTitle().'!'.$this->getCoordinate().' -> '.$ex->getMessage()\n                );\n            }\n\n            if ($result === '#Not Yet Implemented') {\n//echo 'Returning fallback value of '.$this->calculatedValue.' for cell '.$this->getCoordinate().PHP_EOL;\n                return $this->calculatedValue; // Fallback if calculation engine does not support the formula.\n            }\n//echo 'Returning calculated value of '.$result.' for cell '.$this->getCoordinate().PHP_EOL;\n            return $result;\n        } elseif ($this->value instanceof PHPExcel_RichText) {\n//        echo 'Cell value for '.$this->getCoordinate().' is rich text: Returning data value of '.$this->value.'<br />';\n            return $this->value->getPlainText();\n        }\n//        echo 'Cell value for '.$this->getCoordinate().' is not a formula: Returning data value of '.$this->value.'<br />';\n        return $this->value;\n    }\n\n    /**\n     *    Set old calculated value (cached)\n     *\n     *    @param    mixed $pValue    Value\n     *    @return    PHPExcel_Cell\n     */\n    public function setCalculatedValue($pValue = null)\n    {\n        if ($pValue !== null) {\n            $this->calculatedValue = (is_numeric($pValue)) ? (float) $pValue : $pValue;\n        }\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *    Get old calculated value (cached)\n     *    This returns the value last calculated by MS Excel or whichever spreadsheet program was used to\n     *        create the original spreadsheet file.\n     *    Note that this value is not guaranteed to refelect the actual calculated value because it is\n     *        possible that auto-calculation was disabled in the original spreadsheet, and underlying data\n     *        values used by the formula have changed since it was last calculated.\n     *\n     *    @return    mixed\n     */\n    public function getOldCalculatedValue()\n    {\n        return $this->calculatedValue;\n    }\n\n    /**\n     *    Get cell data type\n     *\n     *    @return string\n     */\n    public function getDataType()\n    {\n        return $this->dataType;\n    }\n\n    /**\n     *    Set cell data type\n     *\n     *    @param    string $pDataType\n     *    @return    PHPExcel_Cell\n     */\n    public function setDataType($pDataType = PHPExcel_Cell_DataType::TYPE_STRING)\n    {\n        if ($pDataType == PHPExcel_Cell_DataType::TYPE_STRING2) {\n            $pDataType = PHPExcel_Cell_DataType::TYPE_STRING;\n        }\n        $this->dataType = $pDataType;\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *  Identify if the cell contains a formula\n     *\n     *  @return boolean\n     */\n    public function isFormula()\n    {\n        return $this->dataType == PHPExcel_Cell_DataType::TYPE_FORMULA;\n    }\n\n    /**\n     *    Does this cell contain Data validation rules?\n     *\n     *    @return    boolean\n     *    @throws    PHPExcel_Exception\n     */\n    public function hasDataValidation()\n    {\n        if (!isset($this->parent)) {\n            throw new PHPExcel_Exception('Cannot check for data validation when cell is not bound to a worksheet');\n        }\n\n        return $this->getWorksheet()->dataValidationExists($this->getCoordinate());\n    }\n\n    /**\n     *    Get Data validation rules\n     *\n     *    @return    PHPExcel_Cell_DataValidation\n     *    @throws    PHPExcel_Exception\n     */\n    public function getDataValidation()\n    {\n        if (!isset($this->parent)) {\n            throw new PHPExcel_Exception('Cannot get data validation for cell that is not bound to a worksheet');\n        }\n\n        return $this->getWorksheet()->getDataValidation($this->getCoordinate());\n    }\n\n    /**\n     *    Set Data validation rules\n     *\n     *    @param    PHPExcel_Cell_DataValidation    $pDataValidation\n     *    @return    PHPExcel_Cell\n     *    @throws    PHPExcel_Exception\n     */\n    public function setDataValidation(PHPExcel_Cell_DataValidation $pDataValidation = null)\n    {\n        if (!isset($this->parent)) {\n            throw new PHPExcel_Exception('Cannot set data validation for cell that is not bound to a worksheet');\n        }\n\n        $this->getWorksheet()->setDataValidation($this->getCoordinate(), $pDataValidation);\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *    Does this cell contain a Hyperlink?\n     *\n     *    @return boolean\n     *    @throws    PHPExcel_Exception\n     */\n    public function hasHyperlink()\n    {\n        if (!isset($this->parent)) {\n            throw new PHPExcel_Exception('Cannot check for hyperlink when cell is not bound to a worksheet');\n        }\n\n        return $this->getWorksheet()->hyperlinkExists($this->getCoordinate());\n    }\n\n    /**\n     *    Get Hyperlink\n     *\n     *    @return    PHPExcel_Cell_Hyperlink\n     *    @throws    PHPExcel_Exception\n     */\n    public function getHyperlink()\n    {\n        if (!isset($this->parent)) {\n            throw new PHPExcel_Exception('Cannot get hyperlink for cell that is not bound to a worksheet');\n        }\n\n        return $this->getWorksheet()->getHyperlink($this->getCoordinate());\n    }\n\n    /**\n     *    Set Hyperlink\n     *\n     *    @param    PHPExcel_Cell_Hyperlink    $pHyperlink\n     *    @return    PHPExcel_Cell\n     *    @throws    PHPExcel_Exception\n     */\n    public function setHyperlink(PHPExcel_Cell_Hyperlink $pHyperlink = null)\n    {\n        if (!isset($this->parent)) {\n            throw new PHPExcel_Exception('Cannot set hyperlink for cell that is not bound to a worksheet');\n        }\n\n        $this->getWorksheet()->setHyperlink($this->getCoordinate(), $pHyperlink);\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *    Get parent worksheet\n     *\n     *    @return PHPExcel_CachedObjectStorage_CacheBase\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     *    Get parent worksheet\n     *\n     *    @return PHPExcel_Worksheet\n     */\n    public function getWorksheet()\n    {\n        return $this->parent->getParent();\n    }\n\n    /**\n     *    Is this cell in a merge range\n     *\n     *    @return boolean\n     */\n    public function isInMergeRange()\n    {\n        return (boolean) $this->getMergeRange();\n    }\n\n    /**\n     *    Is this cell the master (top left cell) in a merge range (that holds the actual data value)\n     *\n     *    @return boolean\n     */\n    public function isMergeRangeValueCell()\n    {\n        if ($mergeRange = $this->getMergeRange()) {\n            $mergeRange = PHPExcel_Cell::splitRange($mergeRange);\n            list($startCell) = $mergeRange[0];\n            if ($this->getCoordinate() === $startCell) {\n                return true;\n            }\n        }\n        return false;\n    }\n\n    /**\n     *    If this cell is in a merge range, then return the range\n     *\n     *    @return string\n     */\n    public function getMergeRange()\n    {\n        foreach ($this->getWorksheet()->getMergeCells() as $mergeRange) {\n            if ($this->isInRange($mergeRange)) {\n                return $mergeRange;\n            }\n        }\n        return false;\n    }\n\n    /**\n     *    Get cell style\n     *\n     *    @return    PHPExcel_Style\n     */\n    public function getStyle()\n    {\n        return $this->getWorksheet()->getStyle($this->getCoordinate());\n    }\n\n    /**\n     *    Re-bind parent\n     *\n     *    @param    PHPExcel_Worksheet $parent\n     *    @return    PHPExcel_Cell\n     */\n    public function rebindParent(PHPExcel_Worksheet $parent)\n    {\n        $this->parent = $parent->getCellCacheController();\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *    Is cell in a specific range?\n     *\n     *    @param    string    $pRange        Cell range (e.g. A1:A1)\n     *    @return    boolean\n     */\n    public function isInRange($pRange = 'A1:A1')\n    {\n        list($rangeStart, $rangeEnd) = self::rangeBoundaries($pRange);\n\n        // Translate properties\n        $myColumn = self::columnIndexFromString($this->getColumn());\n        $myRow    = $this->getRow();\n\n        // Verify if cell is in range\n        return (($rangeStart[0] <= $myColumn) && ($rangeEnd[0] >= $myColumn) &&\n                ($rangeStart[1] <= $myRow) && ($rangeEnd[1] >= $myRow)\n               );\n    }\n\n    /**\n     *    Coordinate from string\n     *\n     *    @param    string    $pCoordinateString\n     *    @return    array    Array containing column and row (indexes 0 and 1)\n     *    @throws    PHPExcel_Exception\n     */\n    public static function coordinateFromString($pCoordinateString = 'A1')\n    {\n        if (preg_match(\"/^([$]?[A-Z]{1,3})([$]?\\d{1,7})$/\", $pCoordinateString, $matches)) {\n            return array($matches[1],$matches[2]);\n        } elseif ((strpos($pCoordinateString, ':') !== false) || (strpos($pCoordinateString, ',') !== false)) {\n            throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells');\n        } elseif ($pCoordinateString == '') {\n            throw new PHPExcel_Exception('Cell coordinate can not be zero-length string');\n        }\n\n        throw new PHPExcel_Exception('Invalid cell coordinate '.$pCoordinateString);\n    }\n\n    /**\n     *    Make string row, column or cell coordinate absolute\n     *\n     *    @param    string    $pCoordinateString        e.g. 'A' or '1' or 'A1'\n     *                    Note that this value can be a row or column reference as well as a cell reference\n     *    @return    string    Absolute coordinate        e.g. '$A' or '$1' or '$A$1'\n     *    @throws    PHPExcel_Exception\n     */\n    public static function absoluteReference($pCoordinateString = 'A1')\n    {\n        if (strpos($pCoordinateString, ':') === false && strpos($pCoordinateString, ',') === false) {\n            // Split out any worksheet name from the reference\n            $worksheet = '';\n            $cellAddress = explode('!', $pCoordinateString);\n            if (count($cellAddress) > 1) {\n                list($worksheet, $pCoordinateString) = $cellAddress;\n            }\n            if ($worksheet > '') {\n                $worksheet .= '!';\n            }\n\n            // Create absolute coordinate\n            if (ctype_digit($pCoordinateString)) {\n                return $worksheet . '$' . $pCoordinateString;\n            } elseif (ctype_alpha($pCoordinateString)) {\n                return $worksheet . '$' . strtoupper($pCoordinateString);\n            }\n            return $worksheet . self::absoluteCoordinate($pCoordinateString);\n        }\n\n        throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells');\n    }\n\n    /**\n     *    Make string coordinate absolute\n     *\n     *    @param    string    $pCoordinateString        e.g. 'A1'\n     *    @return    string    Absolute coordinate        e.g. '$A$1'\n     *    @throws    PHPExcel_Exception\n     */\n    public static function absoluteCoordinate($pCoordinateString = 'A1')\n    {\n        if (strpos($pCoordinateString, ':') === false && strpos($pCoordinateString, ',') === false) {\n            // Split out any worksheet name from the coordinate\n            $worksheet = '';\n            $cellAddress = explode('!', $pCoordinateString);\n            if (count($cellAddress) > 1) {\n                list($worksheet, $pCoordinateString) = $cellAddress;\n            }\n            if ($worksheet > '') {\n                $worksheet .= '!';\n            }\n\n            // Create absolute coordinate\n            list($column, $row) = self::coordinateFromString($pCoordinateString);\n            $column = ltrim($column, '$');\n            $row = ltrim($row, '$');\n            return $worksheet . '$' . $column . '$' . $row;\n        }\n\n        throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells');\n    }\n\n    /**\n     *    Split range into coordinate strings\n     *\n     *    @param    string    $pRange        e.g. 'B4:D9' or 'B4:D9,H2:O11' or 'B4'\n     *    @return    array    Array containg one or more arrays containing one or two coordinate strings\n     *                                e.g. array('B4','D9') or array(array('B4','D9'),array('H2','O11'))\n     *                                        or array('B4')\n     */\n    public static function splitRange($pRange = 'A1:A1')\n    {\n        // Ensure $pRange is a valid range\n        if (empty($pRange)) {\n            $pRange = self::DEFAULT_RANGE;\n        }\n\n        $exploded = explode(',', $pRange);\n        $counter = count($exploded);\n        for ($i = 0; $i < $counter; ++$i) {\n            $exploded[$i] = explode(':', $exploded[$i]);\n        }\n        return $exploded;\n    }\n\n    /**\n     *    Build range from coordinate strings\n     *\n     *    @param    array    $pRange    Array containg one or more arrays containing one or two coordinate strings\n     *    @return    string    String representation of $pRange\n     *    @throws    PHPExcel_Exception\n     */\n    public static function buildRange($pRange)\n    {\n        // Verify range\n        if (!is_array($pRange) || empty($pRange) || !is_array($pRange[0])) {\n            throw new PHPExcel_Exception('Range does not contain any information');\n        }\n\n        // Build range\n        $imploded = array();\n        $counter = count($pRange);\n        for ($i = 0; $i < $counter; ++$i) {\n            $pRange[$i] = implode(':', $pRange[$i]);\n        }\n        $imploded = implode(',', $pRange);\n\n        return $imploded;\n    }\n\n    /**\n     *    Calculate range boundaries\n     *\n     *    @param    string    $pRange        Cell range (e.g. A1:A1)\n     *    @return    array    Range coordinates array(Start Cell, End Cell)\n     *                    where Start Cell and End Cell are arrays (Column Number, Row Number)\n     */\n    public static function rangeBoundaries($pRange = 'A1:A1')\n    {\n        // Ensure $pRange is a valid range\n        if (empty($pRange)) {\n            $pRange = self::DEFAULT_RANGE;\n        }\n\n        // Uppercase coordinate\n        $pRange = strtoupper($pRange);\n\n        // Extract range\n        if (strpos($pRange, ':') === false) {\n            $rangeA = $rangeB = $pRange;\n        } else {\n            list($rangeA, $rangeB) = explode(':', $pRange);\n        }\n\n        // Calculate range outer borders\n        $rangeStart = self::coordinateFromString($rangeA);\n        $rangeEnd    = self::coordinateFromString($rangeB);\n\n        // Translate column into index\n        $rangeStart[0]    = self::columnIndexFromString($rangeStart[0]);\n        $rangeEnd[0]    = self::columnIndexFromString($rangeEnd[0]);\n\n        return array($rangeStart, $rangeEnd);\n    }\n\n    /**\n     *    Calculate range dimension\n     *\n     *    @param    string    $pRange        Cell range (e.g. A1:A1)\n     *    @return    array    Range dimension (width, height)\n     */\n    public static function rangeDimension($pRange = 'A1:A1')\n    {\n        // Calculate range outer borders\n        list($rangeStart, $rangeEnd) = self::rangeBoundaries($pRange);\n\n        return array( ($rangeEnd[0] - $rangeStart[0] + 1), ($rangeEnd[1] - $rangeStart[1] + 1) );\n    }\n\n    /**\n     *    Calculate range boundaries\n     *\n     *    @param    string    $pRange        Cell range (e.g. A1:A1)\n     *    @return    array    Range coordinates array(Start Cell, End Cell)\n     *                    where Start Cell and End Cell are arrays (Column ID, Row Number)\n     */\n    public static function getRangeBoundaries($pRange = 'A1:A1')\n    {\n        // Ensure $pRange is a valid range\n        if (empty($pRange)) {\n            $pRange = self::DEFAULT_RANGE;\n        }\n\n        // Uppercase coordinate\n        $pRange = strtoupper($pRange);\n\n        // Extract range\n        if (strpos($pRange, ':') === false) {\n            $rangeA = $rangeB = $pRange;\n        } else {\n            list($rangeA, $rangeB) = explode(':', $pRange);\n        }\n\n        return array( self::coordinateFromString($rangeA), self::coordinateFromString($rangeB));\n    }\n\n    /**\n     *    Column index from string\n     *\n     *    @param    string $pString\n     *    @return    int Column index (base 1 !!!)\n     */\n    public static function columnIndexFromString($pString = 'A')\n    {\n        //    Using a lookup cache adds a slight memory overhead, but boosts speed\n        //    caching using a static within the method is faster than a class static,\n        //        though it's additional memory overhead\n        static $_indexCache = array();\n\n        if (isset($_indexCache[$pString])) {\n            return $_indexCache[$pString];\n        }\n        //    It's surprising how costly the strtoupper() and ord() calls actually are, so we use a lookup array rather than use ord()\n        //        and make it case insensitive to get rid of the strtoupper() as well. Because it's a static, there's no significant\n        //        memory overhead either\n        static $_columnLookup = array(\n            'A' => 1, 'B' => 2, 'C' => 3, 'D' => 4, 'E' => 5, 'F' => 6, 'G' => 7, 'H' => 8, 'I' => 9, 'J' => 10, 'K' => 11, 'L' => 12, 'M' => 13,\n            'N' => 14, 'O' => 15, 'P' => 16, 'Q' => 17, 'R' => 18, 'S' => 19, 'T' => 20, 'U' => 21, 'V' => 22, 'W' => 23, 'X' => 24, 'Y' => 25, 'Z' => 26,\n            'a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5, 'f' => 6, 'g' => 7, 'h' => 8, 'i' => 9, 'j' => 10, 'k' => 11, 'l' => 12, 'm' => 13,\n            'n' => 14, 'o' => 15, 'p' => 16, 'q' => 17, 'r' => 18, 's' => 19, 't' => 20, 'u' => 21, 'v' => 22, 'w' => 23, 'x' => 24, 'y' => 25, 'z' => 26\n        );\n\n        //    We also use the language construct isset() rather than the more costly strlen() function to match the length of $pString\n        //        for improved performance\n        if (isset($pString{0})) {\n            if (!isset($pString{1})) {\n                $_indexCache[$pString] = $_columnLookup[$pString];\n                return $_indexCache[$pString];\n            } elseif (!isset($pString{2})) {\n                $_indexCache[$pString] = $_columnLookup[$pString{0}] * 26 + $_columnLookup[$pString{1}];\n                return $_indexCache[$pString];\n            } elseif (!isset($pString{3})) {\n                $_indexCache[$pString] = $_columnLookup[$pString{0}] * 676 + $_columnLookup[$pString{1}] * 26 + $_columnLookup[$pString{2}];\n                return $_indexCache[$pString];\n            }\n        }\n        throw new PHPExcel_Exception(\"Column string index can not be \" . ((isset($pString{0})) ? \"longer than 3 characters\" : \"empty\"));\n    }\n\n    /**\n     *    String from columnindex\n     *\n     *    @param    int $pColumnIndex Column index (base 0 !!!)\n     *    @return    string\n     */\n    public static function stringFromColumnIndex($pColumnIndex = 0)\n    {\n        //    Using a lookup cache adds a slight memory overhead, but boosts speed\n        //    caching using a static within the method is faster than a class static,\n        //        though it's additional memory overhead\n        static $_indexCache = array();\n\n        if (!isset($_indexCache[$pColumnIndex])) {\n            // Determine column string\n            if ($pColumnIndex < 26) {\n                $_indexCache[$pColumnIndex] = chr(65 + $pColumnIndex);\n            } elseif ($pColumnIndex < 702) {\n                $_indexCache[$pColumnIndex] = chr(64 + ($pColumnIndex / 26)) .\n                                              chr(65 + $pColumnIndex % 26);\n            } else {\n                $_indexCache[$pColumnIndex] = chr(64 + (($pColumnIndex - 26) / 676)) .\n                                              chr(65 + ((($pColumnIndex - 26) % 676) / 26)) .\n                                              chr(65 + $pColumnIndex % 26);\n            }\n        }\n        return $_indexCache[$pColumnIndex];\n    }\n\n    /**\n     *    Extract all cell references in range\n     *\n     *    @param    string    $pRange        Range (e.g. A1 or A1:C10 or A1:E10 A20:E25)\n     *    @return    array    Array containing single cell references\n     */\n    public static function extractAllCellReferencesInRange($pRange = 'A1')\n    {\n        // Returnvalue\n        $returnValue = array();\n\n        // Explode spaces\n        $cellBlocks = explode(' ', str_replace('$', '', strtoupper($pRange)));\n        foreach ($cellBlocks as $cellBlock) {\n            // Single cell?\n            if (strpos($cellBlock, ':') === false && strpos($cellBlock, ',') === false) {\n                $returnValue[] = $cellBlock;\n                continue;\n            }\n\n            // Range...\n            $ranges = self::splitRange($cellBlock);\n            foreach ($ranges as $range) {\n                // Single cell?\n                if (!isset($range[1])) {\n                    $returnValue[] = $range[0];\n                    continue;\n                }\n\n                // Range...\n                list($rangeStart, $rangeEnd)    = $range;\n                sscanf($rangeStart, '%[A-Z]%d', $startCol, $startRow);\n                sscanf($rangeEnd, '%[A-Z]%d', $endCol, $endRow);\n                ++$endCol;\n\n                // Current data\n                $currentCol = $startCol;\n                $currentRow = $startRow;\n\n                // Loop cells\n                while ($currentCol != $endCol) {\n                    while ($currentRow <= $endRow) {\n                        $returnValue[] = $currentCol.$currentRow;\n                        ++$currentRow;\n                    }\n                    ++$currentCol;\n                    $currentRow = $startRow;\n                }\n            }\n        }\n\n        //    Sort the result by column and row\n        $sortKeys = array();\n        foreach (array_unique($returnValue) as $coord) {\n            sscanf($coord, '%[A-Z]%d', $column, $row);\n            $sortKeys[sprintf('%3s%09d', $column, $row)] = $coord;\n        }\n        ksort($sortKeys);\n\n        // Return value\n        return array_values($sortKeys);\n    }\n\n    /**\n     * Compare 2 cells\n     *\n     * @param    PHPExcel_Cell    $a    Cell a\n     * @param    PHPExcel_Cell    $b    Cell b\n     * @return    int        Result of comparison (always -1 or 1, never zero!)\n     */\n    public static function compareCells(PHPExcel_Cell $a, PHPExcel_Cell $b)\n    {\n        if ($a->getRow() < $b->getRow()) {\n            return -1;\n        } elseif ($a->getRow() > $b->getRow()) {\n            return 1;\n        } elseif (self::columnIndexFromString($a->getColumn()) < self::columnIndexFromString($b->getColumn())) {\n            return -1;\n        } else {\n            return 1;\n        }\n    }\n\n    /**\n     * Get value binder to use\n     *\n     * @return PHPExcel_Cell_IValueBinder\n     */\n    public static function getValueBinder()\n    {\n        if (self::$valueBinder === null) {\n            self::$valueBinder = new PHPExcel_Cell_DefaultValueBinder();\n        }\n\n        return self::$valueBinder;\n    }\n\n    /**\n     * Set value binder to use\n     *\n     * @param PHPExcel_Cell_IValueBinder $binder\n     * @throws PHPExcel_Exception\n     */\n    public static function setValueBinder(PHPExcel_Cell_IValueBinder $binder = null)\n    {\n        if ($binder === null) {\n            throw new PHPExcel_Exception(\"A PHPExcel_Cell_IValueBinder is required for PHPExcel to function correctly.\");\n        }\n\n        self::$valueBinder = $binder;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if ((is_object($value)) && ($key != 'parent')) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n\n    /**\n     * Get index to cellXf\n     *\n     * @return int\n     */\n    public function getXfIndex()\n    {\n        return $this->xfIndex;\n    }\n\n    /**\n     * Set index to cellXf\n     *\n     * @param int $pValue\n     * @return PHPExcel_Cell\n     */\n    public function setXfIndex($pValue = 0)\n    {\n        $this->xfIndex = $pValue;\n\n        return $this->notifyCacheController();\n    }\n\n    /**\n     *    @deprecated        Since version 1.7.8 for planned changes to cell for array formula handling\n     */\n    public function setFormulaAttributes($pAttributes)\n    {\n        $this->formulaAttributes = $pAttributes;\n        return $this;\n    }\n\n    /**\n     *    @deprecated        Since version 1.7.8 for planned changes to cell for array formula handling\n     */\n    public function getFormulaAttributes()\n    {\n        return $this->formulaAttributes;\n    }\n\n    /**\n     * Convert to string\n     *\n     * @return string\n     */\n    public function __toString()\n    {\n        return (string) $this->getValue();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Axis.php",
    "content": "<?php\n\n/**\n * Created by PhpStorm.\n * User: Wiktor Trzonkowski\n * Date: 6/17/14\n * Time: 12:11 PM\n */\n\nclass PHPExcel_Chart_Axis extends PHPExcel_Chart_Properties\n{\n    /**\n     * Axis Number\n     *\n     * @var  array of mixed\n     */\n    private $axisNumber = array(\n        'format' => self::FORMAT_CODE_GENERAL,\n        'source_linked' => 1\n    );\n\n    /**\n     * Axis Options\n     *\n     * @var  array of mixed\n     */\n    private $axisOptions = array(\n        'minimum' => null,\n        'maximum' => null,\n        'major_unit' => null,\n        'minor_unit' => null,\n        'orientation' => self::ORIENTATION_NORMAL,\n        'minor_tick_mark' => self::TICK_MARK_NONE,\n        'major_tick_mark' => self::TICK_MARK_NONE,\n        'axis_labels' => self::AXIS_LABELS_NEXT_TO,\n        'horizontal_crosses' => self::HORIZONTAL_CROSSES_AUTOZERO,\n        'horizontal_crosses_value' => null\n    );\n\n    /**\n     * Fill Properties\n     *\n     * @var  array of mixed\n     */\n    private $fillProperties = array(\n        'type' => self::EXCEL_COLOR_TYPE_ARGB,\n        'value' => null,\n        'alpha' => 0\n    );\n\n    /**\n     * Line Properties\n     *\n     * @var  array of mixed\n     */\n    private $lineProperties = array(\n        'type' => self::EXCEL_COLOR_TYPE_ARGB,\n        'value' => null,\n        'alpha' => 0\n    );\n\n    /**\n     * Line Style Properties\n     *\n     * @var  array of mixed\n     */\n    private $lineStyleProperties = array(\n        'width' => '9525',\n        'compound' => self::LINE_STYLE_COMPOUND_SIMPLE,\n        'dash' => self::LINE_STYLE_DASH_SOLID,\n        'cap' => self::LINE_STYLE_CAP_FLAT,\n        'join' => self::LINE_STYLE_JOIN_BEVEL,\n        'arrow' => array(\n            'head' => array(\n                'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,\n                'size' => self::LINE_STYLE_ARROW_SIZE_5\n            ),\n            'end' => array(\n                'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,\n                'size' => self::LINE_STYLE_ARROW_SIZE_8\n            ),\n        )\n    );\n\n    /**\n     * Shadow Properties\n     *\n     * @var  array of mixed\n     */\n    private $shadowProperties = array(\n        'presets' => self::SHADOW_PRESETS_NOSHADOW,\n        'effect' => null,\n        'color' => array(\n            'type' => self::EXCEL_COLOR_TYPE_STANDARD,\n            'value' => 'black',\n            'alpha' => 40,\n        ),\n        'size' => array(\n            'sx' => null,\n            'sy' => null,\n            'kx' => null\n        ),\n        'blur' => null,\n        'direction' => null,\n        'distance' => null,\n        'algn' => null,\n        'rotWithShape' => null\n    );\n\n    /**\n     * Glow Properties\n     *\n     * @var  array of mixed\n     */\n    private $glowProperties = array(\n        'size' => null,\n        'color' => array(\n            'type' => self::EXCEL_COLOR_TYPE_STANDARD,\n            'value' => 'black',\n            'alpha' => 40\n        )\n    );\n\n    /**\n     * Soft Edge Properties\n     *\n     * @var  array of mixed\n     */\n    private $softEdges = array(\n        'size' => null\n    );\n\n    /**\n     * Get Series Data Type\n     *\n     * @return  string\n     */\n    public function setAxisNumberProperties($format_code)\n    {\n        $this->axisNumber['format'] = (string) $format_code;\n        $this->axisNumber['source_linked'] = 0;\n    }\n\n    /**\n     * Get Axis Number Format Data Type\n     *\n     * @return  string\n     */\n    public function getAxisNumberFormat()\n    {\n        return $this->axisNumber['format'];\n    }\n\n    /**\n     * Get Axis Number Source Linked\n     *\n     * @return  string\n     */\n    public function getAxisNumberSourceLinked()\n    {\n        return (string) $this->axisNumber['source_linked'];\n    }\n\n    /**\n     * Set Axis Options Properties\n     *\n     * @param string $axis_labels\n     * @param string $horizontal_crosses_value\n     * @param string $horizontal_crosses\n     * @param string $axis_orientation\n     * @param string $major_tmt\n     * @param string $minor_tmt\n     * @param string $minimum\n     * @param string $maximum\n     * @param string $major_unit\n     * @param string $minor_unit\n     *\n     */\n    public function setAxisOptionsProperties($axis_labels, $horizontal_crosses_value = null, $horizontal_crosses = null, $axis_orientation = null, $major_tmt = null, $minor_tmt = null, $minimum = null, $maximum = null, $major_unit = null, $minor_unit = null)\n    {\n        $this->axisOptions['axis_labels'] = (string) $axis_labels;\n        ($horizontal_crosses_value !== null) ? $this->axisOptions['horizontal_crosses_value'] = (string) $horizontal_crosses_value : null;\n        ($horizontal_crosses !== null) ? $this->axisOptions['horizontal_crosses'] = (string) $horizontal_crosses : null;\n        ($axis_orientation !== null) ? $this->axisOptions['orientation'] = (string) $axis_orientation : null;\n        ($major_tmt !== null) ? $this->axisOptions['major_tick_mark'] = (string) $major_tmt : null;\n        ($minor_tmt !== null) ? $this->axisOptions['minor_tick_mark'] = (string) $minor_tmt : null;\n        ($minor_tmt !== null) ? $this->axisOptions['minor_tick_mark'] = (string) $minor_tmt : null;\n        ($minimum !== null) ? $this->axisOptions['minimum'] = (string) $minimum : null;\n        ($maximum !== null) ? $this->axisOptions['maximum'] = (string) $maximum : null;\n        ($major_unit !== null) ? $this->axisOptions['major_unit'] = (string) $major_unit : null;\n        ($minor_unit !== null) ? $this->axisOptions['minor_unit'] = (string) $minor_unit : null;\n    }\n\n    /**\n     * Get Axis Options Property\n     *\n     * @param string $property\n     *\n     * @return string\n     */\n    public function getAxisOptionsProperty($property)\n    {\n        return $this->axisOptions[$property];\n    }\n\n    /**\n     * Set Axis Orientation Property\n     *\n     * @param string $orientation\n     *\n     */\n    public function setAxisOrientation($orientation)\n    {\n        $this->orientation = (string) $orientation;\n    }\n\n    /**\n     * Set Fill Property\n     *\n     * @param string $color\n     * @param int $alpha\n     * @param string $type\n     *\n     */\n    public function setFillParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB)\n    {\n        $this->fillProperties = $this->setColorProperties($color, $alpha, $type);\n    }\n\n    /**\n     * Set Line Property\n     *\n     * @param string $color\n     * @param int $alpha\n     * @param string $type\n     *\n     */\n    public function setLineParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB)\n    {\n        $this->lineProperties = $this->setColorProperties($color, $alpha, $type);\n    }\n\n    /**\n     * Get Fill Property\n     *\n     * @param string $property\n     *\n     * @return string\n     */\n    public function getFillProperty($property)\n    {\n        return $this->fillProperties[$property];\n    }\n\n    /**\n     * Get Line Property\n     *\n     * @param string $property\n     *\n     * @return string\n     */\n    public function getLineProperty($property)\n    {\n        return $this->lineProperties[$property];\n    }\n\n    /**\n     * Set Line Style Properties\n     *\n     * @param float $line_width\n     * @param string $compound_type\n     * @param string $dash_type\n     * @param string $cap_type\n     * @param string $join_type\n     * @param string $head_arrow_type\n     * @param string $head_arrow_size\n     * @param string $end_arrow_type\n     * @param string $end_arrow_size\n     *\n     */\n    public function setLineStyleProperties($line_width = null, $compound_type = null, $dash_type = null, $cap_type = null, $join_type = null, $head_arrow_type = null, $head_arrow_size = null, $end_arrow_type = null, $end_arrow_size = null)\n    {\n        (!is_null($line_width)) ? $this->lineStyleProperties['width'] = $this->getExcelPointsWidth((float) $line_width) : null;\n        (!is_null($compound_type)) ? $this->lineStyleProperties['compound'] = (string) $compound_type : null;\n        (!is_null($dash_type)) ? $this->lineStyleProperties['dash'] = (string) $dash_type : null;\n        (!is_null($cap_type)) ? $this->lineStyleProperties['cap'] = (string) $cap_type : null;\n        (!is_null($join_type)) ? $this->lineStyleProperties['join'] = (string) $join_type : null;\n        (!is_null($head_arrow_type)) ? $this->lineStyleProperties['arrow']['head']['type'] = (string) $head_arrow_type : null;\n        (!is_null($head_arrow_size)) ? $this->lineStyleProperties['arrow']['head']['size'] = (string) $head_arrow_size : null;\n        (!is_null($end_arrow_type)) ? $this->lineStyleProperties['arrow']['end']['type'] = (string) $end_arrow_type : null;\n        (!is_null($end_arrow_size)) ? $this->lineStyleProperties['arrow']['end']['size'] = (string) $end_arrow_size : null;\n    }\n\n    /**\n     * Get Line Style Property\n     *\n     * @param array|string $elements\n     *\n     * @return string\n     */\n    public function getLineStyleProperty($elements)\n    {\n        return $this->getArrayElementsValue($this->lineStyleProperties, $elements);\n    }\n\n    /**\n     * Get Line Style Arrow Excel Width\n     *\n     * @param string $arrow\n     *\n     * @return string\n     */\n    public function getLineStyleArrowWidth($arrow)\n    {\n        return $this->getLineStyleArrowSize($this->lineStyleProperties['arrow'][$arrow]['size'], 'w');\n    }\n\n    /**\n     * Get Line Style Arrow Excel Length\n     *\n     * @param string $arrow\n     *\n     * @return string\n     */\n    public function getLineStyleArrowLength($arrow)\n    {\n        return $this->getLineStyleArrowSize($this->lineStyleProperties['arrow'][$arrow]['size'], 'len');\n    }\n\n    /**\n     * Set Shadow Properties\n     *\n     * @param int $shadow_presets\n     * @param string $sh_color_value\n     * @param string $sh_color_type\n     * @param string $sh_color_alpha\n     * @param float $sh_blur\n     * @param int $sh_angle\n     * @param float $sh_distance\n     *\n     */\n    public function setShadowProperties($sh_presets, $sh_color_value = null, $sh_color_type = null, $sh_color_alpha = null, $sh_blur = null, $sh_angle = null, $sh_distance = null)\n    {\n        $this->setShadowPresetsProperties((int) $sh_presets)\n            ->setShadowColor(\n                is_null($sh_color_value) ? $this->shadowProperties['color']['value'] : $sh_color_value,\n                is_null($sh_color_alpha) ? (int) $this->shadowProperties['color']['alpha'] : $sh_color_alpha,\n                is_null($sh_color_type) ? $this->shadowProperties['color']['type'] : $sh_color_type\n            )\n            ->setShadowBlur($sh_blur)\n            ->setShadowAngle($sh_angle)\n            ->setShadowDistance($sh_distance);\n    }\n\n    /**\n     * Set Shadow Color\n     *\n     * @param int $shadow_presets\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setShadowPresetsProperties($shadow_presets)\n    {\n        $this->shadowProperties['presets'] = $shadow_presets;\n        $this->setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets));\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Properties from Maped Values\n     *\n     * @param array $properties_map\n     * @param * $reference\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setShadowProperiesMapValues(array $properties_map, &$reference = null)\n    {\n        $base_reference = $reference;\n        foreach ($properties_map as $property_key => $property_val) {\n            if (is_array($property_val)) {\n                if ($reference === null) {\n                    $reference = & $this->shadowProperties[$property_key];\n                } else {\n                    $reference = & $reference[$property_key];\n                }\n                $this->setShadowProperiesMapValues($property_val, $reference);\n            } else {\n                if ($base_reference === null) {\n                    $this->shadowProperties[$property_key] = $property_val;\n                } else {\n                    $reference[$property_key] = $property_val;\n                }\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Color\n     *\n     * @param string $color\n     * @param int $alpha\n     * @param string $type\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setShadowColor($color, $alpha, $type)\n    {\n        $this->shadowProperties['color'] = $this->setColorProperties($color, $alpha, $type);\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Blur\n     *\n     * @param float $blur\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setShadowBlur($blur)\n    {\n        if ($blur !== null) {\n            $this->shadowProperties['blur'] = (string) $this->getExcelPointsWidth($blur);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Angle\n     *\n     * @param int $angle\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setShadowAngle($angle)\n    {\n        if ($angle !== null) {\n            $this->shadowProperties['direction'] = (string) $this->getExcelPointsAngle($angle);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Distance\n     *\n     * @param float $distance\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setShadowDistance($distance)\n    {\n        if ($distance !== null) {\n            $this->shadowProperties['distance'] = (string) $this->getExcelPointsWidth($distance);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get Glow Property\n     *\n     * @param float $size\n     * @param string $color_value\n     * @param int $color_alpha\n     * @param string $color_type\n     */\n    public function getShadowProperty($elements)\n    {\n        return $this->getArrayElementsValue($this->shadowProperties, $elements);\n    }\n\n    /**\n     * Set Glow Properties\n     *\n     * @param float $size\n     * @param string $color_value\n     * @param int $color_alpha\n     * @param string $color_type\n     */\n    public function setGlowProperties($size, $color_value = null, $color_alpha = null, $color_type = null)\n    {\n        $this->setGlowSize($size)\n            ->setGlowColor(\n                is_null($color_value) ? $this->glowProperties['color']['value'] : $color_value,\n                is_null($color_alpha) ? (int) $this->glowProperties['color']['alpha'] : $color_alpha,\n                is_null($color_type) ? $this->glowProperties['color']['type'] : $color_type\n            );\n    }\n\n    /**\n     * Get Glow Property\n     *\n     * @param array|string $property\n     *\n     * @return string\n     */\n    public function getGlowProperty($property)\n    {\n        return $this->getArrayElementsValue($this->glowProperties, $property);\n    }\n\n    /**\n     * Set Glow Color\n     *\n     * @param float $size\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setGlowSize($size)\n    {\n        if (!is_null($size)) {\n            $this->glowProperties['size'] = $this->getExcelPointsWidth($size);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Glow Color\n     *\n     * @param string $color\n     * @param int $alpha\n     * @param string $type\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    private function setGlowColor($color, $alpha, $type)\n    {\n        $this->glowProperties['color'] = $this->setColorProperties($color, $alpha, $type);\n\n        return $this;\n    }\n\n    /**\n     * Set Soft Edges Size\n     *\n     * @param float $size\n     */\n    public function setSoftEdges($size)\n    {\n        if (!is_null($size)) {\n            $softEdges['size'] = (string) $this->getExcelPointsWidth($size);\n        }\n    }\n\n    /**\n     * Get Soft Edges Size\n     *\n     * @return string\n     */\n    public function getSoftEdgesSize()\n    {\n        return $this->softEdges['size'];\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/DataSeries.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Chart_DataSeries\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Chart_DataSeries\n{\n    const TYPE_BARCHART        = 'barChart';\n    const TYPE_BARCHART_3D     = 'bar3DChart';\n    const TYPE_LINECHART       = 'lineChart';\n    const TYPE_LINECHART_3D    = 'line3DChart';\n    const TYPE_AREACHART       = 'areaChart';\n    const TYPE_AREACHART_3D    = 'area3DChart';\n    const TYPE_PIECHART        = 'pieChart';\n    const TYPE_PIECHART_3D     = 'pie3DChart';\n    const TYPE_DOUGHTNUTCHART  = 'doughnutChart';\n    const TYPE_DONUTCHART      = self::TYPE_DOUGHTNUTCHART;    //    Synonym\n    const TYPE_SCATTERCHART    = 'scatterChart';\n    const TYPE_SURFACECHART    = 'surfaceChart';\n    const TYPE_SURFACECHART_3D = 'surface3DChart';\n    const TYPE_RADARCHART      = 'radarChart';\n    const TYPE_BUBBLECHART     = 'bubbleChart';\n    const TYPE_STOCKCHART      = 'stockChart';\n    const TYPE_CANDLECHART     = self::TYPE_STOCKCHART;       //    Synonym\n\n    const GROUPING_CLUSTERED       = 'clustered';\n    const GROUPING_STACKED         = 'stacked';\n    const GROUPING_PERCENT_STACKED = 'percentStacked';\n    const GROUPING_STANDARD        = 'standard';\n\n    const DIRECTION_BAR        = 'bar';\n    const DIRECTION_HORIZONTAL = self::DIRECTION_BAR;\n    const DIRECTION_COL        = 'col';\n    const DIRECTION_COLUMN     = self::DIRECTION_COL;\n    const DIRECTION_VERTICAL   = self::DIRECTION_COL;\n\n    const STYLE_LINEMARKER   = 'lineMarker';\n    const STYLE_SMOOTHMARKER = 'smoothMarker';\n    const STYLE_MARKER       = 'marker';\n    const STYLE_FILLED       = 'filled';\n\n\n    /**\n     * Series Plot Type\n     *\n     * @var string\n     */\n    private $plotType;\n\n    /**\n     * Plot Grouping Type\n     *\n     * @var boolean\n     */\n    private $plotGrouping;\n\n    /**\n     * Plot Direction\n     *\n     * @var boolean\n     */\n    private $plotDirection;\n\n    /**\n     * Plot Style\n     *\n     * @var string\n     */\n    private $plotStyle;\n\n    /**\n     * Order of plots in Series\n     *\n     * @var array of integer\n     */\n    private $plotOrder = array();\n\n    /**\n     * Plot Label\n     *\n     * @var array of PHPExcel_Chart_DataSeriesValues\n     */\n    private $plotLabel = array();\n\n    /**\n     * Plot Category\n     *\n     * @var array of PHPExcel_Chart_DataSeriesValues\n     */\n    private $plotCategory = array();\n\n    /**\n     * Smooth Line\n     *\n     * @var string\n     */\n    private $smoothLine;\n\n    /**\n     * Plot Values\n     *\n     * @var array of PHPExcel_Chart_DataSeriesValues\n     */\n    private $plotValues = array();\n\n    /**\n     * Create a new PHPExcel_Chart_DataSeries\n     */\n    public function __construct($plotType = null, $plotGrouping = null, $plotOrder = array(), $plotLabel = array(), $plotCategory = array(), $plotValues = array(), $plotDirection = null, $smoothLine = null, $plotStyle = null)\n    {\n        $this->plotType = $plotType;\n        $this->plotGrouping = $plotGrouping;\n        $this->plotOrder = $plotOrder;\n        $keys = array_keys($plotValues);\n        $this->plotValues = $plotValues;\n        if ((count($plotLabel) == 0) || (is_null($plotLabel[$keys[0]]))) {\n            $plotLabel[$keys[0]] = new PHPExcel_Chart_DataSeriesValues();\n        }\n\n        $this->plotLabel = $plotLabel;\n        if ((count($plotCategory) == 0) || (is_null($plotCategory[$keys[0]]))) {\n            $plotCategory[$keys[0]] = new PHPExcel_Chart_DataSeriesValues();\n        }\n        $this->plotCategory = $plotCategory;\n        $this->smoothLine = $smoothLine;\n        $this->plotStyle = $plotStyle;\n        \n        if (is_null($plotDirection)) {\n            $plotDirection = self::DIRECTION_COL;\n        }\n        $this->plotDirection = $plotDirection;\n    }\n\n    /**\n     * Get Plot Type\n     *\n     * @return string\n     */\n    public function getPlotType()\n    {\n        return $this->plotType;\n    }\n\n    /**\n     * Set Plot Type\n     *\n     * @param string $plotType\n     * @return PHPExcel_Chart_DataSeries\n     */\n    public function setPlotType($plotType = '')\n    {\n        $this->plotType = $plotType;\n        return $this;\n    }\n\n    /**\n     * Get Plot Grouping Type\n     *\n     * @return string\n     */\n    public function getPlotGrouping()\n    {\n        return $this->plotGrouping;\n    }\n\n    /**\n     * Set Plot Grouping Type\n     *\n     * @param string $groupingType\n     * @return PHPExcel_Chart_DataSeries\n     */\n    public function setPlotGrouping($groupingType = null)\n    {\n        $this->plotGrouping = $groupingType;\n        return $this;\n    }\n\n    /**\n     * Get Plot Direction\n     *\n     * @return string\n     */\n    public function getPlotDirection()\n    {\n        return $this->plotDirection;\n    }\n\n    /**\n     * Set Plot Direction\n     *\n     * @param string $plotDirection\n     * @return PHPExcel_Chart_DataSeries\n     */\n    public function setPlotDirection($plotDirection = null)\n    {\n        $this->plotDirection = $plotDirection;\n        return $this;\n    }\n\n    /**\n     * Get Plot Order\n     *\n     * @return string\n     */\n    public function getPlotOrder()\n    {\n        return $this->plotOrder;\n    }\n\n    /**\n     * Get Plot Labels\n     *\n     * @return array of PHPExcel_Chart_DataSeriesValues\n     */\n    public function getPlotLabels()\n    {\n        return $this->plotLabel;\n    }\n\n    /**\n     * Get Plot Label by Index\n     *\n     * @return PHPExcel_Chart_DataSeriesValues\n     */\n    public function getPlotLabelByIndex($index)\n    {\n        $keys = array_keys($this->plotLabel);\n        if (in_array($index, $keys)) {\n            return $this->plotLabel[$index];\n        } elseif (isset($keys[$index])) {\n            return $this->plotLabel[$keys[$index]];\n        }\n        return false;\n    }\n\n    /**\n     * Get Plot Categories\n     *\n     * @return array of PHPExcel_Chart_DataSeriesValues\n     */\n    public function getPlotCategories()\n    {\n        return $this->plotCategory;\n    }\n\n    /**\n     * Get Plot Category by Index\n     *\n     * @return PHPExcel_Chart_DataSeriesValues\n     */\n    public function getPlotCategoryByIndex($index)\n    {\n        $keys = array_keys($this->plotCategory);\n        if (in_array($index, $keys)) {\n            return $this->plotCategory[$index];\n        } elseif (isset($keys[$index])) {\n            return $this->plotCategory[$keys[$index]];\n        }\n        return false;\n    }\n\n    /**\n     * Get Plot Style\n     *\n     * @return string\n     */\n    public function getPlotStyle()\n    {\n        return $this->plotStyle;\n    }\n\n    /**\n     * Set Plot Style\n     *\n     * @param string $plotStyle\n     * @return PHPExcel_Chart_DataSeries\n     */\n    public function setPlotStyle($plotStyle = null)\n    {\n        $this->plotStyle = $plotStyle;\n        return $this;\n    }\n\n    /**\n     * Get Plot Values\n     *\n     * @return array of PHPExcel_Chart_DataSeriesValues\n     */\n    public function getPlotValues()\n    {\n        return $this->plotValues;\n    }\n\n    /**\n     * Get Plot Values by Index\n     *\n     * @return PHPExcel_Chart_DataSeriesValues\n     */\n    public function getPlotValuesByIndex($index)\n    {\n        $keys = array_keys($this->plotValues);\n        if (in_array($index, $keys)) {\n            return $this->plotValues[$index];\n        } elseif (isset($keys[$index])) {\n            return $this->plotValues[$keys[$index]];\n        }\n        return false;\n    }\n\n    /**\n     * Get Number of Plot Series\n     *\n     * @return integer\n     */\n    public function getPlotSeriesCount()\n    {\n        return count($this->plotValues);\n    }\n\n    /**\n     * Get Smooth Line\n     *\n     * @return boolean\n     */\n    public function getSmoothLine()\n    {\n        return $this->smoothLine;\n    }\n\n    /**\n     * Set Smooth Line\n     *\n     * @param boolean $smoothLine\n     * @return PHPExcel_Chart_DataSeries\n     */\n    public function setSmoothLine($smoothLine = true)\n    {\n        $this->smoothLine = $smoothLine;\n        return $this;\n    }\n\n    public function refresh(PHPExcel_Worksheet $worksheet)\n    {\n        foreach ($this->plotValues as $plotValues) {\n            if ($plotValues !== null) {\n                $plotValues->refresh($worksheet, true);\n            }\n        }\n        foreach ($this->plotLabel as $plotValues) {\n            if ($plotValues !== null) {\n                $plotValues->refresh($worksheet, true);\n            }\n        }\n        foreach ($this->plotCategory as $plotValues) {\n            if ($plotValues !== null) {\n                $plotValues->refresh($worksheet, false);\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/DataSeriesValues.php",
    "content": "<?php\n\n/**\n * PHPExcel_Chart_DataSeriesValues\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart_DataSeriesValues\n{\n\n    const DATASERIES_TYPE_STRING    = 'String';\n    const DATASERIES_TYPE_NUMBER    = 'Number';\n\n    private static $dataTypeValues = array(\n        self::DATASERIES_TYPE_STRING,\n        self::DATASERIES_TYPE_NUMBER,\n    );\n\n    /**\n     * Series Data Type\n     *\n     * @var    string\n     */\n    private $dataType;\n\n    /**\n     * Series Data Source\n     *\n     * @var    string\n     */\n    private $dataSource;\n\n    /**\n     * Format Code\n     *\n     * @var    string\n     */\n    private $formatCode;\n\n    /**\n     * Series Point Marker\n     *\n     * @var    string\n     */\n    private $pointMarker;\n\n    /**\n     * Point Count (The number of datapoints in the dataseries)\n     *\n     * @var    integer\n     */\n    private $pointCount = 0;\n\n    /**\n     * Data Values\n     *\n     * @var    array of mixed\n     */\n    private $dataValues = array();\n\n    /**\n     * Create a new PHPExcel_Chart_DataSeriesValues object\n     */\n    public function __construct($dataType = self::DATASERIES_TYPE_NUMBER, $dataSource = null, $formatCode = null, $pointCount = 0, $dataValues = array(), $marker = null)\n    {\n        $this->setDataType($dataType);\n        $this->dataSource = $dataSource;\n        $this->formatCode = $formatCode;\n        $this->pointCount = $pointCount;\n        $this->dataValues = $dataValues;\n        $this->pointMarker = $marker;\n    }\n\n    /**\n     * Get Series Data Type\n     *\n     * @return    string\n     */\n    public function getDataType()\n    {\n        return $this->dataType;\n    }\n\n    /**\n     * Set Series Data Type\n     *\n     * @param    string    $dataType    Datatype of this data series\n     *                                Typical values are:\n     *                                    PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_STRING\n     *                                        Normally used for axis point values\n     *                                    PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_NUMBER\n     *                                        Normally used for chart data values\n     * @return    PHPExcel_Chart_DataSeriesValues\n     */\n    public function setDataType($dataType = self::DATASERIES_TYPE_NUMBER)\n    {\n        if (!in_array($dataType, self::$dataTypeValues)) {\n            throw new PHPExcel_Chart_Exception('Invalid datatype for chart data series values');\n        }\n        $this->dataType = $dataType;\n\n        return $this;\n    }\n\n    /**\n     * Get Series Data Source (formula)\n     *\n     * @return    string\n     */\n    public function getDataSource()\n    {\n        return $this->dataSource;\n    }\n\n    /**\n     * Set Series Data Source (formula)\n     *\n     * @param    string    $dataSource\n     * @return    PHPExcel_Chart_DataSeriesValues\n     */\n    public function setDataSource($dataSource = null, $refreshDataValues = true)\n    {\n        $this->dataSource = $dataSource;\n\n        if ($refreshDataValues) {\n            //    TO DO\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get Point Marker\n     *\n     * @return string\n     */\n    public function getPointMarker()\n    {\n        return $this->pointMarker;\n    }\n\n    /**\n     * Set Point Marker\n     *\n     * @param    string    $marker\n     * @return    PHPExcel_Chart_DataSeriesValues\n     */\n    public function setPointMarker($marker = null)\n    {\n        $this->pointMarker = $marker;\n\n        return $this;\n    }\n\n    /**\n     * Get Series Format Code\n     *\n     * @return    string\n     */\n    public function getFormatCode()\n    {\n        return $this->formatCode;\n    }\n\n    /**\n     * Set Series Format Code\n     *\n     * @param    string    $formatCode\n     * @return    PHPExcel_Chart_DataSeriesValues\n     */\n    public function setFormatCode($formatCode = null)\n    {\n        $this->formatCode = $formatCode;\n\n        return $this;\n    }\n\n    /**\n     * Get Series Point Count\n     *\n     * @return    integer\n     */\n    public function getPointCount()\n    {\n        return $this->pointCount;\n    }\n\n    /**\n     * Identify if the Data Series is a multi-level or a simple series\n     *\n     * @return    boolean\n     */\n    public function isMultiLevelSeries()\n    {\n        if (count($this->dataValues) > 0) {\n            return is_array($this->dataValues[0]);\n        }\n        return null;\n    }\n\n    /**\n     * Return the level count of a multi-level Data Series\n     *\n     * @return    boolean\n     */\n    public function multiLevelCount()\n    {\n        $levelCount = 0;\n        foreach ($this->dataValues as $dataValueSet) {\n            $levelCount = max($levelCount, count($dataValueSet));\n        }\n        return $levelCount;\n    }\n\n    /**\n     * Get Series Data Values\n     *\n     * @return    array of mixed\n     */\n    public function getDataValues()\n    {\n        return $this->dataValues;\n    }\n\n    /**\n     * Get the first Series Data value\n     *\n     * @return    mixed\n     */\n    public function getDataValue()\n    {\n        $count = count($this->dataValues);\n        if ($count == 0) {\n            return null;\n        } elseif ($count == 1) {\n            return $this->dataValues[0];\n        }\n        return $this->dataValues;\n    }\n\n    /**\n     * Set Series Data Values\n     *\n     * @param    array    $dataValues\n     * @param    boolean    $refreshDataSource\n     *                    TRUE - refresh the value of dataSource based on the values of $dataValues\n     *                    FALSE - don't change the value of dataSource\n     * @return    PHPExcel_Chart_DataSeriesValues\n     */\n    public function setDataValues($dataValues = array(), $refreshDataSource = true)\n    {\n        $this->dataValues = PHPExcel_Calculation_Functions::flattenArray($dataValues);\n        $this->pointCount = count($dataValues);\n\n        if ($refreshDataSource) {\n            //    TO DO\n        }\n\n        return $this;\n    }\n\n    private function stripNulls($var)\n    {\n        return $var !== null;\n    }\n\n    public function refresh(PHPExcel_Worksheet $worksheet, $flatten = true)\n    {\n        if ($this->dataSource !== null) {\n            $calcEngine = PHPExcel_Calculation::getInstance($worksheet->getParent());\n            $newDataValues = PHPExcel_Calculation::unwrapResult(\n                $calcEngine->_calculateFormulaValue(\n                    '='.$this->dataSource,\n                    null,\n                    $worksheet->getCell('A1')\n                )\n            );\n            if ($flatten) {\n                $this->dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues);\n                foreach ($this->dataValues as &$dataValue) {\n                    if ((!empty($dataValue)) && ($dataValue[0] == '#')) {\n                        $dataValue = 0.0;\n                    }\n                }\n                unset($dataValue);\n            } else {\n                $cellRange = explode('!', $this->dataSource);\n                if (count($cellRange) > 1) {\n                    list(, $cellRange) = $cellRange;\n                }\n\n                $dimensions = PHPExcel_Cell::rangeDimension(str_replace('$', '', $cellRange));\n                if (($dimensions[0] == 1) || ($dimensions[1] == 1)) {\n                    $this->dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues);\n                } else {\n                    $newArray = array_values(array_shift($newDataValues));\n                    foreach ($newArray as $i => $newDataSet) {\n                        $newArray[$i] = array($newDataSet);\n                    }\n\n                    foreach ($newDataValues as $newDataSet) {\n                        $i = 0;\n                        foreach ($newDataSet as $newDataVal) {\n                            array_unshift($newArray[$i++], $newDataVal);\n                        }\n                    }\n                    $this->dataValues = $newArray;\n                }\n            }\n            $this->pointCount = count($this->dataValues);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Exception.php",
    "content": "<?php\n\n/**\n * PHPExcel_Chart_Exception\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Chart\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart_Exception extends PHPExcel_Exception\n{\n    /**\n     * Error handler callback\n     *\n     * @param mixed $code\n     * @param mixed $string\n     * @param mixed $file\n     * @param mixed $line\n     * @param mixed $context\n     */\n    public static function errorHandlerCallback($code, $string, $file, $line, $context)\n    {\n        $e = new self($string, $code);\n        $e->line = $line;\n        $e->file = $file;\n        throw $e;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/GridLines.php",
    "content": "<?php\n\n/**\n * Created by PhpStorm.\n * User: Wiktor Trzonkowski\n * Date: 7/2/14\n * Time: 2:36 PM\n */\n\nclass PHPExcel_Chart_GridLines extends PHPExcel_Chart_Properties\n{\n\n  /**\n   * Properties of Class:\n   * Object State (State for Minor Tick Mark) @var bool\n   * Line Properties @var  array of mixed\n   * Shadow Properties @var  array of mixed\n   * Glow Properties @var  array of mixed\n   * Soft Properties @var  array of mixed\n   *\n   */\n\n    private $objectState = false;\n\n    private $lineProperties = array(\n        'color' => array(\n            'type' => self::EXCEL_COLOR_TYPE_STANDARD,\n            'value' => null,\n            'alpha' => 0\n        ),\n        'style' => array(\n            'width' => '9525',\n            'compound' => self::LINE_STYLE_COMPOUND_SIMPLE,\n            'dash' => self::LINE_STYLE_DASH_SOLID,\n            'cap' => self::LINE_STYLE_CAP_FLAT,\n            'join' => self::LINE_STYLE_JOIN_BEVEL,\n            'arrow' => array(\n                'head' => array(\n                    'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,\n                    'size' => self::LINE_STYLE_ARROW_SIZE_5\n                ),\n                'end' => array(\n                    'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,\n                    'size' => self::LINE_STYLE_ARROW_SIZE_8\n                ),\n            )\n        )\n    );\n\n    private $shadowProperties = array(\n        'presets' => self::SHADOW_PRESETS_NOSHADOW,\n        'effect' => null,\n        'color' => array(\n            'type' => self::EXCEL_COLOR_TYPE_STANDARD,\n            'value' => 'black',\n            'alpha' => 85,\n        ),\n        'size' => array(\n            'sx' => null,\n            'sy' => null,\n            'kx' => null\n        ),\n        'blur' => null,\n        'direction' => null,\n        'distance' => null,\n        'algn' => null,\n        'rotWithShape' => null\n    );\n\n    private $glowProperties = array(\n        'size' => null,\n        'color' => array(\n            'type' => self::EXCEL_COLOR_TYPE_STANDARD,\n            'value' => 'black',\n            'alpha' => 40\n        )\n    );\n\n    private $softEdges = array(\n        'size' => null\n     );\n\n    /**\n     * Get Object State\n     *\n     * @return bool\n     */\n\n    public function getObjectState()\n    {\n        return $this->objectState;\n    }\n\n    /**\n     * Change Object State to True\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n\n    private function activateObject()\n    {\n        $this->objectState = true;\n\n        return $this;\n    }\n\n    /**\n     * Set Line Color Properties\n     *\n     * @param string $value\n     * @param int $alpha\n     * @param string $type\n     */\n\n    public function setLineColorProperties($value, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_STANDARD)\n    {\n        $this->activateObject()\n            ->lineProperties['color'] = $this->setColorProperties(\n                $value,\n                $alpha,\n                $type\n            );\n    }\n\n    /**\n     * Set Line Color Properties\n     *\n     * @param float $line_width\n     * @param string $compound_type\n     * @param string $dash_type\n     * @param string $cap_type\n     * @param string $join_type\n     * @param string $head_arrow_type\n     * @param string $head_arrow_size\n     * @param string $end_arrow_type\n     * @param string $end_arrow_size\n     */\n\n    public function setLineStyleProperties($line_width = null, $compound_type = null, $dash_type = null, $cap_type = null, $join_type = null, $head_arrow_type = null, $head_arrow_size = null, $end_arrow_type = null, $end_arrow_size = null)\n    {\n        $this->activateObject();\n        (!is_null($line_width))\n                ? $this->lineProperties['style']['width'] = $this->getExcelPointsWidth((float) $line_width)\n                : null;\n        (!is_null($compound_type))\n                ? $this->lineProperties['style']['compound'] = (string) $compound_type\n                : null;\n        (!is_null($dash_type))\n                ? $this->lineProperties['style']['dash'] = (string) $dash_type\n                : null;\n        (!is_null($cap_type))\n                ? $this->lineProperties['style']['cap'] = (string) $cap_type\n                : null;\n        (!is_null($join_type))\n                ? $this->lineProperties['style']['join'] = (string) $join_type\n                : null;\n        (!is_null($head_arrow_type))\n                ? $this->lineProperties['style']['arrow']['head']['type'] = (string) $head_arrow_type\n                : null;\n        (!is_null($head_arrow_size))\n                ? $this->lineProperties['style']['arrow']['head']['size'] = (string) $head_arrow_size\n                : null;\n        (!is_null($end_arrow_type))\n                ? $this->lineProperties['style']['arrow']['end']['type'] = (string) $end_arrow_type\n                : null;\n        (!is_null($end_arrow_size))\n                ? $this->lineProperties['style']['arrow']['end']['size'] = (string) $end_arrow_size\n                : null;\n    }\n\n    /**\n     * Get Line Color Property\n     *\n     * @param string $parameter\n     *\n     * @return string\n     */\n\n    public function getLineColorProperty($parameter)\n    {\n        return $this->lineProperties['color'][$parameter];\n    }\n\n    /**\n     * Get Line Style Property\n     *\n     * @param    array|string $elements\n     *\n     * @return string\n     */\n\n    public function getLineStyleProperty($elements)\n    {\n        return $this->getArrayElementsValue($this->lineProperties['style'], $elements);\n    }\n\n    /**\n     * Set Glow Properties\n     *\n     * @param    float $size\n     * @param    string $color_value\n     * @param    int $color_alpha\n     * @param    string $color_type\n     *\n     */\n\n    public function setGlowProperties($size, $color_value = null, $color_alpha = null, $color_type = null)\n    {\n        $this\n                ->activateObject()\n                ->setGlowSize($size)\n                ->setGlowColor($color_value, $color_alpha, $color_type);\n    }\n\n    /**\n     * Get Glow Color Property\n     *\n     * @param string $property\n     *\n     * @return string\n     */\n\n    public function getGlowColor($property)\n    {\n        return $this->glowProperties['color'][$property];\n    }\n\n    /**\n     * Get Glow Size\n     *\n     * @return string\n     */\n\n    public function getGlowSize()\n    {\n        return $this->glowProperties['size'];\n    }\n\n    /**\n     * Set Glow Size\n     *\n     * @param float $size\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n\n    private function setGlowSize($size)\n    {\n        $this->glowProperties['size'] = $this->getExcelPointsWidth((float) $size);\n\n        return $this;\n    }\n\n    /**\n     * Set Glow Color\n     *\n     * @param string $color\n     * @param int $alpha\n     * @param string $type\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n\n    private function setGlowColor($color, $alpha, $type)\n    {\n        if (!is_null($color)) {\n            $this->glowProperties['color']['value'] = (string) $color;\n        }\n        if (!is_null($alpha)) {\n            $this->glowProperties['color']['alpha'] = $this->getTrueAlpha((int) $alpha);\n        }\n        if (!is_null($type)) {\n            $this->glowProperties['color']['type'] = (string) $type;\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get Line Style Arrow Parameters\n     *\n     * @param string $arrow_selector\n     * @param string $property_selector\n     *\n     * @return string\n     */\n\n    public function getLineStyleArrowParameters($arrow_selector, $property_selector)\n    {\n        return $this->getLineStyleArrowSize($this->lineProperties['style']['arrow'][$arrow_selector]['size'], $property_selector);\n    }\n\n    /**\n     * Set Shadow Properties\n     *\n     * @param int $sh_presets\n     * @param string $sh_color_value\n     * @param string $sh_color_type\n     * @param int $sh_color_alpha\n     * @param string $sh_blur\n     * @param int $sh_angle\n     * @param float $sh_distance\n     *\n     */\n\n    public function setShadowProperties($sh_presets, $sh_color_value = null, $sh_color_type = null, $sh_color_alpha = null, $sh_blur = null, $sh_angle = null, $sh_distance = null)\n    {\n        $this->activateObject()\n            ->setShadowPresetsProperties((int) $sh_presets)\n            ->setShadowColor(\n                is_null($sh_color_value) ? $this->shadowProperties['color']['value'] : $sh_color_value,\n                is_null($sh_color_alpha) ? (int) $this->shadowProperties['color']['alpha'] : $this->getTrueAlpha($sh_color_alpha),\n                is_null($sh_color_type) ? $this->shadowProperties['color']['type'] : $sh_color_type\n            )\n            ->setShadowBlur($sh_blur)\n            ->setShadowAngle($sh_angle)\n            ->setShadowDistance($sh_distance);\n    }\n\n    /**\n     * Set Shadow Presets Properties\n     *\n     * @param int $shadow_presets\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n\n    private function setShadowPresetsProperties($shadow_presets)\n    {\n        $this->shadowProperties['presets'] = $shadow_presets;\n        $this->setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets));\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Properties Values\n     *\n     * @param array $properties_map\n     * @param * $reference\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n\n    private function setShadowProperiesMapValues(array $properties_map, &$reference = null)\n    {\n        $base_reference = $reference;\n        foreach ($properties_map as $property_key => $property_val) {\n            if (is_array($property_val)) {\n                if ($reference === null) {\n                    $reference = & $this->shadowProperties[$property_key];\n                } else {\n                    $reference = & $reference[$property_key];\n                }\n                $this->setShadowProperiesMapValues($property_val, $reference);\n            } else {\n                if ($base_reference === null) {\n                    $this->shadowProperties[$property_key] = $property_val;\n                } else {\n                    $reference[$property_key] = $property_val;\n                }\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Color\n     *\n     * @param string $color\n     * @param int $alpha\n     * @param string $type\n     * @return PHPExcel_Chart_GridLines\n     */\n    private function setShadowColor($color, $alpha, $type)\n    {\n        if (!is_null($color)) {\n            $this->shadowProperties['color']['value'] = (string) $color;\n        }\n        if (!is_null($alpha)) {\n            $this->shadowProperties['color']['alpha'] = $this->getTrueAlpha((int) $alpha);\n        }\n        if (!is_null($type)) {\n            $this->shadowProperties['color']['type'] = (string) $type;\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Blur\n     *\n     * @param float $blur\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n    private function setShadowBlur($blur)\n    {\n        if ($blur !== null) {\n            $this->shadowProperties['blur'] = (string) $this->getExcelPointsWidth($blur);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Angle\n     *\n     * @param int $angle\n     * @return PHPExcel_Chart_GridLines\n     */\n\n    private function setShadowAngle($angle)\n    {\n        if ($angle !== null) {\n            $this->shadowProperties['direction'] = (string) $this->getExcelPointsAngle($angle);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set Shadow Distance\n     *\n     * @param float $distance\n     * @return PHPExcel_Chart_GridLines\n     */\n    private function setShadowDistance($distance)\n    {\n        if ($distance !== null) {\n            $this->shadowProperties['distance'] = (string) $this->getExcelPointsWidth($distance);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get Shadow Property\n     *\n     * @param string $elements\n     * @param array $elements\n     * @return string\n     */\n    public function getShadowProperty($elements)\n    {\n        return $this->getArrayElementsValue($this->shadowProperties, $elements);\n    }\n\n    /**\n     * Set Soft Edges Size\n     *\n     * @param float $size\n     */\n    public function setSoftEdgesSize($size)\n    {\n        if (!is_null($size)) {\n            $this->activateObject();\n            $softEdges['size'] = (string) $this->getExcelPointsWidth($size);\n        }\n    }\n\n    /**\n     * Get Soft Edges Size\n     *\n     * @return string\n     */\n    public function getSoftEdgesSize()\n    {\n        return $this->softEdges['size'];\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Layout.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Chart_Layout\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Chart_Layout\n{\n    /**\n     * layoutTarget\n     *\n     * @var string\n     */\n    private $layoutTarget;\n\n    /**\n     * X Mode\n     *\n     * @var string\n     */\n    private $xMode;\n\n    /**\n     * Y Mode\n     *\n     * @var string\n     */\n    private $yMode;\n\n    /**\n     * X-Position\n     *\n     * @var float\n     */\n    private $xPos;\n\n    /**\n     * Y-Position\n     *\n     * @var float\n     */\n    private $yPos;\n\n    /**\n     * width\n     *\n     * @var float\n     */\n    private $width;\n\n    /**\n     * height\n     *\n     * @var float\n     */\n    private $height;\n\n    /**\n     * show legend key\n     * Specifies that legend keys should be shown in data labels\n     *\n     * @var boolean\n     */\n    private $showLegendKey;\n\n    /**\n     * show value\n     * Specifies that the value should be shown in a data label.\n     *\n     * @var boolean\n     */\n    private $showVal;\n\n    /**\n     * show category name\n     * Specifies that the category name should be shown in the data label.\n     *\n     * @var boolean\n     */\n    private $showCatName;\n\n    /**\n     * show data series name\n     * Specifies that the series name should be shown in the data label.\n     *\n     * @var boolean\n     */\n    private $showSerName;\n\n    /**\n     * show percentage\n     * Specifies that the percentage should be shown in the data label.\n     *\n     * @var boolean\n     */\n    private $showPercent;\n\n    /**\n     * show bubble size\n     *\n     * @var boolean\n     */\n    private $showBubbleSize;\n\n    /**\n     * show leader lines\n     * Specifies that leader lines should be shown for the data label.\n     *\n     * @var boolean\n     */\n    private $showLeaderLines;\n\n\n    /**\n     * Create a new PHPExcel_Chart_Layout\n     */\n    public function __construct($layout = array())\n    {\n        if (isset($layout['layoutTarget'])) {\n            $this->layoutTarget = $layout['layoutTarget'];\n        }\n        if (isset($layout['xMode'])) {\n            $this->xMode = $layout['xMode'];\n        }\n        if (isset($layout['yMode'])) {\n            $this->yMode = $layout['yMode'];\n        }\n        if (isset($layout['x'])) {\n            $this->xPos = (float) $layout['x'];\n        }\n        if (isset($layout['y'])) {\n            $this->yPos = (float) $layout['y'];\n        }\n        if (isset($layout['w'])) {\n            $this->width = (float) $layout['w'];\n        }\n        if (isset($layout['h'])) {\n            $this->height = (float) $layout['h'];\n        }\n    }\n\n    /**\n     * Get Layout Target\n     *\n     * @return string\n     */\n    public function getLayoutTarget()\n    {\n        return $this->layoutTarget;\n    }\n\n    /**\n     * Set Layout Target\n     *\n     * @param Layout Target $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setLayoutTarget($value)\n    {\n        $this->layoutTarget = $value;\n        return $this;\n    }\n\n    /**\n     * Get X-Mode\n     *\n     * @return string\n     */\n    public function getXMode()\n    {\n        return $this->xMode;\n    }\n\n    /**\n     * Set X-Mode\n     *\n     * @param X-Mode $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setXMode($value)\n    {\n        $this->xMode = $value;\n        return $this;\n    }\n\n    /**\n     * Get Y-Mode\n     *\n     * @return string\n     */\n    public function getYMode()\n    {\n        return $this->yMode;\n    }\n\n    /**\n     * Set Y-Mode\n     *\n     * @param Y-Mode $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setYMode($value)\n    {\n        $this->yMode = $value;\n        return $this;\n    }\n\n    /**\n     * Get X-Position\n     *\n     * @return number\n     */\n    public function getXPosition()\n    {\n        return $this->xPos;\n    }\n\n    /**\n     * Set X-Position\n     *\n     * @param X-Position $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setXPosition($value)\n    {\n        $this->xPos = $value;\n        return $this;\n    }\n\n    /**\n     * Get Y-Position\n     *\n     * @return number\n     */\n    public function getYPosition()\n    {\n        return $this->yPos;\n    }\n\n    /**\n     * Set Y-Position\n     *\n     * @param Y-Position $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setYPosition($value)\n    {\n        $this->yPos = $value;\n        return $this;\n    }\n\n    /**\n     * Get Width\n     *\n     * @return number\n     */\n    public function getWidth()\n    {\n        return $this->width;\n    }\n\n    /**\n     * Set Width\n     *\n     * @param Width $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setWidth($value)\n    {\n        $this->width = $value;\n        return $this;\n    }\n\n    /**\n     * Get Height\n     *\n     * @return number\n     */\n    public function getHeight()\n    {\n        return $this->height;\n    }\n\n    /**\n     * Set Height\n     *\n     * @param Height $value\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setHeight($value)\n    {\n        $this->height = $value;\n        return $this;\n    }\n\n\n    /**\n     * Get show legend key\n     *\n     * @return boolean\n     */\n    public function getShowLegendKey()\n    {\n        return $this->showLegendKey;\n    }\n\n    /**\n     * Set show legend key\n     * Specifies that legend keys should be shown in data labels.\n     *\n     * @param boolean $value        Show legend key\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowLegendKey($value)\n    {\n        $this->showLegendKey = $value;\n        return $this;\n    }\n\n    /**\n     * Get show value\n     *\n     * @return boolean\n     */\n    public function getShowVal()\n    {\n        return $this->showVal;\n    }\n\n    /**\n     * Set show val\n     * Specifies that the value should be shown in data labels.\n     *\n     * @param boolean $value        Show val\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowVal($value)\n    {\n        $this->showVal = $value;\n        return $this;\n    }\n\n    /**\n     * Get show category name\n     *\n     * @return boolean\n     */\n    public function getShowCatName()\n    {\n        return $this->showCatName;\n    }\n\n    /**\n     * Set show cat name\n     * Specifies that the category name should be shown in data labels.\n     *\n     * @param boolean $value        Show cat name\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowCatName($value)\n    {\n        $this->showCatName = $value;\n        return $this;\n    }\n\n    /**\n     * Get show data series name\n     *\n     * @return boolean\n     */\n    public function getShowSerName()\n    {\n        return $this->showSerName;\n    }\n\n    /**\n     * Set show ser name\n     * Specifies that the series name should be shown in data labels.\n     *\n     * @param boolean $value        Show series name\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowSerName($value)\n    {\n        $this->showSerName = $value;\n        return $this;\n    }\n\n    /**\n     * Get show percentage\n     *\n     * @return boolean\n     */\n    public function getShowPercent()\n    {\n        return $this->showPercent;\n    }\n\n    /**\n     * Set show percentage\n     * Specifies that the percentage should be shown in data labels.\n     *\n     * @param boolean $value        Show percentage\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowPercent($value)\n    {\n        $this->showPercent = $value;\n        return $this;\n    }\n\n    /**\n     * Get show bubble size\n     *\n     * @return boolean\n     */\n    public function getShowBubbleSize()\n    {\n        return $this->showBubbleSize;\n    }\n\n    /**\n     * Set show bubble size\n     * Specifies that the bubble size should be shown in data labels.\n     *\n     * @param boolean $value        Show bubble size\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowBubbleSize($value)\n    {\n        $this->showBubbleSize = $value;\n        return $this;\n    }\n\n    /**\n     * Get show leader lines\n     *\n     * @return boolean\n     */\n    public function getShowLeaderLines()\n    {\n        return $this->showLeaderLines;\n    }\n\n    /**\n     * Set show leader lines\n     * Specifies that leader lines should be shown in data labels.\n     *\n     * @param boolean $value        Show leader lines\n     * @return PHPExcel_Chart_Layout\n     */\n    public function setShowLeaderLines($value)\n    {\n        $this->showLeaderLines = $value;\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Legend.php",
    "content": "<?php\n\n/**\n * PHPExcel_Chart_Legend\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart_Legend\n{\n    /** Legend positions */\n    const xlLegendPositionBottom = -4107;    //    Below the chart.\n    const xlLegendPositionCorner = 2;        //    In the upper right-hand corner of the chart border.\n    const xlLegendPositionCustom = -4161;    //    A custom position.\n    const xlLegendPositionLeft   = -4131;    //    Left of the chart.\n    const xlLegendPositionRight  = -4152;    //    Right of the chart.\n    const xlLegendPositionTop    = -4160;    //    Above the chart.\n\n    const POSITION_RIGHT    = 'r';\n    const POSITION_LEFT     = 'l';\n    const POSITION_BOTTOM   = 'b';\n    const POSITION_TOP      = 't';\n    const POSITION_TOPRIGHT = 'tr';\n\n    private static $positionXLref = array(\n        self::xlLegendPositionBottom => self::POSITION_BOTTOM,\n        self::xlLegendPositionCorner => self::POSITION_TOPRIGHT,\n        self::xlLegendPositionCustom => '??',\n        self::xlLegendPositionLeft   => self::POSITION_LEFT,\n        self::xlLegendPositionRight  => self::POSITION_RIGHT,\n        self::xlLegendPositionTop    => self::POSITION_TOP\n    );\n\n    /**\n     * Legend position\n     *\n     * @var    string\n     */\n    private $position = self::POSITION_RIGHT;\n\n    /**\n     * Allow overlay of other elements?\n     *\n     * @var    boolean\n     */\n    private $overlay = true;\n\n    /**\n     * Legend Layout\n     *\n     * @var    PHPExcel_Chart_Layout\n     */\n    private $layout = null;\n\n\n    /**\n     *    Create a new PHPExcel_Chart_Legend\n     */\n    public function __construct($position = self::POSITION_RIGHT, PHPExcel_Chart_Layout $layout = null, $overlay = false)\n    {\n        $this->setPosition($position);\n        $this->layout = $layout;\n        $this->setOverlay($overlay);\n    }\n\n    /**\n     * Get legend position as an excel string value\n     *\n     * @return    string\n     */\n    public function getPosition()\n    {\n        return $this->position;\n    }\n\n    /**\n     * Get legend position using an excel string value\n     *\n     * @param    string    $position\n     */\n    public function setPosition($position = self::POSITION_RIGHT)\n    {\n        if (!in_array($position, self::$positionXLref)) {\n            return false;\n        }\n\n        $this->position = $position;\n        return true;\n    }\n\n    /**\n     * Get legend position as an Excel internal numeric value\n     *\n     * @return    number\n     */\n    public function getPositionXL()\n    {\n        return array_search($this->position, self::$positionXLref);\n    }\n\n    /**\n     * Set legend position using an Excel internal numeric value\n     *\n     * @param    number    $positionXL\n     */\n    public function setPositionXL($positionXL = self::xlLegendPositionRight)\n    {\n        if (!array_key_exists($positionXL, self::$positionXLref)) {\n            return false;\n        }\n\n        $this->position = self::$positionXLref[$positionXL];\n        return true;\n    }\n\n    /**\n     * Get allow overlay of other elements?\n     *\n     * @return    boolean\n     */\n    public function getOverlay()\n    {\n        return $this->overlay;\n    }\n\n    /**\n     * Set allow overlay of other elements?\n     *\n     * @param    boolean    $overlay\n     * @return    boolean\n     */\n    public function setOverlay($overlay = false)\n    {\n        if (!is_bool($overlay)) {\n            return false;\n        }\n\n        $this->overlay = $overlay;\n        return true;\n    }\n\n    /**\n     * Get Layout\n     *\n     * @return PHPExcel_Chart_Layout\n     */\n    public function getLayout()\n    {\n        return $this->layout;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/PlotArea.php",
    "content": "<?php\n\n/**\n * PHPExcel_Chart_PlotArea\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart_PlotArea\n{\n    /**\n     * PlotArea Layout\n     *\n     * @var PHPExcel_Chart_Layout\n     */\n    private $layout = null;\n\n    /**\n     * Plot Series\n     *\n     * @var array of PHPExcel_Chart_DataSeries\n     */\n    private $plotSeries = array();\n\n    /**\n     * Create a new PHPExcel_Chart_PlotArea\n     */\n    public function __construct(PHPExcel_Chart_Layout $layout = null, $plotSeries = array())\n    {\n        $this->layout = $layout;\n        $this->plotSeries = $plotSeries;\n    }\n\n    /**\n     * Get Layout\n     *\n     * @return PHPExcel_Chart_Layout\n     */\n    public function getLayout()\n    {\n        return $this->layout;\n    }\n\n    /**\n     * Get Number of Plot Groups\n     *\n     * @return array of PHPExcel_Chart_DataSeries\n     */\n    public function getPlotGroupCount()\n    {\n        return count($this->plotSeries);\n    }\n\n    /**\n     * Get Number of Plot Series\n     *\n     * @return integer\n     */\n    public function getPlotSeriesCount()\n    {\n        $seriesCount = 0;\n        foreach ($this->plotSeries as $plot) {\n            $seriesCount += $plot->getPlotSeriesCount();\n        }\n        return $seriesCount;\n    }\n\n    /**\n     * Get Plot Series\n     *\n     * @return array of PHPExcel_Chart_DataSeries\n     */\n    public function getPlotGroup()\n    {\n        return $this->plotSeries;\n    }\n\n    /**\n     * Get Plot Series by Index\n     *\n     * @return PHPExcel_Chart_DataSeries\n     */\n    public function getPlotGroupByIndex($index)\n    {\n        return $this->plotSeries[$index];\n    }\n\n    /**\n     * Set Plot Series\n     *\n     * @param [PHPExcel_Chart_DataSeries]\n     * @return PHPExcel_Chart_PlotArea\n     */\n    public function setPlotSeries($plotSeries = array())\n    {\n        $this->plotSeries = $plotSeries;\n        \n        return $this;\n    }\n\n    public function refresh(PHPExcel_Worksheet $worksheet)\n    {\n        foreach ($this->plotSeries as $plotSeries) {\n            $plotSeries->refresh($worksheet);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Properties.php",
    "content": "<?php\n/**\n * Created by PhpStorm.\n * User: nhw2h8s\n * Date: 7/2/14\n * Time: 5:45 PM\n */\n\nabstract class PHPExcel_Chart_Properties\n{\n    const\n        EXCEL_COLOR_TYPE_STANDARD = 'prstClr',\n        EXCEL_COLOR_TYPE_SCHEME = 'schemeClr',\n        EXCEL_COLOR_TYPE_ARGB = 'srgbClr';\n\n    const\n        AXIS_LABELS_LOW = 'low',\n        AXIS_LABELS_HIGH = 'high',\n        AXIS_LABELS_NEXT_TO = 'nextTo',\n        AXIS_LABELS_NONE = 'none';\n\n    const\n        TICK_MARK_NONE = 'none',\n        TICK_MARK_INSIDE = 'in',\n        TICK_MARK_OUTSIDE = 'out',\n        TICK_MARK_CROSS = 'cross';\n\n    const\n        HORIZONTAL_CROSSES_AUTOZERO = 'autoZero',\n        HORIZONTAL_CROSSES_MAXIMUM = 'max';\n\n    const\n        FORMAT_CODE_GENERAL = 'General',\n        FORMAT_CODE_NUMBER = '#,##0.00',\n        FORMAT_CODE_CURRENCY = '$#,##0.00',\n        FORMAT_CODE_ACCOUNTING = '_($* #,##0.00_);_($* (#,##0.00);_($* \"-\"??_);_(@_)',\n        FORMAT_CODE_DATE = 'm/d/yyyy',\n        FORMAT_CODE_TIME = '[$-F400]h:mm:ss AM/PM',\n        FORMAT_CODE_PERCENTAGE = '0.00%',\n        FORMAT_CODE_FRACTION = '# ?/?',\n        FORMAT_CODE_SCIENTIFIC = '0.00E+00',\n        FORMAT_CODE_TEXT = '@',\n        FORMAT_CODE_SPECIAL = '00000';\n\n    const\n        ORIENTATION_NORMAL = 'minMax',\n        ORIENTATION_REVERSED = 'maxMin';\n\n    const\n        LINE_STYLE_COMPOUND_SIMPLE = 'sng',\n        LINE_STYLE_COMPOUND_DOUBLE = 'dbl',\n        LINE_STYLE_COMPOUND_THICKTHIN = 'thickThin',\n        LINE_STYLE_COMPOUND_THINTHICK = 'thinThick',\n        LINE_STYLE_COMPOUND_TRIPLE = 'tri',\n\n        LINE_STYLE_DASH_SOLID = 'solid',\n        LINE_STYLE_DASH_ROUND_DOT = 'sysDot',\n        LINE_STYLE_DASH_SQUERE_DOT = 'sysDash',\n        LINE_STYPE_DASH_DASH = 'dash',\n        LINE_STYLE_DASH_DASH_DOT = 'dashDot',\n        LINE_STYLE_DASH_LONG_DASH = 'lgDash',\n        LINE_STYLE_DASH_LONG_DASH_DOT = 'lgDashDot',\n        LINE_STYLE_DASH_LONG_DASH_DOT_DOT = 'lgDashDotDot',\n\n        LINE_STYLE_CAP_SQUARE = 'sq',\n        LINE_STYLE_CAP_ROUND = 'rnd',\n        LINE_STYLE_CAP_FLAT = 'flat',\n\n        LINE_STYLE_JOIN_ROUND = 'bevel',\n        LINE_STYLE_JOIN_MITER = 'miter',\n        LINE_STYLE_JOIN_BEVEL = 'bevel',\n\n        LINE_STYLE_ARROW_TYPE_NOARROW = null,\n        LINE_STYLE_ARROW_TYPE_ARROW = 'triangle',\n        LINE_STYLE_ARROW_TYPE_OPEN = 'arrow',\n        LINE_STYLE_ARROW_TYPE_STEALTH = 'stealth',\n        LINE_STYLE_ARROW_TYPE_DIAMOND = 'diamond',\n        LINE_STYLE_ARROW_TYPE_OVAL = 'oval',\n\n        LINE_STYLE_ARROW_SIZE_1 = 1,\n        LINE_STYLE_ARROW_SIZE_2 = 2,\n        LINE_STYLE_ARROW_SIZE_3 = 3,\n        LINE_STYLE_ARROW_SIZE_4 = 4,\n        LINE_STYLE_ARROW_SIZE_5 = 5,\n        LINE_STYLE_ARROW_SIZE_6 = 6,\n        LINE_STYLE_ARROW_SIZE_7 = 7,\n        LINE_STYLE_ARROW_SIZE_8 = 8,\n        LINE_STYLE_ARROW_SIZE_9 = 9;\n\n    const\n        SHADOW_PRESETS_NOSHADOW = null,\n        SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT = 1,\n        SHADOW_PRESETS_OUTER_BOTTOM = 2,\n        SHADOW_PRESETS_OUTER_BOTTOM_LEFT = 3,\n        SHADOW_PRESETS_OUTER_RIGHT = 4,\n        SHADOW_PRESETS_OUTER_CENTER = 5,\n        SHADOW_PRESETS_OUTER_LEFT = 6,\n        SHADOW_PRESETS_OUTER_TOP_RIGHT = 7,\n        SHADOW_PRESETS_OUTER_TOP = 8,\n        SHADOW_PRESETS_OUTER_TOP_LEFT = 9,\n        SHADOW_PRESETS_INNER_BOTTTOM_RIGHT = 10,\n        SHADOW_PRESETS_INNER_BOTTOM = 11,\n        SHADOW_PRESETS_INNER_BOTTOM_LEFT = 12,\n        SHADOW_PRESETS_INNER_RIGHT = 13,\n        SHADOW_PRESETS_INNER_CENTER = 14,\n        SHADOW_PRESETS_INNER_LEFT = 15,\n        SHADOW_PRESETS_INNER_TOP_RIGHT = 16,\n        SHADOW_PRESETS_INNER_TOP = 17,\n        SHADOW_PRESETS_INNER_TOP_LEFT = 18,\n        SHADOW_PRESETS_PERSPECTIVE_BELOW = 19,\n        SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT = 20,\n        SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT = 21,\n        SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT = 22,\n        SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT = 23;\n\n    protected function getExcelPointsWidth($width)\n    {\n        return $width * 12700;\n    }\n\n    protected function getExcelPointsAngle($angle)\n    {\n        return $angle * 60000;\n    }\n\n    protected function getTrueAlpha($alpha)\n    {\n        return (string) 100 - $alpha . '000';\n    }\n\n    protected function setColorProperties($color, $alpha, $type)\n    {\n        return array(\n            'type' => (string) $type,\n            'value' => (string) $color,\n            'alpha' => (string) $this->getTrueAlpha($alpha)\n        );\n    }\n\n    protected function getLineStyleArrowSize($array_selector, $array_kay_selector)\n    {\n        $sizes = array(\n            1 => array('w' => 'sm', 'len' => 'sm'),\n            2 => array('w' => 'sm', 'len' => 'med'),\n            3 => array('w' => 'sm', 'len' => 'lg'),\n            4 => array('w' => 'med', 'len' => 'sm'),\n            5 => array('w' => 'med', 'len' => 'med'),\n            6 => array('w' => 'med', 'len' => 'lg'),\n            7 => array('w' => 'lg', 'len' => 'sm'),\n            8 => array('w' => 'lg', 'len' => 'med'),\n            9 => array('w' => 'lg', 'len' => 'lg')\n        );\n\n        return $sizes[$array_selector][$array_kay_selector];\n    }\n\n    protected function getShadowPresetsMap($shadow_presets_option)\n    {\n        $presets_options = array(\n            //OUTER\n            1 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '2700000',\n                'algn' => 'tl',\n                'rotWithShape' => '0'\n            ),\n            2 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '5400000',\n                'algn' => 't',\n                'rotWithShape' => '0'\n            ),\n            3 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '8100000',\n                'algn' => 'tr',\n                'rotWithShape' => '0'\n            ),\n            4 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'algn' => 'l',\n                'rotWithShape' => '0'\n            ),\n            5 => array(\n                'effect' => 'outerShdw',\n                'size' => array(\n                    'sx' => '102000',\n                    'sy' => '102000'\n                )\n                ,\n                'blur' => '63500',\n                'distance' => '38100',\n                'algn' => 'ctr',\n                'rotWithShape' => '0'\n            ),\n            6 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '10800000',\n                'algn' => 'r',\n                'rotWithShape' => '0'\n            ),\n            7 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '18900000',\n                'algn' => 'bl',\n                'rotWithShape' => '0'\n            ),\n            8 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '16200000',\n                'rotWithShape' => '0'\n            ),\n            9 => array(\n                'effect' => 'outerShdw',\n                'blur' => '50800',\n                'distance' => '38100',\n                'direction' => '13500000',\n                'algn' => 'br',\n                'rotWithShape' => '0'\n            ),\n            //INNER\n            10 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '2700000',\n            ),\n            11 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '5400000',\n            ),\n            12 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '8100000',\n            ),\n            13 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n            ),\n            14 => array(\n                'effect' => 'innerShdw',\n                'blur' => '114300',\n            ),\n            15 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '10800000',\n            ),\n            16 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '18900000',\n            ),\n            17 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '16200000',\n            ),\n            18 => array(\n                'effect' => 'innerShdw',\n                'blur' => '63500',\n                'distance' => '50800',\n                'direction' => '13500000',\n            ),\n            //perspective\n            19 => array(\n                'effect' => 'outerShdw',\n                'blur' => '152400',\n                'distance' => '317500',\n                'size' => array(\n                    'sx' => '90000',\n                    'sy' => '-19000',\n                ),\n                'direction' => '5400000',\n                'rotWithShape' => '0',\n            ),\n            20 => array(\n                'effect' => 'outerShdw',\n                'blur' => '76200',\n                'direction' => '18900000',\n                'size' => array(\n                    'sy' => '23000',\n                    'kx' => '-1200000',\n                ),\n                'algn' => 'bl',\n                'rotWithShape' => '0',\n            ),\n            21 => array(\n                'effect' => 'outerShdw',\n                'blur' => '76200',\n                'direction' => '13500000',\n                'size' => array(\n                    'sy' => '23000',\n                    'kx' => '1200000',\n                ),\n                'algn' => 'br',\n                'rotWithShape' => '0',\n            ),\n            22 => array(\n                'effect' => 'outerShdw',\n                'blur' => '76200',\n                'distance' => '12700',\n                'direction' => '2700000',\n                'size' => array(\n                    'sy' => '-23000',\n                    'kx' => '-800400',\n                ),\n                'algn' => 'bl',\n                'rotWithShape' => '0',\n            ),\n            23 => array(\n                'effect' => 'outerShdw',\n                'blur' => '76200',\n                'distance' => '12700',\n                'direction' => '8100000',\n                'size' => array(\n                    'sy' => '-23000',\n                    'kx' => '800400',\n                ),\n                'algn' => 'br',\n                'rotWithShape' => '0',\n            ),\n        );\n\n        return $presets_options[$shadow_presets_option];\n    }\n\n    protected function getArrayElementsValue($properties, $elements)\n    {\n        $reference = & $properties;\n        if (!is_array($elements)) {\n            return $reference[$elements];\n        } else {\n            foreach ($elements as $keys) {\n                $reference = & $reference[$keys];\n            }\n            return $reference;\n        }\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt",
    "content": "ChartDirector\r\n\thttp://www.advsofteng.com/cdphp.html\r\n\r\nGraPHPite\r\n\thttp://graphpite.sourceforge.net/\r\n\r\nJpGraph\r\n\thttp://www.aditus.nu/jpgraph/\r\n\r\nLibChart\r\n\thttp://naku.dohcrew.com/libchart/pages/introduction/\r\n\r\npChart\r\n\thttp://pchart.sourceforge.net/\r\n\r\nTeeChart\r\n\thttp://www.steema.com/products/teechart/overview.html\r\n\r\nPHPGraphLib\r\n    http://www.ebrueggeman.com/phpgraphlib"
  },
  {
    "path": "Classes/PHPExcel/Chart/Renderer/jpgraph.php",
    "content": "<?php\n\nrequire_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');\n\n/**\n * PHPExcel_Chart_Renderer_jpgraph\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart_Renderer\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart_Renderer_jpgraph\n{\n    private static $width    = 640;\n\n    private static $height    = 480;\n\n    private static $colourSet = array(\n        'mediumpurple1',    'palegreen3',     'gold1',          'cadetblue1',\n        'darkmagenta',      'coral',          'dodgerblue3',    'eggplant',\n        'mediumblue',       'magenta',        'sandybrown',     'cyan',\n        'firebrick1',       'forestgreen',    'deeppink4',      'darkolivegreen',\n        'goldenrod2'\n    );\n\n    private static $markSet = array(\n        'diamond'  => MARK_DIAMOND,\n        'square'   => MARK_SQUARE,\n        'triangle' => MARK_UTRIANGLE,\n        'x'        => MARK_X,\n        'star'     => MARK_STAR,\n        'dot'      => MARK_FILLEDCIRCLE,\n        'dash'     => MARK_DTRIANGLE,\n        'circle'   => MARK_CIRCLE,\n        'plus'     => MARK_CROSS\n    );\n\n\n    private $chart;\n\n    private $graph;\n\n    private static $plotColour = 0;\n\n    private static $plotMark = 0;\n\n\n    private function formatPointMarker($seriesPlot, $markerID)\n    {\n        $plotMarkKeys = array_keys(self::$markSet);\n        if (is_null($markerID)) {\n            //    Use default plot marker (next marker in the series)\n            self::$plotMark %= count(self::$markSet);\n            $seriesPlot->mark->SetType(self::$markSet[$plotMarkKeys[self::$plotMark++]]);\n        } elseif ($markerID !== 'none') {\n            //    Use specified plot marker (if it exists)\n            if (isset(self::$markSet[$markerID])) {\n                $seriesPlot->mark->SetType(self::$markSet[$markerID]);\n            } else {\n                //    If the specified plot marker doesn't exist, use default plot marker (next marker in the series)\n                self::$plotMark %= count(self::$markSet);\n                $seriesPlot->mark->SetType(self::$markSet[$plotMarkKeys[self::$plotMark++]]);\n            }\n        } else {\n            //    Hide plot marker\n            $seriesPlot->mark->Hide();\n        }\n        $seriesPlot->mark->SetColor(self::$colourSet[self::$plotColour]);\n        $seriesPlot->mark->SetFillColor(self::$colourSet[self::$plotColour]);\n        $seriesPlot->SetColor(self::$colourSet[self::$plotColour++]);\n\n        return $seriesPlot;\n    }\n\n\n    private function formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation = '')\n    {\n        $datasetLabelFormatCode = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getFormatCode();\n        if (!is_null($datasetLabelFormatCode)) {\n            //    Retrieve any label formatting code\n            $datasetLabelFormatCode = stripslashes($datasetLabelFormatCode);\n        }\n\n        $testCurrentIndex = 0;\n        foreach ($datasetLabels as $i => $datasetLabel) {\n            if (is_array($datasetLabel)) {\n                if ($rotation == 'bar') {\n                    $datasetLabels[$i] = implode(\" \", $datasetLabel);\n                } else {\n                    $datasetLabel = array_reverse($datasetLabel);\n                    $datasetLabels[$i] = implode(\"\\n\", $datasetLabel);\n                }\n            } else {\n                //    Format labels according to any formatting code\n                if (!is_null($datasetLabelFormatCode)) {\n                    $datasetLabels[$i] = PHPExcel_Style_NumberFormat::toFormattedString($datasetLabel, $datasetLabelFormatCode);\n                }\n            }\n            ++$testCurrentIndex;\n        }\n\n        return $datasetLabels;\n    }\n\n\n    private function percentageSumCalculation($groupID, $seriesCount)\n    {\n        //    Adjust our values to a percentage value across all series in the group\n        for ($i = 0; $i < $seriesCount; ++$i) {\n            if ($i == 0) {\n                $sumValues = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues();\n            } else {\n                $nextValues = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues();\n                foreach ($nextValues as $k => $value) {\n                    if (isset($sumValues[$k])) {\n                        $sumValues[$k] += $value;\n                    } else {\n                        $sumValues[$k] = $value;\n                    }\n                }\n            }\n        }\n\n        return $sumValues;\n    }\n\n\n    private function percentageAdjustValues($dataValues, $sumValues)\n    {\n        foreach ($dataValues as $k => $dataValue) {\n            $dataValues[$k] = $dataValue / $sumValues[$k] * 100;\n        }\n\n        return $dataValues;\n    }\n\n\n    private function getCaption($captionElement)\n    {\n        //    Read any caption\n        $caption = (!is_null($captionElement)) ? $captionElement->getCaption() : null;\n        //    Test if we have a title caption to display\n        if (!is_null($caption)) {\n            //    If we do, it could be a plain string or an array\n            if (is_array($caption)) {\n                //    Implode an array to a plain string\n                $caption = implode('', $caption);\n            }\n        }\n        return $caption;\n    }\n\n\n    private function renderTitle()\n    {\n        $title = $this->getCaption($this->chart->getTitle());\n        if (!is_null($title)) {\n            $this->graph->title->Set($title);\n        }\n    }\n\n\n    private function renderLegend()\n    {\n        $legend = $this->chart->getLegend();\n        if (!is_null($legend)) {\n            $legendPosition = $legend->getPosition();\n            $legendOverlay = $legend->getOverlay();\n            switch ($legendPosition) {\n                case 'r':\n                    $this->graph->legend->SetPos(0.01, 0.5, 'right', 'center');    //    right\n                    $this->graph->legend->SetColumns(1);\n                    break;\n                case 'l':\n                    $this->graph->legend->SetPos(0.01, 0.5, 'left', 'center');    //    left\n                    $this->graph->legend->SetColumns(1);\n                    break;\n                case 't':\n                    $this->graph->legend->SetPos(0.5, 0.01, 'center', 'top');    //    top\n                    break;\n                case 'b':\n                    $this->graph->legend->SetPos(0.5, 0.99, 'center', 'bottom');    //    bottom\n                    break;\n                default:\n                    $this->graph->legend->SetPos(0.01, 0.01, 'right', 'top');    //    top-right\n                    $this->graph->legend->SetColumns(1);\n                    break;\n            }\n        } else {\n            $this->graph->legend->Hide();\n        }\n    }\n\n\n    private function renderCartesianPlotArea($type = 'textlin')\n    {\n        $this->graph = new Graph(self::$width, self::$height);\n        $this->graph->SetScale($type);\n\n        $this->renderTitle();\n\n        //    Rotate for bar rather than column chart\n        $rotation = $this->chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotDirection();\n        $reverse = ($rotation == 'bar') ? true : false;\n\n        $xAxisLabel = $this->chart->getXAxisLabel();\n        if (!is_null($xAxisLabel)) {\n            $title = $this->getCaption($xAxisLabel);\n            if (!is_null($title)) {\n                $this->graph->xaxis->SetTitle($title, 'center');\n                $this->graph->xaxis->title->SetMargin(35);\n                if ($reverse) {\n                    $this->graph->xaxis->title->SetAngle(90);\n                    $this->graph->xaxis->title->SetMargin(90);\n                }\n            }\n        }\n\n        $yAxisLabel = $this->chart->getYAxisLabel();\n        if (!is_null($yAxisLabel)) {\n            $title = $this->getCaption($yAxisLabel);\n            if (!is_null($title)) {\n                $this->graph->yaxis->SetTitle($title, 'center');\n                if ($reverse) {\n                    $this->graph->yaxis->title->SetAngle(0);\n                    $this->graph->yaxis->title->SetMargin(-55);\n                }\n            }\n        }\n    }\n\n\n    private function renderPiePlotArea($doughnut = false)\n    {\n        $this->graph = new PieGraph(self::$width, self::$height);\n\n        $this->renderTitle();\n    }\n\n\n    private function renderRadarPlotArea()\n    {\n        $this->graph = new RadarGraph(self::$width, self::$height);\n        $this->graph->SetScale('lin');\n\n        $this->renderTitle();\n    }\n\n\n    private function renderPlotLine($groupID, $filled = false, $combination = false, $dimensions = '2d')\n    {\n        $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping();\n\n        $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount());\n        if ($labelCount > 0) {\n            $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues();\n            $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount);\n            $this->graph->xaxis->SetTickLabels($datasetLabels);\n        }\n\n        $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n        $seriesPlots = array();\n        if ($grouping == 'percentStacked') {\n            $sumValues = $this->percentageSumCalculation($groupID, $seriesCount);\n        }\n\n        //    Loop through each data series in turn\n        for ($i = 0; $i < $seriesCount; ++$i) {\n            $dataValues = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues();\n            $marker = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker();\n\n            if ($grouping == 'percentStacked') {\n                $dataValues = $this->percentageAdjustValues($dataValues, $sumValues);\n            }\n\n            //    Fill in any missing values in the $dataValues array\n            $testCurrentIndex = 0;\n            foreach ($dataValues as $k => $dataValue) {\n                while ($k != $testCurrentIndex) {\n                    $dataValues[$testCurrentIndex] = null;\n                    ++$testCurrentIndex;\n                }\n                ++$testCurrentIndex;\n            }\n\n            $seriesPlot = new LinePlot($dataValues);\n            if ($combination) {\n                $seriesPlot->SetBarCenter();\n            }\n\n            if ($filled) {\n                $seriesPlot->SetFilled(true);\n                $seriesPlot->SetColor('black');\n                $seriesPlot->SetFillColor(self::$colourSet[self::$plotColour++]);\n            } else {\n                //    Set the appropriate plot marker\n                $this->formatPointMarker($seriesPlot, $marker);\n            }\n            $dataLabel = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue();\n            $seriesPlot->SetLegend($dataLabel);\n\n            $seriesPlots[] = $seriesPlot;\n        }\n\n        if ($grouping == 'standard') {\n            $groupPlot = $seriesPlots;\n        } else {\n            $groupPlot = new AccLinePlot($seriesPlots);\n        }\n        $this->graph->Add($groupPlot);\n    }\n\n\n    private function renderPlotBar($groupID, $dimensions = '2d')\n    {\n        $rotation = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotDirection();\n        //    Rotate for bar rather than column chart\n        if (($groupID == 0) && ($rotation == 'bar')) {\n            $this->graph->Set90AndMargin();\n        }\n        $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping();\n\n        $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount());\n        if ($labelCount > 0) {\n            $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues();\n            $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation);\n            //    Rotate for bar rather than column chart\n            if ($rotation == 'bar') {\n                $datasetLabels = array_reverse($datasetLabels);\n                $this->graph->yaxis->SetPos('max');\n                $this->graph->yaxis->SetLabelAlign('center', 'top');\n                $this->graph->yaxis->SetLabelSide(SIDE_RIGHT);\n            }\n            $this->graph->xaxis->SetTickLabels($datasetLabels);\n        }\n\n\n        $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n        $seriesPlots = array();\n        if ($grouping == 'percentStacked') {\n            $sumValues = $this->percentageSumCalculation($groupID, $seriesCount);\n        }\n\n        //    Loop through each data series in turn\n        for ($j = 0; $j < $seriesCount; ++$j) {\n            $dataValues = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($j)->getDataValues();\n            if ($grouping == 'percentStacked') {\n                $dataValues = $this->percentageAdjustValues($dataValues, $sumValues);\n            }\n\n            //    Fill in any missing values in the $dataValues array\n            $testCurrentIndex = 0;\n            foreach ($dataValues as $k => $dataValue) {\n                while ($k != $testCurrentIndex) {\n                    $dataValues[$testCurrentIndex] = null;\n                    ++$testCurrentIndex;\n                }\n                ++$testCurrentIndex;\n            }\n\n            //    Reverse the $dataValues order for bar rather than column chart\n            if ($rotation == 'bar') {\n                $dataValues = array_reverse($dataValues);\n            }\n            $seriesPlot = new BarPlot($dataValues);\n            $seriesPlot->SetColor('black');\n            $seriesPlot->SetFillColor(self::$colourSet[self::$plotColour++]);\n            if ($dimensions == '3d') {\n                $seriesPlot->SetShadow();\n            }\n            if (!$this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($j)) {\n                $dataLabel = '';\n            } else {\n                $dataLabel = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($j)->getDataValue();\n            }\n            $seriesPlot->SetLegend($dataLabel);\n\n            $seriesPlots[] = $seriesPlot;\n        }\n        //    Reverse the plot order for bar rather than column chart\n        if (($rotation == 'bar') && (!($grouping == 'percentStacked'))) {\n            $seriesPlots = array_reverse($seriesPlots);\n        }\n\n        if ($grouping == 'clustered') {\n            $groupPlot = new GroupBarPlot($seriesPlots);\n        } elseif ($grouping == 'standard') {\n            $groupPlot = new GroupBarPlot($seriesPlots);\n        } else {\n            $groupPlot = new AccBarPlot($seriesPlots);\n            if ($dimensions == '3d') {\n                $groupPlot->SetShadow();\n            }\n        }\n\n        $this->graph->Add($groupPlot);\n    }\n\n\n    private function renderPlotScatter($groupID, $bubble)\n    {\n        $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping();\n        $scatterStyle = $bubbleSize = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle();\n\n        $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n        $seriesPlots = array();\n\n        //    Loop through each data series in turn\n        for ($i = 0; $i < $seriesCount; ++$i) {\n            $dataValuesY = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues();\n            $dataValuesX = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues();\n\n            foreach ($dataValuesY as $k => $dataValueY) {\n                $dataValuesY[$k] = $k;\n            }\n\n            $seriesPlot = new ScatterPlot($dataValuesX, $dataValuesY);\n            if ($scatterStyle == 'lineMarker') {\n                $seriesPlot->SetLinkPoints();\n                $seriesPlot->link->SetColor(self::$colourSet[self::$plotColour]);\n            } elseif ($scatterStyle == 'smoothMarker') {\n                $spline = new Spline($dataValuesY, $dataValuesX);\n                list($splineDataY, $splineDataX) = $spline->Get(count($dataValuesX) * self::$width / 20);\n                $lplot = new LinePlot($splineDataX, $splineDataY);\n                $lplot->SetColor(self::$colourSet[self::$plotColour]);\n\n                $this->graph->Add($lplot);\n            }\n\n            if ($bubble) {\n                $this->formatPointMarker($seriesPlot, 'dot');\n                $seriesPlot->mark->SetColor('black');\n                $seriesPlot->mark->SetSize($bubbleSize);\n            } else {\n                $marker = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker();\n                $this->formatPointMarker($seriesPlot, $marker);\n            }\n            $dataLabel = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue();\n            $seriesPlot->SetLegend($dataLabel);\n\n            $this->graph->Add($seriesPlot);\n        }\n    }\n\n\n    private function renderPlotRadar($groupID)\n    {\n        $radarStyle = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle();\n\n        $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n        $seriesPlots = array();\n\n        //    Loop through each data series in turn\n        for ($i = 0; $i < $seriesCount; ++$i) {\n            $dataValuesY = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues();\n            $dataValuesX = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues();\n            $marker = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker();\n\n            $dataValues = array();\n            foreach ($dataValuesY as $k => $dataValueY) {\n                $dataValues[$k] = implode(' ', array_reverse($dataValueY));\n            }\n            $tmp = array_shift($dataValues);\n            $dataValues[] = $tmp;\n            $tmp = array_shift($dataValuesX);\n            $dataValuesX[] = $tmp;\n\n            $this->graph->SetTitles(array_reverse($dataValues));\n\n            $seriesPlot = new RadarPlot(array_reverse($dataValuesX));\n\n            $dataLabel = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue();\n            $seriesPlot->SetColor(self::$colourSet[self::$plotColour++]);\n            if ($radarStyle == 'filled') {\n                $seriesPlot->SetFillColor(self::$colourSet[self::$plotColour]);\n            }\n            $this->formatPointMarker($seriesPlot, $marker);\n            $seriesPlot->SetLegend($dataLabel);\n\n            $this->graph->Add($seriesPlot);\n        }\n    }\n\n\n    private function renderPlotContour($groupID)\n    {\n        $contourStyle = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle();\n\n        $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n        $seriesPlots = array();\n\n        $dataValues = array();\n        //    Loop through each data series in turn\n        for ($i = 0; $i < $seriesCount; ++$i) {\n            $dataValuesY = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues();\n            $dataValuesX = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues();\n\n            $dataValues[$i] = $dataValuesX;\n        }\n        $seriesPlot = new ContourPlot($dataValues);\n\n        $this->graph->Add($seriesPlot);\n    }\n\n\n    private function renderPlotStock($groupID)\n    {\n        $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n        $plotOrder = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotOrder();\n\n        $dataValues = array();\n        //    Loop through each data series in turn and build the plot arrays\n        foreach ($plotOrder as $i => $v) {\n            $dataValuesX = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($v)->getDataValues();\n            foreach ($dataValuesX as $j => $dataValueX) {\n                $dataValues[$plotOrder[$i]][$j] = $dataValueX;\n            }\n        }\n        if (empty($dataValues)) {\n            return;\n        }\n\n        $dataValuesPlot = array();\n        // Flatten the plot arrays to a single dimensional array to work with jpgraph\n        for ($j = 0; $j < count($dataValues[0]); ++$j) {\n            for ($i = 0; $i < $seriesCount; ++$i) {\n                $dataValuesPlot[] = $dataValues[$i][$j];\n            }\n        }\n\n        // Set the x-axis labels\n        $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount());\n        if ($labelCount > 0) {\n            $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues();\n            $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount);\n            $this->graph->xaxis->SetTickLabels($datasetLabels);\n        }\n\n        $seriesPlot = new StockPlot($dataValuesPlot);\n        $seriesPlot->SetWidth(20);\n\n        $this->graph->Add($seriesPlot);\n    }\n\n\n    private function renderAreaChart($groupCount, $dimensions = '2d')\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');\n\n        $this->renderCartesianPlotArea();\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $this->renderPlotLine($i, true, false, $dimensions);\n        }\n    }\n\n\n    private function renderLineChart($groupCount, $dimensions = '2d')\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');\n\n        $this->renderCartesianPlotArea();\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $this->renderPlotLine($i, false, false, $dimensions);\n        }\n    }\n\n\n    private function renderBarChart($groupCount, $dimensions = '2d')\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php');\n\n        $this->renderCartesianPlotArea();\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $this->renderPlotBar($i, $dimensions);\n        }\n    }\n\n\n    private function renderScatterChart($groupCount)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php');\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php');\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');\n\n        $this->renderCartesianPlotArea('linlin');\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $this->renderPlotScatter($i, false);\n        }\n    }\n\n\n    private function renderBubbleChart($groupCount)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php');\n\n        $this->renderCartesianPlotArea('linlin');\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $this->renderPlotScatter($i, true);\n        }\n    }\n\n\n    private function renderPieChart($groupCount, $dimensions = '2d', $doughnut = false, $multiplePlots = false)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_pie.php');\n        if ($dimensions == '3d') {\n            require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_pie3d.php');\n        }\n\n        $this->renderPiePlotArea($doughnut);\n\n        $iLimit = ($multiplePlots) ? $groupCount : 1;\n        for ($groupID = 0; $groupID < $iLimit; ++$groupID) {\n            $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping();\n            $exploded = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle();\n            if ($groupID == 0) {\n                $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount());\n                if ($labelCount > 0) {\n                    $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues();\n                    $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount);\n                }\n            }\n\n            $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount();\n            $seriesPlots = array();\n            //    For pie charts, we only display the first series: doughnut charts generally display all series\n            $jLimit = ($multiplePlots) ? $seriesCount : 1;\n            //    Loop through each data series in turn\n            for ($j = 0; $j < $jLimit; ++$j) {\n                $dataValues = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($j)->getDataValues();\n\n                //    Fill in any missing values in the $dataValues array\n                $testCurrentIndex = 0;\n                foreach ($dataValues as $k => $dataValue) {\n                    while ($k != $testCurrentIndex) {\n                        $dataValues[$testCurrentIndex] = null;\n                        ++$testCurrentIndex;\n                    }\n                    ++$testCurrentIndex;\n                }\n\n                if ($dimensions == '3d') {\n                    $seriesPlot = new PiePlot3D($dataValues);\n                } else {\n                    if ($doughnut) {\n                        $seriesPlot = new PiePlotC($dataValues);\n                    } else {\n                        $seriesPlot = new PiePlot($dataValues);\n                    }\n                }\n\n                if ($multiplePlots) {\n                    $seriesPlot->SetSize(($jLimit-$j) / ($jLimit * 4));\n                }\n\n                if ($doughnut) {\n                    $seriesPlot->SetMidColor('white');\n                }\n\n                $seriesPlot->SetColor(self::$colourSet[self::$plotColour++]);\n                if (count($datasetLabels) > 0) {\n                    $seriesPlot->SetLabels(array_fill(0, count($datasetLabels), ''));\n                }\n                if ($dimensions != '3d') {\n                    $seriesPlot->SetGuideLines(false);\n                }\n                if ($j == 0) {\n                    if ($exploded) {\n                        $seriesPlot->ExplodeAll();\n                    }\n                    $seriesPlot->SetLegends($datasetLabels);\n                }\n\n                $this->graph->Add($seriesPlot);\n            }\n        }\n    }\n\n\n    private function renderRadarChart($groupCount)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_radar.php');\n\n        $this->renderRadarPlotArea();\n\n        for ($groupID = 0; $groupID < $groupCount; ++$groupID) {\n            $this->renderPlotRadar($groupID);\n        }\n    }\n\n\n    private function renderStockChart($groupCount)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_stock.php');\n\n        $this->renderCartesianPlotArea('intint');\n\n        for ($groupID = 0; $groupID < $groupCount; ++$groupID) {\n            $this->renderPlotStock($groupID);\n        }\n    }\n\n\n    private function renderContourChart($groupCount, $dimensions)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_contour.php');\n\n        $this->renderCartesianPlotArea('intint');\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $this->renderPlotContour($i);\n        }\n    }\n\n\n    private function renderCombinationChart($groupCount, $dimensions, $outputDestination)\n    {\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php');\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php');\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php');\n        require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php');\n\n        $this->renderCartesianPlotArea();\n\n        for ($i = 0; $i < $groupCount; ++$i) {\n            $dimensions = null;\n            $chartType = $this->chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType();\n            switch ($chartType) {\n                case 'area3DChart':\n                    $dimensions = '3d';\n                    // no break\n                case 'areaChart':\n                    $this->renderPlotLine($i, true, true, $dimensions);\n                    break;\n                case 'bar3DChart':\n                    $dimensions = '3d';\n                    // no break\n                case 'barChart':\n                    $this->renderPlotBar($i, $dimensions);\n                    break;\n                case 'line3DChart':\n                    $dimensions = '3d';\n                    // no break\n                case 'lineChart':\n                    $this->renderPlotLine($i, false, true, $dimensions);\n                    break;\n                case 'scatterChart':\n                    $this->renderPlotScatter($i, false);\n                    break;\n                case 'bubbleChart':\n                    $this->renderPlotScatter($i, true);\n                    break;\n                default:\n                    $this->graph = null;\n                    return false;\n            }\n        }\n\n        $this->renderLegend();\n\n        $this->graph->Stroke($outputDestination);\n        return true;\n    }\n\n\n    public function render($outputDestination)\n    {\n        self::$plotColour = 0;\n\n        $groupCount = $this->chart->getPlotArea()->getPlotGroupCount();\n\n        $dimensions = null;\n        if ($groupCount == 1) {\n            $chartType = $this->chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotType();\n        } else {\n            $chartTypes = array();\n            for ($i = 0; $i < $groupCount; ++$i) {\n                $chartTypes[] = $this->chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType();\n            }\n            $chartTypes = array_unique($chartTypes);\n            if (count($chartTypes) == 1) {\n                $chartType = array_pop($chartTypes);\n            } elseif (count($chartTypes) == 0) {\n                echo 'Chart is not yet implemented<br />';\n                return false;\n            } else {\n                return $this->renderCombinationChart($groupCount, $dimensions, $outputDestination);\n            }\n        }\n\n        switch ($chartType) {\n            case 'area3DChart':\n                $dimensions = '3d';\n                // no break\n            case 'areaChart':\n                $this->renderAreaChart($groupCount, $dimensions);\n                break;\n            case 'bar3DChart':\n                $dimensions = '3d';\n                // no break\n            case 'barChart':\n                $this->renderBarChart($groupCount, $dimensions);\n                break;\n            case 'line3DChart':\n                $dimensions = '3d';\n                // no break\n            case 'lineChart':\n                $this->renderLineChart($groupCount, $dimensions);\n                break;\n            case 'pie3DChart':\n                $dimensions = '3d';\n                // no break\n            case 'pieChart':\n                $this->renderPieChart($groupCount, $dimensions, false, false);\n                break;\n            case 'doughnut3DChart':\n                $dimensions = '3d';\n                // no break\n            case 'doughnutChart':\n                $this->renderPieChart($groupCount, $dimensions, true, true);\n                break;\n            case 'scatterChart':\n                $this->renderScatterChart($groupCount);\n                break;\n            case 'bubbleChart':\n                $this->renderBubbleChart($groupCount);\n                break;\n            case 'radarChart':\n                $this->renderRadarChart($groupCount);\n                break;\n            case 'surface3DChart':\n                $dimensions = '3d';\n                // no break\n            case 'surfaceChart':\n                $this->renderContourChart($groupCount, $dimensions);\n                break;\n            case 'stockChart':\n                $this->renderStockChart($groupCount, $dimensions);\n                break;\n            default:\n                echo $chartType.' is not yet implemented<br />';\n                return false;\n        }\n        $this->renderLegend();\n\n        $this->graph->Stroke($outputDestination);\n        return true;\n    }\n\n\n    /**\n     * Create a new PHPExcel_Chart_Renderer_jpgraph\n     */\n    public function __construct(PHPExcel_Chart $chart)\n    {\n        $this->graph    = null;\n        $this->chart    = $chart;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart/Title.php",
    "content": "<?php\n\n/**\n * PHPExcel_Chart_Title\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart_Title\n{\n\n    /**\n     * Title Caption\n     *\n     * @var string\n     */\n    private $caption = null;\n\n    /**\n     * Title Layout\n     *\n     * @var PHPExcel_Chart_Layout\n     */\n    private $layout = null;\n\n    /**\n     * Create a new PHPExcel_Chart_Title\n     */\n    public function __construct($caption = null, PHPExcel_Chart_Layout $layout = null)\n    {\n        $this->caption = $caption;\n        $this->layout = $layout;\n    }\n\n    /**\n     * Get caption\n     *\n     * @return string\n     */\n    public function getCaption()\n    {\n        return $this->caption;\n    }\n\n    /**\n     * Set caption\n     *\n     * @param string $caption\n     * @return PHPExcel_Chart_Title\n     */\n    public function setCaption($caption = null)\n    {\n        $this->caption = $caption;\n        \n        return $this;\n    }\n\n    /**\n     * Get Layout\n     *\n     * @return PHPExcel_Chart_Layout\n     */\n    public function getLayout()\n    {\n        return $this->layout;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Chart.php",
    "content": "<?php\n\n/**\n * PHPExcel_Chart\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Chart\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Chart\n{\n    /**\n     * Chart Name\n     *\n     * @var string\n     */\n    private $name = '';\n\n    /**\n     * Worksheet\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $worksheet;\n\n    /**\n     * Chart Title\n     *\n     * @var PHPExcel_Chart_Title\n     */\n    private $title;\n\n    /**\n     * Chart Legend\n     *\n     * @var PHPExcel_Chart_Legend\n     */\n    private $legend;\n\n    /**\n     * X-Axis Label\n     *\n     * @var PHPExcel_Chart_Title\n     */\n    private $xAxisLabel;\n\n    /**\n     * Y-Axis Label\n     *\n     * @var PHPExcel_Chart_Title\n     */\n    private $yAxisLabel;\n\n    /**\n     * Chart Plot Area\n     *\n     * @var PHPExcel_Chart_PlotArea\n     */\n    private $plotArea;\n\n    /**\n     * Plot Visible Only\n     *\n     * @var boolean\n     */\n    private $plotVisibleOnly = true;\n\n    /**\n     * Display Blanks as\n     *\n     * @var string\n     */\n    private $displayBlanksAs = '0';\n\n    /**\n     * Chart Asix Y as\n     *\n     * @var PHPExcel_Chart_Axis\n     */\n    private $yAxis;\n\n    /**\n     * Chart Asix X as\n     *\n     * @var PHPExcel_Chart_Axis\n     */\n    private $xAxis;\n\n    /**\n     * Chart Major Gridlines as\n     *\n     * @var PHPExcel_Chart_GridLines\n     */\n    private $majorGridlines;\n\n    /**\n     * Chart Minor Gridlines as\n     *\n     * @var PHPExcel_Chart_GridLines\n     */\n    private $minorGridlines;\n\n    /**\n     * Top-Left Cell Position\n     *\n     * @var string\n     */\n    private $topLeftCellRef = 'A1';\n\n\n    /**\n     * Top-Left X-Offset\n     *\n     * @var integer\n     */\n    private $topLeftXOffset = 0;\n\n\n    /**\n     * Top-Left Y-Offset\n     *\n     * @var integer\n     */\n    private $topLeftYOffset = 0;\n\n\n    /**\n     * Bottom-Right Cell Position\n     *\n     * @var string\n     */\n    private $bottomRightCellRef = 'A1';\n\n\n    /**\n     * Bottom-Right X-Offset\n     *\n     * @var integer\n     */\n    private $bottomRightXOffset = 10;\n\n\n    /**\n     * Bottom-Right Y-Offset\n     *\n     * @var integer\n     */\n    private $bottomRightYOffset = 10;\n\n\n    /**\n     * Create a new PHPExcel_Chart\n     */\n    public function __construct($name, PHPExcel_Chart_Title $title = null, PHPExcel_Chart_Legend $legend = null, PHPExcel_Chart_PlotArea $plotArea = null, $plotVisibleOnly = true, $displayBlanksAs = '0', PHPExcel_Chart_Title $xAxisLabel = null, PHPExcel_Chart_Title $yAxisLabel = null, PHPExcel_Chart_Axis $xAxis = null, PHPExcel_Chart_Axis $yAxis = null, PHPExcel_Chart_GridLines $majorGridlines = null, PHPExcel_Chart_GridLines $minorGridlines = null)\n    {\n        $this->name = $name;\n        $this->title = $title;\n        $this->legend = $legend;\n        $this->xAxisLabel = $xAxisLabel;\n        $this->yAxisLabel = $yAxisLabel;\n        $this->plotArea = $plotArea;\n        $this->plotVisibleOnly = $plotVisibleOnly;\n        $this->displayBlanksAs = $displayBlanksAs;\n        $this->xAxis = $xAxis;\n        $this->yAxis = $yAxis;\n        $this->majorGridlines = $majorGridlines;\n        $this->minorGridlines = $minorGridlines;\n    }\n\n    /**\n     * Get Name\n     *\n     * @return string\n     */\n    public function getName()\n    {\n        return $this->name;\n    }\n\n    /**\n     * Get Worksheet\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function getWorksheet()\n    {\n        return $this->worksheet;\n    }\n\n    /**\n     * Set Worksheet\n     *\n     * @param    PHPExcel_Worksheet    $pValue\n     * @throws    PHPExcel_Chart_Exception\n     * @return PHPExcel_Chart\n     */\n    public function setWorksheet(PHPExcel_Worksheet $pValue = null)\n    {\n        $this->worksheet = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get Title\n     *\n     * @return PHPExcel_Chart_Title\n     */\n    public function getTitle()\n    {\n        return $this->title;\n    }\n\n    /**\n     * Set Title\n     *\n     * @param    PHPExcel_Chart_Title $title\n     * @return    PHPExcel_Chart\n     */\n    public function setTitle(PHPExcel_Chart_Title $title)\n    {\n        $this->title = $title;\n\n        return $this;\n    }\n\n    /**\n     * Get Legend\n     *\n     * @return PHPExcel_Chart_Legend\n     */\n    public function getLegend()\n    {\n        return $this->legend;\n    }\n\n    /**\n     * Set Legend\n     *\n     * @param    PHPExcel_Chart_Legend $legend\n     * @return    PHPExcel_Chart\n     */\n    public function setLegend(PHPExcel_Chart_Legend $legend)\n    {\n        $this->legend = $legend;\n\n        return $this;\n    }\n\n    /**\n     * Get X-Axis Label\n     *\n     * @return PHPExcel_Chart_Title\n     */\n    public function getXAxisLabel()\n    {\n        return $this->xAxisLabel;\n    }\n\n    /**\n     * Set X-Axis Label\n     *\n     * @param    PHPExcel_Chart_Title $label\n     * @return    PHPExcel_Chart\n     */\n    public function setXAxisLabel(PHPExcel_Chart_Title $label)\n    {\n        $this->xAxisLabel = $label;\n\n        return $this;\n    }\n\n    /**\n     * Get Y-Axis Label\n     *\n     * @return PHPExcel_Chart_Title\n     */\n    public function getYAxisLabel()\n    {\n        return $this->yAxisLabel;\n    }\n\n    /**\n     * Set Y-Axis Label\n     *\n     * @param    PHPExcel_Chart_Title $label\n     * @return    PHPExcel_Chart\n     */\n    public function setYAxisLabel(PHPExcel_Chart_Title $label)\n    {\n        $this->yAxisLabel = $label;\n\n        return $this;\n    }\n\n    /**\n     * Get Plot Area\n     *\n     * @return PHPExcel_Chart_PlotArea\n     */\n    public function getPlotArea()\n    {\n        return $this->plotArea;\n    }\n\n    /**\n     * Get Plot Visible Only\n     *\n     * @return boolean\n     */\n    public function getPlotVisibleOnly()\n    {\n        return $this->plotVisibleOnly;\n    }\n\n    /**\n     * Set Plot Visible Only\n     *\n     * @param boolean $plotVisibleOnly\n     * @return PHPExcel_Chart\n     */\n    public function setPlotVisibleOnly($plotVisibleOnly = true)\n    {\n        $this->plotVisibleOnly = $plotVisibleOnly;\n\n        return $this;\n    }\n\n    /**\n     * Get Display Blanks as\n     *\n     * @return string\n     */\n    public function getDisplayBlanksAs()\n    {\n        return $this->displayBlanksAs;\n    }\n\n    /**\n     * Set Display Blanks as\n     *\n     * @param string $displayBlanksAs\n     * @return PHPExcel_Chart\n     */\n    public function setDisplayBlanksAs($displayBlanksAs = '0')\n    {\n        $this->displayBlanksAs = $displayBlanksAs;\n    }\n\n\n    /**\n     * Get yAxis\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    public function getChartAxisY()\n    {\n        if ($this->yAxis !== null) {\n            return $this->yAxis;\n        }\n\n        return new PHPExcel_Chart_Axis();\n    }\n\n    /**\n     * Get xAxis\n     *\n     * @return PHPExcel_Chart_Axis\n     */\n    public function getChartAxisX()\n    {\n        if ($this->xAxis !== null) {\n            return $this->xAxis;\n        }\n\n        return new PHPExcel_Chart_Axis();\n    }\n\n    /**\n     * Get Major Gridlines\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n    public function getMajorGridlines()\n    {\n        if ($this->majorGridlines !== null) {\n            return $this->majorGridlines;\n        }\n\n        return new PHPExcel_Chart_GridLines();\n    }\n\n    /**\n     * Get Minor Gridlines\n     *\n     * @return PHPExcel_Chart_GridLines\n     */\n    public function getMinorGridlines()\n    {\n        if ($this->minorGridlines !== null) {\n            return $this->minorGridlines;\n        }\n\n        return new PHPExcel_Chart_GridLines();\n    }\n\n\n    /**\n     * Set the Top Left position for the chart\n     *\n     * @param    string    $cell\n     * @param    integer    $xOffset\n     * @param    integer    $yOffset\n     * @return PHPExcel_Chart\n     */\n    public function setTopLeftPosition($cell, $xOffset = null, $yOffset = null)\n    {\n        $this->topLeftCellRef = $cell;\n        if (!is_null($xOffset)) {\n            $this->setTopLeftXOffset($xOffset);\n        }\n        if (!is_null($yOffset)) {\n            $this->setTopLeftYOffset($yOffset);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get the top left position of the chart\n     *\n     * @return array    an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell\n     */\n    public function getTopLeftPosition()\n    {\n        return array(\n            'cell'    => $this->topLeftCellRef,\n            'xOffset' => $this->topLeftXOffset,\n            'yOffset' => $this->topLeftYOffset\n        );\n    }\n\n    /**\n     * Get the cell address where the top left of the chart is fixed\n     *\n     * @return string\n     */\n    public function getTopLeftCell()\n    {\n        return $this->topLeftCellRef;\n    }\n\n    /**\n     * Set the Top Left cell position for the chart\n     *\n     * @param    string    $cell\n     * @return PHPExcel_Chart\n     */\n    public function setTopLeftCell($cell)\n    {\n        $this->topLeftCellRef = $cell;\n\n        return $this;\n    }\n\n    /**\n     * Set the offset position within the Top Left cell for the chart\n     *\n     * @param    integer    $xOffset\n     * @param    integer    $yOffset\n     * @return PHPExcel_Chart\n     */\n    public function setTopLeftOffset($xOffset = null, $yOffset = null)\n    {\n        if (!is_null($xOffset)) {\n            $this->setTopLeftXOffset($xOffset);\n        }\n        if (!is_null($yOffset)) {\n            $this->setTopLeftYOffset($yOffset);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get the offset position within the Top Left cell for the chart\n     *\n     * @return integer[]\n     */\n    public function getTopLeftOffset()\n    {\n        return array(\n            'X' => $this->topLeftXOffset,\n            'Y' => $this->topLeftYOffset\n        );\n    }\n\n    public function setTopLeftXOffset($xOffset)\n    {\n        $this->topLeftXOffset = $xOffset;\n\n        return $this;\n    }\n\n    public function getTopLeftXOffset()\n    {\n        return $this->topLeftXOffset;\n    }\n\n    public function setTopLeftYOffset($yOffset)\n    {\n        $this->topLeftYOffset = $yOffset;\n\n        return $this;\n    }\n\n    public function getTopLeftYOffset()\n    {\n        return $this->topLeftYOffset;\n    }\n\n    /**\n     * Set the Bottom Right position of the chart\n     *\n     * @param    string    $cell\n     * @param    integer    $xOffset\n     * @param    integer    $yOffset\n     * @return PHPExcel_Chart\n     */\n    public function setBottomRightPosition($cell, $xOffset = null, $yOffset = null)\n    {\n        $this->bottomRightCellRef = $cell;\n        if (!is_null($xOffset)) {\n            $this->setBottomRightXOffset($xOffset);\n        }\n        if (!is_null($yOffset)) {\n            $this->setBottomRightYOffset($yOffset);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get the bottom right position of the chart\n     *\n     * @return array    an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell\n     */\n    public function getBottomRightPosition()\n    {\n        return array(\n            'cell'    => $this->bottomRightCellRef,\n            'xOffset' => $this->bottomRightXOffset,\n            'yOffset' => $this->bottomRightYOffset\n        );\n    }\n\n    public function setBottomRightCell($cell)\n    {\n        $this->bottomRightCellRef = $cell;\n\n        return $this;\n    }\n\n    /**\n     * Get the cell address where the bottom right of the chart is fixed\n     *\n     * @return string\n     */\n    public function getBottomRightCell()\n    {\n        return $this->bottomRightCellRef;\n    }\n\n    /**\n     * Set the offset position within the Bottom Right cell for the chart\n     *\n     * @param    integer    $xOffset\n     * @param    integer    $yOffset\n     * @return PHPExcel_Chart\n     */\n    public function setBottomRightOffset($xOffset = null, $yOffset = null)\n    {\n        if (!is_null($xOffset)) {\n            $this->setBottomRightXOffset($xOffset);\n        }\n        if (!is_null($yOffset)) {\n            $this->setBottomRightYOffset($yOffset);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get the offset position within the Bottom Right cell for the chart\n     *\n     * @return integer[]\n     */\n    public function getBottomRightOffset()\n    {\n        return array(\n            'X' => $this->bottomRightXOffset,\n            'Y' => $this->bottomRightYOffset\n        );\n    }\n\n    public function setBottomRightXOffset($xOffset)\n    {\n        $this->bottomRightXOffset = $xOffset;\n\n        return $this;\n    }\n\n    public function getBottomRightXOffset()\n    {\n        return $this->bottomRightXOffset;\n    }\n\n    public function setBottomRightYOffset($yOffset)\n    {\n        $this->bottomRightYOffset = $yOffset;\n\n        return $this;\n    }\n\n    public function getBottomRightYOffset()\n    {\n        return $this->bottomRightYOffset;\n    }\n\n\n    public function refresh()\n    {\n        if ($this->worksheet !== null) {\n            $this->plotArea->refresh($this->worksheet);\n        }\n    }\n\n    public function render($outputDestination = null)\n    {\n        $libraryName = PHPExcel_Settings::getChartRendererName();\n        if (is_null($libraryName)) {\n            return false;\n        }\n        //    Ensure that data series values are up-to-date before we render\n        $this->refresh();\n\n        $libraryPath = PHPExcel_Settings::getChartRendererPath();\n        $includePath = str_replace('\\\\', '/', get_include_path());\n        $rendererPath = str_replace('\\\\', '/', $libraryPath);\n        if (strpos($rendererPath, $includePath) === false) {\n            set_include_path(get_include_path() . PATH_SEPARATOR . $libraryPath);\n        }\n\n        $rendererName = 'PHPExcel_Chart_Renderer_'.$libraryName;\n        $renderer = new $rendererName($this);\n\n        if ($outputDestination == 'php://output') {\n            $outputDestination = null;\n        }\n        return $renderer->render($outputDestination);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Comment.php",
    "content": "<?php\n\n/**\n * PHPExcel_Comment\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Comment implements PHPExcel_IComparable\n{\n    /**\n     * Author\n     *\n     * @var string\n     */\n    private $author;\n\n    /**\n     * Rich text comment\n     *\n     * @var PHPExcel_RichText\n     */\n    private $text;\n\n    /**\n     * Comment width (CSS style, i.e. XXpx or YYpt)\n     *\n     * @var string\n     */\n    private $width = '96pt';\n\n    /**\n     * Left margin (CSS style, i.e. XXpx or YYpt)\n     *\n     * @var string\n     */\n    private $marginLeft = '59.25pt';\n\n    /**\n     * Top margin (CSS style, i.e. XXpx or YYpt)\n     *\n     * @var string\n     */\n    private $marginTop = '1.5pt';\n\n    /**\n     * Visible\n     *\n     * @var boolean\n     */\n    private $visible = false;\n\n    /**\n     * Comment height (CSS style, i.e. XXpx or YYpt)\n     *\n     * @var string\n     */\n    private $height = '55.5pt';\n\n    /**\n     * Comment fill color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    private $fillColor;\n\n    /**\n     * Alignment\n     *\n     * @var string\n     */\n    private $alignment;\n\n    /**\n     * Create a new PHPExcel_Comment\n     *\n     * @throws PHPExcel_Exception\n     */\n    public function __construct()\n    {\n        // Initialise variables\n        $this->author    = 'Author';\n        $this->text      = new PHPExcel_RichText();\n        $this->fillColor = new PHPExcel_Style_Color('FFFFFFE1');\n        $this->alignment = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL;\n    }\n\n    /**\n     * Get Author\n     *\n     * @return string\n     */\n    public function getAuthor()\n    {\n        return $this->author;\n    }\n\n    /**\n     * Set Author\n     *\n     * @param string $pValue\n     * @return PHPExcel_Comment\n     */\n    public function setAuthor($pValue = '')\n    {\n        $this->author = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Rich text comment\n     *\n     * @return PHPExcel_RichText\n     */\n    public function getText()\n    {\n        return $this->text;\n    }\n\n    /**\n     * Set Rich text comment\n     *\n     * @param PHPExcel_RichText $pValue\n     * @return PHPExcel_Comment\n     */\n    public function setText(PHPExcel_RichText $pValue)\n    {\n        $this->text = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get comment width (CSS style, i.e. XXpx or YYpt)\n     *\n     * @return string\n     */\n    public function getWidth()\n    {\n        return $this->width;\n    }\n\n    /**\n     * Set comment width (CSS style, i.e. XXpx or YYpt)\n     *\n     * @param string $value\n     * @return PHPExcel_Comment\n     */\n    public function setWidth($value = '96pt')\n    {\n        $this->width = $value;\n        return $this;\n    }\n\n    /**\n     * Get comment height (CSS style, i.e. XXpx or YYpt)\n     *\n     * @return string\n     */\n    public function getHeight()\n    {\n        return $this->height;\n    }\n\n    /**\n     * Set comment height (CSS style, i.e. XXpx or YYpt)\n     *\n     * @param string $value\n     * @return PHPExcel_Comment\n     */\n    public function setHeight($value = '55.5pt')\n    {\n        $this->height = $value;\n        return $this;\n    }\n\n    /**\n     * Get left margin (CSS style, i.e. XXpx or YYpt)\n     *\n     * @return string\n     */\n    public function getMarginLeft()\n    {\n        return $this->marginLeft;\n    }\n\n    /**\n     * Set left margin (CSS style, i.e. XXpx or YYpt)\n     *\n     * @param string $value\n     * @return PHPExcel_Comment\n     */\n    public function setMarginLeft($value = '59.25pt')\n    {\n        $this->marginLeft = $value;\n        return $this;\n    }\n\n    /**\n     * Get top margin (CSS style, i.e. XXpx or YYpt)\n     *\n     * @return string\n     */\n    public function getMarginTop()\n    {\n        return $this->marginTop;\n    }\n\n    /**\n     * Set top margin (CSS style, i.e. XXpx or YYpt)\n     *\n     * @param string $value\n     * @return PHPExcel_Comment\n     */\n    public function setMarginTop($value = '1.5pt')\n    {\n        $this->marginTop = $value;\n        return $this;\n    }\n\n    /**\n     * Is the comment visible by default?\n     *\n     * @return boolean\n     */\n    public function getVisible()\n    {\n        return $this->visible;\n    }\n\n    /**\n     * Set comment default visibility\n     *\n     * @param boolean $value\n     * @return PHPExcel_Comment\n     */\n    public function setVisible($value = false)\n    {\n        $this->visible = $value;\n        return $this;\n    }\n\n    /**\n     * Get fill color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getFillColor()\n    {\n        return $this->fillColor;\n    }\n\n    /**\n     * Set Alignment\n     *\n     * @param string $pValue\n     * @return PHPExcel_Comment\n     */\n    public function setAlignment($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL)\n    {\n        $this->alignment = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Alignment\n     *\n     * @return string\n     */\n    public function getAlignment()\n    {\n        return $this->alignment;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->author .\n            $this->text->getHashCode() .\n            $this->width .\n            $this->height .\n            $this->marginLeft .\n            $this->marginTop .\n            ($this->visible ? 1 : 0) .\n            $this->fillColor->getHashCode() .\n            $this->alignment .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n\n    /**\n     * Convert to string\n     *\n     * @return string\n     */\n    public function __toString()\n    {\n        return $this->text->getPlainText();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/DocumentProperties.php",
    "content": "<?php\n\n/**\n * PHPExcel_DocumentProperties\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package    PHPExcel\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_DocumentProperties\n{\n    /** constants */\n    const PROPERTY_TYPE_BOOLEAN = 'b';\n    const PROPERTY_TYPE_INTEGER = 'i';\n    const PROPERTY_TYPE_FLOAT   = 'f';\n    const PROPERTY_TYPE_DATE    = 'd';\n    const PROPERTY_TYPE_STRING  = 's';\n    const PROPERTY_TYPE_UNKNOWN = 'u';\n\n    /**\n     * Creator\n     *\n     * @var string\n     */\n    private $creator = 'Unknown Creator';\n\n    /**\n     * LastModifiedBy\n     *\n     * @var string\n     */\n    private $lastModifiedBy;\n\n    /**\n     * Created\n     *\n     * @var datetime\n     */\n    private $created;\n\n    /**\n     * Modified\n     *\n     * @var datetime\n     */\n    private $modified;\n\n    /**\n     * Title\n     *\n     * @var string\n     */\n    private $title = 'Untitled Spreadsheet';\n\n    /**\n     * Description\n     *\n     * @var string\n     */\n    private $description = '';\n\n    /**\n     * Subject\n     *\n     * @var string\n     */\n    private $subject = '';\n\n    /**\n     * Keywords\n     *\n     * @var string\n     */\n    private $keywords = '';\n\n    /**\n     * Category\n     *\n     * @var string\n     */\n    private $category = '';\n\n    /**\n     * Manager\n     *\n     * @var string\n     */\n    private $manager = '';\n\n    /**\n     * Company\n     *\n     * @var string\n     */\n    private $company = 'Microsoft Corporation';\n\n    /**\n     * Custom Properties\n     *\n     * @var string\n     */\n    private $customProperties = array();\n\n\n    /**\n     * Create a new PHPExcel_DocumentProperties\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->lastModifiedBy = $this->creator;\n        $this->created  = time();\n        $this->modified = time();\n    }\n\n    /**\n     * Get Creator\n     *\n     * @return string\n     */\n    public function getCreator()\n    {\n        return $this->creator;\n    }\n\n    /**\n     * Set Creator\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setCreator($pValue = '')\n    {\n        $this->creator = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Last Modified By\n     *\n     * @return string\n     */\n    public function getLastModifiedBy()\n    {\n        return $this->lastModifiedBy;\n    }\n\n    /**\n     * Set Last Modified By\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setLastModifiedBy($pValue = '')\n    {\n        $this->lastModifiedBy = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Created\n     *\n     * @return datetime\n     */\n    public function getCreated()\n    {\n        return $this->created;\n    }\n\n    /**\n     * Set Created\n     *\n     * @param datetime $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setCreated($pValue = null)\n    {\n        if ($pValue === null) {\n            $pValue = time();\n        } elseif (is_string($pValue)) {\n            if (is_numeric($pValue)) {\n                $pValue = intval($pValue);\n            } else {\n                $pValue = strtotime($pValue);\n            }\n        }\n\n        $this->created = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Modified\n     *\n     * @return datetime\n     */\n    public function getModified()\n    {\n        return $this->modified;\n    }\n\n    /**\n     * Set Modified\n     *\n     * @param datetime $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setModified($pValue = null)\n    {\n        if ($pValue === null) {\n            $pValue = time();\n        } elseif (is_string($pValue)) {\n            if (is_numeric($pValue)) {\n                $pValue = intval($pValue);\n            } else {\n                $pValue = strtotime($pValue);\n            }\n        }\n\n        $this->modified = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Title\n     *\n     * @return string\n     */\n    public function getTitle()\n    {\n        return $this->title;\n    }\n\n    /**\n     * Set Title\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setTitle($pValue = '')\n    {\n        $this->title = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Description\n     *\n     * @return string\n     */\n    public function getDescription()\n    {\n        return $this->description;\n    }\n\n    /**\n     * Set Description\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setDescription($pValue = '')\n    {\n        $this->description = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Subject\n     *\n     * @return string\n     */\n    public function getSubject()\n    {\n        return $this->subject;\n    }\n\n    /**\n     * Set Subject\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setSubject($pValue = '')\n    {\n        $this->subject = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Keywords\n     *\n     * @return string\n     */\n    public function getKeywords()\n    {\n        return $this->keywords;\n    }\n\n    /**\n     * Set Keywords\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setKeywords($pValue = '')\n    {\n        $this->keywords = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Category\n     *\n     * @return string\n     */\n    public function getCategory()\n    {\n        return $this->category;\n    }\n\n    /**\n     * Set Category\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setCategory($pValue = '')\n    {\n        $this->category = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Company\n     *\n     * @return string\n     */\n    public function getCompany()\n    {\n        return $this->company;\n    }\n\n    /**\n     * Set Company\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setCompany($pValue = '')\n    {\n        $this->company = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Manager\n     *\n     * @return string\n     */\n    public function getManager()\n    {\n        return $this->manager;\n    }\n\n    /**\n     * Set Manager\n     *\n     * @param string $pValue\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setManager($pValue = '')\n    {\n        $this->manager = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get a List of Custom Property Names\n     *\n     * @return array of string\n     */\n    public function getCustomProperties()\n    {\n        return array_keys($this->customProperties);\n    }\n\n    /**\n     * Check if a Custom Property is defined\n     *\n     * @param string $propertyName\n     * @return boolean\n     */\n    public function isCustomPropertySet($propertyName)\n    {\n        return isset($this->customProperties[$propertyName]);\n    }\n\n    /**\n     * Get a Custom Property Value\n     *\n     * @param string $propertyName\n     * @return string\n     */\n    public function getCustomPropertyValue($propertyName)\n    {\n        if (isset($this->customProperties[$propertyName])) {\n            return $this->customProperties[$propertyName]['value'];\n        }\n\n    }\n\n    /**\n     * Get a Custom Property Type\n     *\n     * @param string $propertyName\n     * @return string\n     */\n    public function getCustomPropertyType($propertyName)\n    {\n        if (isset($this->customProperties[$propertyName])) {\n            return $this->customProperties[$propertyName]['type'];\n        }\n\n    }\n\n    /**\n     * Set a Custom Property\n     *\n     * @param string $propertyName\n     * @param mixed $propertyValue\n     * @param string $propertyType\n     *      'i'    : Integer\n     *   'f' : Floating Point\n     *   's' : String\n     *   'd' : Date/Time\n     *   'b' : Boolean\n     * @return PHPExcel_DocumentProperties\n     */\n    public function setCustomProperty($propertyName, $propertyValue = '', $propertyType = null)\n    {\n        if (($propertyType === null) || (!in_array($propertyType, array(self::PROPERTY_TYPE_INTEGER,\n                                                                        self::PROPERTY_TYPE_FLOAT,\n                                                                        self::PROPERTY_TYPE_STRING,\n                                                                        self::PROPERTY_TYPE_DATE,\n                                                                        self::PROPERTY_TYPE_BOOLEAN)))) {\n            if ($propertyValue === null) {\n                $propertyType = self::PROPERTY_TYPE_STRING;\n            } elseif (is_float($propertyValue)) {\n                $propertyType = self::PROPERTY_TYPE_FLOAT;\n            } elseif (is_int($propertyValue)) {\n                $propertyType = self::PROPERTY_TYPE_INTEGER;\n            } elseif (is_bool($propertyValue)) {\n                $propertyType = self::PROPERTY_TYPE_BOOLEAN;\n            } else {\n                $propertyType = self::PROPERTY_TYPE_STRING;\n            }\n        }\n\n        $this->customProperties[$propertyName] = array(\n            'value' => $propertyValue,\n            'type' => $propertyType\n        );\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n\n    public static function convertProperty($propertyValue, $propertyType)\n    {\n        switch ($propertyType) {\n            case 'empty':     //    Empty\n                return '';\n                break;\n            case 'null':      //    Null\n                return null;\n                break;\n            case 'i1':        //    1-Byte Signed Integer\n            case 'i2':        //    2-Byte Signed Integer\n            case 'i4':        //    4-Byte Signed Integer\n            case 'i8':        //    8-Byte Signed Integer\n            case 'int':       //    Integer\n                return (int) $propertyValue;\n                break;\n            case 'ui1':       //    1-Byte Unsigned Integer\n            case 'ui2':       //    2-Byte Unsigned Integer\n            case 'ui4':       //    4-Byte Unsigned Integer\n            case 'ui8':       //    8-Byte Unsigned Integer\n            case 'uint':      //    Unsigned Integer\n                return abs((int) $propertyValue);\n                break;\n            case 'r4':        //    4-Byte Real Number\n            case 'r8':        //    8-Byte Real Number\n            case 'decimal':   //    Decimal\n                return (float) $propertyValue;\n                break;\n            case 'lpstr':     //    LPSTR\n            case 'lpwstr':    //    LPWSTR\n            case 'bstr':      //    Basic String\n                return $propertyValue;\n                break;\n            case 'date':      //    Date and Time\n            case 'filetime':  //    File Time\n                return strtotime($propertyValue);\n                break;\n            case 'bool':     //    Boolean\n                return ($propertyValue == 'true') ? true : false;\n                break;\n            case 'cy':       //    Currency\n            case 'error':    //    Error Status Code\n            case 'vector':   //    Vector\n            case 'array':    //    Array\n            case 'blob':     //    Binary Blob\n            case 'oblob':    //    Binary Blob Object\n            case 'stream':   //    Binary Stream\n            case 'ostream':  //    Binary Stream Object\n            case 'storage':  //    Binary Storage\n            case 'ostorage': //    Binary Storage Object\n            case 'vstream':  //    Binary Versioned Stream\n            case 'clsid':    //    Class ID\n            case 'cf':       //    Clipboard Data\n                return $propertyValue;\n                break;\n        }\n        return $propertyValue;\n    }\n\n    public static function convertPropertyType($propertyType)\n    {\n        switch ($propertyType) {\n            case 'i1':       //    1-Byte Signed Integer\n            case 'i2':       //    2-Byte Signed Integer\n            case 'i4':       //    4-Byte Signed Integer\n            case 'i8':       //    8-Byte Signed Integer\n            case 'int':      //    Integer\n            case 'ui1':      //    1-Byte Unsigned Integer\n            case 'ui2':      //    2-Byte Unsigned Integer\n            case 'ui4':      //    4-Byte Unsigned Integer\n            case 'ui8':      //    8-Byte Unsigned Integer\n            case 'uint':     //    Unsigned Integer\n                return self::PROPERTY_TYPE_INTEGER;\n                break;\n            case 'r4':       //    4-Byte Real Number\n            case 'r8':       //    8-Byte Real Number\n            case 'decimal':  //    Decimal\n                return self::PROPERTY_TYPE_FLOAT;\n                break;\n            case 'empty':    //    Empty\n            case 'null':     //    Null\n            case 'lpstr':    //    LPSTR\n            case 'lpwstr':   //    LPWSTR\n            case 'bstr':     //    Basic String\n                return self::PROPERTY_TYPE_STRING;\n                break;\n            case 'date':     //    Date and Time\n            case 'filetime': //    File Time\n                return self::PROPERTY_TYPE_DATE;\n                break;\n            case 'bool':     //    Boolean\n                return self::PROPERTY_TYPE_BOOLEAN;\n                break;\n            case 'cy':       //    Currency\n            case 'error':    //    Error Status Code\n            case 'vector':   //    Vector\n            case 'array':    //    Array\n            case 'blob':     //    Binary Blob\n            case 'oblob':    //    Binary Blob Object\n            case 'stream':   //    Binary Stream\n            case 'ostream':  //    Binary Stream Object\n            case 'storage':  //    Binary Storage\n            case 'ostorage': //    Binary Storage Object\n            case 'vstream':  //    Binary Versioned Stream\n            case 'clsid':    //    Class ID\n            case 'cf':       //    Clipboard Data\n                return self::PROPERTY_TYPE_UNKNOWN;\n                break;\n        }\n        return self::PROPERTY_TYPE_UNKNOWN;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/DocumentSecurity.php",
    "content": "<?php\n\n/**\n * PHPExcel_DocumentSecurity\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_DocumentSecurity\n{\n    /**\n     * LockRevision\n     *\n     * @var boolean\n     */\n    private $lockRevision;\n\n    /**\n     * LockStructure\n     *\n     * @var boolean\n     */\n    private $lockStructure;\n\n    /**\n     * LockWindows\n     *\n     * @var boolean\n     */\n    private $lockWindows;\n\n    /**\n     * RevisionsPassword\n     *\n     * @var string\n     */\n    private $revisionsPassword;\n\n    /**\n     * WorkbookPassword\n     *\n     * @var string\n     */\n    private $workbookPassword;\n\n    /**\n     * Create a new PHPExcel_DocumentSecurity\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->lockRevision      = false;\n        $this->lockStructure     = false;\n        $this->lockWindows       = false;\n        $this->revisionsPassword = '';\n        $this->workbookPassword  = '';\n    }\n\n    /**\n     * Is some sort of document security enabled?\n     *\n     * @return boolean\n     */\n    public function isSecurityEnabled()\n    {\n        return  $this->lockRevision ||\n                $this->lockStructure ||\n                $this->lockWindows;\n    }\n\n    /**\n     * Get LockRevision\n     *\n     * @return boolean\n     */\n    public function getLockRevision()\n    {\n        return $this->lockRevision;\n    }\n\n    /**\n     * Set LockRevision\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_DocumentSecurity\n     */\n    public function setLockRevision($pValue = false)\n    {\n        $this->lockRevision = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get LockStructure\n     *\n     * @return boolean\n     */\n    public function getLockStructure()\n    {\n        return $this->lockStructure;\n    }\n\n    /**\n     * Set LockStructure\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_DocumentSecurity\n     */\n    public function setLockStructure($pValue = false)\n    {\n        $this->lockStructure = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get LockWindows\n     *\n     * @return boolean\n     */\n    public function getLockWindows()\n    {\n        return $this->lockWindows;\n    }\n\n    /**\n     * Set LockWindows\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_DocumentSecurity\n     */\n    public function setLockWindows($pValue = false)\n    {\n        $this->lockWindows = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get RevisionsPassword (hashed)\n     *\n     * @return string\n     */\n    public function getRevisionsPassword()\n    {\n        return $this->revisionsPassword;\n    }\n\n    /**\n     * Set RevisionsPassword\n     *\n     * @param string     $pValue\n     * @param boolean     $pAlreadyHashed If the password has already been hashed, set this to true\n     * @return PHPExcel_DocumentSecurity\n     */\n    public function setRevisionsPassword($pValue = '', $pAlreadyHashed = false)\n    {\n        if (!$pAlreadyHashed) {\n            $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue);\n        }\n        $this->revisionsPassword = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get WorkbookPassword (hashed)\n     *\n     * @return string\n     */\n    public function getWorkbookPassword()\n    {\n        return $this->workbookPassword;\n    }\n\n    /**\n     * Set WorkbookPassword\n     *\n     * @param string     $pValue\n     * @param boolean     $pAlreadyHashed If the password has already been hashed, set this to true\n     * @return PHPExcel_DocumentSecurity\n     */\n    public function setWorkbookPassword($pValue = '', $pAlreadyHashed = false)\n    {\n        if (!$pAlreadyHashed) {\n            $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue);\n        }\n        $this->workbookPassword = $pValue;\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Exception.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Exception\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Exception extends Exception\n{\n    /**\n     * Error handler callback\n     *\n     * @param mixed $code\n     * @param mixed $string\n     * @param mixed $file\n     * @param mixed $line\n     * @param mixed $context\n     */\n    public static function errorHandlerCallback($code, $string, $file, $line, $context)\n    {\n        $e = new self($string, $code);\n        $e->line = $line;\n        $e->file = $file;\n        throw $e;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/HashTable.php",
    "content": "<?php\n\n/**\n * PHPExcel_HashTable\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_HashTable\n{\n    /**\n     * HashTable elements\n     *\n     * @var array\n     */\n    protected $items = array();\n\n    /**\n     * HashTable key map\n     *\n     * @var array\n     */\n    protected $keyMap = array();\n\n    /**\n     * Create a new PHPExcel_HashTable\n     *\n     * @param    PHPExcel_IComparable[] $pSource    Optional source array to create HashTable from\n     * @throws    PHPExcel_Exception\n     */\n    public function __construct($pSource = null)\n    {\n        if ($pSource !== null) {\n            // Create HashTable\n            $this->addFromSource($pSource);\n        }\n    }\n\n    /**\n     * Add HashTable items from source\n     *\n     * @param    PHPExcel_IComparable[] $pSource    Source array to create HashTable from\n     * @throws    PHPExcel_Exception\n     */\n    public function addFromSource($pSource = null)\n    {\n        // Check if an array was passed\n        if ($pSource == null) {\n            return;\n        } elseif (!is_array($pSource)) {\n            throw new PHPExcel_Exception('Invalid array parameter passed.');\n        }\n\n        foreach ($pSource as $item) {\n            $this->add($item);\n        }\n    }\n\n    /**\n     * Add HashTable item\n     *\n     * @param    PHPExcel_IComparable $pSource    Item to add\n     * @throws    PHPExcel_Exception\n     */\n    public function add(PHPExcel_IComparable $pSource = null)\n    {\n        $hash = $pSource->getHashCode();\n        if (!isset($this->items[$hash])) {\n            $this->items[$hash] = $pSource;\n            $this->keyMap[count($this->items) - 1] = $hash;\n        }\n    }\n\n    /**\n     * Remove HashTable item\n     *\n     * @param    PHPExcel_IComparable $pSource    Item to remove\n     * @throws    PHPExcel_Exception\n     */\n    public function remove(PHPExcel_IComparable $pSource = null)\n    {\n        $hash = $pSource->getHashCode();\n        if (isset($this->items[$hash])) {\n            unset($this->items[$hash]);\n\n            $deleteKey = -1;\n            foreach ($this->keyMap as $key => $value) {\n                if ($deleteKey >= 0) {\n                    $this->keyMap[$key - 1] = $value;\n                }\n\n                if ($value == $hash) {\n                    $deleteKey = $key;\n                }\n            }\n            unset($this->keyMap[count($this->keyMap) - 1]);\n        }\n    }\n\n    /**\n     * Clear HashTable\n     *\n     */\n    public function clear()\n    {\n        $this->items = array();\n        $this->keyMap = array();\n    }\n\n    /**\n     * Count\n     *\n     * @return int\n     */\n    public function count()\n    {\n        return count($this->items);\n    }\n\n    /**\n     * Get index for hash code\n     *\n     * @param    string    $pHashCode\n     * @return    int    Index\n     */\n    public function getIndexForHashCode($pHashCode = '')\n    {\n        return array_search($pHashCode, $this->keyMap);\n    }\n\n    /**\n     * Get by index\n     *\n     * @param    int    $pIndex\n     * @return    PHPExcel_IComparable\n     *\n     */\n    public function getByIndex($pIndex = 0)\n    {\n        if (isset($this->keyMap[$pIndex])) {\n            return $this->getByHashCode($this->keyMap[$pIndex]);\n        }\n\n        return null;\n    }\n\n    /**\n     * Get by hashcode\n     *\n     * @param    string    $pHashCode\n     * @return    PHPExcel_IComparable\n     *\n     */\n    public function getByHashCode($pHashCode = '')\n    {\n        if (isset($this->items[$pHashCode])) {\n            return $this->items[$pHashCode];\n        }\n\n        return null;\n    }\n\n    /**\n     * HashTable to array\n     *\n     * @return PHPExcel_IComparable[]\n     */\n    public function toArray()\n    {\n        return $this->items;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Helper/HTML.php",
    "content": "<?php\n\nclass PHPExcel_Helper_HTML\n{\n    protected static $colourMap = array(\n        'aliceblue' => 'f0f8ff',\n        'antiquewhite' => 'faebd7',\n        'antiquewhite1' => 'ffefdb',\n        'antiquewhite2' => 'eedfcc',\n        'antiquewhite3' => 'cdc0b0',\n        'antiquewhite4' => '8b8378',\n        'aqua' => '00ffff',\n        'aquamarine1' => '7fffd4',\n        'aquamarine2' => '76eec6',\n        'aquamarine4' => '458b74',\n        'azure1' => 'f0ffff',\n        'azure2' => 'e0eeee',\n        'azure3' => 'c1cdcd',\n        'azure4' => '838b8b',\n        'beige' => 'f5f5dc',\n        'bisque1' => 'ffe4c4',\n        'bisque2' => 'eed5b7',\n        'bisque3' => 'cdb79e',\n        'bisque4' => '8b7d6b',\n        'black' => '000000',\n        'blanchedalmond' => 'ffebcd',\n        'blue' => '0000ff',\n        'blue1' => '0000ff',\n        'blue2' => '0000ee',\n        'blue4' => '00008b',\n        'blueviolet' => '8a2be2',\n        'brown' => 'a52a2a',\n        'brown1' => 'ff4040',\n        'brown2' => 'ee3b3b',\n        'brown3' => 'cd3333',\n        'brown4' => '8b2323',\n        'burlywood' => 'deb887',\n        'burlywood1' => 'ffd39b',\n        'burlywood2' => 'eec591',\n        'burlywood3' => 'cdaa7d',\n        'burlywood4' => '8b7355',\n        'cadetblue' => '5f9ea0',\n        'cadetblue1' => '98f5ff',\n        'cadetblue2' => '8ee5ee',\n        'cadetblue3' => '7ac5cd',\n        'cadetblue4' => '53868b',\n        'chartreuse1' => '7fff00',\n        'chartreuse2' => '76ee00',\n        'chartreuse3' => '66cd00',\n        'chartreuse4' => '458b00',\n        'chocolate' => 'd2691e',\n        'chocolate1' => 'ff7f24',\n        'chocolate2' => 'ee7621',\n        'chocolate3' => 'cd661d',\n        'coral' => 'ff7f50',\n        'coral1' => 'ff7256',\n        'coral2' => 'ee6a50',\n        'coral3' => 'cd5b45',\n        'coral4' => '8b3e2f',\n        'cornflowerblue' => '6495ed',\n        'cornsilk1' => 'fff8dc',\n        'cornsilk2' => 'eee8cd',\n        'cornsilk3' => 'cdc8b1',\n        'cornsilk4' => '8b8878',\n        'cyan1' => '00ffff',\n        'cyan2' => '00eeee',\n        'cyan3' => '00cdcd',\n        'cyan4' => '008b8b',\n        'darkgoldenrod' => 'b8860b',\n        'darkgoldenrod1' => 'ffb90f',\n        'darkgoldenrod2' => 'eead0e',\n        'darkgoldenrod3' => 'cd950c',\n        'darkgoldenrod4' => '8b6508',\n        'darkgreen' => '006400',\n        'darkkhaki' => 'bdb76b',\n        'darkolivegreen' => '556b2f',\n        'darkolivegreen1' => 'caff70',\n        'darkolivegreen2' => 'bcee68',\n        'darkolivegreen3' => 'a2cd5a',\n        'darkolivegreen4' => '6e8b3d',\n        'darkorange' => 'ff8c00',\n        'darkorange1' => 'ff7f00',\n        'darkorange2' => 'ee7600',\n        'darkorange3' => 'cd6600',\n        'darkorange4' => '8b4500',\n        'darkorchid' => '9932cc',\n        'darkorchid1' => 'bf3eff',\n        'darkorchid2' => 'b23aee',\n        'darkorchid3' => '9a32cd',\n        'darkorchid4' => '68228b',\n        'darksalmon' => 'e9967a',\n        'darkseagreen' => '8fbc8f',\n        'darkseagreen1' => 'c1ffc1',\n        'darkseagreen2' => 'b4eeb4',\n        'darkseagreen3' => '9bcd9b',\n        'darkseagreen4' => '698b69',\n        'darkslateblue' => '483d8b',\n        'darkslategray' => '2f4f4f',\n        'darkslategray1' => '97ffff',\n        'darkslategray2' => '8deeee',\n        'darkslategray3' => '79cdcd',\n        'darkslategray4' => '528b8b',\n        'darkturquoise' => '00ced1',\n        'darkviolet' => '9400d3',\n        'deeppink1' => 'ff1493',\n        'deeppink2' => 'ee1289',\n        'deeppink3' => 'cd1076',\n        'deeppink4' => '8b0a50',\n        'deepskyblue1' => '00bfff',\n        'deepskyblue2' => '00b2ee',\n        'deepskyblue3' => '009acd',\n        'deepskyblue4' => '00688b',\n        'dimgray' => '696969',\n        'dodgerblue1' => '1e90ff',\n        'dodgerblue2' => '1c86ee',\n        'dodgerblue3' => '1874cd',\n        'dodgerblue4' => '104e8b',\n        'firebrick' => 'b22222',\n        'firebrick1' => 'ff3030',\n        'firebrick2' => 'ee2c2c',\n        'firebrick3' => 'cd2626',\n        'firebrick4' => '8b1a1a',\n        'floralwhite' => 'fffaf0',\n        'forestgreen' => '228b22',\n        'fuchsia' => 'ff00ff',\n        'gainsboro' => 'dcdcdc',\n        'ghostwhite' => 'f8f8ff',\n        'gold1' => 'ffd700',\n        'gold2' => 'eec900',\n        'gold3' => 'cdad00',\n        'gold4' => '8b7500',\n        'goldenrod' => 'daa520',\n        'goldenrod1' => 'ffc125',\n        'goldenrod2' => 'eeb422',\n        'goldenrod3' => 'cd9b1d',\n        'goldenrod4' => '8b6914',\n        'gray' => 'bebebe',\n        'gray1' => '030303',\n        'gray10' => '1a1a1a',\n        'gray11' => '1c1c1c',\n        'gray12' => '1f1f1f',\n        'gray13' => '212121',\n        'gray14' => '242424',\n        'gray15' => '262626',\n        'gray16' => '292929',\n        'gray17' => '2b2b2b',\n        'gray18' => '2e2e2e',\n        'gray19' => '303030',\n        'gray2' => '050505',\n        'gray20' => '333333',\n        'gray21' => '363636',\n        'gray22' => '383838',\n        'gray23' => '3b3b3b',\n        'gray24' => '3d3d3d',\n        'gray25' => '404040',\n        'gray26' => '424242',\n        'gray27' => '454545',\n        'gray28' => '474747',\n        'gray29' => '4a4a4a',\n        'gray3' => '080808',\n        'gray30' => '4d4d4d',\n        'gray31' => '4f4f4f',\n        'gray32' => '525252',\n        'gray33' => '545454',\n        'gray34' => '575757',\n        'gray35' => '595959',\n        'gray36' => '5c5c5c',\n        'gray37' => '5e5e5e',\n        'gray38' => '616161',\n        'gray39' => '636363',\n        'gray4' => '0a0a0a',\n        'gray40' => '666666',\n        'gray41' => '696969',\n        'gray42' => '6b6b6b',\n        'gray43' => '6e6e6e',\n        'gray44' => '707070',\n        'gray45' => '737373',\n        'gray46' => '757575',\n        'gray47' => '787878',\n        'gray48' => '7a7a7a',\n        'gray49' => '7d7d7d',\n        'gray5' => '0d0d0d',\n        'gray50' => '7f7f7f',\n        'gray51' => '828282',\n        'gray52' => '858585',\n        'gray53' => '878787',\n        'gray54' => '8a8a8a',\n        'gray55' => '8c8c8c',\n        'gray56' => '8f8f8f',\n        'gray57' => '919191',\n        'gray58' => '949494',\n        'gray59' => '969696',\n        'gray6' => '0f0f0f',\n        'gray60' => '999999',\n        'gray61' => '9c9c9c',\n        'gray62' => '9e9e9e',\n        'gray63' => 'a1a1a1',\n        'gray64' => 'a3a3a3',\n        'gray65' => 'a6a6a6',\n        'gray66' => 'a8a8a8',\n        'gray67' => 'ababab',\n        'gray68' => 'adadad',\n        'gray69' => 'b0b0b0',\n        'gray7' => '121212',\n        'gray70' => 'b3b3b3',\n        'gray71' => 'b5b5b5',\n        'gray72' => 'b8b8b8',\n        'gray73' => 'bababa',\n        'gray74' => 'bdbdbd',\n        'gray75' => 'bfbfbf',\n        'gray76' => 'c2c2c2',\n        'gray77' => 'c4c4c4',\n        'gray78' => 'c7c7c7',\n        'gray79' => 'c9c9c9',\n        'gray8' => '141414',\n        'gray80' => 'cccccc',\n        'gray81' => 'cfcfcf',\n        'gray82' => 'd1d1d1',\n        'gray83' => 'd4d4d4',\n        'gray84' => 'd6d6d6',\n        'gray85' => 'd9d9d9',\n        'gray86' => 'dbdbdb',\n        'gray87' => 'dedede',\n        'gray88' => 'e0e0e0',\n        'gray89' => 'e3e3e3',\n        'gray9' => '171717',\n        'gray90' => 'e5e5e5',\n        'gray91' => 'e8e8e8',\n        'gray92' => 'ebebeb',\n        'gray93' => 'ededed',\n        'gray94' => 'f0f0f0',\n        'gray95' => 'f2f2f2',\n        'gray97' => 'f7f7f7',\n        'gray98' => 'fafafa',\n        'gray99' => 'fcfcfc',\n        'green' => '00ff00',\n        'green1' => '00ff00',\n        'green2' => '00ee00',\n        'green3' => '00cd00',\n        'green4' => '008b00',\n        'greenyellow' => 'adff2f',\n        'honeydew1' => 'f0fff0',\n        'honeydew2' => 'e0eee0',\n        'honeydew3' => 'c1cdc1',\n        'honeydew4' => '838b83',\n        'hotpink' => 'ff69b4',\n        'hotpink1' => 'ff6eb4',\n        'hotpink2' => 'ee6aa7',\n        'hotpink3' => 'cd6090',\n        'hotpink4' => '8b3a62',\n        'indianred' => 'cd5c5c',\n        'indianred1' => 'ff6a6a',\n        'indianred2' => 'ee6363',\n        'indianred3' => 'cd5555',\n        'indianred4' => '8b3a3a',\n        'ivory1' => 'fffff0',\n        'ivory2' => 'eeeee0',\n        'ivory3' => 'cdcdc1',\n        'ivory4' => '8b8b83',\n        'khaki' => 'f0e68c',\n        'khaki1' => 'fff68f',\n        'khaki2' => 'eee685',\n        'khaki3' => 'cdc673',\n        'khaki4' => '8b864e',\n        'lavender' => 'e6e6fa',\n        'lavenderblush1' => 'fff0f5',\n        'lavenderblush2' => 'eee0e5',\n        'lavenderblush3' => 'cdc1c5',\n        'lavenderblush4' => '8b8386',\n        'lawngreen' => '7cfc00',\n        'lemonchiffon1' => 'fffacd',\n        'lemonchiffon2' => 'eee9bf',\n        'lemonchiffon3' => 'cdc9a5',\n        'lemonchiffon4' => '8b8970',\n        'light' => 'eedd82',\n        'lightblue' => 'add8e6',\n        'lightblue1' => 'bfefff',\n        'lightblue2' => 'b2dfee',\n        'lightblue3' => '9ac0cd',\n        'lightblue4' => '68838b',\n        'lightcoral' => 'f08080',\n        'lightcyan1' => 'e0ffff',\n        'lightcyan2' => 'd1eeee',\n        'lightcyan3' => 'b4cdcd',\n        'lightcyan4' => '7a8b8b',\n        'lightgoldenrod1' => 'ffec8b',\n        'lightgoldenrod2' => 'eedc82',\n        'lightgoldenrod3' => 'cdbe70',\n        'lightgoldenrod4' => '8b814c',\n        'lightgoldenrodyellow' => 'fafad2',\n        'lightgray' => 'd3d3d3',\n        'lightpink' => 'ffb6c1',\n        'lightpink1' => 'ffaeb9',\n        'lightpink2' => 'eea2ad',\n        'lightpink3' => 'cd8c95',\n        'lightpink4' => '8b5f65',\n        'lightsalmon1' => 'ffa07a',\n        'lightsalmon2' => 'ee9572',\n        'lightsalmon3' => 'cd8162',\n        'lightsalmon4' => '8b5742',\n        'lightseagreen' => '20b2aa',\n        'lightskyblue' => '87cefa',\n        'lightskyblue1' => 'b0e2ff',\n        'lightskyblue2' => 'a4d3ee',\n        'lightskyblue3' => '8db6cd',\n        'lightskyblue4' => '607b8b',\n        'lightslateblue' => '8470ff',\n        'lightslategray' => '778899',\n        'lightsteelblue' => 'b0c4de',\n        'lightsteelblue1' => 'cae1ff',\n        'lightsteelblue2' => 'bcd2ee',\n        'lightsteelblue3' => 'a2b5cd',\n        'lightsteelblue4' => '6e7b8b',\n        'lightyellow1' => 'ffffe0',\n        'lightyellow2' => 'eeeed1',\n        'lightyellow3' => 'cdcdb4',\n        'lightyellow4' => '8b8b7a',\n        'lime' => '00ff00',\n        'limegreen' => '32cd32',\n        'linen' => 'faf0e6',\n        'magenta' => 'ff00ff',\n        'magenta2' => 'ee00ee',\n        'magenta3' => 'cd00cd',\n        'magenta4' => '8b008b',\n        'maroon' => 'b03060',\n        'maroon1' => 'ff34b3',\n        'maroon2' => 'ee30a7',\n        'maroon3' => 'cd2990',\n        'maroon4' => '8b1c62',\n        'medium' => '66cdaa',\n        'mediumaquamarine' => '66cdaa',\n        'mediumblue' => '0000cd',\n        'mediumorchid' => 'ba55d3',\n        'mediumorchid1' => 'e066ff',\n        'mediumorchid2' => 'd15fee',\n        'mediumorchid3' => 'b452cd',\n        'mediumorchid4' => '7a378b',\n        'mediumpurple' => '9370db',\n        'mediumpurple1' => 'ab82ff',\n        'mediumpurple2' => '9f79ee',\n        'mediumpurple3' => '8968cd',\n        'mediumpurple4' => '5d478b',\n        'mediumseagreen' => '3cb371',\n        'mediumslateblue' => '7b68ee',\n        'mediumspringgreen' => '00fa9a',\n        'mediumturquoise' => '48d1cc',\n        'mediumvioletred' => 'c71585',\n        'midnightblue' => '191970',\n        'mintcream' => 'f5fffa',\n        'mistyrose1' => 'ffe4e1',\n        'mistyrose2' => 'eed5d2',\n        'mistyrose3' => 'cdb7b5',\n        'mistyrose4' => '8b7d7b',\n        'moccasin' => 'ffe4b5',\n        'navajowhite1' => 'ffdead',\n        'navajowhite2' => 'eecfa1',\n        'navajowhite3' => 'cdb38b',\n        'navajowhite4' => '8b795e',\n        'navy' => '000080',\n        'navyblue' => '000080',\n        'oldlace' => 'fdf5e6',\n        'olive' => '808000',\n        'olivedrab' => '6b8e23',\n        'olivedrab1' => 'c0ff3e',\n        'olivedrab2' => 'b3ee3a',\n        'olivedrab4' => '698b22',\n        'orange' => 'ffa500',\n        'orange1' => 'ffa500',\n        'orange2' => 'ee9a00',\n        'orange3' => 'cd8500',\n        'orange4' => '8b5a00',\n        'orangered1' => 'ff4500',\n        'orangered2' => 'ee4000',\n        'orangered3' => 'cd3700',\n        'orangered4' => '8b2500',\n        'orchid' => 'da70d6',\n        'orchid1' => 'ff83fa',\n        'orchid2' => 'ee7ae9',\n        'orchid3' => 'cd69c9',\n        'orchid4' => '8b4789',\n        'pale' => 'db7093',\n        'palegoldenrod' => 'eee8aa',\n        'palegreen' => '98fb98',\n        'palegreen1' => '9aff9a',\n        'palegreen2' => '90ee90',\n        'palegreen3' => '7ccd7c',\n        'palegreen4' => '548b54',\n        'paleturquoise' => 'afeeee',\n        'paleturquoise1' => 'bbffff',\n        'paleturquoise2' => 'aeeeee',\n        'paleturquoise3' => '96cdcd',\n        'paleturquoise4' => '668b8b',\n        'palevioletred' => 'db7093',\n        'palevioletred1' => 'ff82ab',\n        'palevioletred2' => 'ee799f',\n        'palevioletred3' => 'cd6889',\n        'palevioletred4' => '8b475d',\n        'papayawhip' => 'ffefd5',\n        'peachpuff1' => 'ffdab9',\n        'peachpuff2' => 'eecbad',\n        'peachpuff3' => 'cdaf95',\n        'peachpuff4' => '8b7765',\n        'pink' => 'ffc0cb',\n        'pink1' => 'ffb5c5',\n        'pink2' => 'eea9b8',\n        'pink3' => 'cd919e',\n        'pink4' => '8b636c',\n        'plum' => 'dda0dd',\n        'plum1' => 'ffbbff',\n        'plum2' => 'eeaeee',\n        'plum3' => 'cd96cd',\n        'plum4' => '8b668b',\n        'powderblue' => 'b0e0e6',\n        'purple' => 'a020f0',\n        'rebeccapurple' => '663399',\n        'purple1' => '9b30ff',\n        'purple2' => '912cee',\n        'purple3' => '7d26cd',\n        'purple4' => '551a8b',\n        'red' => 'ff0000',\n        'red1' => 'ff0000',\n        'red2' => 'ee0000',\n        'red3' => 'cd0000',\n        'red4' => '8b0000',\n        'rosybrown' => 'bc8f8f',\n        'rosybrown1' => 'ffc1c1',\n        'rosybrown2' => 'eeb4b4',\n        'rosybrown3' => 'cd9b9b',\n        'rosybrown4' => '8b6969',\n        'royalblue' => '4169e1',\n        'royalblue1' => '4876ff',\n        'royalblue2' => '436eee',\n        'royalblue3' => '3a5fcd',\n        'royalblue4' => '27408b',\n        'saddlebrown' => '8b4513',\n        'salmon' => 'fa8072',\n        'salmon1' => 'ff8c69',\n        'salmon2' => 'ee8262',\n        'salmon3' => 'cd7054',\n        'salmon4' => '8b4c39',\n        'sandybrown' => 'f4a460',\n        'seagreen1' => '54ff9f',\n        'seagreen2' => '4eee94',\n        'seagreen3' => '43cd80',\n        'seagreen4' => '2e8b57',\n        'seashell1' => 'fff5ee',\n        'seashell2' => 'eee5de',\n        'seashell3' => 'cdc5bf',\n        'seashell4' => '8b8682',\n        'sienna' => 'a0522d',\n        'sienna1' => 'ff8247',\n        'sienna2' => 'ee7942',\n        'sienna3' => 'cd6839',\n        'sienna4' => '8b4726',\n        'silver' => 'c0c0c0',\n        'skyblue' => '87ceeb',\n        'skyblue1' => '87ceff',\n        'skyblue2' => '7ec0ee',\n        'skyblue3' => '6ca6cd',\n        'skyblue4' => '4a708b',\n        'slateblue' => '6a5acd',\n        'slateblue1' => '836fff',\n        'slateblue2' => '7a67ee',\n        'slateblue3' => '6959cd',\n        'slateblue4' => '473c8b',\n        'slategray' => '708090',\n        'slategray1' => 'c6e2ff',\n        'slategray2' => 'b9d3ee',\n        'slategray3' => '9fb6cd',\n        'slategray4' => '6c7b8b',\n        'snow1' => 'fffafa',\n        'snow2' => 'eee9e9',\n        'snow3' => 'cdc9c9',\n        'snow4' => '8b8989',\n        'springgreen1' => '00ff7f',\n        'springgreen2' => '00ee76',\n        'springgreen3' => '00cd66',\n        'springgreen4' => '008b45',\n        'steelblue' => '4682b4',\n        'steelblue1' => '63b8ff',\n        'steelblue2' => '5cacee',\n        'steelblue3' => '4f94cd',\n        'steelblue4' => '36648b',\n        'tan' => 'd2b48c',\n        'tan1' => 'ffa54f',\n        'tan2' => 'ee9a49',\n        'tan3' => 'cd853f',\n        'tan4' => '8b5a2b',\n        'teal' => '008080',\n        'thistle' => 'd8bfd8',\n        'thistle1' => 'ffe1ff',\n        'thistle2' => 'eed2ee',\n        'thistle3' => 'cdb5cd',\n        'thistle4' => '8b7b8b',\n        'tomato1' => 'ff6347',\n        'tomato2' => 'ee5c42',\n        'tomato3' => 'cd4f39',\n        'tomato4' => '8b3626',\n        'turquoise' => '40e0d0',\n        'turquoise1' => '00f5ff',\n        'turquoise2' => '00e5ee',\n        'turquoise3' => '00c5cd',\n        'turquoise4' => '00868b',\n        'violet' => 'ee82ee',\n        'violetred' => 'd02090',\n        'violetred1' => 'ff3e96',\n        'violetred2' => 'ee3a8c',\n        'violetred3' => 'cd3278',\n        'violetred4' => '8b2252',\n        'wheat' => 'f5deb3',\n        'wheat1' => 'ffe7ba',\n        'wheat2' => 'eed8ae',\n        'wheat3' => 'cdba96',\n        'wheat4' => '8b7e66',\n        'white' => 'ffffff',\n        'whitesmoke' => 'f5f5f5',\n        'yellow' => 'ffff00',\n        'yellow1' => 'ffff00',\n        'yellow2' => 'eeee00',\n        'yellow3' => 'cdcd00',\n        'yellow4' => '8b8b00',\n        'yellowgreen' => '9acd32',\n    );\n\n    protected $face;\n    protected $size;\n    protected $color;\n\n    protected $bold = false;\n    protected $italic = false;\n    protected $underline = false;\n    protected $superscript = false;\n    protected $subscript = false;\n    protected $strikethrough = false;\n\n    protected $startTagCallbacks = array(\n        'font' => 'startFontTag',\n        'b' => 'startBoldTag',\n        'strong' => 'startBoldTag',\n        'i' => 'startItalicTag',\n        'em' => 'startItalicTag',\n        'u' => 'startUnderlineTag',\n        'ins' => 'startUnderlineTag',\n        'del' => 'startStrikethruTag',\n        'sup' => 'startSuperscriptTag',\n        'sub' => 'startSubscriptTag',\n    );\n\n    protected $endTagCallbacks = array(\n        'font' => 'endFontTag',\n        'b' => 'endBoldTag',\n        'strong' => 'endBoldTag',\n        'i' => 'endItalicTag',\n        'em' => 'endItalicTag',\n        'u' => 'endUnderlineTag',\n        'ins' => 'endUnderlineTag',\n        'del' => 'endStrikethruTag',\n        'sup' => 'endSuperscriptTag',\n        'sub' => 'endSubscriptTag',\n        'br' => 'breakTag',\n        'p' => 'breakTag',\n        'h1' => 'breakTag',\n        'h2' => 'breakTag',\n        'h3' => 'breakTag',\n        'h4' => 'breakTag',\n        'h5' => 'breakTag',\n        'h6' => 'breakTag',\n    );\n\n    protected $stack = array();\n\n    protected $stringData = '';\n\n    protected $richTextObject;\n\n    protected function initialise()\n    {\n        $this->face = $this->size = $this->color = null;\n        $this->bold = $this->italic = $this->underline = $this->superscript = $this->subscript = $this->strikethrough = false;\n\n        $this->stack = array();\n\n        $this->stringData = '';\n    }\n\n    public function toRichTextObject($html)\n    {\n        $this->initialise();\n\n        //  Create a new DOM object\n        $dom = new \\DOMDocument;\n        //  Load the HTML file into the DOM object\n        //  Note the use of error suppression, because typically this will be an html fragment, so not fully valid markup\n        $loaded = @$dom->loadHTML($html);\n\n        //  Discard excess white space\n        $dom->preserveWhiteSpace = false;\n\n        $this->richTextObject = new PHPExcel_RichText();;\n        $this->parseElements($dom);\n\n        // Clean any further spurious whitespace\n        $this->cleanWhitespace();\n\n        return $this->richTextObject;\n    }\n\n    protected function cleanWhitespace()\n    {\n        foreach ($this->richTextObject->getRichTextElements() as $key => $element) {\n            $text = $element->getText();\n            // Trim any leading spaces on the first run\n            if ($key == 0) {\n                $text = ltrim($text);\n            }\n            // Trim any spaces immediately after a line break\n            $text = preg_replace('/\\n */mu', \"\\n\", $text);\n            $element->setText($text);\n        }\n    }\n\n    protected function buildTextRun()\n    {\n        $text = $this->stringData;\n        if (trim($text) === '') {\n            return;\n        }\n\n        $richtextRun = $this->richTextObject->createTextRun($this->stringData);\n        if ($this->face) {\n            $richtextRun->getFont()->setName($this->face);\n        }\n        if ($this->size) {\n            $richtextRun->getFont()->setSize($this->size);\n        }\n        if ($this->color) {\n            $richtextRun->getFont()->setColor(new PHPExcel_Style_Color('ff' . $this->color));\n        }\n        if ($this->bold) {\n            $richtextRun->getFont()->setBold(true);\n        }\n        if ($this->italic) {\n            $richtextRun->getFont()->setItalic(true);\n        }\n        if ($this->underline) {\n            $richtextRun->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n        }\n        if ($this->superscript) {\n            $richtextRun->getFont()->setSuperScript(true);\n        }\n        if ($this->subscript) {\n            $richtextRun->getFont()->setSubScript(true);\n        }\n        if ($this->strikethrough) {\n            $richtextRun->getFont()->setStrikethrough(true);\n        }\n        $this->stringData = '';\n    }\n\n    protected function rgbToColour($rgb)\n    {\n        preg_match_all('/\\d+/', $rgb, $values);\n        foreach ($values[0] as &$value) {\n            $value = str_pad(dechex($value), 2, '0', STR_PAD_LEFT);\n        }\n        return implode($values[0]);\n    }\n\n    protected function colourNameLookup($rgb)\n    {\n        return self::$colourMap[$rgb];\n    }\n\n    protected function startFontTag($tag)\n    {\n        foreach ($tag->attributes as $attribute) {\n            $attributeName = strtolower($attribute->name);\n            $attributeValue = $attribute->value;\n\n            if ($attributeName == 'color') {\n                if (preg_match('/rgb\\s*\\(/', $attributeValue)) {\n                    $this->$attributeName = $this->rgbToColour($attributeValue);\n                } elseif (strpos(trim($attributeValue), '#') === 0) {\n                    $this->$attributeName = ltrim($attributeValue, '#');\n                } else {\n                    $this->$attributeName = $this->colourNameLookup($attributeValue);\n                }\n            } else {\n                $this->$attributeName = $attributeValue;\n            }\n        }\n    }\n\n    protected function endFontTag()\n    {\n        $this->face = $this->size = $this->color = null;\n    }\n\n    protected function startBoldTag()\n    {\n        $this->bold = true;\n    }\n\n    protected function endBoldTag()\n    {\n        $this->bold = false;\n    }\n\n    protected function startItalicTag()\n    {\n        $this->italic = true;\n    }\n\n    protected function endItalicTag()\n    {\n        $this->italic = false;\n    }\n\n    protected function startUnderlineTag()\n    {\n        $this->underline = true;\n    }\n\n    protected function endUnderlineTag()\n    {\n        $this->underline = false;\n    }\n\n    protected function startSubscriptTag()\n    {\n        $this->subscript = true;\n    }\n\n    protected function endSubscriptTag()\n    {\n        $this->subscript = false;\n    }\n\n    protected function startSuperscriptTag()\n    {\n        $this->superscript = true;\n    }\n\n    protected function endSuperscriptTag()\n    {\n        $this->superscript = false;\n    }\n\n    protected function startStrikethruTag()\n    {\n        $this->strikethrough = true;\n    }\n\n    protected function endStrikethruTag()\n    {\n        $this->strikethrough = false;\n    }\n\n    protected function breakTag()\n    {\n        $this->stringData .= \"\\n\";\n    }\n\n    protected function parseTextNode(DOMText $textNode)\n    {\n        $domText = preg_replace(\n            '/\\s+/u',\n            ' ',\n            str_replace(array(\"\\r\", \"\\n\"), ' ', $textNode->nodeValue)\n        );\n        $this->stringData .= $domText;\n        $this->buildTextRun();\n    }\n\n    protected function handleCallback($element, $callbackTag, $callbacks)\n    {\n        if (isset($callbacks[$callbackTag])) {\n            $elementHandler = $callbacks[$callbackTag];\n            if (method_exists($this, $elementHandler)) {\n                call_user_func(array($this, $elementHandler), $element);\n            }\n        }\n    }\n\n    protected function parseElementNode(DOMElement $element)\n    {\n        $callbackTag = strtolower($element->nodeName);\n        $this->stack[] = $callbackTag;\n\n        $this->handleCallback($element, $callbackTag, $this->startTagCallbacks);\n\n        $this->parseElements($element);\n        array_pop($this->stack);\n\n        $this->handleCallback($element, $callbackTag, $this->endTagCallbacks);\n    }\n\n    protected function parseElements(DOMNode $element)\n    {\n        foreach ($element->childNodes as $child) {\n            if ($child instanceof DOMText) {\n                $this->parseTextNode($child);\n            } elseif ($child instanceof DOMElement) {\n                $this->parseElementNode($child);\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/IComparable.php",
    "content": "<?php\n\n/**\n * PHPExcel_IComparable\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\ninterface PHPExcel_IComparable\n{\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode();\n}\n"
  },
  {
    "path": "Classes/PHPExcel/IOFactory.php",
    "content": "<?php\n\n/**    PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_IOFactory\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_IOFactory\n{\n    /**\n     * Search locations\n     *\n     * @var    array\n     * @access    private\n     * @static\n     */\n    private static $searchLocations = array(\n        array( 'type' => 'IWriter', 'path' => 'PHPExcel/Writer/{0}.php', 'class' => 'PHPExcel_Writer_{0}' ),\n        array( 'type' => 'IReader', 'path' => 'PHPExcel/Reader/{0}.php', 'class' => 'PHPExcel_Reader_{0}' )\n    );\n\n    /**\n     * Autoresolve classes\n     *\n     * @var    array\n     * @access    private\n     * @static\n     */\n    private static $autoResolveClasses = array(\n        'Excel2007',\n        'Excel5',\n        'Excel2003XML',\n        'OOCalc',\n        'SYLK',\n        'Gnumeric',\n        'HTML',\n        'CSV',\n    );\n\n    /**\n     *    Private constructor for PHPExcel_IOFactory\n     */\n    private function __construct()\n    {\n    }\n\n    /**\n     * Get search locations\n     *\n     * @static\n     * @access    public\n     * @return    array\n     */\n    public static function getSearchLocations()\n    {\n        return self::$searchLocations;\n    }\n\n    /**\n     * Set search locations\n     *\n     * @static\n     * @access    public\n     * @param    array $value\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public static function setSearchLocations($value)\n    {\n        if (is_array($value)) {\n            self::$searchLocations = $value;\n        } else {\n            throw new PHPExcel_Reader_Exception('Invalid parameter passed.');\n        }\n    }\n\n    /**\n     * Add search location\n     *\n     * @static\n     * @access    public\n     * @param    string $type        Example: IWriter\n     * @param    string $location    Example: PHPExcel/Writer/{0}.php\n     * @param    string $classname     Example: PHPExcel_Writer_{0}\n     */\n    public static function addSearchLocation($type = '', $location = '', $classname = '')\n    {\n        self::$searchLocations[] = array( 'type' => $type, 'path' => $location, 'class' => $classname );\n    }\n\n    /**\n     * Create PHPExcel_Writer_IWriter\n     *\n     * @static\n     * @access    public\n     * @param    PHPExcel $phpExcel\n     * @param    string  $writerType    Example: Excel2007\n     * @return    PHPExcel_Writer_IWriter\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public static function createWriter(PHPExcel $phpExcel, $writerType = '')\n    {\n        // Search type\n        $searchType = 'IWriter';\n\n        // Include class\n        foreach (self::$searchLocations as $searchLocation) {\n            if ($searchLocation['type'] == $searchType) {\n                $className = str_replace('{0}', $writerType, $searchLocation['class']);\n\n                $instance = new $className($phpExcel);\n                if ($instance !== null) {\n                    return $instance;\n                }\n            }\n        }\n\n        // Nothing found...\n        throw new PHPExcel_Reader_Exception(\"No $searchType found for type $writerType\");\n    }\n\n    /**\n     * Create PHPExcel_Reader_IReader\n     *\n     * @static\n     * @access    public\n     * @param    string $readerType    Example: Excel2007\n     * @return    PHPExcel_Reader_IReader\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public static function createReader($readerType = '')\n    {\n        // Search type\n        $searchType = 'IReader';\n\n        // Include class\n        foreach (self::$searchLocations as $searchLocation) {\n            if ($searchLocation['type'] == $searchType) {\n                $className = str_replace('{0}', $readerType, $searchLocation['class']);\n\n                $instance = new $className();\n                if ($instance !== null) {\n                    return $instance;\n                }\n            }\n        }\n\n        // Nothing found...\n        throw new PHPExcel_Reader_Exception(\"No $searchType found for type $readerType\");\n    }\n\n    /**\n     * Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution\n     *\n     * @static\n     * @access public\n     * @param     string         $pFilename        The name of the spreadsheet file\n     * @return    PHPExcel\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public static function load($pFilename)\n    {\n        $reader = self::createReaderForFile($pFilename);\n        return $reader->load($pFilename);\n    }\n\n    /**\n     * Identify file type using automatic PHPExcel_Reader_IReader resolution\n     *\n     * @static\n     * @access public\n     * @param     string         $pFilename        The name of the spreadsheet file to identify\n     * @return    string\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public static function identify($pFilename)\n    {\n        $reader = self::createReaderForFile($pFilename);\n        $className = get_class($reader);\n        $classType = explode('_', $className);\n        unset($reader);\n        return array_pop($classType);\n    }\n\n    /**\n     * Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution\n     *\n     * @static\n     * @access    public\n     * @param     string         $pFilename        The name of the spreadsheet file\n     * @return    PHPExcel_Reader_IReader\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public static function createReaderForFile($pFilename)\n    {\n        // First, lucky guess by inspecting file extension\n        $pathinfo = pathinfo($pFilename);\n\n        $extensionType = null;\n        if (isset($pathinfo['extension'])) {\n            switch (strtolower($pathinfo['extension'])) {\n                case 'xlsx':            //    Excel (OfficeOpenXML) Spreadsheet\n                case 'xlsm':            //    Excel (OfficeOpenXML) Macro Spreadsheet (macros will be discarded)\n                case 'xltx':            //    Excel (OfficeOpenXML) Template\n                case 'xltm':            //    Excel (OfficeOpenXML) Macro Template (macros will be discarded)\n                    $extensionType = 'Excel2007';\n                    break;\n                case 'xls':                //    Excel (BIFF) Spreadsheet\n                case 'xlt':                //    Excel (BIFF) Template\n                    $extensionType = 'Excel5';\n                    break;\n                case 'ods':                //    Open/Libre Offic Calc\n                case 'ots':                //    Open/Libre Offic Calc Template\n                    $extensionType = 'OOCalc';\n                    break;\n                case 'slk':\n                    $extensionType = 'SYLK';\n                    break;\n                case 'xml':                //    Excel 2003 SpreadSheetML\n                    $extensionType = 'Excel2003XML';\n                    break;\n                case 'gnumeric':\n                    $extensionType = 'Gnumeric';\n                    break;\n                case 'htm':\n                case 'html':\n                    $extensionType = 'HTML';\n                    break;\n                case 'csv':\n                    // Do nothing\n                    // We must not try to use CSV reader since it loads\n                    // all files including Excel files etc.\n                    break;\n                default:\n                    break;\n            }\n\n            if ($extensionType !== null) {\n                $reader = self::createReader($extensionType);\n                // Let's see if we are lucky\n                if (isset($reader) && $reader->canRead($pFilename)) {\n                    return $reader;\n                }\n            }\n        }\n\n        // If we reach here then \"lucky guess\" didn't give any result\n        // Try walking through all the options in self::$autoResolveClasses\n        foreach (self::$autoResolveClasses as $autoResolveClass) {\n            //    Ignore our original guess, we know that won't work\n            if ($autoResolveClass !== $extensionType) {\n                $reader = self::createReader($autoResolveClass);\n                if ($reader->canRead($pFilename)) {\n                    return $reader;\n                }\n            }\n        }\n\n        throw new PHPExcel_Reader_Exception('Unable to identify a reader for this file');\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/NamedRange.php",
    "content": "<?php\n\n/**\n * PHPExcel_NamedRange\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_NamedRange\n{\n    /**\n     * Range name\n     *\n     * @var string\n     */\n    private $name;\n\n    /**\n     * Worksheet on which the named range can be resolved\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $worksheet;\n\n    /**\n     * Range of the referenced cells\n     *\n     * @var string\n     */\n    private $range;\n\n    /**\n     * Is the named range local? (i.e. can only be used on $this->worksheet)\n     *\n     * @var bool\n     */\n    private $localOnly;\n\n    /**\n     * Scope\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $scope;\n\n    /**\n     * Create a new NamedRange\n     *\n     * @param string $pName\n     * @param PHPExcel_Worksheet $pWorksheet\n     * @param string $pRange\n     * @param bool $pLocalOnly\n     * @param PHPExcel_Worksheet|null $pScope    Scope. Only applies when $pLocalOnly = true. Null for global scope.\n     * @throws PHPExcel_Exception\n     */\n    public function __construct($pName = null, PHPExcel_Worksheet $pWorksheet, $pRange = 'A1', $pLocalOnly = false, $pScope = null)\n    {\n        // Validate data\n        if (($pName === null) || ($pWorksheet === null) || ($pRange === null)) {\n            throw new PHPExcel_Exception('Parameters can not be null.');\n        }\n\n        // Set local members\n        $this->name       = $pName;\n        $this->worksheet  = $pWorksheet;\n        $this->range      = $pRange;\n        $this->localOnly  = $pLocalOnly;\n        $this->scope      = ($pLocalOnly == true) ? (($pScope == null) ? $pWorksheet : $pScope) : null;\n    }\n\n    /**\n     * Get name\n     *\n     * @return string\n     */\n    public function getName()\n    {\n        return $this->name;\n    }\n\n    /**\n     * Set name\n     *\n     * @param string $value\n     * @return PHPExcel_NamedRange\n     */\n    public function setName($value = null)\n    {\n        if ($value !== null) {\n            // Old title\n            $oldTitle = $this->name;\n\n            // Re-attach\n            if ($this->worksheet !== null) {\n                $this->worksheet->getParent()->removeNamedRange($this->name, $this->worksheet);\n            }\n            $this->name = $value;\n\n            if ($this->worksheet !== null) {\n                $this->worksheet->getParent()->addNamedRange($this);\n            }\n\n            // New title\n            $newTitle = $this->name;\n            PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->worksheet->getParent(), $oldTitle, $newTitle);\n        }\n        return $this;\n    }\n\n    /**\n     * Get worksheet\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function getWorksheet()\n    {\n        return $this->worksheet;\n    }\n\n    /**\n     * Set worksheet\n     *\n     * @param PHPExcel_Worksheet $value\n     * @return PHPExcel_NamedRange\n     */\n    public function setWorksheet(PHPExcel_Worksheet $value = null)\n    {\n        if ($value !== null) {\n            $this->worksheet = $value;\n        }\n        return $this;\n    }\n\n    /**\n     * Get range\n     *\n     * @return string\n     */\n    public function getRange()\n    {\n        return $this->range;\n    }\n\n    /**\n     * Set range\n     *\n     * @param string $value\n     * @return PHPExcel_NamedRange\n     */\n    public function setRange($value = null)\n    {\n        if ($value !== null) {\n            $this->range = $value;\n        }\n        return $this;\n    }\n\n    /**\n     * Get localOnly\n     *\n     * @return bool\n     */\n    public function getLocalOnly()\n    {\n        return $this->localOnly;\n    }\n\n    /**\n     * Set localOnly\n     *\n     * @param bool $value\n     * @return PHPExcel_NamedRange\n     */\n    public function setLocalOnly($value = false)\n    {\n        $this->localOnly = $value;\n        $this->scope = $value ? $this->worksheet : null;\n        return $this;\n    }\n\n    /**\n     * Get scope\n     *\n     * @return PHPExcel_Worksheet|null\n     */\n    public function getScope()\n    {\n        return $this->scope;\n    }\n\n    /**\n     * Set scope\n     *\n     * @param PHPExcel_Worksheet|null $value\n     * @return PHPExcel_NamedRange\n     */\n    public function setScope(PHPExcel_Worksheet $value = null)\n    {\n        $this->scope = $value;\n        $this->localOnly = ($value == null) ? false : true;\n        return $this;\n    }\n\n    /**\n     * Resolve a named range to a regular cell range\n     *\n     * @param string $pNamedRange Named range\n     * @param PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope\n     * @return PHPExcel_NamedRange\n     */\n    public static function resolveRange($pNamedRange = '', PHPExcel_Worksheet $pSheet)\n    {\n        return $pSheet->getParent()->getNamedRange($pNamedRange, $pSheet);\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Abstract.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_Abstract\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * Read data only?\n     * Identifies whether the Reader should only read data values for cells, and ignore any formatting information;\n     *        or whether it should read both data and formatting\n     *\n     * @var    boolean\n     */\n    protected $readDataOnly = false;\n\n    /**\n     * Read empty cells?\n     * Identifies whether the Reader should read data values for cells all cells, or should ignore cells containing\n     *         null value or empty string\n     *\n     * @var    boolean\n     */\n    protected $readEmptyCells = true;\n\n    /**\n     * Read charts that are defined in the workbook?\n     * Identifies whether the Reader should read the definitions for any charts that exist in the workbook;\n     *\n     * @var    boolean\n     */\n    protected $includeCharts = false;\n\n    /**\n     * Restrict which sheets should be loaded?\n     * This property holds an array of worksheet names to be loaded. If null, then all worksheets will be loaded.\n     *\n     * @var array of string\n     */\n    protected $loadSheetsOnly;\n\n    /**\n     * PHPExcel_Reader_IReadFilter instance\n     *\n     * @var PHPExcel_Reader_IReadFilter\n     */\n    protected $readFilter;\n\n    protected $fileHandle = null;\n\n\n    /**\n     * Read data only?\n     *        If this is true, then the Reader will only read data values for cells, it will not read any formatting information.\n     *        If false (the default) it will read data and formatting.\n     *\n     * @return    boolean\n     */\n    public function getReadDataOnly()\n    {\n        return $this->readDataOnly;\n    }\n\n    /**\n     * Set read data only\n     *        Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information.\n     *        Set to false (the default) to advise the Reader to read both data and formatting for cells.\n     *\n     * @param    boolean    $pValue\n     *\n     * @return    PHPExcel_Reader_IReader\n     */\n    public function setReadDataOnly($pValue = false)\n    {\n        $this->readDataOnly = $pValue;\n        return $this;\n    }\n\n    /**\n     * Read empty cells?\n     *        If this is true (the default), then the Reader will read data values for all cells, irrespective of value.\n     *        If false it will not read data for cells containing a null value or an empty string.\n     *\n     * @return    boolean\n     */\n    public function getReadEmptyCells()\n    {\n        return $this->readEmptyCells;\n    }\n\n    /**\n     * Set read empty cells\n     *        Set to true (the default) to advise the Reader read data values for all cells, irrespective of value.\n     *        Set to false to advise the Reader to ignore cells containing a null value or an empty string.\n     *\n     * @param    boolean    $pValue\n     *\n     * @return    PHPExcel_Reader_IReader\n     */\n    public function setReadEmptyCells($pValue = true)\n    {\n        $this->readEmptyCells = $pValue;\n        return $this;\n    }\n\n    /**\n     * Read charts in workbook?\n     *        If this is true, then the Reader will include any charts that exist in the workbook.\n     *      Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value.\n     *        If false (the default) it will ignore any charts defined in the workbook file.\n     *\n     * @return    boolean\n     */\n    public function getIncludeCharts()\n    {\n        return $this->includeCharts;\n    }\n\n    /**\n     * Set read charts in workbook\n     *        Set to true, to advise the Reader to include any charts that exist in the workbook.\n     *      Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value.\n     *        Set to false (the default) to discard charts.\n     *\n     * @param    boolean    $pValue\n     *\n     * @return    PHPExcel_Reader_IReader\n     */\n    public function setIncludeCharts($pValue = false)\n    {\n        $this->includeCharts = (boolean) $pValue;\n        return $this;\n    }\n\n    /**\n     * Get which sheets to load\n     * Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null\n     *        indicating that all worksheets in the workbook should be loaded.\n     *\n     * @return mixed\n     */\n    public function getLoadSheetsOnly()\n    {\n        return $this->loadSheetsOnly;\n    }\n\n    /**\n     * Set which sheets to load\n     *\n     * @param mixed $value\n     *        This should be either an array of worksheet names to be loaded, or a string containing a single worksheet name.\n     *        If NULL, then it tells the Reader to read all worksheets in the workbook\n     *\n     * @return PHPExcel_Reader_IReader\n     */\n    public function setLoadSheetsOnly($value = null)\n    {\n        if ($value === null) {\n            return $this->setLoadAllSheets();\n        }\n\n        $this->loadSheetsOnly = is_array($value) ? $value : array($value);\n        return $this;\n    }\n\n    /**\n     * Set all sheets to load\n     *        Tells the Reader to load all worksheets from the workbook.\n     *\n     * @return PHPExcel_Reader_IReader\n     */\n    public function setLoadAllSheets()\n    {\n        $this->loadSheetsOnly = null;\n        return $this;\n    }\n\n    /**\n     * Read filter\n     *\n     * @return PHPExcel_Reader_IReadFilter\n     */\n    public function getReadFilter()\n    {\n        return $this->readFilter;\n    }\n\n    /**\n     * Set read filter\n     *\n     * @param PHPExcel_Reader_IReadFilter $pValue\n     * @return PHPExcel_Reader_IReader\n     */\n    public function setReadFilter(PHPExcel_Reader_IReadFilter $pValue)\n    {\n        $this->readFilter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Open file for reading\n     *\n     * @param string $pFilename\n     * @throws    PHPExcel_Reader_Exception\n     * @return resource\n     */\n    protected function openFile($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename) || !is_readable($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        // Open file\n        $this->fileHandle = fopen($pFilename, 'r');\n        if ($this->fileHandle === false) {\n            throw new PHPExcel_Reader_Exception(\"Could not open file \" . $pFilename . \" for reading.\");\n        }\n    }\n\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return boolean\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function canRead($pFilename)\n    {\n        // Check if file exists\n        try {\n            $this->openFile($pFilename);\n        } catch (Exception $e) {\n            return false;\n        }\n\n        $readable = $this->isValidFormat();\n        fclose($this->fileHandle);\n        return $readable;\n    }\n\n    /**\n     * Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks\n     *\n     * @param     string         $xml\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function securityScan($xml)\n    {\n        $pattern = '/\\\\0?' . implode('\\\\0?', str_split('<!DOCTYPE')) . '\\\\0?/';\n        if (preg_match($pattern, $xml)) {\n            throw new PHPExcel_Reader_Exception('Detected use of ENTITY in XML, spreadsheet file load() aborted to prevent XXE/XEE attacks');\n        }\n        return $xml;\n    }\n\n    /**\n     * Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks\n     *\n     * @param     string         $filestream\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function securityScanFile($filestream)\n    {\n        return $this->securityScan(file_get_contents($filestream));\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/CSV.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_CSV\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_CSV extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * Input encoding\n     *\n     * @access    private\n     * @var    string\n     */\n    private $inputEncoding = 'UTF-8';\n\n    /**\n     * Delimiter\n     *\n     * @access    private\n     * @var string\n     */\n    private $delimiter = ',';\n\n    /**\n     * Enclosure\n     *\n     * @access    private\n     * @var    string\n     */\n    private $enclosure = '\"';\n\n    /**\n     * Sheet index to read\n     *\n     * @access    private\n     * @var    int\n     */\n    private $sheetIndex = 0;\n\n    /**\n     * Load rows contiguously\n     *\n     * @access    private\n     * @var    int\n     */\n    private $contiguous = false;\n\n    /**\n     * Row counter for loading rows contiguously\n     *\n     * @var    int\n     */\n    private $contiguousRow = -1;\n\n\n    /**\n     * Create a new PHPExcel_Reader_CSV\n     */\n    public function __construct()\n    {\n        $this->readFilter = new PHPExcel_Reader_DefaultReadFilter();\n    }\n\n    /**\n     * Validate that the current file is a CSV file\n     *\n     * @return boolean\n     */\n    protected function isValidFormat()\n    {\n        return true;\n    }\n\n    /**\n     * Set input encoding\n     *\n     * @param string $pValue Input encoding\n     */\n    public function setInputEncoding($pValue = 'UTF-8')\n    {\n        $this->inputEncoding = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get input encoding\n     *\n     * @return string\n     */\n    public function getInputEncoding()\n    {\n        return $this->inputEncoding;\n    }\n\n    /**\n     * Move filepointer past any BOM marker\n     *\n     */\n    protected function skipBOM()\n    {\n        rewind($this->fileHandle);\n\n        switch ($this->inputEncoding) {\n            case 'UTF-8':\n                fgets($this->fileHandle, 4) == \"\\xEF\\xBB\\xBF\" ?\n                    fseek($this->fileHandle, 3) : fseek($this->fileHandle, 0);\n                break;\n            case 'UTF-16LE':\n                fgets($this->fileHandle, 3) == \"\\xFF\\xFE\" ?\n                    fseek($this->fileHandle, 2) : fseek($this->fileHandle, 0);\n                break;\n            case 'UTF-16BE':\n                fgets($this->fileHandle, 3) == \"\\xFE\\xFF\" ?\n                    fseek($this->fileHandle, 2) : fseek($this->fileHandle, 0);\n                break;\n            case 'UTF-32LE':\n                fgets($this->fileHandle, 5) == \"\\xFF\\xFE\\x00\\x00\" ?\n                    fseek($this->fileHandle, 4) : fseek($this->fileHandle, 0);\n                break;\n            case 'UTF-32BE':\n                fgets($this->fileHandle, 5) == \"\\x00\\x00\\xFE\\xFF\" ?\n                    fseek($this->fileHandle, 4) : fseek($this->fileHandle, 0);\n                break;\n            default:\n                break;\n        }\n    }\n\n    /**\n     * Identify any separator that is explicitly set in the file\n     *\n     */\n    protected function checkSeparator()\n    {\n        $line = fgets($this->fileHandle);\n        if ($line === false) {\n            return;\n        }\n\n        if ((strlen(trim($line, \"\\r\\n\")) == 5) && (stripos($line, 'sep=') === 0)) {\n            $this->delimiter = substr($line, 4, 1);\n            return;\n        }\n        return $this->skipBOM();\n    }\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param     string         $pFilename\n     * @throws    PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Open file\n        $this->openFile($pFilename);\n        if (!$this->isValidFormat()) {\n            fclose($this->fileHandle);\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid Spreadsheet file.\");\n        }\n        $fileHandle = $this->fileHandle;\n\n        // Skip BOM, if any\n        $this->skipBOM();\n        $this->checkSeparator();\n\n        $escapeEnclosures = array( \"\\\\\" . $this->enclosure, $this->enclosure . $this->enclosure );\n\n        $worksheetInfo = array();\n        $worksheetInfo[0]['worksheetName'] = 'Worksheet';\n        $worksheetInfo[0]['lastColumnLetter'] = 'A';\n        $worksheetInfo[0]['lastColumnIndex'] = 0;\n        $worksheetInfo[0]['totalRows'] = 0;\n        $worksheetInfo[0]['totalColumns'] = 0;\n\n        // Loop through each line of the file in turn\n        while (($rowData = fgetcsv($fileHandle, 0, $this->delimiter, $this->enclosure)) !== false) {\n            $worksheetInfo[0]['totalRows']++;\n            $worksheetInfo[0]['lastColumnIndex'] = max($worksheetInfo[0]['lastColumnIndex'], count($rowData) - 1);\n        }\n\n        $worksheetInfo[0]['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($worksheetInfo[0]['lastColumnIndex']);\n        $worksheetInfo[0]['totalColumns'] = $worksheetInfo[0]['lastColumnIndex'] + 1;\n\n        // Close file\n        fclose($fileHandle);\n\n        return $worksheetInfo;\n    }\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return PHPExcel\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Create new PHPExcel\n        $objPHPExcel = new PHPExcel();\n\n        // Load into this instance\n        return $this->loadIntoExisting($pFilename, $objPHPExcel);\n    }\n\n    /**\n     * Loads PHPExcel from file into PHPExcel instance\n     *\n     * @param     string         $pFilename\n     * @param    PHPExcel    $objPHPExcel\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)\n    {\n        $lineEnding = ini_get('auto_detect_line_endings');\n        ini_set('auto_detect_line_endings', true);\n\n        // Open file\n        $this->openFile($pFilename);\n        if (!$this->isValidFormat()) {\n            fclose($this->fileHandle);\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid Spreadsheet file.\");\n        }\n        $fileHandle = $this->fileHandle;\n\n        // Skip BOM, if any\n        $this->skipBOM();\n        $this->checkSeparator();\n\n        // Create new PHPExcel object\n        while ($objPHPExcel->getSheetCount() <= $this->sheetIndex) {\n            $objPHPExcel->createSheet();\n        }\n        $sheet = $objPHPExcel->setActiveSheetIndex($this->sheetIndex);\n\n        $escapeEnclosures = array( \"\\\\\" . $this->enclosure,\n                                   $this->enclosure . $this->enclosure\n                                 );\n\n        // Set our starting row based on whether we're in contiguous mode or not\n        $currentRow = 1;\n        if ($this->contiguous) {\n            $currentRow = ($this->contiguousRow == -1) ? $sheet->getHighestRow(): $this->contiguousRow;\n        }\n\n        // Loop through each line of the file in turn\n        while (($rowData = fgetcsv($fileHandle, 0, $this->delimiter, $this->enclosure)) !== false) {\n            $columnLetter = 'A';\n            foreach ($rowData as $rowDatum) {\n                if ($rowDatum != '' && $this->readFilter->readCell($columnLetter, $currentRow)) {\n                    // Unescape enclosures\n                    $rowDatum = str_replace($escapeEnclosures, $this->enclosure, $rowDatum);\n\n                    // Convert encoding if necessary\n                    if ($this->inputEncoding !== 'UTF-8') {\n                        $rowDatum = PHPExcel_Shared_String::ConvertEncoding($rowDatum, 'UTF-8', $this->inputEncoding);\n                    }\n\n                    // Set cell value\n                    $sheet->getCell($columnLetter . $currentRow)->setValue($rowDatum);\n                }\n                ++$columnLetter;\n            }\n            ++$currentRow;\n        }\n\n        // Close file\n        fclose($fileHandle);\n\n        if ($this->contiguous) {\n            $this->contiguousRow = $currentRow;\n        }\n\n        ini_set('auto_detect_line_endings', $lineEnding);\n\n        // Return\n        return $objPHPExcel;\n    }\n\n    /**\n     * Get delimiter\n     *\n     * @return string\n     */\n    public function getDelimiter()\n    {\n        return $this->delimiter;\n    }\n\n    /**\n     * Set delimiter\n     *\n     * @param    string    $pValue        Delimiter, defaults to ,\n     * @return    PHPExcel_Reader_CSV\n     */\n    public function setDelimiter($pValue = ',')\n    {\n        $this->delimiter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get enclosure\n     *\n     * @return string\n     */\n    public function getEnclosure()\n    {\n        return $this->enclosure;\n    }\n\n    /**\n     * Set enclosure\n     *\n     * @param    string    $pValue        Enclosure, defaults to \"\n     * @return PHPExcel_Reader_CSV\n     */\n    public function setEnclosure($pValue = '\"')\n    {\n        if ($pValue == '') {\n            $pValue = '\"';\n        }\n        $this->enclosure = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get sheet index\n     *\n     * @return integer\n     */\n    public function getSheetIndex()\n    {\n        return $this->sheetIndex;\n    }\n\n    /**\n     * Set sheet index\n     *\n     * @param    integer        $pValue        Sheet index\n     * @return PHPExcel_Reader_CSV\n     */\n    public function setSheetIndex($pValue = 0)\n    {\n        $this->sheetIndex = $pValue;\n        return $this;\n    }\n\n    /**\n     * Set Contiguous\n     *\n     * @param boolean $contiguous\n     */\n    public function setContiguous($contiguous = false)\n    {\n        $this->contiguous = (bool) $contiguous;\n        if (!$contiguous) {\n            $this->contiguousRow = -1;\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get Contiguous\n     *\n     * @return boolean\n     */\n    public function getContiguous()\n    {\n        return $this->contiguous;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/DefaultReadFilter.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_DefaultReadFilter\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_DefaultReadFilter implements PHPExcel_Reader_IReadFilter\n{\n    /**\n     * Should this cell be read?\n     *\n     * @param    $column           Column address (as a string value like \"A\", or \"IV\")\n     * @param    $row              Row number\n     * @param    $worksheetName    Optional worksheet name\n     * @return   boolean\n     */\n    public function readCell($column, $row, $worksheetName = '')\n    {\n        return true;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel2003XML.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_Excel2003XML\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Excel2003XML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * Formats\n     *\n     * @var array\n     */\n    protected $styles = array();\n\n    /**\n     * Character set used in the file\n     *\n     * @var string\n     */\n    protected $charSet = 'UTF-8';\n\n    /**\n     * Create a new PHPExcel_Reader_Excel2003XML\n     */\n    public function __construct()\n    {\n        $this->readFilter = new PHPExcel_Reader_DefaultReadFilter();\n    }\n\n\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return     boolean\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function canRead($pFilename)\n    {\n\n        //    Office                    xmlns:o=\"urn:schemas-microsoft-com:office:office\"\n        //    Excel                    xmlns:x=\"urn:schemas-microsoft-com:office:excel\"\n        //    XML Spreadsheet            xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\"\n        //    Spreadsheet component    xmlns:c=\"urn:schemas-microsoft-com:office:component:spreadsheet\"\n        //    XML schema                 xmlns:s=\"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882\"\n        //    XML data type            xmlns:dt=\"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882\"\n        //    MS-persist recordset    xmlns:rs=\"urn:schemas-microsoft-com:rowset\"\n        //    Rowset                    xmlns:z=\"#RowsetSchema\"\n        //\n\n        $signature = array(\n                '<?xml version=\"1.0\"',\n                '<?mso-application progid=\"Excel.Sheet\"?>'\n            );\n\n        // Open file\n        $this->openFile($pFilename);\n        $fileHandle = $this->fileHandle;\n        \n        // Read sample data (first 2 KB will do)\n        $data = fread($fileHandle, 2048);\n        fclose($fileHandle);\n\n        $valid = true;\n        foreach ($signature as $match) {\n            // every part of the signature must be present\n            if (strpos($data, $match) === false) {\n                $valid = false;\n                break;\n            }\n        }\n\n        //    Retrieve charset encoding\n        if (preg_match('/<?xml.*encoding=[\\'\"](.*?)[\\'\"].*?>/um', $data, $matches)) {\n            $this->charSet = strtoupper($matches[1]);\n        }\n//        echo 'Character Set is ', $this->charSet,'<br />';\n\n        return $valid;\n    }\n\n\n    /**\n     * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object\n     *\n     * @param     string         $pFilename\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function listWorksheetNames($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n        if (!$this->canRead($pFilename)) {\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid Spreadsheet file.\");\n        }\n\n        $worksheetNames = array();\n\n        $xml = simplexml_load_string($this->securityScan(file_get_contents($pFilename)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n        $namespaces = $xml->getNamespaces(true);\n\n        $xml_ss = $xml->children($namespaces['ss']);\n        foreach ($xml_ss->Worksheet as $worksheet) {\n            $worksheet_ss = $worksheet->attributes($namespaces['ss']);\n            $worksheetNames[] = self::convertStringEncoding((string) $worksheet_ss['Name'], $this->charSet);\n        }\n\n        return $worksheetNames;\n    }\n\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param   string     $pFilename\n     * @throws   PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $worksheetInfo = array();\n\n        $xml = simplexml_load_string($this->securityScan(file_get_contents($pFilename)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n        $namespaces = $xml->getNamespaces(true);\n\n        $worksheetID = 1;\n        $xml_ss = $xml->children($namespaces['ss']);\n        foreach ($xml_ss->Worksheet as $worksheet) {\n            $worksheet_ss = $worksheet->attributes($namespaces['ss']);\n\n            $tmpInfo = array();\n            $tmpInfo['worksheetName'] = '';\n            $tmpInfo['lastColumnLetter'] = 'A';\n            $tmpInfo['lastColumnIndex'] = 0;\n            $tmpInfo['totalRows'] = 0;\n            $tmpInfo['totalColumns'] = 0;\n\n            if (isset($worksheet_ss['Name'])) {\n                $tmpInfo['worksheetName'] = (string) $worksheet_ss['Name'];\n            } else {\n                $tmpInfo['worksheetName'] = \"Worksheet_{$worksheetID}\";\n            }\n\n            if (isset($worksheet->Table->Row)) {\n                $rowIndex = 0;\n\n                foreach ($worksheet->Table->Row as $rowData) {\n                    $columnIndex = 0;\n                    $rowHasData = false;\n\n                    foreach ($rowData->Cell as $cell) {\n                        if (isset($cell->Data)) {\n                            $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex);\n                            $rowHasData = true;\n                        }\n\n                        ++$columnIndex;\n                    }\n\n                    ++$rowIndex;\n\n                    if ($rowHasData) {\n                        $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex);\n                    }\n                }\n            }\n\n            $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']);\n            $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1;\n\n            $worksheetInfo[] = $tmpInfo;\n            ++$worksheetID;\n        }\n\n        return $worksheetInfo;\n    }\n\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Create new PHPExcel\n        $objPHPExcel = new PHPExcel();\n        $objPHPExcel->removeSheetByIndex(0);\n\n        // Load into this instance\n        return $this->loadIntoExisting($pFilename, $objPHPExcel);\n    }\n\n    protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue)\n    {\n        $styleAttributeValue = strtolower($styleAttributeValue);\n        foreach ($styleList as $style) {\n            if ($styleAttributeValue == strtolower($style)) {\n                $styleAttributeValue = $style;\n                return true;\n            }\n        }\n        return false;\n    }\n\n    /**\n     * pixel units to excel width units(units of 1/256th of a character width)\n     * @param pxs\n     * @return\n     */\n    protected static function pixel2WidthUnits($pxs)\n    {\n        $UNIT_OFFSET_MAP = array(0, 36, 73, 109, 146, 182, 219);\n\n        $widthUnits = 256 * ($pxs / 7);\n        $widthUnits += $UNIT_OFFSET_MAP[($pxs % 7)];\n        return $widthUnits;\n    }\n\n    /**\n     * excel width units(units of 1/256th of a character width) to pixel units\n     * @param widthUnits\n     * @return\n     */\n    protected static function widthUnits2Pixel($widthUnits)\n    {\n        $pixels = ($widthUnits / 256) * 7;\n        $offsetWidthUnits = $widthUnits % 256;\n        $pixels += round($offsetWidthUnits / (256 / 7));\n        return $pixels;\n    }\n\n    protected static function hex2str($hex)\n    {\n        return chr(hexdec($hex[1]));\n    }\n\n    /**\n     * Loads PHPExcel from file into PHPExcel instance\n     *\n     * @param     string         $pFilename\n     * @param    PHPExcel    $objPHPExcel\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)\n    {\n        $fromFormats    = array('\\-', '\\ ');\n        $toFormats      = array('-', ' ');\n\n        $underlineStyles = array (\n            PHPExcel_Style_Font::UNDERLINE_NONE,\n            PHPExcel_Style_Font::UNDERLINE_DOUBLE,\n            PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING,\n            PHPExcel_Style_Font::UNDERLINE_SINGLE,\n            PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING\n        );\n        $verticalAlignmentStyles = array (\n            PHPExcel_Style_Alignment::VERTICAL_BOTTOM,\n            PHPExcel_Style_Alignment::VERTICAL_TOP,\n            PHPExcel_Style_Alignment::VERTICAL_CENTER,\n            PHPExcel_Style_Alignment::VERTICAL_JUSTIFY\n        );\n        $horizontalAlignmentStyles = array (\n            PHPExcel_Style_Alignment::HORIZONTAL_GENERAL,\n            PHPExcel_Style_Alignment::HORIZONTAL_LEFT,\n            PHPExcel_Style_Alignment::HORIZONTAL_RIGHT,\n            PHPExcel_Style_Alignment::HORIZONTAL_CENTER,\n            PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS,\n            PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY\n        );\n\n        $timezoneObj = new DateTimeZone('Europe/London');\n        $GMT = new DateTimeZone('UTC');\n\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        if (!$this->canRead($pFilename)) {\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid Spreadsheet file.\");\n        }\n\n        $xml = simplexml_load_string($this->securityScan(file_get_contents($pFilename)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n        $namespaces = $xml->getNamespaces(true);\n\n        $docProps = $objPHPExcel->getProperties();\n        if (isset($xml->DocumentProperties[0])) {\n            foreach ($xml->DocumentProperties[0] as $propertyName => $propertyValue) {\n                switch ($propertyName) {\n                    case 'Title':\n                        $docProps->setTitle(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Subject':\n                        $docProps->setSubject(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Author':\n                        $docProps->setCreator(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Created':\n                        $creationDate = strtotime($propertyValue);\n                        $docProps->setCreated($creationDate);\n                        break;\n                    case 'LastAuthor':\n                        $docProps->setLastModifiedBy(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'LastSaved':\n                        $lastSaveDate = strtotime($propertyValue);\n                        $docProps->setModified($lastSaveDate);\n                        break;\n                    case 'Company':\n                        $docProps->setCompany(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Category':\n                        $docProps->setCategory(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Manager':\n                        $docProps->setManager(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Keywords':\n                        $docProps->setKeywords(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                    case 'Description':\n                        $docProps->setDescription(self::convertStringEncoding($propertyValue, $this->charSet));\n                        break;\n                }\n            }\n        }\n        if (isset($xml->CustomDocumentProperties)) {\n            foreach ($xml->CustomDocumentProperties[0] as $propertyName => $propertyValue) {\n                $propertyAttributes = $propertyValue->attributes($namespaces['dt']);\n                $propertyName = preg_replace_callback('/_x([0-9a-z]{4})_/', 'PHPExcel_Reader_Excel2003XML::hex2str', $propertyName);\n                $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_UNKNOWN;\n                switch ((string) $propertyAttributes) {\n                    case 'string':\n                        $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING;\n                        $propertyValue = trim($propertyValue);\n                        break;\n                    case 'boolean':\n                        $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN;\n                        $propertyValue = (bool) $propertyValue;\n                        break;\n                    case 'integer':\n                        $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_INTEGER;\n                        $propertyValue = intval($propertyValue);\n                        break;\n                    case 'float':\n                        $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_FLOAT;\n                        $propertyValue = floatval($propertyValue);\n                        break;\n                    case 'dateTime.tz':\n                        $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE;\n                        $propertyValue = strtotime(trim($propertyValue));\n                        break;\n                }\n                $docProps->setCustomProperty($propertyName, $propertyValue, $propertyType);\n            }\n        }\n\n        foreach ($xml->Styles[0] as $style) {\n            $style_ss = $style->attributes($namespaces['ss']);\n            $styleID = (string) $style_ss['ID'];\n//            echo 'Style ID = '.$styleID.'<br />';\n            $this->styles[$styleID] = (isset($this->styles['Default'])) ? $this->styles['Default'] : array();\n            foreach ($style as $styleType => $styleData) {\n                $styleAttributes = $styleData->attributes($namespaces['ss']);\n//                echo $styleType.'<br />';\n                switch ($styleType) {\n                    case 'Alignment':\n                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {\n//                                echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />';\n                            $styleAttributeValue = (string) $styleAttributeValue;\n                            switch ($styleAttributeKey) {\n                                case 'Vertical':\n                                    if (self::identifyFixedStyleValue($verticalAlignmentStyles, $styleAttributeValue)) {\n                                        $this->styles[$styleID]['alignment']['vertical'] = $styleAttributeValue;\n                                    }\n                                    break;\n                                case 'Horizontal':\n                                    if (self::identifyFixedStyleValue($horizontalAlignmentStyles, $styleAttributeValue)) {\n                                        $this->styles[$styleID]['alignment']['horizontal'] = $styleAttributeValue;\n                                    }\n                                    break;\n                                case 'WrapText':\n                                    $this->styles[$styleID]['alignment']['wrap'] = true;\n                                    break;\n                            }\n                        }\n                        break;\n                    case 'Borders':\n                        foreach ($styleData->Border as $borderStyle) {\n                            $borderAttributes = $borderStyle->attributes($namespaces['ss']);\n                            $thisBorder = array();\n                            foreach ($borderAttributes as $borderStyleKey => $borderStyleValue) {\n//                                    echo $borderStyleKey.' = '.$borderStyleValue.'<br />';\n                                switch ($borderStyleKey) {\n                                    case 'LineStyle':\n                                        $thisBorder['style'] = PHPExcel_Style_Border::BORDER_MEDIUM;\n//                                                $thisBorder['style'] = $borderStyleValue;\n                                        break;\n                                    case 'Weight':\n//                                                $thisBorder['style'] = $borderStyleValue;\n                                        break;\n                                    case 'Position':\n                                        $borderPosition = strtolower($borderStyleValue);\n                                        break;\n                                    case 'Color':\n                                        $borderColour = substr($borderStyleValue, 1);\n                                        $thisBorder['color']['rgb'] = $borderColour;\n                                        break;\n                                }\n                            }\n                            if (!empty($thisBorder)) {\n                                if (($borderPosition == 'left') || ($borderPosition == 'right') || ($borderPosition == 'top') || ($borderPosition == 'bottom')) {\n                                    $this->styles[$styleID]['borders'][$borderPosition] = $thisBorder;\n                                }\n                            }\n                        }\n                        break;\n                    case 'Font':\n                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {\n//                                echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />';\n                            $styleAttributeValue = (string) $styleAttributeValue;\n                            switch ($styleAttributeKey) {\n                                case 'FontName':\n                                    $this->styles[$styleID]['font']['name'] = $styleAttributeValue;\n                                    break;\n                                case 'Size':\n                                    $this->styles[$styleID]['font']['size'] = $styleAttributeValue;\n                                    break;\n                                case 'Color':\n                                    $this->styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue, 1);\n                                    break;\n                                case 'Bold':\n                                    $this->styles[$styleID]['font']['bold'] = true;\n                                    break;\n                                case 'Italic':\n                                    $this->styles[$styleID]['font']['italic'] = true;\n                                    break;\n                                case 'Underline':\n                                    if (self::identifyFixedStyleValue($underlineStyles, $styleAttributeValue)) {\n                                        $this->styles[$styleID]['font']['underline'] = $styleAttributeValue;\n                                    }\n                                    break;\n                            }\n                        }\n                        break;\n                    case 'Interior':\n                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {\n//                                echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />';\n                            switch ($styleAttributeKey) {\n                                case 'Color':\n                                    $this->styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue, 1);\n                                    break;\n                            }\n                        }\n                        break;\n                    case 'NumberFormat':\n                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {\n//                                echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />';\n                            $styleAttributeValue = str_replace($fromFormats, $toFormats, $styleAttributeValue);\n                            switch ($styleAttributeValue) {\n                                case 'Short Date':\n                                    $styleAttributeValue = 'dd/mm/yyyy';\n                                    break;\n                            }\n                            if ($styleAttributeValue > '') {\n                                $this->styles[$styleID]['numberformat']['code'] = $styleAttributeValue;\n                            }\n                        }\n                        break;\n                    case 'Protection':\n                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {\n//                                echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />';\n                        }\n                        break;\n                }\n            }\n//            print_r($this->styles[$styleID]);\n//            echo '<hr />';\n        }\n//        echo '<hr />';\n\n        $worksheetID = 0;\n        $xml_ss = $xml->children($namespaces['ss']);\n\n        foreach ($xml_ss->Worksheet as $worksheet) {\n            $worksheet_ss = $worksheet->attributes($namespaces['ss']);\n\n            if ((isset($this->loadSheetsOnly)) && (isset($worksheet_ss['Name'])) &&\n                (!in_array($worksheet_ss['Name'], $this->loadSheetsOnly))) {\n                continue;\n            }\n\n//            echo '<h3>Worksheet: ', $worksheet_ss['Name'],'<h3>';\n//\n            // Create new Worksheet\n            $objPHPExcel->createSheet();\n            $objPHPExcel->setActiveSheetIndex($worksheetID);\n            if (isset($worksheet_ss['Name'])) {\n                $worksheetName = self::convertStringEncoding((string) $worksheet_ss['Name'], $this->charSet);\n                //    Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in\n                //        formula cells... during the load, all formulae should be correct, and we're simply bringing\n                //        the worksheet name in line with the formula, not the reverse\n                $objPHPExcel->getActiveSheet()->setTitle($worksheetName, false);\n            }\n\n            $columnID = 'A';\n            if (isset($worksheet->Table->Column)) {\n                foreach ($worksheet->Table->Column as $columnData) {\n                    $columnData_ss = $columnData->attributes($namespaces['ss']);\n                    if (isset($columnData_ss['Index'])) {\n                        $columnID = PHPExcel_Cell::stringFromColumnIndex($columnData_ss['Index']-1);\n                    }\n                    if (isset($columnData_ss['Width'])) {\n                        $columnWidth = $columnData_ss['Width'];\n//                        echo '<b>Setting column width for '.$columnID.' to '.$columnWidth.'</b><br />';\n                        $objPHPExcel->getActiveSheet()->getColumnDimension($columnID)->setWidth($columnWidth / 5.4);\n                    }\n                    ++$columnID;\n                }\n            }\n\n            $rowID = 1;\n            if (isset($worksheet->Table->Row)) {\n                $additionalMergedCells = 0;\n                foreach ($worksheet->Table->Row as $rowData) {\n                    $rowHasData = false;\n                    $row_ss = $rowData->attributes($namespaces['ss']);\n                    if (isset($row_ss['Index'])) {\n                        $rowID = (integer) $row_ss['Index'];\n                    }\n//                    echo '<b>Row '.$rowID.'</b><br />';\n\n                    $columnID = 'A';\n                    foreach ($rowData->Cell as $cell) {\n                        $cell_ss = $cell->attributes($namespaces['ss']);\n                        if (isset($cell_ss['Index'])) {\n                            $columnID = PHPExcel_Cell::stringFromColumnIndex($cell_ss['Index']-1);\n                        }\n                        $cellRange = $columnID.$rowID;\n\n                        if ($this->getReadFilter() !== null) {\n                            if (!$this->getReadFilter()->readCell($columnID, $rowID, $worksheetName)) {\n                                continue;\n                            }\n                        }\n\n                        if ((isset($cell_ss['MergeAcross'])) || (isset($cell_ss['MergeDown']))) {\n                            $columnTo = $columnID;\n                            if (isset($cell_ss['MergeAcross'])) {\n                                $additionalMergedCells += (int)$cell_ss['MergeAcross'];\n                                $columnTo = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($columnID) + $cell_ss['MergeAcross'] -1);\n                            }\n                            $rowTo = $rowID;\n                            if (isset($cell_ss['MergeDown'])) {\n                                $rowTo = $rowTo + $cell_ss['MergeDown'];\n                            }\n                            $cellRange .= ':'.$columnTo.$rowTo;\n                            $objPHPExcel->getActiveSheet()->mergeCells($cellRange);\n                        }\n\n                        $cellIsSet = $hasCalculatedValue = false;\n                        $cellDataFormula = '';\n                        if (isset($cell_ss['Formula'])) {\n                            $cellDataFormula = $cell_ss['Formula'];\n                            // added this as a check for array formulas\n                            if (isset($cell_ss['ArrayRange'])) {\n                                $cellDataCSEFormula = $cell_ss['ArrayRange'];\n//                                echo \"found an array formula at \".$columnID.$rowID.\"<br />\";\n                            }\n                            $hasCalculatedValue = true;\n                        }\n                        if (isset($cell->Data)) {\n                            $cellValue = $cellData = $cell->Data;\n                            $type = PHPExcel_Cell_DataType::TYPE_NULL;\n                            $cellData_ss = $cellData->attributes($namespaces['ss']);\n                            if (isset($cellData_ss['Type'])) {\n                                $cellDataType = $cellData_ss['Type'];\n                                switch ($cellDataType) {\n                                    /*\n                                    const TYPE_STRING        = 's';\n                                    const TYPE_FORMULA        = 'f';\n                                    const TYPE_NUMERIC        = 'n';\n                                    const TYPE_BOOL            = 'b';\n                                    const TYPE_NULL            = 'null';\n                                    const TYPE_INLINE        = 'inlineStr';\n                                    const TYPE_ERROR        = 'e';\n                                    */\n                                    case 'String':\n                                        $cellValue = self::convertStringEncoding($cellValue, $this->charSet);\n                                        $type = PHPExcel_Cell_DataType::TYPE_STRING;\n                                        break;\n                                    case 'Number':\n                                        $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                        $cellValue = (float) $cellValue;\n                                        if (floor($cellValue) == $cellValue) {\n                                            $cellValue = (integer) $cellValue;\n                                        }\n                                        break;\n                                    case 'Boolean':\n                                        $type = PHPExcel_Cell_DataType::TYPE_BOOL;\n                                        $cellValue = ($cellValue != 0);\n                                        break;\n                                    case 'DateTime':\n                                        $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                        $cellValue = PHPExcel_Shared_Date::PHPToExcel(strtotime($cellValue));\n                                        break;\n                                    case 'Error':\n                                        $type = PHPExcel_Cell_DataType::TYPE_ERROR;\n                                        break;\n                                }\n                            }\n\n                            if ($hasCalculatedValue) {\n//                                echo 'FORMULA<br />';\n                                $type = PHPExcel_Cell_DataType::TYPE_FORMULA;\n                                $columnNumber = PHPExcel_Cell::columnIndexFromString($columnID);\n                                if (substr($cellDataFormula, 0, 3) == 'of:') {\n                                    $cellDataFormula = substr($cellDataFormula, 3);\n//                                    echo 'Before: ', $cellDataFormula,'<br />';\n                                    $temp = explode('\"', $cellDataFormula);\n                                    $key = false;\n                                    foreach ($temp as &$value) {\n                                        //    Only replace in alternate array entries (i.e. non-quoted blocks)\n                                        if ($key = !$key) {\n                                            $value = str_replace(array('[.', '.', ']'), '', $value);\n                                        }\n                                    }\n                                } else {\n                                    //    Convert R1C1 style references to A1 style references (but only when not quoted)\n//                                    echo 'Before: ', $cellDataFormula,'<br />';\n                                    $temp = explode('\"', $cellDataFormula);\n                                    $key = false;\n                                    foreach ($temp as &$value) {\n                                        //    Only replace in alternate array entries (i.e. non-quoted blocks)\n                                        if ($key = !$key) {\n                                            preg_match_all('/(R(\\[?-?\\d*\\]?))(C(\\[?-?\\d*\\]?))/', $value, $cellReferences, PREG_SET_ORDER + PREG_OFFSET_CAPTURE);\n                                            //    Reverse the matches array, otherwise all our offsets will become incorrect if we modify our way\n                                            //        through the formula from left to right. Reversing means that we work right to left.through\n                                            //        the formula\n                                            $cellReferences = array_reverse($cellReferences);\n                                            //    Loop through each R1C1 style reference in turn, converting it to its A1 style equivalent,\n                                            //        then modify the formula to use that new reference\n                                            foreach ($cellReferences as $cellReference) {\n                                                $rowReference = $cellReference[2][0];\n                                                //    Empty R reference is the current row\n                                                if ($rowReference == '') {\n                                                    $rowReference = $rowID;\n                                                }\n                                                //    Bracketed R references are relative to the current row\n                                                if ($rowReference{0} == '[') {\n                                                    $rowReference = $rowID + trim($rowReference, '[]');\n                                                }\n                                                $columnReference = $cellReference[4][0];\n                                                //    Empty C reference is the current column\n                                                if ($columnReference == '') {\n                                                    $columnReference = $columnNumber;\n                                                }\n                                                //    Bracketed C references are relative to the current column\n                                                if ($columnReference{0} == '[') {\n                                                    $columnReference = $columnNumber + trim($columnReference, '[]');\n                                                }\n                                                $A1CellReference = PHPExcel_Cell::stringFromColumnIndex($columnReference-1).$rowReference;\n                                                $value = substr_replace($value, $A1CellReference, $cellReference[0][1], strlen($cellReference[0][0]));\n                                            }\n                                        }\n                                    }\n                                }\n                                unset($value);\n                                //    Then rebuild the formula string\n                                $cellDataFormula = implode('\"', $temp);\n//                                echo 'After: ', $cellDataFormula,'<br />';\n                            }\n\n//                            echo 'Cell '.$columnID.$rowID.' is a '.$type.' with a value of '.(($hasCalculatedValue) ? $cellDataFormula : $cellValue).'<br />';\n//\n                            $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setValueExplicit((($hasCalculatedValue) ? $cellDataFormula : $cellValue), $type);\n                            if ($hasCalculatedValue) {\n//                                echo 'Formula result is '.$cellValue.'<br />';\n                                $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setCalculatedValue($cellValue);\n                            }\n                            $cellIsSet = $rowHasData = true;\n                        }\n\n                        if (isset($cell->Comment)) {\n//                            echo '<b>comment found</b><br />';\n                            $commentAttributes = $cell->Comment->attributes($namespaces['ss']);\n                            $author = 'unknown';\n                            if (isset($commentAttributes->Author)) {\n                                $author = (string)$commentAttributes->Author;\n//                                echo 'Author: ', $author,'<br />';\n                            }\n                            $node = $cell->Comment->Data->asXML();\n//                            $annotation = str_replace('html:','',substr($node,49,-10));\n//                            echo $annotation,'<br />';\n                            $annotation = strip_tags($node);\n//                            echo 'Annotation: ', $annotation,'<br />';\n                            $objPHPExcel->getActiveSheet()->getComment($columnID.$rowID)->setAuthor(self::convertStringEncoding($author, $this->charSet))->setText($this->parseRichText($annotation));\n                        }\n\n                        if (($cellIsSet) && (isset($cell_ss['StyleID']))) {\n                            $style = (string) $cell_ss['StyleID'];\n//                            echo 'Cell style for '.$columnID.$rowID.' is '.$style.'<br />';\n                            if ((isset($this->styles[$style])) && (!empty($this->styles[$style]))) {\n//                                echo 'Cell '.$columnID.$rowID.'<br />';\n//                                print_r($this->styles[$style]);\n//                                echo '<br />';\n                                if (!$objPHPExcel->getActiveSheet()->cellExists($columnID.$rowID)) {\n                                    $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setValue(null);\n                                }\n                                $objPHPExcel->getActiveSheet()->getStyle($cellRange)->applyFromArray($this->styles[$style]);\n                            }\n                        }\n                        ++$columnID;\n                        while ($additionalMergedCells > 0) {\n                            ++$columnID;\n                            $additionalMergedCells--;\n                        }\n                    }\n\n                    if ($rowHasData) {\n                        if (isset($row_ss['StyleID'])) {\n                            $rowStyle = $row_ss['StyleID'];\n                        }\n                        if (isset($row_ss['Height'])) {\n                            $rowHeight = $row_ss['Height'];\n//                            echo '<b>Setting row height to '.$rowHeight.'</b><br />';\n                            $objPHPExcel->getActiveSheet()->getRowDimension($rowID)->setRowHeight($rowHeight);\n                        }\n                    }\n\n                    ++$rowID;\n                }\n            }\n            ++$worksheetID;\n        }\n\n        // Return\n        return $objPHPExcel;\n    }\n\n\n    protected static function convertStringEncoding($string, $charset)\n    {\n        if ($charset != 'UTF-8') {\n            return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', $charset);\n        }\n        return $string;\n    }\n\n\n    protected function parseRichText($is = '')\n    {\n        $value = new PHPExcel_RichText();\n\n        $value->createText(self::convertStringEncoding($is, $this->charSet));\n\n        return $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel2007/Chart.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Reader_Excel2007\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\n\n/**\n * PHPExcel_Reader_Excel2007_Chart\n *\n * @category    PHPExcel\n * @package        PHPExcel_Reader_Excel2007\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Reader_Excel2007_Chart\n{\n    private static function getAttribute($component, $name, $format)\n    {\n        $attributes = $component->attributes();\n        if (isset($attributes[$name])) {\n            if ($format == 'string') {\n                return (string) $attributes[$name];\n            } elseif ($format == 'integer') {\n                return (integer) $attributes[$name];\n            } elseif ($format == 'boolean') {\n                return (boolean) ($attributes[$name] === '0' || $attributes[$name] !== 'true') ? false : true;\n            } else {\n                return (float) $attributes[$name];\n            }\n        }\n        return null;\n    }\n\n\n    private static function readColor($color, $background = false)\n    {\n        if (isset($color[\"rgb\"])) {\n            return (string)$color[\"rgb\"];\n        } elseif (isset($color[\"indexed\"])) {\n            return PHPExcel_Style_Color::indexedColor($color[\"indexed\"]-7, $background)->getARGB();\n        }\n    }\n\n    public static function readChart($chartElements, $chartName)\n    {\n        $namespacesChartMeta = $chartElements->getNamespaces(true);\n        $chartElementsC = $chartElements->children($namespacesChartMeta['c']);\n\n        $XaxisLabel = $YaxisLabel = $legend = $title = null;\n        $dispBlanksAs = $plotVisOnly = null;\n\n        foreach ($chartElementsC as $chartElementKey => $chartElement) {\n            switch ($chartElementKey) {\n                case \"chart\":\n                    foreach ($chartElement as $chartDetailsKey => $chartDetails) {\n                        $chartDetailsC = $chartDetails->children($namespacesChartMeta['c']);\n                        switch ($chartDetailsKey) {\n                            case \"plotArea\":\n                                $plotAreaLayout = $XaxisLable = $YaxisLable = null;\n                                $plotSeries = $plotAttributes = array();\n                                foreach ($chartDetails as $chartDetailKey => $chartDetail) {\n                                    switch ($chartDetailKey) {\n                                        case \"layout\":\n                                            $plotAreaLayout = self::chartLayoutDetails($chartDetail, $namespacesChartMeta, 'plotArea');\n                                            break;\n                                        case \"catAx\":\n                                            if (isset($chartDetail->title)) {\n                                                $XaxisLabel = self::chartTitle($chartDetail->title->children($namespacesChartMeta['c']), $namespacesChartMeta, 'cat');\n                                            }\n                                            break;\n                                        case \"dateAx\":\n                                            if (isset($chartDetail->title)) {\n                                                $XaxisLabel = self::chartTitle($chartDetail->title->children($namespacesChartMeta['c']), $namespacesChartMeta, 'cat');\n                                            }\n                                            break;\n                                        case \"valAx\":\n                                            if (isset($chartDetail->title)) {\n                                                $YaxisLabel = self::chartTitle($chartDetail->title->children($namespacesChartMeta['c']), $namespacesChartMeta, 'cat');\n                                            }\n                                            break;\n                                        case \"barChart\":\n                                        case \"bar3DChart\":\n                                            $barDirection = self::getAttribute($chartDetail->barDir, 'val', 'string');\n                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotSer->setPlotDirection($barDirection);\n                                            $plotSeries[] = $plotSer;\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"lineChart\":\n                                        case \"line3DChart\":\n                                            $plotSeries[] = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"areaChart\":\n                                        case \"area3DChart\":\n                                            $plotSeries[] = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"doughnutChart\":\n                                        case \"pieChart\":\n                                        case \"pie3DChart\":\n                                            $explosion = isset($chartDetail->ser->explosion);\n                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotSer->setPlotStyle($explosion);\n                                            $plotSeries[] = $plotSer;\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"scatterChart\":\n                                            $scatterStyle = self::getAttribute($chartDetail->scatterStyle, 'val', 'string');\n                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotSer->setPlotStyle($scatterStyle);\n                                            $plotSeries[] = $plotSer;\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"bubbleChart\":\n                                            $bubbleScale = self::getAttribute($chartDetail->bubbleScale, 'val', 'integer');\n                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotSer->setPlotStyle($bubbleScale);\n                                            $plotSeries[] = $plotSer;\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"radarChart\":\n                                            $radarStyle = self::getAttribute($chartDetail->radarStyle, 'val', 'string');\n                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotSer->setPlotStyle($radarStyle);\n                                            $plotSeries[] = $plotSer;\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"surfaceChart\":\n                                        case \"surface3DChart\":\n                                            $wireFrame = self::getAttribute($chartDetail->wireframe, 'val', 'boolean');\n                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotSer->setPlotStyle($wireFrame);\n                                            $plotSeries[] = $plotSer;\n                                            $plotAttributes = self::readChartAttributes($chartDetail);\n                                            break;\n                                        case \"stockChart\":\n                                            $plotSeries[] = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);\n                                            $plotAttributes = self::readChartAttributes($plotAreaLayout);\n                                            break;\n                                    }\n                                }\n                                if ($plotAreaLayout == null) {\n                                    $plotAreaLayout = new PHPExcel_Chart_Layout();\n                                }\n                                $plotArea = new PHPExcel_Chart_PlotArea($plotAreaLayout, $plotSeries);\n                                self::setChartAttributes($plotAreaLayout, $plotAttributes);\n                                break;\n                            case \"plotVisOnly\":\n                                $plotVisOnly = self::getAttribute($chartDetails, 'val', 'string');\n                                break;\n                            case \"dispBlanksAs\":\n                                $dispBlanksAs = self::getAttribute($chartDetails, 'val', 'string');\n                                break;\n                            case \"title\":\n                                $title = self::chartTitle($chartDetails, $namespacesChartMeta, 'title');\n                                break;\n                            case \"legend\":\n                                $legendPos = 'r';\n                                $legendLayout = null;\n                                $legendOverlay = false;\n                                foreach ($chartDetails as $chartDetailKey => $chartDetail) {\n                                    switch ($chartDetailKey) {\n                                        case \"legendPos\":\n                                            $legendPos = self::getAttribute($chartDetail, 'val', 'string');\n                                            break;\n                                        case \"overlay\":\n                                            $legendOverlay = self::getAttribute($chartDetail, 'val', 'boolean');\n                                            break;\n                                        case \"layout\":\n                                            $legendLayout = self::chartLayoutDetails($chartDetail, $namespacesChartMeta, 'legend');\n                                            break;\n                                    }\n                                }\n                                $legend = new PHPExcel_Chart_Legend($legendPos, $legendLayout, $legendOverlay);\n                                break;\n                        }\n                    }\n            }\n        }\n        $chart = new PHPExcel_Chart($chartName, $title, $legend, $plotArea, $plotVisOnly, $dispBlanksAs, $XaxisLabel, $YaxisLabel);\n\n        return $chart;\n    }\n\n    private static function chartTitle($titleDetails, $namespacesChartMeta, $type)\n    {\n        $caption = array();\n        $titleLayout = null;\n        foreach ($titleDetails as $titleDetailKey => $chartDetail) {\n            switch ($titleDetailKey) {\n                case \"tx\":\n                    $titleDetails = $chartDetail->rich->children($namespacesChartMeta['a']);\n                    foreach ($titleDetails as $titleKey => $titleDetail) {\n                        switch ($titleKey) {\n                            case \"p\":\n                                $titleDetailPart = $titleDetail->children($namespacesChartMeta['a']);\n                                $caption[] = self::parseRichText($titleDetailPart);\n                        }\n                    }\n                    break;\n                case \"layout\":\n                    $titleLayout = self::chartLayoutDetails($chartDetail, $namespacesChartMeta);\n                    break;\n            }\n        }\n\n        return new PHPExcel_Chart_Title($caption, $titleLayout);\n    }\n\n    private static function chartLayoutDetails($chartDetail, $namespacesChartMeta)\n    {\n        if (!isset($chartDetail->manualLayout)) {\n            return null;\n        }\n        $details = $chartDetail->manualLayout->children($namespacesChartMeta['c']);\n        if (is_null($details)) {\n            return null;\n        }\n        $layout = array();\n        foreach ($details as $detailKey => $detail) {\n//            echo $detailKey, ' => ',self::getAttribute($detail, 'val', 'string'),PHP_EOL;\n            $layout[$detailKey] = self::getAttribute($detail, 'val', 'string');\n        }\n        return new PHPExcel_Chart_Layout($layout);\n    }\n\n    private static function chartDataSeries($chartDetail, $namespacesChartMeta, $plotType)\n    {\n        $multiSeriesType = null;\n        $smoothLine = false;\n        $seriesLabel = $seriesCategory = $seriesValues = $plotOrder = array();\n\n        $seriesDetailSet = $chartDetail->children($namespacesChartMeta['c']);\n        foreach ($seriesDetailSet as $seriesDetailKey => $seriesDetails) {\n            switch ($seriesDetailKey) {\n                case \"grouping\":\n                    $multiSeriesType = self::getAttribute($chartDetail->grouping, 'val', 'string');\n                    break;\n                case \"ser\":\n                    $marker = null;\n                    foreach ($seriesDetails as $seriesKey => $seriesDetail) {\n                        switch ($seriesKey) {\n                            case \"idx\":\n                                $seriesIndex = self::getAttribute($seriesDetail, 'val', 'integer');\n                                break;\n                            case \"order\":\n                                $seriesOrder = self::getAttribute($seriesDetail, 'val', 'integer');\n                                $plotOrder[$seriesIndex] = $seriesOrder;\n                                break;\n                            case \"tx\":\n                                $seriesLabel[$seriesIndex] = self::chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta);\n                                break;\n                            case \"marker\":\n                                $marker = self::getAttribute($seriesDetail->symbol, 'val', 'string');\n                                break;\n                            case \"smooth\":\n                                $smoothLine = self::getAttribute($seriesDetail, 'val', 'boolean');\n                                break;\n                            case \"cat\":\n                                $seriesCategory[$seriesIndex] = self::chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta);\n                                break;\n                            case \"val\":\n                                $seriesValues[$seriesIndex] = self::chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta, $marker);\n                                break;\n                            case \"xVal\":\n                                $seriesCategory[$seriesIndex] = self::chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta, $marker);\n                                break;\n                            case \"yVal\":\n                                $seriesValues[$seriesIndex] = self::chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta, $marker);\n                                break;\n                        }\n                    }\n            }\n        }\n        return new PHPExcel_Chart_DataSeries($plotType, $multiSeriesType, $plotOrder, $seriesLabel, $seriesCategory, $seriesValues, $smoothLine);\n    }\n\n\n    private static function chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta, $marker = null, $smoothLine = false)\n    {\n        if (isset($seriesDetail->strRef)) {\n            $seriesSource = (string) $seriesDetail->strRef->f;\n            $seriesData = self::chartDataSeriesValues($seriesDetail->strRef->strCache->children($namespacesChartMeta['c']), 's');\n\n            return new PHPExcel_Chart_DataSeriesValues('String', $seriesSource, $seriesData['formatCode'], $seriesData['pointCount'], $seriesData['dataValues'], $marker, $smoothLine);\n        } elseif (isset($seriesDetail->numRef)) {\n            $seriesSource = (string) $seriesDetail->numRef->f;\n            $seriesData = self::chartDataSeriesValues($seriesDetail->numRef->numCache->children($namespacesChartMeta['c']));\n\n            return new PHPExcel_Chart_DataSeriesValues('Number', $seriesSource, $seriesData['formatCode'], $seriesData['pointCount'], $seriesData['dataValues'], $marker, $smoothLine);\n        } elseif (isset($seriesDetail->multiLvlStrRef)) {\n            $seriesSource = (string) $seriesDetail->multiLvlStrRef->f;\n            $seriesData = self::chartDataSeriesValuesMultiLevel($seriesDetail->multiLvlStrRef->multiLvlStrCache->children($namespacesChartMeta['c']), 's');\n            $seriesData['pointCount'] = count($seriesData['dataValues']);\n\n            return new PHPExcel_Chart_DataSeriesValues('String', $seriesSource, $seriesData['formatCode'], $seriesData['pointCount'], $seriesData['dataValues'], $marker, $smoothLine);\n        } elseif (isset($seriesDetail->multiLvlNumRef)) {\n            $seriesSource = (string) $seriesDetail->multiLvlNumRef->f;\n            $seriesData = self::chartDataSeriesValuesMultiLevel($seriesDetail->multiLvlNumRef->multiLvlNumCache->children($namespacesChartMeta['c']), 's');\n            $seriesData['pointCount'] = count($seriesData['dataValues']);\n\n            return new PHPExcel_Chart_DataSeriesValues('String', $seriesSource, $seriesData['formatCode'], $seriesData['pointCount'], $seriesData['dataValues'], $marker, $smoothLine);\n        }\n        return null;\n    }\n\n\n    private static function chartDataSeriesValues($seriesValueSet, $dataType = 'n')\n    {\n        $seriesVal = array();\n        $formatCode = '';\n        $pointCount = 0;\n\n        foreach ($seriesValueSet as $seriesValueIdx => $seriesValue) {\n            switch ($seriesValueIdx) {\n                case 'ptCount':\n                    $pointCount = self::getAttribute($seriesValue, 'val', 'integer');\n                    break;\n                case 'formatCode':\n                    $formatCode = (string) $seriesValue;\n                    break;\n                case 'pt':\n                    $pointVal = self::getAttribute($seriesValue, 'idx', 'integer');\n                    if ($dataType == 's') {\n                        $seriesVal[$pointVal] = (string) $seriesValue->v;\n                    } else {\n                        $seriesVal[$pointVal] = (float) $seriesValue->v;\n                    }\n                    break;\n            }\n        }\n\n        return array(\n            'formatCode'    => $formatCode,\n            'pointCount'    => $pointCount,\n            'dataValues'    => $seriesVal\n        );\n    }\n\n    private static function chartDataSeriesValuesMultiLevel($seriesValueSet, $dataType = 'n')\n    {\n        $seriesVal = array();\n        $formatCode = '';\n        $pointCount = 0;\n\n        foreach ($seriesValueSet->lvl as $seriesLevelIdx => $seriesLevel) {\n            foreach ($seriesLevel as $seriesValueIdx => $seriesValue) {\n                switch ($seriesValueIdx) {\n                    case 'ptCount':\n                        $pointCount = self::getAttribute($seriesValue, 'val', 'integer');\n                        break;\n                    case 'formatCode':\n                        $formatCode = (string) $seriesValue;\n                        break;\n                    case 'pt':\n                        $pointVal = self::getAttribute($seriesValue, 'idx', 'integer');\n                        if ($dataType == 's') {\n                            $seriesVal[$pointVal][] = (string) $seriesValue->v;\n                        } else {\n                            $seriesVal[$pointVal][] = (float) $seriesValue->v;\n                        }\n                        break;\n                }\n            }\n        }\n\n        return array(\n            'formatCode'    => $formatCode,\n            'pointCount'    => $pointCount,\n            'dataValues'    => $seriesVal\n        );\n    }\n\n    private static function parseRichText($titleDetailPart = null)\n    {\n        $value = new PHPExcel_RichText();\n\n        foreach ($titleDetailPart as $titleDetailElementKey => $titleDetailElement) {\n            if (isset($titleDetailElement->t)) {\n                $objText = $value->createTextRun((string) $titleDetailElement->t);\n            }\n            if (isset($titleDetailElement->rPr)) {\n                if (isset($titleDetailElement->rPr->rFont[\"val\"])) {\n                    $objText->getFont()->setName((string) $titleDetailElement->rPr->rFont[\"val\"]);\n                }\n\n                $fontSize = (self::getAttribute($titleDetailElement->rPr, 'sz', 'integer'));\n                if (!is_null($fontSize)) {\n                    $objText->getFont()->setSize(floor($fontSize / 100));\n                }\n\n                $fontColor = (self::getAttribute($titleDetailElement->rPr, 'color', 'string'));\n                if (!is_null($fontColor)) {\n                    $objText->getFont()->setColor(new PHPExcel_Style_Color(self::readColor($fontColor)));\n                }\n\n                $bold = self::getAttribute($titleDetailElement->rPr, 'b', 'boolean');\n                if (!is_null($bold)) {\n                    $objText->getFont()->setBold($bold);\n                }\n\n                $italic = self::getAttribute($titleDetailElement->rPr, 'i', 'boolean');\n                if (!is_null($italic)) {\n                    $objText->getFont()->setItalic($italic);\n                }\n\n                $baseline = self::getAttribute($titleDetailElement->rPr, 'baseline', 'integer');\n                if (!is_null($baseline)) {\n                    if ($baseline > 0) {\n                        $objText->getFont()->setSuperScript(true);\n                    } elseif ($baseline < 0) {\n                        $objText->getFont()->setSubScript(true);\n                    }\n                }\n\n                $underscore = (self::getAttribute($titleDetailElement->rPr, 'u', 'string'));\n                if (!is_null($underscore)) {\n                    if ($underscore == 'sng') {\n                        $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n                    } elseif ($underscore == 'dbl') {\n                        $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE);\n                    } else {\n                        $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_NONE);\n                    }\n                }\n\n                $strikethrough = (self::getAttribute($titleDetailElement->rPr, 's', 'string'));\n                if (!is_null($strikethrough)) {\n                    if ($strikethrough == 'noStrike') {\n                        $objText->getFont()->setStrikethrough(false);\n                    } else {\n                        $objText->getFont()->setStrikethrough(true);\n                    }\n                }\n            }\n        }\n\n        return $value;\n    }\n\n    private static function readChartAttributes($chartDetail)\n    {\n        $plotAttributes = array();\n        if (isset($chartDetail->dLbls)) {\n            if (isset($chartDetail->dLbls->howLegendKey)) {\n                $plotAttributes['showLegendKey'] = self::getAttribute($chartDetail->dLbls->showLegendKey, 'val', 'string');\n            }\n            if (isset($chartDetail->dLbls->showVal)) {\n                $plotAttributes['showVal'] = self::getAttribute($chartDetail->dLbls->showVal, 'val', 'string');\n            }\n            if (isset($chartDetail->dLbls->showCatName)) {\n                $plotAttributes['showCatName'] = self::getAttribute($chartDetail->dLbls->showCatName, 'val', 'string');\n            }\n            if (isset($chartDetail->dLbls->showSerName)) {\n                $plotAttributes['showSerName'] = self::getAttribute($chartDetail->dLbls->showSerName, 'val', 'string');\n            }\n            if (isset($chartDetail->dLbls->showPercent)) {\n                $plotAttributes['showPercent'] = self::getAttribute($chartDetail->dLbls->showPercent, 'val', 'string');\n            }\n            if (isset($chartDetail->dLbls->showBubbleSize)) {\n                $plotAttributes['showBubbleSize'] = self::getAttribute($chartDetail->dLbls->showBubbleSize, 'val', 'string');\n            }\n            if (isset($chartDetail->dLbls->showLeaderLines)) {\n                $plotAttributes['showLeaderLines'] = self::getAttribute($chartDetail->dLbls->showLeaderLines, 'val', 'string');\n            }\n        }\n\n        return $plotAttributes;\n    }\n\n    private static function setChartAttributes($plotArea, $plotAttributes)\n    {\n        foreach ($plotAttributes as $plotAttributeKey => $plotAttributeValue) {\n            switch ($plotAttributeKey) {\n                case 'showLegendKey':\n                    $plotArea->setShowLegendKey($plotAttributeValue);\n                    break;\n                case 'showVal':\n                    $plotArea->setShowVal($plotAttributeValue);\n                    break;\n                case 'showCatName':\n                    $plotArea->setShowCatName($plotAttributeValue);\n                    break;\n                case 'showSerName':\n                    $plotArea->setShowSerName($plotAttributeValue);\n                    break;\n                case 'showPercent':\n                    $plotArea->setShowPercent($plotAttributeValue);\n                    break;\n                case 'showBubbleSize':\n                    $plotArea->setShowBubbleSize($plotAttributeValue);\n                    break;\n                case 'showLeaderLines':\n                    $plotArea->setShowLeaderLines($plotAttributeValue);\n                    break;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel2007/Theme.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Reader_Excel2007_Theme\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Reader_Excel2007_Theme\n{\n    /**\n     * Theme Name\n     *\n     * @var string\n     */\n    private $themeName;\n\n    /**\n     * Colour Scheme Name\n     *\n     * @var string\n     */\n    private $colourSchemeName;\n\n    /**\n     * Colour Map indexed by position\n     *\n     * @var array of string\n     */\n    private $colourMapValues;\n\n\n    /**\n     * Colour Map\n     *\n     * @var array of string\n     */\n    private $colourMap;\n\n\n    /**\n     * Create a new PHPExcel_Theme\n     *\n     */\n    public function __construct($themeName, $colourSchemeName, $colourMap)\n    {\n        // Initialise values\n        $this->themeName        = $themeName;\n        $this->colourSchemeName = $colourSchemeName;\n        $this->colourMap        = $colourMap;\n    }\n\n    /**\n     * Get Theme Name\n     *\n     * @return string\n     */\n    public function getThemeName()\n    {\n        return $this->themeName;\n    }\n\n    /**\n     * Get colour Scheme Name\n     *\n     * @return string\n     */\n    public function getColourSchemeName()\n    {\n        return $this->colourSchemeName;\n    }\n\n    /**\n     * Get colour Map Value by Position\n     *\n     * @return string\n     */\n    public function getColourByIndex($index = 0)\n    {\n        if (isset($this->colourMap[$index])) {\n            return $this->colourMap[$index];\n        }\n        return null;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if ((is_object($value)) && ($key != '_parent')) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel2007.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_Excel2007\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Excel2007 extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * PHPExcel_ReferenceHelper instance\n     *\n     * @var PHPExcel_ReferenceHelper\n     */\n    private $referenceHelper = null;\n\n    /**\n     * PHPExcel_Reader_Excel2007_Theme instance\n     *\n     * @var PHPExcel_Reader_Excel2007_Theme\n     */\n    private static $theme = null;\n\n    /**\n     * Create a new PHPExcel_Reader_Excel2007 instance\n     */\n    public function __construct()\n    {\n        $this->readFilter = new PHPExcel_Reader_DefaultReadFilter();\n        $this->referenceHelper = PHPExcel_ReferenceHelper::getInstance();\n    }\n\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return     boolean\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function canRead($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        // Check if zip class exists\n//        if (!class_exists($zipClass, false)) {\n//            throw new PHPExcel_Reader_Exception($zipClass . \" library is not enabled\");\n//        }\n\n        $xl = false;\n        // Load file\n        $zip = new $zipClass;\n        if ($zip->open($pFilename) === true) {\n            // check if it is an OOXML archive\n            $rels = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"_rels/.rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n            if ($rels !== false) {\n                foreach ($rels->Relationship as $rel) {\n                    switch ($rel[\"Type\"]) {\n                        case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\":\n                            if (basename($rel[\"Target\"]) == 'workbook.xml') {\n                                $xl = true;\n                            }\n                            break;\n\n                    }\n                }\n            }\n            $zip->close();\n        }\n\n        return $xl;\n    }\n\n\n    /**\n     * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object\n     *\n     * @param     string         $pFilename\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function listWorksheetNames($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $worksheetNames = array();\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        $zip = new $zipClass;\n        $zip->open($pFilename);\n\n        //    The files we're looking at here are small enough that simpleXML is more efficient than XMLReader\n        $rels = simplexml_load_string(\n            $this->securityScan($this->getFromZipArchive($zip, \"_rels/.rels\"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions())\n        ); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n        foreach ($rels->Relationship as $rel) {\n            switch ($rel[\"Type\"]) {\n                case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\":\n                    $xmlWorkbook = simplexml_load_string(\n                        $this->securityScan($this->getFromZipArchive($zip, \"{$rel['Target']}\"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions())\n                    );  //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n\n                    if ($xmlWorkbook->sheets) {\n                        foreach ($xmlWorkbook->sheets->sheet as $eleSheet) {\n                            // Check if sheet should be skipped\n                            $worksheetNames[] = (string) $eleSheet[\"name\"];\n                        }\n                    }\n            }\n        }\n\n        $zip->close();\n\n        return $worksheetNames;\n    }\n\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param   string     $pFilename\n     * @throws   PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $worksheetInfo = array();\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        $zip = new $zipClass;\n        $zip->open($pFilename);\n\n        $rels = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"_rels/.rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n        foreach ($rels->Relationship as $rel) {\n            if ($rel[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\") {\n                $dir = dirname($rel[\"Target\"]);\n                $relsWorkbook = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"$dir/_rels/\" . basename($rel[\"Target\"]) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());  //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                $relsWorkbook->registerXPathNamespace(\"rel\", \"http://schemas.openxmlformats.org/package/2006/relationships\");\n\n                $worksheets = array();\n                foreach ($relsWorkbook->Relationship as $ele) {\n                    if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet\") {\n                        $worksheets[(string) $ele[\"Id\"]] = $ele[\"Target\"];\n                    }\n                }\n\n                $xmlWorkbook = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"{$rel['Target']}\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());  //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n                if ($xmlWorkbook->sheets) {\n                    $dir = dirname($rel[\"Target\"]);\n                    foreach ($xmlWorkbook->sheets->sheet as $eleSheet) {\n                        $tmpInfo = array(\n                            'worksheetName' => (string) $eleSheet[\"name\"],\n                            'lastColumnLetter' => 'A',\n                            'lastColumnIndex' => 0,\n                            'totalRows' => 0,\n                            'totalColumns' => 0,\n                        );\n\n                        $fileWorksheet = $worksheets[(string) self::getArrayItem($eleSheet->attributes(\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"), \"id\")];\n\n                        $xml = new XMLReader();\n                        $res = $xml->xml($this->securityScanFile('zip://'.PHPExcel_Shared_File::realpath($pFilename).'#'.\"$dir/$fileWorksheet\"), null, PHPExcel_Settings::getLibXmlLoaderOptions());\n                        $xml->setParserProperty(2, true);\n\n                        $currCells = 0;\n                        while ($xml->read()) {\n                            if ($xml->name == 'row' && $xml->nodeType == XMLReader::ELEMENT) {\n                                $row = $xml->getAttribute('r');\n                                $tmpInfo['totalRows'] = $row;\n                                $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'], $currCells);\n                                $currCells = 0;\n                            } elseif ($xml->name == 'c' && $xml->nodeType == XMLReader::ELEMENT) {\n                                $currCells++;\n                            }\n                        }\n                        $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'], $currCells);\n                        $xml->close();\n\n                        $tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1;\n                        $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']);\n\n                        $worksheetInfo[] = $tmpInfo;\n                    }\n                }\n            }\n        }\n\n        $zip->close();\n\n        return $worksheetInfo;\n    }\n\n    private static function castToBoolean($c)\n    {\n//        echo 'Initial Cast to Boolean', PHP_EOL;\n        $value = isset($c->v) ? (string) $c->v : null;\n        if ($value == '0') {\n            return false;\n        } elseif ($value == '1') {\n            return true;\n        } else {\n            return (bool)$c->v;\n        }\n        return $value;\n    }\n\n    private static function castToError($c)\n    {\n//        echo 'Initial Cast to Error', PHP_EOL;\n        return isset($c->v) ? (string) $c->v : null;\n    }\n\n    private static function castToString($c)\n    {\n//        echo 'Initial Cast to String, PHP_EOL;\n        return isset($c->v) ? (string) $c->v : null;\n    }\n\n    private function castToFormula($c, $r, &$cellDataType, &$value, &$calculatedValue, &$sharedFormulas, $castBaseType)\n    {\n//        echo 'Formula', PHP_EOL;\n//        echo '$c->f is ', $c->f, PHP_EOL;\n        $cellDataType       = 'f';\n        $value              = \"={$c->f}\";\n        $calculatedValue    = self::$castBaseType($c);\n\n        // Shared formula?\n        if (isset($c->f['t']) && strtolower((string)$c->f['t']) == 'shared') {\n//            echo 'SHARED FORMULA', PHP_EOL;\n            $instance = (string)$c->f['si'];\n\n//            echo 'Instance ID = ', $instance, PHP_EOL;\n//\n//            echo 'Shared Formula Array:', PHP_EOL;\n//            print_r($sharedFormulas);\n            if (!isset($sharedFormulas[(string)$c->f['si']])) {\n//                echo 'SETTING NEW SHARED FORMULA', PHP_EOL;\n//                echo 'Master is ', $r, PHP_EOL;\n//                echo 'Formula is ', $value, PHP_EOL;\n                $sharedFormulas[$instance] = array('master' => $r, 'formula' => $value);\n//                echo 'New Shared Formula Array:', PHP_EOL;\n//                print_r($sharedFormulas);\n            } else {\n//                echo 'GETTING SHARED FORMULA', PHP_EOL;\n//                echo 'Master is ', $sharedFormulas[$instance]['master'], PHP_EOL;\n//                echo 'Formula is ', $sharedFormulas[$instance]['formula'], PHP_EOL;\n                $master = PHPExcel_Cell::coordinateFromString($sharedFormulas[$instance]['master']);\n                $current = PHPExcel_Cell::coordinateFromString($r);\n\n                $difference = array(0, 0);\n                $difference[0] = PHPExcel_Cell::columnIndexFromString($current[0]) - PHPExcel_Cell::columnIndexFromString($master[0]);\n                $difference[1] = $current[1] - $master[1];\n\n                $value = $this->referenceHelper->updateFormulaReferences($sharedFormulas[$instance]['formula'], 'A1', $difference[0], $difference[1]);\n//                echo 'Adjusted Formula is ', $value, PHP_EOL;\n            }\n        }\n    }\n\n\n    private function getFromZipArchive($archive, $fileName = '')\n    {\n        // Root-relative paths\n        if (strpos($fileName, '//') !== false) {\n            $fileName = substr($fileName, strpos($fileName, '//') + 1);\n        }\n        $fileName = PHPExcel_Shared_File::realpath($fileName);\n\n        // Sadly, some 3rd party xlsx generators don't use consistent case for filenaming\n        //    so we need to load case-insensitively from the zip file\n        \n        // Apache POI fixes\n        $contents = $archive->getFromIndex(\n            $archive->locateName($fileName, ZIPARCHIVE::FL_NOCASE)\n        );\n        if ($contents === false) {\n            $contents = $archive->getFromIndex(\n                $archive->locateName(substr($fileName, 1), ZIPARCHIVE::FL_NOCASE)\n            );\n        }\n\n        return $contents;\n    }\n\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return  PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        // Initialisations\n        $excel = new PHPExcel;\n        $excel->removeSheetByIndex(0);\n        if (!$this->readDataOnly) {\n            $excel->removeCellStyleXfByIndex(0); // remove the default style\n            $excel->removeCellXfByIndex(0); // remove the default style\n        }\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        $zip = new $zipClass;\n        $zip->open($pFilename);\n\n        //    Read the theme first, because we need the colour scheme when reading the styles\n        $wbRels = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"xl/_rels/workbook.xml.rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n        foreach ($wbRels->Relationship as $rel) {\n            switch ($rel[\"Type\"]) {\n                case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\":\n                    $themeOrderArray = array('lt1', 'dk1', 'lt2', 'dk2');\n                    $themeOrderAdditional = count($themeOrderArray);\n\n                    $xmlTheme = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"xl/{$rel['Target']}\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                    if (is_object($xmlTheme)) {\n                        $xmlThemeName = $xmlTheme->attributes();\n                        $xmlTheme = $xmlTheme->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\");\n                        $themeName = (string)$xmlThemeName['name'];\n\n                        $colourScheme = $xmlTheme->themeElements->clrScheme->attributes();\n                        $colourSchemeName = (string)$colourScheme['name'];\n                        $colourScheme = $xmlTheme->themeElements->clrScheme->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\");\n\n                        $themeColours = array();\n                        foreach ($colourScheme as $k => $xmlColour) {\n                            $themePos = array_search($k, $themeOrderArray);\n                            if ($themePos === false) {\n                                $themePos = $themeOrderAdditional++;\n                            }\n                            if (isset($xmlColour->sysClr)) {\n                                $xmlColourData = $xmlColour->sysClr->attributes();\n                                $themeColours[$themePos] = $xmlColourData['lastClr'];\n                            } elseif (isset($xmlColour->srgbClr)) {\n                                $xmlColourData = $xmlColour->srgbClr->attributes();\n                                $themeColours[$themePos] = $xmlColourData['val'];\n                            }\n                        }\n                        self::$theme = new PHPExcel_Reader_Excel2007_Theme($themeName, $colourSchemeName, $themeColours);\n                    }\n                    break;\n            }\n        }\n\n        $rels = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"_rels/.rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n        foreach ($rels->Relationship as $rel) {\n            switch ($rel[\"Type\"]) {\n                case \"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\":\n                    $xmlCore = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"{$rel['Target']}\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                    if (is_object($xmlCore)) {\n                        $xmlCore->registerXPathNamespace(\"dc\", \"http://purl.org/dc/elements/1.1/\");\n                        $xmlCore->registerXPathNamespace(\"dcterms\", \"http://purl.org/dc/terms/\");\n                        $xmlCore->registerXPathNamespace(\"cp\", \"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\");\n                        $docProps = $excel->getProperties();\n                        $docProps->setCreator((string) self::getArrayItem($xmlCore->xpath(\"dc:creator\")));\n                        $docProps->setLastModifiedBy((string) self::getArrayItem($xmlCore->xpath(\"cp:lastModifiedBy\")));\n                        $docProps->setCreated(strtotime(self::getArrayItem($xmlCore->xpath(\"dcterms:created\")))); //! respect xsi:type\n                        $docProps->setModified(strtotime(self::getArrayItem($xmlCore->xpath(\"dcterms:modified\")))); //! respect xsi:type\n                        $docProps->setTitle((string) self::getArrayItem($xmlCore->xpath(\"dc:title\")));\n                        $docProps->setDescription((string) self::getArrayItem($xmlCore->xpath(\"dc:description\")));\n                        $docProps->setSubject((string) self::getArrayItem($xmlCore->xpath(\"dc:subject\")));\n                        $docProps->setKeywords((string) self::getArrayItem($xmlCore->xpath(\"cp:keywords\")));\n                        $docProps->setCategory((string) self::getArrayItem($xmlCore->xpath(\"cp:category\")));\n                    }\n                    break;\n                case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties\":\n                    $xmlCore = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"{$rel['Target']}\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                    if (is_object($xmlCore)) {\n                        $docProps = $excel->getProperties();\n                        if (isset($xmlCore->Company)) {\n                            $docProps->setCompany((string) $xmlCore->Company);\n                        }\n                        if (isset($xmlCore->Manager)) {\n                            $docProps->setManager((string) $xmlCore->Manager);\n                        }\n                    }\n                    break;\n                case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties\":\n                    $xmlCore = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"{$rel['Target']}\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                    if (is_object($xmlCore)) {\n                        $docProps = $excel->getProperties();\n                        foreach ($xmlCore as $xmlProperty) {\n                            $cellDataOfficeAttributes = $xmlProperty->attributes();\n                            if (isset($cellDataOfficeAttributes['name'])) {\n                                $propertyName = (string) $cellDataOfficeAttributes['name'];\n                                $cellDataOfficeChildren = $xmlProperty->children('http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes');\n                                $attributeType = $cellDataOfficeChildren->getName();\n                                $attributeValue = (string) $cellDataOfficeChildren->{$attributeType};\n                                $attributeValue = PHPExcel_DocumentProperties::convertProperty($attributeValue, $attributeType);\n                                $attributeType = PHPExcel_DocumentProperties::convertPropertyType($attributeType);\n                                $docProps->setCustomProperty($propertyName, $attributeValue, $attributeType);\n                            }\n                        }\n                    }\n                    break;\n                //Ribbon\n                case \"http://schemas.microsoft.com/office/2006/relationships/ui/extensibility\":\n                    $customUI = $rel['Target'];\n                    if (!is_null($customUI)) {\n                        $this->readRibbon($excel, $customUI, $zip);\n                    }\n                    break;\n                case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\":\n                    $dir = dirname($rel[\"Target\"]);\n                    $relsWorkbook = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"$dir/_rels/\" . basename($rel[\"Target\"]) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());  //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                    $relsWorkbook->registerXPathNamespace(\"rel\", \"http://schemas.openxmlformats.org/package/2006/relationships\");\n\n                    $sharedStrings = array();\n                    $xpath = self::getArrayItem($relsWorkbook->xpath(\"rel:Relationship[@Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings']\"));\n                    $xmlStrings = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"$dir/$xpath[Target]\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());  //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n                    if (isset($xmlStrings) && isset($xmlStrings->si)) {\n                        foreach ($xmlStrings->si as $val) {\n                            if (isset($val->t)) {\n                                $sharedStrings[] = PHPExcel_Shared_String::ControlCharacterOOXML2PHP((string) $val->t);\n                            } elseif (isset($val->r)) {\n                                $sharedStrings[] = $this->parseRichText($val);\n                            }\n                        }\n                    }\n\n                    $worksheets = array();\n                    $macros = $customUI = null;\n                    foreach ($relsWorkbook->Relationship as $ele) {\n                        switch ($ele['Type']) {\n                            case \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet\":\n                                $worksheets[(string) $ele[\"Id\"]] = $ele[\"Target\"];\n                                break;\n                            // a vbaProject ? (: some macros)\n                            case \"http://schemas.microsoft.com/office/2006/relationships/vbaProject\":\n                                $macros = $ele[\"Target\"];\n                                break;\n                        }\n                    }\n\n                    if (!is_null($macros)) {\n                        $macrosCode = $this->getFromZipArchive($zip, 'xl/vbaProject.bin');//vbaProject.bin always in 'xl' dir and always named vbaProject.bin\n                        if ($macrosCode !== false) {\n                            $excel->setMacrosCode($macrosCode);\n                            $excel->setHasMacros(true);\n                            //short-circuit : not reading vbaProject.bin.rel to get Signature =>allways vbaProjectSignature.bin in 'xl' dir\n                            $Certificate = $this->getFromZipArchive($zip, 'xl/vbaProjectSignature.bin');\n                            if ($Certificate !== false) {\n                                $excel->setMacrosCertificate($Certificate);\n                            }\n                        }\n                    }\n                    $styles     = array();\n                    $cellStyles = array();\n                    $xpath = self::getArrayItem($relsWorkbook->xpath(\"rel:Relationship[@Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles']\"));\n                    $xmlStyles = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"$dir/$xpath[Target]\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                    //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n\n                    $numFmts = null;\n                    if ($xmlStyles && $xmlStyles->numFmts[0]) {\n                        $numFmts = $xmlStyles->numFmts[0];\n                    }\n                    if (isset($numFmts) && ($numFmts !== null)) {\n                        $numFmts->registerXPathNamespace(\"sml\", \"http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n                    }\n                    if (!$this->readDataOnly && $xmlStyles) {\n                        foreach ($xmlStyles->cellXfs->xf as $xf) {\n                            $numFmt = PHPExcel_Style_NumberFormat::FORMAT_GENERAL;\n                            if ($xf[\"numFmtId\"]) {\n                                if (isset($numFmts)) {\n                                    $tmpNumFmt = self::getArrayItem($numFmts->xpath(\"sml:numFmt[@numFmtId=$xf[numFmtId]]\"));\n\n                                    if (isset($tmpNumFmt[\"formatCode\"])) {\n                                        $numFmt = (string) $tmpNumFmt[\"formatCode\"];\n                                    }\n                                }\n\n                                // We shouldn't override any of the built-in MS Excel values (values below id 164)\n                                //  But there's a lot of naughty homebrew xlsx writers that do use \"reserved\" id values that aren't actually used\n                                //  So we make allowance for them rather than lose formatting masks\n                                if ((int)$xf[\"numFmtId\"] < 164 && PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf[\"numFmtId\"]) !== '') {\n                                    $numFmt = PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf[\"numFmtId\"]);\n                                }\n                            }\n                            $quotePrefix = false;\n                            if (isset($xf[\"quotePrefix\"])) {\n                                $quotePrefix = (boolean) $xf[\"quotePrefix\"];\n                            }\n\n                            $style = (object) array(\n                                \"numFmt\" => $numFmt,\n                                \"font\" => $xmlStyles->fonts->font[intval($xf[\"fontId\"])],\n                                \"fill\" => $xmlStyles->fills->fill[intval($xf[\"fillId\"])],\n                                \"border\" => $xmlStyles->borders->border[intval($xf[\"borderId\"])],\n                                \"alignment\" => $xf->alignment,\n                                \"protection\" => $xf->protection,\n                                \"quotePrefix\" => $quotePrefix,\n                            );\n                            $styles[] = $style;\n\n                            // add style to cellXf collection\n                            $objStyle = new PHPExcel_Style;\n                            self::readStyle($objStyle, $style);\n                            $excel->addCellXf($objStyle);\n                        }\n\n                        foreach ($xmlStyles->cellStyleXfs->xf as $xf) {\n                            $numFmt = PHPExcel_Style_NumberFormat::FORMAT_GENERAL;\n                            if ($numFmts && $xf[\"numFmtId\"]) {\n                                $tmpNumFmt = self::getArrayItem($numFmts->xpath(\"sml:numFmt[@numFmtId=$xf[numFmtId]]\"));\n                                if (isset($tmpNumFmt[\"formatCode\"])) {\n                                    $numFmt = (string) $tmpNumFmt[\"formatCode\"];\n                                } elseif ((int)$xf[\"numFmtId\"] < 165) {\n                                    $numFmt = PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf[\"numFmtId\"]);\n                                }\n                            }\n\n                            $cellStyle = (object) array(\n                                \"numFmt\" => $numFmt,\n                                \"font\" => $xmlStyles->fonts->font[intval($xf[\"fontId\"])],\n                                \"fill\" => $xmlStyles->fills->fill[intval($xf[\"fillId\"])],\n                                \"border\" => $xmlStyles->borders->border[intval($xf[\"borderId\"])],\n                                \"alignment\" => $xf->alignment,\n                                \"protection\" => $xf->protection,\n                                \"quotePrefix\" => $quotePrefix,\n                            );\n                            $cellStyles[] = $cellStyle;\n\n                            // add style to cellStyleXf collection\n                            $objStyle = new PHPExcel_Style;\n                            self::readStyle($objStyle, $cellStyle);\n                            $excel->addCellStyleXf($objStyle);\n                        }\n                    }\n\n                    $dxfs = array();\n                    if (!$this->readDataOnly && $xmlStyles) {\n                        //    Conditional Styles\n                        if ($xmlStyles->dxfs) {\n                            foreach ($xmlStyles->dxfs->dxf as $dxf) {\n                                $style = new PHPExcel_Style(false, true);\n                                self::readStyle($style, $dxf);\n                                $dxfs[] = $style;\n                            }\n                        }\n                        //    Cell Styles\n                        if ($xmlStyles->cellStyles) {\n                            foreach ($xmlStyles->cellStyles->cellStyle as $cellStyle) {\n                                if (intval($cellStyle['builtinId']) == 0) {\n                                    if (isset($cellStyles[intval($cellStyle['xfId'])])) {\n                                        // Set default style\n                                        $style = new PHPExcel_Style;\n                                        self::readStyle($style, $cellStyles[intval($cellStyle['xfId'])]);\n\n                                        // normal style, currently not using it for anything\n                                    }\n                                }\n                            }\n                        }\n                    }\n\n                    $xmlWorkbook = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"{$rel['Target']}\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());  //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n\n                    // Set base date\n                    if ($xmlWorkbook->workbookPr) {\n                        PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900);\n                        if (isset($xmlWorkbook->workbookPr['date1904'])) {\n                            if (self::boolean((string) $xmlWorkbook->workbookPr['date1904'])) {\n                                PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904);\n                            }\n                        }\n                    }\n\n                    $sheetId = 0; // keep track of new sheet id in final workbook\n                    $oldSheetId = -1; // keep track of old sheet id in final workbook\n                    $countSkippedSheets = 0; // keep track of number of skipped sheets\n                    $mapSheetId = array(); // mapping of sheet ids from old to new\n\n                    $charts = $chartDetails = array();\n\n                    if ($xmlWorkbook->sheets) {\n                        foreach ($xmlWorkbook->sheets->sheet as $eleSheet) {\n                            ++$oldSheetId;\n\n                            // Check if sheet should be skipped\n                            if (isset($this->loadSheetsOnly) && !in_array((string) $eleSheet[\"name\"], $this->loadSheetsOnly)) {\n                                ++$countSkippedSheets;\n                                $mapSheetId[$oldSheetId] = null;\n                                continue;\n                            }\n\n                            // Map old sheet id in original workbook to new sheet id.\n                            // They will differ if loadSheetsOnly() is being used\n                            $mapSheetId[$oldSheetId] = $oldSheetId - $countSkippedSheets;\n\n                            // Load sheet\n                            $docSheet = $excel->createSheet();\n                            //    Use false for $updateFormulaCellReferences to prevent adjustment of worksheet\n                            //        references in formula cells... during the load, all formulae should be correct,\n                            //        and we're simply bringing the worksheet name in line with the formula, not the\n                            //        reverse\n                            $docSheet->setTitle((string) $eleSheet[\"name\"], false);\n                            $fileWorksheet = $worksheets[(string) self::getArrayItem($eleSheet->attributes(\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"), \"id\")];\n                            $xmlSheet = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"$dir/$fileWorksheet\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());  //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n\n                            $sharedFormulas = array();\n\n                            if (isset($eleSheet[\"state\"]) && (string) $eleSheet[\"state\"] != '') {\n                                $docSheet->setSheetState((string) $eleSheet[\"state\"]);\n                            }\n\n                            if (isset($xmlSheet->sheetViews) && isset($xmlSheet->sheetViews->sheetView)) {\n                                if (isset($xmlSheet->sheetViews->sheetView['zoomScale'])) {\n                                    $docSheet->getSheetView()->setZoomScale(intval($xmlSheet->sheetViews->sheetView['zoomScale']));\n                                }\n                                if (isset($xmlSheet->sheetViews->sheetView['zoomScaleNormal'])) {\n                                    $docSheet->getSheetView()->setZoomScaleNormal(intval($xmlSheet->sheetViews->sheetView['zoomScaleNormal']));\n                                }\n                                if (isset($xmlSheet->sheetViews->sheetView['view'])) {\n                                    $docSheet->getSheetView()->setView((string) $xmlSheet->sheetViews->sheetView['view']);\n                                }\n                                if (isset($xmlSheet->sheetViews->sheetView['showGridLines'])) {\n                                    $docSheet->setShowGridLines(self::boolean((string)$xmlSheet->sheetViews->sheetView['showGridLines']));\n                                }\n                                if (isset($xmlSheet->sheetViews->sheetView['showRowColHeaders'])) {\n                                    $docSheet->setShowRowColHeaders(self::boolean((string)$xmlSheet->sheetViews->sheetView['showRowColHeaders']));\n                                }\n                                if (isset($xmlSheet->sheetViews->sheetView['rightToLeft'])) {\n                                    $docSheet->setRightToLeft(self::boolean((string)$xmlSheet->sheetViews->sheetView['rightToLeft']));\n                                }\n                                if (isset($xmlSheet->sheetViews->sheetView->pane)) {\n                                    if (isset($xmlSheet->sheetViews->sheetView->pane['topLeftCell'])) {\n                                        $docSheet->freezePane((string)$xmlSheet->sheetViews->sheetView->pane['topLeftCell']);\n                                    } else {\n                                        $xSplit = 0;\n                                        $ySplit = 0;\n\n                                        if (isset($xmlSheet->sheetViews->sheetView->pane['xSplit'])) {\n                                            $xSplit = 1 + intval($xmlSheet->sheetViews->sheetView->pane['xSplit']);\n                                        }\n\n                                        if (isset($xmlSheet->sheetViews->sheetView->pane['ySplit'])) {\n                                            $ySplit = 1 + intval($xmlSheet->sheetViews->sheetView->pane['ySplit']);\n                                        }\n\n                                        $docSheet->freezePaneByColumnAndRow($xSplit, $ySplit);\n                                    }\n                                }\n\n                                if (isset($xmlSheet->sheetViews->sheetView->selection)) {\n                                    if (isset($xmlSheet->sheetViews->sheetView->selection['sqref'])) {\n                                        $sqref = (string)$xmlSheet->sheetViews->sheetView->selection['sqref'];\n                                        $sqref = explode(' ', $sqref);\n                                        $sqref = $sqref[0];\n                                        $docSheet->setSelectedCells($sqref);\n                                    }\n                                }\n                            }\n\n                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->tabColor)) {\n                                if (isset($xmlSheet->sheetPr->tabColor['rgb'])) {\n                                    $docSheet->getTabColor()->setARGB((string)$xmlSheet->sheetPr->tabColor['rgb']);\n                                }\n                            }\n                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr['codeName'])) {\n                                $docSheet->setCodeName((string) $xmlSheet->sheetPr['codeName']);\n                            }\n                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->outlinePr)) {\n                                if (isset($xmlSheet->sheetPr->outlinePr['summaryRight']) &&\n                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryRight'])) {\n                                    $docSheet->setShowSummaryRight(false);\n                                } else {\n                                    $docSheet->setShowSummaryRight(true);\n                                }\n\n                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&\n                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {\n                                    $docSheet->setShowSummaryBelow(false);\n                                } else {\n                                    $docSheet->setShowSummaryBelow(true);\n                                }\n                            }\n\n                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->pageSetUpPr)) {\n                                if (isset($xmlSheet->sheetPr->pageSetUpPr['fitToPage']) &&\n                                    !self::boolean((string) $xmlSheet->sheetPr->pageSetUpPr['fitToPage'])) {\n                                    $docSheet->getPageSetup()->setFitToPage(false);\n                                } else {\n                                    $docSheet->getPageSetup()->setFitToPage(true);\n                                }\n                            }\n\n                            if (isset($xmlSheet->sheetFormatPr)) {\n                                if (isset($xmlSheet->sheetFormatPr['customHeight']) &&\n                                    self::boolean((string) $xmlSheet->sheetFormatPr['customHeight']) &&\n                                    isset($xmlSheet->sheetFormatPr['defaultRowHeight'])) {\n                                    $docSheet->getDefaultRowDimension()->setRowHeight((float)$xmlSheet->sheetFormatPr['defaultRowHeight']);\n                                }\n                                if (isset($xmlSheet->sheetFormatPr['defaultColWidth'])) {\n                                    $docSheet->getDefaultColumnDimension()->setWidth((float)$xmlSheet->sheetFormatPr['defaultColWidth']);\n                                }\n                                if (isset($xmlSheet->sheetFormatPr['zeroHeight']) &&\n                                    ((string)$xmlSheet->sheetFormatPr['zeroHeight'] == '1')) {\n                                    $docSheet->getDefaultRowDimension()->setZeroHeight(true);\n                                }\n                            }\n\n                            if (isset($xmlSheet->cols) && !$this->readDataOnly) {\n                                foreach ($xmlSheet->cols->col as $col) {\n                                    for ($i = intval($col[\"min\"]) - 1; $i < intval($col[\"max\"]); ++$i) {\n                                        if ($col[\"style\"] && !$this->readDataOnly) {\n                                            $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setXfIndex(intval($col[\"style\"]));\n                                        }\n                                        if (self::boolean($col[\"bestFit\"])) {\n                                            //$docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setAutoSize(true);\n                                        }\n                                        if (self::boolean($col[\"hidden\"])) {\n                                        // echo PHPExcel_Cell::stringFromColumnIndex($i), ': HIDDEN COLUMN',PHP_EOL;\n                                            $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setVisible(false);\n                                        }\n                                        if (self::boolean($col[\"collapsed\"])) {\n                                            $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setCollapsed(true);\n                                        }\n                                        if ($col[\"outlineLevel\"] > 0) {\n                                            $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setOutlineLevel(intval($col[\"outlineLevel\"]));\n                                        }\n                                        $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setWidth(floatval($col[\"width\"]));\n\n                                        if (intval($col[\"max\"]) == 16384) {\n                                            break;\n                                        }\n                                    }\n                                }\n                            }\n\n                            if (isset($xmlSheet->printOptions) && !$this->readDataOnly) {\n                                if (self::boolean((string) $xmlSheet->printOptions['gridLinesSet'])) {\n                                    $docSheet->setShowGridlines(true);\n                                }\n                                if (self::boolean((string) $xmlSheet->printOptions['gridLines'])) {\n                                    $docSheet->setPrintGridlines(true);\n                                }\n                                if (self::boolean((string) $xmlSheet->printOptions['horizontalCentered'])) {\n                                    $docSheet->getPageSetup()->setHorizontalCentered(true);\n                                }\n                                if (self::boolean((string) $xmlSheet->printOptions['verticalCentered'])) {\n                                    $docSheet->getPageSetup()->setVerticalCentered(true);\n                                }\n                            }\n\n                            if ($xmlSheet && $xmlSheet->sheetData && $xmlSheet->sheetData->row) {\n                                foreach ($xmlSheet->sheetData->row as $row) {\n                                    if ($row[\"ht\"] && !$this->readDataOnly) {\n                                        $docSheet->getRowDimension(intval($row[\"r\"]))->setRowHeight(floatval($row[\"ht\"]));\n                                    }\n                                    if (self::boolean($row[\"hidden\"]) && !$this->readDataOnly) {\n                                        $docSheet->getRowDimension(intval($row[\"r\"]))->setVisible(false);\n                                    }\n                                    if (self::boolean($row[\"collapsed\"])) {\n                                        $docSheet->getRowDimension(intval($row[\"r\"]))->setCollapsed(true);\n                                    }\n                                    if ($row[\"outlineLevel\"] > 0) {\n                                        $docSheet->getRowDimension(intval($row[\"r\"]))->setOutlineLevel(intval($row[\"outlineLevel\"]));\n                                    }\n                                    if ($row[\"s\"] && !$this->readDataOnly) {\n                                        $docSheet->getRowDimension(intval($row[\"r\"]))->setXfIndex(intval($row[\"s\"]));\n                                    }\n\n                                    foreach ($row->c as $c) {\n                                        $r                     = (string) $c[\"r\"];\n                                        $cellDataType         = (string) $c[\"t\"];\n                                        $value                = null;\n                                        $calculatedValue     = null;\n\n                                        // Read cell?\n                                        if ($this->getReadFilter() !== null) {\n                                            $coordinates = PHPExcel_Cell::coordinateFromString($r);\n\n                                            if (!$this->getReadFilter()->readCell($coordinates[0], $coordinates[1], $docSheet->getTitle())) {\n                                                continue;\n                                            }\n                                        }\n\n    //                                    echo 'Reading cell ', $coordinates[0], $coordinates[1], PHP_EOL;\n    //                                    print_r($c);\n    //                                    echo PHP_EOL;\n    //                                    echo 'Cell Data Type is ', $cellDataType, ': ';\n    //\n                                        // Read cell!\n                                        switch ($cellDataType) {\n                                            case \"s\":\n    //                                            echo 'String', PHP_EOL;\n                                                if ((string)$c->v != '') {\n                                                    $value = $sharedStrings[intval($c->v)];\n\n                                                    if ($value instanceof PHPExcel_RichText) {\n                                                        $value = clone $value;\n                                                    }\n                                                } else {\n                                                    $value = '';\n                                                }\n                                                break;\n                                            case \"b\":\n    //                                            echo 'Boolean', PHP_EOL;\n                                                if (!isset($c->f)) {\n                                                    $value = self::castToBoolean($c);\n                                                } else {\n                                                    // Formula\n                                                    $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToBoolean');\n                                                    if (isset($c->f['t'])) {\n                                                        $att = array();\n                                                        $att = $c->f;\n                                                        $docSheet->getCell($r)->setFormulaAttributes($att);\n                                                    }\n    //                                                echo '$calculatedValue = ', $calculatedValue, PHP_EOL;\n                                                }\n                                                break;\n                                            case \"inlineStr\":\n//                                                echo 'Inline String', PHP_EOL;\n                                                if (isset($c->f)) {\n                                                    $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToError');\n                                                } else {\n                                                    $value = $this->parseRichText($c->is);\n                                                }\n                                                break;\n                                            case \"e\":\n    //                                            echo 'Error', PHP_EOL;\n                                                if (!isset($c->f)) {\n                                                    $value = self::castToError($c);\n                                                } else {\n                                                    // Formula\n                                                    $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToError');\n    //                                                echo '$calculatedValue = ', $calculatedValue, PHP_EOL;\n                                                }\n                                                break;\n                                            default:\n//                                                echo 'Default', PHP_EOL;\n                                                if (!isset($c->f)) {\n    //                                                echo 'Not a Formula', PHP_EOL;\n                                                    $value = self::castToString($c);\n                                                } else {\n    //                                                echo 'Treat as Formula', PHP_EOL;\n                                                    // Formula\n                                                    $this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToString');\n    //                                                echo '$calculatedValue = ', $calculatedValue, PHP_EOL;\n                                                }\n                                                break;\n                                        }\n    //                                    echo 'Value is ', $value, PHP_EOL;\n\n                                        // Check for numeric values\n                                        if (is_numeric($value) && $cellDataType != 's') {\n                                            if ($value == (int)$value) {\n                                                $value = (int)$value;\n                                            } elseif ($value == (float)$value) {\n                                                $value = (float)$value;\n                                            } elseif ($value == (double)$value) {\n                                                $value = (double)$value;\n                                            }\n                                        }\n\n                                        // Rich text?\n                                        if ($value instanceof PHPExcel_RichText && $this->readDataOnly) {\n                                            $value = $value->getPlainText();\n                                        }\n\n                                        $cell = $docSheet->getCell($r);\n                                        // Assign value\n                                        if ($cellDataType != '') {\n                                            $cell->setValueExplicit($value, $cellDataType);\n                                        } else {\n                                            $cell->setValue($value);\n                                        }\n                                        if ($calculatedValue !== null) {\n                                            $cell->setCalculatedValue($calculatedValue);\n                                        }\n\n                                        // Style information?\n                                        if ($c[\"s\"] && !$this->readDataOnly) {\n                                            // no style index means 0, it seems\n                                            $cell->setXfIndex(isset($styles[intval($c[\"s\"])]) ?\n                                                intval($c[\"s\"]) : 0);\n                                        }\n                                    }\n                                }\n                            }\n\n                            $conditionals = array();\n                            if (!$this->readDataOnly && $xmlSheet && $xmlSheet->conditionalFormatting) {\n                                foreach ($xmlSheet->conditionalFormatting as $conditional) {\n                                    foreach ($conditional->cfRule as $cfRule) {\n                                        if (((string)$cfRule[\"type\"] == PHPExcel_Style_Conditional::CONDITION_NONE || (string)$cfRule[\"type\"] == PHPExcel_Style_Conditional::CONDITION_CELLIS || (string)$cfRule[\"type\"] == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT || (string)$cfRule[\"type\"] == PHPExcel_Style_Conditional::CONDITION_EXPRESSION) && isset($dxfs[intval($cfRule[\"dxfId\"])])) {\n                                            $conditionals[(string) $conditional[\"sqref\"]][intval($cfRule[\"priority\"])] = $cfRule;\n                                        }\n                                    }\n                                }\n\n                                foreach ($conditionals as $ref => $cfRules) {\n                                    ksort($cfRules);\n                                    $conditionalStyles = array();\n                                    foreach ($cfRules as $cfRule) {\n                                        $objConditional = new PHPExcel_Style_Conditional();\n                                        $objConditional->setConditionType((string)$cfRule[\"type\"]);\n                                        $objConditional->setOperatorType((string)$cfRule[\"operator\"]);\n\n                                        if ((string)$cfRule[\"text\"] != '') {\n                                            $objConditional->setText((string)$cfRule[\"text\"]);\n                                        }\n\n                                        if (count($cfRule->formula) > 1) {\n                                            foreach ($cfRule->formula as $formula) {\n                                                $objConditional->addCondition((string)$formula);\n                                            }\n                                        } else {\n                                            $objConditional->addCondition((string)$cfRule->formula);\n                                        }\n                                        $objConditional->setStyle(clone $dxfs[intval($cfRule[\"dxfId\"])]);\n                                        $conditionalStyles[] = $objConditional;\n                                    }\n\n                                    // Extract all cell references in $ref\n                                    $cellBlocks = explode(' ', str_replace('$', '', strtoupper($ref)));\n                                    foreach ($cellBlocks as $cellBlock) {\n                                        $docSheet->getStyle($cellBlock)->setConditionalStyles($conditionalStyles);\n                                    }\n                                }\n                            }\n\n                            $aKeys = array(\"sheet\", \"objects\", \"scenarios\", \"formatCells\", \"formatColumns\", \"formatRows\", \"insertColumns\", \"insertRows\", \"insertHyperlinks\", \"deleteColumns\", \"deleteRows\", \"selectLockedCells\", \"sort\", \"autoFilter\", \"pivotTables\", \"selectUnlockedCells\");\n                            if (!$this->readDataOnly && $xmlSheet && $xmlSheet->sheetProtection) {\n                                foreach ($aKeys as $key) {\n                                    $method = \"set\" . ucfirst($key);\n                                    $docSheet->getProtection()->$method(self::boolean((string) $xmlSheet->sheetProtection[$key]));\n                                }\n                            }\n\n                            if (!$this->readDataOnly && $xmlSheet && $xmlSheet->sheetProtection) {\n                                $docSheet->getProtection()->setPassword((string) $xmlSheet->sheetProtection[\"password\"], true);\n                                if ($xmlSheet->protectedRanges->protectedRange) {\n                                    foreach ($xmlSheet->protectedRanges->protectedRange as $protectedRange) {\n                                        $docSheet->protectCells((string) $protectedRange[\"sqref\"], (string) $protectedRange[\"password\"], true);\n                                    }\n                                }\n                            }\n\n                            if ($xmlSheet && $xmlSheet->autoFilter && !$this->readDataOnly) {\n                                $autoFilterRange = (string) $xmlSheet->autoFilter[\"ref\"];\n                                if (strpos($autoFilterRange, ':') !== false) {\n                                    $autoFilter = $docSheet->getAutoFilter();\n                                    $autoFilter->setRange($autoFilterRange);\n\n                                    foreach ($xmlSheet->autoFilter->filterColumn as $filterColumn) {\n                                        $column = $autoFilter->getColumnByOffset((integer) $filterColumn[\"colId\"]);\n                                        //    Check for standard filters\n                                        if ($filterColumn->filters) {\n                                            $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER);\n                                            $filters = $filterColumn->filters;\n                                            if ((isset($filters[\"blank\"])) && ($filters[\"blank\"] == 1)) {\n                                                //    Operator is undefined, but always treated as EQUAL\n                                                $column->createRule()->setRule(null, '')->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER);\n                                            }\n                                            //    Standard filters are always an OR join, so no join rule needs to be set\n                                            //    Entries can be either filter elements\n                                            foreach ($filters->filter as $filterRule) {\n                                                //    Operator is undefined, but always treated as EQUAL\n                                                $column->createRule()->setRule(null, (string) $filterRule[\"val\"])->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER);\n                                            }\n                                            //    Or Date Group elements\n                                            foreach ($filters->dateGroupItem as $dateGroupItem) {\n                                                $column->createRule()->setRule(\n                                                    //    Operator is undefined, but always treated as EQUAL\n                                                    null,\n                                                    array(\n                                                        'year' => (string) $dateGroupItem[\"year\"],\n                                                        'month' => (string) $dateGroupItem[\"month\"],\n                                                        'day' => (string) $dateGroupItem[\"day\"],\n                                                        'hour' => (string) $dateGroupItem[\"hour\"],\n                                                        'minute' => (string) $dateGroupItem[\"minute\"],\n                                                        'second' => (string) $dateGroupItem[\"second\"],\n                                                    ),\n                                                    (string) $dateGroupItem[\"dateTimeGrouping\"]\n                                                )\n                                                ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP);\n                                            }\n                                        }\n                                        //    Check for custom filters\n                                        if ($filterColumn->customFilters) {\n                                            $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER);\n                                            $customFilters = $filterColumn->customFilters;\n                                            //    Custom filters can an AND or an OR join;\n                                            //        and there should only ever be one or two entries\n                                            if ((isset($customFilters[\"and\"])) && ($customFilters[\"and\"] == 1)) {\n                                                $column->setJoin(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND);\n                                            }\n                                            foreach ($customFilters->customFilter as $filterRule) {\n                                                $column->createRule()->setRule(\n                                                    (string) $filterRule[\"operator\"],\n                                                    (string) $filterRule[\"val\"]\n                                                )\n                                                ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n                                            }\n                                        }\n                                        //    Check for dynamic filters\n                                        if ($filterColumn->dynamicFilter) {\n                                            $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER);\n                                            //    We should only ever have one dynamic filter\n                                            foreach ($filterColumn->dynamicFilter as $filterRule) {\n                                                $column->createRule()->setRule(\n                                                    //    Operator is undefined, but always treated as EQUAL\n                                                    null,\n                                                    (string) $filterRule[\"val\"],\n                                                    (string) $filterRule[\"type\"]\n                                                )\n                                                ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER);\n                                                if (isset($filterRule[\"val\"])) {\n                                                    $column->setAttribute('val', (string) $filterRule[\"val\"]);\n                                                }\n                                                if (isset($filterRule[\"maxVal\"])) {\n                                                    $column->setAttribute('maxVal', (string) $filterRule[\"maxVal\"]);\n                                                }\n                                            }\n                                        }\n                                        //    Check for dynamic filters\n                                        if ($filterColumn->top10) {\n                                            $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER);\n                                            //    We should only ever have one top10 filter\n                                            foreach ($filterColumn->top10 as $filterRule) {\n                                                $column->createRule()->setRule(\n                                                    (((isset($filterRule[\"percent\"])) && ($filterRule[\"percent\"] == 1))\n                                                        ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT\n                                                        : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE\n                                                    ),\n                                                    (string) $filterRule[\"val\"],\n                                                    (((isset($filterRule[\"top\"])) && ($filterRule[\"top\"] == 1))\n                                                        ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP\n                                                        : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM\n                                                    )\n                                                )\n                                                ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER);\n                                            }\n                                        }\n                                    }\n                                }\n                            }\n\n                            if ($xmlSheet && $xmlSheet->mergeCells && $xmlSheet->mergeCells->mergeCell && !$this->readDataOnly) {\n                                foreach ($xmlSheet->mergeCells->mergeCell as $mergeCell) {\n                                    $mergeRef = (string) $mergeCell[\"ref\"];\n                                    if (strpos($mergeRef, ':') !== false) {\n                                        $docSheet->mergeCells((string) $mergeCell[\"ref\"]);\n                                    }\n                                }\n                            }\n\n                            if ($xmlSheet && $xmlSheet->pageMargins && !$this->readDataOnly) {\n                                $docPageMargins = $docSheet->getPageMargins();\n                                $docPageMargins->setLeft(floatval($xmlSheet->pageMargins[\"left\"]));\n                                $docPageMargins->setRight(floatval($xmlSheet->pageMargins[\"right\"]));\n                                $docPageMargins->setTop(floatval($xmlSheet->pageMargins[\"top\"]));\n                                $docPageMargins->setBottom(floatval($xmlSheet->pageMargins[\"bottom\"]));\n                                $docPageMargins->setHeader(floatval($xmlSheet->pageMargins[\"header\"]));\n                                $docPageMargins->setFooter(floatval($xmlSheet->pageMargins[\"footer\"]));\n                            }\n\n                            if ($xmlSheet && $xmlSheet->pageSetup && !$this->readDataOnly) {\n                                $docPageSetup = $docSheet->getPageSetup();\n\n                                if (isset($xmlSheet->pageSetup[\"orientation\"])) {\n                                    $docPageSetup->setOrientation((string) $xmlSheet->pageSetup[\"orientation\"]);\n                                }\n                                if (isset($xmlSheet->pageSetup[\"paperSize\"])) {\n                                    $docPageSetup->setPaperSize(intval($xmlSheet->pageSetup[\"paperSize\"]));\n                                }\n                                if (isset($xmlSheet->pageSetup[\"scale\"])) {\n                                    $docPageSetup->setScale(intval($xmlSheet->pageSetup[\"scale\"]), false);\n                                }\n                                if (isset($xmlSheet->pageSetup[\"fitToHeight\"]) && intval($xmlSheet->pageSetup[\"fitToHeight\"]) >= 0) {\n                                    $docPageSetup->setFitToHeight(intval($xmlSheet->pageSetup[\"fitToHeight\"]), false);\n                                }\n                                if (isset($xmlSheet->pageSetup[\"fitToWidth\"]) && intval($xmlSheet->pageSetup[\"fitToWidth\"]) >= 0) {\n                                    $docPageSetup->setFitToWidth(intval($xmlSheet->pageSetup[\"fitToWidth\"]), false);\n                                }\n                                if (isset($xmlSheet->pageSetup[\"firstPageNumber\"]) && isset($xmlSheet->pageSetup[\"useFirstPageNumber\"]) &&\n                                    self::boolean((string) $xmlSheet->pageSetup[\"useFirstPageNumber\"])) {\n                                    $docPageSetup->setFirstPageNumber(intval($xmlSheet->pageSetup[\"firstPageNumber\"]));\n                                }\n                            }\n\n                            if ($xmlSheet && $xmlSheet->headerFooter && !$this->readDataOnly) {\n                                $docHeaderFooter = $docSheet->getHeaderFooter();\n\n                                if (isset($xmlSheet->headerFooter[\"differentOddEven\"]) &&\n                                    self::boolean((string)$xmlSheet->headerFooter[\"differentOddEven\"])) {\n                                    $docHeaderFooter->setDifferentOddEven(true);\n                                } else {\n                                    $docHeaderFooter->setDifferentOddEven(false);\n                                }\n                                if (isset($xmlSheet->headerFooter[\"differentFirst\"]) &&\n                                    self::boolean((string)$xmlSheet->headerFooter[\"differentFirst\"])) {\n                                    $docHeaderFooter->setDifferentFirst(true);\n                                } else {\n                                    $docHeaderFooter->setDifferentFirst(false);\n                                }\n                                if (isset($xmlSheet->headerFooter[\"scaleWithDoc\"]) &&\n                                    !self::boolean((string)$xmlSheet->headerFooter[\"scaleWithDoc\"])) {\n                                    $docHeaderFooter->setScaleWithDocument(false);\n                                } else {\n                                    $docHeaderFooter->setScaleWithDocument(true);\n                                }\n                                if (isset($xmlSheet->headerFooter[\"alignWithMargins\"]) &&\n                                    !self::boolean((string)$xmlSheet->headerFooter[\"alignWithMargins\"])) {\n                                    $docHeaderFooter->setAlignWithMargins(false);\n                                } else {\n                                    $docHeaderFooter->setAlignWithMargins(true);\n                                }\n\n                                $docHeaderFooter->setOddHeader((string) $xmlSheet->headerFooter->oddHeader);\n                                $docHeaderFooter->setOddFooter((string) $xmlSheet->headerFooter->oddFooter);\n                                $docHeaderFooter->setEvenHeader((string) $xmlSheet->headerFooter->evenHeader);\n                                $docHeaderFooter->setEvenFooter((string) $xmlSheet->headerFooter->evenFooter);\n                                $docHeaderFooter->setFirstHeader((string) $xmlSheet->headerFooter->firstHeader);\n                                $docHeaderFooter->setFirstFooter((string) $xmlSheet->headerFooter->firstFooter);\n                            }\n\n                            if ($xmlSheet && $xmlSheet->rowBreaks && $xmlSheet->rowBreaks->brk && !$this->readDataOnly) {\n                                foreach ($xmlSheet->rowBreaks->brk as $brk) {\n                                    if ($brk[\"man\"]) {\n                                        $docSheet->setBreak(\"A$brk[id]\", PHPExcel_Worksheet::BREAK_ROW);\n                                    }\n                                }\n                            }\n                            if ($xmlSheet && $xmlSheet->colBreaks && $xmlSheet->colBreaks->brk && !$this->readDataOnly) {\n                                foreach ($xmlSheet->colBreaks->brk as $brk) {\n                                    if ($brk[\"man\"]) {\n                                        $docSheet->setBreak(PHPExcel_Cell::stringFromColumnIndex((string) $brk[\"id\"]) . \"1\", PHPExcel_Worksheet::BREAK_COLUMN);\n                                    }\n                                }\n                            }\n\n                            if ($xmlSheet && $xmlSheet->dataValidations && !$this->readDataOnly) {\n                                foreach ($xmlSheet->dataValidations->dataValidation as $dataValidation) {\n                                    // Uppercase coordinate\n                                    $range = strtoupper($dataValidation[\"sqref\"]);\n                                    $rangeSet = explode(' ', $range);\n                                    foreach ($rangeSet as $range) {\n                                        $stRange = $docSheet->shrinkRangeToFit($range);\n\n                                        // Extract all cell references in $range\n                                        foreach (PHPExcel_Cell::extractAllCellReferencesInRange($stRange) as $reference) {\n                                            // Create validation\n                                            $docValidation = $docSheet->getCell($reference)->getDataValidation();\n                                            $docValidation->setType((string) $dataValidation[\"type\"]);\n                                            $docValidation->setErrorStyle((string) $dataValidation[\"errorStyle\"]);\n                                            $docValidation->setOperator((string) $dataValidation[\"operator\"]);\n                                            $docValidation->setAllowBlank($dataValidation[\"allowBlank\"] != 0);\n                                            $docValidation->setShowDropDown($dataValidation[\"showDropDown\"] == 0);\n                                            $docValidation->setShowInputMessage($dataValidation[\"showInputMessage\"] != 0);\n                                            $docValidation->setShowErrorMessage($dataValidation[\"showErrorMessage\"] != 0);\n                                            $docValidation->setErrorTitle((string) $dataValidation[\"errorTitle\"]);\n                                            $docValidation->setError((string) $dataValidation[\"error\"]);\n                                            $docValidation->setPromptTitle((string) $dataValidation[\"promptTitle\"]);\n                                            $docValidation->setPrompt((string) $dataValidation[\"prompt\"]);\n                                            $docValidation->setFormula1((string) $dataValidation->formula1);\n                                            $docValidation->setFormula2((string) $dataValidation->formula2);\n                                        }\n                                    }\n                                }\n                            }\n\n                            // Add hyperlinks\n                            $hyperlinks = array();\n                            if (!$this->readDataOnly) {\n                                // Locate hyperlink relations\n                                if ($zip->locateName(dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")) {\n                                    $relsWorksheet = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                                    foreach ($relsWorksheet->Relationship as $ele) {\n                                        if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink\") {\n                                            $hyperlinks[(string)$ele[\"Id\"]] = (string)$ele[\"Target\"];\n                                        }\n                                    }\n                                }\n\n                                // Loop through hyperlinks\n                                if ($xmlSheet && $xmlSheet->hyperlinks) {\n                                    foreach ($xmlSheet->hyperlinks->hyperlink as $hyperlink) {\n                                        // Link url\n                                        $linkRel = $hyperlink->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships');\n\n                                        foreach (PHPExcel_Cell::extractAllCellReferencesInRange($hyperlink['ref']) as $cellReference) {\n                                            $cell = $docSheet->getCell($cellReference);\n                                            if (isset($linkRel['id'])) {\n                                                $hyperlinkUrl = $hyperlinks[ (string)$linkRel['id'] ];\n                                                if (isset($hyperlink['location'])) {\n                                                    $hyperlinkUrl .= '#' . (string) $hyperlink['location'];\n                                                }\n                                                $cell->getHyperlink()->setUrl($hyperlinkUrl);\n                                            } elseif (isset($hyperlink['location'])) {\n                                                $cell->getHyperlink()->setUrl('sheet://' . (string)$hyperlink['location']);\n                                            }\n\n                                            // Tooltip\n                                            if (isset($hyperlink['tooltip'])) {\n                                                $cell->getHyperlink()->setTooltip((string)$hyperlink['tooltip']);\n                                            }\n                                        }\n                                    }\n                                }\n                            }\n\n                            // Add comments\n                            $comments = array();\n                            $vmlComments = array();\n                            if (!$this->readDataOnly) {\n                                // Locate comment relations\n                                if ($zip->locateName(dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")) {\n                                    $relsWorksheet = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                                    foreach ($relsWorksheet->Relationship as $ele) {\n                                        if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments\") {\n                                            $comments[(string)$ele[\"Id\"]] = (string)$ele[\"Target\"];\n                                        }\n                                        if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing\") {\n                                            $vmlComments[(string)$ele[\"Id\"]] = (string)$ele[\"Target\"];\n                                        }\n                                    }\n                                }\n\n                                // Loop through comments\n                                foreach ($comments as $relName => $relPath) {\n                                    // Load comments file\n                                    $relPath = PHPExcel_Shared_File::realpath(dirname(\"$dir/$fileWorksheet\") . \"/\" . $relPath);\n                                    $commentsFile = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, $relPath)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n\n                                    // Utility variables\n                                    $authors = array();\n\n                                    // Loop through authors\n                                    foreach ($commentsFile->authors->author as $author) {\n                                        $authors[] = (string)$author;\n                                    }\n\n                                    // Loop through contents\n                                    foreach ($commentsFile->commentList->comment as $comment) {\n                                        if (!empty($comment['authorId'])) {\n                                            $docSheet->getComment((string)$comment['ref'])->setAuthor($authors[(string)$comment['authorId']]);\n                                        }\n                                        $docSheet->getComment((string)$comment['ref'])->setText($this->parseRichText($comment->text));\n                                    }\n                                }\n\n                                // Loop through VML comments\n                                foreach ($vmlComments as $relName => $relPath) {\n                                    // Load VML comments file\n                                    $relPath = PHPExcel_Shared_File::realpath(dirname(\"$dir/$fileWorksheet\") . \"/\" . $relPath);\n                                    $vmlCommentsFile = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, $relPath)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                                    $vmlCommentsFile->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml');\n\n                                    $shapes = $vmlCommentsFile->xpath('//v:shape');\n                                    foreach ($shapes as $shape) {\n                                        $shape->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml');\n\n                                        if (isset($shape['style'])) {\n                                            $style        = (string)$shape['style'];\n                                            $fillColor    = strtoupper(substr((string)$shape['fillcolor'], 1));\n                                            $column       = null;\n                                            $row          = null;\n\n                                            $clientData   = $shape->xpath('.//x:ClientData');\n                                            if (is_array($clientData) && !empty($clientData)) {\n                                                $clientData   = $clientData[0];\n\n                                                if (isset($clientData['ObjectType']) && (string)$clientData['ObjectType'] == 'Note') {\n                                                    $temp = $clientData->xpath('.//x:Row');\n                                                    if (is_array($temp)) {\n                                                        $row = $temp[0];\n                                                    }\n\n                                                    $temp = $clientData->xpath('.//x:Column');\n                                                    if (is_array($temp)) {\n                                                        $column = $temp[0];\n                                                    }\n                                                }\n                                            }\n\n                                            if (($column !== null) && ($row !== null)) {\n                                                // Set comment properties\n                                                $comment = $docSheet->getCommentByColumnAndRow((string) $column, $row + 1);\n                                                $comment->getFillColor()->setRGB($fillColor);\n\n                                                // Parse style\n                                                $styleArray = explode(';', str_replace(' ', '', $style));\n                                                foreach ($styleArray as $stylePair) {\n                                                    $stylePair = explode(':', $stylePair);\n\n                                                    if ($stylePair[0] == 'margin-left') {\n                                                        $comment->setMarginLeft($stylePair[1]);\n                                                    }\n                                                    if ($stylePair[0] == 'margin-top') {\n                                                        $comment->setMarginTop($stylePair[1]);\n                                                    }\n                                                    if ($stylePair[0] == 'width') {\n                                                        $comment->setWidth($stylePair[1]);\n                                                    }\n                                                    if ($stylePair[0] == 'height') {\n                                                        $comment->setHeight($stylePair[1]);\n                                                    }\n                                                    if ($stylePair[0] == 'visibility') {\n                                                        $comment->setVisible($stylePair[1] == 'visible');\n                                                    }\n                                                }\n                                            }\n                                        }\n                                    }\n                                }\n\n                                // Header/footer images\n                                if ($xmlSheet && $xmlSheet->legacyDrawingHF && !$this->readDataOnly) {\n                                    if ($zip->locateName(dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")) {\n                                        $relsWorksheet = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                                        $vmlRelationship = '';\n\n                                        foreach ($relsWorksheet->Relationship as $ele) {\n                                            if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing\") {\n                                                $vmlRelationship = self::dirAdd(\"$dir/$fileWorksheet\", $ele[\"Target\"]);\n                                            }\n                                        }\n\n                                        if ($vmlRelationship != '') {\n                                            // Fetch linked images\n                                            $relsVML = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, dirname($vmlRelationship) . '/_rels/' . basename($vmlRelationship) . '.rels')), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                                            $drawings = array();\n                                            foreach ($relsVML->Relationship as $ele) {\n                                                if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image\") {\n                                                    $drawings[(string) $ele[\"Id\"]] = self::dirAdd($vmlRelationship, $ele[\"Target\"]);\n                                                }\n                                            }\n\n                                            // Fetch VML document\n                                            $vmlDrawing = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, $vmlRelationship)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                                            $vmlDrawing->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml');\n\n                                            $hfImages = array();\n\n                                            $shapes = $vmlDrawing->xpath('//v:shape');\n                                            foreach ($shapes as $idx => $shape) {\n                                                $shape->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml');\n                                                $imageData = $shape->xpath('//v:imagedata');\n                                                $imageData = $imageData[$idx];\n\n                                                $imageData = $imageData->attributes('urn:schemas-microsoft-com:office:office');\n                                                $style = self::toCSSArray((string)$shape['style']);\n\n                                                $hfImages[ (string)$shape['id'] ] = new PHPExcel_Worksheet_HeaderFooterDrawing();\n                                                if (isset($imageData['title'])) {\n                                                    $hfImages[ (string)$shape['id'] ]->setName((string)$imageData['title']);\n                                                }\n\n                                                $hfImages[ (string)$shape['id'] ]->setPath(\"zip://\".PHPExcel_Shared_File::realpath($pFilename).\"#\" . $drawings[(string)$imageData['relid']], false);\n                                                $hfImages[ (string)$shape['id'] ]->setResizeProportional(false);\n                                                $hfImages[ (string)$shape['id'] ]->setWidth($style['width']);\n                                                $hfImages[ (string)$shape['id'] ]->setHeight($style['height']);\n                                                if (isset($style['margin-left'])) {\n                                                    $hfImages[ (string)$shape['id'] ]->setOffsetX($style['margin-left']);\n                                                }\n                                                $hfImages[ (string)$shape['id'] ]->setOffsetY($style['margin-top']);\n                                                $hfImages[ (string)$shape['id'] ]->setResizeProportional(true);\n                                            }\n\n                                            $docSheet->getHeaderFooter()->setImages($hfImages);\n                                        }\n                                    }\n                                }\n\n                            }\n\n                            // TODO: Autoshapes from twoCellAnchors!\n                            if ($zip->locateName(dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")) {\n                                $relsWorksheet = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, dirname(\"$dir/$fileWorksheet\") . \"/_rels/\" . basename($fileWorksheet) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                                $drawings = array();\n                                foreach ($relsWorksheet->Relationship as $ele) {\n                                    if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing\") {\n                                        $drawings[(string) $ele[\"Id\"]] = self::dirAdd(\"$dir/$fileWorksheet\", $ele[\"Target\"]);\n                                    }\n                                }\n                                if ($xmlSheet->drawing && !$this->readDataOnly) {\n                                    foreach ($xmlSheet->drawing as $drawing) {\n                                        $fileDrawing = $drawings[(string) self::getArrayItem($drawing->attributes(\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"), \"id\")];\n                                        $relsDrawing = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, dirname($fileDrawing) . \"/_rels/\" . basename($fileDrawing) . \".rels\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships\");\n                                        $images = array();\n\n                                        if ($relsDrawing && $relsDrawing->Relationship) {\n                                            foreach ($relsDrawing->Relationship as $ele) {\n                                                if ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image\") {\n                                                    $images[(string) $ele[\"Id\"]] = self::dirAdd($fileDrawing, $ele[\"Target\"]);\n                                                } elseif ($ele[\"Type\"] == \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart\") {\n                                                    if ($this->includeCharts) {\n                                                        $charts[self::dirAdd($fileDrawing, $ele[\"Target\"])] = array(\n                                                            'id'        => (string) $ele[\"Id\"],\n                                                            'sheet'    => $docSheet->getTitle()\n                                                        );\n                                                    }\n                                                }\n                                            }\n                                        }\n                                        $xmlDrawing = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, $fileDrawing)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions())->children(\"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing\");\n\n                                        if ($xmlDrawing->oneCellAnchor) {\n                                            foreach ($xmlDrawing->oneCellAnchor as $oneCellAnchor) {\n                                                if ($oneCellAnchor->pic->blipFill) {\n                                                    $blip = $oneCellAnchor->pic->blipFill->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->blip;\n                                                    $xfrm = $oneCellAnchor->pic->spPr->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->xfrm;\n                                                    $outerShdw = $oneCellAnchor->pic->spPr->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->effectLst->outerShdw;\n                                                    $objDrawing = new PHPExcel_Worksheet_Drawing;\n                                                    $objDrawing->setName((string) self::getArrayItem($oneCellAnchor->pic->nvPicPr->cNvPr->attributes(), \"name\"));\n                                                    $objDrawing->setDescription((string) self::getArrayItem($oneCellAnchor->pic->nvPicPr->cNvPr->attributes(), \"descr\"));\n                                                    $objDrawing->setPath(\"zip://\".PHPExcel_Shared_File::realpath($pFilename).\"#\" . $images[(string) self::getArrayItem($blip->attributes(\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"), \"embed\")], false);\n                                                    $objDrawing->setCoordinates(PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1));\n                                                    $objDrawing->setOffsetX(PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->colOff));\n                                                    $objDrawing->setOffsetY(PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->rowOff));\n                                                    $objDrawing->setResizeProportional(false);\n                                                    $objDrawing->setWidth(PHPExcel_Shared_Drawing::EMUToPixels(self::getArrayItem($oneCellAnchor->ext->attributes(), \"cx\")));\n                                                    $objDrawing->setHeight(PHPExcel_Shared_Drawing::EMUToPixels(self::getArrayItem($oneCellAnchor->ext->attributes(), \"cy\")));\n                                                    if ($xfrm) {\n                                                        $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::getArrayItem($xfrm->attributes(), \"rot\")));\n                                                    }\n                                                    if ($outerShdw) {\n                                                        $shadow = $objDrawing->getShadow();\n                                                        $shadow->setVisible(true);\n                                                        $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::getArrayItem($outerShdw->attributes(), \"blurRad\")));\n                                                        $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::getArrayItem($outerShdw->attributes(), \"dist\")));\n                                                        $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::getArrayItem($outerShdw->attributes(), \"dir\")));\n                                                        $shadow->setAlignment((string) self::getArrayItem($outerShdw->attributes(), \"algn\"));\n                                                        $shadow->getColor()->setRGB(self::getArrayItem($outerShdw->srgbClr->attributes(), \"val\"));\n                                                        $shadow->setAlpha(self::getArrayItem($outerShdw->srgbClr->alpha->attributes(), \"val\") / 1000);\n                                                    }\n                                                    $objDrawing->setWorksheet($docSheet);\n                                                } else {\n                                                    //    ? Can charts be positioned with a oneCellAnchor ?\n                                                    $coordinates    = PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1);\n                                                    $offsetX        = PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->colOff);\n                                                    $offsetY        = PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->rowOff);\n                                                    $width          = PHPExcel_Shared_Drawing::EMUToPixels(self::getArrayItem($oneCellAnchor->ext->attributes(), \"cx\"));\n                                                    $height         = PHPExcel_Shared_Drawing::EMUToPixels(self::getArrayItem($oneCellAnchor->ext->attributes(), \"cy\"));\n                                                }\n                                            }\n                                        }\n                                        if ($xmlDrawing->twoCellAnchor) {\n                                            foreach ($xmlDrawing->twoCellAnchor as $twoCellAnchor) {\n                                                if ($twoCellAnchor->pic->blipFill) {\n                                                    $blip = $twoCellAnchor->pic->blipFill->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->blip;\n                                                    $xfrm = $twoCellAnchor->pic->spPr->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->xfrm;\n                                                    $outerShdw = $twoCellAnchor->pic->spPr->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->effectLst->outerShdw;\n                                                    $objDrawing = new PHPExcel_Worksheet_Drawing;\n                                                    $objDrawing->setName((string) self::getArrayItem($twoCellAnchor->pic->nvPicPr->cNvPr->attributes(), \"name\"));\n                                                    $objDrawing->setDescription((string) self::getArrayItem($twoCellAnchor->pic->nvPicPr->cNvPr->attributes(), \"descr\"));\n                                                    $objDrawing->setPath(\"zip://\".PHPExcel_Shared_File::realpath($pFilename).\"#\" . $images[(string) self::getArrayItem($blip->attributes(\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"), \"embed\")], false);\n                                                    $objDrawing->setCoordinates(PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1));\n                                                    $objDrawing->setOffsetX(PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->colOff));\n                                                    $objDrawing->setOffsetY(PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->rowOff));\n                                                    $objDrawing->setResizeProportional(false);\n\n                                                    if ($xfrm) {\n                                                        $objDrawing->setWidth(PHPExcel_Shared_Drawing::EMUToPixels(self::getArrayItem($xfrm->ext->attributes(), \"cx\")));\n                                                        $objDrawing->setHeight(PHPExcel_Shared_Drawing::EMUToPixels(self::getArrayItem($xfrm->ext->attributes(), \"cy\")));\n                                                        $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::getArrayItem($xfrm->attributes(), \"rot\")));\n                                                    }\n                                                    if ($outerShdw) {\n                                                        $shadow = $objDrawing->getShadow();\n                                                        $shadow->setVisible(true);\n                                                        $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::getArrayItem($outerShdw->attributes(), \"blurRad\")));\n                                                        $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::getArrayItem($outerShdw->attributes(), \"dist\")));\n                                                        $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::getArrayItem($outerShdw->attributes(), \"dir\")));\n                                                        $shadow->setAlignment((string) self::getArrayItem($outerShdw->attributes(), \"algn\"));\n                                                        $shadow->getColor()->setRGB(self::getArrayItem($outerShdw->srgbClr->attributes(), \"val\"));\n                                                        $shadow->setAlpha(self::getArrayItem($outerShdw->srgbClr->alpha->attributes(), \"val\") / 1000);\n                                                    }\n                                                    $objDrawing->setWorksheet($docSheet);\n                                                } elseif (($this->includeCharts) && ($twoCellAnchor->graphicFrame)) {\n                                                    $fromCoordinate = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1);\n                                                    $fromOffsetX    = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->colOff);\n                                                    $fromOffsetY    = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->rowOff);\n                                                    $toCoordinate   = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->to->col) . ($twoCellAnchor->to->row + 1);\n                                                    $toOffsetX      = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->to->colOff);\n                                                    $toOffsetY      = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->to->rowOff);\n                                                    $graphic        = $twoCellAnchor->graphicFrame->children(\"http://schemas.openxmlformats.org/drawingml/2006/main\")->graphic;\n                                                    $chartRef       = $graphic->graphicData->children(\"http://schemas.openxmlformats.org/drawingml/2006/chart\")->chart;\n                                                    $thisChart      = (string) $chartRef->attributes(\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\");\n\n                                                    $chartDetails[$docSheet->getTitle().'!'.$thisChart] = array(\n                                                        'fromCoordinate'    => $fromCoordinate,\n                                                        'fromOffsetX'       => $fromOffsetX,\n                                                        'fromOffsetY'       => $fromOffsetY,\n                                                        'toCoordinate'      => $toCoordinate,\n                                                        'toOffsetX'         => $toOffsetX,\n                                                        'toOffsetY'         => $toOffsetY,\n                                                        'worksheetTitle'    => $docSheet->getTitle()\n                                                    );\n                                                }\n                                            }\n                                        }\n                                    }\n                                }\n                            }\n\n                            // Loop through definedNames\n                            if ($xmlWorkbook->definedNames) {\n                                foreach ($xmlWorkbook->definedNames->definedName as $definedName) {\n                                    // Extract range\n                                    $extractedRange = (string)$definedName;\n                                    $extractedRange = preg_replace('/\\'(\\w+)\\'\\!/', '', $extractedRange);\n                                    if (($spos = strpos($extractedRange, '!')) !== false) {\n                                        $extractedRange = substr($extractedRange, 0, $spos).str_replace('$', '', substr($extractedRange, $spos));\n                                    } else {\n                                        $extractedRange = str_replace('$', '', $extractedRange);\n                                    }\n\n                                    // Valid range?\n                                    if (stripos((string)$definedName, '#REF!') !== false || $extractedRange == '') {\n                                        continue;\n                                    }\n\n                                    // Some definedNames are only applicable if we are on the same sheet...\n                                    if ((string)$definedName['localSheetId'] != '' && (string)$definedName['localSheetId'] == $sheetId) {\n                                        // Switch on type\n                                        switch ((string)$definedName['name']) {\n                                            case '_xlnm._FilterDatabase':\n                                                if ((string)$definedName['hidden'] !== '1') {\n                                                    $extractedRange = explode(',', $extractedRange);\n                                                    foreach ($extractedRange as $range) {\n                                                        $autoFilterRange = $range;\n                                                        if (strpos($autoFilterRange, ':') !== false) {\n                                                            $docSheet->getAutoFilter()->setRange($autoFilterRange);\n                                                        }\n                                                    }\n                                                }\n                                                break;\n                                            case '_xlnm.Print_Titles':\n                                                // Split $extractedRange\n                                                $extractedRange = explode(',', $extractedRange);\n\n                                                // Set print titles\n                                                foreach ($extractedRange as $range) {\n                                                    $matches = array();\n                                                    $range = str_replace('$', '', $range);\n\n                                                    // check for repeating columns, e g. 'A:A' or 'A:D'\n                                                    if (preg_match('/!?([A-Z]+)\\:([A-Z]+)$/', $range, $matches)) {\n                                                        $docSheet->getPageSetup()->setColumnsToRepeatAtLeft(array($matches[1], $matches[2]));\n                                                    } elseif (preg_match('/!?(\\d+)\\:(\\d+)$/', $range, $matches)) {\n                                                        // check for repeating rows, e.g. '1:1' or '1:5'\n                                                        $docSheet->getPageSetup()->setRowsToRepeatAtTop(array($matches[1], $matches[2]));\n                                                    }\n                                                }\n                                                break;\n                                            case '_xlnm.Print_Area':\n                                                $rangeSets = explode(',', $extractedRange);        // FIXME: what if sheetname contains comma?\n                                                $newRangeSets = array();\n                                                foreach ($rangeSets as $rangeSet) {\n                                                    $range = explode('!', $rangeSet);    // FIXME: what if sheetname contains exclamation mark?\n                                                    $rangeSet = isset($range[1]) ? $range[1] : $range[0];\n                                                    if (strpos($rangeSet, ':') === false) {\n                                                        $rangeSet = $rangeSet . ':' . $rangeSet;\n                                                    }\n                                                    $newRangeSets[] = str_replace('$', '', $rangeSet);\n                                                }\n                                                $docSheet->getPageSetup()->setPrintArea(implode(',', $newRangeSets));\n                                                break;\n\n                                            default:\n                                                break;\n                                        }\n                                    }\n                                }\n                            }\n\n                            // Next sheet id\n                            ++$sheetId;\n                        }\n\n                        // Loop through definedNames\n                        if ($xmlWorkbook->definedNames) {\n                            foreach ($xmlWorkbook->definedNames->definedName as $definedName) {\n                                // Extract range\n                                $extractedRange = (string)$definedName;\n                                $extractedRange = preg_replace('/\\'(\\w+)\\'\\!/', '', $extractedRange);\n                                if (($spos = strpos($extractedRange, '!')) !== false) {\n                                    $extractedRange = substr($extractedRange, 0, $spos).str_replace('$', '', substr($extractedRange, $spos));\n                                } else {\n                                    $extractedRange = str_replace('$', '', $extractedRange);\n                                }\n\n                                // Valid range?\n                                if (stripos((string)$definedName, '#REF!') !== false || $extractedRange == '') {\n                                    continue;\n                                }\n\n                                // Some definedNames are only applicable if we are on the same sheet...\n                                if ((string)$definedName['localSheetId'] != '') {\n                                    // Local defined name\n                                    // Switch on type\n                                    switch ((string)$definedName['name']) {\n                                        case '_xlnm._FilterDatabase':\n                                        case '_xlnm.Print_Titles':\n                                        case '_xlnm.Print_Area':\n                                            break;\n                                        default:\n                                            if ($mapSheetId[(integer) $definedName['localSheetId']] !== null) {\n                                                $range = explode('!', (string)$definedName);\n                                                if (count($range) == 2) {\n                                                    $range[0] = str_replace(\"''\", \"'\", $range[0]);\n                                                    $range[0] = str_replace(\"'\", \"\", $range[0]);\n                                                    if ($worksheet = $docSheet->getParent()->getSheetByName($range[0])) {\n                                                        $extractedRange = str_replace('$', '', $range[1]);\n                                                        $scope = $docSheet->getParent()->getSheet($mapSheetId[(integer) $definedName['localSheetId']]);\n                                                        $excel->addNamedRange(new PHPExcel_NamedRange((string)$definedName['name'], $worksheet, $extractedRange, true, $scope));\n                                                    }\n                                                }\n                                            }\n                                            break;\n                                    }\n                                } elseif (!isset($definedName['localSheetId'])) {\n                                    // \"Global\" definedNames\n                                    $locatedSheet = null;\n                                    $extractedSheetName = '';\n                                    if (strpos((string)$definedName, '!') !== false) {\n                                        // Extract sheet name\n                                        $extractedSheetName = PHPExcel_Worksheet::extractSheetTitle((string)$definedName, true);\n                                        $extractedSheetName = $extractedSheetName[0];\n\n                                        // Locate sheet\n                                        $locatedSheet = $excel->getSheetByName($extractedSheetName);\n\n                                        // Modify range\n                                        $range = explode('!', $extractedRange);\n                                        $extractedRange = isset($range[1]) ? $range[1] : $range[0];\n                                    }\n\n                                    if ($locatedSheet !== null) {\n                                        $excel->addNamedRange(new PHPExcel_NamedRange((string)$definedName['name'], $locatedSheet, $extractedRange, false));\n                                    }\n                                }\n                            }\n                        }\n                    }\n\n                    if ((!$this->readDataOnly) || (!empty($this->loadSheetsOnly))) {\n                        // active sheet index\n                        $activeTab = intval($xmlWorkbook->bookViews->workbookView[\"activeTab\"]); // refers to old sheet index\n\n                        // keep active sheet index if sheet is still loaded, else first sheet is set as the active\n                        if (isset($mapSheetId[$activeTab]) && $mapSheetId[$activeTab] !== null) {\n                            $excel->setActiveSheetIndex($mapSheetId[$activeTab]);\n                        } else {\n                            if ($excel->getSheetCount() == 0) {\n                                $excel->createSheet();\n                            }\n                            $excel->setActiveSheetIndex(0);\n                        }\n                    }\n                    break;\n            }\n        }\n\n        if (!$this->readDataOnly) {\n            $contentTypes = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, \"[Content_Types].xml\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n            foreach ($contentTypes->Override as $contentType) {\n                switch ($contentType[\"ContentType\"]) {\n                    case \"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":\n                        if ($this->includeCharts) {\n                            $chartEntryRef = ltrim($contentType['PartName'], '/');\n                            $chartElements = simplexml_load_string($this->securityScan($this->getFromZipArchive($zip, $chartEntryRef)), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                            $objChart = PHPExcel_Reader_Excel2007_Chart::readChart($chartElements, basename($chartEntryRef, '.xml'));\n\n//                            echo 'Chart ', $chartEntryRef, '<br />';\n//                            var_dump($charts[$chartEntryRef]);\n//\n                            if (isset($charts[$chartEntryRef])) {\n                                $chartPositionRef = $charts[$chartEntryRef]['sheet'].'!'.$charts[$chartEntryRef]['id'];\n//                                echo 'Position Ref ', $chartPositionRef, '<br />';\n                                if (isset($chartDetails[$chartPositionRef])) {\n//                                    var_dump($chartDetails[$chartPositionRef]);\n\n                                    $excel->getSheetByName($charts[$chartEntryRef]['sheet'])->addChart($objChart);\n                                    $objChart->setWorksheet($excel->getSheetByName($charts[$chartEntryRef]['sheet']));\n                                    $objChart->setTopLeftPosition($chartDetails[$chartPositionRef]['fromCoordinate'], $chartDetails[$chartPositionRef]['fromOffsetX'], $chartDetails[$chartPositionRef]['fromOffsetY']);\n                                    $objChart->setBottomRightPosition($chartDetails[$chartPositionRef]['toCoordinate'], $chartDetails[$chartPositionRef]['toOffsetX'], $chartDetails[$chartPositionRef]['toOffsetY']);\n                                }\n                            }\n                        }\n                }\n            }\n        }\n\n        $zip->close();\n\n        return $excel;\n    }\n\n    private static function readColor($color, $background = false)\n    {\n        if (isset($color[\"rgb\"])) {\n            return (string)$color[\"rgb\"];\n        } elseif (isset($color[\"indexed\"])) {\n            return PHPExcel_Style_Color::indexedColor($color[\"indexed\"]-7, $background)->getARGB();\n        } elseif (isset($color[\"theme\"])) {\n            if (self::$theme !== null) {\n                $returnColour = self::$theme->getColourByIndex((int)$color[\"theme\"]);\n                if (isset($color[\"tint\"])) {\n                    $tintAdjust = (float) $color[\"tint\"];\n                    $returnColour = PHPExcel_Style_Color::changeBrightness($returnColour, $tintAdjust);\n                }\n                return 'FF'.$returnColour;\n            }\n        }\n\n        if ($background) {\n            return 'FFFFFFFF';\n        }\n        return 'FF000000';\n    }\n\n    private static function readStyle($docStyle, $style)\n    {\n        // format code\n//        if (isset($style->numFmt)) {\n//            if (isset($style->numFmt['formatCode'])) {\n//                $docStyle->getNumberFormat()->setFormatCode((string) $style->numFmt['formatCode']);\n//            } else {\n                $docStyle->getNumberFormat()->setFormatCode($style->numFmt);\n//            }\n//        }\n\n        // font\n        if (isset($style->font)) {\n            $docStyle->getFont()->setName((string) $style->font->name[\"val\"]);\n            $docStyle->getFont()->setSize((string) $style->font->sz[\"val\"]);\n            if (isset($style->font->b)) {\n                $docStyle->getFont()->setBold(!isset($style->font->b[\"val\"]) || self::boolean((string) $style->font->b[\"val\"]));\n            }\n            if (isset($style->font->i)) {\n                $docStyle->getFont()->setItalic(!isset($style->font->i[\"val\"]) || self::boolean((string) $style->font->i[\"val\"]));\n            }\n            if (isset($style->font->strike)) {\n                $docStyle->getFont()->setStrikethrough(!isset($style->font->strike[\"val\"]) || self::boolean((string) $style->font->strike[\"val\"]));\n            }\n            $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color));\n\n            if (isset($style->font->u) && !isset($style->font->u[\"val\"])) {\n                $docStyle->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n            } elseif (isset($style->font->u) && isset($style->font->u[\"val\"])) {\n                $docStyle->getFont()->setUnderline((string)$style->font->u[\"val\"]);\n            }\n\n            if (isset($style->font->vertAlign) && isset($style->font->vertAlign[\"val\"])) {\n                $vertAlign = strtolower((string)$style->font->vertAlign[\"val\"]);\n                if ($vertAlign == 'superscript') {\n                    $docStyle->getFont()->setSuperScript(true);\n                }\n                if ($vertAlign == 'subscript') {\n                    $docStyle->getFont()->setSubScript(true);\n                }\n            }\n        }\n\n        // fill\n        if (isset($style->fill)) {\n            if ($style->fill->gradientFill) {\n                $gradientFill = $style->fill->gradientFill[0];\n                if (!empty($gradientFill[\"type\"])) {\n                    $docStyle->getFill()->setFillType((string) $gradientFill[\"type\"]);\n                }\n                $docStyle->getFill()->setRotation(floatval($gradientFill[\"degree\"]));\n                $gradientFill->registerXPathNamespace(\"sml\", \"http://schemas.openxmlformats.org/spreadsheetml/2006/main\");\n                $docStyle->getFill()->getStartColor()->setARGB(self::readColor(self::getArrayItem($gradientFill->xpath(\"sml:stop[@position=0]\"))->color));\n                $docStyle->getFill()->getEndColor()->setARGB(self::readColor(self::getArrayItem($gradientFill->xpath(\"sml:stop[@position=1]\"))->color));\n            } elseif ($style->fill->patternFill) {\n                $patternType = (string)$style->fill->patternFill[\"patternType\"] != '' ? (string)$style->fill->patternFill[\"patternType\"] : 'solid';\n                $docStyle->getFill()->setFillType($patternType);\n                if ($style->fill->patternFill->fgColor) {\n                    $docStyle->getFill()->getStartColor()->setARGB(self::readColor($style->fill->patternFill->fgColor, true));\n                } else {\n                    $docStyle->getFill()->getStartColor()->setARGB('FF000000');\n                }\n                if ($style->fill->patternFill->bgColor) {\n                    $docStyle->getFill()->getEndColor()->setARGB(self::readColor($style->fill->patternFill->bgColor, true));\n                }\n            }\n        }\n\n        // border\n        if (isset($style->border)) {\n            $diagonalUp = self::boolean((string) $style->border[\"diagonalUp\"]);\n            $diagonalDown = self::boolean((string) $style->border[\"diagonalDown\"]);\n            if (!$diagonalUp && !$diagonalDown) {\n                $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_NONE);\n            } elseif ($diagonalUp && !$diagonalDown) {\n                $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_UP);\n            } elseif (!$diagonalUp && $diagonalDown) {\n                $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_DOWN);\n            } else {\n                $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_BOTH);\n            }\n            self::readBorder($docStyle->getBorders()->getLeft(), $style->border->left);\n            self::readBorder($docStyle->getBorders()->getRight(), $style->border->right);\n            self::readBorder($docStyle->getBorders()->getTop(), $style->border->top);\n            self::readBorder($docStyle->getBorders()->getBottom(), $style->border->bottom);\n            self::readBorder($docStyle->getBorders()->getDiagonal(), $style->border->diagonal);\n        }\n\n        // alignment\n        if (isset($style->alignment)) {\n            $docStyle->getAlignment()->setHorizontal((string) $style->alignment[\"horizontal\"]);\n            $docStyle->getAlignment()->setVertical((string) $style->alignment[\"vertical\"]);\n\n            $textRotation = 0;\n            if ((int)$style->alignment[\"textRotation\"] <= 90) {\n                $textRotation = (int)$style->alignment[\"textRotation\"];\n            } elseif ((int)$style->alignment[\"textRotation\"] > 90) {\n                $textRotation = 90 - (int)$style->alignment[\"textRotation\"];\n            }\n\n            $docStyle->getAlignment()->setTextRotation(intval($textRotation));\n            $docStyle->getAlignment()->setWrapText(self::boolean((string) $style->alignment[\"wrapText\"]));\n            $docStyle->getAlignment()->setShrinkToFit(self::boolean((string) $style->alignment[\"shrinkToFit\"]));\n            $docStyle->getAlignment()->setIndent(intval((string)$style->alignment[\"indent\"]) > 0 ? intval((string)$style->alignment[\"indent\"]) : 0);\n            $docStyle->getAlignment()->setReadorder(intval((string)$style->alignment[\"readingOrder\"]) > 0 ? intval((string)$style->alignment[\"readingOrder\"]) : 0);\n        }\n\n        // protection\n        if (isset($style->protection)) {\n            if (isset($style->protection['locked'])) {\n                if (self::boolean((string) $style->protection['locked'])) {\n                    $docStyle->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_PROTECTED);\n                } else {\n                    $docStyle->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);\n                }\n            }\n\n            if (isset($style->protection['hidden'])) {\n                if (self::boolean((string) $style->protection['hidden'])) {\n                    $docStyle->getProtection()->setHidden(PHPExcel_Style_Protection::PROTECTION_PROTECTED);\n                } else {\n                    $docStyle->getProtection()->setHidden(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);\n                }\n            }\n        }\n\n        // top-level style settings\n        if (isset($style->quotePrefix)) {\n            $docStyle->setQuotePrefix($style->quotePrefix);\n        }\n    }\n\n    private static function readBorder($docBorder, $eleBorder)\n    {\n        if (isset($eleBorder[\"style\"])) {\n            $docBorder->setBorderStyle((string) $eleBorder[\"style\"]);\n        }\n        if (isset($eleBorder->color)) {\n            $docBorder->getColor()->setARGB(self::readColor($eleBorder->color));\n        }\n    }\n\n    private function parseRichText($is = null)\n    {\n        $value = new PHPExcel_RichText();\n\n        if (isset($is->t)) {\n            $value->createText(PHPExcel_Shared_String::ControlCharacterOOXML2PHP((string) $is->t));\n        } else {\n            if (is_object($is->r)) {\n                foreach ($is->r as $run) {\n                    if (!isset($run->rPr)) {\n                        $objText = $value->createText(PHPExcel_Shared_String::ControlCharacterOOXML2PHP((string) $run->t));\n\n                    } else {\n                        $objText = $value->createTextRun(PHPExcel_Shared_String::ControlCharacterOOXML2PHP((string) $run->t));\n\n                        if (isset($run->rPr->rFont[\"val\"])) {\n                            $objText->getFont()->setName((string) $run->rPr->rFont[\"val\"]);\n                        }\n                        if (isset($run->rPr->sz[\"val\"])) {\n                            $objText->getFont()->setSize((string) $run->rPr->sz[\"val\"]);\n                        }\n                        if (isset($run->rPr->color)) {\n                            $objText->getFont()->setColor(new PHPExcel_Style_Color(self::readColor($run->rPr->color)));\n                        }\n                        if ((isset($run->rPr->b[\"val\"]) && self::boolean((string) $run->rPr->b[\"val\"])) ||\n                            (isset($run->rPr->b) && !isset($run->rPr->b[\"val\"]))) {\n                            $objText->getFont()->setBold(true);\n                        }\n                        if ((isset($run->rPr->i[\"val\"]) && self::boolean((string) $run->rPr->i[\"val\"])) ||\n                            (isset($run->rPr->i) && !isset($run->rPr->i[\"val\"]))) {\n                            $objText->getFont()->setItalic(true);\n                        }\n                        if (isset($run->rPr->vertAlign) && isset($run->rPr->vertAlign[\"val\"])) {\n                            $vertAlign = strtolower((string)$run->rPr->vertAlign[\"val\"]);\n                            if ($vertAlign == 'superscript') {\n                                $objText->getFont()->setSuperScript(true);\n                            }\n                            if ($vertAlign == 'subscript') {\n                                $objText->getFont()->setSubScript(true);\n                            }\n                        }\n                        if (isset($run->rPr->u) && !isset($run->rPr->u[\"val\"])) {\n                            $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n                        } elseif (isset($run->rPr->u) && isset($run->rPr->u[\"val\"])) {\n                            $objText->getFont()->setUnderline((string)$run->rPr->u[\"val\"]);\n                        }\n                        if ((isset($run->rPr->strike[\"val\"]) && self::boolean((string) $run->rPr->strike[\"val\"])) ||\n                            (isset($run->rPr->strike) && !isset($run->rPr->strike[\"val\"]))) {\n                            $objText->getFont()->setStrikethrough(true);\n                        }\n                    }\n                }\n            }\n        }\n\n        return $value;\n    }\n\n    private function readRibbon($excel, $customUITarget, $zip)\n    {\n        $baseDir = dirname($customUITarget);\n        $nameCustomUI = basename($customUITarget);\n        // get the xml file (ribbon)\n        $localRibbon = $this->getFromZipArchive($zip, $customUITarget);\n        $customUIImagesNames = array();\n        $customUIImagesBinaries = array();\n        // something like customUI/_rels/customUI.xml.rels\n        $pathRels = $baseDir . '/_rels/' . $nameCustomUI . '.rels';\n        $dataRels = $this->getFromZipArchive($zip, $pathRels);\n        if ($dataRels) {\n            // exists and not empty if the ribbon have some pictures (other than internal MSO)\n            $UIRels = simplexml_load_string($this->securityScan($dataRels), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n            if ($UIRels) {\n                // we need to save id and target to avoid parsing customUI.xml and \"guess\" if it's a pseudo callback who load the image\n                foreach ($UIRels->Relationship as $ele) {\n                    if ($ele[\"Type\"] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image') {\n                        // an image ?\n                        $customUIImagesNames[(string) $ele['Id']] = (string)$ele['Target'];\n                        $customUIImagesBinaries[(string)$ele['Target']] = $this->getFromZipArchive($zip, $baseDir . '/' . (string) $ele['Target']);\n                    }\n                }\n            }\n        }\n        if ($localRibbon) {\n            $excel->setRibbonXMLData($customUITarget, $localRibbon);\n            if (count($customUIImagesNames) > 0 && count($customUIImagesBinaries) > 0) {\n                $excel->setRibbonBinObjects($customUIImagesNames, $customUIImagesBinaries);\n            } else {\n                $excel->setRibbonBinObjects(null);\n            }\n        } else {\n            $excel->setRibbonXMLData(null);\n            $excel->setRibbonBinObjects(null);\n        }\n    }\n\n    private static function getArrayItem($array, $key = 0)\n    {\n        return (isset($array[$key]) ? $array[$key] : null);\n    }\n\n    private static function dirAdd($base, $add)\n    {\n        return preg_replace('~[^/]+/\\.\\./~', '', dirname($base) . \"/$add\");\n    }\n\n    private static function toCSSArray($style)\n    {\n        $style = str_replace(array(\"\\r\",\"\\n\"), \"\", $style);\n\n        $temp = explode(';', $style);\n        $style = array();\n        foreach ($temp as $item) {\n            $item = explode(':', $item);\n\n            if (strpos($item[1], 'px') !== false) {\n                $item[1] = str_replace('px', '', $item[1]);\n            }\n            if (strpos($item[1], 'pt') !== false) {\n                $item[1] = str_replace('pt', '', $item[1]);\n                $item[1] = PHPExcel_Shared_Font::fontSizeToPixels($item[1]);\n            }\n            if (strpos($item[1], 'in') !== false) {\n                $item[1] = str_replace('in', '', $item[1]);\n                $item[1] = PHPExcel_Shared_Font::inchSizeToPixels($item[1]);\n            }\n            if (strpos($item[1], 'cm') !== false) {\n                $item[1] = str_replace('cm', '', $item[1]);\n                $item[1] = PHPExcel_Shared_Font::centimeterSizeToPixels($item[1]);\n            }\n\n            $style[$item[0]] = $item[1];\n        }\n\n        return $style;\n    }\n\n    private static function boolean($value = null)\n    {\n        if (is_object($value)) {\n            $value = (string) $value;\n        }\n        if (is_numeric($value)) {\n            return (bool) $value;\n        }\n        return ($value === 'true' || $value === 'TRUE');\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Color/BIFF5.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_Color_BIFF5\n{\n    protected static $map = array(\n        0x08 => '000000',\n        0x09 => 'FFFFFF',\n        0x0A => 'FF0000',\n        0x0B => '00FF00',\n        0x0C => '0000FF',\n        0x0D => 'FFFF00',\n        0x0E => 'FF00FF',\n        0x0F => '00FFFF',\n        0x10 => '800000',\n        0x11 => '008000',\n        0x12 => '000080',\n        0x13 => '808000',\n        0x14 => '800080',\n        0x15 => '008080',\n        0x16 => 'C0C0C0',\n        0x17 => '808080',\n        0x18 => '8080FF',\n        0x19 => '802060',\n        0x1A => 'FFFFC0',\n        0x1B => 'A0E0F0',\n        0x1C => '600080',\n        0x1D => 'FF8080',\n        0x1E => '0080C0',\n        0x1F => 'C0C0FF',\n        0x20 => '000080',\n        0x21 => 'FF00FF',\n        0x22 => 'FFFF00',\n        0x23 => '00FFFF',\n        0x24 => '800080',\n        0x25 => '800000',\n        0x26 => '008080',\n        0x27 => '0000FF',\n        0x28 => '00CFFF',\n        0x29 => '69FFFF',\n        0x2A => 'E0FFE0',\n        0x2B => 'FFFF80',\n        0x2C => 'A6CAF0',\n        0x2D => 'DD9CB3',\n        0x2E => 'B38FEE',\n        0x2F => 'E3E3E3',\n        0x30 => '2A6FF9',\n        0x31 => '3FB8CD',\n        0x32 => '488436',\n        0x33 => '958C41',\n        0x34 => '8E5E42',\n        0x35 => 'A0627A',\n        0x36 => '624FAC',\n        0x37 => '969696',\n        0x38 => '1D2FBE',\n        0x39 => '286676',\n        0x3A => '004500',\n        0x3B => '453E01',\n        0x3C => '6A2813',\n        0x3D => '85396A',\n        0x3E => '4A3285',\n        0x3F => '424242',\n    );\n\n    /**\n     * Map color array from BIFF5 built-in color index\n     *\n     * @param int $color\n     * @return array\n     */\n    public static function lookup($color)\n    {\n        if (isset(self::$map[$color])) {\n            return array('rgb' => self::$map[$color]);\n        }\n        return array('rgb' => '000000');\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Color/BIFF8.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_Color_BIFF8\n{\n    protected static $map = array(\n        0x08 => '000000',\n        0x09 => 'FFFFFF',\n        0x0A => 'FF0000',\n        0x0B => '00FF00',\n        0x0C => '0000FF',\n        0x0D => 'FFFF00',\n        0x0E => 'FF00FF',\n        0x0F => '00FFFF',\n        0x10 => '800000',\n        0x11 => '008000',\n        0x12 => '000080',\n        0x13 => '808000',\n        0x14 => '800080',\n        0x15 => '008080',\n        0x16 => 'C0C0C0',\n        0x17 => '808080',\n        0x18 => '9999FF',\n        0x19 => '993366',\n        0x1A => 'FFFFCC',\n        0x1B => 'CCFFFF',\n        0x1C => '660066',\n        0x1D => 'FF8080',\n        0x1E => '0066CC',\n        0x1F => 'CCCCFF',\n        0x20 => '000080',\n        0x21 => 'FF00FF',\n        0x22 => 'FFFF00',\n        0x23 => '00FFFF',\n        0x24 => '800080',\n        0x25 => '800000',\n        0x26 => '008080',\n        0x27 => '0000FF',\n        0x28 => '00CCFF',\n        0x29 => 'CCFFFF',\n        0x2A => 'CCFFCC',\n        0x2B => 'FFFF99',\n        0x2C => '99CCFF',\n        0x2D => 'FF99CC',\n        0x2E => 'CC99FF',\n        0x2F => 'FFCC99',\n        0x30 => '3366FF',\n        0x31 => '33CCCC',\n        0x32 => '99CC00',\n        0x33 => 'FFCC00',\n        0x34 => 'FF9900',\n        0x35 => 'FF6600',\n        0x36 => '666699',\n        0x37 => '969696',\n        0x38 => '003366',\n        0x39 => '339966',\n        0x3A => '003300',\n        0x3B => '333300',\n        0x3C => '993300',\n        0x3D => '993366',\n        0x3E => '333399',\n        0x3F => '333333',\n    );\n\n   /**\n     * Map color array from BIFF8 built-in color index\n     *\n     * @param int $color\n     * @return array\n     */\n    public static function lookup($color)\n    {\n        if (isset(self::$map[$color])) {\n            return array('rgb' => self::$map[$color]);\n        }\n        return array('rgb' => '000000');\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Color/BuiltIn.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_Color_BuiltIn\n{\n    protected static $map = array(\n        0x00 => '000000',\n        0x01 => 'FFFFFF',\n        0x02 => 'FF0000',\n        0x03 => '00FF00',\n        0x04 => '0000FF',\n        0x05 => 'FFFF00',\n        0x06 => 'FF00FF',\n        0x07 => '00FFFF',\n        0x40 => '000000', // system window text color\n        0x41 => 'FFFFFF', // system window background color\n    );\n\n    /**\n     * Map built-in color to RGB value\n     *\n     * @param int $color Indexed color\n     * @return array\n     */\n    public static function lookup($color)\n    {\n        if (isset(self::$map[$color])) {\n            return array('rgb' => self::$map[$color]);\n        }\n        return array('rgb' => '000000');\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Color.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_Color\n{\n    /**\n     * Read color\n     *\n     * @param int $color Indexed color\n     * @param array $palette Color palette\n     * @return array RGB color value, example: array('rgb' => 'FF0000')\n     */\n    public static function map($color, $palette, $version)\n    {\n        if ($color <= 0x07 || $color >= 0x40) {\n            // special built-in color\n            return PHPExcel_Reader_Excel5_Color_BuiltIn::lookup($color);\n        } elseif (isset($palette) && isset($palette[$color - 8])) {\n            // palette color, color index 0x08 maps to pallete index 0\n            return $palette[$color - 8];\n        } else {\n            // default color table\n            if ($version == PHPExcel_Reader_Excel5::XLS_BIFF8) {\n                return PHPExcel_Reader_Excel5_Color_BIFF8::lookup($color);\n            } else {\n                // BIFF5\n                return PHPExcel_Reader_Excel5_Color_BIFF5::lookup($color);\n            }\n        }\n\n        return $color;\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/ErrorCode.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_ErrorCode\n{\n    protected static $map = array(\n        0x00 => '#NULL!',\n        0x07 => '#DIV/0!',\n        0x0F => '#VALUE!',\n        0x17 => '#REF!',\n        0x1D => '#NAME?',\n        0x24 => '#NUM!',\n        0x2A => '#N/A',\n    );\n\n    /**\n     * Map error code, e.g. '#N/A'\n     *\n     * @param int $code\n     * @return string\n     */\n    public static function lookup($code)\n    {\n        if (isset(self::$map[$code])) {\n            return self::$map[$code];\n        }\n        return false;\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Escher.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_Excel5_Escher\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Excel5_Escher\n{\n    const DGGCONTAINER      = 0xF000;\n    const BSTORECONTAINER   = 0xF001;\n    const DGCONTAINER       = 0xF002;\n    const SPGRCONTAINER     = 0xF003;\n    const SPCONTAINER       = 0xF004;\n    const DGG               = 0xF006;\n    const BSE               = 0xF007;\n    const DG                = 0xF008;\n    const SPGR              = 0xF009;\n    const SP                = 0xF00A;\n    const OPT               = 0xF00B;\n    const CLIENTTEXTBOX     = 0xF00D;\n    const CLIENTANCHOR      = 0xF010;\n    const CLIENTDATA        = 0xF011;\n    const BLIPJPEG          = 0xF01D;\n    const BLIPPNG           = 0xF01E;\n    const SPLITMENUCOLORS   = 0xF11E;\n    const TERTIARYOPT       = 0xF122;\n\n    /**\n     * Escher stream data (binary)\n     *\n     * @var string\n     */\n    private $data;\n\n    /**\n     * Size in bytes of the Escher stream data\n     *\n     * @var int\n     */\n    private $dataSize;\n\n    /**\n     * Current position of stream pointer in Escher stream data\n     *\n     * @var int\n     */\n    private $pos;\n\n    /**\n     * The object to be returned by the reader. Modified during load.\n     *\n     * @var mixed\n     */\n    private $object;\n\n    /**\n     * Create a new PHPExcel_Reader_Excel5_Escher instance\n     *\n     * @param mixed $object\n     */\n    public function __construct($object)\n    {\n        $this->object = $object;\n    }\n\n    /**\n     * Load Escher stream data. May be a partial Escher stream.\n     *\n     * @param string $data\n     */\n    public function load($data)\n    {\n        $this->data = $data;\n\n        // total byte size of Excel data (workbook global substream + sheet substreams)\n        $this->dataSize = strlen($this->data);\n\n        $this->pos = 0;\n\n        // Parse Escher stream\n        while ($this->pos < $this->dataSize) {\n            // offset: 2; size: 2: Record Type\n            $fbt = PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos + 2);\n\n            switch ($fbt) {\n                case self::DGGCONTAINER:\n                    $this->readDggContainer();\n                    break;\n                case self::DGG:\n                    $this->readDgg();\n                    break;\n                case self::BSTORECONTAINER:\n                    $this->readBstoreContainer();\n                    break;\n                case self::BSE:\n                    $this->readBSE();\n                    break;\n                case self::BLIPJPEG:\n                    $this->readBlipJPEG();\n                    break;\n                case self::BLIPPNG:\n                    $this->readBlipPNG();\n                    break;\n                case self::OPT:\n                    $this->readOPT();\n                    break;\n                case self::TERTIARYOPT:\n                    $this->readTertiaryOPT();\n                    break;\n                case self::SPLITMENUCOLORS:\n                    $this->readSplitMenuColors();\n                    break;\n                case self::DGCONTAINER:\n                    $this->readDgContainer();\n                    break;\n                case self::DG:\n                    $this->readDg();\n                    break;\n                case self::SPGRCONTAINER:\n                    $this->readSpgrContainer();\n                    break;\n                case self::SPCONTAINER:\n                    $this->readSpContainer();\n                    break;\n                case self::SPGR:\n                    $this->readSpgr();\n                    break;\n                case self::SP:\n                    $this->readSp();\n                    break;\n                case self::CLIENTTEXTBOX:\n                    $this->readClientTextbox();\n                    break;\n                case self::CLIENTANCHOR:\n                    $this->readClientAnchor();\n                    break;\n                case self::CLIENTDATA:\n                    $this->readClientData();\n                    break;\n                default:\n                    $this->readDefault();\n                    break;\n            }\n        }\n\n        return $this->object;\n    }\n\n    /**\n     * Read a generic record\n     */\n    private function readDefault()\n    {\n        // offset 0; size: 2; recVer and recInstance\n        $verInstance = PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos);\n\n        // offset: 2; size: 2: Record Type\n        $fbt = PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos + 2);\n\n        // bit: 0-3; mask: 0x000F; recVer\n        $recVer = (0x000F & $verInstance) >> 0;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read DggContainer record (Drawing Group Container)\n     */\n    private function readDggContainer()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // record is a container, read contents\n        $dggContainer = new PHPExcel_Shared_Escher_DggContainer();\n        $this->object->setDggContainer($dggContainer);\n        $reader = new PHPExcel_Reader_Excel5_Escher($dggContainer);\n        $reader->load($recordData);\n    }\n\n    /**\n     * Read Dgg record (Drawing Group)\n     */\n    private function readDgg()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read BstoreContainer record (Blip Store Container)\n     */\n    private function readBstoreContainer()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // record is a container, read contents\n        $bstoreContainer = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer();\n        $this->object->setBstoreContainer($bstoreContainer);\n        $reader = new PHPExcel_Reader_Excel5_Escher($bstoreContainer);\n        $reader->load($recordData);\n    }\n\n    /**\n     * Read BSE record\n     */\n    private function readBSE()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // add BSE to BstoreContainer\n        $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE();\n        $this->object->addBSE($BSE);\n\n        $BSE->setBLIPType($recInstance);\n\n        // offset: 0; size: 1; btWin32 (MSOBLIPTYPE)\n        $btWin32 = ord($recordData[0]);\n\n        // offset: 1; size: 1; btWin32 (MSOBLIPTYPE)\n        $btMacOS = ord($recordData[1]);\n\n        // offset: 2; size: 16; MD4 digest\n        $rgbUid = substr($recordData, 2, 16);\n\n        // offset: 18; size: 2; tag\n        $tag = PHPExcel_Reader_Excel5::getInt2d($recordData, 18);\n\n        // offset: 20; size: 4; size of BLIP in bytes\n        $size = PHPExcel_Reader_Excel5::getInt4d($recordData, 20);\n\n        // offset: 24; size: 4; number of references to this BLIP\n        $cRef = PHPExcel_Reader_Excel5::getInt4d($recordData, 24);\n\n        // offset: 28; size: 4; MSOFO file offset\n        $foDelay = PHPExcel_Reader_Excel5::getInt4d($recordData, 28);\n\n        // offset: 32; size: 1; unused1\n        $unused1 = ord($recordData{32});\n\n        // offset: 33; size: 1; size of nameData in bytes (including null terminator)\n        $cbName = ord($recordData{33});\n\n        // offset: 34; size: 1; unused2\n        $unused2 = ord($recordData{34});\n\n        // offset: 35; size: 1; unused3\n        $unused3 = ord($recordData{35});\n\n        // offset: 36; size: $cbName; nameData\n        $nameData = substr($recordData, 36, $cbName);\n\n        // offset: 36 + $cbName, size: var; the BLIP data\n        $blipData = substr($recordData, 36 + $cbName);\n\n        // record is a container, read contents\n        $reader = new PHPExcel_Reader_Excel5_Escher($BSE);\n        $reader->load($blipData);\n    }\n\n    /**\n     * Read BlipJPEG record. Holds raw JPEG image data\n     */\n    private function readBlipJPEG()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        $pos = 0;\n\n        // offset: 0; size: 16; rgbUid1 (MD4 digest of)\n        $rgbUid1 = substr($recordData, 0, 16);\n        $pos += 16;\n\n        // offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3\n        if (in_array($recInstance, array(0x046B, 0x06E3))) {\n            $rgbUid2 = substr($recordData, 16, 16);\n            $pos += 16;\n        }\n\n        // offset: var; size: 1; tag\n        $tag = ord($recordData{$pos});\n        $pos += 1;\n\n        // offset: var; size: var; the raw image data\n        $data = substr($recordData, $pos);\n\n        $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip();\n        $blip->setData($data);\n\n        $this->object->setBlip($blip);\n    }\n\n    /**\n     * Read BlipPNG record. Holds raw PNG image data\n     */\n    private function readBlipPNG()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        $pos = 0;\n\n        // offset: 0; size: 16; rgbUid1 (MD4 digest of)\n        $rgbUid1 = substr($recordData, 0, 16);\n        $pos += 16;\n\n        // offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3\n        if ($recInstance == 0x06E1) {\n            $rgbUid2 = substr($recordData, 16, 16);\n            $pos += 16;\n        }\n\n        // offset: var; size: 1; tag\n        $tag = ord($recordData{$pos});\n        $pos += 1;\n\n        // offset: var; size: var; the raw image data\n        $data = substr($recordData, $pos);\n\n        $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip();\n        $blip->setData($data);\n\n        $this->object->setBlip($blip);\n    }\n\n    /**\n     * Read OPT record. This record may occur within DggContainer record or SpContainer\n     */\n    private function readOPT()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        $this->readOfficeArtRGFOPTE($recordData, $recInstance);\n    }\n\n    /**\n     * Read TertiaryOPT record\n     */\n    private function readTertiaryOPT()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read SplitMenuColors record\n     */\n    private function readSplitMenuColors()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read DgContainer record (Drawing Container)\n     */\n    private function readDgContainer()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // record is a container, read contents\n        $dgContainer = new PHPExcel_Shared_Escher_DgContainer();\n        $this->object->setDgContainer($dgContainer);\n        $reader = new PHPExcel_Reader_Excel5_Escher($dgContainer);\n        $escher = $reader->load($recordData);\n    }\n\n    /**\n     * Read Dg record (Drawing)\n     */\n    private function readDg()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read SpgrContainer record (Shape Group Container)\n     */\n    private function readSpgrContainer()\n    {\n        // context is either context DgContainer or SpgrContainer\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // record is a container, read contents\n        $spgrContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer();\n\n        if ($this->object instanceof PHPExcel_Shared_Escher_DgContainer) {\n            // DgContainer\n            $this->object->setSpgrContainer($spgrContainer);\n        } else {\n            // SpgrContainer\n            $this->object->addChild($spgrContainer);\n        }\n\n        $reader = new PHPExcel_Reader_Excel5_Escher($spgrContainer);\n        $escher = $reader->load($recordData);\n    }\n\n    /**\n     * Read SpContainer record (Shape Container)\n     */\n    private function readSpContainer()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // add spContainer to spgrContainer\n        $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer();\n        $this->object->addChild($spContainer);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // record is a container, read contents\n        $reader = new PHPExcel_Reader_Excel5_Escher($spContainer);\n        $escher = $reader->load($recordData);\n    }\n\n    /**\n     * Read Spgr record (Shape Group)\n     */\n    private function readSpgr()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read Sp record (Shape)\n     */\n    private function readSp()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read ClientTextbox record\n     */\n    private function readClientTextbox()\n    {\n        // offset: 0; size: 2; recVer and recInstance\n\n        // bit: 4-15; mask: 0xFFF0; recInstance\n        $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::getInt2d($this->data, $this->pos)) >> 4;\n\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read ClientAnchor record. This record holds information about where the shape is anchored in worksheet\n     */\n    private function readClientAnchor()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n\n        // offset: 2; size: 2; upper-left corner column index (0-based)\n        $c1 = PHPExcel_Reader_Excel5::getInt2d($recordData, 2);\n\n        // offset: 4; size: 2; upper-left corner horizontal offset in 1/1024 of column width\n        $startOffsetX = PHPExcel_Reader_Excel5::getInt2d($recordData, 4);\n\n        // offset: 6; size: 2; upper-left corner row index (0-based)\n        $r1 = PHPExcel_Reader_Excel5::getInt2d($recordData, 6);\n\n        // offset: 8; size: 2; upper-left corner vertical offset in 1/256 of row height\n        $startOffsetY = PHPExcel_Reader_Excel5::getInt2d($recordData, 8);\n\n        // offset: 10; size: 2; bottom-right corner column index (0-based)\n        $c2 = PHPExcel_Reader_Excel5::getInt2d($recordData, 10);\n\n        // offset: 12; size: 2; bottom-right corner horizontal offset in 1/1024 of column width\n        $endOffsetX = PHPExcel_Reader_Excel5::getInt2d($recordData, 12);\n\n        // offset: 14; size: 2; bottom-right corner row index (0-based)\n        $r2 = PHPExcel_Reader_Excel5::getInt2d($recordData, 14);\n\n        // offset: 16; size: 2; bottom-right corner vertical offset in 1/256 of row height\n        $endOffsetY = PHPExcel_Reader_Excel5::getInt2d($recordData, 16);\n\n        // set the start coordinates\n        $this->object->setStartCoordinates(PHPExcel_Cell::stringFromColumnIndex($c1) . ($r1 + 1));\n\n        // set the start offsetX\n        $this->object->setStartOffsetX($startOffsetX);\n\n        // set the start offsetY\n        $this->object->setStartOffsetY($startOffsetY);\n\n        // set the end coordinates\n        $this->object->setEndCoordinates(PHPExcel_Cell::stringFromColumnIndex($c2) . ($r2 + 1));\n\n        // set the end offsetX\n        $this->object->setEndOffsetX($endOffsetX);\n\n        // set the end offsetY\n        $this->object->setEndOffsetY($endOffsetY);\n    }\n\n    /**\n     * Read ClientData record\n     */\n    private function readClientData()\n    {\n        $length = PHPExcel_Reader_Excel5::getInt4d($this->data, $this->pos + 4);\n        $recordData = substr($this->data, $this->pos + 8, $length);\n\n        // move stream pointer to next record\n        $this->pos += 8 + $length;\n    }\n\n    /**\n     * Read OfficeArtRGFOPTE table of property-value pairs\n     *\n     * @param string $data Binary data\n     * @param int $n Number of properties\n     */\n    private function readOfficeArtRGFOPTE($data, $n)\n    {\n        $splicedComplexData = substr($data, 6 * $n);\n\n        // loop through property-value pairs\n        for ($i = 0; $i < $n; ++$i) {\n            // read 6 bytes at a time\n            $fopte = substr($data, 6 * $i, 6);\n\n            // offset: 0; size: 2; opid\n            $opid = PHPExcel_Reader_Excel5::getInt2d($fopte, 0);\n\n            // bit: 0-13; mask: 0x3FFF; opid.opid\n            $opidOpid = (0x3FFF & $opid) >> 0;\n\n            // bit: 14; mask 0x4000; 1 = value in op field is BLIP identifier\n            $opidFBid = (0x4000 & $opid) >> 14;\n\n            // bit: 15; mask 0x8000; 1 = this is a complex property, op field specifies size of complex data\n            $opidFComplex = (0x8000 & $opid) >> 15;\n\n            // offset: 2; size: 4; the value for this property\n            $op = PHPExcel_Reader_Excel5::getInt4d($fopte, 2);\n\n            if ($opidFComplex) {\n                $complexData = substr($splicedComplexData, 0, $op);\n                $splicedComplexData = substr($splicedComplexData, $op);\n\n                // we store string value with complex data\n                $value = $complexData;\n            } else {\n                // we store integer value\n                $value = $op;\n            }\n\n            $this->object->setOPT($opidOpid, $value);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/MD5.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_Excel5_MD5\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt        LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Excel5_MD5\n{\n    // Context\n    private $a;\n    private $b;\n    private $c;\n    private $d;\n\n    /**\n     * MD5 stream constructor\n     */\n    public function __construct()\n    {\n        $this->reset();\n    }\n\n    /**\n     * Reset the MD5 stream context\n     */\n    public function reset()\n    {\n        $this->a = 0x67452301;\n        $this->b = 0xEFCDAB89;\n        $this->c = 0x98BADCFE;\n        $this->d = 0x10325476;\n    }\n\n    /**\n     * Get MD5 stream context\n     *\n     * @return string\n     */\n    public function getContext()\n    {\n        $s = '';\n        foreach (array('a', 'b', 'c', 'd') as $i) {\n            $v = $this->{$i};\n            $s .= chr($v & 0xff);\n            $s .= chr(($v >> 8) & 0xff);\n            $s .= chr(($v >> 16) & 0xff);\n            $s .= chr(($v >> 24) & 0xff);\n        }\n\n        return $s;\n    }\n\n    /**\n     * Add data to context\n     *\n     * @param string $data Data to add\n     */\n    public function add($data)\n    {\n        $words = array_values(unpack('V16', $data));\n\n        $A = $this->a;\n        $B = $this->b;\n        $C = $this->c;\n        $D = $this->d;\n\n        $F = array('PHPExcel_Reader_Excel5_MD5','f');\n        $G = array('PHPExcel_Reader_Excel5_MD5','g');\n        $H = array('PHPExcel_Reader_Excel5_MD5','h');\n        $I = array('PHPExcel_Reader_Excel5_MD5','i');\n\n        /* ROUND 1 */\n        self::step($F, $A, $B, $C, $D, $words[0], 7, 0xd76aa478);\n        self::step($F, $D, $A, $B, $C, $words[1], 12, 0xe8c7b756);\n        self::step($F, $C, $D, $A, $B, $words[2], 17, 0x242070db);\n        self::step($F, $B, $C, $D, $A, $words[3], 22, 0xc1bdceee);\n        self::step($F, $A, $B, $C, $D, $words[4], 7, 0xf57c0faf);\n        self::step($F, $D, $A, $B, $C, $words[5], 12, 0x4787c62a);\n        self::step($F, $C, $D, $A, $B, $words[6], 17, 0xa8304613);\n        self::step($F, $B, $C, $D, $A, $words[7], 22, 0xfd469501);\n        self::step($F, $A, $B, $C, $D, $words[8], 7, 0x698098d8);\n        self::step($F, $D, $A, $B, $C, $words[9], 12, 0x8b44f7af);\n        self::step($F, $C, $D, $A, $B, $words[10], 17, 0xffff5bb1);\n        self::step($F, $B, $C, $D, $A, $words[11], 22, 0x895cd7be);\n        self::step($F, $A, $B, $C, $D, $words[12], 7, 0x6b901122);\n        self::step($F, $D, $A, $B, $C, $words[13], 12, 0xfd987193);\n        self::step($F, $C, $D, $A, $B, $words[14], 17, 0xa679438e);\n        self::step($F, $B, $C, $D, $A, $words[15], 22, 0x49b40821);\n\n        /* ROUND 2 */\n        self::step($G, $A, $B, $C, $D, $words[1], 5, 0xf61e2562);\n        self::step($G, $D, $A, $B, $C, $words[6], 9, 0xc040b340);\n        self::step($G, $C, $D, $A, $B, $words[11], 14, 0x265e5a51);\n        self::step($G, $B, $C, $D, $A, $words[0], 20, 0xe9b6c7aa);\n        self::step($G, $A, $B, $C, $D, $words[5], 5, 0xd62f105d);\n        self::step($G, $D, $A, $B, $C, $words[10], 9, 0x02441453);\n        self::step($G, $C, $D, $A, $B, $words[15], 14, 0xd8a1e681);\n        self::step($G, $B, $C, $D, $A, $words[4], 20, 0xe7d3fbc8);\n        self::step($G, $A, $B, $C, $D, $words[9], 5, 0x21e1cde6);\n        self::step($G, $D, $A, $B, $C, $words[14], 9, 0xc33707d6);\n        self::step($G, $C, $D, $A, $B, $words[3], 14, 0xf4d50d87);\n        self::step($G, $B, $C, $D, $A, $words[8], 20, 0x455a14ed);\n        self::step($G, $A, $B, $C, $D, $words[13], 5, 0xa9e3e905);\n        self::step($G, $D, $A, $B, $C, $words[2], 9, 0xfcefa3f8);\n        self::step($G, $C, $D, $A, $B, $words[7], 14, 0x676f02d9);\n        self::step($G, $B, $C, $D, $A, $words[12], 20, 0x8d2a4c8a);\n\n        /* ROUND 3 */\n        self::step($H, $A, $B, $C, $D, $words[5], 4, 0xfffa3942);\n        self::step($H, $D, $A, $B, $C, $words[8], 11, 0x8771f681);\n        self::step($H, $C, $D, $A, $B, $words[11], 16, 0x6d9d6122);\n        self::step($H, $B, $C, $D, $A, $words[14], 23, 0xfde5380c);\n        self::step($H, $A, $B, $C, $D, $words[1], 4, 0xa4beea44);\n        self::step($H, $D, $A, $B, $C, $words[4], 11, 0x4bdecfa9);\n        self::step($H, $C, $D, $A, $B, $words[7], 16, 0xf6bb4b60);\n        self::step($H, $B, $C, $D, $A, $words[10], 23, 0xbebfbc70);\n        self::step($H, $A, $B, $C, $D, $words[13], 4, 0x289b7ec6);\n        self::step($H, $D, $A, $B, $C, $words[0], 11, 0xeaa127fa);\n        self::step($H, $C, $D, $A, $B, $words[3], 16, 0xd4ef3085);\n        self::step($H, $B, $C, $D, $A, $words[6], 23, 0x04881d05);\n        self::step($H, $A, $B, $C, $D, $words[9], 4, 0xd9d4d039);\n        self::step($H, $D, $A, $B, $C, $words[12], 11, 0xe6db99e5);\n        self::step($H, $C, $D, $A, $B, $words[15], 16, 0x1fa27cf8);\n        self::step($H, $B, $C, $D, $A, $words[2], 23, 0xc4ac5665);\n\n        /* ROUND 4 */\n        self::step($I, $A, $B, $C, $D, $words[0], 6, 0xf4292244);\n        self::step($I, $D, $A, $B, $C, $words[7], 10, 0x432aff97);\n        self::step($I, $C, $D, $A, $B, $words[14], 15, 0xab9423a7);\n        self::step($I, $B, $C, $D, $A, $words[5], 21, 0xfc93a039);\n        self::step($I, $A, $B, $C, $D, $words[12], 6, 0x655b59c3);\n        self::step($I, $D, $A, $B, $C, $words[3], 10, 0x8f0ccc92);\n        self::step($I, $C, $D, $A, $B, $words[10], 15, 0xffeff47d);\n        self::step($I, $B, $C, $D, $A, $words[1], 21, 0x85845dd1);\n        self::step($I, $A, $B, $C, $D, $words[8], 6, 0x6fa87e4f);\n        self::step($I, $D, $A, $B, $C, $words[15], 10, 0xfe2ce6e0);\n        self::step($I, $C, $D, $A, $B, $words[6], 15, 0xa3014314);\n        self::step($I, $B, $C, $D, $A, $words[13], 21, 0x4e0811a1);\n        self::step($I, $A, $B, $C, $D, $words[4], 6, 0xf7537e82);\n        self::step($I, $D, $A, $B, $C, $words[11], 10, 0xbd3af235);\n        self::step($I, $C, $D, $A, $B, $words[2], 15, 0x2ad7d2bb);\n        self::step($I, $B, $C, $D, $A, $words[9], 21, 0xeb86d391);\n\n        $this->a = ($this->a + $A) & 0xffffffff;\n        $this->b = ($this->b + $B) & 0xffffffff;\n        $this->c = ($this->c + $C) & 0xffffffff;\n        $this->d = ($this->d + $D) & 0xffffffff;\n    }\n\n    private static function f($X, $Y, $Z)\n    {\n        return (($X & $Y) | ((~ $X) & $Z)); // X AND Y OR NOT X AND Z\n    }\n\n    private static function g($X, $Y, $Z)\n    {\n        return (($X & $Z) | ($Y & (~ $Z))); // X AND Z OR Y AND NOT Z\n    }\n\n    private static function h($X, $Y, $Z)\n    {\n        return ($X ^ $Y ^ $Z); // X XOR Y XOR Z\n    }\n\n    private static function i($X, $Y, $Z)\n    {\n        return ($Y ^ ($X | (~ $Z))) ; // Y XOR (X OR NOT Z)\n    }\n\n    private static function step($func, &$A, $B, $C, $D, $M, $s, $t)\n    {\n        $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff;\n        $A = self::rotate($A, $s);\n        $A = ($B + $A) & 0xffffffff;\n    }\n\n    private static function rotate($decimal, $bits)\n    {\n        $binary = str_pad(decbin($decimal), 32, \"0\", STR_PAD_LEFT);\n        return bindec(substr($binary, $bits).substr($binary, 0, $bits));\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/RC4.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_Excel5_RC4\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Excel5_RC4\n{\n    // Context\n    protected $s = array();\n    protected $i = 0;\n    protected $j = 0;\n\n    /**\n     * RC4 stream decryption/encryption constrcutor\n     *\n     * @param string $key Encryption key/passphrase\n     */\n    public function __construct($key)\n    {\n        $len = strlen($key);\n\n        for ($this->i = 0; $this->i < 256; $this->i++) {\n            $this->s[$this->i] = $this->i;\n        }\n\n        $this->j = 0;\n        for ($this->i = 0; $this->i < 256; $this->i++) {\n            $this->j = ($this->j + $this->s[$this->i] + ord($key[$this->i % $len])) % 256;\n            $t = $this->s[$this->i];\n            $this->s[$this->i] = $this->s[$this->j];\n            $this->s[$this->j] = $t;\n        }\n        $this->i = $this->j = 0;\n    }\n\n    /**\n     * Symmetric decryption/encryption function\n     *\n     * @param string $data Data to encrypt/decrypt\n     *\n     * @return string\n     */\n    public function RC4($data)\n    {\n        $len = strlen($data);\n        for ($c = 0; $c < $len; $c++) {\n            $this->i = ($this->i + 1) % 256;\n            $this->j = ($this->j + $this->s[$this->i]) % 256;\n            $t = $this->s[$this->i];\n            $this->s[$this->i] = $this->s[$this->j];\n            $this->s[$this->j] = $t;\n\n            $t = ($this->s[$this->i] + $this->s[$this->j]) % 256;\n\n            $data[$c] = chr(ord($data[$c]) ^ $this->s[$t]);\n        }\n        return $data;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Style/Border.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_Style_Border\n{\n    protected static $map = array(\n        0x00 => PHPExcel_Style_Border::BORDER_NONE,\n        0x01 => PHPExcel_Style_Border::BORDER_THIN,\n        0x02 => PHPExcel_Style_Border::BORDER_MEDIUM,\n        0x03 => PHPExcel_Style_Border::BORDER_DASHED,\n        0x04 => PHPExcel_Style_Border::BORDER_DOTTED,\n        0x05 => PHPExcel_Style_Border::BORDER_THICK,\n        0x06 => PHPExcel_Style_Border::BORDER_DOUBLE,\n        0x07 => PHPExcel_Style_Border::BORDER_HAIR,\n        0x08 => PHPExcel_Style_Border::BORDER_MEDIUMDASHED,\n        0x09 => PHPExcel_Style_Border::BORDER_DASHDOT,\n        0x0A => PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT,\n        0x0B => PHPExcel_Style_Border::BORDER_DASHDOTDOT,\n        0x0C => PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT,\n        0x0D => PHPExcel_Style_Border::BORDER_SLANTDASHDOT,\n    );\n\n    /**\n     * Map border style\n     * OpenOffice documentation: 2.5.11\n     *\n     * @param int $index\n     * @return string\n     */\n    public static function lookup($index)\n    {\n        if (isset(self::$map[$index])) {\n            return self::$map[$index];\n        }\n        return PHPExcel_Style_Border::BORDER_NONE;\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5/Style/FillPattern.php",
    "content": "<?php\n\nclass PHPExcel_Reader_Excel5_Style_FillPattern\n{\n    protected static $map = array(\n        0x00 => PHPExcel_Style_Fill::FILL_NONE,\n        0x01 => PHPExcel_Style_Fill::FILL_SOLID,\n        0x02 => PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY,\n        0x03 => PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY,\n        0x04 => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY,\n        0x05 => PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL,\n        0x06 => PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL,\n        0x07 => PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN,\n        0x08 => PHPExcel_Style_Fill::FILL_PATTERN_DARKUP,\n        0x09 => PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID,\n        0x0A => PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS,\n        0x0B => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL,\n        0x0C => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL,\n        0x0D => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN,\n        0x0E => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP,\n        0x0F => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID,\n        0x10 => PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS,\n        0x11 => PHPExcel_Style_Fill::FILL_PATTERN_GRAY125,\n        0x12 => PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625,\n    );\n\n    /**\n     * Get fill pattern from index\n     * OpenOffice documentation: 2.5.12\n     *\n     * @param int $index\n     * @return string\n     */\n    public static function lookup($index)\n    {\n        if (isset(self::$map[$index])) {\n            return self::$map[$index];\n        }\n        return PHPExcel_Style_Fill::FILL_NONE;\n    }\n}"
  },
  {
    "path": "Classes/PHPExcel/Reader/Excel5.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_Excel5\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n// Original file header of ParseXL (used as the base for this class):\n// --------------------------------------------------------------------------------\n// Adapted from Excel_Spreadsheet_Reader developed by users bizon153,\n// trex005, and mmp11 (SourceForge.net)\n// http://sourceforge.net/projects/phpexcelreader/\n// Primary changes made by canyoncasa (dvc) for ParseXL 1.00 ...\n//     Modelled moreso after Perl Excel Parse/Write modules\n//     Added Parse_Excel_Spreadsheet object\n//         Reads a whole worksheet or tab as row,column array or as\n//         associated hash of indexed rows and named column fields\n//     Added variables for worksheet (tab) indexes and names\n//     Added an object call for loading individual woorksheets\n//     Changed default indexing defaults to 0 based arrays\n//     Fixed date/time and percent formats\n//     Includes patches found at SourceForge...\n//         unicode patch by nobody\n//         unpack(\"d\") machine depedency patch by matchy\n//         boundsheet utf16 patch by bjaenichen\n//     Renamed functions for shorter names\n//     General code cleanup and rigor, including <80 column width\n//     Included a testcase Excel file and PHP example calls\n//     Code works for PHP 5.x\n\n// Primary changes made by canyoncasa (dvc) for ParseXL 1.10 ...\n// http://sourceforge.net/tracker/index.php?func=detail&aid=1466964&group_id=99160&atid=623334\n//     Decoding of formula conditions, results, and tokens.\n//     Support for user-defined named cells added as an array \"namedcells\"\n//         Patch code for user-defined named cells supports single cells only.\n//         NOTE: this patch only works for BIFF8 as BIFF5-7 use a different\n//         external sheet reference structure\nclass PHPExcel_Reader_Excel5 extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    // ParseXL definitions\n    const XLS_BIFF8                     = 0x0600;\n    const XLS_BIFF7                     = 0x0500;\n    const XLS_WorkbookGlobals           = 0x0005;\n    const XLS_Worksheet                 = 0x0010;\n\n    // record identifiers\n    const XLS_TYPE_FORMULA              = 0x0006;\n    const XLS_TYPE_EOF                  = 0x000a;\n    const XLS_TYPE_PROTECT              = 0x0012;\n    const XLS_TYPE_OBJECTPROTECT        = 0x0063;\n    const XLS_TYPE_SCENPROTECT          = 0x00dd;\n    const XLS_TYPE_PASSWORD             = 0x0013;\n    const XLS_TYPE_HEADER               = 0x0014;\n    const XLS_TYPE_FOOTER               = 0x0015;\n    const XLS_TYPE_EXTERNSHEET          = 0x0017;\n    const XLS_TYPE_DEFINEDNAME          = 0x0018;\n    const XLS_TYPE_VERTICALPAGEBREAKS   = 0x001a;\n    const XLS_TYPE_HORIZONTALPAGEBREAKS = 0x001b;\n    const XLS_TYPE_NOTE                 = 0x001c;\n    const XLS_TYPE_SELECTION            = 0x001d;\n    const XLS_TYPE_DATEMODE             = 0x0022;\n    const XLS_TYPE_EXTERNNAME           = 0x0023;\n    const XLS_TYPE_LEFTMARGIN           = 0x0026;\n    const XLS_TYPE_RIGHTMARGIN          = 0x0027;\n    const XLS_TYPE_TOPMARGIN            = 0x0028;\n    const XLS_TYPE_BOTTOMMARGIN         = 0x0029;\n    const XLS_TYPE_PRINTGRIDLINES       = 0x002b;\n    const XLS_TYPE_FILEPASS             = 0x002f;\n    const XLS_TYPE_FONT                 = 0x0031;\n    const XLS_TYPE_CONTINUE             = 0x003c;\n    const XLS_TYPE_PANE                 = 0x0041;\n    const XLS_TYPE_CODEPAGE             = 0x0042;\n    const XLS_TYPE_DEFCOLWIDTH          = 0x0055;\n    const XLS_TYPE_OBJ                  = 0x005d;\n    const XLS_TYPE_COLINFO              = 0x007d;\n    const XLS_TYPE_IMDATA               = 0x007f;\n    const XLS_TYPE_SHEETPR              = 0x0081;\n    const XLS_TYPE_HCENTER              = 0x0083;\n    const XLS_TYPE_VCENTER              = 0x0084;\n    const XLS_TYPE_SHEET                = 0x0085;\n    const XLS_TYPE_PALETTE              = 0x0092;\n    const XLS_TYPE_SCL                  = 0x00a0;\n    const XLS_TYPE_PAGESETUP            = 0x00a1;\n    const XLS_TYPE_MULRK                = 0x00bd;\n    const XLS_TYPE_MULBLANK             = 0x00be;\n    const XLS_TYPE_DBCELL               = 0x00d7;\n    const XLS_TYPE_XF                   = 0x00e0;\n    const XLS_TYPE_MERGEDCELLS          = 0x00e5;\n    const XLS_TYPE_MSODRAWINGGROUP      = 0x00eb;\n    const XLS_TYPE_MSODRAWING           = 0x00ec;\n    const XLS_TYPE_SST                  = 0x00fc;\n    const XLS_TYPE_LABELSST             = 0x00fd;\n    const XLS_TYPE_EXTSST               = 0x00ff;\n    const XLS_TYPE_EXTERNALBOOK         = 0x01ae;\n    const XLS_TYPE_DATAVALIDATIONS      = 0x01b2;\n    const XLS_TYPE_TXO                  = 0x01b6;\n    const XLS_TYPE_HYPERLINK            = 0x01b8;\n    const XLS_TYPE_DATAVALIDATION       = 0x01be;\n    const XLS_TYPE_DIMENSION            = 0x0200;\n    const XLS_TYPE_BLANK                = 0x0201;\n    const XLS_TYPE_NUMBER               = 0x0203;\n    const XLS_TYPE_LABEL                = 0x0204;\n    const XLS_TYPE_BOOLERR              = 0x0205;\n    const XLS_TYPE_STRING               = 0x0207;\n    const XLS_TYPE_ROW                  = 0x0208;\n    const XLS_TYPE_INDEX                = 0x020b;\n    const XLS_TYPE_ARRAY                = 0x0221;\n    const XLS_TYPE_DEFAULTROWHEIGHT     = 0x0225;\n    const XLS_TYPE_WINDOW2              = 0x023e;\n    const XLS_TYPE_RK                   = 0x027e;\n    const XLS_TYPE_STYLE                = 0x0293;\n    const XLS_TYPE_FORMAT               = 0x041e;\n    const XLS_TYPE_SHAREDFMLA           = 0x04bc;\n    const XLS_TYPE_BOF                  = 0x0809;\n    const XLS_TYPE_SHEETPROTECTION      = 0x0867;\n    const XLS_TYPE_RANGEPROTECTION      = 0x0868;\n    const XLS_TYPE_SHEETLAYOUT          = 0x0862;\n    const XLS_TYPE_XFEXT                = 0x087d;\n    const XLS_TYPE_PAGELAYOUTVIEW       = 0x088b;\n    const XLS_TYPE_UNKNOWN              = 0xffff;\n\n    // Encryption type\n    const MS_BIFF_CRYPTO_NONE           = 0;\n    const MS_BIFF_CRYPTO_XOR            = 1;\n    const MS_BIFF_CRYPTO_RC4            = 2;\n    \n    // Size of stream blocks when using RC4 encryption\n    const REKEY_BLOCK                   = 0x400;\n\n    /**\n     * Summary Information stream data.\n     *\n     * @var string\n     */\n    private $summaryInformation;\n\n    /**\n     * Extended Summary Information stream data.\n     *\n     * @var string\n     */\n    private $documentSummaryInformation;\n\n    /**\n     * User-Defined Properties stream data.\n     *\n     * @var string\n     */\n    private $userDefinedProperties;\n\n    /**\n     * Workbook stream data. (Includes workbook globals substream as well as sheet substreams)\n     *\n     * @var string\n     */\n    private $data;\n\n    /**\n     * Size in bytes of $this->data\n     *\n     * @var int\n     */\n    private $dataSize;\n\n    /**\n     * Current position in stream\n     *\n     * @var integer\n     */\n    private $pos;\n\n    /**\n     * Workbook to be returned by the reader.\n     *\n     * @var PHPExcel\n     */\n    private $phpExcel;\n\n    /**\n     * Worksheet that is currently being built by the reader.\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $phpSheet;\n\n    /**\n     * BIFF version\n     *\n     * @var int\n     */\n    private $version;\n\n    /**\n     * Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)\n     * For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'\n     *\n     * @var string\n     */\n    private $codepage;\n\n    /**\n     * Shared formats\n     *\n     * @var array\n     */\n    private $formats;\n\n    /**\n     * Shared fonts\n     *\n     * @var array\n     */\n    private $objFonts;\n\n    /**\n     * Color palette\n     *\n     * @var array\n     */\n    private $palette;\n\n    /**\n     * Worksheets\n     *\n     * @var array\n     */\n    private $sheets;\n\n    /**\n     * External books\n     *\n     * @var array\n     */\n    private $externalBooks;\n\n    /**\n     * REF structures. Only applies to BIFF8.\n     *\n     * @var array\n     */\n    private $ref;\n\n    /**\n     * External names\n     *\n     * @var array\n     */\n    private $externalNames;\n\n    /**\n     * Defined names\n     *\n     * @var array\n     */\n    private $definedname;\n\n    /**\n     * Shared strings. Only applies to BIFF8.\n     *\n     * @var array\n     */\n    private $sst;\n\n    /**\n     * Panes are frozen? (in sheet currently being read). See WINDOW2 record.\n     *\n     * @var boolean\n     */\n    private $frozen;\n\n    /**\n     * Fit printout to number of pages? (in sheet currently being read). See SHEETPR record.\n     *\n     * @var boolean\n     */\n    private $isFitToPages;\n\n    /**\n     * Objects. One OBJ record contributes with one entry.\n     *\n     * @var array\n     */\n    private $objs;\n\n    /**\n     * Text Objects. One TXO record corresponds with one entry.\n     *\n     * @var array\n     */\n    private $textObjects;\n\n    /**\n     * Cell Annotations (BIFF8)\n     *\n     * @var array\n     */\n    private $cellNotes;\n\n    /**\n     * The combined MSODRAWINGGROUP data\n     *\n     * @var string\n     */\n    private $drawingGroupData;\n\n    /**\n     * The combined MSODRAWING data (per sheet)\n     *\n     * @var string\n     */\n    private $drawingData;\n\n    /**\n     * Keep track of XF index\n     *\n     * @var int\n     */\n    private $xfIndex;\n\n    /**\n     * Mapping of XF index (that is a cell XF) to final index in cellXf collection\n     *\n     * @var array\n     */\n    private $mapCellXfIndex;\n\n    /**\n     * Mapping of XF index (that is a style XF) to final index in cellStyleXf collection\n     *\n     * @var array\n     */\n    private $mapCellStyleXfIndex;\n\n    /**\n     * The shared formulas in a sheet. One SHAREDFMLA record contributes with one value.\n     *\n     * @var array\n     */\n    private $sharedFormulas;\n\n    /**\n     * The shared formula parts in a sheet. One FORMULA record contributes with one value if it\n     * refers to a shared formula.\n     *\n     * @var array\n     */\n    private $sharedFormulaParts;\n\n    /**\n     * The type of encryption in use\n     *\n     * @var int\n     */\n    private $encryption = 0;\n    \n    /**\n     * The position in the stream after which contents are encrypted\n     *\n     * @var int\n     */\n    private $encryptionStartPos = false;\n\n    /**\n     * The current RC4 decryption object\n     *\n     * @var PHPExcel_Reader_Excel5_RC4\n     */\n    private $rc4Key = null;\n\n    /**\n     * The position in the stream that the RC4 decryption object was left at\n     *\n     * @var int\n     */\n    private $rc4Pos = 0;\n\n    /**\n     * The current MD5 context state\n     *\n     * @var string\n     */\n    private $md5Ctxt = null;\n\n    /**\n     * Create a new PHPExcel_Reader_Excel5 instance\n     */\n    public function __construct()\n    {\n        $this->readFilter = new PHPExcel_Reader_DefaultReadFilter();\n    }\n\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return     boolean\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function canRead($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        try {\n            // Use ParseXL for the hard work.\n            $ole = new PHPExcel_Shared_OLERead();\n\n            // get excel data\n            $res = $ole->read($pFilename);\n            return true;\n        } catch (PHPExcel_Exception $e) {\n            return false;\n        }\n    }\n\n    /**\n     * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object\n     *\n     * @param     string         $pFilename\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function listWorksheetNames($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $worksheetNames = array();\n\n        // Read the OLE file\n        $this->loadOLE($pFilename);\n\n        // total byte size of Excel data (workbook global substream + sheet substreams)\n        $this->dataSize = strlen($this->data);\n\n        $this->pos        = 0;\n        $this->sheets    = array();\n\n        // Parse Workbook Global Substream\n        while ($this->pos < $this->dataSize) {\n            $code = self::getInt2d($this->data, $this->pos);\n\n            switch ($code) {\n                case self::XLS_TYPE_BOF:\n                    $this->readBof();\n                    break;\n                case self::XLS_TYPE_SHEET:\n                    $this->readSheet();\n                    break;\n                case self::XLS_TYPE_EOF:\n                    $this->readDefault();\n                    break 2;\n                default:\n                    $this->readDefault();\n                    break;\n            }\n        }\n\n        foreach ($this->sheets as $sheet) {\n            if ($sheet['sheetType'] != 0x00) {\n                // 0x00: Worksheet, 0x02: Chart, 0x06: Visual Basic module\n                continue;\n            }\n\n            $worksheetNames[] = $sheet['name'];\n        }\n\n        return $worksheetNames;\n    }\n\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param   string     $pFilename\n     * @throws   PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $worksheetInfo = array();\n\n        // Read the OLE file\n        $this->loadOLE($pFilename);\n\n        // total byte size of Excel data (workbook global substream + sheet substreams)\n        $this->dataSize = strlen($this->data);\n\n        // initialize\n        $this->pos    = 0;\n        $this->sheets = array();\n\n        // Parse Workbook Global Substream\n        while ($this->pos < $this->dataSize) {\n            $code = self::getInt2d($this->data, $this->pos);\n\n            switch ($code) {\n                case self::XLS_TYPE_BOF:\n                    $this->readBof();\n                    break;\n                case self::XLS_TYPE_SHEET:\n                    $this->readSheet();\n                    break;\n                case self::XLS_TYPE_EOF:\n                    $this->readDefault();\n                    break 2;\n                default:\n                    $this->readDefault();\n                    break;\n            }\n        }\n\n        // Parse the individual sheets\n        foreach ($this->sheets as $sheet) {\n            if ($sheet['sheetType'] != 0x00) {\n                // 0x00: Worksheet\n                // 0x02: Chart\n                // 0x06: Visual Basic module\n                continue;\n            }\n\n            $tmpInfo = array();\n            $tmpInfo['worksheetName'] = $sheet['name'];\n            $tmpInfo['lastColumnLetter'] = 'A';\n            $tmpInfo['lastColumnIndex'] = 0;\n            $tmpInfo['totalRows'] = 0;\n            $tmpInfo['totalColumns'] = 0;\n\n            $this->pos = $sheet['offset'];\n\n            while ($this->pos <= $this->dataSize - 4) {\n                $code = self::getInt2d($this->data, $this->pos);\n\n                switch ($code) {\n                    case self::XLS_TYPE_RK:\n                    case self::XLS_TYPE_LABELSST:\n                    case self::XLS_TYPE_NUMBER:\n                    case self::XLS_TYPE_FORMULA:\n                    case self::XLS_TYPE_BOOLERR:\n                    case self::XLS_TYPE_LABEL:\n                        $length = self::getInt2d($this->data, $this->pos + 2);\n                        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n                        // move stream pointer to next record\n                        $this->pos += 4 + $length;\n\n                        $rowIndex = self::getInt2d($recordData, 0) + 1;\n                        $columnIndex = self::getInt2d($recordData, 2);\n\n                        $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex);\n                        $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex);\n                        break;\n                    case self::XLS_TYPE_BOF:\n                        $this->readBof();\n                        break;\n                    case self::XLS_TYPE_EOF:\n                        $this->readDefault();\n                        break 2;\n                    default:\n                        $this->readDefault();\n                        break;\n                }\n            }\n\n            $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']);\n            $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1;\n\n            $worksheetInfo[] = $tmpInfo;\n        }\n\n        return $worksheetInfo;\n    }\n\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Read the OLE file\n        $this->loadOLE($pFilename);\n\n        // Initialisations\n        $this->phpExcel = new PHPExcel;\n        $this->phpExcel->removeSheetByIndex(0); // remove 1st sheet\n        if (!$this->readDataOnly) {\n            $this->phpExcel->removeCellStyleXfByIndex(0); // remove the default style\n            $this->phpExcel->removeCellXfByIndex(0); // remove the default style\n        }\n\n        // Read the summary information stream (containing meta data)\n        $this->readSummaryInformation();\n\n        // Read the Additional document summary information stream (containing application-specific meta data)\n        $this->readDocumentSummaryInformation();\n\n        // total byte size of Excel data (workbook global substream + sheet substreams)\n        $this->dataSize = strlen($this->data);\n\n        // initialize\n        $this->pos                 = 0;\n        $this->codepage            = 'CP1252';\n        $this->formats             = array();\n        $this->objFonts            = array();\n        $this->palette             = array();\n        $this->sheets              = array();\n        $this->externalBooks       = array();\n        $this->ref                 = array();\n        $this->definedname         = array();\n        $this->sst                 = array();\n        $this->drawingGroupData    = '';\n        $this->xfIndex             = '';\n        $this->mapCellXfIndex      = array();\n        $this->mapCellStyleXfIndex = array();\n\n        // Parse Workbook Global Substream\n        while ($this->pos < $this->dataSize) {\n            $code = self::getInt2d($this->data, $this->pos);\n\n            switch ($code) {\n                case self::XLS_TYPE_BOF:\n                    $this->readBof();\n                    break;\n                case self::XLS_TYPE_FILEPASS:\n                    $this->readFilepass();\n                    break;\n                case self::XLS_TYPE_CODEPAGE:\n                    $this->readCodepage();\n                    break;\n                case self::XLS_TYPE_DATEMODE:\n                    $this->readDateMode();\n                    break;\n                case self::XLS_TYPE_FONT:\n                    $this->readFont();\n                    break;\n                case self::XLS_TYPE_FORMAT:\n                    $this->readFormat();\n                    break;\n                case self::XLS_TYPE_XF:\n                    $this->readXf();\n                    break;\n                case self::XLS_TYPE_XFEXT:\n                    $this->readXfExt();\n                    break;\n                case self::XLS_TYPE_STYLE:\n                    $this->readStyle();\n                    break;\n                case self::XLS_TYPE_PALETTE:\n                    $this->readPalette();\n                    break;\n                case self::XLS_TYPE_SHEET:\n                    $this->readSheet();\n                    break;\n                case self::XLS_TYPE_EXTERNALBOOK:\n                    $this->readExternalBook();\n                    break;\n                case self::XLS_TYPE_EXTERNNAME:\n                    $this->readExternName();\n                    break;\n                case self::XLS_TYPE_EXTERNSHEET:\n                    $this->readExternSheet();\n                    break;\n                case self::XLS_TYPE_DEFINEDNAME:\n                    $this->readDefinedName();\n                    break;\n                case self::XLS_TYPE_MSODRAWINGGROUP:\n                    $this->readMsoDrawingGroup();\n                    break;\n                case self::XLS_TYPE_SST:\n                    $this->readSst();\n                    break;\n                case self::XLS_TYPE_EOF:\n                    $this->readDefault();\n                    break 2;\n                default:\n                    $this->readDefault();\n                    break;\n            }\n        }\n\n        // Resolve indexed colors for font, fill, and border colors\n        // Cannot be resolved already in XF record, because PALETTE record comes afterwards\n        if (!$this->readDataOnly) {\n            foreach ($this->objFonts as $objFont) {\n                if (isset($objFont->colorIndex)) {\n                    $color = PHPExcel_Reader_Excel5_Color::map($objFont->colorIndex, $this->palette, $this->version);\n                    $objFont->getColor()->setRGB($color['rgb']);\n                }\n            }\n\n            foreach ($this->phpExcel->getCellXfCollection() as $objStyle) {\n                // fill start and end color\n                $fill = $objStyle->getFill();\n\n                if (isset($fill->startcolorIndex)) {\n                    $startColor = PHPExcel_Reader_Excel5_Color::map($fill->startcolorIndex, $this->palette, $this->version);\n                    $fill->getStartColor()->setRGB($startColor['rgb']);\n                }\n                if (isset($fill->endcolorIndex)) {\n                    $endColor = PHPExcel_Reader_Excel5_Color::map($fill->endcolorIndex, $this->palette, $this->version);\n                    $fill->getEndColor()->setRGB($endColor['rgb']);\n                }\n\n                // border colors\n                $top      = $objStyle->getBorders()->getTop();\n                $right    = $objStyle->getBorders()->getRight();\n                $bottom   = $objStyle->getBorders()->getBottom();\n                $left     = $objStyle->getBorders()->getLeft();\n                $diagonal = $objStyle->getBorders()->getDiagonal();\n\n                if (isset($top->colorIndex)) {\n                    $borderTopColor = PHPExcel_Reader_Excel5_Color::map($top->colorIndex, $this->palette, $this->version);\n                    $top->getColor()->setRGB($borderTopColor['rgb']);\n                }\n                if (isset($right->colorIndex)) {\n                    $borderRightColor = PHPExcel_Reader_Excel5_Color::map($right->colorIndex, $this->palette, $this->version);\n                    $right->getColor()->setRGB($borderRightColor['rgb']);\n                }\n                if (isset($bottom->colorIndex)) {\n                    $borderBottomColor = PHPExcel_Reader_Excel5_Color::map($bottom->colorIndex, $this->palette, $this->version);\n                    $bottom->getColor()->setRGB($borderBottomColor['rgb']);\n                }\n                if (isset($left->colorIndex)) {\n                    $borderLeftColor = PHPExcel_Reader_Excel5_Color::map($left->colorIndex, $this->palette, $this->version);\n                    $left->getColor()->setRGB($borderLeftColor['rgb']);\n                }\n                if (isset($diagonal->colorIndex)) {\n                    $borderDiagonalColor = PHPExcel_Reader_Excel5_Color::map($diagonal->colorIndex, $this->palette, $this->version);\n                    $diagonal->getColor()->setRGB($borderDiagonalColor['rgb']);\n                }\n            }\n        }\n\n        // treat MSODRAWINGGROUP records, workbook-level Escher\n        if (!$this->readDataOnly && $this->drawingGroupData) {\n            $escherWorkbook = new PHPExcel_Shared_Escher();\n            $reader = new PHPExcel_Reader_Excel5_Escher($escherWorkbook);\n            $escherWorkbook = $reader->load($this->drawingGroupData);\n\n            // debug Escher stream\n            //$debug = new Debug_Escher(new PHPExcel_Shared_Escher());\n            //$debug->load($this->drawingGroupData);\n        }\n\n        // Parse the individual sheets\n        foreach ($this->sheets as $sheet) {\n            if ($sheet['sheetType'] != 0x00) {\n                // 0x00: Worksheet, 0x02: Chart, 0x06: Visual Basic module\n                continue;\n            }\n\n            // check if sheet should be skipped\n            if (isset($this->loadSheetsOnly) && !in_array($sheet['name'], $this->loadSheetsOnly)) {\n                continue;\n            }\n\n            // add sheet to PHPExcel object\n            $this->phpSheet = $this->phpExcel->createSheet();\n            //    Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in formula\n            //        cells... during the load, all formulae should be correct, and we're simply bringing the worksheet\n            //        name in line with the formula, not the reverse\n            $this->phpSheet->setTitle($sheet['name'], false);\n            $this->phpSheet->setSheetState($sheet['sheetState']);\n\n            $this->pos = $sheet['offset'];\n\n            // Initialize isFitToPages. May change after reading SHEETPR record.\n            $this->isFitToPages = false;\n\n            // Initialize drawingData\n            $this->drawingData = '';\n\n            // Initialize objs\n            $this->objs = array();\n\n            // Initialize shared formula parts\n            $this->sharedFormulaParts = array();\n\n            // Initialize shared formulas\n            $this->sharedFormulas = array();\n\n            // Initialize text objs\n            $this->textObjects = array();\n\n            // Initialize cell annotations\n            $this->cellNotes = array();\n            $this->textObjRef = -1;\n\n            while ($this->pos <= $this->dataSize - 4) {\n                $code = self::getInt2d($this->data, $this->pos);\n\n                switch ($code) {\n                    case self::XLS_TYPE_BOF:\n                        $this->readBof();\n                        break;\n                    case self::XLS_TYPE_PRINTGRIDLINES:\n                        $this->readPrintGridlines();\n                        break;\n                    case self::XLS_TYPE_DEFAULTROWHEIGHT:\n                        $this->readDefaultRowHeight();\n                        break;\n                    case self::XLS_TYPE_SHEETPR:\n                        $this->readSheetPr();\n                        break;\n                    case self::XLS_TYPE_HORIZONTALPAGEBREAKS:\n                        $this->readHorizontalPageBreaks();\n                        break;\n                    case self::XLS_TYPE_VERTICALPAGEBREAKS:\n                        $this->readVerticalPageBreaks();\n                        break;\n                    case self::XLS_TYPE_HEADER:\n                        $this->readHeader();\n                        break;\n                    case self::XLS_TYPE_FOOTER:\n                        $this->readFooter();\n                        break;\n                    case self::XLS_TYPE_HCENTER:\n                        $this->readHcenter();\n                        break;\n                    case self::XLS_TYPE_VCENTER:\n                        $this->readVcenter();\n                        break;\n                    case self::XLS_TYPE_LEFTMARGIN:\n                        $this->readLeftMargin();\n                        break;\n                    case self::XLS_TYPE_RIGHTMARGIN:\n                        $this->readRightMargin();\n                        break;\n                    case self::XLS_TYPE_TOPMARGIN:\n                        $this->readTopMargin();\n                        break;\n                    case self::XLS_TYPE_BOTTOMMARGIN:\n                        $this->readBottomMargin();\n                        break;\n                    case self::XLS_TYPE_PAGESETUP:\n                        $this->readPageSetup();\n                        break;\n                    case self::XLS_TYPE_PROTECT:\n                        $this->readProtect();\n                        break;\n                    case self::XLS_TYPE_SCENPROTECT:\n                        $this->readScenProtect();\n                        break;\n                    case self::XLS_TYPE_OBJECTPROTECT:\n                        $this->readObjectProtect();\n                        break;\n                    case self::XLS_TYPE_PASSWORD:\n                        $this->readPassword();\n                        break;\n                    case self::XLS_TYPE_DEFCOLWIDTH:\n                        $this->readDefColWidth();\n                        break;\n                    case self::XLS_TYPE_COLINFO:\n                        $this->readColInfo();\n                        break;\n                    case self::XLS_TYPE_DIMENSION:\n                        $this->readDefault();\n                        break;\n                    case self::XLS_TYPE_ROW:\n                        $this->readRow();\n                        break;\n                    case self::XLS_TYPE_DBCELL:\n                        $this->readDefault();\n                        break;\n                    case self::XLS_TYPE_RK:\n                        $this->readRk();\n                        break;\n                    case self::XLS_TYPE_LABELSST:\n                        $this->readLabelSst();\n                        break;\n                    case self::XLS_TYPE_MULRK:\n                        $this->readMulRk();\n                        break;\n                    case self::XLS_TYPE_NUMBER:\n                        $this->readNumber();\n                        break;\n                    case self::XLS_TYPE_FORMULA:\n                        $this->readFormula();\n                        break;\n                    case self::XLS_TYPE_SHAREDFMLA:\n                        $this->readSharedFmla();\n                        break;\n                    case self::XLS_TYPE_BOOLERR:\n                        $this->readBoolErr();\n                        break;\n                    case self::XLS_TYPE_MULBLANK:\n                        $this->readMulBlank();\n                        break;\n                    case self::XLS_TYPE_LABEL:\n                        $this->readLabel();\n                        break;\n                    case self::XLS_TYPE_BLANK:\n                        $this->readBlank();\n                        break;\n                    case self::XLS_TYPE_MSODRAWING:\n                        $this->readMsoDrawing();\n                        break;\n                    case self::XLS_TYPE_OBJ:\n                        $this->readObj();\n                        break;\n                    case self::XLS_TYPE_WINDOW2:\n                        $this->readWindow2();\n                        break;\n                    case self::XLS_TYPE_PAGELAYOUTVIEW:\n                        $this->readPageLayoutView();\n                        break;\n                    case self::XLS_TYPE_SCL:\n                        $this->readScl();\n                        break;\n                    case self::XLS_TYPE_PANE:\n                        $this->readPane();\n                        break;\n                    case self::XLS_TYPE_SELECTION:\n                        $this->readSelection();\n                        break;\n                    case self::XLS_TYPE_MERGEDCELLS:\n                        $this->readMergedCells();\n                        break;\n                    case self::XLS_TYPE_HYPERLINK:\n                        $this->readHyperLink();\n                        break;\n                    case self::XLS_TYPE_DATAVALIDATIONS:\n                        $this->readDataValidations();\n                        break;\n                    case self::XLS_TYPE_DATAVALIDATION:\n                        $this->readDataValidation();\n                        break;\n                    case self::XLS_TYPE_SHEETLAYOUT:\n                        $this->readSheetLayout();\n                        break;\n                    case self::XLS_TYPE_SHEETPROTECTION:\n                        $this->readSheetProtection();\n                        break;\n                    case self::XLS_TYPE_RANGEPROTECTION:\n                        $this->readRangeProtection();\n                        break;\n                    case self::XLS_TYPE_NOTE:\n                        $this->readNote();\n                        break;\n                    //case self::XLS_TYPE_IMDATA:                $this->readImData();                    break;\n                    case self::XLS_TYPE_TXO:\n                        $this->readTextObject();\n                        break;\n                    case self::XLS_TYPE_CONTINUE:\n                        $this->readContinue();\n                        break;\n                    case self::XLS_TYPE_EOF:\n                        $this->readDefault();\n                        break 2;\n                    default:\n                        $this->readDefault();\n                        break;\n                }\n\n            }\n\n            // treat MSODRAWING records, sheet-level Escher\n            if (!$this->readDataOnly && $this->drawingData) {\n                $escherWorksheet = new PHPExcel_Shared_Escher();\n                $reader = new PHPExcel_Reader_Excel5_Escher($escherWorksheet);\n                $escherWorksheet = $reader->load($this->drawingData);\n\n                // debug Escher stream\n                //$debug = new Debug_Escher(new PHPExcel_Shared_Escher());\n                //$debug->load($this->drawingData);\n\n                // get all spContainers in one long array, so they can be mapped to OBJ records\n                $allSpContainers = $escherWorksheet->getDgContainer()->getSpgrContainer()->getAllSpContainers();\n            }\n\n            // treat OBJ records\n            foreach ($this->objs as $n => $obj) {\n//                echo '<hr /><b>Object</b> reference is ', $n,'<br />';\n//                var_dump($obj);\n//                echo '<br />';\n\n                // the first shape container never has a corresponding OBJ record, hence $n + 1\n                if (isset($allSpContainers[$n + 1]) && is_object($allSpContainers[$n + 1])) {\n                    $spContainer = $allSpContainers[$n + 1];\n\n                    // we skip all spContainers that are a part of a group shape since we cannot yet handle those\n                    if ($spContainer->getNestingLevel() > 1) {\n                        continue;\n                    }\n\n                    // calculate the width and height of the shape\n                    list($startColumn, $startRow) = PHPExcel_Cell::coordinateFromString($spContainer->getStartCoordinates());\n                    list($endColumn, $endRow) = PHPExcel_Cell::coordinateFromString($spContainer->getEndCoordinates());\n\n                    $startOffsetX = $spContainer->getStartOffsetX();\n                    $startOffsetY = $spContainer->getStartOffsetY();\n                    $endOffsetX = $spContainer->getEndOffsetX();\n                    $endOffsetY = $spContainer->getEndOffsetY();\n\n                    $width = PHPExcel_Shared_Excel5::getDistanceX($this->phpSheet, $startColumn, $startOffsetX, $endColumn, $endOffsetX);\n                    $height = PHPExcel_Shared_Excel5::getDistanceY($this->phpSheet, $startRow, $startOffsetY, $endRow, $endOffsetY);\n\n                    // calculate offsetX and offsetY of the shape\n                    $offsetX = $startOffsetX * PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, $startColumn) / 1024;\n                    $offsetY = $startOffsetY * PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $startRow) / 256;\n\n                    switch ($obj['otObjType']) {\n                        case 0x19:\n                            // Note\n//                            echo 'Cell Annotation Object<br />';\n//                            echo 'Object ID is ', $obj['idObjID'],'<br />';\n                            if (isset($this->cellNotes[$obj['idObjID']])) {\n                                $cellNote = $this->cellNotes[$obj['idObjID']];\n\n                                if (isset($this->textObjects[$obj['idObjID']])) {\n                                    $textObject = $this->textObjects[$obj['idObjID']];\n                                    $this->cellNotes[$obj['idObjID']]['objTextData'] = $textObject;\n                                }\n                            }\n                            break;\n                        case 0x08:\n//                            echo 'Picture Object<br />';\n                            // picture\n                            // get index to BSE entry (1-based)\n                            $BSEindex = $spContainer->getOPT(0x0104);\n                            $BSECollection = $escherWorkbook->getDggContainer()->getBstoreContainer()->getBSECollection();\n                            $BSE = $BSECollection[$BSEindex - 1];\n                            $blipType = $BSE->getBlipType();\n\n                            // need check because some blip types are not supported by Escher reader such as EMF\n                            if ($blip = $BSE->getBlip()) {\n                                $ih = imagecreatefromstring($blip->getData());\n                                $drawing = new PHPExcel_Worksheet_MemoryDrawing();\n                                $drawing->setImageResource($ih);\n\n                                // width, height, offsetX, offsetY\n                                $drawing->setResizeProportional(false);\n                                $drawing->setWidth($width);\n                                $drawing->setHeight($height);\n                                $drawing->setOffsetX($offsetX);\n                                $drawing->setOffsetY($offsetY);\n\n                                switch ($blipType) {\n                                    case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG:\n                                        $drawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG);\n                                        $drawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_JPEG);\n                                        break;\n                                    case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG:\n                                        $drawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_PNG);\n                                        $drawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_PNG);\n                                        break;\n                                }\n\n                                $drawing->setWorksheet($this->phpSheet);\n                                $drawing->setCoordinates($spContainer->getStartCoordinates());\n                            }\n                            break;\n                        default:\n                            // other object type\n                            break;\n                    }\n                }\n            }\n\n            // treat SHAREDFMLA records\n            if ($this->version == self::XLS_BIFF8) {\n                foreach ($this->sharedFormulaParts as $cell => $baseCell) {\n                    list($column, $row) = PHPExcel_Cell::coordinateFromString($cell);\n                    if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($column, $row, $this->phpSheet->getTitle())) {\n                        $formula = $this->getFormulaFromStructure($this->sharedFormulas[$baseCell], $cell);\n                        $this->phpSheet->getCell($cell)->setValueExplicit('=' . $formula, PHPExcel_Cell_DataType::TYPE_FORMULA);\n                    }\n                }\n            }\n\n            if (!empty($this->cellNotes)) {\n                foreach ($this->cellNotes as $note => $noteDetails) {\n                    if (!isset($noteDetails['objTextData'])) {\n                        if (isset($this->textObjects[$note])) {\n                            $textObject = $this->textObjects[$note];\n                            $noteDetails['objTextData'] = $textObject;\n                        } else {\n                            $noteDetails['objTextData']['text'] = '';\n                        }\n                    }\n//                    echo '<b>Cell annotation ', $note,'</b><br />';\n//                    var_dump($noteDetails);\n//                    echo '<br />';\n                    $cellAddress = str_replace('$', '', $noteDetails['cellRef']);\n                    $this->phpSheet->getComment($cellAddress)->setAuthor($noteDetails['author'])->setText($this->parseRichText($noteDetails['objTextData']['text']));\n                }\n            }\n        }\n\n        // add the named ranges (defined names)\n        foreach ($this->definedname as $definedName) {\n            if ($definedName['isBuiltInName']) {\n                switch ($definedName['name']) {\n                    case pack('C', 0x06):\n                        // print area\n                        //    in general, formula looks like this: Foo!$C$7:$J$66,Bar!$A$1:$IV$2\n                        $ranges = explode(',', $definedName['formula']); // FIXME: what if sheetname contains comma?\n\n                        $extractedRanges = array();\n                        foreach ($ranges as $range) {\n                            // $range should look like one of these\n                            //        Foo!$C$7:$J$66\n                            //        Bar!$A$1:$IV$2\n                            $explodes = explode('!', $range);    // FIXME: what if sheetname contains exclamation mark?\n                            $sheetName = trim($explodes[0], \"'\");\n                            if (count($explodes) == 2) {\n                                if (strpos($explodes[1], ':') === false) {\n                                    $explodes[1] = $explodes[1] . ':' . $explodes[1];\n                                }\n                                $extractedRanges[] = str_replace('$', '', $explodes[1]); // C7:J66\n                            }\n                        }\n                        if ($docSheet = $this->phpExcel->getSheetByName($sheetName)) {\n                            $docSheet->getPageSetup()->setPrintArea(implode(',', $extractedRanges)); // C7:J66,A1:IV2\n                        }\n                        break;\n                    case pack('C', 0x07):\n                        // print titles (repeating rows)\n                        // Assuming BIFF8, there are 3 cases\n                        // 1. repeating rows\n                        //        formula looks like this: Sheet!$A$1:$IV$2\n                        //        rows 1-2 repeat\n                        // 2. repeating columns\n                        //        formula looks like this: Sheet!$A$1:$B$65536\n                        //        columns A-B repeat\n                        // 3. both repeating rows and repeating columns\n                        //        formula looks like this: Sheet!$A$1:$B$65536,Sheet!$A$1:$IV$2\n                        $ranges = explode(',', $definedName['formula']); // FIXME: what if sheetname contains comma?\n                        foreach ($ranges as $range) {\n                            // $range should look like this one of these\n                            //        Sheet!$A$1:$B$65536\n                            //        Sheet!$A$1:$IV$2\n                            $explodes = explode('!', $range);\n                            if (count($explodes) == 2) {\n                                if ($docSheet = $this->phpExcel->getSheetByName($explodes[0])) {\n                                    $extractedRange = $explodes[1];\n                                    $extractedRange = str_replace('$', '', $extractedRange);\n\n                                    $coordinateStrings = explode(':', $extractedRange);\n                                    if (count($coordinateStrings) == 2) {\n                                        list($firstColumn, $firstRow) = PHPExcel_Cell::coordinateFromString($coordinateStrings[0]);\n                                        list($lastColumn, $lastRow) = PHPExcel_Cell::coordinateFromString($coordinateStrings[1]);\n\n                                        if ($firstColumn == 'A' and $lastColumn == 'IV') {\n                                            // then we have repeating rows\n                                            $docSheet->getPageSetup()->setRowsToRepeatAtTop(array($firstRow, $lastRow));\n                                        } elseif ($firstRow == 1 and $lastRow == 65536) {\n                                            // then we have repeating columns\n                                            $docSheet->getPageSetup()->setColumnsToRepeatAtLeft(array($firstColumn, $lastColumn));\n                                        }\n                                    }\n                                }\n                            }\n                        }\n                        break;\n                }\n            } else {\n                // Extract range\n                $explodes = explode('!', $definedName['formula']);\n\n                if (count($explodes) == 2) {\n                    if (($docSheet = $this->phpExcel->getSheetByName($explodes[0])) ||\n                        ($docSheet = $this->phpExcel->getSheetByName(trim($explodes[0], \"'\")))) {\n                        $extractedRange = $explodes[1];\n                        $extractedRange = str_replace('$', '', $extractedRange);\n\n                        $localOnly = ($definedName['scope'] == 0) ? false : true;\n\n                        $scope = ($definedName['scope'] == 0) ? null : $this->phpExcel->getSheetByName($this->sheets[$definedName['scope'] - 1]['name']);\n\n                        $this->phpExcel->addNamedRange(new PHPExcel_NamedRange((string)$definedName['name'], $docSheet, $extractedRange, $localOnly, $scope));\n                    }\n                } else {\n                    //    Named Value\n                    //    TODO Provide support for named values\n                }\n            }\n        }\n        $this->data = null;\n\n        return $this->phpExcel;\n    }\n    \n    /**\n     * Read record data from stream, decrypting as required\n     *\n     * @param string $data   Data stream to read from\n     * @param int    $pos    Position to start reading from\n     * @param int    $length Record data length\n     *\n     * @return string Record data\n     */\n    private function readRecordData($data, $pos, $len)\n    {\n        $data = substr($data, $pos, $len);\n        \n        // File not encrypted, or record before encryption start point\n        if ($this->encryption == self::MS_BIFF_CRYPTO_NONE || $pos < $this->encryptionStartPos) {\n            return $data;\n        }\n    \n        $recordData = '';\n        if ($this->encryption == self::MS_BIFF_CRYPTO_RC4) {\n            $oldBlock = floor($this->rc4Pos / self::REKEY_BLOCK);\n            $block = floor($pos / self::REKEY_BLOCK);\n            $endBlock = floor(($pos + $len) / self::REKEY_BLOCK);\n\n            // Spin an RC4 decryptor to the right spot. If we have a decryptor sitting\n            // at a point earlier in the current block, re-use it as we can save some time.\n            if ($block != $oldBlock || $pos < $this->rc4Pos || !$this->rc4Key) {\n                $this->rc4Key = $this->makeKey($block, $this->md5Ctxt);\n                $step = $pos % self::REKEY_BLOCK;\n            } else {\n                $step = $pos - $this->rc4Pos;\n            }\n            $this->rc4Key->RC4(str_repeat(\"\\0\", $step));\n\n            // Decrypt record data (re-keying at the end of every block)\n            while ($block != $endBlock) {\n                $step = self::REKEY_BLOCK - ($pos % self::REKEY_BLOCK);\n                $recordData .= $this->rc4Key->RC4(substr($data, 0, $step));\n                $data = substr($data, $step);\n                $pos += $step;\n                $len -= $step;\n                $block++;\n                $this->rc4Key = $this->makeKey($block, $this->md5Ctxt);\n            }\n            $recordData .= $this->rc4Key->RC4(substr($data, 0, $len));\n\n            // Keep track of the position of this decryptor.\n            // We'll try and re-use it later if we can to speed things up\n            $this->rc4Pos = $pos + $len;\n        } elseif ($this->encryption == self::MS_BIFF_CRYPTO_XOR) {\n            throw new PHPExcel_Reader_Exception('XOr encryption not supported');\n        }\n        return $recordData;\n    }\n\n    /**\n     * Use OLE reader to extract the relevant data streams from the OLE file\n     *\n     * @param string $pFilename\n     */\n    private function loadOLE($pFilename)\n    {\n        // OLE reader\n        $ole = new PHPExcel_Shared_OLERead();\n        // get excel data,\n        $res = $ole->read($pFilename);\n        // Get workbook data: workbook stream + sheet streams\n        $this->data = $ole->getStream($ole->wrkbook);\n        // Get summary information data\n        $this->summaryInformation = $ole->getStream($ole->summaryInformation);\n        // Get additional document summary information data\n        $this->documentSummaryInformation = $ole->getStream($ole->documentSummaryInformation);\n        // Get user-defined property data\n//        $this->userDefinedProperties = $ole->getUserDefinedProperties();\n    }\n\n\n    /**\n     * Read summary information\n     */\n    private function readSummaryInformation()\n    {\n        if (!isset($this->summaryInformation)) {\n            return;\n        }\n\n        // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark)\n        // offset: 2; size: 2;\n        // offset: 4; size: 2; OS version\n        // offset: 6; size: 2; OS indicator\n        // offset: 8; size: 16\n        // offset: 24; size: 4; section count\n        $secCount = self::getInt4d($this->summaryInformation, 24);\n\n        // offset: 28; size: 16; first section's class id: e0 85 9f f2 f9 4f 68 10 ab 91 08 00 2b 27 b3 d9\n        // offset: 44; size: 4\n        $secOffset = self::getInt4d($this->summaryInformation, 44);\n\n        // section header\n        // offset: $secOffset; size: 4; section length\n        $secLength = self::getInt4d($this->summaryInformation, $secOffset);\n\n        // offset: $secOffset+4; size: 4; property count\n        $countProperties = self::getInt4d($this->summaryInformation, $secOffset+4);\n\n        // initialize code page (used to resolve string values)\n        $codePage = 'CP1252';\n\n        // offset: ($secOffset+8); size: var\n        // loop through property decarations and properties\n        for ($i = 0; $i < $countProperties; ++$i) {\n            // offset: ($secOffset+8) + (8 * $i); size: 4; property ID\n            $id = self::getInt4d($this->summaryInformation, ($secOffset+8) + (8 * $i));\n\n            // Use value of property id as appropriate\n            // offset: ($secOffset+12) + (8 * $i); size: 4; offset from beginning of section (48)\n            $offset = self::getInt4d($this->summaryInformation, ($secOffset+12) + (8 * $i));\n\n            $type = self::getInt4d($this->summaryInformation, $secOffset + $offset);\n\n            // initialize property value\n            $value = null;\n\n            // extract property value based on property type\n            switch ($type) {\n                case 0x02: // 2 byte signed integer\n                    $value = self::getInt2d($this->summaryInformation, $secOffset + 4 + $offset);\n                    break;\n                case 0x03: // 4 byte signed integer\n                    $value = self::getInt4d($this->summaryInformation, $secOffset + 4 + $offset);\n                    break;\n                case 0x13: // 4 byte unsigned integer\n                    // not needed yet, fix later if necessary\n                    break;\n                case 0x1E: // null-terminated string prepended by dword string length\n                    $byteLength = self::getInt4d($this->summaryInformation, $secOffset + 4 + $offset);\n                    $value = substr($this->summaryInformation, $secOffset + 8 + $offset, $byteLength);\n                    $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage);\n                    $value = rtrim($value);\n                    break;\n                case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)\n                    // PHP-time\n                    $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->summaryInformation, $secOffset + 4 + $offset, 8));\n                    break;\n                case 0x47: // Clipboard format\n                    // not needed yet, fix later if necessary\n                    break;\n            }\n\n            switch ($id) {\n                case 0x01:    //    Code Page\n                    $codePage = PHPExcel_Shared_CodePage::NumberToName($value);\n                    break;\n                case 0x02:    //    Title\n                    $this->phpExcel->getProperties()->setTitle($value);\n                    break;\n                case 0x03:    //    Subject\n                    $this->phpExcel->getProperties()->setSubject($value);\n                    break;\n                case 0x04:    //    Author (Creator)\n                    $this->phpExcel->getProperties()->setCreator($value);\n                    break;\n                case 0x05:    //    Keywords\n                    $this->phpExcel->getProperties()->setKeywords($value);\n                    break;\n                case 0x06:    //    Comments (Description)\n                    $this->phpExcel->getProperties()->setDescription($value);\n                    break;\n                case 0x07:    //    Template\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x08:    //    Last Saved By (LastModifiedBy)\n                    $this->phpExcel->getProperties()->setLastModifiedBy($value);\n                    break;\n                case 0x09:    //    Revision\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0A:    //    Total Editing Time\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0B:    //    Last Printed\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0C:    //    Created Date/Time\n                    $this->phpExcel->getProperties()->setCreated($value);\n                    break;\n                case 0x0D:    //    Modified Date/Time\n                    $this->phpExcel->getProperties()->setModified($value);\n                    break;\n                case 0x0E:    //    Number of Pages\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0F:    //    Number of Words\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x10:    //    Number of Characters\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x11:    //    Thumbnail\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x12:    //    Name of creating application\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x13:    //    Security\n                    //    Not supported by PHPExcel\n                    break;\n            }\n        }\n    }\n\n\n    /**\n     * Read additional document summary information\n     */\n    private function readDocumentSummaryInformation()\n    {\n        if (!isset($this->documentSummaryInformation)) {\n            return;\n        }\n\n        //    offset: 0;    size: 2;    must be 0xFE 0xFF (UTF-16 LE byte order mark)\n        //    offset: 2;    size: 2;\n        //    offset: 4;    size: 2;    OS version\n        //    offset: 6;    size: 2;    OS indicator\n        //    offset: 8;    size: 16\n        //    offset: 24;    size: 4;    section count\n        $secCount = self::getInt4d($this->documentSummaryInformation, 24);\n//        echo '$secCount = ', $secCount,'<br />';\n\n        // offset: 28;    size: 16;    first section's class id: 02 d5 cd d5 9c 2e 1b 10 93 97 08 00 2b 2c f9 ae\n        // offset: 44;    size: 4;    first section offset\n        $secOffset = self::getInt4d($this->documentSummaryInformation, 44);\n//        echo '$secOffset = ', $secOffset,'<br />';\n\n        //    section header\n        //    offset: $secOffset;    size: 4;    section length\n        $secLength = self::getInt4d($this->documentSummaryInformation, $secOffset);\n//        echo '$secLength = ', $secLength,'<br />';\n\n        //    offset: $secOffset+4;    size: 4;    property count\n        $countProperties = self::getInt4d($this->documentSummaryInformation, $secOffset+4);\n//        echo '$countProperties = ', $countProperties,'<br />';\n\n        // initialize code page (used to resolve string values)\n        $codePage = 'CP1252';\n\n        //    offset: ($secOffset+8);    size: var\n        //    loop through property decarations and properties\n        for ($i = 0; $i < $countProperties; ++$i) {\n//            echo 'Property ', $i,'<br />';\n            //    offset: ($secOffset+8) + (8 * $i);    size: 4;    property ID\n            $id = self::getInt4d($this->documentSummaryInformation, ($secOffset+8) + (8 * $i));\n//            echo 'ID is ', $id,'<br />';\n\n            // Use value of property id as appropriate\n            // offset: 60 + 8 * $i;    size: 4;    offset from beginning of section (48)\n            $offset = self::getInt4d($this->documentSummaryInformation, ($secOffset+12) + (8 * $i));\n\n            $type = self::getInt4d($this->documentSummaryInformation, $secOffset + $offset);\n//            echo 'Type is ', $type,', ';\n\n            // initialize property value\n            $value = null;\n\n            // extract property value based on property type\n            switch ($type) {\n                case 0x02:    //    2 byte signed integer\n                    $value = self::getInt2d($this->documentSummaryInformation, $secOffset + 4 + $offset);\n                    break;\n                case 0x03:    //    4 byte signed integer\n                    $value = self::getInt4d($this->documentSummaryInformation, $secOffset + 4 + $offset);\n                    break;\n                case 0x0B:  // Boolean\n                    $value = self::getInt2d($this->documentSummaryInformation, $secOffset + 4 + $offset);\n                    $value = ($value == 0 ? false : true);\n                    break;\n                case 0x13:    //    4 byte unsigned integer\n                    // not needed yet, fix later if necessary\n                    break;\n                case 0x1E:    //    null-terminated string prepended by dword string length\n                    $byteLength = self::getInt4d($this->documentSummaryInformation, $secOffset + 4 + $offset);\n                    $value = substr($this->documentSummaryInformation, $secOffset + 8 + $offset, $byteLength);\n                    $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage);\n                    $value = rtrim($value);\n                    break;\n                case 0x40:    //    Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)\n                    // PHP-Time\n                    $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->documentSummaryInformation, $secOffset + 4 + $offset, 8));\n                    break;\n                case 0x47:    //    Clipboard format\n                    // not needed yet, fix later if necessary\n                    break;\n            }\n\n            switch ($id) {\n                case 0x01:    //    Code Page\n                    $codePage = PHPExcel_Shared_CodePage::NumberToName($value);\n                    break;\n                case 0x02:    //    Category\n                    $this->phpExcel->getProperties()->setCategory($value);\n                    break;\n                case 0x03:    //    Presentation Target\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x04:    //    Bytes\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x05:    //    Lines\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x06:    //    Paragraphs\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x07:    //    Slides\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x08:    //    Notes\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x09:    //    Hidden Slides\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0A:    //    MM Clips\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0B:    //    Scale Crop\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0C:    //    Heading Pairs\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0D:    //    Titles of Parts\n                    //    Not supported by PHPExcel\n                    break;\n                case 0x0E:    //    Manager\n                    $this->phpExcel->getProperties()->setManager($value);\n                    break;\n                case 0x0F:    //    Company\n                    $this->phpExcel->getProperties()->setCompany($value);\n                    break;\n                case 0x10:    //    Links up-to-date\n                    //    Not supported by PHPExcel\n                    break;\n            }\n        }\n    }\n\n\n    /**\n     * Reads a general type of BIFF record. Does nothing except for moving stream pointer forward to next record.\n     */\n    private function readDefault()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n//        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n    }\n\n\n    /**\n     *    The NOTE record specifies a comment associated with a particular cell. In Excel 95 (BIFF7) and earlier versions,\n     *        this record stores a note (cell note). This feature was significantly enhanced in Excel 97.\n     */\n    private function readNote()\n    {\n//        echo '<b>Read Cell Annotation</b><br />';\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        $cellAddress = $this->readBIFF8CellAddress(substr($recordData, 0, 4));\n        if ($this->version == self::XLS_BIFF8) {\n            $noteObjID = self::getInt2d($recordData, 6);\n            $noteAuthor = self::readUnicodeStringLong(substr($recordData, 8));\n            $noteAuthor = $noteAuthor['value'];\n//            echo 'Note Address=', $cellAddress,'<br />';\n//            echo 'Note Object ID=', $noteObjID,'<br />';\n//            echo 'Note Author=', $noteAuthor,'<hr />';\n//\n            $this->cellNotes[$noteObjID] = array(\n                'cellRef'   => $cellAddress,\n                'objectID'  => $noteObjID,\n                'author'    => $noteAuthor\n            );\n        } else {\n            $extension = false;\n            if ($cellAddress == '$B$65536') {\n                //    If the address row is -1 and the column is 0, (which translates as $B$65536) then this is a continuation\n                //        note from the previous cell annotation. We're not yet handling this, so annotations longer than the\n                //        max 2048 bytes will probably throw a wobbly.\n                $row = self::getInt2d($recordData, 0);\n                $extension = true;\n                $cellAddress = array_pop(array_keys($this->phpSheet->getComments()));\n            }\n//            echo 'Note Address=', $cellAddress,'<br />';\n\n            $cellAddress = str_replace('$', '', $cellAddress);\n            $noteLength = self::getInt2d($recordData, 4);\n            $noteText = trim(substr($recordData, 6));\n//            echo 'Note Length=', $noteLength,'<br />';\n//            echo 'Note Text=', $noteText,'<br />';\n\n            if ($extension) {\n                //    Concatenate this extension with the currently set comment for the cell\n                $comment = $this->phpSheet->getComment($cellAddress);\n                $commentText = $comment->getText()->getPlainText();\n                $comment->setText($this->parseRichText($commentText.$noteText));\n            } else {\n                //    Set comment for the cell\n                $this->phpSheet->getComment($cellAddress)->setText($this->parseRichText($noteText));\n//                                                    ->setAuthor($author)\n            }\n        }\n\n    }\n\n\n    /**\n     *    The TEXT Object record contains the text associated with a cell annotation.\n     */\n    private function readTextObject()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        // recordData consists of an array of subrecords looking like this:\n        //    grbit: 2 bytes; Option Flags\n        //    rot: 2 bytes; rotation\n        //    cchText: 2 bytes; length of the text (in the first continue record)\n        //    cbRuns: 2 bytes; length of the formatting (in the second continue record)\n        // followed by the continuation records containing the actual text and formatting\n        $grbitOpts  = self::getInt2d($recordData, 0);\n        $rot        = self::getInt2d($recordData, 2);\n        $cchText    = self::getInt2d($recordData, 10);\n        $cbRuns     = self::getInt2d($recordData, 12);\n        $text       = $this->getSplicedRecordData();\n\n        $this->textObjects[$this->textObjRef] = array(\n            'text'      => substr($text[\"recordData\"], $text[\"spliceOffsets\"][0]+1, $cchText),\n            'format'    => substr($text[\"recordData\"], $text[\"spliceOffsets\"][1], $cbRuns),\n            'alignment' => $grbitOpts,\n            'rotation'  => $rot\n        );\n\n//        echo '<b>_readTextObject()</b><br />';\n//        var_dump($this->textObjects[$this->textObjRef]);\n//        echo '<br />';\n    }\n\n\n    /**\n     * Read BOF\n     */\n    private function readBof()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = substr($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 2; size: 2; type of the following data\n        $substreamType = self::getInt2d($recordData, 2);\n\n        switch ($substreamType) {\n            case self::XLS_WorkbookGlobals:\n                $version = self::getInt2d($recordData, 0);\n                if (($version != self::XLS_BIFF8) && ($version != self::XLS_BIFF7)) {\n                    throw new PHPExcel_Reader_Exception('Cannot read this Excel file. Version is too old.');\n                }\n                $this->version = $version;\n                break;\n            case self::XLS_Worksheet:\n                // do not use this version information for anything\n                // it is unreliable (OpenOffice doc, 5.8), use only version information from the global stream\n                break;\n            default:\n                // substream, e.g. chart\n                // just skip the entire substream\n                do {\n                    $code = self::getInt2d($this->data, $this->pos);\n                    $this->readDefault();\n                } while ($code != self::XLS_TYPE_EOF && $this->pos < $this->dataSize);\n                break;\n        }\n    }\n\n\n    /**\n     * FILEPASS\n     *\n     * This record is part of the File Protection Block. It\n     * contains information about the read/write password of the\n     * file. All record contents following this record will be\n     * encrypted.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     *\n     * The decryption functions and objects used from here on in\n     * are based on the source of Spreadsheet-ParseExcel:\n     * http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/\n     */\n    private function readFilepass()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n\n        if ($length != 54) {\n            throw new PHPExcel_Reader_Exception('Unexpected file pass record length');\n        }\n        \n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n        \n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->verifyPassword('VelvetSweatshop', substr($recordData, 6, 16), substr($recordData, 22, 16), substr($recordData, 38, 16), $this->md5Ctxt)) {\n            throw new PHPExcel_Reader_Exception('Decryption password incorrect');\n        }\n        \n        $this->encryption = self::MS_BIFF_CRYPTO_RC4;\n\n        // Decryption required from the record after next onwards\n        $this->encryptionStartPos = $this->pos + self::getInt2d($this->data, $this->pos + 2);\n    }\n\n    /**\n     * Make an RC4 decryptor for the given block\n     *\n     * @var int    $block      Block for which to create decrypto\n     * @var string $valContext MD5 context state\n     *\n     * @return PHPExcel_Reader_Excel5_RC4\n     */\n    private function makeKey($block, $valContext)\n    {\n        $pwarray = str_repeat(\"\\0\", 64);\n\n        for ($i = 0; $i < 5; $i++) {\n            $pwarray[$i] = $valContext[$i];\n        }\n        \n        $pwarray[5] = chr($block & 0xff);\n        $pwarray[6] = chr(($block >> 8) & 0xff);\n        $pwarray[7] = chr(($block >> 16) & 0xff);\n        $pwarray[8] = chr(($block >> 24) & 0xff);\n\n        $pwarray[9] = \"\\x80\";\n        $pwarray[56] = \"\\x48\";\n\n        $md5 = new PHPExcel_Reader_Excel5_MD5();\n        $md5->add($pwarray);\n\n        $s = $md5->getContext();\n        return new PHPExcel_Reader_Excel5_RC4($s);\n    }\n\n    /**\n     * Verify RC4 file password\n     *\n     * @var string $password        Password to check\n     * @var string $docid           Document id\n     * @var string $salt_data       Salt data\n     * @var string $hashedsalt_data Hashed salt data\n     * @var string &$valContext     Set to the MD5 context of the value\n     *\n     * @return bool Success\n     */\n    private function verifyPassword($password, $docid, $salt_data, $hashedsalt_data, &$valContext)\n    {\n        $pwarray = str_repeat(\"\\0\", 64);\n\n        for ($i = 0; $i < strlen($password); $i++) {\n            $o = ord(substr($password, $i, 1));\n            $pwarray[2 * $i] = chr($o & 0xff);\n            $pwarray[2 * $i + 1] = chr(($o >> 8) & 0xff);\n        }\n        $pwarray[2 * $i] = chr(0x80);\n        $pwarray[56] = chr(($i << 4) & 0xff);\n\n        $md5 = new PHPExcel_Reader_Excel5_MD5();\n        $md5->add($pwarray);\n\n        $mdContext1 = $md5->getContext();\n\n        $offset = 0;\n        $keyoffset = 0;\n        $tocopy = 5;\n\n        $md5->reset();\n\n        while ($offset != 16) {\n            if ((64 - $offset) < 5) {\n                $tocopy = 64 - $offset;\n            }\n            for ($i = 0; $i <= $tocopy; $i++) {\n                $pwarray[$offset + $i] = $mdContext1[$keyoffset + $i];\n            }\n            $offset += $tocopy;\n\n            if ($offset == 64) {\n                $md5->add($pwarray);\n                $keyoffset = $tocopy;\n                $tocopy = 5 - $tocopy;\n                $offset = 0;\n                continue;\n            }\n\n            $keyoffset = 0;\n            $tocopy = 5;\n            for ($i = 0; $i < 16; $i++) {\n                $pwarray[$offset + $i] = $docid[$i];\n            }\n            $offset += 16;\n        }\n\n        $pwarray[16] = \"\\x80\";\n        for ($i = 0; $i < 47; $i++) {\n            $pwarray[17 + $i] = \"\\0\";\n        }\n        $pwarray[56] = \"\\x80\";\n        $pwarray[57] = \"\\x0a\";\n\n        $md5->add($pwarray);\n        $valContext = $md5->getContext();\n\n        $key = $this->makeKey(0, $valContext);\n\n        $salt = $key->RC4($salt_data);\n        $hashedsalt = $key->RC4($hashedsalt_data);\n        \n        $salt .= \"\\x80\" . str_repeat(\"\\0\", 47);\n        $salt[56] = \"\\x80\";\n\n        $md5->reset();\n        $md5->add($salt);\n        $mdContext2 = $md5->getContext();\n\n        return $mdContext2 == $hashedsalt;\n    }\n\n    /**\n     * CODEPAGE\n     *\n     * This record stores the text encoding used to write byte\n     * strings, stored as MS Windows code page identifier.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readCodepage()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; code page identifier\n        $codepage = self::getInt2d($recordData, 0);\n\n        $this->codepage = PHPExcel_Shared_CodePage::NumberToName($codepage);\n    }\n\n\n    /**\n     * DATEMODE\n     *\n     * This record specifies the base date for displaying date\n     * values. All dates are stored as count of days past this\n     * base date. In BIFF2-BIFF4 this record is part of the\n     * Calculation Settings Block. In BIFF5-BIFF8 it is\n     * stored in the Workbook Globals Substream.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readDateMode()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; 0 = base 1900, 1 = base 1904\n        PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900);\n        if (ord($recordData{0}) == 1) {\n            PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904);\n        }\n    }\n\n\n    /**\n     * Read a FONT record\n     */\n    private function readFont()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            $objFont = new PHPExcel_Style_Font();\n\n            // offset: 0; size: 2; height of the font (in twips = 1/20 of a point)\n            $size = self::getInt2d($recordData, 0);\n            $objFont->setSize($size / 20);\n\n            // offset: 2; size: 2; option flags\n            // bit: 0; mask 0x0001; bold (redundant in BIFF5-BIFF8)\n            // bit: 1; mask 0x0002; italic\n            $isItalic = (0x0002 & self::getInt2d($recordData, 2)) >> 1;\n            if ($isItalic) {\n                $objFont->setItalic(true);\n            }\n\n            // bit: 2; mask 0x0004; underlined (redundant in BIFF5-BIFF8)\n            // bit: 3; mask 0x0008; strike\n            $isStrike = (0x0008 & self::getInt2d($recordData, 2)) >> 3;\n            if ($isStrike) {\n                $objFont->setStrikethrough(true);\n            }\n\n            // offset: 4; size: 2; colour index\n            $colorIndex = self::getInt2d($recordData, 4);\n            $objFont->colorIndex = $colorIndex;\n\n            // offset: 6; size: 2; font weight\n            $weight = self::getInt2d($recordData, 6);\n            switch ($weight) {\n                case 0x02BC:\n                    $objFont->setBold(true);\n                    break;\n            }\n\n            // offset: 8; size: 2; escapement type\n            $escapement = self::getInt2d($recordData, 8);\n            switch ($escapement) {\n                case 0x0001:\n                    $objFont->setSuperScript(true);\n                    break;\n                case 0x0002:\n                    $objFont->setSubScript(true);\n                    break;\n            }\n\n            // offset: 10; size: 1; underline type\n            $underlineType = ord($recordData{10});\n            switch ($underlineType) {\n                case 0x00:\n                    break; // no underline\n                case 0x01:\n                    $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n                    break;\n                case 0x02:\n                    $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE);\n                    break;\n                case 0x21:\n                    $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING);\n                    break;\n                case 0x22:\n                    $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING);\n                    break;\n            }\n\n            // offset: 11; size: 1; font family\n            // offset: 12; size: 1; character set\n            // offset: 13; size: 1; not used\n            // offset: 14; size: var; font name\n            if ($this->version == self::XLS_BIFF8) {\n                $string = self::readUnicodeStringShort(substr($recordData, 14));\n            } else {\n                $string = $this->readByteStringShort(substr($recordData, 14));\n            }\n            $objFont->setName($string['value']);\n\n            $this->objFonts[] = $objFont;\n        }\n    }\n\n\n    /**\n     * FORMAT\n     *\n     * This record contains information about a number format.\n     * All FORMAT records occur together in a sequential list.\n     *\n     * In BIFF2-BIFF4 other records referencing a FORMAT record\n     * contain a zero-based index into this list. From BIFF5 on\n     * the FORMAT record contains the index itself that will be\n     * used by other records.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readFormat()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            $indexCode = self::getInt2d($recordData, 0);\n\n            if ($this->version == self::XLS_BIFF8) {\n                $string = self::readUnicodeStringLong(substr($recordData, 2));\n            } else {\n                // BIFF7\n                $string = $this->readByteStringShort(substr($recordData, 2));\n            }\n\n            $formatString = $string['value'];\n            $this->formats[$indexCode] = $formatString;\n        }\n    }\n\n\n    /**\n     * XF - Extended Format\n     *\n     * This record contains formatting information for cells, rows, columns or styles.\n     * According to http://support.microsoft.com/kb/147732 there are always at least 15 cell style XF\n     * and 1 cell XF.\n     * Inspection of Excel files generated by MS Office Excel shows that XF records 0-14 are cell style XF\n     * and XF record 15 is a cell XF\n     * We only read the first cell style XF and skip the remaining cell style XF records\n     * We read all cell XF records.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readXf()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        $objStyle = new PHPExcel_Style();\n\n        if (!$this->readDataOnly) {\n            // offset:  0; size: 2; Index to FONT record\n            if (self::getInt2d($recordData, 0) < 4) {\n                $fontIndex = self::getInt2d($recordData, 0);\n            } else {\n                // this has to do with that index 4 is omitted in all BIFF versions for some strange reason\n                // check the OpenOffice documentation of the FONT record\n                $fontIndex = self::getInt2d($recordData, 0) - 1;\n            }\n            $objStyle->setFont($this->objFonts[$fontIndex]);\n\n            // offset:  2; size: 2; Index to FORMAT record\n            $numberFormatIndex = self::getInt2d($recordData, 2);\n            if (isset($this->formats[$numberFormatIndex])) {\n                // then we have user-defined format code\n                $numberformat = array('code' => $this->formats[$numberFormatIndex]);\n            } elseif (($code = PHPExcel_Style_NumberFormat::builtInFormatCode($numberFormatIndex)) !== '') {\n                // then we have built-in format code\n                $numberformat = array('code' => $code);\n            } else {\n                // we set the general format code\n                $numberformat = array('code' => 'General');\n            }\n            $objStyle->getNumberFormat()->setFormatCode($numberformat['code']);\n\n            // offset:  4; size: 2; XF type, cell protection, and parent style XF\n            // bit 2-0; mask 0x0007; XF_TYPE_PROT\n            $xfTypeProt = self::getInt2d($recordData, 4);\n            // bit 0; mask 0x01; 1 = cell is locked\n            $isLocked = (0x01 & $xfTypeProt) >> 0;\n            $objStyle->getProtection()->setLocked($isLocked ? PHPExcel_Style_Protection::PROTECTION_INHERIT : PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);\n\n            // bit 1; mask 0x02; 1 = Formula is hidden\n            $isHidden = (0x02 & $xfTypeProt) >> 1;\n            $objStyle->getProtection()->setHidden($isHidden ? PHPExcel_Style_Protection::PROTECTION_PROTECTED : PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);\n\n            // bit 2; mask 0x04; 0 = Cell XF, 1 = Cell Style XF\n            $isCellStyleXf = (0x04 & $xfTypeProt) >> 2;\n\n            // offset:  6; size: 1; Alignment and text break\n            // bit 2-0, mask 0x07; horizontal alignment\n            $horAlign = (0x07 & ord($recordData{6})) >> 0;\n            switch ($horAlign) {\n                case 0:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_GENERAL);\n                    break;\n                case 1:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_LEFT);\n                    break;\n                case 2:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);\n                    break;\n                case 3:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n                    break;\n                case 4:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_FILL);\n                    break;\n                case 5:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY);\n                    break;\n                case 6:\n                    $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS);\n                    break;\n            }\n            // bit 3, mask 0x08; wrap text\n            $wrapText = (0x08 & ord($recordData{6})) >> 3;\n            switch ($wrapText) {\n                case 0:\n                    $objStyle->getAlignment()->setWrapText(false);\n                    break;\n                case 1:\n                    $objStyle->getAlignment()->setWrapText(true);\n                    break;\n            }\n            // bit 6-4, mask 0x70; vertical alignment\n            $vertAlign = (0x70 & ord($recordData{6})) >> 4;\n            switch ($vertAlign) {\n                case 0:\n                    $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP);\n                    break;\n                case 1:\n                    $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);\n                    break;\n                case 2:\n                    $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_BOTTOM);\n                    break;\n                case 3:\n                    $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_JUSTIFY);\n                    break;\n            }\n\n            if ($this->version == self::XLS_BIFF8) {\n                // offset:  7; size: 1; XF_ROTATION: Text rotation angle\n                $angle = ord($recordData{7});\n                $rotation = 0;\n                if ($angle <= 90) {\n                    $rotation = $angle;\n                } elseif ($angle <= 180) {\n                    $rotation = 90 - $angle;\n                } elseif ($angle == 255) {\n                    $rotation = -165;\n                }\n                $objStyle->getAlignment()->setTextRotation($rotation);\n\n                // offset:  8; size: 1; Indentation, shrink to cell size, and text direction\n                // bit: 3-0; mask: 0x0F; indent level\n                $indent = (0x0F & ord($recordData{8})) >> 0;\n                $objStyle->getAlignment()->setIndent($indent);\n\n                // bit: 4; mask: 0x10; 1 = shrink content to fit into cell\n                $shrinkToFit = (0x10 & ord($recordData{8})) >> 4;\n                switch ($shrinkToFit) {\n                    case 0:\n                        $objStyle->getAlignment()->setShrinkToFit(false);\n                        break;\n                    case 1:\n                        $objStyle->getAlignment()->setShrinkToFit(true);\n                        break;\n                }\n\n                // offset:  9; size: 1; Flags used for attribute groups\n\n                // offset: 10; size: 4; Cell border lines and background area\n                // bit: 3-0; mask: 0x0000000F; left style\n                if ($bordersLeftStyle = PHPExcel_Reader_Excel5_Style_Border::lookup((0x0000000F & self::getInt4d($recordData, 10)) >> 0)) {\n                    $objStyle->getBorders()->getLeft()->setBorderStyle($bordersLeftStyle);\n                }\n                // bit: 7-4; mask: 0x000000F0; right style\n                if ($bordersRightStyle = PHPExcel_Reader_Excel5_Style_Border::lookup((0x000000F0 & self::getInt4d($recordData, 10)) >> 4)) {\n                    $objStyle->getBorders()->getRight()->setBorderStyle($bordersRightStyle);\n                }\n                // bit: 11-8; mask: 0x00000F00; top style\n                if ($bordersTopStyle = PHPExcel_Reader_Excel5_Style_Border::lookup((0x00000F00 & self::getInt4d($recordData, 10)) >> 8)) {\n                    $objStyle->getBorders()->getTop()->setBorderStyle($bordersTopStyle);\n                }\n                // bit: 15-12; mask: 0x0000F000; bottom style\n                if ($bordersBottomStyle = PHPExcel_Reader_Excel5_Style_Border::lookup((0x0000F000 & self::getInt4d($recordData, 10)) >> 12)) {\n                    $objStyle->getBorders()->getBottom()->setBorderStyle($bordersBottomStyle);\n                }\n                // bit: 22-16; mask: 0x007F0000; left color\n                $objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & self::getInt4d($recordData, 10)) >> 16;\n\n                // bit: 29-23; mask: 0x3F800000; right color\n                $objStyle->getBorders()->getRight()->colorIndex = (0x3F800000 & self::getInt4d($recordData, 10)) >> 23;\n\n                // bit: 30; mask: 0x40000000; 1 = diagonal line from top left to right bottom\n                $diagonalDown = (0x40000000 & self::getInt4d($recordData, 10)) >> 30 ? true : false;\n\n                // bit: 31; mask: 0x80000000; 1 = diagonal line from bottom left to top right\n                $diagonalUp = (0x80000000 & self::getInt4d($recordData, 10)) >> 31 ? true : false;\n\n                if ($diagonalUp == false && $diagonalDown == false) {\n                    $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_NONE);\n                } elseif ($diagonalUp == true && $diagonalDown == false) {\n                    $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_UP);\n                } elseif ($diagonalUp == false && $diagonalDown == true) {\n                    $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_DOWN);\n                } elseif ($diagonalUp == true && $diagonalDown == true) {\n                    $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_BOTH);\n                }\n\n                // offset: 14; size: 4;\n                // bit: 6-0; mask: 0x0000007F; top color\n                $objStyle->getBorders()->getTop()->colorIndex = (0x0000007F & self::getInt4d($recordData, 14)) >> 0;\n\n                // bit: 13-7; mask: 0x00003F80; bottom color\n                $objStyle->getBorders()->getBottom()->colorIndex = (0x00003F80 & self::getInt4d($recordData, 14)) >> 7;\n\n                // bit: 20-14; mask: 0x001FC000; diagonal color\n                $objStyle->getBorders()->getDiagonal()->colorIndex = (0x001FC000 & self::getInt4d($recordData, 14)) >> 14;\n\n                // bit: 24-21; mask: 0x01E00000; diagonal style\n                if ($bordersDiagonalStyle = PHPExcel_Reader_Excel5_Style_Border::lookup((0x01E00000 & self::getInt4d($recordData, 14)) >> 21)) {\n                    $objStyle->getBorders()->getDiagonal()->setBorderStyle($bordersDiagonalStyle);\n                }\n\n                // bit: 31-26; mask: 0xFC000000 fill pattern\n                if ($fillType = PHPExcel_Reader_Excel5_Style_FillPattern::lookup((0xFC000000 & self::getInt4d($recordData, 14)) >> 26)) {\n                    $objStyle->getFill()->setFillType($fillType);\n                }\n                // offset: 18; size: 2; pattern and background colour\n                // bit: 6-0; mask: 0x007F; color index for pattern color\n                $objStyle->getFill()->startcolorIndex = (0x007F & self::getInt2d($recordData, 18)) >> 0;\n\n                // bit: 13-7; mask: 0x3F80; color index for pattern background\n                $objStyle->getFill()->endcolorIndex = (0x3F80 & self::getInt2d($recordData, 18)) >> 7;\n            } else {\n                // BIFF5\n\n                // offset: 7; size: 1; Text orientation and flags\n                $orientationAndFlags = ord($recordData{7});\n\n                // bit: 1-0; mask: 0x03; XF_ORIENTATION: Text orientation\n                $xfOrientation = (0x03 & $orientationAndFlags) >> 0;\n                switch ($xfOrientation) {\n                    case 0:\n                        $objStyle->getAlignment()->setTextRotation(0);\n                        break;\n                    case 1:\n                        $objStyle->getAlignment()->setTextRotation(-165);\n                        break;\n                    case 2:\n                        $objStyle->getAlignment()->setTextRotation(90);\n                        break;\n                    case 3:\n                        $objStyle->getAlignment()->setTextRotation(-90);\n                        break;\n                }\n\n                // offset: 8; size: 4; cell border lines and background area\n                $borderAndBackground = self::getInt4d($recordData, 8);\n\n                // bit: 6-0; mask: 0x0000007F; color index for pattern color\n                $objStyle->getFill()->startcolorIndex = (0x0000007F & $borderAndBackground) >> 0;\n\n                // bit: 13-7; mask: 0x00003F80; color index for pattern background\n                $objStyle->getFill()->endcolorIndex = (0x00003F80 & $borderAndBackground) >> 7;\n\n                // bit: 21-16; mask: 0x003F0000; fill pattern\n                $objStyle->getFill()->setFillType(PHPExcel_Reader_Excel5_Style_FillPattern::lookup((0x003F0000 & $borderAndBackground) >> 16));\n\n                // bit: 24-22; mask: 0x01C00000; bottom line style\n                $objStyle->getBorders()->getBottom()->setBorderStyle(PHPExcel_Reader_Excel5_Style_Border::lookup((0x01C00000 & $borderAndBackground) >> 22));\n\n                // bit: 31-25; mask: 0xFE000000; bottom line color\n                $objStyle->getBorders()->getBottom()->colorIndex = (0xFE000000 & $borderAndBackground) >> 25;\n\n                // offset: 12; size: 4; cell border lines\n                $borderLines = self::getInt4d($recordData, 12);\n\n                // bit: 2-0; mask: 0x00000007; top line style\n                $objStyle->getBorders()->getTop()->setBorderStyle(PHPExcel_Reader_Excel5_Style_Border::lookup((0x00000007 & $borderLines) >> 0));\n\n                // bit: 5-3; mask: 0x00000038; left line style\n                $objStyle->getBorders()->getLeft()->setBorderStyle(PHPExcel_Reader_Excel5_Style_Border::lookup((0x00000038 & $borderLines) >> 3));\n\n                // bit: 8-6; mask: 0x000001C0; right line style\n                $objStyle->getBorders()->getRight()->setBorderStyle(PHPExcel_Reader_Excel5_Style_Border::lookup((0x000001C0 & $borderLines) >> 6));\n\n                // bit: 15-9; mask: 0x0000FE00; top line color index\n                $objStyle->getBorders()->getTop()->colorIndex = (0x0000FE00 & $borderLines) >> 9;\n\n                // bit: 22-16; mask: 0x007F0000; left line color index\n                $objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & $borderLines) >> 16;\n\n                // bit: 29-23; mask: 0x3F800000; right line color index\n                $objStyle->getBorders()->getRight()->colorIndex = (0x3F800000 & $borderLines) >> 23;\n            }\n\n            // add cellStyleXf or cellXf and update mapping\n            if ($isCellStyleXf) {\n                // we only read one style XF record which is always the first\n                if ($this->xfIndex == 0) {\n                    $this->phpExcel->addCellStyleXf($objStyle);\n                    $this->mapCellStyleXfIndex[$this->xfIndex] = 0;\n                }\n            } else {\n                // we read all cell XF records\n                $this->phpExcel->addCellXf($objStyle);\n                $this->mapCellXfIndex[$this->xfIndex] = count($this->phpExcel->getCellXfCollection()) - 1;\n            }\n\n            // update XF index for when we read next record\n            ++$this->xfIndex;\n        }\n    }\n\n\n    /**\n     *\n     */\n    private function readXfExt()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; 0x087D = repeated header\n\n            // offset: 2; size: 2\n\n            // offset: 4; size: 8; not used\n\n            // offset: 12; size: 2; record version\n\n            // offset: 14; size: 2; index to XF record which this record modifies\n            $ixfe = self::getInt2d($recordData, 14);\n\n            // offset: 16; size: 2; not used\n\n            // offset: 18; size: 2; number of extension properties that follow\n            $cexts = self::getInt2d($recordData, 18);\n\n            // start reading the actual extension data\n            $offset = 20;\n            while ($offset < $length) {\n                // extension type\n                $extType = self::getInt2d($recordData, $offset);\n\n                // extension length\n                $cb = self::getInt2d($recordData, $offset + 2);\n\n                // extension data\n                $extData = substr($recordData, $offset + 4, $cb);\n\n                switch ($extType) {\n                    case 4:        // fill start color\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $fill = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getFill();\n                                $fill->getStartColor()->setRGB($rgb);\n                                unset($fill->startcolorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 5:        // fill end color\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $fill = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getFill();\n                                $fill->getEndColor()->setRGB($rgb);\n                                unset($fill->endcolorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 7:        // border color top\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $top = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getBorders()->getTop();\n                                $top->getColor()->setRGB($rgb);\n                                unset($top->colorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 8:        // border color bottom\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $bottom = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getBorders()->getBottom();\n                                $bottom->getColor()->setRGB($rgb);\n                                unset($bottom->colorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 9:        // border color left\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $left = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getBorders()->getLeft();\n                                $left->getColor()->setRGB($rgb);\n                                unset($left->colorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 10:        // border color right\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $right = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getBorders()->getRight();\n                                $right->getColor()->setRGB($rgb);\n                                unset($right->colorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 11:        // border color diagonal\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $diagonal = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getBorders()->getDiagonal();\n                                $diagonal->getColor()->setRGB($rgb);\n                                unset($diagonal->colorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                    case 13:    // font color\n                        $xclfType  = self::getInt2d($extData, 0); // color type\n                        $xclrValue = substr($extData, 4, 4); // color value (value based on color type)\n\n                        if ($xclfType == 2) {\n                            $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2}));\n\n                            // modify the relevant style property\n                            if (isset($this->mapCellXfIndex[$ixfe])) {\n                                $font = $this->phpExcel->getCellXfByIndex($this->mapCellXfIndex[$ixfe])->getFont();\n                                $font->getColor()->setRGB($rgb);\n                                unset($font->colorIndex); // normal color index does not apply, discard\n                            }\n                        }\n                        break;\n                }\n\n                $offset += $cb;\n            }\n        }\n\n    }\n\n\n    /**\n     * Read STYLE record\n     */\n    private function readStyle()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; index to XF record and flag for built-in style\n            $ixfe = self::getInt2d($recordData, 0);\n\n            // bit: 11-0; mask 0x0FFF; index to XF record\n            $xfIndex = (0x0FFF & $ixfe) >> 0;\n\n            // bit: 15; mask 0x8000; 0 = user-defined style, 1 = built-in style\n            $isBuiltIn = (bool) ((0x8000 & $ixfe) >> 15);\n\n            if ($isBuiltIn) {\n                // offset: 2; size: 1; identifier for built-in style\n                $builtInId = ord($recordData{2});\n\n                switch ($builtInId) {\n                    case 0x00:\n                        // currently, we are not using this for anything\n                        break;\n                    default:\n                        break;\n                }\n            } else {\n                // user-defined; not supported by PHPExcel\n            }\n        }\n    }\n\n\n    /**\n     * Read PALETTE record\n     */\n    private function readPalette()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; number of following colors\n            $nm = self::getInt2d($recordData, 0);\n\n            // list of RGB colors\n            for ($i = 0; $i < $nm; ++$i) {\n                $rgb = substr($recordData, 2 + 4 * $i, 4);\n                $this->palette[] = self::readRGB($rgb);\n            }\n        }\n    }\n\n\n    /**\n     * SHEET\n     *\n     * This record is  located in the  Workbook Globals\n     * Substream  and represents a sheet inside the workbook.\n     * One SHEET record is written for each sheet. It stores the\n     * sheet name and a stream offset to the BOF record of the\n     * respective Sheet Substream within the Workbook Stream.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readSheet()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // offset: 0; size: 4; absolute stream position of the BOF record of the sheet\n        // NOTE: not encrypted\n        $rec_offset = self::getInt4d($this->data, $this->pos + 4);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 4; size: 1; sheet state\n        switch (ord($recordData{4})) {\n            case 0x00:\n                $sheetState = PHPExcel_Worksheet::SHEETSTATE_VISIBLE;\n                break;\n            case 0x01:\n                $sheetState = PHPExcel_Worksheet::SHEETSTATE_HIDDEN;\n                break;\n            case 0x02:\n                $sheetState = PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN;\n                break;\n            default:\n                $sheetState = PHPExcel_Worksheet::SHEETSTATE_VISIBLE;\n                break;\n        }\n\n        // offset: 5; size: 1; sheet type\n        $sheetType = ord($recordData{5});\n\n        // offset: 6; size: var; sheet name\n        if ($this->version == self::XLS_BIFF8) {\n            $string = self::readUnicodeStringShort(substr($recordData, 6));\n            $rec_name = $string['value'];\n        } elseif ($this->version == self::XLS_BIFF7) {\n            $string = $this->readByteStringShort(substr($recordData, 6));\n            $rec_name = $string['value'];\n        }\n\n        $this->sheets[] = array(\n            'name' => $rec_name,\n            'offset' => $rec_offset,\n            'sheetState' => $sheetState,\n            'sheetType' => $sheetType,\n        );\n    }\n\n\n    /**\n     * Read EXTERNALBOOK record\n     */\n    private function readExternalBook()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset within record data\n        $offset = 0;\n\n        // there are 4 types of records\n        if (strlen($recordData) > 4) {\n            // external reference\n            // offset: 0; size: 2; number of sheet names ($nm)\n            $nm = self::getInt2d($recordData, 0);\n            $offset += 2;\n\n            // offset: 2; size: var; encoded URL without sheet name (Unicode string, 16-bit length)\n            $encodedUrlString = self::readUnicodeStringLong(substr($recordData, 2));\n            $offset += $encodedUrlString['size'];\n\n            // offset: var; size: var; list of $nm sheet names (Unicode strings, 16-bit length)\n            $externalSheetNames = array();\n            for ($i = 0; $i < $nm; ++$i) {\n                $externalSheetNameString = self::readUnicodeStringLong(substr($recordData, $offset));\n                $externalSheetNames[] = $externalSheetNameString['value'];\n                $offset += $externalSheetNameString['size'];\n            }\n\n            // store the record data\n            $this->externalBooks[] = array(\n                'type' => 'external',\n                'encodedUrl' => $encodedUrlString['value'],\n                'externalSheetNames' => $externalSheetNames,\n            );\n        } elseif (substr($recordData, 2, 2) == pack('CC', 0x01, 0x04)) {\n            // internal reference\n            // offset: 0; size: 2; number of sheet in this document\n            // offset: 2; size: 2; 0x01 0x04\n            $this->externalBooks[] = array(\n                'type' => 'internal',\n            );\n        } elseif (substr($recordData, 0, 4) == pack('vCC', 0x0001, 0x01, 0x3A)) {\n            // add-in function\n            // offset: 0; size: 2; 0x0001\n            $this->externalBooks[] = array(\n                'type' => 'addInFunction',\n            );\n        } elseif (substr($recordData, 0, 2) == pack('v', 0x0000)) {\n            // DDE links, OLE links\n            // offset: 0; size: 2; 0x0000\n            // offset: 2; size: var; encoded source document name\n            $this->externalBooks[] = array(\n                'type' => 'DDEorOLE',\n            );\n        }\n    }\n\n\n    /**\n     * Read EXTERNNAME record.\n     */\n    private function readExternName()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // external sheet references provided for named cells\n        if ($this->version == self::XLS_BIFF8) {\n            // offset: 0; size: 2; options\n            $options = self::getInt2d($recordData, 0);\n\n            // offset: 2; size: 2;\n\n            // offset: 4; size: 2; not used\n\n            // offset: 6; size: var\n            $nameString = self::readUnicodeStringShort(substr($recordData, 6));\n\n            // offset: var; size: var; formula data\n            $offset = 6 + $nameString['size'];\n            $formula = $this->getFormulaFromStructure(substr($recordData, $offset));\n\n            $this->externalNames[] = array(\n                'name' => $nameString['value'],\n                'formula' => $formula,\n            );\n        }\n    }\n\n\n    /**\n     * Read EXTERNSHEET record\n     */\n    private function readExternSheet()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // external sheet references provided for named cells\n        if ($this->version == self::XLS_BIFF8) {\n            // offset: 0; size: 2; number of following ref structures\n            $nm = self::getInt2d($recordData, 0);\n            for ($i = 0; $i < $nm; ++$i) {\n                $this->ref[] = array(\n                    // offset: 2 + 6 * $i; index to EXTERNALBOOK record\n                    'externalBookIndex' => self::getInt2d($recordData, 2 + 6 * $i),\n                    // offset: 4 + 6 * $i; index to first sheet in EXTERNALBOOK record\n                    'firstSheetIndex' => self::getInt2d($recordData, 4 + 6 * $i),\n                    // offset: 6 + 6 * $i; index to last sheet in EXTERNALBOOK record\n                    'lastSheetIndex' => self::getInt2d($recordData, 6 + 6 * $i),\n                );\n            }\n        }\n    }\n\n\n    /**\n     * DEFINEDNAME\n     *\n     * This record is part of a Link Table. It contains the name\n     * and the token array of an internal defined name. Token\n     * arrays of defined names contain tokens with aberrant\n     * token classes.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readDefinedName()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->version == self::XLS_BIFF8) {\n            // retrieves named cells\n\n            // offset: 0; size: 2; option flags\n            $opts = self::getInt2d($recordData, 0);\n\n            // bit: 5; mask: 0x0020; 0 = user-defined name, 1 = built-in-name\n            $isBuiltInName = (0x0020 & $opts) >> 5;\n\n            // offset: 2; size: 1; keyboard shortcut\n\n            // offset: 3; size: 1; length of the name (character count)\n            $nlen = ord($recordData{3});\n\n            // offset: 4; size: 2; size of the formula data (it can happen that this is zero)\n            // note: there can also be additional data, this is not included in $flen\n            $flen = self::getInt2d($recordData, 4);\n\n            // offset: 8; size: 2; 0=Global name, otherwise index to sheet (1-based)\n            $scope = self::getInt2d($recordData, 8);\n\n            // offset: 14; size: var; Name (Unicode string without length field)\n            $string = self::readUnicodeString(substr($recordData, 14), $nlen);\n\n            // offset: var; size: $flen; formula data\n            $offset = 14 + $string['size'];\n            $formulaStructure = pack('v', $flen) . substr($recordData, $offset);\n\n            try {\n                $formula = $this->getFormulaFromStructure($formulaStructure);\n            } catch (PHPExcel_Exception $e) {\n                $formula = '';\n            }\n\n            $this->definedname[] = array(\n                'isBuiltInName' => $isBuiltInName,\n                'name' => $string['value'],\n                'formula' => $formula,\n                'scope' => $scope,\n            );\n        }\n    }\n\n\n    /**\n     * Read MSODRAWINGGROUP record\n     */\n    private function readMsoDrawingGroup()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n\n        // get spliced record data\n        $splicedRecordData = $this->getSplicedRecordData();\n        $recordData = $splicedRecordData['recordData'];\n\n        $this->drawingGroupData .= $recordData;\n    }\n\n\n    /**\n     * SST - Shared String Table\n     *\n     * This record contains a list of all strings used anywhere\n     * in the workbook. Each string occurs only once. The\n     * workbook uses indexes into the list to reference the\n     * strings.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     **/\n    private function readSst()\n    {\n        // offset within (spliced) record data\n        $pos = 0;\n\n        // get spliced record data\n        $splicedRecordData = $this->getSplicedRecordData();\n\n        $recordData = $splicedRecordData['recordData'];\n        $spliceOffsets = $splicedRecordData['spliceOffsets'];\n\n        // offset: 0; size: 4; total number of strings in the workbook\n        $pos += 4;\n\n        // offset: 4; size: 4; number of following strings ($nm)\n        $nm = self::getInt4d($recordData, 4);\n        $pos += 4;\n\n        // loop through the Unicode strings (16-bit length)\n        for ($i = 0; $i < $nm; ++$i) {\n            // number of characters in the Unicode string\n            $numChars = self::getInt2d($recordData, $pos);\n            $pos += 2;\n\n            // option flags\n            $optionFlags = ord($recordData{$pos});\n            ++$pos;\n\n            // bit: 0; mask: 0x01; 0 = compressed; 1 = uncompressed\n            $isCompressed = (($optionFlags & 0x01) == 0) ;\n\n            // bit: 2; mask: 0x02; 0 = ordinary; 1 = Asian phonetic\n            $hasAsian = (($optionFlags & 0x04) != 0);\n\n            // bit: 3; mask: 0x03; 0 = ordinary; 1 = Rich-Text\n            $hasRichText = (($optionFlags & 0x08) != 0);\n\n            if ($hasRichText) {\n                // number of Rich-Text formatting runs\n                $formattingRuns = self::getInt2d($recordData, $pos);\n                $pos += 2;\n            }\n\n            if ($hasAsian) {\n                // size of Asian phonetic setting\n                $extendedRunLength = self::getInt4d($recordData, $pos);\n                $pos += 4;\n            }\n\n            // expected byte length of character array if not split\n            $len = ($isCompressed) ? $numChars : $numChars * 2;\n\n            // look up limit position\n            foreach ($spliceOffsets as $spliceOffset) {\n                // it can happen that the string is empty, therefore we need\n                // <= and not just <\n                if ($pos <= $spliceOffset) {\n                    $limitpos = $spliceOffset;\n                    break;\n                }\n            }\n\n            if ($pos + $len <= $limitpos) {\n                // character array is not split between records\n\n                $retstr = substr($recordData, $pos, $len);\n                $pos += $len;\n            } else {\n                // character array is split between records\n\n                // first part of character array\n                $retstr = substr($recordData, $pos, $limitpos - $pos);\n\n                $bytesRead = $limitpos - $pos;\n\n                // remaining characters in Unicode string\n                $charsLeft = $numChars - (($isCompressed) ? $bytesRead : ($bytesRead / 2));\n\n                $pos = $limitpos;\n\n                // keep reading the characters\n                while ($charsLeft > 0) {\n                    // look up next limit position, in case the string span more than one continue record\n                    foreach ($spliceOffsets as $spliceOffset) {\n                        if ($pos < $spliceOffset) {\n                            $limitpos = $spliceOffset;\n                            break;\n                        }\n                    }\n\n                    // repeated option flags\n                    // OpenOffice.org documentation 5.21\n                    $option = ord($recordData{$pos});\n                    ++$pos;\n\n                    if ($isCompressed && ($option == 0)) {\n                        // 1st fragment compressed\n                        // this fragment compressed\n                        $len = min($charsLeft, $limitpos - $pos);\n                        $retstr .= substr($recordData, $pos, $len);\n                        $charsLeft -= $len;\n                        $isCompressed = true;\n                    } elseif (!$isCompressed && ($option != 0)) {\n                        // 1st fragment uncompressed\n                        // this fragment uncompressed\n                        $len = min($charsLeft * 2, $limitpos - $pos);\n                        $retstr .= substr($recordData, $pos, $len);\n                        $charsLeft -= $len / 2;\n                        $isCompressed = false;\n                    } elseif (!$isCompressed && ($option == 0)) {\n                        // 1st fragment uncompressed\n                        // this fragment compressed\n                        $len = min($charsLeft, $limitpos - $pos);\n                        for ($j = 0; $j < $len; ++$j) {\n                            $retstr .= $recordData{$pos + $j} . chr(0);\n                        }\n                        $charsLeft -= $len;\n                        $isCompressed = false;\n                    } else {\n                        // 1st fragment compressed\n                        // this fragment uncompressed\n                        $newstr = '';\n                        for ($j = 0; $j < strlen($retstr); ++$j) {\n                            $newstr .= $retstr[$j] . chr(0);\n                        }\n                        $retstr = $newstr;\n                        $len = min($charsLeft * 2, $limitpos - $pos);\n                        $retstr .= substr($recordData, $pos, $len);\n                        $charsLeft -= $len / 2;\n                        $isCompressed = false;\n                    }\n\n                    $pos += $len;\n                }\n            }\n\n            // convert to UTF-8\n            $retstr = self::encodeUTF16($retstr, $isCompressed);\n\n            // read additional Rich-Text information, if any\n            $fmtRuns = array();\n            if ($hasRichText) {\n                // list of formatting runs\n                for ($j = 0; $j < $formattingRuns; ++$j) {\n                    // first formatted character; zero-based\n                    $charPos = self::getInt2d($recordData, $pos + $j * 4);\n\n                    // index to font record\n                    $fontIndex = self::getInt2d($recordData, $pos + 2 + $j * 4);\n\n                    $fmtRuns[] = array(\n                        'charPos' => $charPos,\n                        'fontIndex' => $fontIndex,\n                    );\n                }\n                $pos += 4 * $formattingRuns;\n            }\n\n            // read additional Asian phonetics information, if any\n            if ($hasAsian) {\n                // For Asian phonetic settings, we skip the extended string data\n                $pos += $extendedRunLength;\n            }\n\n            // store the shared sting\n            $this->sst[] = array(\n                'value' => $retstr,\n                'fmtRuns' => $fmtRuns,\n            );\n        }\n\n        // getSplicedRecordData() takes care of moving current position in data stream\n    }\n\n\n    /**\n     * Read PRINTGRIDLINES record\n     */\n    private function readPrintGridlines()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->version == self::XLS_BIFF8 && !$this->readDataOnly) {\n            // offset: 0; size: 2; 0 = do not print sheet grid lines; 1 = print sheet gridlines\n            $printGridlines = (bool) self::getInt2d($recordData, 0);\n            $this->phpSheet->setPrintGridlines($printGridlines);\n        }\n    }\n\n\n    /**\n     * Read DEFAULTROWHEIGHT record\n     */\n    private function readDefaultRowHeight()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; option flags\n        // offset: 2; size: 2; default height for unused rows, (twips 1/20 point)\n        $height = self::getInt2d($recordData, 2);\n        $this->phpSheet->getDefaultRowDimension()->setRowHeight($height / 20);\n    }\n\n\n    /**\n     * Read SHEETPR record\n     */\n    private function readSheetPr()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2\n\n        // bit: 6; mask: 0x0040; 0 = outline buttons above outline group\n        $isSummaryBelow = (0x0040 & self::getInt2d($recordData, 0)) >> 6;\n        $this->phpSheet->setShowSummaryBelow($isSummaryBelow);\n\n        // bit: 7; mask: 0x0080; 0 = outline buttons left of outline group\n        $isSummaryRight = (0x0080 & self::getInt2d($recordData, 0)) >> 7;\n        $this->phpSheet->setShowSummaryRight($isSummaryRight);\n\n        // bit: 8; mask: 0x100; 0 = scale printout in percent, 1 = fit printout to number of pages\n        // this corresponds to radio button setting in page setup dialog in Excel\n        $this->isFitToPages = (bool) ((0x0100 & self::getInt2d($recordData, 0)) >> 8);\n    }\n\n\n    /**\n     * Read HORIZONTALPAGEBREAKS record\n     */\n    private function readHorizontalPageBreaks()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->version == self::XLS_BIFF8 && !$this->readDataOnly) {\n            // offset: 0; size: 2; number of the following row index structures\n            $nm = self::getInt2d($recordData, 0);\n\n            // offset: 2; size: 6 * $nm; list of $nm row index structures\n            for ($i = 0; $i < $nm; ++$i) {\n                $r = self::getInt2d($recordData, 2 + 6 * $i);\n                $cf = self::getInt2d($recordData, 2 + 6 * $i + 2);\n                $cl = self::getInt2d($recordData, 2 + 6 * $i + 4);\n\n                // not sure why two column indexes are necessary?\n                $this->phpSheet->setBreakByColumnAndRow($cf, $r, PHPExcel_Worksheet::BREAK_ROW);\n            }\n        }\n    }\n\n\n    /**\n     * Read VERTICALPAGEBREAKS record\n     */\n    private function readVerticalPageBreaks()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->version == self::XLS_BIFF8 && !$this->readDataOnly) {\n            // offset: 0; size: 2; number of the following column index structures\n            $nm = self::getInt2d($recordData, 0);\n\n            // offset: 2; size: 6 * $nm; list of $nm row index structures\n            for ($i = 0; $i < $nm; ++$i) {\n                $c = self::getInt2d($recordData, 2 + 6 * $i);\n                $rf = self::getInt2d($recordData, 2 + 6 * $i + 2);\n                $rl = self::getInt2d($recordData, 2 + 6 * $i + 4);\n\n                // not sure why two row indexes are necessary?\n                $this->phpSheet->setBreakByColumnAndRow($c, $rf, PHPExcel_Worksheet::BREAK_COLUMN);\n            }\n        }\n    }\n\n\n    /**\n     * Read HEADER record\n     */\n    private function readHeader()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: var\n            // realized that $recordData can be empty even when record exists\n            if ($recordData) {\n                if ($this->version == self::XLS_BIFF8) {\n                    $string = self::readUnicodeStringLong($recordData);\n                } else {\n                    $string = $this->readByteStringShort($recordData);\n                }\n\n                $this->phpSheet->getHeaderFooter()->setOddHeader($string['value']);\n                $this->phpSheet->getHeaderFooter()->setEvenHeader($string['value']);\n            }\n        }\n    }\n\n\n    /**\n     * Read FOOTER record\n     */\n    private function readFooter()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: var\n            // realized that $recordData can be empty even when record exists\n            if ($recordData) {\n                if ($this->version == self::XLS_BIFF8) {\n                    $string = self::readUnicodeStringLong($recordData);\n                } else {\n                    $string = $this->readByteStringShort($recordData);\n                }\n                $this->phpSheet->getHeaderFooter()->setOddFooter($string['value']);\n                $this->phpSheet->getHeaderFooter()->setEvenFooter($string['value']);\n            }\n        }\n    }\n\n\n    /**\n     * Read HCENTER record\n     */\n    private function readHcenter()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; 0 = print sheet left aligned, 1 = print sheet centered horizontally\n            $isHorizontalCentered = (bool) self::getInt2d($recordData, 0);\n\n            $this->phpSheet->getPageSetup()->setHorizontalCentered($isHorizontalCentered);\n        }\n    }\n\n\n    /**\n     * Read VCENTER record\n     */\n    private function readVcenter()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; 0 = print sheet aligned at top page border, 1 = print sheet vertically centered\n            $isVerticalCentered = (bool) self::getInt2d($recordData, 0);\n\n            $this->phpSheet->getPageSetup()->setVerticalCentered($isVerticalCentered);\n        }\n    }\n\n\n    /**\n     * Read LEFTMARGIN record\n     */\n    private function readLeftMargin()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 8\n            $this->phpSheet->getPageMargins()->setLeft(self::extractNumber($recordData));\n        }\n    }\n\n\n    /**\n     * Read RIGHTMARGIN record\n     */\n    private function readRightMargin()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 8\n            $this->phpSheet->getPageMargins()->setRight(self::extractNumber($recordData));\n        }\n    }\n\n\n    /**\n     * Read TOPMARGIN record\n     */\n    private function readTopMargin()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 8\n            $this->phpSheet->getPageMargins()->setTop(self::extractNumber($recordData));\n        }\n    }\n\n\n    /**\n     * Read BOTTOMMARGIN record\n     */\n    private function readBottomMargin()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 8\n            $this->phpSheet->getPageMargins()->setBottom(self::extractNumber($recordData));\n        }\n    }\n\n\n    /**\n     * Read PAGESETUP record\n     */\n    private function readPageSetup()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; paper size\n            $paperSize = self::getInt2d($recordData, 0);\n\n            // offset: 2; size: 2; scaling factor\n            $scale = self::getInt2d($recordData, 2);\n\n            // offset: 6; size: 2; fit worksheet width to this number of pages, 0 = use as many as needed\n            $fitToWidth = self::getInt2d($recordData, 6);\n\n            // offset: 8; size: 2; fit worksheet height to this number of pages, 0 = use as many as needed\n            $fitToHeight = self::getInt2d($recordData, 8);\n\n            // offset: 10; size: 2; option flags\n\n            // bit: 1; mask: 0x0002; 0=landscape, 1=portrait\n            $isPortrait = (0x0002 & self::getInt2d($recordData, 10)) >> 1;\n\n            // bit: 2; mask: 0x0004; 1= paper size, scaling factor, paper orient. not init\n            // when this bit is set, do not use flags for those properties\n            $isNotInit = (0x0004 & self::getInt2d($recordData, 10)) >> 2;\n\n            if (!$isNotInit) {\n                $this->phpSheet->getPageSetup()->setPaperSize($paperSize);\n                switch ($isPortrait) {\n                    case 0:\n                        $this->phpSheet->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE);\n                        break;\n                    case 1:\n                        $this->phpSheet->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT);\n                        break;\n                }\n\n                $this->phpSheet->getPageSetup()->setScale($scale, false);\n                $this->phpSheet->getPageSetup()->setFitToPage((bool) $this->isFitToPages);\n                $this->phpSheet->getPageSetup()->setFitToWidth($fitToWidth, false);\n                $this->phpSheet->getPageSetup()->setFitToHeight($fitToHeight, false);\n            }\n\n            // offset: 16; size: 8; header margin (IEEE 754 floating-point value)\n            $marginHeader = self::extractNumber(substr($recordData, 16, 8));\n            $this->phpSheet->getPageMargins()->setHeader($marginHeader);\n\n            // offset: 24; size: 8; footer margin (IEEE 754 floating-point value)\n            $marginFooter = self::extractNumber(substr($recordData, 24, 8));\n            $this->phpSheet->getPageMargins()->setFooter($marginFooter);\n        }\n    }\n\n\n    /**\n     * PROTECT - Sheet protection (BIFF2 through BIFF8)\n     *   if this record is omitted, then it also means no sheet protection\n     */\n    private function readProtect()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        // offset: 0; size: 2;\n\n        // bit 0, mask 0x01; 1 = sheet is protected\n        $bool = (0x01 & self::getInt2d($recordData, 0)) >> 0;\n        $this->phpSheet->getProtection()->setSheet((bool)$bool);\n    }\n\n\n    /**\n     * SCENPROTECT\n     */\n    private function readScenProtect()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        // offset: 0; size: 2;\n\n        // bit: 0, mask 0x01; 1 = scenarios are protected\n        $bool = (0x01 & self::getInt2d($recordData, 0)) >> 0;\n\n        $this->phpSheet->getProtection()->setScenarios((bool)$bool);\n    }\n\n\n    /**\n     * OBJECTPROTECT\n     */\n    private function readObjectProtect()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        // offset: 0; size: 2;\n\n        // bit: 0, mask 0x01; 1 = objects are protected\n        $bool = (0x01 & self::getInt2d($recordData, 0)) >> 0;\n\n        $this->phpSheet->getProtection()->setObjects((bool)$bool);\n    }\n\n\n    /**\n     * PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8)\n     */\n    private function readPassword()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; 16-bit hash value of password\n            $password = strtoupper(dechex(self::getInt2d($recordData, 0))); // the hashed password\n            $this->phpSheet->getProtection()->setPassword($password, true);\n        }\n    }\n\n\n    /**\n     * Read DEFCOLWIDTH record\n     */\n    private function readDefColWidth()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; default column width\n        $width = self::getInt2d($recordData, 0);\n        if ($width != 8) {\n            $this->phpSheet->getDefaultColumnDimension()->setWidth($width);\n        }\n    }\n\n\n    /**\n     * Read COLINFO record\n     */\n    private function readColInfo()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; index to first column in range\n            $fc = self::getInt2d($recordData, 0); // first column index\n\n            // offset: 2; size: 2; index to last column in range\n            $lc = self::getInt2d($recordData, 2); // first column index\n\n            // offset: 4; size: 2; width of the column in 1/256 of the width of the zero character\n            $width = self::getInt2d($recordData, 4);\n\n            // offset: 6; size: 2; index to XF record for default column formatting\n            $xfIndex = self::getInt2d($recordData, 6);\n\n            // offset: 8; size: 2; option flags\n            // bit: 0; mask: 0x0001; 1= columns are hidden\n            $isHidden = (0x0001 & self::getInt2d($recordData, 8)) >> 0;\n\n            // bit: 10-8; mask: 0x0700; outline level of the columns (0 = no outline)\n            $level = (0x0700 & self::getInt2d($recordData, 8)) >> 8;\n\n            // bit: 12; mask: 0x1000; 1 = collapsed\n            $isCollapsed = (0x1000 & self::getInt2d($recordData, 8)) >> 12;\n\n            // offset: 10; size: 2; not used\n\n            for ($i = $fc; $i <= $lc; ++$i) {\n                if ($lc == 255 || $lc == 256) {\n                    $this->phpSheet->getDefaultColumnDimension()->setWidth($width / 256);\n                    break;\n                }\n                $this->phpSheet->getColumnDimensionByColumn($i)->setWidth($width / 256);\n                $this->phpSheet->getColumnDimensionByColumn($i)->setVisible(!$isHidden);\n                $this->phpSheet->getColumnDimensionByColumn($i)->setOutlineLevel($level);\n                $this->phpSheet->getColumnDimensionByColumn($i)->setCollapsed($isCollapsed);\n                $this->phpSheet->getColumnDimensionByColumn($i)->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n        }\n    }\n\n\n    /**\n     * ROW\n     *\n     * This record contains the properties of a single row in a\n     * sheet. Rows and cells in a sheet are divided into blocks\n     * of 32 rows.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readRow()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; index of this row\n            $r = self::getInt2d($recordData, 0);\n\n            // offset: 2; size: 2; index to column of the first cell which is described by a cell record\n\n            // offset: 4; size: 2; index to column of the last cell which is described by a cell record, increased by 1\n\n            // offset: 6; size: 2;\n\n            // bit: 14-0; mask: 0x7FFF; height of the row, in twips = 1/20 of a point\n            $height = (0x7FFF & self::getInt2d($recordData, 6)) >> 0;\n\n            // bit: 15: mask: 0x8000; 0 = row has custom height; 1= row has default height\n            $useDefaultHeight = (0x8000 & self::getInt2d($recordData, 6)) >> 15;\n\n            if (!$useDefaultHeight) {\n                $this->phpSheet->getRowDimension($r + 1)->setRowHeight($height / 20);\n            }\n\n            // offset: 8; size: 2; not used\n\n            // offset: 10; size: 2; not used in BIFF5-BIFF8\n\n            // offset: 12; size: 4; option flags and default row formatting\n\n            // bit: 2-0: mask: 0x00000007; outline level of the row\n            $level = (0x00000007 & self::getInt4d($recordData, 12)) >> 0;\n            $this->phpSheet->getRowDimension($r + 1)->setOutlineLevel($level);\n\n            // bit: 4; mask: 0x00000010; 1 = outline group start or ends here... and is collapsed\n            $isCollapsed = (0x00000010 & self::getInt4d($recordData, 12)) >> 4;\n            $this->phpSheet->getRowDimension($r + 1)->setCollapsed($isCollapsed);\n\n            // bit: 5; mask: 0x00000020; 1 = row is hidden\n            $isHidden = (0x00000020 & self::getInt4d($recordData, 12)) >> 5;\n            $this->phpSheet->getRowDimension($r + 1)->setVisible(!$isHidden);\n\n            // bit: 7; mask: 0x00000080; 1 = row has explicit format\n            $hasExplicitFormat = (0x00000080 & self::getInt4d($recordData, 12)) >> 7;\n\n            // bit: 27-16; mask: 0x0FFF0000; only applies when hasExplicitFormat = 1; index to XF record\n            $xfIndex = (0x0FFF0000 & self::getInt4d($recordData, 12)) >> 16;\n\n            if ($hasExplicitFormat) {\n                $this->phpSheet->getRowDimension($r + 1)->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n        }\n    }\n\n\n    /**\n     * Read RK record\n     * This record represents a cell that contains an RK value\n     * (encoded integer or floating-point value). If a\n     * floating-point value cannot be encoded to an RK value,\n     * a NUMBER record will be written. This record replaces the\n     * record INTEGER written in BIFF2.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readRk()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; index to row\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; index to column\n        $column = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($column);\n\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            // offset: 4; size: 2; index to XF record\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            // offset: 6; size: 4; RK value\n            $rknum = self::getInt4d($recordData, 6);\n            $numValue = self::getIEEE754($rknum);\n\n            $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n            if (!$this->readDataOnly) {\n                // add style information\n                $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n\n            // add cell\n            $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n        }\n    }\n\n\n    /**\n     * Read LABELSST record\n     * This record represents a cell that contains a string. It\n     * replaces the LABEL record and RSTRING record used in\n     * BIFF2-BIFF5.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readLabelSst()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; index to row\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; index to column\n        $column = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($column);\n\n        $emptyCell = true;\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            // offset: 4; size: 2; index to XF record\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            // offset: 6; size: 4; index to SST record\n            $index = self::getInt4d($recordData, 6);\n\n            // add cell\n            if (($fmtRuns = $this->sst[$index]['fmtRuns']) && !$this->readDataOnly) {\n                // then we should treat as rich text\n                $richText = new PHPExcel_RichText();\n                $charPos = 0;\n                $sstCount = count($this->sst[$index]['fmtRuns']);\n                for ($i = 0; $i <= $sstCount; ++$i) {\n                    if (isset($fmtRuns[$i])) {\n                        $text = PHPExcel_Shared_String::Substring($this->sst[$index]['value'], $charPos, $fmtRuns[$i]['charPos'] - $charPos);\n                        $charPos = $fmtRuns[$i]['charPos'];\n                    } else {\n                        $text = PHPExcel_Shared_String::Substring($this->sst[$index]['value'], $charPos, PHPExcel_Shared_String::CountCharacters($this->sst[$index]['value']));\n                    }\n\n                    if (PHPExcel_Shared_String::CountCharacters($text) > 0) {\n                        if ($i == 0) { // first text run, no style\n                            $richText->createText($text);\n                        } else {\n                            $textRun = $richText->createTextRun($text);\n                            if (isset($fmtRuns[$i - 1])) {\n                                if ($fmtRuns[$i - 1]['fontIndex'] < 4) {\n                                    $fontIndex = $fmtRuns[$i - 1]['fontIndex'];\n                                } else {\n                                    // this has to do with that index 4 is omitted in all BIFF versions for some strange reason\n                                    // check the OpenOffice documentation of the FONT record\n                                    $fontIndex = $fmtRuns[$i - 1]['fontIndex'] - 1;\n                                }\n                                $textRun->setFont(clone $this->objFonts[$fontIndex]);\n                            }\n                        }\n                    }\n                }\n                if ($this->readEmptyCells || trim($richText->getPlainText()) !== '') {\n                    $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n                    $cell->setValueExplicit($richText, PHPExcel_Cell_DataType::TYPE_STRING);\n                    $emptyCell = false;\n                }\n            } else {\n                if ($this->readEmptyCells || trim($this->sst[$index]['value']) !== '') {\n                    $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n                    $cell->setValueExplicit($this->sst[$index]['value'], PHPExcel_Cell_DataType::TYPE_STRING);\n                    $emptyCell = false;\n                }\n            }\n\n            if (!$this->readDataOnly && !$emptyCell) {\n                // add style information\n                $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n        }\n    }\n\n\n    /**\n     * Read MULRK record\n     * This record represents a cell range containing RK value\n     * cells. All cells are located in the same row.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readMulRk()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; index to row\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; index to first column\n        $colFirst = self::getInt2d($recordData, 2);\n\n        // offset: var; size: 2; index to last column\n        $colLast = self::getInt2d($recordData, $length - 2);\n        $columns = $colLast - $colFirst + 1;\n\n        // offset within record data\n        $offset = 4;\n\n        for ($i = 0; $i < $columns; ++$i) {\n            $columnString = PHPExcel_Cell::stringFromColumnIndex($colFirst + $i);\n\n            // Read cell?\n            if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n                // offset: var; size: 2; index to XF record\n                $xfIndex = self::getInt2d($recordData, $offset);\n\n                // offset: var; size: 4; RK value\n                $numValue = self::getIEEE754(self::getInt4d($recordData, $offset + 2));\n                $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n                if (!$this->readDataOnly) {\n                    // add style\n                    $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n                }\n\n                // add cell value\n                $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n            }\n\n            $offset += 6;\n        }\n    }\n\n\n    /**\n     * Read NUMBER record\n     * This record represents a cell that contains a\n     * floating-point value.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readNumber()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; index to row\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size 2; index to column\n        $column = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($column);\n\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            // offset 4; size: 2; index to XF record\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            $numValue = self::extractNumber(substr($recordData, 6, 8));\n\n            $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n            if (!$this->readDataOnly) {\n                // add cell style\n                $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n\n            // add cell value\n            $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC);\n        }\n    }\n\n\n    /**\n     * Read FORMULA record + perhaps a following STRING record if formula result is a string\n     * This record contains the token array and the result of a\n     * formula cell.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readFormula()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; row index\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; col index\n        $column = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($column);\n\n        // offset: 20: size: variable; formula structure\n        $formulaStructure = substr($recordData, 20);\n\n        // offset: 14: size: 2; option flags, recalculate always, recalculate on open etc.\n        $options = self::getInt2d($recordData, 14);\n\n        // bit: 0; mask: 0x0001; 1 = recalculate always\n        // bit: 1; mask: 0x0002; 1 = calculate on open\n        // bit: 2; mask: 0x0008; 1 = part of a shared formula\n        $isPartOfSharedFormula = (bool) (0x0008 & $options);\n\n        // WARNING:\n        // We can apparently not rely on $isPartOfSharedFormula. Even when $isPartOfSharedFormula = true\n        // the formula data may be ordinary formula data, therefore we need to check\n        // explicitly for the tExp token (0x01)\n        $isPartOfSharedFormula = $isPartOfSharedFormula && ord($formulaStructure{2}) == 0x01;\n\n        if ($isPartOfSharedFormula) {\n            // part of shared formula which means there will be a formula with a tExp token and nothing else\n            // get the base cell, grab tExp token\n            $baseRow = self::getInt2d($formulaStructure, 3);\n            $baseCol = self::getInt2d($formulaStructure, 5);\n            $this->_baseCell = PHPExcel_Cell::stringFromColumnIndex($baseCol). ($baseRow + 1);\n        }\n\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            if ($isPartOfSharedFormula) {\n                // formula is added to this cell after the sheet has been read\n                $this->sharedFormulaParts[$columnString . ($row + 1)] = $this->_baseCell;\n            }\n\n            // offset: 16: size: 4; not used\n\n            // offset: 4; size: 2; XF index\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            // offset: 6; size: 8; result of the formula\n            if ((ord($recordData{6}) == 0) && (ord($recordData{12}) == 255) && (ord($recordData{13}) == 255)) {\n                // String formula. Result follows in appended STRING record\n                $dataType = PHPExcel_Cell_DataType::TYPE_STRING;\n\n                // read possible SHAREDFMLA record\n                $code = self::getInt2d($this->data, $this->pos);\n                if ($code == self::XLS_TYPE_SHAREDFMLA) {\n                    $this->readSharedFmla();\n                }\n\n                // read STRING record\n                $value = $this->readString();\n            } elseif ((ord($recordData{6}) == 1)\n                && (ord($recordData{12}) == 255)\n                && (ord($recordData{13}) == 255)) {\n                // Boolean formula. Result is in +2; 0=false, 1=true\n                $dataType = PHPExcel_Cell_DataType::TYPE_BOOL;\n                $value = (bool) ord($recordData{8});\n            } elseif ((ord($recordData{6}) == 2)\n                && (ord($recordData{12}) == 255)\n                && (ord($recordData{13}) == 255)) {\n                // Error formula. Error code is in +2\n                $dataType = PHPExcel_Cell_DataType::TYPE_ERROR;\n                $value = PHPExcel_Reader_Excel5_ErrorCode::lookup(ord($recordData{8}));\n            } elseif ((ord($recordData{6}) == 3)\n                && (ord($recordData{12}) == 255)\n                && (ord($recordData{13}) == 255)) {\n                // Formula result is a null string\n                $dataType = PHPExcel_Cell_DataType::TYPE_NULL;\n                $value = '';\n            } else {\n                // forumla result is a number, first 14 bytes like _NUMBER record\n                $dataType = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                $value = self::extractNumber(substr($recordData, 6, 8));\n            }\n\n            $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n            if (!$this->readDataOnly) {\n                // add cell style\n                $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n\n            // store the formula\n            if (!$isPartOfSharedFormula) {\n                // not part of shared formula\n                // add cell value. If we can read formula, populate with formula, otherwise just used cached value\n                try {\n                    if ($this->version != self::XLS_BIFF8) {\n                        throw new PHPExcel_Reader_Exception('Not BIFF8. Can only read BIFF8 formulas');\n                    }\n                    $formula = $this->getFormulaFromStructure($formulaStructure); // get formula in human language\n                    $cell->setValueExplicit('=' . $formula, PHPExcel_Cell_DataType::TYPE_FORMULA);\n\n                } catch (PHPExcel_Exception $e) {\n                    $cell->setValueExplicit($value, $dataType);\n                }\n            } else {\n                if ($this->version == self::XLS_BIFF8) {\n                    // do nothing at this point, formula id added later in the code\n                } else {\n                    $cell->setValueExplicit($value, $dataType);\n                }\n            }\n\n            // store the cached calculated value\n            $cell->setCalculatedValue($value);\n        }\n    }\n\n\n    /**\n     * Read a SHAREDFMLA record. This function just stores the binary shared formula in the reader,\n     * which usually contains relative references.\n     * These will be used to construct the formula in each shared formula part after the sheet is read.\n     */\n    private function readSharedFmla()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0, size: 6; cell range address of the area used by the shared formula, not used for anything\n        $cellRange = substr($recordData, 0, 6);\n        $cellRange = $this->readBIFF5CellRangeAddressFixed($cellRange); // note: even BIFF8 uses BIFF5 syntax\n\n        // offset: 6, size: 1; not used\n\n        // offset: 7, size: 1; number of existing FORMULA records for this shared formula\n        $no = ord($recordData{7});\n\n        // offset: 8, size: var; Binary token array of the shared formula\n        $formula = substr($recordData, 8);\n\n        // at this point we only store the shared formula for later use\n        $this->sharedFormulas[$this->_baseCell] = $formula;\n    }\n\n\n    /**\n     * Read a STRING record from current stream position and advance the stream pointer to next record\n     * This record is used for storing result from FORMULA record when it is a string, and\n     * it occurs directly after the FORMULA record\n     *\n     * @return string The string contents as UTF-8\n     */\n    private function readString()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->version == self::XLS_BIFF8) {\n            $string = self::readUnicodeStringLong($recordData);\n            $value = $string['value'];\n        } else {\n            $string = $this->readByteStringLong($recordData);\n            $value = $string['value'];\n        }\n\n        return $value;\n    }\n\n\n    /**\n     * Read BOOLERR record\n     * This record represents a Boolean value or error value\n     * cell.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readBoolErr()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; row index\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; column index\n        $column = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($column);\n\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            // offset: 4; size: 2; index to XF record\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            // offset: 6; size: 1; the boolean value or error value\n            $boolErr = ord($recordData{6});\n\n            // offset: 7; size: 1; 0=boolean; 1=error\n            $isError = ord($recordData{7});\n\n            $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n            switch ($isError) {\n                case 0: // boolean\n                    $value = (bool) $boolErr;\n\n                    // add cell value\n                    $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_BOOL);\n                    break;\n                case 1: // error type\n                    $value = PHPExcel_Reader_Excel5_ErrorCode::lookup($boolErr);\n\n                    // add cell value\n                    $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_ERROR);\n                    break;\n            }\n\n            if (!$this->readDataOnly) {\n                // add cell style\n                $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n        }\n    }\n\n\n    /**\n     * Read MULBLANK record\n     * This record represents a cell range of empty cells. All\n     * cells are located in the same row\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readMulBlank()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; index to row\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; index to first column\n        $fc = self::getInt2d($recordData, 2);\n\n        // offset: 4; size: 2 x nc; list of indexes to XF records\n        // add style information\n        if (!$this->readDataOnly && $this->readEmptyCells) {\n            for ($i = 0; $i < $length / 2 - 3; ++$i) {\n                $columnString = PHPExcel_Cell::stringFromColumnIndex($fc + $i);\n\n                // Read cell?\n                if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n                    $xfIndex = self::getInt2d($recordData, 4 + 2 * $i);\n                    $this->phpSheet->getCell($columnString . ($row + 1))->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n                }\n            }\n        }\n\n        // offset: 6; size 2; index to last column (not needed)\n    }\n\n\n    /**\n     * Read LABEL record\n     * This record represents a cell that contains a string. In\n     * BIFF8 it is usually replaced by the LABELSST record.\n     * Excel still uses this record, if it copies unformatted\n     * text cells to the clipboard.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readLabel()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; index to row\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; index to column\n        $column = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($column);\n\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            // offset: 4; size: 2; XF index\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            // add cell value\n            // todo: what if string is very long? continue record\n            if ($this->version == self::XLS_BIFF8) {\n                $string = self::readUnicodeStringLong(substr($recordData, 6));\n                $value = $string['value'];\n            } else {\n                $string = $this->readByteStringLong(substr($recordData, 6));\n                $value = $string['value'];\n            }\n            if ($this->readEmptyCells || trim($value) !== '') {\n                $cell = $this->phpSheet->getCell($columnString . ($row + 1));\n                $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING);\n\n                if (!$this->readDataOnly) {\n                    // add cell style\n                    $cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n                }\n            }\n        }\n    }\n\n\n    /**\n     * Read BLANK record\n     */\n    private function readBlank()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; row index\n        $row = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; col index\n        $col = self::getInt2d($recordData, 2);\n        $columnString = PHPExcel_Cell::stringFromColumnIndex($col);\n\n        // Read cell?\n        if (($this->getReadFilter() !== null) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->phpSheet->getTitle())) {\n            // offset: 4; size: 2; XF index\n            $xfIndex = self::getInt2d($recordData, 4);\n\n            // add style information\n            if (!$this->readDataOnly && $this->readEmptyCells) {\n                $this->phpSheet->getCell($columnString . ($row + 1))->setXfIndex($this->mapCellXfIndex[$xfIndex]);\n            }\n        }\n    }\n\n\n    /**\n     * Read MSODRAWING record\n     */\n    private function readMsoDrawing()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n\n        // get spliced record data\n        $splicedRecordData = $this->getSplicedRecordData();\n        $recordData = $splicedRecordData['recordData'];\n\n        $this->drawingData .= $recordData;\n    }\n\n\n    /**\n     * Read OBJ record\n     */\n    private function readObj()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly || $this->version != self::XLS_BIFF8) {\n            return;\n        }\n\n        // recordData consists of an array of subrecords looking like this:\n        //    ft: 2 bytes; ftCmo type (0x15)\n        //    cb: 2 bytes; size in bytes of ftCmo data\n        //    ot: 2 bytes; Object Type\n        //    id: 2 bytes; Object id number\n        //    grbit: 2 bytes; Option Flags\n        //    data: var; subrecord data\n\n        // for now, we are just interested in the second subrecord containing the object type\n        $ftCmoType  = self::getInt2d($recordData, 0);\n        $cbCmoSize  = self::getInt2d($recordData, 2);\n        $otObjType  = self::getInt2d($recordData, 4);\n        $idObjID    = self::getInt2d($recordData, 6);\n        $grbitOpts  = self::getInt2d($recordData, 6);\n\n        $this->objs[] = array(\n            'ftCmoType' => $ftCmoType,\n            'cbCmoSize' => $cbCmoSize,\n            'otObjType' => $otObjType,\n            'idObjID'   => $idObjID,\n            'grbitOpts' => $grbitOpts\n        );\n        $this->textObjRef = $idObjID;\n\n//        echo '<b>_readObj()</b><br />';\n//        var_dump(end($this->objs));\n//        echo '<br />';\n    }\n\n\n    /**\n     * Read WINDOW2 record\n     */\n    private function readWindow2()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; option flags\n        $options = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; index to first visible row\n        $firstVisibleRow = self::getInt2d($recordData, 2);\n\n        // offset: 4; size: 2; index to first visible colum\n        $firstVisibleColumn = self::getInt2d($recordData, 4);\n        if ($this->version === self::XLS_BIFF8) {\n            // offset:  8; size: 2; not used\n            // offset: 10; size: 2; cached magnification factor in page break preview (in percent); 0 = Default (60%)\n            // offset: 12; size: 2; cached magnification factor in normal view (in percent); 0 = Default (100%)\n            // offset: 14; size: 4; not used\n            $zoomscaleInPageBreakPreview = self::getInt2d($recordData, 10);\n            if ($zoomscaleInPageBreakPreview === 0) {\n                $zoomscaleInPageBreakPreview = 60;\n            }\n            $zoomscaleInNormalView = self::getInt2d($recordData, 12);\n            if ($zoomscaleInNormalView === 0) {\n                $zoomscaleInNormalView = 100;\n            }\n        }\n\n        // bit: 1; mask: 0x0002; 0 = do not show gridlines, 1 = show gridlines\n        $showGridlines = (bool) ((0x0002 & $options) >> 1);\n        $this->phpSheet->setShowGridlines($showGridlines);\n\n        // bit: 2; mask: 0x0004; 0 = do not show headers, 1 = show headers\n        $showRowColHeaders = (bool) ((0x0004 & $options) >> 2);\n        $this->phpSheet->setShowRowColHeaders($showRowColHeaders);\n\n        // bit: 3; mask: 0x0008; 0 = panes are not frozen, 1 = panes are frozen\n        $this->frozen = (bool) ((0x0008 & $options) >> 3);\n\n        // bit: 6; mask: 0x0040; 0 = columns from left to right, 1 = columns from right to left\n        $this->phpSheet->setRightToLeft((bool)((0x0040 & $options) >> 6));\n\n        // bit: 10; mask: 0x0400; 0 = sheet not active, 1 = sheet active\n        $isActive = (bool) ((0x0400 & $options) >> 10);\n        if ($isActive) {\n            $this->phpExcel->setActiveSheetIndex($this->phpExcel->getIndex($this->phpSheet));\n        }\n\n        // bit: 11; mask: 0x0800; 0 = normal view, 1 = page break view\n        $isPageBreakPreview = (bool) ((0x0800 & $options) >> 11);\n\n        //FIXME: set $firstVisibleRow and $firstVisibleColumn\n\n        if ($this->phpSheet->getSheetView()->getView() !== PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT) {\n            //NOTE: this setting is inferior to page layout view(Excel2007-)\n            $view = $isPageBreakPreview ? PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_BREAK_PREVIEW : PHPExcel_Worksheet_SheetView::SHEETVIEW_NORMAL;\n            $this->phpSheet->getSheetView()->setView($view);\n            if ($this->version === self::XLS_BIFF8) {\n                $zoomScale = $isPageBreakPreview ? $zoomscaleInPageBreakPreview : $zoomscaleInNormalView;\n                $this->phpSheet->getSheetView()->setZoomScale($zoomScale);\n                $this->phpSheet->getSheetView()->setZoomScaleNormal($zoomscaleInNormalView);\n            }\n        }\n    }\n\n    /**\n     * Read PLV Record(Created by Excel2007 or upper)\n     */\n    private function readPageLayoutView()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        //var_dump(unpack(\"vrt/vgrbitFrt/V2reserved/vwScalePLV/vgrbit\", $recordData));\n\n        // offset: 0; size: 2; rt\n        //->ignore\n        $rt = self::getInt2d($recordData, 0);\n        // offset: 2; size: 2; grbitfr\n        //->ignore\n        $grbitFrt = self::getInt2d($recordData, 2);\n        // offset: 4; size: 8; reserved\n        //->ignore\n\n        // offset: 12; size 2; zoom scale\n        $wScalePLV = self::getInt2d($recordData, 12);\n        // offset: 14; size 2; grbit\n        $grbit = self::getInt2d($recordData, 14);\n\n        // decomprise grbit\n        $fPageLayoutView   = $grbit & 0x01;\n        $fRulerVisible     = ($grbit >> 1) & 0x01; //no support\n        $fWhitespaceHidden = ($grbit >> 3) & 0x01; //no support\n\n        if ($fPageLayoutView === 1) {\n            $this->phpSheet->getSheetView()->setView(PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT);\n            $this->phpSheet->getSheetView()->setZoomScale($wScalePLV); //set by Excel2007 only if SHEETVIEW_PAGE_LAYOUT\n        }\n        //otherwise, we cannot know whether SHEETVIEW_PAGE_LAYOUT or SHEETVIEW_PAGE_BREAK_PREVIEW.\n    }\n\n    /**\n     * Read SCL record\n     */\n    private function readScl()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // offset: 0; size: 2; numerator of the view magnification\n        $numerator = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; numerator of the view magnification\n        $denumerator = self::getInt2d($recordData, 2);\n\n        // set the zoom scale (in percent)\n        $this->phpSheet->getSheetView()->setZoomScale($numerator * 100 / $denumerator);\n    }\n\n\n    /**\n     * Read PANE record\n     */\n    private function readPane()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; position of vertical split\n            $px = self::getInt2d($recordData, 0);\n\n            // offset: 2; size: 2; position of horizontal split\n            $py = self::getInt2d($recordData, 2);\n\n            if ($this->frozen) {\n                // frozen panes\n                $this->phpSheet->freezePane(PHPExcel_Cell::stringFromColumnIndex($px) . ($py + 1));\n            } else {\n                // unfrozen panes; split windows; not supported by PHPExcel core\n            }\n        }\n    }\n\n\n    /**\n     * Read SELECTION record. There is one such record for each pane in the sheet.\n     */\n    private function readSelection()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 1; pane identifier\n            $paneId = ord($recordData{0});\n\n            // offset: 1; size: 2; index to row of the active cell\n            $r = self::getInt2d($recordData, 1);\n\n            // offset: 3; size: 2; index to column of the active cell\n            $c = self::getInt2d($recordData, 3);\n\n            // offset: 5; size: 2; index into the following cell range list to the\n            //  entry that contains the active cell\n            $index = self::getInt2d($recordData, 5);\n\n            // offset: 7; size: var; cell range address list containing all selected cell ranges\n            $data = substr($recordData, 7);\n            $cellRangeAddressList = $this->readBIFF5CellRangeAddressList($data); // note: also BIFF8 uses BIFF5 syntax\n\n            $selectedCells = $cellRangeAddressList['cellRangeAddresses'][0];\n\n            // first row '1' + last row '16384' indicates that full column is selected (apparently also in BIFF8!)\n            if (preg_match('/^([A-Z]+1\\:[A-Z]+)16384$/', $selectedCells)) {\n                $selectedCells = preg_replace('/^([A-Z]+1\\:[A-Z]+)16384$/', '${1}1048576', $selectedCells);\n            }\n\n            // first row '1' + last row '65536' indicates that full column is selected\n            if (preg_match('/^([A-Z]+1\\:[A-Z]+)65536$/', $selectedCells)) {\n                $selectedCells = preg_replace('/^([A-Z]+1\\:[A-Z]+)65536$/', '${1}1048576', $selectedCells);\n            }\n\n            // first column 'A' + last column 'IV' indicates that full row is selected\n            if (preg_match('/^(A[0-9]+\\:)IV([0-9]+)$/', $selectedCells)) {\n                $selectedCells = preg_replace('/^(A[0-9]+\\:)IV([0-9]+)$/', '${1}XFD${2}', $selectedCells);\n            }\n\n            $this->phpSheet->setSelectedCells($selectedCells);\n        }\n    }\n\n\n    private function includeCellRangeFiltered($cellRangeAddress)\n    {\n        $includeCellRange = true;\n        if ($this->getReadFilter() !== null) {\n            $includeCellRange = false;\n            $rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($cellRangeAddress);\n            $rangeBoundaries[1][0]++;\n            for ($row = $rangeBoundaries[0][1]; $row <= $rangeBoundaries[1][1]; $row++) {\n                for ($column = $rangeBoundaries[0][0]; $column != $rangeBoundaries[1][0]; $column++) {\n                    if ($this->getReadFilter()->readCell($column, $row, $this->phpSheet->getTitle())) {\n                        $includeCellRange = true;\n                        break 2;\n                    }\n                }\n            }\n        }\n        return $includeCellRange;\n    }\n\n\n    /**\n     * MERGEDCELLS\n     *\n     * This record contains the addresses of merged cell ranges\n     * in the current sheet.\n     *\n     * --    \"OpenOffice.org's Documentation of the Microsoft\n     *         Excel File Format\"\n     */\n    private function readMergedCells()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->version == self::XLS_BIFF8 && !$this->readDataOnly) {\n            $cellRangeAddressList = $this->readBIFF8CellRangeAddressList($recordData);\n            foreach ($cellRangeAddressList['cellRangeAddresses'] as $cellRangeAddress) {\n                if ((strpos($cellRangeAddress, ':') !== false) &&\n                    ($this->includeCellRangeFiltered($cellRangeAddress))) {\n                    $this->phpSheet->mergeCells($cellRangeAddress);\n                }\n            }\n        }\n    }\n\n\n    /**\n     * Read HYPERLINK record\n     */\n    private function readHyperLink()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer forward to next record\n        $this->pos += 4 + $length;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 8; cell range address of all cells containing this hyperlink\n            try {\n                $cellRange = $this->readBIFF8CellRangeAddressFixed($recordData, 0, 8);\n            } catch (PHPExcel_Exception $e) {\n                return;\n            }\n\n            // offset: 8, size: 16; GUID of StdLink\n\n            // offset: 24, size: 4; unknown value\n\n            // offset: 28, size: 4; option flags\n            // bit: 0; mask: 0x00000001; 0 = no link or extant, 1 = file link or URL\n            $isFileLinkOrUrl = (0x00000001 & self::getInt2d($recordData, 28)) >> 0;\n\n            // bit: 1; mask: 0x00000002; 0 = relative path, 1 = absolute path or URL\n            $isAbsPathOrUrl = (0x00000001 & self::getInt2d($recordData, 28)) >> 1;\n\n            // bit: 2 (and 4); mask: 0x00000014; 0 = no description\n            $hasDesc = (0x00000014 & self::getInt2d($recordData, 28)) >> 2;\n\n            // bit: 3; mask: 0x00000008; 0 = no text, 1 = has text\n            $hasText = (0x00000008 & self::getInt2d($recordData, 28)) >> 3;\n\n            // bit: 7; mask: 0x00000080; 0 = no target frame, 1 = has target frame\n            $hasFrame = (0x00000080 & self::getInt2d($recordData, 28)) >> 7;\n\n            // bit: 8; mask: 0x00000100; 0 = file link or URL, 1 = UNC path (inc. server name)\n            $isUNC = (0x00000100 & self::getInt2d($recordData, 28)) >> 8;\n\n            // offset within record data\n            $offset = 32;\n\n            if ($hasDesc) {\n                // offset: 32; size: var; character count of description text\n                $dl = self::getInt4d($recordData, 32);\n                // offset: 36; size: var; character array of description text, no Unicode string header, always 16-bit characters, zero terminated\n                $desc = self::encodeUTF16(substr($recordData, 36, 2 * ($dl - 1)), false);\n                $offset += 4 + 2 * $dl;\n            }\n            if ($hasFrame) {\n                $fl = self::getInt4d($recordData, $offset);\n                $offset += 4 + 2 * $fl;\n            }\n\n            // detect type of hyperlink (there are 4 types)\n            $hyperlinkType = null;\n\n            if ($isUNC) {\n                $hyperlinkType = 'UNC';\n            } elseif (!$isFileLinkOrUrl) {\n                $hyperlinkType = 'workbook';\n            } elseif (ord($recordData{$offset}) == 0x03) {\n                $hyperlinkType = 'local';\n            } elseif (ord($recordData{$offset}) == 0xE0) {\n                $hyperlinkType = 'URL';\n            }\n\n            switch ($hyperlinkType) {\n                case 'URL':\n                    // section 5.58.2: Hyperlink containing a URL\n                    // e.g. http://example.org/index.php\n\n                    // offset: var; size: 16; GUID of URL Moniker\n                    $offset += 16;\n                    // offset: var; size: 4; size (in bytes) of character array of the URL including trailing zero word\n                    $us = self::getInt4d($recordData, $offset);\n                    $offset += 4;\n                    // offset: var; size: $us; character array of the URL, no Unicode string header, always 16-bit characters, zero-terminated\n                    $url = self::encodeUTF16(substr($recordData, $offset, $us - 2), false);\n                    $nullOffset = strpos($url, 0x00);\n                    if ($nullOffset) {\n                        $url = substr($url, 0, $nullOffset);\n                    }\n                    $url .= $hasText ? '#' : '';\n                    $offset += $us;\n                    break;\n                case 'local':\n                    // section 5.58.3: Hyperlink to local file\n                    // examples:\n                    //   mydoc.txt\n                    //   ../../somedoc.xls#Sheet!A1\n\n                    // offset: var; size: 16; GUI of File Moniker\n                    $offset += 16;\n\n                    // offset: var; size: 2; directory up-level count.\n                    $upLevelCount = self::getInt2d($recordData, $offset);\n                    $offset += 2;\n\n                    // offset: var; size: 4; character count of the shortened file path and name, including trailing zero word\n                    $sl = self::getInt4d($recordData, $offset);\n                    $offset += 4;\n\n                    // offset: var; size: sl; character array of the shortened file path and name in 8.3-DOS-format (compressed Unicode string)\n                    $shortenedFilePath = substr($recordData, $offset, $sl);\n                    $shortenedFilePath = self::encodeUTF16($shortenedFilePath, true);\n                    $shortenedFilePath = substr($shortenedFilePath, 0, -1); // remove trailing zero\n\n                    $offset += $sl;\n\n                    // offset: var; size: 24; unknown sequence\n                    $offset += 24;\n\n                    // extended file path\n                    // offset: var; size: 4; size of the following file link field including string lenth mark\n                    $sz = self::getInt4d($recordData, $offset);\n                    $offset += 4;\n\n                    // only present if $sz > 0\n                    if ($sz > 0) {\n                        // offset: var; size: 4; size of the character array of the extended file path and name\n                        $xl = self::getInt4d($recordData, $offset);\n                        $offset += 4;\n\n                        // offset: var; size 2; unknown\n                        $offset += 2;\n\n                        // offset: var; size $xl; character array of the extended file path and name.\n                        $extendedFilePath = substr($recordData, $offset, $xl);\n                        $extendedFilePath = self::encodeUTF16($extendedFilePath, false);\n                        $offset += $xl;\n                    }\n\n                    // construct the path\n                    $url = str_repeat('..\\\\', $upLevelCount);\n                    $url .= ($sz > 0) ? $extendedFilePath : $shortenedFilePath; // use extended path if available\n                    $url .= $hasText ? '#' : '';\n\n                    break;\n                case 'UNC':\n                    // section 5.58.4: Hyperlink to a File with UNC (Universal Naming Convention) Path\n                    // todo: implement\n                    return;\n                case 'workbook':\n                    // section 5.58.5: Hyperlink to the Current Workbook\n                    // e.g. Sheet2!B1:C2, stored in text mark field\n                    $url = 'sheet://';\n                    break;\n                default:\n                    return;\n            }\n\n            if ($hasText) {\n                // offset: var; size: 4; character count of text mark including trailing zero word\n                $tl = self::getInt4d($recordData, $offset);\n                $offset += 4;\n                // offset: var; size: var; character array of the text mark without the # sign, no Unicode header, always 16-bit characters, zero-terminated\n                $text = self::encodeUTF16(substr($recordData, $offset, 2 * ($tl - 1)), false);\n                $url .= $text;\n            }\n\n            // apply the hyperlink to all the relevant cells\n            foreach (PHPExcel_Cell::extractAllCellReferencesInRange($cellRange) as $coordinate) {\n                $this->phpSheet->getCell($coordinate)->getHyperLink()->setUrl($url);\n            }\n        }\n    }\n\n\n    /**\n     * Read DATAVALIDATIONS record\n     */\n    private function readDataValidations()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer forward to next record\n        $this->pos += 4 + $length;\n    }\n\n\n    /**\n     * Read DATAVALIDATION record\n     */\n    private function readDataValidation()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer forward to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        // offset: 0; size: 4; Options\n        $options = self::getInt4d($recordData, 0);\n\n        // bit: 0-3; mask: 0x0000000F; type\n        $type = (0x0000000F & $options) >> 0;\n        switch ($type) {\n            case 0x00:\n                $type = PHPExcel_Cell_DataValidation::TYPE_NONE;\n                break;\n            case 0x01:\n                $type = PHPExcel_Cell_DataValidation::TYPE_WHOLE;\n                break;\n            case 0x02:\n                $type = PHPExcel_Cell_DataValidation::TYPE_DECIMAL;\n                break;\n            case 0x03:\n                $type = PHPExcel_Cell_DataValidation::TYPE_LIST;\n                break;\n            case 0x04:\n                $type = PHPExcel_Cell_DataValidation::TYPE_DATE;\n                break;\n            case 0x05:\n                $type = PHPExcel_Cell_DataValidation::TYPE_TIME;\n                break;\n            case 0x06:\n                $type = PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH;\n                break;\n            case 0x07:\n                $type = PHPExcel_Cell_DataValidation::TYPE_CUSTOM;\n                break;\n        }\n\n        // bit: 4-6; mask: 0x00000070; error type\n        $errorStyle = (0x00000070 & $options) >> 4;\n        switch ($errorStyle) {\n            case 0x00:\n                $errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP;\n                break;\n            case 0x01:\n                $errorStyle = PHPExcel_Cell_DataValidation::STYLE_WARNING;\n                break;\n            case 0x02:\n                $errorStyle = PHPExcel_Cell_DataValidation::STYLE_INFORMATION;\n                break;\n        }\n\n        // bit: 7; mask: 0x00000080; 1= formula is explicit (only applies to list)\n        // I have only seen cases where this is 1\n        $explicitFormula = (0x00000080 & $options) >> 7;\n\n        // bit: 8; mask: 0x00000100; 1= empty cells allowed\n        $allowBlank = (0x00000100 & $options) >> 8;\n\n        // bit: 9; mask: 0x00000200; 1= suppress drop down arrow in list type validity\n        $suppressDropDown = (0x00000200 & $options) >> 9;\n\n        // bit: 18; mask: 0x00040000; 1= show prompt box if cell selected\n        $showInputMessage = (0x00040000 & $options) >> 18;\n\n        // bit: 19; mask: 0x00080000; 1= show error box if invalid values entered\n        $showErrorMessage = (0x00080000 & $options) >> 19;\n\n        // bit: 20-23; mask: 0x00F00000; condition operator\n        $operator = (0x00F00000 & $options) >> 20;\n        switch ($operator) {\n            case 0x00:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_BETWEEN;\n                break;\n            case 0x01:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_NOTBETWEEN;\n                break;\n            case 0x02:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_EQUAL;\n                break;\n            case 0x03:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_NOTEQUAL;\n                break;\n            case 0x04:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHAN;\n                break;\n            case 0x05:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_LESSTHAN;\n                break;\n            case 0x06:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHANOREQUAL;\n                break;\n            case 0x07:\n                $operator = PHPExcel_Cell_DataValidation::OPERATOR_LESSTHANOREQUAL;\n                break;\n        }\n\n        // offset: 4; size: var; title of the prompt box\n        $offset = 4;\n        $string = self::readUnicodeStringLong(substr($recordData, $offset));\n        $promptTitle = $string['value'] !== chr(0) ? $string['value'] : '';\n        $offset += $string['size'];\n\n        // offset: var; size: var; title of the error box\n        $string = self::readUnicodeStringLong(substr($recordData, $offset));\n        $errorTitle = $string['value'] !== chr(0) ? $string['value'] : '';\n        $offset += $string['size'];\n\n        // offset: var; size: var; text of the prompt box\n        $string = self::readUnicodeStringLong(substr($recordData, $offset));\n        $prompt = $string['value'] !== chr(0) ? $string['value'] : '';\n        $offset += $string['size'];\n\n        // offset: var; size: var; text of the error box\n        $string = self::readUnicodeStringLong(substr($recordData, $offset));\n        $error = $string['value'] !== chr(0) ? $string['value'] : '';\n        $offset += $string['size'];\n\n        // offset: var; size: 2; size of the formula data for the first condition\n        $sz1 = self::getInt2d($recordData, $offset);\n        $offset += 2;\n\n        // offset: var; size: 2; not used\n        $offset += 2;\n\n        // offset: var; size: $sz1; formula data for first condition (without size field)\n        $formula1 = substr($recordData, $offset, $sz1);\n        $formula1 = pack('v', $sz1) . $formula1; // prepend the length\n        try {\n            $formula1 = $this->getFormulaFromStructure($formula1);\n\n            // in list type validity, null characters are used as item separators\n            if ($type == PHPExcel_Cell_DataValidation::TYPE_LIST) {\n                $formula1 = str_replace(chr(0), ',', $formula1);\n            }\n        } catch (PHPExcel_Exception $e) {\n            return;\n        }\n        $offset += $sz1;\n\n        // offset: var; size: 2; size of the formula data for the first condition\n        $sz2 = self::getInt2d($recordData, $offset);\n        $offset += 2;\n\n        // offset: var; size: 2; not used\n        $offset += 2;\n\n        // offset: var; size: $sz2; formula data for second condition (without size field)\n        $formula2 = substr($recordData, $offset, $sz2);\n        $formula2 = pack('v', $sz2) . $formula2; // prepend the length\n        try {\n            $formula2 = $this->getFormulaFromStructure($formula2);\n        } catch (PHPExcel_Exception $e) {\n            return;\n        }\n        $offset += $sz2;\n\n        // offset: var; size: var; cell range address list with\n        $cellRangeAddressList = $this->readBIFF8CellRangeAddressList(substr($recordData, $offset));\n        $cellRangeAddresses = $cellRangeAddressList['cellRangeAddresses'];\n\n        foreach ($cellRangeAddresses as $cellRange) {\n            $stRange = $this->phpSheet->shrinkRangeToFit($cellRange);\n            foreach (PHPExcel_Cell::extractAllCellReferencesInRange($stRange) as $coordinate) {\n                $objValidation = $this->phpSheet->getCell($coordinate)->getDataValidation();\n                $objValidation->setType($type);\n                $objValidation->setErrorStyle($errorStyle);\n                $objValidation->setAllowBlank((bool)$allowBlank);\n                $objValidation->setShowInputMessage((bool)$showInputMessage);\n                $objValidation->setShowErrorMessage((bool)$showErrorMessage);\n                $objValidation->setShowDropDown(!$suppressDropDown);\n                $objValidation->setOperator($operator);\n                $objValidation->setErrorTitle($errorTitle);\n                $objValidation->setError($error);\n                $objValidation->setPromptTitle($promptTitle);\n                $objValidation->setPrompt($prompt);\n                $objValidation->setFormula1($formula1);\n                $objValidation->setFormula2($formula2);\n            }\n        }\n    }\n\n    /**\n     * Read SHEETLAYOUT record. Stores sheet tab color information.\n     */\n    private function readSheetLayout()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // local pointer in record data\n        $offset = 0;\n\n        if (!$this->readDataOnly) {\n            // offset: 0; size: 2; repeated record identifier 0x0862\n\n            // offset: 2; size: 10; not used\n\n            // offset: 12; size: 4; size of record data\n            // Excel 2003 uses size of 0x14 (documented), Excel 2007 uses size of 0x28 (not documented?)\n            $sz = self::getInt4d($recordData, 12);\n\n            switch ($sz) {\n                case 0x14:\n                    // offset: 16; size: 2; color index for sheet tab\n                    $colorIndex = self::getInt2d($recordData, 16);\n                    $color = PHPExcel_Reader_Excel5_Color::map($colorIndex, $this->palette, $this->version);\n                    $this->phpSheet->getTabColor()->setRGB($color['rgb']);\n                    break;\n                case 0x28:\n                    // TODO: Investigate structure for .xls SHEETLAYOUT record as saved by MS Office Excel 2007\n                    return;\n                    break;\n            }\n        }\n    }\n\n\n    /**\n     * Read SHEETPROTECTION record (FEATHEADR)\n     */\n    private function readSheetProtection()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        if ($this->readDataOnly) {\n            return;\n        }\n\n        // offset: 0; size: 2; repeated record header\n\n        // offset: 2; size: 2; FRT cell reference flag (=0 currently)\n\n        // offset: 4; size: 8; Currently not used and set to 0\n\n        // offset: 12; size: 2; Shared feature type index (2=Enhanced Protetion, 4=SmartTag)\n        $isf = self::getInt2d($recordData, 12);\n        if ($isf != 2) {\n            return;\n        }\n\n        // offset: 14; size: 1; =1 since this is a feat header\n\n        // offset: 15; size: 4; size of rgbHdrSData\n\n        // rgbHdrSData, assume \"Enhanced Protection\"\n        // offset: 19; size: 2; option flags\n        $options = self::getInt2d($recordData, 19);\n\n        // bit: 0; mask 0x0001; 1 = user may edit objects, 0 = users must not edit objects\n        $bool = (0x0001 & $options) >> 0;\n        $this->phpSheet->getProtection()->setObjects(!$bool);\n\n        // bit: 1; mask 0x0002; edit scenarios\n        $bool = (0x0002 & $options) >> 1;\n        $this->phpSheet->getProtection()->setScenarios(!$bool);\n\n        // bit: 2; mask 0x0004; format cells\n        $bool = (0x0004 & $options) >> 2;\n        $this->phpSheet->getProtection()->setFormatCells(!$bool);\n\n        // bit: 3; mask 0x0008; format columns\n        $bool = (0x0008 & $options) >> 3;\n        $this->phpSheet->getProtection()->setFormatColumns(!$bool);\n\n        // bit: 4; mask 0x0010; format rows\n        $bool = (0x0010 & $options) >> 4;\n        $this->phpSheet->getProtection()->setFormatRows(!$bool);\n\n        // bit: 5; mask 0x0020; insert columns\n        $bool = (0x0020 & $options) >> 5;\n        $this->phpSheet->getProtection()->setInsertColumns(!$bool);\n\n        // bit: 6; mask 0x0040; insert rows\n        $bool = (0x0040 & $options) >> 6;\n        $this->phpSheet->getProtection()->setInsertRows(!$bool);\n\n        // bit: 7; mask 0x0080; insert hyperlinks\n        $bool = (0x0080 & $options) >> 7;\n        $this->phpSheet->getProtection()->setInsertHyperlinks(!$bool);\n\n        // bit: 8; mask 0x0100; delete columns\n        $bool = (0x0100 & $options) >> 8;\n        $this->phpSheet->getProtection()->setDeleteColumns(!$bool);\n\n        // bit: 9; mask 0x0200; delete rows\n        $bool = (0x0200 & $options) >> 9;\n        $this->phpSheet->getProtection()->setDeleteRows(!$bool);\n\n        // bit: 10; mask 0x0400; select locked cells\n        $bool = (0x0400 & $options) >> 10;\n        $this->phpSheet->getProtection()->setSelectLockedCells(!$bool);\n\n        // bit: 11; mask 0x0800; sort cell range\n        $bool = (0x0800 & $options) >> 11;\n        $this->phpSheet->getProtection()->setSort(!$bool);\n\n        // bit: 12; mask 0x1000; auto filter\n        $bool = (0x1000 & $options) >> 12;\n        $this->phpSheet->getProtection()->setAutoFilter(!$bool);\n\n        // bit: 13; mask 0x2000; pivot tables\n        $bool = (0x2000 & $options) >> 13;\n        $this->phpSheet->getProtection()->setPivotTables(!$bool);\n\n        // bit: 14; mask 0x4000; select unlocked cells\n        $bool = (0x4000 & $options) >> 14;\n        $this->phpSheet->getProtection()->setSelectUnlockedCells(!$bool);\n\n        // offset: 21; size: 2; not used\n    }\n\n\n    /**\n     * Read RANGEPROTECTION record\n     * Reading of this record is based on Microsoft Office Excel 97-2000 Binary File Format Specification,\n     * where it is referred to as FEAT record\n     */\n    private function readRangeProtection()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n\n        // local pointer in record data\n        $offset = 0;\n\n        if (!$this->readDataOnly) {\n            $offset += 12;\n\n            // offset: 12; size: 2; shared feature type, 2 = enhanced protection, 4 = smart tag\n            $isf = self::getInt2d($recordData, 12);\n            if ($isf != 2) {\n                // we only read FEAT records of type 2\n                return;\n            }\n            $offset += 2;\n\n            $offset += 5;\n\n            // offset: 19; size: 2; count of ref ranges this feature is on\n            $cref = self::getInt2d($recordData, 19);\n            $offset += 2;\n\n            $offset += 6;\n\n            // offset: 27; size: 8 * $cref; list of cell ranges (like in hyperlink record)\n            $cellRanges = array();\n            for ($i = 0; $i < $cref; ++$i) {\n                try {\n                    $cellRange = $this->readBIFF8CellRangeAddressFixed(substr($recordData, 27 + 8 * $i, 8));\n                } catch (PHPExcel_Exception $e) {\n                    return;\n                }\n                $cellRanges[] = $cellRange;\n                $offset += 8;\n            }\n\n            // offset: var; size: var; variable length of feature specific data\n            $rgbFeat = substr($recordData, $offset);\n            $offset += 4;\n\n            // offset: var; size: 4; the encrypted password (only 16-bit although field is 32-bit)\n            $wPassword = self::getInt4d($recordData, $offset);\n            $offset += 4;\n\n            // Apply range protection to sheet\n            if ($cellRanges) {\n                $this->phpSheet->protectCells(implode(' ', $cellRanges), strtoupper(dechex($wPassword)), true);\n            }\n        }\n    }\n\n\n    /**\n     * Read IMDATA record\n     */\n    private function readImData()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n\n        // get spliced record data\n        $splicedRecordData = $this->getSplicedRecordData();\n        $recordData = $splicedRecordData['recordData'];\n\n        // UNDER CONSTRUCTION\n\n        // offset: 0; size: 2; image format\n        $cf = self::getInt2d($recordData, 0);\n\n        // offset: 2; size: 2; environment from which the file was written\n        $env = self::getInt2d($recordData, 2);\n\n        // offset: 4; size: 4; length of the image data\n        $lcb = self::getInt4d($recordData, 4);\n\n        // offset: 8; size: var; image data\n        $iData = substr($recordData, 8);\n\n        switch ($cf) {\n            case 0x09: // Windows bitmap format\n                // BITMAPCOREINFO\n                // 1. BITMAPCOREHEADER\n                // offset: 0; size: 4; bcSize, Specifies the number of bytes required by the structure\n                $bcSize = self::getInt4d($iData, 0);\n    //            var_dump($bcSize);\n\n                // offset: 4; size: 2; bcWidth, specifies the width of the bitmap, in pixels\n                $bcWidth = self::getInt2d($iData, 4);\n    //            var_dump($bcWidth);\n\n                // offset: 6; size: 2; bcHeight, specifies the height of the bitmap, in pixels.\n                $bcHeight = self::getInt2d($iData, 6);\n    //            var_dump($bcHeight);\n                $ih = imagecreatetruecolor($bcWidth, $bcHeight);\n\n                // offset: 8; size: 2; bcPlanes, specifies the number of planes for the target device. This value must be 1\n\n                // offset: 10; size: 2; bcBitCount specifies the number of bits-per-pixel. This value must be 1, 4, 8, or 24\n                $bcBitCount = self::getInt2d($iData, 10);\n    //            var_dump($bcBitCount);\n\n                $rgbString = substr($iData, 12);\n                $rgbTriples = array();\n                while (strlen($rgbString) > 0) {\n                    $rgbTriples[] = unpack('Cb/Cg/Cr', $rgbString);\n                    $rgbString = substr($rgbString, 3);\n                }\n                $x = 0;\n                $y = 0;\n                foreach ($rgbTriples as $i => $rgbTriple) {\n                    $color = imagecolorallocate($ih, $rgbTriple['r'], $rgbTriple['g'], $rgbTriple['b']);\n                    imagesetpixel($ih, $x, $bcHeight - 1 - $y, $color);\n                    $x = ($x + 1) % $bcWidth;\n                    $y = $y + floor(($x + 1) / $bcWidth);\n                }\n                //imagepng($ih, 'image.png');\n\n                $drawing = new PHPExcel_Worksheet_Drawing();\n                $drawing->setPath($filename);\n                $drawing->setWorksheet($this->phpSheet);\n                break;\n            case 0x02: // Windows metafile or Macintosh PICT format\n            case 0x0e: // native format\n            default:\n                break;\n        }\n\n        // getSplicedRecordData() takes care of moving current position in data stream\n    }\n\n\n    /**\n     * Read a free CONTINUE record. Free CONTINUE record may be a camouflaged MSODRAWING record\n     * When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used instead. Undocumented.\n     * In this case, we must treat the CONTINUE record as a MSODRAWING record\n     */\n    private function readContinue()\n    {\n        $length = self::getInt2d($this->data, $this->pos + 2);\n        $recordData = $this->readRecordData($this->data, $this->pos + 4, $length);\n\n        // check if we are reading drawing data\n        // this is in case a free CONTINUE record occurs in other circumstances we are unaware of\n        if ($this->drawingData == '') {\n            // move stream pointer to next record\n            $this->pos += 4 + $length;\n\n            return;\n        }\n\n        // check if record data is at least 4 bytes long, otherwise there is no chance this is MSODRAWING data\n        if ($length < 4) {\n            // move stream pointer to next record\n            $this->pos += 4 + $length;\n\n            return;\n        }\n\n        // dirty check to see if CONTINUE record could be a camouflaged MSODRAWING record\n        // look inside CONTINUE record to see if it looks like a part of an Escher stream\n        // we know that Escher stream may be split at least at\n        //        0xF003 MsofbtSpgrContainer\n        //        0xF004 MsofbtSpContainer\n        //        0xF00D MsofbtClientTextbox\n        $validSplitPoints = array(0xF003, 0xF004, 0xF00D); // add identifiers if we find more\n\n        $splitPoint = self::getInt2d($recordData, 2);\n        if (in_array($splitPoint, $validSplitPoints)) {\n            // get spliced record data (and move pointer to next record)\n            $splicedRecordData = $this->getSplicedRecordData();\n            $this->drawingData .= $splicedRecordData['recordData'];\n\n            return;\n        }\n\n        // move stream pointer to next record\n        $this->pos += 4 + $length;\n    }\n\n\n    /**\n     * Reads a record from current position in data stream and continues reading data as long as CONTINUE\n     * records are found. Splices the record data pieces and returns the combined string as if record data\n     * is in one piece.\n     * Moves to next current position in data stream to start of next record different from a CONtINUE record\n     *\n     * @return array\n     */\n    private function getSplicedRecordData()\n    {\n        $data = '';\n        $spliceOffsets = array();\n\n        $i = 0;\n        $spliceOffsets[0] = 0;\n\n        do {\n            ++$i;\n\n            // offset: 0; size: 2; identifier\n            $identifier = self::getInt2d($this->data, $this->pos);\n            // offset: 2; size: 2; length\n            $length = self::getInt2d($this->data, $this->pos + 2);\n            $data .= $this->readRecordData($this->data, $this->pos + 4, $length);\n\n            $spliceOffsets[$i] = $spliceOffsets[$i - 1] + $length;\n\n            $this->pos += 4 + $length;\n            $nextIdentifier = self::getInt2d($this->data, $this->pos);\n        } while ($nextIdentifier == self::XLS_TYPE_CONTINUE);\n\n        $splicedData = array(\n            'recordData' => $data,\n            'spliceOffsets' => $spliceOffsets,\n        );\n\n        return $splicedData;\n\n    }\n\n\n    /**\n     * Convert formula structure into human readable Excel formula like 'A3+A5*5'\n     *\n     * @param string $formulaStructure The complete binary data for the formula\n     * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas\n     * @return string Human readable formula\n     */\n    private function getFormulaFromStructure($formulaStructure, $baseCell = 'A1')\n    {\n        // offset: 0; size: 2; size of the following formula data\n        $sz = self::getInt2d($formulaStructure, 0);\n\n        // offset: 2; size: sz\n        $formulaData = substr($formulaStructure, 2, $sz);\n\n        // for debug: dump the formula data\n        //echo '<xmp>';\n        //echo 'size: ' . $sz . \"\\n\";\n        //echo 'the entire formula data: ';\n        //Debug::dump($formulaData);\n        //echo \"\\n----\\n\";\n\n        // offset: 2 + sz; size: variable (optional)\n        if (strlen($formulaStructure) > 2 + $sz) {\n            $additionalData = substr($formulaStructure, 2 + $sz);\n\n            // for debug: dump the additional data\n            //echo 'the entire additional data: ';\n            //Debug::dump($additionalData);\n            //echo \"\\n----\\n\";\n        } else {\n            $additionalData = '';\n        }\n\n        return $this->getFormulaFromData($formulaData, $additionalData, $baseCell);\n    }\n\n\n    /**\n     * Take formula data and additional data for formula and return human readable formula\n     *\n     * @param string $formulaData The binary data for the formula itself\n     * @param string $additionalData Additional binary data going with the formula\n     * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas\n     * @return string Human readable formula\n     */\n    private function getFormulaFromData($formulaData, $additionalData = '', $baseCell = 'A1')\n    {\n        // start parsing the formula data\n        $tokens = array();\n\n        while (strlen($formulaData) > 0 and $token = $this->getNextToken($formulaData, $baseCell)) {\n            $tokens[] = $token;\n            $formulaData = substr($formulaData, $token['size']);\n\n            // for debug: dump the token\n            //var_dump($token);\n        }\n\n        $formulaString = $this->createFormulaFromTokens($tokens, $additionalData);\n\n        return $formulaString;\n    }\n\n\n    /**\n     * Take array of tokens together with additional data for formula and return human readable formula\n     *\n     * @param array $tokens\n     * @param array $additionalData Additional binary data going with the formula\n     * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas\n     * @return string Human readable formula\n     */\n    private function createFormulaFromTokens($tokens, $additionalData)\n    {\n        // empty formula?\n        if (empty($tokens)) {\n            return '';\n        }\n\n        $formulaStrings = array();\n        foreach ($tokens as $token) {\n            // initialize spaces\n            $space0 = isset($space0) ? $space0 : ''; // spaces before next token, not tParen\n            $space1 = isset($space1) ? $space1 : ''; // carriage returns before next token, not tParen\n            $space2 = isset($space2) ? $space2 : ''; // spaces before opening parenthesis\n            $space3 = isset($space3) ? $space3 : ''; // carriage returns before opening parenthesis\n            $space4 = isset($space4) ? $space4 : ''; // spaces before closing parenthesis\n            $space5 = isset($space5) ? $space5 : ''; // carriage returns before closing parenthesis\n\n            switch ($token['name']) {\n                case 'tAdd': // addition\n                case 'tConcat': // addition\n                case 'tDiv': // division\n                case 'tEQ': // equality\n                case 'tGE': // greater than or equal\n                case 'tGT': // greater than\n                case 'tIsect': // intersection\n                case 'tLE': // less than or equal\n                case 'tList': // less than or equal\n                case 'tLT': // less than\n                case 'tMul': // multiplication\n                case 'tNE': // multiplication\n                case 'tPower': // power\n                case 'tRange': // range\n                case 'tSub': // subtraction\n                    $op2 = array_pop($formulaStrings);\n                    $op1 = array_pop($formulaStrings);\n                    $formulaStrings[] = \"$op1$space1$space0{$token['data']}$op2\";\n                    unset($space0, $space1);\n                    break;\n                case 'tUplus': // unary plus\n                case 'tUminus': // unary minus\n                    $op = array_pop($formulaStrings);\n                    $formulaStrings[] = \"$space1$space0{$token['data']}$op\";\n                    unset($space0, $space1);\n                    break;\n                case 'tPercent': // percent sign\n                    $op = array_pop($formulaStrings);\n                    $formulaStrings[] = \"$op$space1$space0{$token['data']}\";\n                    unset($space0, $space1);\n                    break;\n                case 'tAttrVolatile': // indicates volatile function\n                case 'tAttrIf':\n                case 'tAttrSkip':\n                case 'tAttrChoose':\n                    // token is only important for Excel formula evaluator\n                    // do nothing\n                    break;\n                case 'tAttrSpace': // space / carriage return\n                    // space will be used when next token arrives, do not alter formulaString stack\n                    switch ($token['data']['spacetype']) {\n                        case 'type0':\n                            $space0 = str_repeat(' ', $token['data']['spacecount']);\n                            break;\n                        case 'type1':\n                            $space1 = str_repeat(\"\\n\", $token['data']['spacecount']);\n                            break;\n                        case 'type2':\n                            $space2 = str_repeat(' ', $token['data']['spacecount']);\n                            break;\n                        case 'type3':\n                            $space3 = str_repeat(\"\\n\", $token['data']['spacecount']);\n                            break;\n                        case 'type4':\n                            $space4 = str_repeat(' ', $token['data']['spacecount']);\n                            break;\n                        case 'type5':\n                            $space5 = str_repeat(\"\\n\", $token['data']['spacecount']);\n                            break;\n                    }\n                    break;\n                case 'tAttrSum': // SUM function with one parameter\n                    $op = array_pop($formulaStrings);\n                    $formulaStrings[] = \"{$space1}{$space0}SUM($op)\";\n                    unset($space0, $space1);\n                    break;\n                case 'tFunc': // function with fixed number of arguments\n                case 'tFuncV': // function with variable number of arguments\n                    if ($token['data']['function'] != '') {\n                        // normal function\n                        $ops = array(); // array of operators\n                        for ($i = 0; $i < $token['data']['args']; ++$i) {\n                            $ops[] = array_pop($formulaStrings);\n                        }\n                        $ops = array_reverse($ops);\n                        $formulaStrings[] = \"$space1$space0{$token['data']['function']}(\" . implode(',', $ops) . \")\";\n                        unset($space0, $space1);\n                    } else {\n                        // add-in function\n                        $ops = array(); // array of operators\n                        for ($i = 0; $i < $token['data']['args'] - 1; ++$i) {\n                            $ops[] = array_pop($formulaStrings);\n                        }\n                        $ops = array_reverse($ops);\n                        $function = array_pop($formulaStrings);\n                        $formulaStrings[] = \"$space1$space0$function(\" . implode(',', $ops) . \")\";\n                        unset($space0, $space1);\n                    }\n                    break;\n                case 'tParen': // parenthesis\n                    $expression = array_pop($formulaStrings);\n                    $formulaStrings[] = \"$space3$space2($expression$space5$space4)\";\n                    unset($space2, $space3, $space4, $space5);\n                    break;\n                case 'tArray': // array constant\n                    $constantArray = self::readBIFF8ConstantArray($additionalData);\n                    $formulaStrings[] = $space1 . $space0 . $constantArray['value'];\n                    $additionalData = substr($additionalData, $constantArray['size']); // bite of chunk of additional data\n                    unset($space0, $space1);\n                    break;\n                case 'tMemArea':\n                    // bite off chunk of additional data\n                    $cellRangeAddressList = $this->readBIFF8CellRangeAddressList($additionalData);\n                    $additionalData = substr($additionalData, $cellRangeAddressList['size']);\n                    $formulaStrings[] = \"$space1$space0{$token['data']}\";\n                    unset($space0, $space1);\n                    break;\n                case 'tArea': // cell range address\n                case 'tBool': // boolean\n                case 'tErr': // error code\n                case 'tInt': // integer\n                case 'tMemErr':\n                case 'tMemFunc':\n                case 'tMissArg':\n                case 'tName':\n                case 'tNameX':\n                case 'tNum': // number\n                case 'tRef': // single cell reference\n                case 'tRef3d': // 3d cell reference\n                case 'tArea3d': // 3d cell range reference\n                case 'tRefN':\n                case 'tAreaN':\n                case 'tStr': // string\n                    $formulaStrings[] = \"$space1$space0{$token['data']}\";\n                    unset($space0, $space1);\n                    break;\n            }\n        }\n        $formulaString = $formulaStrings[0];\n\n        // for debug: dump the human readable formula\n        //echo '----' . \"\\n\";\n        //echo 'Formula: ' . $formulaString;\n\n        return $formulaString;\n    }\n\n\n    /**\n     * Fetch next token from binary formula data\n     *\n     * @param string Formula data\n     * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas\n     * @return array\n     * @throws PHPExcel_Reader_Exception\n     */\n    private function getNextToken($formulaData, $baseCell = 'A1')\n    {\n        // offset: 0; size: 1; token id\n        $id = ord($formulaData[0]); // token id\n        $name = false; // initialize token name\n\n        switch ($id) {\n            case 0x03:\n                $name = 'tAdd';\n                $size = 1;\n                $data = '+';\n                break;\n            case 0x04:\n                $name = 'tSub';\n                $size = 1;\n                $data = '-';\n                break;\n            case 0x05:\n                $name = 'tMul';\n                $size = 1;\n                $data = '*';\n                break;\n            case 0x06:\n                $name = 'tDiv';\n                $size = 1;\n                $data = '/';\n                break;\n            case 0x07:\n                $name = 'tPower';\n                $size = 1;\n                $data = '^';\n                break;\n            case 0x08:\n                $name = 'tConcat';\n                $size = 1;\n                $data = '&';\n                break;\n            case 0x09:\n                $name = 'tLT';\n                $size = 1;\n                $data = '<';\n                break;\n            case 0x0A:\n                $name = 'tLE';\n                $size = 1;\n                $data = '<=';\n                break;\n            case 0x0B:\n                $name = 'tEQ';\n                $size = 1;\n                $data = '=';\n                break;\n            case 0x0C:\n                $name = 'tGE';\n                $size = 1;\n                $data = '>=';\n                break;\n            case 0x0D:\n                $name = 'tGT';\n                $size = 1;\n                $data = '>';\n                break;\n            case 0x0E:\n                $name = 'tNE';\n                $size = 1;\n                $data = '<>';\n                break;\n            case 0x0F:\n                $name = 'tIsect';\n                $size = 1;\n                $data = ' ';\n                break;\n            case 0x10:\n                $name = 'tList';\n                $size = 1;\n                $data = ',';\n                break;\n            case 0x11:\n                $name = 'tRange';\n                $size = 1;\n                $data = ':';\n                break;\n            case 0x12:\n                $name = 'tUplus';\n                $size = 1;\n                $data = '+';\n                break;\n            case 0x13:\n                $name = 'tUminus';\n                $size = 1;\n                $data = '-';\n                break;\n            case 0x14:\n                $name = 'tPercent';\n                $size = 1;\n                $data = '%';\n                break;\n            case 0x15:    //    parenthesis\n                $name  = 'tParen';\n                $size  = 1;\n                $data = null;\n                break;\n            case 0x16:    //    missing argument\n                $name = 'tMissArg';\n                $size = 1;\n                $data = '';\n                break;\n            case 0x17:    //    string\n                $name = 'tStr';\n                // offset: 1; size: var; Unicode string, 8-bit string length\n                $string = self::readUnicodeStringShort(substr($formulaData, 1));\n                $size = 1 + $string['size'];\n                $data = self::UTF8toExcelDoubleQuoted($string['value']);\n                break;\n            case 0x19:    //    Special attribute\n                // offset: 1; size: 1; attribute type flags:\n                switch (ord($formulaData[1])) {\n                    case 0x01:\n                        $name = 'tAttrVolatile';\n                        $size = 4;\n                        $data = null;\n                        break;\n                    case 0x02:\n                        $name = 'tAttrIf';\n                        $size = 4;\n                        $data = null;\n                        break;\n                    case 0x04:\n                        $name = 'tAttrChoose';\n                        // offset: 2; size: 2; number of choices in the CHOOSE function ($nc, number of parameters decreased by 1)\n                        $nc = self::getInt2d($formulaData, 2);\n                        // offset: 4; size: 2 * $nc\n                        // offset: 4 + 2 * $nc; size: 2\n                        $size = 2 * $nc + 6;\n                        $data = null;\n                        break;\n                    case 0x08:\n                        $name = 'tAttrSkip';\n                        $size = 4;\n                        $data = null;\n                        break;\n                    case 0x10:\n                        $name = 'tAttrSum';\n                        $size = 4;\n                        $data = null;\n                        break;\n                    case 0x40:\n                    case 0x41:\n                        $name = 'tAttrSpace';\n                        $size = 4;\n                        // offset: 2; size: 2; space type and position\n                        switch (ord($formulaData[2])) {\n                            case 0x00:\n                                $spacetype = 'type0';\n                                break;\n                            case 0x01:\n                                $spacetype = 'type1';\n                                break;\n                            case 0x02:\n                                $spacetype = 'type2';\n                                break;\n                            case 0x03:\n                                $spacetype = 'type3';\n                                break;\n                            case 0x04:\n                                $spacetype = 'type4';\n                                break;\n                            case 0x05:\n                                $spacetype = 'type5';\n                                break;\n                            default:\n                                throw new PHPExcel_Reader_Exception('Unrecognized space type in tAttrSpace token');\n                                break;\n                        }\n                        // offset: 3; size: 1; number of inserted spaces/carriage returns\n                        $spacecount = ord($formulaData[3]);\n\n                        $data = array('spacetype' => $spacetype, 'spacecount' => $spacecount);\n                        break;\n                    default:\n                        throw new PHPExcel_Reader_Exception('Unrecognized attribute flag in tAttr token');\n                        break;\n                }\n                break;\n            case 0x1C:    //    error code\n                // offset: 1; size: 1; error code\n                $name = 'tErr';\n                $size = 2;\n                $data = PHPExcel_Reader_Excel5_ErrorCode::lookup(ord($formulaData[1]));\n                break;\n            case 0x1D:    //    boolean\n                // offset: 1; size: 1; 0 = false, 1 = true;\n                $name = 'tBool';\n                $size = 2;\n                $data = ord($formulaData[1]) ? 'TRUE' : 'FALSE';\n                break;\n            case 0x1E:    //    integer\n                // offset: 1; size: 2; unsigned 16-bit integer\n                $name = 'tInt';\n                $size = 3;\n                $data = self::getInt2d($formulaData, 1);\n                break;\n            case 0x1F:    //    number\n                // offset: 1; size: 8;\n                $name = 'tNum';\n                $size = 9;\n                $data = self::extractNumber(substr($formulaData, 1));\n                $data = str_replace(',', '.', (string)$data); // in case non-English locale\n                break;\n            case 0x20:    //    array constant\n            case 0x40:\n            case 0x60:\n                // offset: 1; size: 7; not used\n                $name = 'tArray';\n                $size = 8;\n                $data = null;\n                break;\n            case 0x21:    //    function with fixed number of arguments\n            case 0x41:\n            case 0x61:\n                $name = 'tFunc';\n                $size = 3;\n                // offset: 1; size: 2; index to built-in sheet function\n                switch (self::getInt2d($formulaData, 1)) {\n                    case 2:\n                        $function = 'ISNA';\n                        $args = 1;\n                        break;\n                    case 3:\n                        $function = 'ISERROR';\n                        $args = 1;\n                        break;\n                    case 10:\n                        $function = 'NA';\n                        $args = 0;\n                        break;\n                    case 15:\n                        $function = 'SIN';\n                        $args = 1;\n                        break;\n                    case 16:\n                        $function = 'COS';\n                        $args = 1;\n                        break;\n                    case 17:\n                        $function = 'TAN';\n                        $args = 1;\n                        break;\n                    case 18:\n                        $function = 'ATAN';\n                        $args = 1;\n                        break;\n                    case 19:\n                        $function = 'PI';\n                        $args = 0;\n                        break;\n                    case 20:\n                        $function = 'SQRT';\n                        $args = 1;\n                        break;\n                    case 21:\n                        $function = 'EXP';\n                        $args = 1;\n                        break;\n                    case 22:\n                        $function = 'LN';\n                        $args = 1;\n                        break;\n                    case 23:\n                        $function = 'LOG10';\n                        $args = 1;\n                        break;\n                    case 24:\n                        $function = 'ABS';\n                        $args = 1;\n                        break;\n                    case 25:\n                        $function = 'INT';\n                        $args = 1;\n                        break;\n                    case 26:\n                        $function = 'SIGN';\n                        $args = 1;\n                        break;\n                    case 27:\n                        $function = 'ROUND';\n                        $args = 2;\n                        break;\n                    case 30:\n                        $function = 'REPT';\n                        $args = 2;\n                        break;\n                    case 31:\n                        $function = 'MID';\n                        $args = 3;\n                        break;\n                    case 32:\n                        $function = 'LEN';\n                        $args = 1;\n                        break;\n                    case 33:\n                        $function = 'VALUE';\n                        $args = 1;\n                        break;\n                    case 34:\n                        $function = 'TRUE';\n                        $args = 0;\n                        break;\n                    case 35:\n                        $function = 'FALSE';\n                        $args = 0;\n                        break;\n                    case 38:\n                        $function = 'NOT';\n                        $args = 1;\n                        break;\n                    case 39:\n                        $function = 'MOD';\n                        $args = 2;\n                        break;\n                    case 40:\n                        $function = 'DCOUNT';\n                        $args = 3;\n                        break;\n                    case 41:\n                        $function = 'DSUM';\n                        $args = 3;\n                        break;\n                    case 42:\n                        $function = 'DAVERAGE';\n                        $args = 3;\n                        break;\n                    case 43:\n                        $function = 'DMIN';\n                        $args = 3;\n                        break;\n                    case 44:\n                        $function = 'DMAX';\n                        $args = 3;\n                        break;\n                    case 45:\n                        $function = 'DSTDEV';\n                        $args = 3;\n                        break;\n                    case 48:\n                        $function = 'TEXT';\n                        $args = 2;\n                        break;\n                    case 61:\n                        $function = 'MIRR';\n                        $args = 3;\n                        break;\n                    case 63:\n                        $function = 'RAND';\n                        $args = 0;\n                        break;\n                    case 65:\n                        $function = 'DATE';\n                        $args = 3;\n                        break;\n                    case 66:\n                        $function = 'TIME';\n                        $args = 3;\n                        break;\n                    case 67:\n                        $function = 'DAY';\n                        $args = 1;\n                        break;\n                    case 68:\n                        $function = 'MONTH';\n                        $args = 1;\n                        break;\n                    case 69:\n                        $function = 'YEAR';\n                        $args = 1;\n                        break;\n                    case 71:\n                        $function = 'HOUR';\n                        $args = 1;\n                        break;\n                    case 72:\n                        $function = 'MINUTE';\n                        $args = 1;\n                        break;\n                    case 73:\n                        $function = 'SECOND';\n                        $args = 1;\n                        break;\n                    case 74:\n                        $function = 'NOW';\n                        $args = 0;\n                        break;\n                    case 75:\n                        $function = 'AREAS';\n                        $args = 1;\n                        break;\n                    case 76:\n                        $function = 'ROWS';\n                        $args = 1;\n                        break;\n                    case 77:\n                        $function = 'COLUMNS';\n                        $args = 1;\n                        break;\n                    case 83:\n                        $function = 'TRANSPOSE';\n                        $args = 1;\n                        break;\n                    case 86:\n                        $function = 'TYPE';\n                        $args = 1;\n                        break;\n                    case 97:\n                        $function = 'ATAN2';\n                        $args = 2;\n                        break;\n                    case 98:\n                        $function = 'ASIN';\n                        $args = 1;\n                        break;\n                    case 99:\n                        $function = 'ACOS';\n                        $args = 1;\n                        break;\n                    case 105:\n                        $function = 'ISREF';\n                        $args = 1;\n                        break;\n                    case 111:\n                        $function = 'CHAR';\n                        $args = 1;\n                        break;\n                    case 112:\n                        $function = 'LOWER';\n                        $args = 1;\n                        break;\n                    case 113:\n                        $function = 'UPPER';\n                        $args = 1;\n                        break;\n                    case 114:\n                        $function = 'PROPER';\n                        $args = 1;\n                        break;\n                    case 117:\n                        $function = 'EXACT';\n                        $args = 2;\n                        break;\n                    case 118:\n                        $function = 'TRIM';\n                        $args = 1;\n                        break;\n                    case 119:\n                        $function = 'REPLACE';\n                        $args = 4;\n                        break;\n                    case 121:\n                        $function = 'CODE';\n                        $args = 1;\n                        break;\n                    case 126:\n                        $function = 'ISERR';\n                        $args = 1;\n                        break;\n                    case 127:\n                        $function = 'ISTEXT';\n                        $args = 1;\n                        break;\n                    case 128:\n                        $function = 'ISNUMBER';\n                        $args = 1;\n                        break;\n                    case 129:\n                        $function = 'ISBLANK';\n                        $args = 1;\n                        break;\n                    case 130:\n                        $function = 'T';\n                        $args = 1;\n                        break;\n                    case 131:\n                        $function = 'N';\n                        $args = 1;\n                        break;\n                    case 140:\n                        $function = 'DATEVALUE';\n                        $args = 1;\n                        break;\n                    case 141:\n                        $function = 'TIMEVALUE';\n                        $args = 1;\n                        break;\n                    case 142:\n                        $function = 'SLN';\n                        $args = 3;\n                        break;\n                    case 143:\n                        $function = 'SYD';\n                        $args = 4;\n                        break;\n                    case 162:\n                        $function = 'CLEAN';\n                        $args = 1;\n                        break;\n                    case 163:\n                        $function = 'MDETERM';\n                        $args = 1;\n                        break;\n                    case 164:\n                        $function = 'MINVERSE';\n                        $args = 1;\n                        break;\n                    case 165:\n                        $function = 'MMULT';\n                        $args = 2;\n                        break;\n                    case 184:\n                        $function = 'FACT';\n                        $args = 1;\n                        break;\n                    case 189:\n                        $function = 'DPRODUCT';\n                        $args = 3;\n                        break;\n                    case 190:\n                        $function = 'ISNONTEXT';\n                        $args = 1;\n                        break;\n                    case 195:\n                        $function = 'DSTDEVP';\n                        $args = 3;\n                        break;\n                    case 196:\n                        $function = 'DVARP';\n                        $args = 3;\n                        break;\n                    case 198:\n                        $function = 'ISLOGICAL';\n                        $args = 1;\n                        break;\n                    case 199:\n                        $function = 'DCOUNTA';\n                        $args = 3;\n                        break;\n                    case 207:\n                        $function = 'REPLACEB';\n                        $args = 4;\n                        break;\n                    case 210:\n                        $function = 'MIDB';\n                        $args = 3;\n                        break;\n                    case 211:\n                        $function = 'LENB';\n                        $args = 1;\n                        break;\n                    case 212:\n                        $function = 'ROUNDUP';\n                        $args = 2;\n                        break;\n                    case 213:\n                        $function = 'ROUNDDOWN';\n                        $args = 2;\n                        break;\n                    case 214:\n                        $function = 'ASC';\n                        $args = 1;\n                        break;\n                    case 215:\n                        $function = 'DBCS';\n                        $args = 1;\n                        break;\n                    case 221:\n                        $function = 'TODAY';\n                        $args = 0;\n                        break;\n                    case 229:\n                        $function = 'SINH';\n                        $args = 1;\n                        break;\n                    case 230:\n                        $function = 'COSH';\n                        $args = 1;\n                        break;\n                    case 231:\n                        $function = 'TANH';\n                        $args = 1;\n                        break;\n                    case 232:\n                        $function = 'ASINH';\n                        $args = 1;\n                        break;\n                    case 233:\n                        $function = 'ACOSH';\n                        $args = 1;\n                        break;\n                    case 234:\n                        $function = 'ATANH';\n                        $args = 1;\n                        break;\n                    case 235:\n                        $function = 'DGET';\n                        $args = 3;\n                        break;\n                    case 244:\n                        $function = 'INFO';\n                        $args = 1;\n                        break;\n                    case 252:\n                        $function = 'FREQUENCY';\n                        $args = 2;\n                        break;\n                    case 261:\n                        $function = 'ERROR.TYPE';\n                        $args = 1;\n                        break;\n                    case 271:\n                        $function = 'GAMMALN';\n                        $args = 1;\n                        break;\n                    case 273:\n                        $function = 'BINOMDIST';\n                        $args = 4;\n                        break;\n                    case 274:\n                        $function = 'CHIDIST';\n                        $args = 2;\n                        break;\n                    case 275:\n                        $function = 'CHIINV';\n                        $args = 2;\n                        break;\n                    case 276:\n                        $function = 'COMBIN';\n                        $args = 2;\n                        break;\n                    case 277:\n                        $function = 'CONFIDENCE';\n                        $args = 3;\n                        break;\n                    case 278:\n                        $function = 'CRITBINOM';\n                        $args = 3;\n                        break;\n                    case 279:\n                        $function = 'EVEN';\n                        $args = 1;\n                        break;\n                    case 280:\n                        $function = 'EXPONDIST';\n                        $args = 3;\n                        break;\n                    case 281:\n                        $function = 'FDIST';\n                        $args = 3;\n                        break;\n                    case 282:\n                        $function = 'FINV';\n                        $args = 3;\n                        break;\n                    case 283:\n                        $function = 'FISHER';\n                        $args = 1;\n                        break;\n                    case 284:\n                        $function = 'FISHERINV';\n                        $args = 1;\n                        break;\n                    case 285:\n                        $function = 'FLOOR';\n                        $args = 2;\n                        break;\n                    case 286:\n                        $function = 'GAMMADIST';\n                        $args = 4;\n                        break;\n                    case 287:\n                        $function = 'GAMMAINV';\n                        $args = 3;\n                        break;\n                    case 288:\n                        $function = 'CEILING';\n                        $args = 2;\n                        break;\n                    case 289:\n                        $function = 'HYPGEOMDIST';\n                        $args = 4;\n                        break;\n                    case 290:\n                        $function = 'LOGNORMDIST';\n                        $args = 3;\n                        break;\n                    case 291:\n                        $function = 'LOGINV';\n                        $args = 3;\n                        break;\n                    case 292:\n                        $function = 'NEGBINOMDIST';\n                        $args = 3;\n                        break;\n                    case 293:\n                        $function = 'NORMDIST';\n                        $args = 4;\n                        break;\n                    case 294:\n                        $function = 'NORMSDIST';\n                        $args = 1;\n                        break;\n                    case 295:\n                        $function = 'NORMINV';\n                        $args = 3;\n                        break;\n                    case 296:\n                        $function = 'NORMSINV';\n                        $args = 1;\n                        break;\n                    case 297:\n                        $function = 'STANDARDIZE';\n                        $args = 3;\n                        break;\n                    case 298:\n                        $function = 'ODD';\n                        $args = 1;\n                        break;\n                    case 299:\n                        $function = 'PERMUT';\n                        $args = 2;\n                        break;\n                    case 300:\n                        $function = 'POISSON';\n                        $args = 3;\n                        break;\n                    case 301:\n                        $function = 'TDIST';\n                        $args = 3;\n                        break;\n                    case 302:\n                        $function = 'WEIBULL';\n                        $args = 4;\n                        break;\n                    case 303:\n                        $function = 'SUMXMY2';\n                        $args = 2;\n                        break;\n                    case 304:\n                        $function = 'SUMX2MY2';\n                        $args = 2;\n                        break;\n                    case 305:\n                        $function = 'SUMX2PY2';\n                        $args = 2;\n                        break;\n                    case 306:\n                        $function = 'CHITEST';\n                        $args = 2;\n                        break;\n                    case 307:\n                        $function = 'CORREL';\n                        $args = 2;\n                        break;\n                    case 308:\n                        $function = 'COVAR';\n                        $args = 2;\n                        break;\n                    case 309:\n                        $function = 'FORECAST';\n                        $args = 3;\n                        break;\n                    case 310:\n                        $function = 'FTEST';\n                        $args = 2;\n                        break;\n                    case 311:\n                        $function = 'INTERCEPT';\n                        $args = 2;\n                        break;\n                    case 312:\n                        $function = 'PEARSON';\n                        $args = 2;\n                        break;\n                    case 313:\n                        $function = 'RSQ';\n                        $args = 2;\n                        break;\n                    case 314:\n                        $function = 'STEYX';\n                        $args = 2;\n                        break;\n                    case 315:\n                        $function = 'SLOPE';\n                        $args = 2;\n                        break;\n                    case 316:\n                        $function = 'TTEST';\n                        $args = 4;\n                        break;\n                    case 325:\n                        $function = 'LARGE';\n                        $args = 2;\n                        break;\n                    case 326:\n                        $function = 'SMALL';\n                        $args = 2;\n                        break;\n                    case 327:\n                        $function = 'QUARTILE';\n                        $args = 2;\n                        break;\n                    case 328:\n                        $function = 'PERCENTILE';\n                        $args = 2;\n                        break;\n                    case 331:\n                        $function = 'TRIMMEAN';\n                        $args = 2;\n                        break;\n                    case 332:\n                        $function = 'TINV';\n                        $args = 2;\n                        break;\n                    case 337:\n                        $function = 'POWER';\n                        $args = 2;\n                        break;\n                    case 342:\n                        $function = 'RADIANS';\n                        $args = 1;\n                        break;\n                    case 343:\n                        $function = 'DEGREES';\n                        $args = 1;\n                        break;\n                    case 346:\n                        $function = 'COUNTIF';\n                        $args = 2;\n                        break;\n                    case 347:\n                        $function = 'COUNTBLANK';\n                        $args = 1;\n                        break;\n                    case 350:\n                        $function = 'ISPMT';\n                        $args = 4;\n                        break;\n                    case 351:\n                        $function = 'DATEDIF';\n                        $args = 3;\n                        break;\n                    case 352:\n                        $function = 'DATESTRING';\n                        $args = 1;\n                        break;\n                    case 353:\n                        $function = 'NUMBERSTRING';\n                        $args = 2;\n                        break;\n                    case 360:\n                        $function = 'PHONETIC';\n                        $args = 1;\n                        break;\n                    case 368:\n                        $function = 'BAHTTEXT';\n                        $args = 1;\n                        break;\n                    default:\n                        throw new PHPExcel_Reader_Exception('Unrecognized function in formula');\n                        break;\n                }\n                $data = array('function' => $function, 'args' => $args);\n                break;\n            case 0x22:    //    function with variable number of arguments\n            case 0x42:\n            case 0x62:\n                $name = 'tFuncV';\n                $size = 4;\n                // offset: 1; size: 1; number of arguments\n                $args = ord($formulaData[1]);\n                // offset: 2: size: 2; index to built-in sheet function\n                $index = self::getInt2d($formulaData, 2);\n                switch ($index) {\n                    case 0:\n                        $function = 'COUNT';\n                        break;\n                    case 1:\n                        $function = 'IF';\n                        break;\n                    case 4:\n                        $function = 'SUM';\n                        break;\n                    case 5:\n                        $function = 'AVERAGE';\n                        break;\n                    case 6:\n                        $function = 'MIN';\n                        break;\n                    case 7:\n                        $function = 'MAX';\n                        break;\n                    case 8:\n                        $function = 'ROW';\n                        break;\n                    case 9:\n                        $function = 'COLUMN';\n                        break;\n                    case 11:\n                        $function = 'NPV';\n                        break;\n                    case 12:\n                        $function = 'STDEV';\n                        break;\n                    case 13:\n                        $function = 'DOLLAR';\n                        break;\n                    case 14:\n                        $function = 'FIXED';\n                        break;\n                    case 28:\n                        $function = 'LOOKUP';\n                        break;\n                    case 29:\n                        $function = 'INDEX';\n                        break;\n                    case 36:\n                        $function = 'AND';\n                        break;\n                    case 37:\n                        $function = 'OR';\n                        break;\n                    case 46:\n                        $function = 'VAR';\n                        break;\n                    case 49:\n                        $function = 'LINEST';\n                        break;\n                    case 50:\n                        $function = 'TREND';\n                        break;\n                    case 51:\n                        $function = 'LOGEST';\n                        break;\n                    case 52:\n                        $function = 'GROWTH';\n                        break;\n                    case 56:\n                        $function = 'PV';\n                        break;\n                    case 57:\n                        $function = 'FV';\n                        break;\n                    case 58:\n                        $function = 'NPER';\n                        break;\n                    case 59:\n                        $function = 'PMT';\n                        break;\n                    case 60:\n                        $function = 'RATE';\n                        break;\n                    case 62:\n                        $function = 'IRR';\n                        break;\n                    case 64:\n                        $function = 'MATCH';\n                        break;\n                    case 70:\n                        $function = 'WEEKDAY';\n                        break;\n                    case 78:\n                        $function = 'OFFSET';\n                        break;\n                    case 82:\n                        $function = 'SEARCH';\n                        break;\n                    case 100:\n                        $function = 'CHOOSE';\n                        break;\n                    case 101:\n                        $function = 'HLOOKUP';\n                        break;\n                    case 102:\n                        $function = 'VLOOKUP';\n                        break;\n                    case 109:\n                        $function = 'LOG';\n                        break;\n                    case 115:\n                        $function = 'LEFT';\n                        break;\n                    case 116:\n                        $function = 'RIGHT';\n                        break;\n                    case 120:\n                        $function = 'SUBSTITUTE';\n                        break;\n                    case 124:\n                        $function = 'FIND';\n                        break;\n                    case 125:\n                        $function = 'CELL';\n                        break;\n                    case 144:\n                        $function = 'DDB';\n                        break;\n                    case 148:\n                        $function = 'INDIRECT';\n                        break;\n                    case 167:\n                        $function = 'IPMT';\n                        break;\n                    case 168:\n                        $function = 'PPMT';\n                        break;\n                    case 169:\n                        $function = 'COUNTA';\n                        break;\n                    case 183:\n                        $function = 'PRODUCT';\n                        break;\n                    case 193:\n                        $function = 'STDEVP';\n                        break;\n                    case 194:\n                        $function = 'VARP';\n                        break;\n                    case 197:\n                        $function = 'TRUNC';\n                        break;\n                    case 204:\n                        $function = 'USDOLLAR';\n                        break;\n                    case 205:\n                        $function = 'FINDB';\n                        break;\n                    case 206:\n                        $function = 'SEARCHB';\n                        break;\n                    case 208:\n                        $function = 'LEFTB';\n                        break;\n                    case 209:\n                        $function = 'RIGHTB';\n                        break;\n                    case 216:\n                        $function = 'RANK';\n                        break;\n                    case 219:\n                        $function = 'ADDRESS';\n                        break;\n                    case 220:\n                        $function = 'DAYS360';\n                        break;\n                    case 222:\n                        $function = 'VDB';\n                        break;\n                    case 227:\n                        $function = 'MEDIAN';\n                        break;\n                    case 228:\n                        $function = 'SUMPRODUCT';\n                        break;\n                    case 247:\n                        $function = 'DB';\n                        break;\n                    case 255:\n                        $function = '';\n                        break;\n                    case 269:\n                        $function = 'AVEDEV';\n                        break;\n                    case 270:\n                        $function = 'BETADIST';\n                        break;\n                    case 272:\n                        $function = 'BETAINV';\n                        break;\n                    case 317:\n                        $function = 'PROB';\n                        break;\n                    case 318:\n                        $function = 'DEVSQ';\n                        break;\n                    case 319:\n                        $function = 'GEOMEAN';\n                        break;\n                    case 320:\n                        $function = 'HARMEAN';\n                        break;\n                    case 321:\n                        $function = 'SUMSQ';\n                        break;\n                    case 322:\n                        $function = 'KURT';\n                        break;\n                    case 323:\n                        $function = 'SKEW';\n                        break;\n                    case 324:\n                        $function = 'ZTEST';\n                        break;\n                    case 329:\n                        $function = 'PERCENTRANK';\n                        break;\n                    case 330:\n                        $function = 'MODE';\n                        break;\n                    case 336:\n                        $function = 'CONCATENATE';\n                        break;\n                    case 344:\n                        $function = 'SUBTOTAL';\n                        break;\n                    case 345:\n                        $function = 'SUMIF';\n                        break;\n                    case 354:\n                        $function = 'ROMAN';\n                        break;\n                    case 358:\n                        $function = 'GETPIVOTDATA';\n                        break;\n                    case 359:\n                        $function = 'HYPERLINK';\n                        break;\n                    case 361:\n                        $function = 'AVERAGEA';\n                        break;\n                    case 362:\n                        $function = 'MAXA';\n                        break;\n                    case 363:\n                        $function = 'MINA';\n                        break;\n                    case 364:\n                        $function = 'STDEVPA';\n                        break;\n                    case 365:\n                        $function = 'VARPA';\n                        break;\n                    case 366:\n                        $function = 'STDEVA';\n                        break;\n                    case 367:\n                        $function = 'VARA';\n                        break;\n                    default:\n                        throw new PHPExcel_Reader_Exception('Unrecognized function in formula');\n                        break;\n                }\n                $data = array('function' => $function, 'args' => $args);\n                break;\n            case 0x23:    //    index to defined name\n            case 0x43:\n            case 0x63:\n                $name = 'tName';\n                $size = 5;\n                // offset: 1; size: 2; one-based index to definedname record\n                $definedNameIndex = self::getInt2d($formulaData, 1) - 1;\n                // offset: 2; size: 2; not used\n                $data = $this->definedname[$definedNameIndex]['name'];\n                break;\n            case 0x24:    //    single cell reference e.g. A5\n            case 0x44:\n            case 0x64:\n                $name = 'tRef';\n                $size = 5;\n                $data = $this->readBIFF8CellAddress(substr($formulaData, 1, 4));\n                break;\n            case 0x25:    //    cell range reference to cells in the same sheet (2d)\n            case 0x45:\n            case 0x65:\n                $name = 'tArea';\n                $size = 9;\n                $data = $this->readBIFF8CellRangeAddress(substr($formulaData, 1, 8));\n                break;\n            case 0x26:    //    Constant reference sub-expression\n            case 0x46:\n            case 0x66:\n                $name = 'tMemArea';\n                // offset: 1; size: 4; not used\n                // offset: 5; size: 2; size of the following subexpression\n                $subSize = self::getInt2d($formulaData, 5);\n                $size = 7 + $subSize;\n                $data = $this->getFormulaFromData(substr($formulaData, 7, $subSize));\n                break;\n            case 0x27:    //    Deleted constant reference sub-expression\n            case 0x47:\n            case 0x67:\n                $name = 'tMemErr';\n                // offset: 1; size: 4; not used\n                // offset: 5; size: 2; size of the following subexpression\n                $subSize = self::getInt2d($formulaData, 5);\n                $size = 7 + $subSize;\n                $data = $this->getFormulaFromData(substr($formulaData, 7, $subSize));\n                break;\n            case 0x29:    //    Variable reference sub-expression\n            case 0x49:\n            case 0x69:\n                $name = 'tMemFunc';\n                // offset: 1; size: 2; size of the following sub-expression\n                $subSize = self::getInt2d($formulaData, 1);\n                $size = 3 + $subSize;\n                $data = $this->getFormulaFromData(substr($formulaData, 3, $subSize));\n                break;\n            case 0x2C: // Relative 2d cell reference reference, used in shared formulas and some other places\n            case 0x4C:\n            case 0x6C:\n                $name = 'tRefN';\n                $size = 5;\n                $data = $this->readBIFF8CellAddressB(substr($formulaData, 1, 4), $baseCell);\n                break;\n            case 0x2D:    //    Relative 2d range reference\n            case 0x4D:\n            case 0x6D:\n                $name = 'tAreaN';\n                $size = 9;\n                $data = $this->readBIFF8CellRangeAddressB(substr($formulaData, 1, 8), $baseCell);\n                break;\n            case 0x39:    //    External name\n            case 0x59:\n            case 0x79:\n                $name = 'tNameX';\n                $size = 7;\n                // offset: 1; size: 2; index to REF entry in EXTERNSHEET record\n                // offset: 3; size: 2; one-based index to DEFINEDNAME or EXTERNNAME record\n                $index = self::getInt2d($formulaData, 3);\n                // assume index is to EXTERNNAME record\n                $data = $this->externalNames[$index - 1]['name'];\n                // offset: 5; size: 2; not used\n                break;\n            case 0x3A:    //    3d reference to cell\n            case 0x5A:\n            case 0x7A:\n                $name = 'tRef3d';\n                $size = 7;\n\n                try {\n                    // offset: 1; size: 2; index to REF entry\n                    $sheetRange = $this->readSheetRangeByRefIndex(self::getInt2d($formulaData, 1));\n                    // offset: 3; size: 4; cell address\n                    $cellAddress = $this->readBIFF8CellAddress(substr($formulaData, 3, 4));\n\n                    $data = \"$sheetRange!$cellAddress\";\n                } catch (PHPExcel_Exception $e) {\n                    // deleted sheet reference\n                    $data = '#REF!';\n                }\n                break;\n            case 0x3B:    //    3d reference to cell range\n            case 0x5B:\n            case 0x7B:\n                $name = 'tArea3d';\n                $size = 11;\n\n                try {\n                    // offset: 1; size: 2; index to REF entry\n                    $sheetRange = $this->readSheetRangeByRefIndex(self::getInt2d($formulaData, 1));\n                    // offset: 3; size: 8; cell address\n                    $cellRangeAddress = $this->readBIFF8CellRangeAddress(substr($formulaData, 3, 8));\n\n                    $data = \"$sheetRange!$cellRangeAddress\";\n                } catch (PHPExcel_Exception $e) {\n                    // deleted sheet reference\n                    $data = '#REF!';\n                }\n                break;\n            // Unknown cases    // don't know how to deal with\n            default:\n                throw new PHPExcel_Reader_Exception('Unrecognized token ' . sprintf('%02X', $id) . ' in formula');\n                break;\n        }\n\n        return array(\n            'id' => $id,\n            'name' => $name,\n            'size' => $size,\n            'data' => $data,\n        );\n    }\n\n\n    /**\n     * Reads a cell address in BIFF8 e.g. 'A2' or '$A$2'\n     * section 3.3.4\n     *\n     * @param string $cellAddressStructure\n     * @return string\n     */\n    private function readBIFF8CellAddress($cellAddressStructure)\n    {\n        // offset: 0; size: 2; index to row (0... 65535) (or offset (-32768... 32767))\n        $row = self::getInt2d($cellAddressStructure, 0) + 1;\n\n        // offset: 2; size: 2; index to column or column offset + relative flags\n        // bit: 7-0; mask 0x00FF; column index\n        $column = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::getInt2d($cellAddressStructure, 2));\n\n        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)\n        if (!(0x4000 & self::getInt2d($cellAddressStructure, 2))) {\n            $column = '$' . $column;\n        }\n        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)\n        if (!(0x8000 & self::getInt2d($cellAddressStructure, 2))) {\n            $row = '$' . $row;\n        }\n\n        return $column . $row;\n    }\n\n\n    /**\n     * Reads a cell address in BIFF8 for shared formulas. Uses positive and negative values for row and column\n     * to indicate offsets from a base cell\n     * section 3.3.4\n     *\n     * @param string $cellAddressStructure\n     * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas\n     * @return string\n     */\n    private function readBIFF8CellAddressB($cellAddressStructure, $baseCell = 'A1')\n    {\n        list($baseCol, $baseRow) = PHPExcel_Cell::coordinateFromString($baseCell);\n        $baseCol = PHPExcel_Cell::columnIndexFromString($baseCol) - 1;\n\n        // offset: 0; size: 2; index to row (0... 65535) (or offset (-32768... 32767))\n        $rowIndex = self::getInt2d($cellAddressStructure, 0);\n        $row = self::getInt2d($cellAddressStructure, 0) + 1;\n\n        // offset: 2; size: 2; index to column or column offset + relative flags\n        // bit: 7-0; mask 0x00FF; column index\n        $colIndex = 0x00FF & self::getInt2d($cellAddressStructure, 2);\n\n        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)\n        if (!(0x4000 & self::getInt2d($cellAddressStructure, 2))) {\n            $column = PHPExcel_Cell::stringFromColumnIndex($colIndex);\n            $column = '$' . $column;\n        } else {\n            $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256;\n            $column = PHPExcel_Cell::stringFromColumnIndex($baseCol + $colIndex);\n        }\n\n        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)\n        if (!(0x8000 & self::getInt2d($cellAddressStructure, 2))) {\n            $row = '$' . $row;\n        } else {\n            $rowIndex = ($rowIndex <= 32767) ? $rowIndex : $rowIndex - 65536;\n            $row = $baseRow + $rowIndex;\n        }\n\n        return $column . $row;\n    }\n\n\n    /**\n     * Reads a cell range address in BIFF5 e.g. 'A2:B6' or 'A1'\n     * always fixed range\n     * section 2.5.14\n     *\n     * @param string $subData\n     * @return string\n     * @throws PHPExcel_Reader_Exception\n     */\n    private function readBIFF5CellRangeAddressFixed($subData)\n    {\n        // offset: 0; size: 2; index to first row\n        $fr = self::getInt2d($subData, 0) + 1;\n\n        // offset: 2; size: 2; index to last row\n        $lr = self::getInt2d($subData, 2) + 1;\n\n        // offset: 4; size: 1; index to first column\n        $fc = ord($subData{4});\n\n        // offset: 5; size: 1; index to last column\n        $lc = ord($subData{5});\n\n        // check values\n        if ($fr > $lr || $fc > $lc) {\n            throw new PHPExcel_Reader_Exception('Not a cell range address');\n        }\n\n        // column index to letter\n        $fc = PHPExcel_Cell::stringFromColumnIndex($fc);\n        $lc = PHPExcel_Cell::stringFromColumnIndex($lc);\n\n        if ($fr == $lr and $fc == $lc) {\n            return \"$fc$fr\";\n        }\n        return \"$fc$fr:$lc$lr\";\n    }\n\n\n    /**\n     * Reads a cell range address in BIFF8 e.g. 'A2:B6' or 'A1'\n     * always fixed range\n     * section 2.5.14\n     *\n     * @param string $subData\n     * @return string\n     * @throws PHPExcel_Reader_Exception\n     */\n    private function readBIFF8CellRangeAddressFixed($subData)\n    {\n        // offset: 0; size: 2; index to first row\n        $fr = self::getInt2d($subData, 0) + 1;\n\n        // offset: 2; size: 2; index to last row\n        $lr = self::getInt2d($subData, 2) + 1;\n\n        // offset: 4; size: 2; index to first column\n        $fc = self::getInt2d($subData, 4);\n\n        // offset: 6; size: 2; index to last column\n        $lc = self::getInt2d($subData, 6);\n\n        // check values\n        if ($fr > $lr || $fc > $lc) {\n            throw new PHPExcel_Reader_Exception('Not a cell range address');\n        }\n\n        // column index to letter\n        $fc = PHPExcel_Cell::stringFromColumnIndex($fc);\n        $lc = PHPExcel_Cell::stringFromColumnIndex($lc);\n\n        if ($fr == $lr and $fc == $lc) {\n            return \"$fc$fr\";\n        }\n        return \"$fc$fr:$lc$lr\";\n    }\n\n\n    /**\n     * Reads a cell range address in BIFF8 e.g. 'A2:B6' or '$A$2:$B$6'\n     * there are flags indicating whether column/row index is relative\n     * section 3.3.4\n     *\n     * @param string $subData\n     * @return string\n     */\n    private function readBIFF8CellRangeAddress($subData)\n    {\n        // todo: if cell range is just a single cell, should this funciton\n        // not just return e.g. 'A1' and not 'A1:A1' ?\n\n        // offset: 0; size: 2; index to first row (0... 65535) (or offset (-32768... 32767))\n            $fr = self::getInt2d($subData, 0) + 1;\n\n        // offset: 2; size: 2; index to last row (0... 65535) (or offset (-32768... 32767))\n            $lr = self::getInt2d($subData, 2) + 1;\n\n        // offset: 4; size: 2; index to first column or column offset + relative flags\n\n        // bit: 7-0; mask 0x00FF; column index\n        $fc = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::getInt2d($subData, 4));\n\n        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)\n        if (!(0x4000 & self::getInt2d($subData, 4))) {\n            $fc = '$' . $fc;\n        }\n\n        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)\n        if (!(0x8000 & self::getInt2d($subData, 4))) {\n            $fr = '$' . $fr;\n        }\n\n        // offset: 6; size: 2; index to last column or column offset + relative flags\n\n        // bit: 7-0; mask 0x00FF; column index\n        $lc = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::getInt2d($subData, 6));\n\n        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)\n        if (!(0x4000 & self::getInt2d($subData, 6))) {\n            $lc = '$' . $lc;\n        }\n\n        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)\n        if (!(0x8000 & self::getInt2d($subData, 6))) {\n            $lr = '$' . $lr;\n        }\n\n        return \"$fc$fr:$lc$lr\";\n    }\n\n\n    /**\n     * Reads a cell range address in BIFF8 for shared formulas. Uses positive and negative values for row and column\n     * to indicate offsets from a base cell\n     * section 3.3.4\n     *\n     * @param string $subData\n     * @param string $baseCell Base cell\n     * @return string Cell range address\n     */\n    private function readBIFF8CellRangeAddressB($subData, $baseCell = 'A1')\n    {\n        list($baseCol, $baseRow) = PHPExcel_Cell::coordinateFromString($baseCell);\n        $baseCol = PHPExcel_Cell::columnIndexFromString($baseCol) - 1;\n\n        // TODO: if cell range is just a single cell, should this funciton\n        // not just return e.g. 'A1' and not 'A1:A1' ?\n\n        // offset: 0; size: 2; first row\n        $frIndex = self::getInt2d($subData, 0); // adjust below\n\n        // offset: 2; size: 2; relative index to first row (0... 65535) should be treated as offset (-32768... 32767)\n        $lrIndex = self::getInt2d($subData, 2); // adjust below\n\n        // offset: 4; size: 2; first column with relative/absolute flags\n\n        // bit: 7-0; mask 0x00FF; column index\n        $fcIndex = 0x00FF & self::getInt2d($subData, 4);\n\n        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)\n        if (!(0x4000 & self::getInt2d($subData, 4))) {\n            // absolute column index\n            $fc = PHPExcel_Cell::stringFromColumnIndex($fcIndex);\n            $fc = '$' . $fc;\n        } else {\n            // column offset\n            $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256;\n            $fc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $fcIndex);\n        }\n\n        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)\n        if (!(0x8000 & self::getInt2d($subData, 4))) {\n            // absolute row index\n            $fr = $frIndex + 1;\n            $fr = '$' . $fr;\n        } else {\n            // row offset\n            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;\n            $fr = $baseRow + $frIndex;\n        }\n\n        // offset: 6; size: 2; last column with relative/absolute flags\n\n        // bit: 7-0; mask 0x00FF; column index\n        $lcIndex = 0x00FF & self::getInt2d($subData, 6);\n        $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256;\n        $lc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $lcIndex);\n\n        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)\n        if (!(0x4000 & self::getInt2d($subData, 6))) {\n            // absolute column index\n            $lc = PHPExcel_Cell::stringFromColumnIndex($lcIndex);\n            $lc = '$' . $lc;\n        } else {\n            // column offset\n            $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256;\n            $lc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $lcIndex);\n        }\n\n        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)\n        if (!(0x8000 & self::getInt2d($subData, 6))) {\n            // absolute row index\n            $lr = $lrIndex + 1;\n            $lr = '$' . $lr;\n        } else {\n            // row offset\n            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;\n            $lr = $baseRow + $lrIndex;\n        }\n\n        return \"$fc$fr:$lc$lr\";\n    }\n\n\n    /**\n     * Read BIFF8 cell range address list\n     * section 2.5.15\n     *\n     * @param string $subData\n     * @return array\n     */\n    private function readBIFF8CellRangeAddressList($subData)\n    {\n        $cellRangeAddresses = array();\n\n        // offset: 0; size: 2; number of the following cell range addresses\n        $nm = self::getInt2d($subData, 0);\n\n        $offset = 2;\n        // offset: 2; size: 8 * $nm; list of $nm (fixed) cell range addresses\n        for ($i = 0; $i < $nm; ++$i) {\n            $cellRangeAddresses[] = $this->readBIFF8CellRangeAddressFixed(substr($subData, $offset, 8));\n            $offset += 8;\n        }\n\n        return array(\n            'size' => 2 + 8 * $nm,\n            'cellRangeAddresses' => $cellRangeAddresses,\n        );\n    }\n\n\n    /**\n     * Read BIFF5 cell range address list\n     * section 2.5.15\n     *\n     * @param string $subData\n     * @return array\n     */\n    private function readBIFF5CellRangeAddressList($subData)\n    {\n        $cellRangeAddresses = array();\n\n        // offset: 0; size: 2; number of the following cell range addresses\n        $nm = self::getInt2d($subData, 0);\n\n        $offset = 2;\n        // offset: 2; size: 6 * $nm; list of $nm (fixed) cell range addresses\n        for ($i = 0; $i < $nm; ++$i) {\n            $cellRangeAddresses[] = $this->readBIFF5CellRangeAddressFixed(substr($subData, $offset, 6));\n            $offset += 6;\n        }\n\n        return array(\n            'size' => 2 + 6 * $nm,\n            'cellRangeAddresses' => $cellRangeAddresses,\n        );\n    }\n\n\n    /**\n     * Get a sheet range like Sheet1:Sheet3 from REF index\n     * Note: If there is only one sheet in the range, one gets e.g Sheet1\n     * It can also happen that the REF structure uses the -1 (FFFF) code to indicate deleted sheets,\n     * in which case an PHPExcel_Reader_Exception is thrown\n     *\n     * @param int $index\n     * @return string|false\n     * @throws PHPExcel_Reader_Exception\n     */\n    private function readSheetRangeByRefIndex($index)\n    {\n        if (isset($this->ref[$index])) {\n            $type = $this->externalBooks[$this->ref[$index]['externalBookIndex']]['type'];\n\n            switch ($type) {\n                case 'internal':\n                    // check if we have a deleted 3d reference\n                    if ($this->ref[$index]['firstSheetIndex'] == 0xFFFF or $this->ref[$index]['lastSheetIndex'] == 0xFFFF) {\n                        throw new PHPExcel_Reader_Exception('Deleted sheet reference');\n                    }\n\n                    // we have normal sheet range (collapsed or uncollapsed)\n                    $firstSheetName = $this->sheets[$this->ref[$index]['firstSheetIndex']]['name'];\n                    $lastSheetName = $this->sheets[$this->ref[$index]['lastSheetIndex']]['name'];\n\n                    if ($firstSheetName == $lastSheetName) {\n                        // collapsed sheet range\n                        $sheetRange = $firstSheetName;\n                    } else {\n                        $sheetRange = \"$firstSheetName:$lastSheetName\";\n                    }\n\n                    // escape the single-quotes\n                    $sheetRange = str_replace(\"'\", \"''\", $sheetRange);\n\n                    // if there are special characters, we need to enclose the range in single-quotes\n                    // todo: check if we have identified the whole set of special characters\n                    // it seems that the following characters are not accepted for sheet names\n                    // and we may assume that they are not present: []*/:\\?\n                    if (preg_match(\"/[ !\\\"@#£$%&{()}<>=+'|^,;-]/\", $sheetRange)) {\n                        $sheetRange = \"'$sheetRange'\";\n                    }\n\n                    return $sheetRange;\n                    break;\n                default:\n                    // TODO: external sheet support\n                    throw new PHPExcel_Reader_Exception('Excel5 reader only supports internal sheets in fomulas');\n                    break;\n            }\n        }\n        return false;\n    }\n\n\n    /**\n     * read BIFF8 constant value array from array data\n     * returns e.g. array('value' => '{1,2;3,4}', 'size' => 40}\n     * section 2.5.8\n     *\n     * @param string $arrayData\n     * @return array\n     */\n    private static function readBIFF8ConstantArray($arrayData)\n    {\n        // offset: 0; size: 1; number of columns decreased by 1\n        $nc = ord($arrayData[0]);\n\n        // offset: 1; size: 2; number of rows decreased by 1\n        $nr = self::getInt2d($arrayData, 1);\n        $size = 3; // initialize\n        $arrayData = substr($arrayData, 3);\n\n        // offset: 3; size: var; list of ($nc + 1) * ($nr + 1) constant values\n        $matrixChunks = array();\n        for ($r = 1; $r <= $nr + 1; ++$r) {\n            $items = array();\n            for ($c = 1; $c <= $nc + 1; ++$c) {\n                $constant = self::readBIFF8Constant($arrayData);\n                $items[] = $constant['value'];\n                $arrayData = substr($arrayData, $constant['size']);\n                $size += $constant['size'];\n            }\n            $matrixChunks[] = implode(',', $items); // looks like e.g. '1,\"hello\"'\n        }\n        $matrix = '{' . implode(';', $matrixChunks) . '}';\n\n        return array(\n            'value' => $matrix,\n            'size' => $size,\n        );\n    }\n\n\n    /**\n     * read BIFF8 constant value which may be 'Empty Value', 'Number', 'String Value', 'Boolean Value', 'Error Value'\n     * section 2.5.7\n     * returns e.g. array('value' => '5', 'size' => 9)\n     *\n     * @param string $valueData\n     * @return array\n     */\n    private static function readBIFF8Constant($valueData)\n    {\n        // offset: 0; size: 1; identifier for type of constant\n        $identifier = ord($valueData[0]);\n\n        switch ($identifier) {\n            case 0x00: // empty constant (what is this?)\n                $value = '';\n                $size = 9;\n                break;\n            case 0x01: // number\n                // offset: 1; size: 8; IEEE 754 floating-point value\n                $value = self::extractNumber(substr($valueData, 1, 8));\n                $size = 9;\n                break;\n            case 0x02: // string value\n                // offset: 1; size: var; Unicode string, 16-bit string length\n                $string = self::readUnicodeStringLong(substr($valueData, 1));\n                $value = '\"' . $string['value'] . '\"';\n                $size = 1 + $string['size'];\n                break;\n            case 0x04: // boolean\n                // offset: 1; size: 1; 0 = FALSE, 1 = TRUE\n                if (ord($valueData[1])) {\n                    $value = 'TRUE';\n                } else {\n                    $value = 'FALSE';\n                }\n                $size = 9;\n                break;\n            case 0x10: // error code\n                // offset: 1; size: 1; error code\n                $value = PHPExcel_Reader_Excel5_ErrorCode::lookup(ord($valueData[1]));\n                $size = 9;\n                break;\n        }\n        return array(\n            'value' => $value,\n            'size' => $size,\n        );\n    }\n\n\n    /**\n     * Extract RGB color\n     * OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.4\n     *\n     * @param string $rgb Encoded RGB value (4 bytes)\n     * @return array\n     */\n    private static function readRGB($rgb)\n    {\n        // offset: 0; size 1; Red component\n        $r = ord($rgb{0});\n\n        // offset: 1; size: 1; Green component\n        $g = ord($rgb{1});\n\n        // offset: 2; size: 1; Blue component\n        $b = ord($rgb{2});\n\n        // HEX notation, e.g. 'FF00FC'\n        $rgb = sprintf('%02X%02X%02X', $r, $g, $b);\n\n        return array('rgb' => $rgb);\n    }\n\n\n    /**\n     * Read byte string (8-bit string length)\n     * OpenOffice documentation: 2.5.2\n     *\n     * @param string $subData\n     * @return array\n     */\n    private function readByteStringShort($subData)\n    {\n        // offset: 0; size: 1; length of the string (character count)\n        $ln = ord($subData[0]);\n\n        // offset: 1: size: var; character array (8-bit characters)\n        $value = $this->decodeCodepage(substr($subData, 1, $ln));\n\n        return array(\n            'value' => $value,\n            'size' => 1 + $ln, // size in bytes of data structure\n        );\n    }\n\n\n    /**\n     * Read byte string (16-bit string length)\n     * OpenOffice documentation: 2.5.2\n     *\n     * @param string $subData\n     * @return array\n     */\n    private function readByteStringLong($subData)\n    {\n        // offset: 0; size: 2; length of the string (character count)\n        $ln = self::getInt2d($subData, 0);\n\n        // offset: 2: size: var; character array (8-bit characters)\n        $value = $this->decodeCodepage(substr($subData, 2));\n\n        //return $string;\n        return array(\n            'value' => $value,\n            'size' => 2 + $ln, // size in bytes of data structure\n        );\n    }\n\n\n    /**\n     * Extracts an Excel Unicode short string (8-bit string length)\n     * OpenOffice documentation: 2.5.3\n     * function will automatically find out where the Unicode string ends.\n     *\n     * @param string $subData\n     * @return array\n     */\n    private static function readUnicodeStringShort($subData)\n    {\n        $value = '';\n\n        // offset: 0: size: 1; length of the string (character count)\n        $characterCount = ord($subData[0]);\n\n        $string = self::readUnicodeString(substr($subData, 1), $characterCount);\n\n        // add 1 for the string length\n        $string['size'] += 1;\n\n        return $string;\n    }\n\n\n    /**\n     * Extracts an Excel Unicode long string (16-bit string length)\n     * OpenOffice documentation: 2.5.3\n     * this function is under construction, needs to support rich text, and Asian phonetic settings\n     *\n     * @param string $subData\n     * @return array\n     */\n    private static function readUnicodeStringLong($subData)\n    {\n        $value = '';\n\n        // offset: 0: size: 2; length of the string (character count)\n        $characterCount = self::getInt2d($subData, 0);\n\n        $string = self::readUnicodeString(substr($subData, 2), $characterCount);\n\n        // add 2 for the string length\n        $string['size'] += 2;\n\n        return $string;\n    }\n\n\n    /**\n     * Read Unicode string with no string length field, but with known character count\n     * this function is under construction, needs to support rich text, and Asian phonetic settings\n     * OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.3\n     *\n     * @param string $subData\n     * @param int $characterCount\n     * @return array\n     */\n    private static function readUnicodeString($subData, $characterCount)\n    {\n        $value = '';\n\n        // offset: 0: size: 1; option flags\n        // bit: 0; mask: 0x01; character compression (0 = compressed 8-bit, 1 = uncompressed 16-bit)\n        $isCompressed = !((0x01 & ord($subData[0])) >> 0);\n\n        // bit: 2; mask: 0x04; Asian phonetic settings\n        $hasAsian = (0x04) & ord($subData[0]) >> 2;\n\n        // bit: 3; mask: 0x08; Rich-Text settings\n        $hasRichText = (0x08) & ord($subData[0]) >> 3;\n\n        // offset: 1: size: var; character array\n        // this offset assumes richtext and Asian phonetic settings are off which is generally wrong\n        // needs to be fixed\n        $value = self::encodeUTF16(substr($subData, 1, $isCompressed ? $characterCount : 2 * $characterCount), $isCompressed);\n\n        return array(\n            'value' => $value,\n            'size' => $isCompressed ? 1 + $characterCount : 1 + 2 * $characterCount, // the size in bytes including the option flags\n        );\n    }\n\n\n    /**\n     * Convert UTF-8 string to string surounded by double quotes. Used for explicit string tokens in formulas.\n     * Example:  hello\"world  -->  \"hello\"\"world\"\n     *\n     * @param string $value UTF-8 encoded string\n     * @return string\n     */\n    private static function UTF8toExcelDoubleQuoted($value)\n    {\n        return '\"' . str_replace('\"', '\"\"', $value) . '\"';\n    }\n\n\n    /**\n     * Reads first 8 bytes of a string and return IEEE 754 float\n     *\n     * @param string $data Binary string that is at least 8 bytes long\n     * @return float\n     */\n    private static function extractNumber($data)\n    {\n        $rknumhigh = self::getInt4d($data, 4);\n        $rknumlow = self::getInt4d($data, 0);\n        $sign = ($rknumhigh & 0x80000000) >> 31;\n        $exp = (($rknumhigh & 0x7ff00000) >> 20) - 1023;\n        $mantissa = (0x100000 | ($rknumhigh & 0x000fffff));\n        $mantissalow1 = ($rknumlow & 0x80000000) >> 31;\n        $mantissalow2 = ($rknumlow & 0x7fffffff);\n        $value = $mantissa / pow(2, (20 - $exp));\n\n        if ($mantissalow1 != 0) {\n            $value += 1 / pow(2, (21 - $exp));\n        }\n\n        $value += $mantissalow2 / pow(2, (52 - $exp));\n        if ($sign) {\n            $value *= -1;\n        }\n\n        return $value;\n    }\n\n\n    private static function getIEEE754($rknum)\n    {\n        if (($rknum & 0x02) != 0) {\n            $value = $rknum >> 2;\n        } else {\n            // changes by mmp, info on IEEE754 encoding from\n            // research.microsoft.com/~hollasch/cgindex/coding/ieeefloat.html\n            // The RK format calls for using only the most significant 30 bits\n            // of the 64 bit floating point value. The other 34 bits are assumed\n            // to be 0 so we use the upper 30 bits of $rknum as follows...\n            $sign = ($rknum & 0x80000000) >> 31;\n            $exp = ($rknum & 0x7ff00000) >> 20;\n            $mantissa = (0x100000 | ($rknum & 0x000ffffc));\n            $value = $mantissa / pow(2, (20- ($exp - 1023)));\n            if ($sign) {\n                $value = -1 * $value;\n            }\n            //end of changes by mmp\n        }\n        if (($rknum & 0x01) != 0) {\n            $value /= 100;\n        }\n        return $value;\n    }\n\n\n    /**\n     * Get UTF-8 string from (compressed or uncompressed) UTF-16 string\n     *\n     * @param string $string\n     * @param bool $compressed\n     * @return string\n     */\n    private static function encodeUTF16($string, $compressed = '')\n    {\n        if ($compressed) {\n            $string = self::uncompressByteString($string);\n        }\n\n        return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', 'UTF-16LE');\n    }\n\n    /**\n     * Convert UTF-16 string in compressed notation to uncompressed form. Only used for BIFF8.\n     *\n     * @param string $string\n     * @return string\n     */\n    private static function uncompressByteString($string)\n    {\n        $uncompressedString = '';\n        $strLen = strlen($string);\n        for ($i = 0; $i < $strLen; ++$i) {\n            $uncompressedString .= $string[$i] . \"\\0\";\n        }\n\n        return $uncompressedString;\n    }\n\n    /**\n     * Convert string to UTF-8. Only used for BIFF5.\n     *\n     * @param string $string\n     * @return string\n     */\n    private function decodeCodepage($string)\n    {\n        return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', $this->codepage);\n    }\n\n    /**\n     * Read 16-bit unsigned integer\n     *\n     * @param string $data\n     * @param int $pos\n     * @return int\n     */\n    public static function getInt2d($data, $pos)\n    {\n        return ord($data[$pos]) | (ord($data[$pos+1]) << 8);\n    }\n\n    /**\n     * Read 32-bit signed integer\n     *\n     * @param string $data\n     * @param int $pos\n     * @return int\n     */\n    public static function getInt4d($data, $pos)\n    {\n        // FIX: represent numbers correctly on 64-bit system\n        // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334\n        // Hacked by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systems\n        $_or_24 = ord($data[$pos + 3]);\n        if ($_or_24 >= 128) {\n            // negative number\n            $_ord_24 = -abs((256 - $_or_24) << 24);\n        } else {\n            $_ord_24 = ($_or_24 & 127) << 24;\n        }\n        return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | $_ord_24;\n    }\n\n    private function parseRichText($is = '')\n    {\n        $value = new PHPExcel_RichText();\n        $value->createText($is);\n\n        return $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Exception.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_Exception\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Exception extends PHPExcel_Exception\n{\n    /**\n     * Error handler callback\n     *\n     * @param mixed $code\n     * @param mixed $string\n     * @param mixed $file\n     * @param mixed $line\n     * @param mixed $context\n     */\n    public static function errorHandlerCallback($code, $string, $file, $line, $context)\n    {\n        $e = new self($string, $code);\n        $e->line = $line;\n        $e->file = $file;\n        throw $e;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/Gnumeric.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_Gnumeric\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_Gnumeric extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * Formats\n     *\n     * @var array\n     */\n    private $styles = array();\n\n    /**\n     * Shared Expressions\n     *\n     * @var array\n     */\n    private $expressions = array();\n\n    private $referenceHelper = null;\n\n    /**\n     * Create a new PHPExcel_Reader_Gnumeric\n     */\n    public function __construct()\n    {\n        $this->readFilter     = new PHPExcel_Reader_DefaultReadFilter();\n        $this->referenceHelper = PHPExcel_ReferenceHelper::getInstance();\n    }\n\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return     boolean\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function canRead($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        // Check if gzlib functions are available\n        if (!function_exists('gzread')) {\n            throw new PHPExcel_Reader_Exception(\"gzlib library is not enabled\");\n        }\n\n        // Read signature data (first 3 bytes)\n        $fh = fopen($pFilename, 'r');\n        $data = fread($fh, 2);\n        fclose($fh);\n\n        if ($data != chr(0x1F).chr(0x8B)) {\n            return false;\n        }\n\n        return true;\n    }\n\n    /**\n     * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object\n     *\n     * @param     string         $pFilename\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function listWorksheetNames($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $xml = new XMLReader();\n        $xml->xml($this->securityScanFile('compress.zlib://'.realpath($pFilename)), null, PHPExcel_Settings::getLibXmlLoaderOptions());\n        $xml->setParserProperty(2, true);\n\n        $worksheetNames = array();\n        while ($xml->read()) {\n            if ($xml->name == 'gnm:SheetName' && $xml->nodeType == XMLReader::ELEMENT) {\n                $xml->read();    //    Move onto the value node\n                $worksheetNames[] = (string) $xml->value;\n            } elseif ($xml->name == 'gnm:Sheets') {\n                //    break out of the loop once we've got our sheet names rather than parse the entire file\n                break;\n            }\n        }\n\n        return $worksheetNames;\n    }\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param   string     $pFilename\n     * @throws   PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $xml = new XMLReader();\n        $xml->xml($this->securityScanFile('compress.zlib://'.realpath($pFilename)), null, PHPExcel_Settings::getLibXmlLoaderOptions());\n        $xml->setParserProperty(2, true);\n\n        $worksheetInfo = array();\n        while ($xml->read()) {\n            if ($xml->name == 'gnm:Sheet' && $xml->nodeType == XMLReader::ELEMENT) {\n                $tmpInfo = array(\n                    'worksheetName' => '',\n                    'lastColumnLetter' => 'A',\n                    'lastColumnIndex' => 0,\n                    'totalRows' => 0,\n                    'totalColumns' => 0,\n                );\n\n                while ($xml->read()) {\n                    if ($xml->name == 'gnm:Name' && $xml->nodeType == XMLReader::ELEMENT) {\n                        $xml->read();    //    Move onto the value node\n                        $tmpInfo['worksheetName'] = (string) $xml->value;\n                    } elseif ($xml->name == 'gnm:MaxCol' && $xml->nodeType == XMLReader::ELEMENT) {\n                        $xml->read();    //    Move onto the value node\n                        $tmpInfo['lastColumnIndex'] = (int) $xml->value;\n                        $tmpInfo['totalColumns'] = (int) $xml->value + 1;\n                    } elseif ($xml->name == 'gnm:MaxRow' && $xml->nodeType == XMLReader::ELEMENT) {\n                        $xml->read();    //    Move onto the value node\n                        $tmpInfo['totalRows'] = (int) $xml->value + 1;\n                        break;\n                    }\n                }\n                $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']);\n                $worksheetInfo[] = $tmpInfo;\n            }\n        }\n\n        return $worksheetInfo;\n    }\n\n    private function gzfileGetContents($filename)\n    {\n        $file = @gzopen($filename, 'rb');\n        if ($file !== false) {\n            $data = '';\n            while (!gzeof($file)) {\n                $data .= gzread($file, 1024);\n            }\n            gzclose($file);\n        }\n        return $data;\n    }\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Create new PHPExcel\n        $objPHPExcel = new PHPExcel();\n\n        // Load into this instance\n        return $this->loadIntoExisting($pFilename, $objPHPExcel);\n    }\n\n    /**\n     * Loads PHPExcel from file into PHPExcel instance\n     *\n     * @param     string         $pFilename\n     * @param    PHPExcel    $objPHPExcel\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $timezoneObj = new DateTimeZone('Europe/London');\n        $GMT = new DateTimeZone('UTC');\n\n        $gFileData = $this->gzfileGetContents($pFilename);\n\n//        echo '<pre>';\n//        echo htmlentities($gFileData,ENT_QUOTES,'UTF-8');\n//        echo '</pre><hr />';\n//\n        $xml = simplexml_load_string($this->securityScan($gFileData), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n        $namespacesMeta = $xml->getNamespaces(true);\n\n//        var_dump($namespacesMeta);\n//\n        $gnmXML = $xml->children($namespacesMeta['gnm']);\n\n        $docProps = $objPHPExcel->getProperties();\n        //    Document Properties are held differently, depending on the version of Gnumeric\n        if (isset($namespacesMeta['office'])) {\n            $officeXML = $xml->children($namespacesMeta['office']);\n            $officeDocXML = $officeXML->{'document-meta'};\n            $officeDocMetaXML = $officeDocXML->meta;\n\n            foreach ($officeDocMetaXML as $officePropertyData) {\n                $officePropertyDC = array();\n                if (isset($namespacesMeta['dc'])) {\n                    $officePropertyDC = $officePropertyData->children($namespacesMeta['dc']);\n                }\n                foreach ($officePropertyDC as $propertyName => $propertyValue) {\n                    $propertyValue = (string) $propertyValue;\n                    switch ($propertyName) {\n                        case 'title':\n                            $docProps->setTitle(trim($propertyValue));\n                            break;\n                        case 'subject':\n                            $docProps->setSubject(trim($propertyValue));\n                            break;\n                        case 'creator':\n                            $docProps->setCreator(trim($propertyValue));\n                            $docProps->setLastModifiedBy(trim($propertyValue));\n                            break;\n                        case 'date':\n                            $creationDate = strtotime(trim($propertyValue));\n                            $docProps->setCreated($creationDate);\n                            $docProps->setModified($creationDate);\n                            break;\n                        case 'description':\n                            $docProps->setDescription(trim($propertyValue));\n                            break;\n                    }\n                }\n                $officePropertyMeta = array();\n                if (isset($namespacesMeta['meta'])) {\n                    $officePropertyMeta = $officePropertyData->children($namespacesMeta['meta']);\n                }\n                foreach ($officePropertyMeta as $propertyName => $propertyValue) {\n                    $attributes = $propertyValue->attributes($namespacesMeta['meta']);\n                    $propertyValue = (string) $propertyValue;\n                    switch ($propertyName) {\n                        case 'keyword':\n                            $docProps->setKeywords(trim($propertyValue));\n                            break;\n                        case 'initial-creator':\n                            $docProps->setCreator(trim($propertyValue));\n                            $docProps->setLastModifiedBy(trim($propertyValue));\n                            break;\n                        case 'creation-date':\n                            $creationDate = strtotime(trim($propertyValue));\n                            $docProps->setCreated($creationDate);\n                            $docProps->setModified($creationDate);\n                            break;\n                        case 'user-defined':\n                            list(, $attrName) = explode(':', $attributes['name']);\n                            switch ($attrName) {\n                                case 'publisher':\n                                    $docProps->setCompany(trim($propertyValue));\n                                    break;\n                                case 'category':\n                                    $docProps->setCategory(trim($propertyValue));\n                                    break;\n                                case 'manager':\n                                    $docProps->setManager(trim($propertyValue));\n                                    break;\n                            }\n                            break;\n                    }\n                }\n            }\n        } elseif (isset($gnmXML->Summary)) {\n            foreach ($gnmXML->Summary->Item as $summaryItem) {\n                $propertyName = $summaryItem->name;\n                $propertyValue = $summaryItem->{'val-string'};\n                switch ($propertyName) {\n                    case 'title':\n                        $docProps->setTitle(trim($propertyValue));\n                        break;\n                    case 'comments':\n                        $docProps->setDescription(trim($propertyValue));\n                        break;\n                    case 'keywords':\n                        $docProps->setKeywords(trim($propertyValue));\n                        break;\n                    case 'category':\n                        $docProps->setCategory(trim($propertyValue));\n                        break;\n                    case 'manager':\n                        $docProps->setManager(trim($propertyValue));\n                        break;\n                    case 'author':\n                        $docProps->setCreator(trim($propertyValue));\n                        $docProps->setLastModifiedBy(trim($propertyValue));\n                        break;\n                    case 'company':\n                        $docProps->setCompany(trim($propertyValue));\n                        break;\n                }\n            }\n        }\n\n        $worksheetID = 0;\n        foreach ($gnmXML->Sheets->Sheet as $sheet) {\n            $worksheetName = (string) $sheet->Name;\n//            echo '<b>Worksheet: ', $worksheetName,'</b><br />';\n            if ((isset($this->loadSheetsOnly)) && (!in_array($worksheetName, $this->loadSheetsOnly))) {\n                continue;\n            }\n\n            $maxRow = $maxCol = 0;\n\n            // Create new Worksheet\n            $objPHPExcel->createSheet();\n            $objPHPExcel->setActiveSheetIndex($worksheetID);\n            //    Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in formula\n            //        cells... during the load, all formulae should be correct, and we're simply bringing the worksheet\n            //        name in line with the formula, not the reverse\n            $objPHPExcel->getActiveSheet()->setTitle($worksheetName, false);\n\n            if ((!$this->readDataOnly) && (isset($sheet->PrintInformation))) {\n                if (isset($sheet->PrintInformation->Margins)) {\n                    foreach ($sheet->PrintInformation->Margins->children('gnm', true) as $key => $margin) {\n                        $marginAttributes = $margin->attributes();\n                        $marginSize = 72 / 100;    //    Default\n                        switch ($marginAttributes['PrefUnit']) {\n                            case 'mm':\n                                $marginSize = intval($marginAttributes['Points']) / 100;\n                                break;\n                        }\n                        switch ($key) {\n                            case 'top':\n                                $objPHPExcel->getActiveSheet()->getPageMargins()->setTop($marginSize);\n                                break;\n                            case 'bottom':\n                                $objPHPExcel->getActiveSheet()->getPageMargins()->setBottom($marginSize);\n                                break;\n                            case 'left':\n                                $objPHPExcel->getActiveSheet()->getPageMargins()->setLeft($marginSize);\n                                break;\n                            case 'right':\n                                $objPHPExcel->getActiveSheet()->getPageMargins()->setRight($marginSize);\n                                break;\n                            case 'header':\n                                $objPHPExcel->getActiveSheet()->getPageMargins()->setHeader($marginSize);\n                                break;\n                            case 'footer':\n                                $objPHPExcel->getActiveSheet()->getPageMargins()->setFooter($marginSize);\n                                break;\n                        }\n                    }\n                }\n            }\n\n            foreach ($sheet->Cells->Cell as $cell) {\n                $cellAttributes = $cell->attributes();\n                $row = (int) $cellAttributes->Row + 1;\n                $column = (int) $cellAttributes->Col;\n\n                if ($row > $maxRow) {\n                    $maxRow = $row;\n                }\n                if ($column > $maxCol) {\n                    $maxCol = $column;\n                }\n\n                $column = PHPExcel_Cell::stringFromColumnIndex($column);\n\n                // Read cell?\n                if ($this->getReadFilter() !== null) {\n                    if (!$this->getReadFilter()->readCell($column, $row, $worksheetName)) {\n                        continue;\n                    }\n                }\n\n                $ValueType = $cellAttributes->ValueType;\n                $ExprID = (string) $cellAttributes->ExprID;\n//                echo 'Cell ', $column, $row,'<br />';\n//                echo 'Type is ', $ValueType,'<br />';\n//                echo 'Value is ', $cell,'<br />';\n                $type = PHPExcel_Cell_DataType::TYPE_FORMULA;\n                if ($ExprID > '') {\n                    if (((string) $cell) > '') {\n                        $this->expressions[$ExprID] = array(\n                            'column'    => $cellAttributes->Col,\n                            'row'        => $cellAttributes->Row,\n                            'formula'    => (string) $cell\n                        );\n//                        echo 'NEW EXPRESSION ', $ExprID,'<br />';\n                    } else {\n                        $expression = $this->expressions[$ExprID];\n\n                        $cell = $this->referenceHelper->updateFormulaReferences(\n                            $expression['formula'],\n                            'A1',\n                            $cellAttributes->Col - $expression['column'],\n                            $cellAttributes->Row - $expression['row'],\n                            $worksheetName\n                        );\n//                        echo 'SHARED EXPRESSION ', $ExprID,'<br />';\n//                        echo 'New Value is ', $cell,'<br />';\n                    }\n                    $type = PHPExcel_Cell_DataType::TYPE_FORMULA;\n                } else {\n                    switch ($ValueType) {\n                        case '10':        //    NULL\n                            $type = PHPExcel_Cell_DataType::TYPE_NULL;\n                            break;\n                        case '20':        //    Boolean\n                            $type = PHPExcel_Cell_DataType::TYPE_BOOL;\n                            $cell = ($cell == 'TRUE') ? true: false;\n                            break;\n                        case '30':        //    Integer\n                            $cell = intval($cell);\n                            // Excel 2007+ doesn't differentiate between integer and float, so set the value and dropthru to the next (numeric) case\n                        case '40':        //    Float\n                            $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                            break;\n                        case '50':        //    Error\n                            $type = PHPExcel_Cell_DataType::TYPE_ERROR;\n                            break;\n                        case '60':        //    String\n                            $type = PHPExcel_Cell_DataType::TYPE_STRING;\n                            break;\n                        case '70':        //    Cell Range\n                        case '80':        //    Array\n                    }\n                }\n                $objPHPExcel->getActiveSheet()->getCell($column.$row)->setValueExplicit($cell, $type);\n            }\n\n            if ((!$this->readDataOnly) && (isset($sheet->Objects))) {\n                foreach ($sheet->Objects->children('gnm', true) as $key => $comment) {\n                    $commentAttributes = $comment->attributes();\n                    //    Only comment objects are handled at the moment\n                    if ($commentAttributes->Text) {\n                        $objPHPExcel->getActiveSheet()->getComment((string)$commentAttributes->ObjectBound)->setAuthor((string)$commentAttributes->Author)->setText($this->parseRichText((string)$commentAttributes->Text));\n                    }\n                }\n            }\n//            echo '$maxCol=', $maxCol,'; $maxRow=', $maxRow,'<br />';\n//\n            foreach ($sheet->Styles->StyleRegion as $styleRegion) {\n                $styleAttributes = $styleRegion->attributes();\n                if (($styleAttributes['startRow'] <= $maxRow) &&\n                    ($styleAttributes['startCol'] <= $maxCol)) {\n                    $startColumn = PHPExcel_Cell::stringFromColumnIndex((int) $styleAttributes['startCol']);\n                    $startRow = $styleAttributes['startRow'] + 1;\n\n                    $endColumn = ($styleAttributes['endCol'] > $maxCol) ? $maxCol : (int) $styleAttributes['endCol'];\n                    $endColumn = PHPExcel_Cell::stringFromColumnIndex($endColumn);\n                    $endRow = ($styleAttributes['endRow'] > $maxRow) ? $maxRow : $styleAttributes['endRow'];\n                    $endRow += 1;\n                    $cellRange = $startColumn.$startRow.':'.$endColumn.$endRow;\n//                    echo $cellRange,'<br />';\n\n                    $styleAttributes = $styleRegion->Style->attributes();\n//                    var_dump($styleAttributes);\n//                    echo '<br />';\n\n                    //    We still set the number format mask for date/time values, even if readDataOnly is true\n                    if ((!$this->readDataOnly) ||\n                        (PHPExcel_Shared_Date::isDateTimeFormatCode((string) $styleAttributes['Format']))) {\n                        $styleArray = array();\n                        $styleArray['numberformat']['code'] = (string) $styleAttributes['Format'];\n                        //    If readDataOnly is false, we set all formatting information\n                        if (!$this->readDataOnly) {\n                            switch ($styleAttributes['HAlign']) {\n                                case '1':\n                                    $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL;\n                                    break;\n                                case '2':\n                                    $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_LEFT;\n                                    break;\n                                case '4':\n                                    $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_RIGHT;\n                                    break;\n                                case '8':\n                                    $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_CENTER;\n                                    break;\n                                case '16':\n                                case '64':\n                                    $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS;\n                                    break;\n                                case '32':\n                                    $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY;\n                                    break;\n                            }\n\n                            switch ($styleAttributes['VAlign']) {\n                                case '1':\n                                    $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_TOP;\n                                    break;\n                                case '2':\n                                    $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_BOTTOM;\n                                    break;\n                                case '4':\n                                    $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_CENTER;\n                                    break;\n                                case '8':\n                                    $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_JUSTIFY;\n                                    break;\n                            }\n\n                            $styleArray['alignment']['wrap'] = ($styleAttributes['WrapText'] == '1') ? true : false;\n                            $styleArray['alignment']['shrinkToFit'] = ($styleAttributes['ShrinkToFit'] == '1') ? true : false;\n                            $styleArray['alignment']['indent'] = (intval($styleAttributes[\"Indent\"]) > 0) ? $styleAttributes[\"indent\"] : 0;\n\n                            $RGB = self::parseGnumericColour($styleAttributes[\"Fore\"]);\n                            $styleArray['font']['color']['rgb'] = $RGB;\n                            $RGB = self::parseGnumericColour($styleAttributes[\"Back\"]);\n                            $shade = $styleAttributes[\"Shade\"];\n                            if (($RGB != '000000') || ($shade != '0')) {\n                                $styleArray['fill']['color']['rgb'] = $styleArray['fill']['startcolor']['rgb'] = $RGB;\n                                $RGB2 = self::parseGnumericColour($styleAttributes[\"PatternColor\"]);\n                                $styleArray['fill']['endcolor']['rgb'] = $RGB2;\n                                switch ($shade) {\n                                    case '1':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_SOLID;\n                                        break;\n                                    case '2':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR;\n                                        break;\n                                    case '3':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_GRADIENT_PATH;\n                                        break;\n                                    case '4':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN;\n                                        break;\n                                    case '5':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY;\n                                        break;\n                                    case '6':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID;\n                                        break;\n                                    case '7':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL;\n                                        break;\n                                    case '8':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS;\n                                        break;\n                                    case '9':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKUP;\n                                        break;\n                                    case '10':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL;\n                                        break;\n                                    case '11':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625;\n                                        break;\n                                    case '12':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_GRAY125;\n                                        break;\n                                    case '13':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN;\n                                        break;\n                                    case '14':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY;\n                                        break;\n                                    case '15':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID;\n                                        break;\n                                    case '16':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL;\n                                        break;\n                                    case '17':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS;\n                                        break;\n                                    case '18':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP;\n                                        break;\n                                    case '19':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL;\n                                        break;\n                                    case '20':\n                                        $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY;\n                                        break;\n                                }\n                            }\n\n                            $fontAttributes = $styleRegion->Style->Font->attributes();\n//                            var_dump($fontAttributes);\n//                            echo '<br />';\n                            $styleArray['font']['name'] = (string) $styleRegion->Style->Font;\n                            $styleArray['font']['size'] = intval($fontAttributes['Unit']);\n                            $styleArray['font']['bold'] = ($fontAttributes['Bold'] == '1') ? true : false;\n                            $styleArray['font']['italic'] = ($fontAttributes['Italic'] == '1') ? true : false;\n                            $styleArray['font']['strike'] = ($fontAttributes['StrikeThrough'] == '1') ? true : false;\n                            switch ($fontAttributes['Underline']) {\n                                case '1':\n                                    $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_SINGLE;\n                                    break;\n                                case '2':\n                                    $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_DOUBLE;\n                                    break;\n                                case '3':\n                                    $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING;\n                                    break;\n                                case '4':\n                                    $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING;\n                                    break;\n                                default:\n                                    $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_NONE;\n                                    break;\n                            }\n                            switch ($fontAttributes['Script']) {\n                                case '1':\n                                    $styleArray['font']['superScript'] = true;\n                                    break;\n                                case '-1':\n                                    $styleArray['font']['subScript'] = true;\n                                    break;\n                            }\n\n                            if (isset($styleRegion->Style->StyleBorder)) {\n                                if (isset($styleRegion->Style->StyleBorder->Top)) {\n                                    $styleArray['borders']['top'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->Top->attributes());\n                                }\n                                if (isset($styleRegion->Style->StyleBorder->Bottom)) {\n                                    $styleArray['borders']['bottom'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->Bottom->attributes());\n                                }\n                                if (isset($styleRegion->Style->StyleBorder->Left)) {\n                                    $styleArray['borders']['left'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->Left->attributes());\n                                }\n                                if (isset($styleRegion->Style->StyleBorder->Right)) {\n                                    $styleArray['borders']['right'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->Right->attributes());\n                                }\n                                if ((isset($styleRegion->Style->StyleBorder->Diagonal)) && (isset($styleRegion->Style->StyleBorder->{'Rev-Diagonal'}))) {\n                                    $styleArray['borders']['diagonal'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->Diagonal->attributes());\n                                    $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_BOTH;\n                                } elseif (isset($styleRegion->Style->StyleBorder->Diagonal)) {\n                                    $styleArray['borders']['diagonal'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->Diagonal->attributes());\n                                    $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_UP;\n                                } elseif (isset($styleRegion->Style->StyleBorder->{'Rev-Diagonal'})) {\n                                    $styleArray['borders']['diagonal'] = self::parseBorderAttributes($styleRegion->Style->StyleBorder->{'Rev-Diagonal'}->attributes());\n                                    $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_DOWN;\n                                }\n                            }\n                            if (isset($styleRegion->Style->HyperLink)) {\n                                //    TO DO\n                                $hyperlink = $styleRegion->Style->HyperLink->attributes();\n                            }\n                        }\n//                        var_dump($styleArray);\n//                        echo '<br />';\n                        $objPHPExcel->getActiveSheet()->getStyle($cellRange)->applyFromArray($styleArray);\n                    }\n                }\n            }\n\n            if ((!$this->readDataOnly) && (isset($sheet->Cols))) {\n                //    Column Widths\n                $columnAttributes = $sheet->Cols->attributes();\n                $defaultWidth = $columnAttributes['DefaultSizePts']  / 5.4;\n                $c = 0;\n                foreach ($sheet->Cols->ColInfo as $columnOverride) {\n                    $columnAttributes = $columnOverride->attributes();\n                    $column = $columnAttributes['No'];\n                    $columnWidth = $columnAttributes['Unit']  / 5.4;\n                    $hidden = ((isset($columnAttributes['Hidden'])) && ($columnAttributes['Hidden'] == '1')) ? true : false;\n                    $columnCount = (isset($columnAttributes['Count'])) ? $columnAttributes['Count'] : 1;\n                    while ($c < $column) {\n                        $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($defaultWidth);\n                        ++$c;\n                    }\n                    while (($c < ($column+$columnCount)) && ($c <= $maxCol)) {\n                        $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($columnWidth);\n                        if ($hidden) {\n                            $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setVisible(false);\n                        }\n                        ++$c;\n                    }\n                }\n                while ($c <= $maxCol) {\n                    $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($defaultWidth);\n                    ++$c;\n                }\n            }\n\n            if ((!$this->readDataOnly) && (isset($sheet->Rows))) {\n                //    Row Heights\n                $rowAttributes = $sheet->Rows->attributes();\n                $defaultHeight = $rowAttributes['DefaultSizePts'];\n                $r = 0;\n\n                foreach ($sheet->Rows->RowInfo as $rowOverride) {\n                    $rowAttributes = $rowOverride->attributes();\n                    $row = $rowAttributes['No'];\n                    $rowHeight = $rowAttributes['Unit'];\n                    $hidden = ((isset($rowAttributes['Hidden'])) && ($rowAttributes['Hidden'] == '1')) ? true : false;\n                    $rowCount = (isset($rowAttributes['Count'])) ? $rowAttributes['Count'] : 1;\n                    while ($r < $row) {\n                        ++$r;\n                        $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($defaultHeight);\n                    }\n                    while (($r < ($row+$rowCount)) && ($r < $maxRow)) {\n                        ++$r;\n                        $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($rowHeight);\n                        if ($hidden) {\n                            $objPHPExcel->getActiveSheet()->getRowDimension($r)->setVisible(false);\n                        }\n                    }\n                }\n                while ($r < $maxRow) {\n                    ++$r;\n                    $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($defaultHeight);\n                }\n            }\n\n            //    Handle Merged Cells in this worksheet\n            if (isset($sheet->MergedRegions)) {\n                foreach ($sheet->MergedRegions->Merge as $mergeCells) {\n                    if (strpos($mergeCells, ':') !== false) {\n                        $objPHPExcel->getActiveSheet()->mergeCells($mergeCells);\n                    }\n                }\n            }\n\n            $worksheetID++;\n        }\n\n        //    Loop through definedNames (global named ranges)\n        if (isset($gnmXML->Names)) {\n            foreach ($gnmXML->Names->Name as $namedRange) {\n                $name = (string) $namedRange->name;\n                $range = (string) $namedRange->value;\n                if (stripos($range, '#REF!') !== false) {\n                    continue;\n                }\n\n                $range = explode('!', $range);\n                $range[0] = trim($range[0], \"'\");\n                if ($worksheet = $objPHPExcel->getSheetByName($range[0])) {\n                    $extractedRange = str_replace('$', '', $range[1]);\n                    $objPHPExcel->addNamedRange(new PHPExcel_NamedRange($name, $worksheet, $extractedRange));\n                }\n            }\n        }\n\n        // Return\n        return $objPHPExcel;\n    }\n\n    private static function parseBorderAttributes($borderAttributes)\n    {\n        $styleArray = array();\n        if (isset($borderAttributes[\"Color\"])) {\n            $styleArray['color']['rgb'] = self::parseGnumericColour($borderAttributes[\"Color\"]);\n        }\n\n        switch ($borderAttributes[\"Style\"]) {\n            case '0':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_NONE;\n                break;\n            case '1':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                break;\n            case '2':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUM;\n                break;\n            case '3':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_SLANTDASHDOT;\n                break;\n            case '4':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHED;\n                break;\n            case '5':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_THICK;\n                break;\n            case '6':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_DOUBLE;\n                break;\n            case '7':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_DOTTED;\n                break;\n            case '8':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHED;\n                break;\n            case '9':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHDOT;\n                break;\n            case '10':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT;\n                break;\n            case '11':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHDOTDOT;\n                break;\n            case '12':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT;\n                break;\n            case '13':\n                $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT;\n                break;\n        }\n        return $styleArray;\n    }\n\n    private function parseRichText($is = '')\n    {\n        $value = new PHPExcel_RichText();\n        $value->createText($is);\n\n        return $value;\n    }\n\n    private static function parseGnumericColour($gnmColour)\n    {\n        list($gnmR, $gnmG, $gnmB) = explode(':', $gnmColour);\n        $gnmR = substr(str_pad($gnmR, 4, '0', STR_PAD_RIGHT), 0, 2);\n        $gnmG = substr(str_pad($gnmG, 4, '0', STR_PAD_RIGHT), 0, 2);\n        $gnmB = substr(str_pad($gnmB, 4, '0', STR_PAD_RIGHT), 0, 2);\n        return $gnmR . $gnmG . $gnmB;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/HTML.php",
    "content": "<?php\n\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_HTML\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n/** PHPExcel root directory */\nclass PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n\n    /**\n     * Input encoding\n     *\n     * @var string\n     */\n    protected $inputEncoding = 'ANSI';\n\n    /**\n     * Sheet index to read\n     *\n     * @var int\n     */\n    protected $sheetIndex = 0;\n\n    /**\n     * Formats\n     *\n     * @var array\n     */\n    protected $formats = array(\n        'h1' => array(\n            'font' => array(\n                'bold' => true,\n                'size' => 24,\n            ),\n        ), //    Bold, 24pt\n        'h2' => array(\n            'font' => array(\n                'bold' => true,\n                'size' => 18,\n            ),\n        ), //    Bold, 18pt\n        'h3' => array(\n            'font' => array(\n                'bold' => true,\n                'size' => 13.5,\n            ),\n        ), //    Bold, 13.5pt\n        'h4' => array(\n            'font' => array(\n                'bold' => true,\n                'size' => 12,\n            ),\n        ), //    Bold, 12pt\n        'h5' => array(\n            'font' => array(\n                'bold' => true,\n                'size' => 10,\n            ),\n        ), //    Bold, 10pt\n        'h6' => array(\n            'font' => array(\n                'bold' => true,\n                'size' => 7.5,\n            ),\n        ), //    Bold, 7.5pt\n        'a' => array(\n            'font' => array(\n                'underline' => true,\n                'color' => array(\n                    'argb' => PHPExcel_Style_Color::COLOR_BLUE,\n                ),\n            ),\n        ), //    Blue underlined\n        'hr' => array(\n            'borders' => array(\n                'bottom' => array(\n                    'style' => PHPExcel_Style_Border::BORDER_THIN,\n                    'color' => array(\n                        PHPExcel_Style_Color::COLOR_BLACK,\n                    ),\n                ),\n            ),\n        ), //    Bottom border\n    );\n\n    protected $rowspan = array();\n\n    /**\n     * Create a new PHPExcel_Reader_HTML\n     */\n    public function __construct()\n    {\n        $this->readFilter = new PHPExcel_Reader_DefaultReadFilter();\n    }\n\n    /**\n     * Validate that the current file is an HTML file\n     *\n     * @return boolean\n     */\n    protected function isValidFormat()\n    {\n        //    Reading 2048 bytes should be enough to validate that the format is HTML\n        $data = fread($this->fileHandle, 2048);\n        if ((strpos($data, '<') !== false) &&\n                (strlen($data) !== strlen(strip_tags($data)))) {\n            return true;\n        }\n\n        return false;\n    }\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param  string                    $pFilename\n     * @return PHPExcel\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Create new PHPExcel\n        $objPHPExcel = new PHPExcel();\n\n        // Load into this instance\n        return $this->loadIntoExisting($pFilename, $objPHPExcel);\n    }\n\n    /**\n     * Set input encoding\n     *\n     * @param string $pValue Input encoding\n     */\n    public function setInputEncoding($pValue = 'ANSI')\n    {\n        $this->inputEncoding = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get input encoding\n     *\n     * @return string\n     */\n    public function getInputEncoding()\n    {\n        return $this->inputEncoding;\n    }\n\n    //    Data Array used for testing only, should write to PHPExcel object on completion of tests\n    protected $dataArray = array();\n    protected $tableLevel = 0;\n    protected $nestedColumn = array('A');\n\n    protected function setTableStartColumn($column)\n    {\n        if ($this->tableLevel == 0) {\n            $column = 'A';\n        }\n        ++$this->tableLevel;\n        $this->nestedColumn[$this->tableLevel] = $column;\n\n        return $this->nestedColumn[$this->tableLevel];\n    }\n\n    protected function getTableStartColumn()\n    {\n        return $this->nestedColumn[$this->tableLevel];\n    }\n\n    protected function releaseTableStartColumn()\n    {\n        --$this->tableLevel;\n\n        return array_pop($this->nestedColumn);\n    }\n\n    protected function flushCell($sheet, $column, $row, &$cellContent)\n    {\n        if (is_string($cellContent)) {\n            //    Simple String content\n            if (trim($cellContent) > '') {\n                //    Only actually write it if there's content in the string\n//                echo 'FLUSH CELL: ' , $column , $row , ' => ' , $cellContent , '<br />';\n                //    Write to worksheet to be done here...\n                //    ... we return the cell so we can mess about with styles more easily\n                $sheet->setCellValue($column . $row, $cellContent, true);\n                $this->dataArray[$row][$column] = $cellContent;\n            }\n        } else {\n            //    We have a Rich Text run\n            //    TODO\n            $this->dataArray[$row][$column] = 'RICH TEXT: ' . $cellContent;\n        }\n        $cellContent = (string) '';\n    }\n\n    protected function processDomElement(DOMNode $element, $sheet, &$row, &$column, &$cellContent, $format = null)\n    {\n        foreach ($element->childNodes as $child) {\n            if ($child instanceof DOMText) {\n                $domText = preg_replace('/\\s+/u', ' ', trim($child->nodeValue));\n                if (is_string($cellContent)) {\n                    //    simply append the text if the cell content is a plain text string\n                    $cellContent .= $domText;\n                } else {\n                    //    but if we have a rich text run instead, we need to append it correctly\n                    //    TODO\n                }\n            } elseif ($child instanceof DOMElement) {\n//                echo '<b>DOM ELEMENT: </b>' , strtoupper($child->nodeName) , '<br />';\n\n                $attributeArray = array();\n                foreach ($child->attributes as $attribute) {\n//                    echo '<b>ATTRIBUTE: </b>' , $attribute->name , ' => ' , $attribute->value , '<br />';\n                    $attributeArray[$attribute->name] = $attribute->value;\n                }\n\n                switch ($child->nodeName) {\n                    case 'meta':\n                        foreach ($attributeArray as $attributeName => $attributeValue) {\n                            switch ($attributeName) {\n                                case 'content':\n                                    //    TODO\n                                    //    Extract character set, so we can convert to UTF-8 if required\n                                    break;\n                            }\n                        }\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                        break;\n                    case 'title':\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                        $sheet->setTitle($cellContent);\n                        $cellContent = '';\n                        break;\n                    case 'span':\n                    case 'div':\n                    case 'font':\n                    case 'i':\n                    case 'em':\n                    case 'strong':\n                    case 'b':\n//                        echo 'STYLING, SPAN OR DIV<br />';\n                        if ($cellContent > '') {\n                            $cellContent .= ' ';\n                        }\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                        if ($cellContent > '') {\n                            $cellContent .= ' ';\n                        }\n//                        echo 'END OF STYLING, SPAN OR DIV<br />';\n                        break;\n                    case 'hr':\n                        $this->flushCell($sheet, $column, $row, $cellContent);\n                        ++$row;\n                        if (isset($this->formats[$child->nodeName])) {\n                            $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]);\n                        } else {\n                            $cellContent = '----------';\n                            $this->flushCell($sheet, $column, $row, $cellContent);\n                        }\n                        ++$row;\n                        // Add a break after a horizontal rule, simply by allowing the code to dropthru\n                    case 'br':\n                        if ($this->tableLevel > 0) {\n                            //    If we're inside a table, replace with a \\n\n                            $cellContent .= \"\\n\";\n                        } else {\n                            //    Otherwise flush our existing content and move the row cursor on\n                            $this->flushCell($sheet, $column, $row, $cellContent);\n                            ++$row;\n                        }\n//                        echo 'HARD LINE BREAK: ' , '<br />';\n                        break;\n                    case 'a':\n//                        echo 'START OF HYPERLINK: ' , '<br />';\n                        foreach ($attributeArray as $attributeName => $attributeValue) {\n                            switch ($attributeName) {\n                                case 'href':\n//                                    echo 'Link to ' , $attributeValue , '<br />';\n                                    $sheet->getCell($column . $row)->getHyperlink()->setUrl($attributeValue);\n                                    if (isset($this->formats[$child->nodeName])) {\n                                        $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]);\n                                    }\n                                    break;\n                            }\n                        }\n                        $cellContent .= ' ';\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                        echo 'END OF HYPERLINK:' , '<br />';\n                        break;\n                    case 'h1':\n                    case 'h2':\n                    case 'h3':\n                    case 'h4':\n                    case 'h5':\n                    case 'h6':\n                    case 'ol':\n                    case 'ul':\n                    case 'p':\n                        if ($this->tableLevel > 0) {\n                            //    If we're inside a table, replace with a \\n\n                            $cellContent .= \"\\n\";\n//                            echo 'LIST ENTRY: ' , '<br />';\n                            $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                            echo 'END OF LIST ENTRY:' , '<br />';\n                        } else {\n                            if ($cellContent > '') {\n                                $this->flushCell($sheet, $column, $row, $cellContent);\n                                $row++;\n                            }\n//                            echo 'START OF PARAGRAPH: ' , '<br />';\n                            $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                            echo 'END OF PARAGRAPH:' , '<br />';\n                            $this->flushCell($sheet, $column, $row, $cellContent);\n\n                            if (isset($this->formats[$child->nodeName])) {\n                                $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]);\n                            }\n\n                            $row++;\n                            $column = 'A';\n                        }\n                        break;\n                    case 'li':\n                        if ($this->tableLevel > 0) {\n                            //    If we're inside a table, replace with a \\n\n                            $cellContent .= \"\\n\";\n//                            echo 'LIST ENTRY: ' , '<br />';\n                            $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                            echo 'END OF LIST ENTRY:' , '<br />';\n                        } else {\n                            if ($cellContent > '') {\n                                $this->flushCell($sheet, $column, $row, $cellContent);\n                            }\n                            ++$row;\n//                            echo 'LIST ENTRY: ' , '<br />';\n                            $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                            echo 'END OF LIST ENTRY:' , '<br />';\n                            $this->flushCell($sheet, $column, $row, $cellContent);\n                            $column = 'A';\n                        }\n                        break;\n                    case 'table':\n                        $this->flushCell($sheet, $column, $row, $cellContent);\n                        $column = $this->setTableStartColumn($column);\n//                        echo 'START OF TABLE LEVEL ' , $this->tableLevel , '<br />';\n                        if ($this->tableLevel > 1) {\n                            --$row;\n                        }\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                        echo 'END OF TABLE LEVEL ' , $this->tableLevel , '<br />';\n                        $column = $this->releaseTableStartColumn();\n                        if ($this->tableLevel > 1) {\n                            ++$column;\n                        } else {\n                            ++$row;\n                        }\n                        break;\n                    case 'thead':\n                    case 'tbody':\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                        break;\n                    case 'tr':\n                        $column = $this->getTableStartColumn();\n                        $cellContent = '';\n//                        echo 'START OF TABLE ' , $this->tableLevel , ' ROW<br />';\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                        ++$row;\n//                        echo 'END OF TABLE ' , $this->tableLevel , ' ROW<br />';\n                        break;\n                    case 'th':\n                    case 'td':\n//                        echo 'START OF TABLE ' , $this->tableLevel , ' CELL<br />';\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n//                        echo 'END OF TABLE ' , $this->tableLevel , ' CELL<br />';\n\n                        while (isset($this->rowspan[$column . $row])) {\n                            ++$column;\n                        }\n\n                        $this->flushCell($sheet, $column, $row, $cellContent);\n\n//                        if (isset($attributeArray['style']) && !empty($attributeArray['style'])) {\n//                            $styleAry = $this->getPhpExcelStyleArray($attributeArray['style']);\n//\n//                            if (!empty($styleAry)) {\n//                                $sheet->getStyle($column . $row)->applyFromArray($styleAry);\n//                            }\n//                        }\n\n                        if (isset($attributeArray['rowspan']) && isset($attributeArray['colspan'])) {\n                            //create merging rowspan and colspan\n                            $columnTo = $column;\n                            for ($i = 0; $i < $attributeArray['colspan'] - 1; $i++) {\n                                ++$columnTo;\n                            }\n                            $range = $column . $row . ':' . $columnTo . ($row + $attributeArray['rowspan'] - 1);\n                            foreach (\\PHPExcel_Cell::extractAllCellReferencesInRange($range) as $value) {\n                                $this->rowspan[$value] = true;\n                            }\n                            $sheet->mergeCells($range);\n                            $column = $columnTo;\n                        } elseif (isset($attributeArray['rowspan'])) {\n                            //create merging rowspan\n                            $range = $column . $row . ':' . $column . ($row + $attributeArray['rowspan'] - 1);\n                            foreach (\\PHPExcel_Cell::extractAllCellReferencesInRange($range) as $value) {\n                                $this->rowspan[$value] = true;\n                            }\n                            $sheet->mergeCells($range);\n                        } elseif (isset($attributeArray['colspan'])) {\n                            //create merging colspan\n                            $columnTo = $column;\n                            for ($i = 0; $i < $attributeArray['colspan'] - 1; $i++) {\n                                ++$columnTo;\n                            }\n                            $sheet->mergeCells($column . $row . ':' . $columnTo . $row);\n                            $column = $columnTo;\n                        }\n                        ++$column;\n                        break;\n                    case 'body':\n                        $row = 1;\n                        $column = 'A';\n                        $content = '';\n                        $this->tableLevel = 0;\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                        break;\n                    default:\n                        $this->processDomElement($child, $sheet, $row, $column, $cellContent);\n                }\n            }\n        }\n    }\n\n    /**\n     * Loads PHPExcel from file into PHPExcel instance\n     *\n     * @param  string                    $pFilename\n     * @param  PHPExcel                  $objPHPExcel\n     * @return PHPExcel\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)\n    {\n        // Open file to validate\n        $this->openFile($pFilename);\n        if (!$this->isValidFormat()) {\n            fclose($this->fileHandle);\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid HTML file.\");\n        }\n        //    Close after validating\n        fclose($this->fileHandle);\n\n        // Create new PHPExcel\n        while ($objPHPExcel->getSheetCount() <= $this->sheetIndex) {\n            $objPHPExcel->createSheet();\n        }\n        $objPHPExcel->setActiveSheetIndex($this->sheetIndex);\n\n        //    Create a new DOM object\n        $dom = new domDocument;\n        //    Reload the HTML file into the DOM object\n        $loaded = $dom->loadHTML(mb_convert_encoding($this->securityScanFile($pFilename), 'HTML-ENTITIES', 'UTF-8'));\n        if ($loaded === false) {\n            throw new PHPExcel_Reader_Exception('Failed to load ' . $pFilename . ' as a DOM Document');\n        }\n\n        //    Discard white space\n        $dom->preserveWhiteSpace = false;\n\n        $row = 0;\n        $column = 'A';\n        $content = '';\n        $this->processDomElement($dom, $objPHPExcel->getActiveSheet(), $row, $column, $content);\n\n        // Return\n        return $objPHPExcel;\n    }\n\n    /**\n     * Get sheet index\n     *\n     * @return int\n     */\n    public function getSheetIndex()\n    {\n        return $this->sheetIndex;\n    }\n\n    /**\n     * Set sheet index\n     *\n     * @param  int                  $pValue Sheet index\n     * @return PHPExcel_Reader_HTML\n     */\n    public function setSheetIndex($pValue = 0)\n    {\n        $this->sheetIndex = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks\n     *\n     * @param     string         $xml\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function securityScan($xml)\n    {\n        $pattern = '/\\\\0?' . implode('\\\\0?', str_split('<!ENTITY')) . '\\\\0?/';\n        if (preg_match($pattern, $xml)) {\n            throw new PHPExcel_Reader_Exception('Detected use of ENTITY in XML, spreadsheet file load() aborted to prevent XXE/XEE attacks');\n        }\n        return $xml;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/IReadFilter.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_IReadFilter\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\ninterface PHPExcel_Reader_IReadFilter\n{\n    /**\n     * Should this cell be read?\n     *\n     * @param    $column           Column address (as a string value like \"A\", or \"IV\")\n     * @param    $row              Row number\n     * @param    $worksheetName    Optional worksheet name\n     * @return   boolean\n     */\n    public function readCell($column, $row, $worksheetName = '');\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/IReader.php",
    "content": "<?php\n\n/**\n * PHPExcel_Reader_IReader\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\ninterface PHPExcel_Reader_IReader\n{\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return     boolean\n     */\n    public function canRead($pFilename);\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return  PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename);\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/OOCalc.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_OOCalc\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_OOCalc extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * Formats\n     *\n     * @var array\n     */\n    private $styles = array();\n\n    /**\n     * Create a new PHPExcel_Reader_OOCalc\n     */\n    public function __construct()\n    {\n        $this->readFilter     = new PHPExcel_Reader_DefaultReadFilter();\n    }\n\n    /**\n     * Can the current PHPExcel_Reader_IReader read the file?\n     *\n     * @param     string         $pFilename\n     * @return     boolean\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function canRead($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        // Check if zip class exists\n//        if (!class_exists($zipClass, false)) {\n//            throw new PHPExcel_Reader_Exception($zipClass . \" library is not enabled\");\n//        }\n\n        $mimeType = 'UNKNOWN';\n        // Load file\n        $zip = new $zipClass;\n        if ($zip->open($pFilename) === true) {\n            // check if it is an OOXML archive\n            $stat = $zip->statName('mimetype');\n            if ($stat && ($stat['size'] <= 255)) {\n                $mimeType = $zip->getFromName($stat['name']);\n            } elseif ($stat = $zip->statName('META-INF/manifest.xml')) {\n                $xml = simplexml_load_string($this->securityScan($zip->getFromName('META-INF/manifest.xml')), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n                $namespacesContent = $xml->getNamespaces(true);\n                if (isset($namespacesContent['manifest'])) {\n                    $manifest = $xml->children($namespacesContent['manifest']);\n                    foreach ($manifest as $manifestDataSet) {\n                        $manifestAttributes = $manifestDataSet->attributes($namespacesContent['manifest']);\n                        if ($manifestAttributes->{'full-path'} == '/') {\n                            $mimeType = (string) $manifestAttributes->{'media-type'};\n                            break;\n                        }\n                    }\n                }\n            }\n\n            $zip->close();\n\n            return ($mimeType === 'application/vnd.oasis.opendocument.spreadsheet');\n        }\n\n        return false;\n    }\n\n\n    /**\n     * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object\n     *\n     * @param     string         $pFilename\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function listWorksheetNames($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        $zip = new $zipClass;\n        if (!$zip->open($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! Error opening file.\");\n        }\n\n        $worksheetNames = array();\n\n        $xml = new XMLReader();\n        $res = $xml->xml($this->securityScanFile('zip://'.realpath($pFilename).'#content.xml'), null, PHPExcel_Settings::getLibXmlLoaderOptions());\n        $xml->setParserProperty(2, true);\n\n        //    Step into the first level of content of the XML\n        $xml->read();\n        while ($xml->read()) {\n            //    Quickly jump through to the office:body node\n            while ($xml->name !== 'office:body') {\n                if ($xml->isEmptyElement) {\n                    $xml->read();\n                } else {\n                    $xml->next();\n                }\n            }\n            //    Now read each node until we find our first table:table node\n            while ($xml->read()) {\n                if ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT) {\n                    //    Loop through each table:table node reading the table:name attribute for each worksheet name\n                    do {\n                        $worksheetNames[] = $xml->getAttribute('table:name');\n                        $xml->next();\n                    } while ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT);\n                }\n            }\n        }\n\n        return $worksheetNames;\n    }\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param   string     $pFilename\n     * @throws   PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $worksheetInfo = array();\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        $zip = new $zipClass;\n        if (!$zip->open($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! Error opening file.\");\n        }\n\n        $xml = new XMLReader();\n        $res = $xml->xml($this->securityScanFile('zip://'.realpath($pFilename).'#content.xml'), null, PHPExcel_Settings::getLibXmlLoaderOptions());\n        $xml->setParserProperty(2, true);\n\n        //    Step into the first level of content of the XML\n        $xml->read();\n        while ($xml->read()) {\n            //    Quickly jump through to the office:body node\n            while ($xml->name !== 'office:body') {\n                if ($xml->isEmptyElement) {\n                    $xml->read();\n                } else {\n                    $xml->next();\n                }\n            }\n                //    Now read each node until we find our first table:table node\n            while ($xml->read()) {\n                if ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT) {\n                    $worksheetNames[] = $xml->getAttribute('table:name');\n\n                    $tmpInfo = array(\n                        'worksheetName' => $xml->getAttribute('table:name'),\n                        'lastColumnLetter' => 'A',\n                        'lastColumnIndex' => 0,\n                        'totalRows' => 0,\n                        'totalColumns' => 0,\n                    );\n\n                    //    Loop through each child node of the table:table element reading\n                    $currCells = 0;\n                    do {\n                        $xml->read();\n                        if ($xml->name == 'table:table-row' && $xml->nodeType == XMLReader::ELEMENT) {\n                            $rowspan = $xml->getAttribute('table:number-rows-repeated');\n                            $rowspan = empty($rowspan) ? 1 : $rowspan;\n                            $tmpInfo['totalRows'] += $rowspan;\n                            $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'], $currCells);\n                            $currCells = 0;\n                            //    Step into the row\n                            $xml->read();\n                            do {\n                                if ($xml->name == 'table:table-cell' && $xml->nodeType == XMLReader::ELEMENT) {\n                                    if (!$xml->isEmptyElement) {\n                                        $currCells++;\n                                        $xml->next();\n                                    } else {\n                                        $xml->read();\n                                    }\n                                } elseif ($xml->name == 'table:covered-table-cell' && $xml->nodeType == XMLReader::ELEMENT) {\n                                    $mergeSize = $xml->getAttribute('table:number-columns-repeated');\n                                    $currCells += $mergeSize;\n                                    $xml->read();\n                                }\n                            } while ($xml->name != 'table:table-row');\n                        }\n                    } while ($xml->name != 'table:table');\n\n                    $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'], $currCells);\n                    $tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1;\n                    $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']);\n                    $worksheetInfo[] = $tmpInfo;\n                }\n            }\n\n//                foreach ($workbookData->table as $worksheetDataSet) {\n//                    $worksheetData = $worksheetDataSet->children($namespacesContent['table']);\n//                    $worksheetDataAttributes = $worksheetDataSet->attributes($namespacesContent['table']);\n//\n//                    $rowIndex = 0;\n//                    foreach ($worksheetData as $key => $rowData) {\n//                        switch ($key) {\n//                            case 'table-row' :\n//                                $rowDataTableAttributes = $rowData->attributes($namespacesContent['table']);\n//                                $rowRepeats = (isset($rowDataTableAttributes['number-rows-repeated'])) ?\n//                                        $rowDataTableAttributes['number-rows-repeated'] : 1;\n//                                $columnIndex = 0;\n//\n//                                foreach ($rowData as $key => $cellData) {\n//                                    $cellDataTableAttributes = $cellData->attributes($namespacesContent['table']);\n//                                    $colRepeats = (isset($cellDataTableAttributes['number-columns-repeated'])) ?\n//                                        $cellDataTableAttributes['number-columns-repeated'] : 1;\n//                                    $cellDataOfficeAttributes = $cellData->attributes($namespacesContent['office']);\n//                                    if (isset($cellDataOfficeAttributes['value-type'])) {\n//                                        $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex + $colRepeats - 1);\n//                                        $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex + $rowRepeats);\n//                                    }\n//                                    $columnIndex += $colRepeats;\n//                                }\n//                                $rowIndex += $rowRepeats;\n//                                break;\n//                        }\n//                    }\n//\n//                    $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']);\n//                    $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1;\n//\n//                }\n//            }\n        }\n\n        return $worksheetInfo;\n    }\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Create new PHPExcel\n        $objPHPExcel = new PHPExcel();\n\n        // Load into this instance\n        return $this->loadIntoExisting($pFilename, $objPHPExcel);\n    }\n\n    private static function identifyFixedStyleValue($styleList, &$styleAttributeValue)\n    {\n        $styleAttributeValue = strtolower($styleAttributeValue);\n        foreach ($styleList as $style) {\n            if ($styleAttributeValue == strtolower($style)) {\n                $styleAttributeValue = $style;\n                return true;\n            }\n        }\n        return false;\n    }\n\n    /**\n     * Loads PHPExcel from file into PHPExcel instance\n     *\n     * @param     string         $pFilename\n     * @param    PHPExcel    $objPHPExcel\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)\n    {\n        // Check if file exists\n        if (!file_exists($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! File does not exist.\");\n        }\n\n        $timezoneObj = new DateTimeZone('Europe/London');\n        $GMT = new DateTimeZone('UTC');\n\n        $zipClass = PHPExcel_Settings::getZipClass();\n\n        $zip = new $zipClass;\n        if (!$zip->open($pFilename)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $pFilename . \" for reading! Error opening file.\");\n        }\n\n//        echo '<h1>Meta Information</h1>';\n        $xml = simplexml_load_string($this->securityScan($zip->getFromName(\"meta.xml\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n        $namespacesMeta = $xml->getNamespaces(true);\n//        echo '<pre>';\n//        print_r($namespacesMeta);\n//        echo '</pre><hr />';\n\n        $docProps = $objPHPExcel->getProperties();\n        $officeProperty = $xml->children($namespacesMeta['office']);\n        foreach ($officeProperty as $officePropertyData) {\n            $officePropertyDC = array();\n            if (isset($namespacesMeta['dc'])) {\n                $officePropertyDC = $officePropertyData->children($namespacesMeta['dc']);\n            }\n            foreach ($officePropertyDC as $propertyName => $propertyValue) {\n                $propertyValue = (string) $propertyValue;\n                switch ($propertyName) {\n                    case 'title':\n                        $docProps->setTitle($propertyValue);\n                        break;\n                    case 'subject':\n                        $docProps->setSubject($propertyValue);\n                        break;\n                    case 'creator':\n                        $docProps->setCreator($propertyValue);\n                        $docProps->setLastModifiedBy($propertyValue);\n                        break;\n                    case 'date':\n                        $creationDate = strtotime($propertyValue);\n                        $docProps->setCreated($creationDate);\n                        $docProps->setModified($creationDate);\n                        break;\n                    case 'description':\n                        $docProps->setDescription($propertyValue);\n                        break;\n                }\n            }\n            $officePropertyMeta = array();\n            if (isset($namespacesMeta['dc'])) {\n                $officePropertyMeta = $officePropertyData->children($namespacesMeta['meta']);\n            }\n            foreach ($officePropertyMeta as $propertyName => $propertyValue) {\n                $propertyValueAttributes = $propertyValue->attributes($namespacesMeta['meta']);\n                $propertyValue = (string) $propertyValue;\n                switch ($propertyName) {\n                    case 'initial-creator':\n                        $docProps->setCreator($propertyValue);\n                        break;\n                    case 'keyword':\n                        $docProps->setKeywords($propertyValue);\n                        break;\n                    case 'creation-date':\n                        $creationDate = strtotime($propertyValue);\n                        $docProps->setCreated($creationDate);\n                        break;\n                    case 'user-defined':\n                        $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING;\n                        foreach ($propertyValueAttributes as $key => $value) {\n                            if ($key == 'name') {\n                                $propertyValueName = (string) $value;\n                            } elseif ($key == 'value-type') {\n                                switch ($value) {\n                                    case 'date':\n                                        $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue, 'date');\n                                        $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE;\n                                        break;\n                                    case 'boolean':\n                                        $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue, 'bool');\n                                        $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN;\n                                        break;\n                                    case 'float':\n                                        $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue, 'r4');\n                                        $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_FLOAT;\n                                        break;\n                                    default:\n                                        $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING;\n                                }\n                            }\n                        }\n                        $docProps->setCustomProperty($propertyValueName, $propertyValue, $propertyValueType);\n                        break;\n                }\n            }\n        }\n\n\n//        echo '<h1>Workbook Content</h1>';\n        $xml = simplexml_load_string($this->securityScan($zip->getFromName(\"content.xml\")), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions());\n        $namespacesContent = $xml->getNamespaces(true);\n//        echo '<pre>';\n//        print_r($namespacesContent);\n//        echo '</pre><hr />';\n\n        $workbook = $xml->children($namespacesContent['office']);\n        foreach ($workbook->body->spreadsheet as $workbookData) {\n            $workbookData = $workbookData->children($namespacesContent['table']);\n            $worksheetID = 0;\n            foreach ($workbookData->table as $worksheetDataSet) {\n                $worksheetData = $worksheetDataSet->children($namespacesContent['table']);\n//                print_r($worksheetData);\n//                echo '<br />';\n                $worksheetDataAttributes = $worksheetDataSet->attributes($namespacesContent['table']);\n//                print_r($worksheetDataAttributes);\n//                echo '<br />';\n                if ((isset($this->loadSheetsOnly)) && (isset($worksheetDataAttributes['name'])) &&\n                    (!in_array($worksheetDataAttributes['name'], $this->loadSheetsOnly))) {\n                    continue;\n                }\n\n//                echo '<h2>Worksheet '.$worksheetDataAttributes['name'].'</h2>';\n                // Create new Worksheet\n                $objPHPExcel->createSheet();\n                $objPHPExcel->setActiveSheetIndex($worksheetID);\n                if (isset($worksheetDataAttributes['name'])) {\n                    $worksheetName = (string) $worksheetDataAttributes['name'];\n                    //    Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in\n                    //        formula cells... during the load, all formulae should be correct, and we're simply\n                    //        bringing the worksheet name in line with the formula, not the reverse\n                    $objPHPExcel->getActiveSheet()->setTitle($worksheetName, false);\n                }\n\n                $rowID = 1;\n                foreach ($worksheetData as $key => $rowData) {\n//                    echo '<b>'.$key.'</b><br />';\n                    switch ($key) {\n                        case 'table-header-rows':\n                            foreach ($rowData as $key => $cellData) {\n                                $rowData = $cellData;\n                                break;\n                            }\n                        case 'table-row':\n                            $rowDataTableAttributes = $rowData->attributes($namespacesContent['table']);\n                            $rowRepeats = (isset($rowDataTableAttributes['number-rows-repeated'])) ? $rowDataTableAttributes['number-rows-repeated'] : 1;\n                            $columnID = 'A';\n                            foreach ($rowData as $key => $cellData) {\n                                if ($this->getReadFilter() !== null) {\n                                    if (!$this->getReadFilter()->readCell($columnID, $rowID, $worksheetName)) {\n                                        continue;\n                                    }\n                                }\n\n//                                echo '<b>'.$columnID.$rowID.'</b><br />';\n                                $cellDataText = (isset($namespacesContent['text'])) ? $cellData->children($namespacesContent['text']) : '';\n                                $cellDataOffice = $cellData->children($namespacesContent['office']);\n                                $cellDataOfficeAttributes = $cellData->attributes($namespacesContent['office']);\n                                $cellDataTableAttributes = $cellData->attributes($namespacesContent['table']);\n\n//                                echo 'Office Attributes: ';\n//                                print_r($cellDataOfficeAttributes);\n//                                echo '<br />Table Attributes: ';\n//                                print_r($cellDataTableAttributes);\n//                                echo '<br />Cell Data Text';\n//                                print_r($cellDataText);\n//                                echo '<br />';\n//\n                                $type = $formatting = $hyperlink = null;\n                                $hasCalculatedValue = false;\n                                $cellDataFormula = '';\n                                if (isset($cellDataTableAttributes['formula'])) {\n                                    $cellDataFormula = $cellDataTableAttributes['formula'];\n                                    $hasCalculatedValue = true;\n                                }\n\n                                if (isset($cellDataOffice->annotation)) {\n//                                    echo 'Cell has comment<br />';\n                                    $annotationText = $cellDataOffice->annotation->children($namespacesContent['text']);\n                                    $textArray = array();\n                                    foreach ($annotationText as $t) {\n                                        if (isset($t->span)) {\n                                            foreach ($t->span as $text) {\n                                                $textArray[] = (string)$text;\n                                            }\n                                        } else {\n                                            $textArray[] = (string) $t;\n                                        }\n                                    }\n                                    $text = implode(\"\\n\", $textArray);\n//                                    echo $text, '<br />';\n                                    $objPHPExcel->getActiveSheet()->getComment($columnID.$rowID)->setText($this->parseRichText($text));\n//                                                                    ->setAuthor( $author )\n                                }\n\n                                if (isset($cellDataText->p)) {\n                                    // Consolidate if there are multiple p records (maybe with spans as well)\n                                    $dataArray = array();\n                                    // Text can have multiple text:p and within those, multiple text:span.\n                                    // text:p newlines, but text:span does not.\n                                    // Also, here we assume there is no text data is span fields are specified, since\n                                    // we have no way of knowing proper positioning anyway.\n                                    foreach ($cellDataText->p as $pData) {\n                                        if (isset($pData->span)) {\n                                            // span sections do not newline, so we just create one large string here\n                                            $spanSection = \"\";\n                                            foreach ($pData->span as $spanData) {\n                                                $spanSection .= $spanData;\n                                            }\n                                            array_push($dataArray, $spanSection);\n                                        } else {\n                                            array_push($dataArray, $pData);\n                                        }\n                                    }\n                                    $allCellDataText = implode($dataArray, \"\\n\");\n\n//                                    echo 'Value Type is '.$cellDataOfficeAttributes['value-type'].'<br />';\n                                    switch ($cellDataOfficeAttributes['value-type']) {\n                                        case 'string':\n                                            $type = PHPExcel_Cell_DataType::TYPE_STRING;\n                                            $dataValue = $allCellDataText;\n                                            if (isset($dataValue->a)) {\n                                                $dataValue = $dataValue->a;\n                                                $cellXLinkAttributes = $dataValue->attributes($namespacesContent['xlink']);\n                                                $hyperlink = $cellXLinkAttributes['href'];\n                                            }\n                                            break;\n                                        case 'boolean':\n                                            $type = PHPExcel_Cell_DataType::TYPE_BOOL;\n                                            $dataValue = ($allCellDataText == 'TRUE') ? true : false;\n                                            break;\n                                        case 'percentage':\n                                            $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                            $dataValue = (float) $cellDataOfficeAttributes['value'];\n                                            if (floor($dataValue) == $dataValue) {\n                                                $dataValue = (integer) $dataValue;\n                                            }\n                                            $formatting = PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00;\n                                            break;\n                                        case 'currency':\n                                            $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                            $dataValue = (float) $cellDataOfficeAttributes['value'];\n                                            if (floor($dataValue) == $dataValue) {\n                                                $dataValue = (integer) $dataValue;\n                                            }\n                                            $formatting = PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE;\n                                            break;\n                                        case 'float':\n                                            $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                            $dataValue = (float) $cellDataOfficeAttributes['value'];\n                                            if (floor($dataValue) == $dataValue) {\n                                                if ($dataValue == (integer) $dataValue) {\n                                                    $dataValue = (integer) $dataValue;\n                                                } else {\n                                                    $dataValue = (float) $dataValue;\n                                                }\n                                            }\n                                            break;\n                                        case 'date':\n                                            $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                            $dateObj = new DateTime($cellDataOfficeAttributes['date-value'], $GMT);\n                                            $dateObj->setTimeZone($timezoneObj);\n                                            list($year, $month, $day, $hour, $minute, $second) = explode(' ', $dateObj->format('Y m d H i s'));\n                                            $dataValue = PHPExcel_Shared_Date::FormattedPHPToExcel($year, $month, $day, $hour, $minute, $second);\n                                            if ($dataValue != floor($dataValue)) {\n                                                $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15.' '.PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4;\n                                            } else {\n                                                $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15;\n                                            }\n                                            break;\n                                        case 'time':\n                                            $type = PHPExcel_Cell_DataType::TYPE_NUMERIC;\n                                            $dataValue = PHPExcel_Shared_Date::PHPToExcel(strtotime('01-01-1970 '.implode(':', sscanf($cellDataOfficeAttributes['time-value'], 'PT%dH%dM%dS'))));\n                                            $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4;\n                                            break;\n                                    }\n//                                    echo 'Data value is '.$dataValue.'<br />';\n//                                    if ($hyperlink !== null) {\n//                                        echo 'Hyperlink is '.$hyperlink.'<br />';\n//                                    }\n                                } else {\n                                    $type = PHPExcel_Cell_DataType::TYPE_NULL;\n                                    $dataValue = null;\n                                }\n\n                                if ($hasCalculatedValue) {\n                                    $type = PHPExcel_Cell_DataType::TYPE_FORMULA;\n//                                    echo 'Formula: ', $cellDataFormula, PHP_EOL;\n                                    $cellDataFormula = substr($cellDataFormula, strpos($cellDataFormula, ':=')+1);\n                                    $temp = explode('\"', $cellDataFormula);\n                                    $tKey = false;\n                                    foreach ($temp as &$value) {\n                                        //    Only replace in alternate array entries (i.e. non-quoted blocks)\n                                        if ($tKey = !$tKey) {\n                                            $value = preg_replace('/\\[([^\\.]+)\\.([^\\.]+):\\.([^\\.]+)\\]/Ui', '$1!$2:$3', $value);    //  Cell range reference in another sheet\n                                            $value = preg_replace('/\\[([^\\.]+)\\.([^\\.]+)\\]/Ui', '$1!$2', $value);       //  Cell reference in another sheet\n                                            $value = preg_replace('/\\[\\.([^\\.]+):\\.([^\\.]+)\\]/Ui', '$1:$2', $value);    //  Cell range reference\n                                            $value = preg_replace('/\\[\\.([^\\.]+)\\]/Ui', '$1', $value);                  //  Simple cell reference\n                                            $value = PHPExcel_Calculation::translateSeparator(';', ',', $value, $inBraces);\n                                        }\n                                    }\n                                    unset($value);\n                                    //    Then rebuild the formula string\n                                    $cellDataFormula = implode('\"', $temp);\n//                                    echo 'Adjusted Formula: ', $cellDataFormula, PHP_EOL;\n                                }\n\n                                $colRepeats = (isset($cellDataTableAttributes['number-columns-repeated'])) ? $cellDataTableAttributes['number-columns-repeated'] : 1;\n                                if ($type !== null) {\n                                    for ($i = 0; $i < $colRepeats; ++$i) {\n                                        if ($i > 0) {\n                                            ++$columnID;\n                                        }\n                                        if ($type !== PHPExcel_Cell_DataType::TYPE_NULL) {\n                                            for ($rowAdjust = 0; $rowAdjust < $rowRepeats; ++$rowAdjust) {\n                                                $rID = $rowID + $rowAdjust;\n                                                $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->setValueExplicit((($hasCalculatedValue) ? $cellDataFormula : $dataValue), $type);\n                                                if ($hasCalculatedValue) {\n//                                                    echo 'Forumla result is '.$dataValue.'<br />';\n                                                    $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->setCalculatedValue($dataValue);\n                                                }\n                                                if ($formatting !== null) {\n                                                    $objPHPExcel->getActiveSheet()->getStyle($columnID.$rID)->getNumberFormat()->setFormatCode($formatting);\n                                                } else {\n                                                    $objPHPExcel->getActiveSheet()->getStyle($columnID.$rID)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_GENERAL);\n                                                }\n                                                if ($hyperlink !== null) {\n                                                    $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->getHyperlink()->setUrl($hyperlink);\n                                                }\n                                            }\n                                        }\n                                    }\n                                }\n\n                                //    Merged cells\n                                if ((isset($cellDataTableAttributes['number-columns-spanned'])) || (isset($cellDataTableAttributes['number-rows-spanned']))) {\n                                    if (($type !== PHPExcel_Cell_DataType::TYPE_NULL) || (!$this->readDataOnly)) {\n                                        $columnTo = $columnID;\n                                        if (isset($cellDataTableAttributes['number-columns-spanned'])) {\n                                            $columnTo = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($columnID) + $cellDataTableAttributes['number-columns-spanned'] -2);\n                                        }\n                                        $rowTo = $rowID;\n                                        if (isset($cellDataTableAttributes['number-rows-spanned'])) {\n                                            $rowTo = $rowTo + $cellDataTableAttributes['number-rows-spanned'] - 1;\n                                        }\n                                        $cellRange = $columnID.$rowID.':'.$columnTo.$rowTo;\n                                        $objPHPExcel->getActiveSheet()->mergeCells($cellRange);\n                                    }\n                                }\n\n                                ++$columnID;\n                            }\n                            $rowID += $rowRepeats;\n                            break;\n                    }\n                }\n                ++$worksheetID;\n            }\n        }\n\n        // Return\n        return $objPHPExcel;\n    }\n\n    private function parseRichText($is = '')\n    {\n        $value = new PHPExcel_RichText();\n\n        $value->createText($is);\n\n        return $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Reader/SYLK.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Reader_SYLK\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Reader\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader\n{\n    /**\n     * Input encoding\n     *\n     * @var string\n     */\n    private $inputEncoding = 'ANSI';\n\n    /**\n     * Sheet index to read\n     *\n     * @var int\n     */\n    private $sheetIndex = 0;\n\n    /**\n     * Formats\n     *\n     * @var array\n     */\n    private $formats = array();\n\n    /**\n     * Format Count\n     *\n     * @var int\n     */\n    private $format = 0;\n\n    /**\n     * Create a new PHPExcel_Reader_SYLK\n     */\n    public function __construct()\n    {\n        $this->readFilter = new PHPExcel_Reader_DefaultReadFilter();\n    }\n\n    /**\n     * Validate that the current file is a SYLK file\n     *\n     * @return boolean\n     */\n    protected function isValidFormat()\n    {\n        // Read sample data (first 2 KB will do)\n        $data = fread($this->fileHandle, 2048);\n\n        // Count delimiters in file\n        $delimiterCount = substr_count($data, ';');\n        if ($delimiterCount < 1) {\n            return false;\n        }\n\n        // Analyze first line looking for ID; signature\n        $lines = explode(\"\\n\", $data);\n        if (substr($lines[0], 0, 4) != 'ID;P') {\n            return false;\n        }\n\n        return true;\n    }\n\n    /**\n     * Set input encoding\n     *\n     * @param string $pValue Input encoding\n     */\n    public function setInputEncoding($pValue = 'ANSI')\n    {\n        $this->inputEncoding = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get input encoding\n     *\n     * @return string\n     */\n    public function getInputEncoding()\n    {\n        return $this->inputEncoding;\n    }\n\n    /**\n     * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)\n     *\n     * @param   string     $pFilename\n     * @throws   PHPExcel_Reader_Exception\n     */\n    public function listWorksheetInfo($pFilename)\n    {\n        // Open file\n        $this->openFile($pFilename);\n        if (!$this->isValidFormat()) {\n            fclose($this->fileHandle);\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid Spreadsheet file.\");\n        }\n        $fileHandle = $this->fileHandle;\n        rewind($fileHandle);\n\n        $worksheetInfo = array();\n        $worksheetInfo[0]['worksheetName'] = 'Worksheet';\n        $worksheetInfo[0]['lastColumnLetter'] = 'A';\n        $worksheetInfo[0]['lastColumnIndex'] = 0;\n        $worksheetInfo[0]['totalRows'] = 0;\n        $worksheetInfo[0]['totalColumns'] = 0;\n\n        // Loop through file\n        $rowData = array();\n\n        // loop through one row (line) at a time in the file\n        $rowIndex = 0;\n        while (($rowData = fgets($fileHandle)) !== false) {\n            $columnIndex = 0;\n\n            // convert SYLK encoded $rowData to UTF-8\n            $rowData = PHPExcel_Shared_String::SYLKtoUTF8($rowData);\n\n            // explode each row at semicolons while taking into account that literal semicolon (;)\n            // is escaped like this (;;)\n            $rowData = explode(\"\\t\", str_replace('¤', ';', str_replace(';', \"\\t\", str_replace(';;', '¤', rtrim($rowData)))));\n\n            $dataType = array_shift($rowData);\n            if ($dataType == 'C') {\n                //  Read cell value data\n                foreach ($rowData as $rowDatum) {\n                    switch ($rowDatum{0}) {\n                        case 'C':\n                        case 'X':\n                            $columnIndex = substr($rowDatum, 1) - 1;\n                            break;\n                        case 'R':\n                        case 'Y':\n                            $rowIndex = substr($rowDatum, 1);\n                            break;\n                    }\n\n                    $worksheetInfo[0]['totalRows'] = max($worksheetInfo[0]['totalRows'], $rowIndex);\n                    $worksheetInfo[0]['lastColumnIndex'] = max($worksheetInfo[0]['lastColumnIndex'], $columnIndex);\n                }\n            }\n        }\n\n        $worksheetInfo[0]['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($worksheetInfo[0]['lastColumnIndex']);\n        $worksheetInfo[0]['totalColumns'] = $worksheetInfo[0]['lastColumnIndex'] + 1;\n\n        // Close file\n        fclose($fileHandle);\n\n        return $worksheetInfo;\n    }\n\n    /**\n     * Loads PHPExcel from file\n     *\n     * @param     string         $pFilename\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function load($pFilename)\n    {\n        // Create new PHPExcel\n        $objPHPExcel = new PHPExcel();\n\n        // Load into this instance\n        return $this->loadIntoExisting($pFilename, $objPHPExcel);\n    }\n\n    /**\n     * Loads PHPExcel from file into PHPExcel instance\n     *\n     * @param     string         $pFilename\n     * @param    PHPExcel    $objPHPExcel\n     * @return     PHPExcel\n     * @throws     PHPExcel_Reader_Exception\n     */\n    public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel)\n    {\n        // Open file\n        $this->openFile($pFilename);\n        if (!$this->isValidFormat()) {\n            fclose($this->fileHandle);\n            throw new PHPExcel_Reader_Exception($pFilename . \" is an Invalid Spreadsheet file.\");\n        }\n        $fileHandle = $this->fileHandle;\n        rewind($fileHandle);\n\n        // Create new PHPExcel\n        while ($objPHPExcel->getSheetCount() <= $this->sheetIndex) {\n            $objPHPExcel->createSheet();\n        }\n        $objPHPExcel->setActiveSheetIndex($this->sheetIndex);\n\n        $fromFormats    = array('\\-',    '\\ ');\n        $toFormats        = array('-',    ' ');\n\n        // Loop through file\n        $rowData = array();\n        $column = $row = '';\n\n        // loop through one row (line) at a time in the file\n        while (($rowData = fgets($fileHandle)) !== false) {\n            // convert SYLK encoded $rowData to UTF-8\n            $rowData = PHPExcel_Shared_String::SYLKtoUTF8($rowData);\n\n            // explode each row at semicolons while taking into account that literal semicolon (;)\n            // is escaped like this (;;)\n            $rowData = explode(\"\\t\", str_replace('¤', ';', str_replace(';', \"\\t\", str_replace(';;', '¤', rtrim($rowData)))));\n\n            $dataType = array_shift($rowData);\n            //    Read shared styles\n            if ($dataType == 'P') {\n                $formatArray = array();\n                foreach ($rowData as $rowDatum) {\n                    switch ($rowDatum{0}) {\n                        case 'P':\n                            $formatArray['numberformat']['code'] = str_replace($fromFormats, $toFormats, substr($rowDatum, 1));\n                            break;\n                        case 'E':\n                        case 'F':\n                            $formatArray['font']['name'] = substr($rowDatum, 1);\n                            break;\n                        case 'L':\n                            $formatArray['font']['size'] = substr($rowDatum, 1);\n                            break;\n                        case 'S':\n                            $styleSettings = substr($rowDatum, 1);\n                            for ($i=0; $i<strlen($styleSettings); ++$i) {\n                                switch ($styleSettings{$i}) {\n                                    case 'I':\n                                        $formatArray['font']['italic'] = true;\n                                        break;\n                                    case 'D':\n                                        $formatArray['font']['bold'] = true;\n                                        break;\n                                    case 'T':\n                                        $formatArray['borders']['top']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                    case 'B':\n                                        $formatArray['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                    case 'L':\n                                        $formatArray['borders']['left']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                    case 'R':\n                                        $formatArray['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                }\n                            }\n                            break;\n                    }\n                }\n                $this->formats['P'.$this->format++] = $formatArray;\n            //    Read cell value data\n            } elseif ($dataType == 'C') {\n                $hasCalculatedValue = false;\n                $cellData = $cellDataFormula = '';\n                foreach ($rowData as $rowDatum) {\n                    switch ($rowDatum{0}) {\n                        case 'C':\n                        case 'X':\n                            $column = substr($rowDatum, 1);\n                            break;\n                        case 'R':\n                        case 'Y':\n                            $row = substr($rowDatum, 1);\n                            break;\n                        case 'K':\n                            $cellData = substr($rowDatum, 1);\n                            break;\n                        case 'E':\n                            $cellDataFormula = '='.substr($rowDatum, 1);\n                            //    Convert R1C1 style references to A1 style references (but only when not quoted)\n                            $temp = explode('\"', $cellDataFormula);\n                            $key = false;\n                            foreach ($temp as &$value) {\n                                //    Only count/replace in alternate array entries\n                                if ($key = !$key) {\n                                    preg_match_all('/(R(\\[?-?\\d*\\]?))(C(\\[?-?\\d*\\]?))/', $value, $cellReferences, PREG_SET_ORDER+PREG_OFFSET_CAPTURE);\n                                    //    Reverse the matches array, otherwise all our offsets will become incorrect if we modify our way\n                                    //        through the formula from left to right. Reversing means that we work right to left.through\n                                    //        the formula\n                                    $cellReferences = array_reverse($cellReferences);\n                                    //    Loop through each R1C1 style reference in turn, converting it to its A1 style equivalent,\n                                    //        then modify the formula to use that new reference\n                                    foreach ($cellReferences as $cellReference) {\n                                        $rowReference = $cellReference[2][0];\n                                        //    Empty R reference is the current row\n                                        if ($rowReference == '') {\n                                            $rowReference = $row;\n                                        }\n                                        //    Bracketed R references are relative to the current row\n                                        if ($rowReference{0} == '[') {\n                                            $rowReference = $row + trim($rowReference, '[]');\n                                        }\n                                        $columnReference = $cellReference[4][0];\n                                        //    Empty C reference is the current column\n                                        if ($columnReference == '') {\n                                            $columnReference = $column;\n                                        }\n                                        //    Bracketed C references are relative to the current column\n                                        if ($columnReference{0} == '[') {\n                                            $columnReference = $column + trim($columnReference, '[]');\n                                        }\n                                        $A1CellReference = PHPExcel_Cell::stringFromColumnIndex($columnReference-1).$rowReference;\n\n                                        $value = substr_replace($value, $A1CellReference, $cellReference[0][1], strlen($cellReference[0][0]));\n                                    }\n                                }\n                            }\n                            unset($value);\n                            //    Then rebuild the formula string\n                            $cellDataFormula = implode('\"', $temp);\n                            $hasCalculatedValue = true;\n                            break;\n                    }\n                }\n                $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1);\n                $cellData = PHPExcel_Calculation::unwrapResult($cellData);\n\n                // Set cell value\n                $objPHPExcel->getActiveSheet()->getCell($columnLetter.$row)->setValue(($hasCalculatedValue) ? $cellDataFormula : $cellData);\n                if ($hasCalculatedValue) {\n                    $cellData = PHPExcel_Calculation::unwrapResult($cellData);\n                    $objPHPExcel->getActiveSheet()->getCell($columnLetter.$row)->setCalculatedValue($cellData);\n                }\n            //    Read cell formatting\n            } elseif ($dataType == 'F') {\n                $formatStyle = $columnWidth = $styleSettings = '';\n                $styleData = array();\n                foreach ($rowData as $rowDatum) {\n                    switch ($rowDatum{0}) {\n                        case 'C':\n                        case 'X':\n                            $column = substr($rowDatum, 1);\n                            break;\n                        case 'R':\n                        case 'Y':\n                            $row = substr($rowDatum, 1);\n                            break;\n                        case 'P':\n                            $formatStyle = $rowDatum;\n                            break;\n                        case 'W':\n                            list($startCol, $endCol, $columnWidth) = explode(' ', substr($rowDatum, 1));\n                            break;\n                        case 'S':\n                            $styleSettings = substr($rowDatum, 1);\n                            for ($i=0; $i<strlen($styleSettings); ++$i) {\n                                switch ($styleSettings{$i}) {\n                                    case 'I':\n                                        $styleData['font']['italic'] = true;\n                                        break;\n                                    case 'D':\n                                        $styleData['font']['bold'] = true;\n                                        break;\n                                    case 'T':\n                                        $styleData['borders']['top']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                    case 'B':\n                                        $styleData['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                    case 'L':\n                                        $styleData['borders']['left']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                    case 'R':\n                                        $styleData['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN;\n                                        break;\n                                }\n                            }\n                            break;\n                    }\n                }\n                if (($formatStyle > '') && ($column > '') && ($row > '')) {\n                    $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1);\n                    if (isset($this->formats[$formatStyle])) {\n                        $objPHPExcel->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($this->formats[$formatStyle]);\n                    }\n                }\n                if ((!empty($styleData)) && ($column > '') && ($row > '')) {\n                    $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1);\n                    $objPHPExcel->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($styleData);\n                }\n                if ($columnWidth > '') {\n                    if ($startCol == $endCol) {\n                        $startCol = PHPExcel_Cell::stringFromColumnIndex($startCol-1);\n                        $objPHPExcel->getActiveSheet()->getColumnDimension($startCol)->setWidth($columnWidth);\n                    } else {\n                        $startCol = PHPExcel_Cell::stringFromColumnIndex($startCol-1);\n                        $endCol = PHPExcel_Cell::stringFromColumnIndex($endCol-1);\n                        $objPHPExcel->getActiveSheet()->getColumnDimension($startCol)->setWidth($columnWidth);\n                        do {\n                            $objPHPExcel->getActiveSheet()->getColumnDimension(++$startCol)->setWidth($columnWidth);\n                        } while ($startCol != $endCol);\n                    }\n                }\n            } else {\n                foreach ($rowData as $rowDatum) {\n                    switch ($rowDatum{0}) {\n                        case 'C':\n                        case 'X':\n                            $column = substr($rowDatum, 1);\n                            break;\n                        case 'R':\n                        case 'Y':\n                            $row = substr($rowDatum, 1);\n                            break;\n                    }\n                }\n            }\n        }\n\n        // Close file\n        fclose($fileHandle);\n\n        // Return\n        return $objPHPExcel;\n    }\n\n    /**\n     * Get sheet index\n     *\n     * @return int\n     */\n    public function getSheetIndex()\n    {\n        return $this->sheetIndex;\n    }\n\n    /**\n     * Set sheet index\n     *\n     * @param    int        $pValue        Sheet index\n     * @return PHPExcel_Reader_SYLK\n     */\n    public function setSheetIndex($pValue = 0)\n    {\n        $this->sheetIndex = $pValue;\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/ReferenceHelper.php",
    "content": "<?php\n\n/**\n * PHPExcel_ReferenceHelper (Singleton)\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_ReferenceHelper\n{\n    /**    Constants                */\n    /**    Regular Expressions      */\n    const REFHELPER_REGEXP_CELLREF      = '((\\w*|\\'[^!]*\\')!)?(?<![:a-z\\$])(\\$?[a-z]{1,3}\\$?\\d+)(?=[^:!\\d\\'])';\n    const REFHELPER_REGEXP_CELLRANGE    = '((\\w*|\\'[^!]*\\')!)?(\\$?[a-z]{1,3}\\$?\\d+):(\\$?[a-z]{1,3}\\$?\\d+)';\n    const REFHELPER_REGEXP_ROWRANGE     = '((\\w*|\\'[^!]*\\')!)?(\\$?\\d+):(\\$?\\d+)';\n    const REFHELPER_REGEXP_COLRANGE     = '((\\w*|\\'[^!]*\\')!)?(\\$?[a-z]{1,3}):(\\$?[a-z]{1,3})';\n\n    /**\n     * Instance of this class\n     *\n     * @var PHPExcel_ReferenceHelper\n     */\n    private static $instance;\n\n    /**\n     * Get an instance of this class\n     *\n     * @return PHPExcel_ReferenceHelper\n     */\n    public static function getInstance()\n    {\n        if (!isset(self::$instance) || (self::$instance === null)) {\n            self::$instance = new PHPExcel_ReferenceHelper();\n        }\n\n        return self::$instance;\n    }\n\n    /**\n     * Create a new PHPExcel_ReferenceHelper\n     */\n    protected function __construct()\n    {\n    }\n\n    /**\n     * Compare two column addresses\n     * Intended for use as a Callback function for sorting column addresses by column\n     *\n     * @param   string   $a  First column to test (e.g. 'AA')\n     * @param   string   $b  Second column to test (e.g. 'Z')\n     * @return  integer\n     */\n    public static function columnSort($a, $b)\n    {\n        return strcasecmp(strlen($a) . $a, strlen($b) . $b);\n    }\n\n    /**\n     * Compare two column addresses\n     * Intended for use as a Callback function for reverse sorting column addresses by column\n     *\n     * @param   string   $a  First column to test (e.g. 'AA')\n     * @param   string   $b  Second column to test (e.g. 'Z')\n     * @return  integer\n     */\n    public static function columnReverseSort($a, $b)\n    {\n        return 1 - strcasecmp(strlen($a) . $a, strlen($b) . $b);\n    }\n\n    /**\n     * Compare two cell addresses\n     * Intended for use as a Callback function for sorting cell addresses by column and row\n     *\n     * @param   string   $a  First cell to test (e.g. 'AA1')\n     * @param   string   $b  Second cell to test (e.g. 'Z1')\n     * @return  integer\n     */\n    public static function cellSort($a, $b)\n    {\n        sscanf($a, '%[A-Z]%d', $ac, $ar);\n        sscanf($b, '%[A-Z]%d', $bc, $br);\n\n        if ($ar == $br) {\n            return strcasecmp(strlen($ac) . $ac, strlen($bc) . $bc);\n        }\n        return ($ar < $br) ? -1 : 1;\n    }\n\n    /**\n     * Compare two cell addresses\n     * Intended for use as a Callback function for sorting cell addresses by column and row\n     *\n     * @param   string   $a  First cell to test (e.g. 'AA1')\n     * @param   string   $b  Second cell to test (e.g. 'Z1')\n     * @return  integer\n     */\n    public static function cellReverseSort($a, $b)\n    {\n        sscanf($a, '%[A-Z]%d', $ac, $ar);\n        sscanf($b, '%[A-Z]%d', $bc, $br);\n\n        if ($ar == $br) {\n            return 1 - strcasecmp(strlen($ac) . $ac, strlen($bc) . $bc);\n        }\n        return ($ar < $br) ? 1 : -1;\n    }\n\n    /**\n     * Test whether a cell address falls within a defined range of cells\n     *\n     * @param   string     $cellAddress        Address of the cell we're testing\n     * @param   integer    $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer    $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     * @param   integer    $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer    $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @return  boolean\n     */\n    private static function cellAddressInDeleteRange($cellAddress, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)\n    {\n        list($cellColumn, $cellRow) = PHPExcel_Cell::coordinateFromString($cellAddress);\n        $cellColumnIndex = PHPExcel_Cell::columnIndexFromString($cellColumn);\n        //    Is cell within the range of rows/columns if we're deleting\n        if ($pNumRows < 0 &&\n            ($cellRow >= ($beforeRow + $pNumRows)) &&\n            ($cellRow < $beforeRow)) {\n            return true;\n        } elseif ($pNumCols < 0 &&\n            ($cellColumnIndex >= ($beforeColumnIndex + $pNumCols)) &&\n            ($cellColumnIndex < $beforeColumnIndex)) {\n            return true;\n        }\n        return false;\n    }\n\n    /**\n     * Update page breaks when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustPageBreaks(PHPExcel_Worksheet $pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aBreaks = $pSheet->getBreaks();\n        ($pNumCols > 0 || $pNumRows > 0) ?\n            uksort($aBreaks, array('PHPExcel_ReferenceHelper','cellReverseSort')) :\n            uksort($aBreaks, array('PHPExcel_ReferenceHelper','cellSort'));\n\n        foreach ($aBreaks as $key => $value) {\n            if (self::cellAddressInDeleteRange($key, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)) {\n                //    If we're deleting, then clear any defined breaks that are within the range\n                //        of rows/columns that we're deleting\n                $pSheet->setBreak($key, PHPExcel_Worksheet::BREAK_NONE);\n            } else {\n                //    Otherwise update any affected breaks by inserting a new break at the appropriate point\n                //        and removing the old affected break\n                $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows);\n                if ($key != $newReference) {\n                    $pSheet->setBreak($newReference, $value)\n                        ->setBreak($key, PHPExcel_Worksheet::BREAK_NONE);\n                }\n            }\n        }\n    }\n\n    /**\n     * Update cell comments when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustComments($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aComments = $pSheet->getComments();\n        $aNewComments = array(); // the new array of all comments\n\n        foreach ($aComments as $key => &$value) {\n            // Any comments inside a deleted range will be ignored\n            if (!self::cellAddressInDeleteRange($key, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)) {\n                // Otherwise build a new array of comments indexed by the adjusted cell reference\n                $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows);\n                $aNewComments[$newReference] = $value;\n            }\n        }\n        //    Replace the comments array with the new set of comments\n        $pSheet->setComments($aNewComments);\n    }\n\n    /**\n     * Update hyperlinks when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustHyperlinks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aHyperlinkCollection = $pSheet->getHyperlinkCollection();\n        ($pNumCols > 0 || $pNumRows > 0) ? uksort($aHyperlinkCollection, array('PHPExcel_ReferenceHelper','cellReverseSort')) : uksort($aHyperlinkCollection, array('PHPExcel_ReferenceHelper','cellSort'));\n\n        foreach ($aHyperlinkCollection as $key => $value) {\n            $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows);\n            if ($key != $newReference) {\n                $pSheet->setHyperlink($newReference, $value);\n                $pSheet->setHyperlink($key, null);\n            }\n        }\n    }\n\n    /**\n     * Update data validations when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustDataValidations($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aDataValidationCollection = $pSheet->getDataValidationCollection();\n        ($pNumCols > 0 || $pNumRows > 0) ? uksort($aDataValidationCollection, array('PHPExcel_ReferenceHelper','cellReverseSort')) : uksort($aDataValidationCollection, array('PHPExcel_ReferenceHelper','cellSort'));\n        \n        foreach ($aDataValidationCollection as $key => $value) {\n            $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows);\n            if ($key != $newReference) {\n                $pSheet->setDataValidation($newReference, $value);\n                $pSheet->setDataValidation($key, null);\n            }\n        }\n    }\n\n    /**\n     * Update merged cells when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustMergeCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aMergeCells = $pSheet->getMergeCells();\n        $aNewMergeCells = array(); // the new array of all merge cells\n        foreach ($aMergeCells as $key => &$value) {\n            $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows);\n            $aNewMergeCells[$newReference] = $newReference;\n        }\n        $pSheet->setMergeCells($aNewMergeCells); // replace the merge cells array\n    }\n\n    /**\n     * Update protected cells when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustProtectedCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aProtectedCells = $pSheet->getProtectedCells();\n        ($pNumCols > 0 || $pNumRows > 0) ?\n            uksort($aProtectedCells, array('PHPExcel_ReferenceHelper','cellReverseSort')) :\n            uksort($aProtectedCells, array('PHPExcel_ReferenceHelper','cellSort'));\n        foreach ($aProtectedCells as $key => $value) {\n            $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows);\n            if ($key != $newReference) {\n                $pSheet->protectCells($newReference, $value, true);\n                $pSheet->unprotectCells($key);\n            }\n        }\n    }\n\n    /**\n     * Update column dimensions when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustColumnDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aColumnDimensions = array_reverse($pSheet->getColumnDimensions(), true);\n        if (!empty($aColumnDimensions)) {\n            foreach ($aColumnDimensions as $objColumnDimension) {\n                $newReference = $this->updateCellReference($objColumnDimension->getColumnIndex() . '1', $pBefore, $pNumCols, $pNumRows);\n                list($newReference) = PHPExcel_Cell::coordinateFromString($newReference);\n                if ($objColumnDimension->getColumnIndex() != $newReference) {\n                    $objColumnDimension->setColumnIndex($newReference);\n                }\n            }\n            $pSheet->refreshColumnDimensions();\n        }\n    }\n\n    /**\n     * Update row dimensions when inserting/deleting rows/columns\n     *\n     * @param   PHPExcel_Worksheet  $pSheet             The worksheet that we're editing\n     * @param   string              $pBefore            Insert/Delete before this cell address (e.g. 'A1')\n     * @param   integer             $beforeColumnIndex  Index number of the column we're inserting/deleting before\n     * @param   integer             $pNumCols           Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $beforeRow          Number of the row we're inserting/deleting before\n     * @param   integer             $pNumRows           Number of rows to insert/delete (negative values indicate deletion)\n     */\n    protected function adjustRowDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows)\n    {\n        $aRowDimensions = array_reverse($pSheet->getRowDimensions(), true);\n        if (!empty($aRowDimensions)) {\n            foreach ($aRowDimensions as $objRowDimension) {\n                $newReference = $this->updateCellReference('A' . $objRowDimension->getRowIndex(), $pBefore, $pNumCols, $pNumRows);\n                list(, $newReference) = PHPExcel_Cell::coordinateFromString($newReference);\n                if ($objRowDimension->getRowIndex() != $newReference) {\n                    $objRowDimension->setRowIndex($newReference);\n                }\n            }\n            $pSheet->refreshRowDimensions();\n\n            $copyDimension = $pSheet->getRowDimension($beforeRow - 1);\n            for ($i = $beforeRow; $i <= $beforeRow - 1 + $pNumRows; ++$i) {\n                $newDimension = $pSheet->getRowDimension($i);\n                $newDimension->setRowHeight($copyDimension->getRowHeight());\n                $newDimension->setVisible($copyDimension->getVisible());\n                $newDimension->setOutlineLevel($copyDimension->getOutlineLevel());\n                $newDimension->setCollapsed($copyDimension->getCollapsed());\n            }\n        }\n    }\n\n    /**\n     * Insert a new column or row, updating all possible related data\n     *\n     * @param   string              $pBefore    Insert before this cell address (e.g. 'A1')\n     * @param   integer             $pNumCols   Number of columns to insert/delete (negative values indicate deletion)\n     * @param   integer             $pNumRows   Number of rows to insert/delete (negative values indicate deletion)\n     * @param   PHPExcel_Worksheet  $pSheet     The worksheet that we're editing\n     * @throws  PHPExcel_Exception\n     */\n    public function insertNewBefore($pBefore = 'A1', $pNumCols = 0, $pNumRows = 0, PHPExcel_Worksheet $pSheet = null)\n    {\n        $remove = ($pNumCols < 0 || $pNumRows < 0);\n        $aCellCollection = $pSheet->getCellCollection();\n\n        // Get coordinates of $pBefore\n        $beforeColumn    = 'A';\n        $beforeRow        = 1;\n        list($beforeColumn, $beforeRow) = PHPExcel_Cell::coordinateFromString($pBefore);\n        $beforeColumnIndex = PHPExcel_Cell::columnIndexFromString($beforeColumn);\n\n        // Clear cells if we are removing columns or rows\n        $highestColumn    = $pSheet->getHighestColumn();\n        $highestRow    = $pSheet->getHighestRow();\n\n        // 1. Clear column strips if we are removing columns\n        if ($pNumCols < 0 && $beforeColumnIndex - 2 + $pNumCols > 0) {\n            for ($i = 1; $i <= $highestRow - 1; ++$i) {\n                for ($j = $beforeColumnIndex - 1 + $pNumCols; $j <= $beforeColumnIndex - 2; ++$j) {\n                    $coordinate = PHPExcel_Cell::stringFromColumnIndex($j) . $i;\n                    $pSheet->removeConditionalStyles($coordinate);\n                    if ($pSheet->cellExists($coordinate)) {\n                        $pSheet->getCell($coordinate)->setValueExplicit('', PHPExcel_Cell_DataType::TYPE_NULL);\n                        $pSheet->getCell($coordinate)->setXfIndex(0);\n                    }\n                }\n            }\n        }\n\n        // 2. Clear row strips if we are removing rows\n        if ($pNumRows < 0 && $beforeRow - 1 + $pNumRows > 0) {\n            for ($i = $beforeColumnIndex - 1; $i <= PHPExcel_Cell::columnIndexFromString($highestColumn) - 1; ++$i) {\n                for ($j = $beforeRow + $pNumRows; $j <= $beforeRow - 1; ++$j) {\n                    $coordinate = PHPExcel_Cell::stringFromColumnIndex($i) . $j;\n                    $pSheet->removeConditionalStyles($coordinate);\n                    if ($pSheet->cellExists($coordinate)) {\n                        $pSheet->getCell($coordinate)->setValueExplicit('', PHPExcel_Cell_DataType::TYPE_NULL);\n                        $pSheet->getCell($coordinate)->setXfIndex(0);\n                    }\n                }\n            }\n        }\n\n        // Loop through cells, bottom-up, and change cell coordinates\n        if ($remove) {\n            // It's faster to reverse and pop than to use unshift, especially with large cell collections\n            $aCellCollection = array_reverse($aCellCollection);\n        }\n        while ($cellID = array_pop($aCellCollection)) {\n            $cell = $pSheet->getCell($cellID);\n            $cellIndex = PHPExcel_Cell::columnIndexFromString($cell->getColumn());\n\n            if ($cellIndex-1 + $pNumCols < 0) {\n                continue;\n            }\n\n            // New coordinates\n            $newCoordinates = PHPExcel_Cell::stringFromColumnIndex($cellIndex-1 + $pNumCols) . ($cell->getRow() + $pNumRows);\n\n            // Should the cell be updated? Move value and cellXf index from one cell to another.\n            if (($cellIndex >= $beforeColumnIndex) && ($cell->getRow() >= $beforeRow)) {\n                // Update cell styles\n                $pSheet->getCell($newCoordinates)->setXfIndex($cell->getXfIndex());\n\n                // Insert this cell at its new location\n                if ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA) {\n                    // Formula should be adjusted\n                    $pSheet->getCell($newCoordinates)\n                           ->setValue($this->updateFormulaReferences($cell->getValue(), $pBefore, $pNumCols, $pNumRows, $pSheet->getTitle()));\n                } else {\n                    // Formula should not be adjusted\n                    $pSheet->getCell($newCoordinates)->setValue($cell->getValue());\n                }\n\n                // Clear the original cell\n                $pSheet->getCellCacheController()->deleteCacheData($cellID);\n            } else {\n                /*    We don't need to update styles for rows/columns before our insertion position,\n                        but we do still need to adjust any formulae    in those cells                    */\n                if ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA) {\n                    // Formula should be adjusted\n                    $cell->setValue($this->updateFormulaReferences($cell->getValue(), $pBefore, $pNumCols, $pNumRows, $pSheet->getTitle()));\n                }\n\n            }\n        }\n\n        // Duplicate styles for the newly inserted cells\n        $highestColumn    = $pSheet->getHighestColumn();\n        $highestRow    = $pSheet->getHighestRow();\n\n        if ($pNumCols > 0 && $beforeColumnIndex - 2 > 0) {\n            for ($i = $beforeRow; $i <= $highestRow - 1; ++$i) {\n                // Style\n                $coordinate = PHPExcel_Cell::stringFromColumnIndex($beforeColumnIndex - 2) . $i;\n                if ($pSheet->cellExists($coordinate)) {\n                    $xfIndex = $pSheet->getCell($coordinate)->getXfIndex();\n                    $conditionalStyles = $pSheet->conditionalStylesExists($coordinate) ?\n                        $pSheet->getConditionalStyles($coordinate) : false;\n                    for ($j = $beforeColumnIndex - 1; $j <= $beforeColumnIndex - 2 + $pNumCols; ++$j) {\n                        $pSheet->getCellByColumnAndRow($j, $i)->setXfIndex($xfIndex);\n                        if ($conditionalStyles) {\n                            $cloned = array();\n                            foreach ($conditionalStyles as $conditionalStyle) {\n                                $cloned[] = clone $conditionalStyle;\n                            }\n                            $pSheet->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($j) . $i, $cloned);\n                        }\n                    }\n                }\n\n            }\n        }\n\n        if ($pNumRows > 0 && $beforeRow - 1 > 0) {\n            for ($i = $beforeColumnIndex - 1; $i <= PHPExcel_Cell::columnIndexFromString($highestColumn) - 1; ++$i) {\n                // Style\n                $coordinate = PHPExcel_Cell::stringFromColumnIndex($i) . ($beforeRow - 1);\n                if ($pSheet->cellExists($coordinate)) {\n                    $xfIndex = $pSheet->getCell($coordinate)->getXfIndex();\n                    $conditionalStyles = $pSheet->conditionalStylesExists($coordinate) ?\n                        $pSheet->getConditionalStyles($coordinate) : false;\n                    for ($j = $beforeRow; $j <= $beforeRow - 1 + $pNumRows; ++$j) {\n                        $pSheet->getCell(PHPExcel_Cell::stringFromColumnIndex($i) . $j)->setXfIndex($xfIndex);\n                        if ($conditionalStyles) {\n                            $cloned = array();\n                            foreach ($conditionalStyles as $conditionalStyle) {\n                                $cloned[] = clone $conditionalStyle;\n                            }\n                            $pSheet->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($i) . $j, $cloned);\n                        }\n                    }\n                }\n            }\n        }\n\n        // Update worksheet: column dimensions\n        $this->adjustColumnDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        // Update worksheet: row dimensions\n        $this->adjustRowDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        //    Update worksheet: page breaks\n        $this->adjustPageBreaks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        //    Update worksheet: comments\n        $this->adjustComments($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        // Update worksheet: hyperlinks\n        $this->adjustHyperlinks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        // Update worksheet: data validations\n        $this->adjustDataValidations($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        // Update worksheet: merge cells\n        $this->adjustMergeCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        // Update worksheet: protected cells\n        $this->adjustProtectedCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows);\n\n        // Update worksheet: autofilter\n        $autoFilter = $pSheet->getAutoFilter();\n        $autoFilterRange = $autoFilter->getRange();\n        if (!empty($autoFilterRange)) {\n            if ($pNumCols != 0) {\n                $autoFilterColumns = array_keys($autoFilter->getColumns());\n                if (count($autoFilterColumns) > 0) {\n                    sscanf($pBefore, '%[A-Z]%d', $column, $row);\n                    $columnIndex = PHPExcel_Cell::columnIndexFromString($column);\n                    list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($autoFilterRange);\n                    if ($columnIndex <= $rangeEnd[0]) {\n                        if ($pNumCols < 0) {\n                            //    If we're actually deleting any columns that fall within the autofilter range,\n                            //        then we delete any rules for those columns\n                            $deleteColumn = $columnIndex + $pNumCols - 1;\n                            $deleteCount = abs($pNumCols);\n                            for ($i = 1; $i <= $deleteCount; ++$i) {\n                                if (in_array(PHPExcel_Cell::stringFromColumnIndex($deleteColumn), $autoFilterColumns)) {\n                                    $autoFilter->clearColumn(PHPExcel_Cell::stringFromColumnIndex($deleteColumn));\n                                }\n                                ++$deleteColumn;\n                            }\n                        }\n                        $startCol = ($columnIndex > $rangeStart[0]) ? $columnIndex : $rangeStart[0];\n\n                        //    Shuffle columns in autofilter range\n                        if ($pNumCols > 0) {\n                            //    For insert, we shuffle from end to beginning to avoid overwriting\n                            $startColID = PHPExcel_Cell::stringFromColumnIndex($startCol-1);\n                            $toColID = PHPExcel_Cell::stringFromColumnIndex($startCol+$pNumCols-1);\n                            $endColID = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]);\n\n                            $startColRef = $startCol;\n                            $endColRef = $rangeEnd[0];\n                            $toColRef = $rangeEnd[0]+$pNumCols;\n\n                            do {\n                                $autoFilter->shiftColumn(PHPExcel_Cell::stringFromColumnIndex($endColRef-1), PHPExcel_Cell::stringFromColumnIndex($toColRef-1));\n                                --$endColRef;\n                                --$toColRef;\n                            } while ($startColRef <= $endColRef);\n                        } else {\n                            //    For delete, we shuffle from beginning to end to avoid overwriting\n                            $startColID = PHPExcel_Cell::stringFromColumnIndex($startCol-1);\n                            $toColID = PHPExcel_Cell::stringFromColumnIndex($startCol+$pNumCols-1);\n                            $endColID = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]);\n                            do {\n                                $autoFilter->shiftColumn($startColID, $toColID);\n                                ++$startColID;\n                                ++$toColID;\n                            } while ($startColID != $endColID);\n                        }\n                    }\n                }\n            }\n            $pSheet->setAutoFilter($this->updateCellReference($autoFilterRange, $pBefore, $pNumCols, $pNumRows));\n        }\n\n        // Update worksheet: freeze pane\n        if ($pSheet->getFreezePane() != '') {\n            $pSheet->freezePane($this->updateCellReference($pSheet->getFreezePane(), $pBefore, $pNumCols, $pNumRows));\n        }\n\n        // Page setup\n        if ($pSheet->getPageSetup()->isPrintAreaSet()) {\n            $pSheet->getPageSetup()->setPrintArea($this->updateCellReference($pSheet->getPageSetup()->getPrintArea(), $pBefore, $pNumCols, $pNumRows));\n        }\n\n        // Update worksheet: drawings\n        $aDrawings = $pSheet->getDrawingCollection();\n        foreach ($aDrawings as $objDrawing) {\n            $newReference = $this->updateCellReference($objDrawing->getCoordinates(), $pBefore, $pNumCols, $pNumRows);\n            if ($objDrawing->getCoordinates() != $newReference) {\n                $objDrawing->setCoordinates($newReference);\n            }\n        }\n\n        // Update workbook: named ranges\n        if (count($pSheet->getParent()->getNamedRanges()) > 0) {\n            foreach ($pSheet->getParent()->getNamedRanges() as $namedRange) {\n                if ($namedRange->getWorksheet()->getHashCode() == $pSheet->getHashCode()) {\n                    $namedRange->setRange($this->updateCellReference($namedRange->getRange(), $pBefore, $pNumCols, $pNumRows));\n                }\n            }\n        }\n\n        // Garbage collect\n        $pSheet->garbageCollect();\n    }\n\n    /**\n     * Update references within formulas\n     *\n     * @param    string    $pFormula    Formula to update\n     * @param    int        $pBefore    Insert before this one\n     * @param    int        $pNumCols    Number of columns to insert\n     * @param    int        $pNumRows    Number of rows to insert\n     * @param   string  $sheetName  Worksheet name/title\n     * @return    string    Updated formula\n     * @throws    PHPExcel_Exception\n     */\n    public function updateFormulaReferences($pFormula = '', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0, $sheetName = '')\n    {\n        //    Update cell references in the formula\n        $formulaBlocks = explode('\"', $pFormula);\n        $i = false;\n        foreach ($formulaBlocks as &$formulaBlock) {\n            //    Ignore blocks that were enclosed in quotes (alternating entries in the $formulaBlocks array after the explode)\n            if ($i = !$i) {\n                $adjustCount = 0;\n                $newCellTokens = $cellTokens = array();\n                //    Search for row ranges (e.g. 'Sheet1'!3:5 or 3:5) with or without $ absolutes (e.g. $3:5)\n                $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_ROWRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER);\n                if ($matchCount > 0) {\n                    foreach ($matches as $match) {\n                        $fromString = ($match[2] > '') ? $match[2].'!' : '';\n                        $fromString .= $match[3].':'.$match[4];\n                        $modified3 = substr($this->updateCellReference('$A'.$match[3], $pBefore, $pNumCols, $pNumRows), 2);\n                        $modified4 = substr($this->updateCellReference('$A'.$match[4], $pBefore, $pNumCols, $pNumRows), 2);\n\n                        if ($match[3].':'.$match[4] !== $modified3.':'.$modified4) {\n                            if (($match[2] == '') || (trim($match[2], \"'\") == $sheetName)) {\n                                $toString = ($match[2] > '') ? $match[2].'!' : '';\n                                $toString .= $modified3.':'.$modified4;\n                                //    Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more\n                                $column = 100000;\n                                $row = 10000000 + trim($match[3], '$');\n                                $cellIndex = $column.$row;\n\n                                $newCellTokens[$cellIndex] = preg_quote($toString);\n                                $cellTokens[$cellIndex] = '/(?<!\\d\\$\\!)'.preg_quote($fromString).'(?!\\d)/i';\n                                ++$adjustCount;\n                            }\n                        }\n                    }\n                }\n                //    Search for column ranges (e.g. 'Sheet1'!C:E or C:E) with or without $ absolutes (e.g. $C:E)\n                $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_COLRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER);\n                if ($matchCount > 0) {\n                    foreach ($matches as $match) {\n                        $fromString = ($match[2] > '') ? $match[2].'!' : '';\n                        $fromString .= $match[3].':'.$match[4];\n                        $modified3 = substr($this->updateCellReference($match[3].'$1', $pBefore, $pNumCols, $pNumRows), 0, -2);\n                        $modified4 = substr($this->updateCellReference($match[4].'$1', $pBefore, $pNumCols, $pNumRows), 0, -2);\n\n                        if ($match[3].':'.$match[4] !== $modified3.':'.$modified4) {\n                            if (($match[2] == '') || (trim($match[2], \"'\") == $sheetName)) {\n                                $toString = ($match[2] > '') ? $match[2].'!' : '';\n                                $toString .= $modified3.':'.$modified4;\n                                //    Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more\n                                $column = PHPExcel_Cell::columnIndexFromString(trim($match[3], '$')) + 100000;\n                                $row = 10000000;\n                                $cellIndex = $column.$row;\n\n                                $newCellTokens[$cellIndex] = preg_quote($toString);\n                                $cellTokens[$cellIndex] = '/(?<![A-Z\\$\\!])'.preg_quote($fromString).'(?![A-Z])/i';\n                                ++$adjustCount;\n                            }\n                        }\n                    }\n                }\n                //    Search for cell ranges (e.g. 'Sheet1'!A3:C5 or A3:C5) with or without $ absolutes (e.g. $A1:C$5)\n                $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_CELLRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER);\n                if ($matchCount > 0) {\n                    foreach ($matches as $match) {\n                        $fromString = ($match[2] > '') ? $match[2].'!' : '';\n                        $fromString .= $match[3].':'.$match[4];\n                        $modified3 = $this->updateCellReference($match[3], $pBefore, $pNumCols, $pNumRows);\n                        $modified4 = $this->updateCellReference($match[4], $pBefore, $pNumCols, $pNumRows);\n\n                        if ($match[3].$match[4] !== $modified3.$modified4) {\n                            if (($match[2] == '') || (trim($match[2], \"'\") == $sheetName)) {\n                                $toString = ($match[2] > '') ? $match[2].'!' : '';\n                                $toString .= $modified3.':'.$modified4;\n                                list($column, $row) = PHPExcel_Cell::coordinateFromString($match[3]);\n                                //    Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more\n                                $column = PHPExcel_Cell::columnIndexFromString(trim($column, '$')) + 100000;\n                                $row = trim($row, '$') + 10000000;\n                                $cellIndex = $column.$row;\n\n                                $newCellTokens[$cellIndex] = preg_quote($toString);\n                                $cellTokens[$cellIndex] = '/(?<![A-Z]\\$\\!)'.preg_quote($fromString).'(?!\\d)/i';\n                                ++$adjustCount;\n                            }\n                        }\n                    }\n                }\n                //    Search for cell references (e.g. 'Sheet1'!A3 or C5) with or without $ absolutes (e.g. $A1 or C$5)\n                $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_CELLREF.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER);\n\n                if ($matchCount > 0) {\n                    foreach ($matches as $match) {\n                        $fromString = ($match[2] > '') ? $match[2].'!' : '';\n                        $fromString .= $match[3];\n\n                        $modified3 = $this->updateCellReference($match[3], $pBefore, $pNumCols, $pNumRows);\n                        if ($match[3] !== $modified3) {\n                            if (($match[2] == '') || (trim($match[2], \"'\") == $sheetName)) {\n                                $toString = ($match[2] > '') ? $match[2].'!' : '';\n                                $toString .= $modified3;\n                                list($column, $row) = PHPExcel_Cell::coordinateFromString($match[3]);\n                                //    Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more\n                                $column = PHPExcel_Cell::columnIndexFromString(trim($column, '$')) + 100000;\n                                $row = trim($row, '$') + 10000000;\n                                $cellIndex = $row . $column;\n\n                                $newCellTokens[$cellIndex] = preg_quote($toString);\n                                $cellTokens[$cellIndex] = '/(?<![A-Z\\$\\!])'.preg_quote($fromString).'(?!\\d)/i';\n                                ++$adjustCount;\n                            }\n                        }\n                    }\n                }\n                if ($adjustCount > 0) {\n                    if ($pNumCols > 0 || $pNumRows > 0) {\n                        krsort($cellTokens);\n                        krsort($newCellTokens);\n                    } else {\n                        ksort($cellTokens);\n                        ksort($newCellTokens);\n                    }   //  Update cell references in the formula\n                    $formulaBlock = str_replace('\\\\', '', preg_replace($cellTokens, $newCellTokens, $formulaBlock));\n                }\n            }\n        }\n        unset($formulaBlock);\n\n        //    Then rebuild the formula string\n        return implode('\"', $formulaBlocks);\n    }\n\n    /**\n     * Update cell reference\n     *\n     * @param    string    $pCellRange            Cell range\n     * @param    int        $pBefore            Insert before this one\n     * @param    int        $pNumCols            Number of columns to increment\n     * @param    int        $pNumRows            Number of rows to increment\n     * @return    string    Updated cell range\n     * @throws    PHPExcel_Exception\n     */\n    public function updateCellReference($pCellRange = 'A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0)\n    {\n        // Is it in another worksheet? Will not have to update anything.\n        if (strpos($pCellRange, \"!\") !== false) {\n            return $pCellRange;\n        // Is it a range or a single cell?\n        } elseif (strpos($pCellRange, ':') === false && strpos($pCellRange, ',') === false) {\n            // Single cell\n            return $this->updateSingleCellReference($pCellRange, $pBefore, $pNumCols, $pNumRows);\n        } elseif (strpos($pCellRange, ':') !== false || strpos($pCellRange, ',') !== false) {\n            // Range\n            return $this->updateCellRange($pCellRange, $pBefore, $pNumCols, $pNumRows);\n        } else {\n            // Return original\n            return $pCellRange;\n        }\n    }\n\n    /**\n     * Update named formulas (i.e. containing worksheet references / named ranges)\n     *\n     * @param PHPExcel $pPhpExcel    Object to update\n     * @param string $oldName        Old name (name to replace)\n     * @param string $newName        New name\n     */\n    public function updateNamedFormulas(PHPExcel $pPhpExcel, $oldName = '', $newName = '')\n    {\n        if ($oldName == '') {\n            return;\n        }\n\n        foreach ($pPhpExcel->getWorksheetIterator() as $sheet) {\n            foreach ($sheet->getCellCollection(false) as $cellID) {\n                $cell = $sheet->getCell($cellID);\n                if (($cell !== null) && ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA)) {\n                    $formula = $cell->getValue();\n                    if (strpos($formula, $oldName) !== false) {\n                        $formula = str_replace(\"'\" . $oldName . \"'!\", \"'\" . $newName . \"'!\", $formula);\n                        $formula = str_replace($oldName . \"!\", $newName . \"!\", $formula);\n                        $cell->setValueExplicit($formula, PHPExcel_Cell_DataType::TYPE_FORMULA);\n                    }\n                }\n            }\n        }\n    }\n\n    /**\n     * Update cell range\n     *\n     * @param    string    $pCellRange            Cell range    (e.g. 'B2:D4', 'B:C' or '2:3')\n     * @param    int        $pBefore            Insert before this one\n     * @param    int        $pNumCols            Number of columns to increment\n     * @param    int        $pNumRows            Number of rows to increment\n     * @return    string    Updated cell range\n     * @throws    PHPExcel_Exception\n     */\n    private function updateCellRange($pCellRange = 'A1:A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0)\n    {\n        if (strpos($pCellRange, ':') !== false || strpos($pCellRange, ',') !== false) {\n            // Update range\n            $range = PHPExcel_Cell::splitRange($pCellRange);\n            $ic = count($range);\n            for ($i = 0; $i < $ic; ++$i) {\n                $jc = count($range[$i]);\n                for ($j = 0; $j < $jc; ++$j) {\n                    if (ctype_alpha($range[$i][$j])) {\n                        $r = PHPExcel_Cell::coordinateFromString($this->updateSingleCellReference($range[$i][$j].'1', $pBefore, $pNumCols, $pNumRows));\n                        $range[$i][$j] = $r[0];\n                    } elseif (ctype_digit($range[$i][$j])) {\n                        $r = PHPExcel_Cell::coordinateFromString($this->updateSingleCellReference('A'.$range[$i][$j], $pBefore, $pNumCols, $pNumRows));\n                        $range[$i][$j] = $r[1];\n                    } else {\n                        $range[$i][$j] = $this->updateSingleCellReference($range[$i][$j], $pBefore, $pNumCols, $pNumRows);\n                    }\n                }\n            }\n\n            // Recreate range string\n            return PHPExcel_Cell::buildRange($range);\n        } else {\n            throw new PHPExcel_Exception(\"Only cell ranges may be passed to this method.\");\n        }\n    }\n\n    /**\n     * Update single cell reference\n     *\n     * @param    string    $pCellReference        Single cell reference\n     * @param    int        $pBefore            Insert before this one\n     * @param    int        $pNumCols            Number of columns to increment\n     * @param    int        $pNumRows            Number of rows to increment\n     * @return    string    Updated cell reference\n     * @throws    PHPExcel_Exception\n     */\n    private function updateSingleCellReference($pCellReference = 'A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0)\n    {\n        if (strpos($pCellReference, ':') === false && strpos($pCellReference, ',') === false) {\n            // Get coordinates of $pBefore\n            list($beforeColumn, $beforeRow) = PHPExcel_Cell::coordinateFromString($pBefore);\n\n            // Get coordinates of $pCellReference\n            list($newColumn, $newRow) = PHPExcel_Cell::coordinateFromString($pCellReference);\n\n            // Verify which parts should be updated\n            $updateColumn = (($newColumn{0} != '$') && ($beforeColumn{0} != '$') && (PHPExcel_Cell::columnIndexFromString($newColumn) >= PHPExcel_Cell::columnIndexFromString($beforeColumn)));\n            $updateRow = (($newRow{0} != '$') && ($beforeRow{0} != '$') && $newRow >= $beforeRow);\n\n            // Create new column reference\n            if ($updateColumn) {\n                $newColumn    = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($newColumn) - 1 + $pNumCols);\n            }\n\n            // Create new row reference\n            if ($updateRow) {\n                $newRow    = $newRow + $pNumRows;\n            }\n\n            // Return new reference\n            return $newColumn . $newRow;\n        } else {\n            throw new PHPExcel_Exception(\"Only single cell references may be passed to this method.\");\n        }\n    }\n\n    /**\n     * __clone implementation. Cloning should not be allowed in a Singleton!\n     *\n     * @throws    PHPExcel_Exception\n     */\n    final public function __clone()\n    {\n        throw new PHPExcel_Exception(\"Cloning a Singleton is not allowed!\");\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/RichText/ITextElement.php",
    "content": "<?php\n\n/**\n * PHPExcel_RichText_ITextElement\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_RichText\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\ninterface PHPExcel_RichText_ITextElement\n{\n    /**\n     * Get text\n     *\n     * @return string    Text\n     */\n    public function getText();\n\n    /**\n     * Set text\n     *\n     * @param     $pText string    Text\n     * @return PHPExcel_RichText_ITextElement\n     */\n    public function setText($pText = '');\n\n    /**\n     * Get font\n     *\n     * @return PHPExcel_Style_Font\n     */\n    public function getFont();\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode();\n}\n"
  },
  {
    "path": "Classes/PHPExcel/RichText/Run.php",
    "content": "<?php\n\n/**\n * PHPExcel_RichText_Run\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_RichText\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_RichText_Run extends PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement\n{\n    /**\n     * Font\n     *\n     * @var PHPExcel_Style_Font\n     */\n    private $font;\n\n    /**\n     * Create a new PHPExcel_RichText_Run instance\n     *\n     * @param     string        $pText        Text\n     */\n    public function __construct($pText = '')\n    {\n        // Initialise variables\n        $this->setText($pText);\n        $this->font = new PHPExcel_Style_Font();\n    }\n\n    /**\n     * Get font\n     *\n     * @return PHPExcel_Style_Font\n     */\n    public function getFont()\n    {\n        return $this->font;\n    }\n\n    /**\n     * Set font\n     *\n     * @param    PHPExcel_Style_Font        $pFont        Font\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_RichText_ITextElement\n     */\n    public function setFont(PHPExcel_Style_Font $pFont = null)\n    {\n        $this->font = $pFont;\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->getText() .\n            $this->font->getHashCode() .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/RichText/TextElement.php",
    "content": "<?php\n\n/**\n * PHPExcel_RichText_TextElement\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_RichText\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement\n{\n    /**\n     * Text\n     *\n     * @var string\n     */\n    private $text;\n\n    /**\n     * Create a new PHPExcel_RichText_TextElement instance\n     *\n     * @param     string        $pText        Text\n     */\n    public function __construct($pText = '')\n    {\n        // Initialise variables\n        $this->text = $pText;\n    }\n\n    /**\n     * Get text\n     *\n     * @return string    Text\n     */\n    public function getText()\n    {\n        return $this->text;\n    }\n\n    /**\n     * Set text\n     *\n     * @param     $pText string    Text\n     * @return PHPExcel_RichText_ITextElement\n     */\n    public function setText($pText = '')\n    {\n        $this->text = $pText;\n        return $this;\n    }\n\n    /**\n     * Get font\n     *\n     * @return PHPExcel_Style_Font\n     */\n    public function getFont()\n    {\n        return null;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->text .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/RichText.php",
    "content": "<?php\n\n/**\n * PHPExcel_RichText\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_RichText\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_RichText implements PHPExcel_IComparable\n{\n    /**\n     * Rich text elements\n     *\n     * @var PHPExcel_RichText_ITextElement[]\n     */\n    private $richTextElements;\n\n    /**\n     * Create a new PHPExcel_RichText instance\n     *\n     * @param PHPExcel_Cell $pCell\n     * @throws PHPExcel_Exception\n     */\n    public function __construct(PHPExcel_Cell $pCell = null)\n    {\n        // Initialise variables\n        $this->richTextElements = array();\n\n        // Rich-Text string attached to cell?\n        if ($pCell !== null) {\n            // Add cell text and style\n            if ($pCell->getValue() != \"\") {\n                $objRun = new PHPExcel_RichText_Run($pCell->getValue());\n                $objRun->setFont(clone $pCell->getParent()->getStyle($pCell->getCoordinate())->getFont());\n                $this->addText($objRun);\n            }\n\n            // Set parent value\n            $pCell->setValueExplicit($this, PHPExcel_Cell_DataType::TYPE_STRING);\n        }\n    }\n\n    /**\n     * Add text\n     *\n     * @param PHPExcel_RichText_ITextElement $pText Rich text element\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_RichText\n     */\n    public function addText(PHPExcel_RichText_ITextElement $pText = null)\n    {\n        $this->richTextElements[] = $pText;\n        return $this;\n    }\n\n    /**\n     * Create text\n     *\n     * @param string $pText Text\n     * @return PHPExcel_RichText_TextElement\n     * @throws PHPExcel_Exception\n     */\n    public function createText($pText = '')\n    {\n        $objText = new PHPExcel_RichText_TextElement($pText);\n        $this->addText($objText);\n        return $objText;\n    }\n\n    /**\n     * Create text run\n     *\n     * @param string $pText Text\n     * @return PHPExcel_RichText_Run\n     * @throws PHPExcel_Exception\n     */\n    public function createTextRun($pText = '')\n    {\n        $objText = new PHPExcel_RichText_Run($pText);\n        $this->addText($objText);\n        return $objText;\n    }\n\n    /**\n     * Get plain text\n     *\n     * @return string\n     */\n    public function getPlainText()\n    {\n        // Return value\n        $returnValue = '';\n\n        // Loop through all PHPExcel_RichText_ITextElement\n        foreach ($this->richTextElements as $text) {\n            $returnValue .= $text->getText();\n        }\n\n        // Return\n        return $returnValue;\n    }\n\n    /**\n     * Convert to string\n     *\n     * @return string\n     */\n    public function __toString()\n    {\n        return $this->getPlainText();\n    }\n\n    /**\n     * Get Rich Text elements\n     *\n     * @return PHPExcel_RichText_ITextElement[]\n     */\n    public function getRichTextElements()\n    {\n        return $this->richTextElements;\n    }\n\n    /**\n     * Set Rich Text elements\n     *\n     * @param PHPExcel_RichText_ITextElement[] $pElements Array of elements\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_RichText\n     */\n    public function setRichTextElements($pElements = null)\n    {\n        if (is_array($pElements)) {\n            $this->richTextElements = $pElements;\n        } else {\n            throw new PHPExcel_Exception(\"Invalid PHPExcel_RichText_ITextElement[] array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        $hashElements = '';\n        foreach ($this->richTextElements as $element) {\n            $hashElements .= $element->getHashCode();\n        }\n\n        return md5(\n            $hashElements .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Settings.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel_Settings\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Settings\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Settings\n{\n    /**    constants */\n    /**    Available Zip library classes */\n    const PCLZIP     = 'PHPExcel_Shared_ZipArchive';\n    const ZIPARCHIVE = 'ZipArchive';\n\n    /**    Optional Chart Rendering libraries */\n    const CHART_RENDERER_JPGRAPH = 'jpgraph';\n\n    /**    Optional PDF Rendering libraries */\n    const PDF_RENDERER_TCPDF  = 'tcPDF';\n    const PDF_RENDERER_DOMPDF = 'DomPDF';\n    const PDF_RENDERER_MPDF   = 'mPDF';\n\n\n    private static $chartRenderers = array(\n        self::CHART_RENDERER_JPGRAPH,\n    );\n\n    private static $pdfRenderers = array(\n        self::PDF_RENDERER_TCPDF,\n        self::PDF_RENDERER_DOMPDF,\n        self::PDF_RENDERER_MPDF,\n    );\n\n\n    /**\n     * Name of the class used for Zip file management\n     *    e.g.\n     *        ZipArchive\n     *\n     * @var string\n     */\n    private static $zipClass = self::ZIPARCHIVE;\n\n\n    /**\n     * Name of the external Library used for rendering charts\n     *    e.g.\n     *        jpgraph\n     *\n     * @var string\n     */\n    private static $chartRendererName;\n\n    /**\n     * Directory Path to the external Library used for rendering charts\n     *\n     * @var string\n     */\n    private static $chartRendererPath;\n\n\n    /**\n     * Name of the external Library used for rendering PDF files\n     *    e.g.\n     *         mPDF\n     *\n     * @var string\n     */\n    private static $pdfRendererName;\n\n    /**\n     * Directory Path to the external Library used for rendering PDF files\n     *\n     * @var string\n     */\n    private static $pdfRendererPath;\n\n    /**\n     * Default options for libxml loader\n     *\n     * @var int\n     */\n    private static $libXmlLoaderOptions = null;\n\n    /**\n     * Set the Zip handler Class that PHPExcel should use for Zip file management (PCLZip or ZipArchive)\n     *\n     * @param string $zipClass    The Zip handler class that PHPExcel should use for Zip file management\n     *      e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive\n     * @return    boolean    Success or failure\n     */\n    public static function setZipClass($zipClass)\n    {\n        if (($zipClass === self::PCLZIP) ||\n            ($zipClass === self::ZIPARCHIVE)) {\n            self::$zipClass = $zipClass;\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Return the name of the Zip handler Class that PHPExcel is configured to use (PCLZip or ZipArchive)\n     *    or Zip file management\n     *\n     * @return string Name of the Zip handler Class that PHPExcel is configured to use\n     *    for Zip file management\n     *    e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive\n     */\n    public static function getZipClass()\n    {\n        return self::$zipClass;\n    }\n\n\n    /**\n     * Return the name of the method that is currently configured for cell cacheing\n     *\n     * @return string Name of the cacheing method\n     */\n    public static function getCacheStorageMethod()\n    {\n        return PHPExcel_CachedObjectStorageFactory::getCacheStorageMethod();\n    }\n\n\n    /**\n     * Return the name of the class that is currently being used for cell cacheing\n     *\n     * @return string Name of the class currently being used for cacheing\n     */\n    public static function getCacheStorageClass()\n    {\n        return PHPExcel_CachedObjectStorageFactory::getCacheStorageClass();\n    }\n\n\n    /**\n     * Set the method that should be used for cell cacheing\n     *\n     * @param string $method Name of the cacheing method\n     * @param array $arguments Optional configuration arguments for the cacheing method\n     * @return boolean Success or failure\n     */\n    public static function setCacheStorageMethod($method = PHPExcel_CachedObjectStorageFactory::cache_in_memory, $arguments = array())\n    {\n        return PHPExcel_CachedObjectStorageFactory::initialize($method, $arguments);\n    }\n\n\n    /**\n     * Set the locale code to use for formula translations and any special formatting\n     *\n     * @param string $locale The locale code to use (e.g. \"fr\" or \"pt_br\" or \"en_uk\")\n     * @return boolean Success or failure\n     */\n    public static function setLocale($locale = 'en_us')\n    {\n        return PHPExcel_Calculation::getInstance()->setLocale($locale);\n    }\n\n\n    /**\n     * Set details of the external library that PHPExcel should use for rendering charts\n     *\n     * @param string $libraryName    Internal reference name of the library\n     *    e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH\n     * @param string $libraryBaseDir Directory path to the library's base folder\n     *\n     * @return    boolean    Success or failure\n     */\n    public static function setChartRenderer($libraryName, $libraryBaseDir)\n    {\n        if (!self::setChartRendererName($libraryName)) {\n            return false;\n        }\n        return self::setChartRendererPath($libraryBaseDir);\n    }\n\n\n    /**\n     * Identify to PHPExcel the external library to use for rendering charts\n     *\n     * @param string $libraryName    Internal reference name of the library\n     *    e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH\n     *\n     * @return    boolean    Success or failure\n     */\n    public static function setChartRendererName($libraryName)\n    {\n        if (!in_array($libraryName, self::$chartRenderers)) {\n            return false;\n        }\n        self::$chartRendererName = $libraryName;\n\n        return true;\n    }\n\n\n    /**\n     * Tell PHPExcel where to find the external library to use for rendering charts\n     *\n     * @param string $libraryBaseDir    Directory path to the library's base folder\n     * @return    boolean    Success or failure\n     */\n    public static function setChartRendererPath($libraryBaseDir)\n    {\n        if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) {\n            return false;\n        }\n        self::$chartRendererPath = $libraryBaseDir;\n\n        return true;\n    }\n\n\n    /**\n     * Return the Chart Rendering Library that PHPExcel is currently configured to use (e.g. jpgraph)\n     *\n     * @return string|NULL Internal reference name of the Chart Rendering Library that PHPExcel is\n     *    currently configured to use\n     *    e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH\n     */\n    public static function getChartRendererName()\n    {\n        return self::$chartRendererName;\n    }\n\n\n    /**\n     * Return the directory path to the Chart Rendering Library that PHPExcel is currently configured to use\n     *\n     * @return string|NULL Directory Path to the Chart Rendering Library that PHPExcel is\n     *     currently configured to use\n     */\n    public static function getChartRendererPath()\n    {\n        return self::$chartRendererPath;\n    }\n\n\n    /**\n     * Set details of the external library that PHPExcel should use for rendering PDF files\n     *\n     * @param string $libraryName Internal reference name of the library\n     *     e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF,\n     *     PHPExcel_Settings::PDF_RENDERER_DOMPDF\n     *  or PHPExcel_Settings::PDF_RENDERER_MPDF\n     * @param string $libraryBaseDir Directory path to the library's base folder\n     *\n     * @return boolean Success or failure\n     */\n    public static function setPdfRenderer($libraryName, $libraryBaseDir)\n    {\n        if (!self::setPdfRendererName($libraryName)) {\n            return false;\n        }\n        return self::setPdfRendererPath($libraryBaseDir);\n    }\n\n\n    /**\n     * Identify to PHPExcel the external library to use for rendering PDF files\n     *\n     * @param string $libraryName Internal reference name of the library\n     *     e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF,\n     *    PHPExcel_Settings::PDF_RENDERER_DOMPDF\n     *     or PHPExcel_Settings::PDF_RENDERER_MPDF\n     *\n     * @return boolean Success or failure\n     */\n    public static function setPdfRendererName($libraryName)\n    {\n        if (!in_array($libraryName, self::$pdfRenderers)) {\n            return false;\n        }\n        self::$pdfRendererName = $libraryName;\n\n        return true;\n    }\n\n\n    /**\n     * Tell PHPExcel where to find the external library to use for rendering PDF files\n     *\n     * @param string $libraryBaseDir Directory path to the library's base folder\n     * @return boolean Success or failure\n     */\n    public static function setPdfRendererPath($libraryBaseDir)\n    {\n        if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) {\n            return false;\n        }\n        self::$pdfRendererPath = $libraryBaseDir;\n\n        return true;\n    }\n\n\n    /**\n     * Return the PDF Rendering Library that PHPExcel is currently configured to use (e.g. dompdf)\n     *\n     * @return string|NULL Internal reference name of the PDF Rendering Library that PHPExcel is\n     *     currently configured to use\n     *  e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF,\n     *  PHPExcel_Settings::PDF_RENDERER_DOMPDF\n     *  or PHPExcel_Settings::PDF_RENDERER_MPDF\n     */\n    public static function getPdfRendererName()\n    {\n        return self::$pdfRendererName;\n    }\n\n    /**\n     * Return the directory path to the PDF Rendering Library that PHPExcel is currently configured to use\n     *\n     * @return string|NULL Directory Path to the PDF Rendering Library that PHPExcel is\n     *        currently configured to use\n     */\n    public static function getPdfRendererPath()\n    {\n        return self::$pdfRendererPath;\n    }\n\n    /**\n     * Set options for libxml loader\n     *\n     * @param   int   $options   Options for libxml loader\n     */\n    public static function setLibXmlLoaderOptions($options = null)\n    {\n        if (is_null($options) && defined('LIBXML_DTDLOAD')) {\n            $options = LIBXML_DTDLOAD | LIBXML_DTDATTR;\n        }\n        if (version_compare(PHP_VERSION, '5.2.11') >= 0) {\n            @libxml_disable_entity_loader((bool) $options);\n        }\n        self::$libXmlLoaderOptions = $options;\n    }\n\n    /**\n     * Get defined options for libxml loader.\n     * Defaults to LIBXML_DTDLOAD | LIBXML_DTDATTR when not set explicitly.\n     *\n     * @return int Default options for libxml loader\n     */\n    public static function getLibXmlLoaderOptions()\n    {\n        if (is_null(self::$libXmlLoaderOptions) && defined('LIBXML_DTDLOAD')) {\n            self::setLibXmlLoaderOptions(LIBXML_DTDLOAD | LIBXML_DTDATTR);\n        } elseif (is_null(self::$libXmlLoaderOptions)) {\n            self::$libXmlLoaderOptions = true;\n        }\n        if (version_compare(PHP_VERSION, '5.2.11') >= 0) {\n            @libxml_disable_entity_loader((bool) self::$libXmlLoaderOptions);\n        }\n        return self::$libXmlLoaderOptions;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/CodePage.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_CodePage\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_CodePage\n{\n    /**\n     * Convert Microsoft Code Page Identifier to Code Page Name which iconv\n     * and mbstring understands\n     *\n     * @param integer $codePage Microsoft Code Page Indentifier\n     * @return string Code Page Name\n     * @throws PHPExcel_Exception\n     */\n    public static function NumberToName($codePage = 1252)\n    {\n        switch ($codePage) {\n            case 367:\n                return 'ASCII';    //    ASCII\n            case 437:\n                return 'CP437';    //    OEM US\n            case 720:\n                throw new PHPExcel_Exception('Code page 720 not supported.');    //    OEM Arabic\n            case 737:\n                return 'CP737';    //    OEM Greek\n            case 775:\n                return 'CP775';    //    OEM Baltic\n            case 850:\n                return 'CP850';    //    OEM Latin I\n            case 852:\n                return 'CP852';    //    OEM Latin II (Central European)\n            case 855:\n                return 'CP855';    //    OEM Cyrillic\n            case 857:\n                return 'CP857';    //    OEM Turkish\n            case 858:\n                return 'CP858';    //    OEM Multilingual Latin I with Euro\n            case 860:\n                return 'CP860';    //    OEM Portugese\n            case 861:\n                return 'CP861';    //    OEM Icelandic\n            case 862:\n                return 'CP862';    //    OEM Hebrew\n            case 863:\n                return 'CP863';    //    OEM Canadian (French)\n            case 864:\n                return 'CP864';    //    OEM Arabic\n            case 865:\n                return 'CP865';    //    OEM Nordic\n            case 866:\n                return 'CP866';    //    OEM Cyrillic (Russian)\n            case 869:\n                return 'CP869';    //    OEM Greek (Modern)\n            case 874:\n                return 'CP874';    //    ANSI Thai\n            case 932:\n                return 'CP932';    //    ANSI Japanese Shift-JIS\n            case 936:\n                return 'CP936';    //    ANSI Chinese Simplified GBK\n            case 949:\n                return 'CP949';    //    ANSI Korean (Wansung)\n            case 950:\n                return 'CP950';    //    ANSI Chinese Traditional BIG5\n            case 1200:\n                return 'UTF-16LE'; //    UTF-16 (BIFF8)\n            case 1250:\n                return 'CP1250';   //    ANSI Latin II (Central European)\n            case 1251:\n                return 'CP1251';   //    ANSI Cyrillic\n            case 0:\n                //    CodePage is not always correctly set when the xls file was saved by Apple's Numbers program\n            case 1252:\n                return 'CP1252';   //    ANSI Latin I (BIFF4-BIFF7)\n            case 1253:\n                return 'CP1253';   //    ANSI Greek\n            case 1254:\n                return 'CP1254';   //    ANSI Turkish\n            case 1255:\n                return 'CP1255';   //    ANSI Hebrew\n            case 1256:\n                return 'CP1256';   //    ANSI Arabic\n            case 1257:\n                return 'CP1257';   //    ANSI Baltic\n            case 1258:\n                return 'CP1258';   //    ANSI Vietnamese\n            case 1361:\n                return 'CP1361';   //    ANSI Korean (Johab)\n            case 10000:\n                return 'MAC';      //    Apple Roman\n            case 10001:\n                return 'CP932';    //    Macintosh Japanese\n            case 10002:\n                return 'CP950';    //    Macintosh Chinese Traditional\n            case 10003:\n                return 'CP1361';   //    Macintosh Korean\n            case 10004:\t\n                return 'MACARABIC';  //\tApple Arabic\n            case 10005:\n                return 'MACHEBREW';\t\t//\tApple Hebrew\n            case 10006:\n                return 'MACGREEK';  //    Macintosh Greek\n            case 10007:\n                return 'MACCYRILLIC';  //    Macintosh Cyrillic\n            case 10008:\n                return 'CP936';  //    Macintosh - Simplified Chinese (GB 2312)\n            case 10010:\n                return 'MACROMANIA';\t//\tMacintosh Romania\n            case 10017:\n                return 'MACUKRAINE';\t//\tMacintosh Ukraine\n            case 10021:\n                return 'MACTHAI';\t//\tMacintosh Thai\n            case 10029:\n                return 'MACCENTRALEUROPE';  //    Macintosh Central Europe\n            case 10079:\n                return 'MACICELAND';  //    Macintosh Icelandic\n            case 10081:\n                return 'MACTURKISH';  //    Macintosh Turkish\n            case 10082:\n                return 'MACCROATIAN';\t//\tMacintosh Croatian\n            case 21010:\n                return 'UTF-16LE';  //    UTF-16 (BIFF8) This isn't correct, but some Excel writer libraries erroneously use Codepage 21010 for UTF-16LE\n            case 32768:\n                return 'MAC';      //    Apple Roman\n            case 32769:\n                throw new PHPExcel_Exception('Code page 32769 not supported.');  //    ANSI Latin I (BIFF2-BIFF3)\n            case 65000:\n                return 'UTF-7';    //    Unicode (UTF-7)\n            case 65001:\n                return 'UTF-8';    //    Unicode (UTF-8)\n        }\n        throw new PHPExcel_Exception('Unknown codepage: ' . $codePage);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Date.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Date\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Date\n{\n    /** constants */\n    const CALENDAR_WINDOWS_1900 = 1900;        //    Base date of 1st Jan 1900 = 1.0\n    const CALENDAR_MAC_1904 = 1904;            //    Base date of 2nd Jan 1904 = 1.0\n\n    /*\n     * Names of the months of the year, indexed by shortname\n     * Planned usage for locale settings\n     *\n     * @public\n     * @var    string[]\n     */\n    public static $monthNames = array(\n        'Jan' => 'January',\n        'Feb' => 'February',\n        'Mar' => 'March',\n        'Apr' => 'April',\n        'May' => 'May',\n        'Jun' => 'June',\n        'Jul' => 'July',\n        'Aug' => 'August',\n        'Sep' => 'September',\n        'Oct' => 'October',\n        'Nov' => 'November',\n        'Dec' => 'December',\n    );\n\n    /*\n     * Names of the months of the year, indexed by shortname\n     * Planned usage for locale settings\n     *\n     * @public\n     * @var    string[]\n     */\n    public static $numberSuffixes = array(\n        'st',\n        'nd',\n        'rd',\n        'th',\n    );\n\n    /*\n     * Base calendar year to use for calculations\n     *\n     * @private\n     * @var    int\n     */\n    protected static $excelBaseDate = self::CALENDAR_WINDOWS_1900;\n\n    /**\n     * Set the Excel calendar (Windows 1900 or Mac 1904)\n     *\n     * @param     integer    $baseDate           Excel base date (1900 or 1904)\n     * @return    boolean                        Success or failure\n     */\n    public static function setExcelCalendar($baseDate)\n    {\n        if (($baseDate == self::CALENDAR_WINDOWS_1900) ||\n            ($baseDate == self::CALENDAR_MAC_1904)) {\n            self::$excelBaseDate = $baseDate;\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Return the Excel calendar (Windows 1900 or Mac 1904)\n     *\n     * @return     integer    Excel base date (1900 or 1904)\n     */\n    public static function getExcelCalendar()\n    {\n        return self::$excelBaseDate;\n    }\n\n\n    /**\n     *    Convert a date from Excel to PHP\n     *\n     *    @param        integer        $dateValue            Excel date/time value\n     *    @param        boolean        $adjustToTimezone    Flag indicating whether $dateValue should be treated as\n     *                                                    a UST timestamp, or adjusted to UST\n     *    @param        string         $timezone            The timezone for finding the adjustment from UST\n     *    @return       integer        PHP serialized date/time\n     */\n    public static function ExcelToPHP($dateValue = 0, $adjustToTimezone = false, $timezone = null)\n    {\n        if (self::$excelBaseDate == self::CALENDAR_WINDOWS_1900) {\n            $myexcelBaseDate = 25569;\n            //    Adjust for the spurious 29-Feb-1900 (Day 60)\n            if ($dateValue < 60) {\n                --$myexcelBaseDate;\n            }\n        } else {\n            $myexcelBaseDate = 24107;\n        }\n\n        // Perform conversion\n        if ($dateValue >= 1) {\n            $utcDays = $dateValue - $myexcelBaseDate;\n            $returnValue = round($utcDays * 86400);\n            if (($returnValue <= PHP_INT_MAX) && ($returnValue >= -PHP_INT_MAX)) {\n                $returnValue = (integer) $returnValue;\n            }\n        } else {\n            $hours = round($dateValue * 24);\n            $mins = round($dateValue * 1440) - round($hours * 60);\n            $secs = round($dateValue * 86400) - round($hours * 3600) - round($mins * 60);\n            $returnValue = (integer) gmmktime($hours, $mins, $secs);\n        }\n\n        $timezoneAdjustment = ($adjustToTimezone) ?\n            PHPExcel_Shared_TimeZone::getTimezoneAdjustment($timezone, $returnValue) :\n            0;\n\n        return $returnValue + $timezoneAdjustment;\n    }\n\n\n    /**\n     * Convert a date from Excel to a PHP Date/Time object\n     *\n     * @param    integer        $dateValue        Excel date/time value\n     * @return    DateTime                    PHP date/time object\n     */\n    public static function ExcelToPHPObject($dateValue = 0)\n    {\n        $dateTime = self::ExcelToPHP($dateValue);\n        $days = floor($dateTime / 86400);\n        $time = round((($dateTime / 86400) - $days) * 86400);\n        $hours = round($time / 3600);\n        $minutes = round($time / 60) - ($hours * 60);\n        $seconds = round($time) - ($hours * 3600) - ($minutes * 60);\n\n        $dateObj = date_create('1-Jan-1970+'.$days.' days');\n        $dateObj->setTime($hours, $minutes, $seconds);\n\n        return $dateObj;\n    }\n\n\n    /**\n     *    Convert a date from PHP to Excel\n     *\n     *    @param    mixed        $dateValue            PHP serialized date/time or date object\n     *    @param    boolean        $adjustToTimezone    Flag indicating whether $dateValue should be treated as\n     *                                                    a UST timestamp, or adjusted to UST\n     *    @param    string         $timezone            The timezone for finding the adjustment from UST\n     *    @return    mixed        Excel date/time value\n     *                            or boolean FALSE on failure\n     */\n    public static function PHPToExcel($dateValue = 0, $adjustToTimezone = false, $timezone = null)\n    {\n        $saveTimeZone = date_default_timezone_get();\n        date_default_timezone_set('UTC');\n\n        $timezoneAdjustment = ($adjustToTimezone) ?\n            PHPExcel_Shared_TimeZone::getTimezoneAdjustment($timezone ? $timezone : $saveTimeZone, $dateValue) :\n            0;\n\n        $retValue = false;\n        if ((is_object($dateValue)) && ($dateValue instanceof DateTime)) {\n            $dateValue->add(new DateInterval('PT' . $timezoneAdjustment . 'S'));\n            $retValue = self::FormattedPHPToExcel($dateValue->format('Y'), $dateValue->format('m'), $dateValue->format('d'), $dateValue->format('H'), $dateValue->format('i'), $dateValue->format('s'));\n        } elseif (is_numeric($dateValue)) {\n            $dateValue += $timezoneAdjustment;\n            $retValue = self::FormattedPHPToExcel(date('Y', $dateValue), date('m', $dateValue), date('d', $dateValue), date('H', $dateValue), date('i', $dateValue), date('s', $dateValue));\n        } elseif (is_string($dateValue)) {\n            $retValue = self::stringToExcel($dateValue);\n        }\n        date_default_timezone_set($saveTimeZone);\n\n        return $retValue;\n    }\n\n\n    /**\n     * FormattedPHPToExcel\n     *\n     * @param    integer    $year\n     * @param    integer    $month\n     * @param    integer    $day\n     * @param    integer    $hours\n     * @param    integer    $minutes\n     * @param    integer    $seconds\n     * @return   integer    Excel date/time value\n     */\n    public static function FormattedPHPToExcel($year, $month, $day, $hours = 0, $minutes = 0, $seconds = 0)\n    {\n        if (self::$excelBaseDate == self::CALENDAR_WINDOWS_1900) {\n            //\n            //    Fudge factor for the erroneous fact that the year 1900 is treated as a Leap Year in MS Excel\n            //    This affects every date following 28th February 1900\n            //\n            $excel1900isLeapYear = true;\n            if (($year == 1900) && ($month <= 2)) {\n                $excel1900isLeapYear = false;\n            }\n            $myexcelBaseDate = 2415020;\n        } else {\n            $myexcelBaseDate = 2416481;\n            $excel1900isLeapYear = false;\n        }\n\n        //    Julian base date Adjustment\n        if ($month > 2) {\n            $month -= 3;\n        } else {\n            $month += 9;\n            --$year;\n        }\n\n        //    Calculate the Julian Date, then subtract the Excel base date (JD 2415020 = 31-Dec-1899 Giving Excel Date of 0)\n        $century = substr($year, 0, 2);\n        $decade = substr($year, 2, 2);\n        $excelDate = floor((146097 * $century) / 4) + floor((1461 * $decade) / 4) + floor((153 * $month + 2) / 5) + $day + 1721119 - $myexcelBaseDate + $excel1900isLeapYear;\n\n        $excelTime = (($hours * 3600) + ($minutes * 60) + $seconds) / 86400;\n\n        return (float) $excelDate + $excelTime;\n    }\n\n\n    /**\n     * Is a given cell a date/time?\n     *\n     * @param     PHPExcel_Cell    $pCell\n     * @return     boolean\n     */\n    public static function isDateTime(PHPExcel_Cell $pCell)\n    {\n        return self::isDateTimeFormat(\n            $pCell->getWorksheet()->getStyle(\n                $pCell->getCoordinate()\n            )->getNumberFormat()\n        );\n    }\n\n\n    /**\n     * Is a given number format a date/time?\n     *\n     * @param     PHPExcel_Style_NumberFormat    $pFormat\n     * @return     boolean\n     */\n    public static function isDateTimeFormat(PHPExcel_Style_NumberFormat $pFormat)\n    {\n        return self::isDateTimeFormatCode($pFormat->getFormatCode());\n    }\n\n\n    private static $possibleDateFormatCharacters = 'eymdHs';\n\n    /**\n     * Is a given number format code a date/time?\n     *\n     * @param     string    $pFormatCode\n     * @return     boolean\n     */\n    public static function isDateTimeFormatCode($pFormatCode = '')\n    {\n        if (strtolower($pFormatCode) === strtolower(PHPExcel_Style_NumberFormat::FORMAT_GENERAL)) {\n            //    \"General\" contains an epoch letter 'e', so we trap for it explicitly here (case-insensitive check)\n            return false;\n        }\n        if (preg_match('/[0#]E[+-]0/i', $pFormatCode)) {\n            //    Scientific format\n            return false;\n        }\n\n        // Switch on formatcode\n        switch ($pFormatCode) {\n            //    Explicitly defined date formats\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_DDMMYYYY:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMYSLASH:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMYMINUS:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMMINUS:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_MYMINUS:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_DATETIME:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME1:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME2:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME3:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME5:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME6:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME7:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME8:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDDSLASH:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX14:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX16:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX17:\n            case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX22:\n                return true;\n        }\n\n        //    Typically number, currency or accounting (or occasionally fraction) formats\n        if ((substr($pFormatCode, 0, 1) == '_') || (substr($pFormatCode, 0, 2) == '0 ')) {\n            return false;\n        }\n        // Try checking for any of the date formatting characters that don't appear within square braces\n        if (preg_match('/(^|\\])[^\\[]*['.self::$possibleDateFormatCharacters.']/i', $pFormatCode)) {\n            //    We might also have a format mask containing quoted strings...\n            //        we don't want to test for any of our characters within the quoted blocks\n            if (strpos($pFormatCode, '\"') !== false) {\n                $segMatcher = false;\n                foreach (explode('\"', $pFormatCode) as $subVal) {\n                    //    Only test in alternate array entries (the non-quoted blocks)\n                    if (($segMatcher = !$segMatcher) &&\n                        (preg_match('/(^|\\])[^\\[]*['.self::$possibleDateFormatCharacters.']/i', $subVal))) {\n                        return true;\n                    }\n                }\n                return false;\n            }\n            return true;\n        }\n\n        // No date...\n        return false;\n    }\n\n\n    /**\n     * Convert a date/time string to Excel time\n     *\n     * @param    string    $dateValue        Examples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10'\n     * @return    float|FALSE        Excel date/time serial value\n     */\n    public static function stringToExcel($dateValue = '')\n    {\n        if (strlen($dateValue) < 2) {\n            return false;\n        }\n        if (!preg_match('/^(\\d{1,4}[ \\.\\/\\-][A-Z]{3,9}([ \\.\\/\\-]\\d{1,4})?|[A-Z]{3,9}[ \\.\\/\\-]\\d{1,4}([ \\.\\/\\-]\\d{1,4})?|\\d{1,4}[ \\.\\/\\-]\\d{1,4}([ \\.\\/\\-]\\d{1,4})?)( \\d{1,2}:\\d{1,2}(:\\d{1,2})?)?$/iu', $dateValue)) {\n            return false;\n        }\n\n        $dateValueNew = PHPExcel_Calculation_DateTime::DATEVALUE($dateValue);\n\n        if ($dateValueNew === PHPExcel_Calculation_Functions::VALUE()) {\n            return false;\n        }\n\n        if (strpos($dateValue, ':') !== false) {\n            $timeValue = PHPExcel_Calculation_DateTime::TIMEVALUE($dateValue);\n            if ($timeValue === PHPExcel_Calculation_Functions::VALUE()) {\n                return false;\n            }\n            $dateValueNew += $timeValue;\n        }\n        return $dateValueNew;\n    }\n\n    /**\n     * Converts a month name (either a long or a short name) to a month number\n     *\n     * @param     string    $month    Month name or abbreviation\n     * @return    integer|string     Month number (1 - 12), or the original string argument if it isn't a valid month name\n     */\n    public static function monthStringToNumber($month)\n    {\n        $monthIndex = 1;\n        foreach (self::$monthNames as $shortMonthName => $longMonthName) {\n            if (($month === $longMonthName) || ($month === $shortMonthName)) {\n                return $monthIndex;\n            }\n            ++$monthIndex;\n        }\n        return $month;\n    }\n\n    /**\n     * Strips an ordinal froma numeric value\n     *\n     * @param     string    $day      Day number with an ordinal\n     * @return    integer|string      The integer value with any ordinal stripped, or the original string argument if it isn't a valid numeric\n     */\n    public static function dayStringToNumber($day)\n    {\n        $strippedDayValue = (str_replace(self::$numberSuffixes, '', $day));\n        if (is_numeric($strippedDayValue)) {\n            return (integer) $strippedDayValue;\n        }\n        return $day;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Drawing.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Shared_Drawing\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Shared_Drawing\n{\n    /**\n     * Convert pixels to EMU\n     *\n     * @param     int $pValue    Value in pixels\n     * @return     int            Value in EMU\n     */\n    public static function pixelsToEMU($pValue = 0)\n    {\n        return round($pValue * 9525);\n    }\n\n    /**\n     * Convert EMU to pixels\n     *\n     * @param     int $pValue    Value in EMU\n     * @return     int            Value in pixels\n     */\n    public static function EMUToPixels($pValue = 0)\n    {\n        if ($pValue != 0) {\n            return round($pValue / 9525);\n        } else {\n            return 0;\n        }\n    }\n\n    /**\n     * Convert pixels to column width. Exact algorithm not known.\n     * By inspection of a real Excel file using Calibri 11, one finds 1000px ~ 142.85546875\n     * This gives a conversion factor of 7. Also, we assume that pixels and font size are proportional.\n     *\n     * @param     int $pValue    Value in pixels\n     * @param     PHPExcel_Style_Font $pDefaultFont    Default font of the workbook\n     * @return     int            Value in cell dimension\n     */\n    public static function pixelsToCellDimension($pValue = 0, PHPExcel_Style_Font $pDefaultFont)\n    {\n        // Font name and size\n        $name = $pDefaultFont->getName();\n        $size = $pDefaultFont->getSize();\n\n        if (isset(PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size])) {\n            // Exact width can be determined\n            $colWidth = $pValue * PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['width'] / PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['px'];\n        } else {\n            // We don't have data for this particular font and size, use approximation by\n            // extrapolating from Calibri 11\n            $colWidth = $pValue * 11 * PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['width'] / PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['px'] / $size;\n        }\n\n        return $colWidth;\n    }\n\n    /**\n     * Convert column width from (intrinsic) Excel units to pixels\n     *\n     * @param     float    $pValue        Value in cell dimension\n     * @param     PHPExcel_Style_Font $pDefaultFont    Default font of the workbook\n     * @return     int        Value in pixels\n     */\n    public static function cellDimensionToPixels($pValue = 0, PHPExcel_Style_Font $pDefaultFont)\n    {\n        // Font name and size\n        $name = $pDefaultFont->getName();\n        $size = $pDefaultFont->getSize();\n\n        if (isset(PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size])) {\n            // Exact width can be determined\n            $colWidth = $pValue * PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['px'] / PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['width'];\n        } else {\n            // We don't have data for this particular font and size, use approximation by\n            // extrapolating from Calibri 11\n            $colWidth = $pValue * $size * PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['px'] / PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['width'] / 11;\n        }\n\n        // Round pixels to closest integer\n        $colWidth = (int) round($colWidth);\n\n        return $colWidth;\n    }\n\n    /**\n     * Convert pixels to points\n     *\n     * @param     int $pValue    Value in pixels\n     * @return     int            Value in points\n     */\n    public static function pixelsToPoints($pValue = 0)\n    {\n        return $pValue * 0.67777777;\n    }\n\n    /**\n     * Convert points to pixels\n     *\n     * @param     int $pValue    Value in points\n     * @return     int            Value in pixels\n     */\n    public static function pointsToPixels($pValue = 0)\n    {\n        if ($pValue != 0) {\n            return (int) ceil($pValue * 1.333333333);\n        } else {\n            return 0;\n        }\n    }\n\n    /**\n     * Convert degrees to angle\n     *\n     * @param     int $pValue    Degrees\n     * @return     int            Angle\n     */\n    public static function degreesToAngle($pValue = 0)\n    {\n        return (int)round($pValue * 60000);\n    }\n\n    /**\n     * Convert angle to degrees\n     *\n     * @param     int $pValue    Angle\n     * @return     int            Degrees\n     */\n    public static function angleToDegrees($pValue = 0)\n    {\n        if ($pValue != 0) {\n            return round($pValue / 60000);\n        } else {\n            return 0;\n        }\n    }\n\n    /**\n     * Create a new image from file. By alexander at alexauto dot nl\n     *\n     * @link http://www.php.net/manual/en/function.imagecreatefromwbmp.php#86214\n     * @param string $filename Path to Windows DIB (BMP) image\n     * @return resource\n     */\n    public static function imagecreatefrombmp($p_sFile)\n    {\n        //    Load the image into a string\n        $file = fopen($p_sFile, \"rb\");\n        $read = fread($file, 10);\n        while (!feof($file) && ($read<>\"\")) {\n            $read .= fread($file, 1024);\n        }\n\n        $temp = unpack(\"H*\", $read);\n        $hex = $temp[1];\n        $header = substr($hex, 0, 108);\n\n        //    Process the header\n        //    Structure: http://www.fastgraph.com/help/bmp_header_format.html\n        if (substr($header, 0, 4)==\"424d\") {\n            //    Cut it in parts of 2 bytes\n            $header_parts = str_split($header, 2);\n\n            //    Get the width        4 bytes\n            $width = hexdec($header_parts[19].$header_parts[18]);\n\n            //    Get the height        4 bytes\n            $height = hexdec($header_parts[23].$header_parts[22]);\n\n            //    Unset the header params\n            unset($header_parts);\n        }\n\n        //    Define starting X and Y\n        $x = 0;\n        $y = 1;\n\n        //    Create newimage\n        $image = imagecreatetruecolor($width, $height);\n\n        //    Grab the body from the image\n        $body = substr($hex, 108);\n\n        //    Calculate if padding at the end-line is needed\n        //    Divided by two to keep overview.\n        //    1 byte = 2 HEX-chars\n        $body_size = (strlen($body)/2);\n        $header_size = ($width*$height);\n\n        //    Use end-line padding? Only when needed\n        $usePadding = ($body_size>($header_size*3)+4);\n\n        //    Using a for-loop with index-calculation instaid of str_split to avoid large memory consumption\n        //    Calculate the next DWORD-position in the body\n        for ($i = 0; $i < $body_size; $i += 3) {\n            //    Calculate line-ending and padding\n            if ($x >= $width) {\n                // If padding needed, ignore image-padding\n                // Shift i to the ending of the current 32-bit-block\n                if ($usePadding) {\n                    $i += $width%4;\n                }\n\n                //    Reset horizontal position\n                $x = 0;\n\n                //    Raise the height-position (bottom-up)\n                $y++;\n\n                //    Reached the image-height? Break the for-loop\n                if ($y > $height) {\n                    break;\n                }\n            }\n\n            // Calculation of the RGB-pixel (defined as BGR in image-data)\n            // Define $i_pos as absolute position in the body\n            $i_pos    = $i * 2;\n            $r        = hexdec($body[$i_pos+4].$body[$i_pos+5]);\n            $g        = hexdec($body[$i_pos+2].$body[$i_pos+3]);\n            $b        = hexdec($body[$i_pos].$body[$i_pos+1]);\n\n            // Calculate and draw the pixel\n            $color    = imagecolorallocate($image, $r, $g, $b);\n            imagesetpixel($image, $x, $height-$y, $color);\n\n            // Raise the horizontal position\n            $x++;\n        }\n\n        // Unset the body / free the memory\n        unset($body);\n\n        //    Return image-object\n        return $image;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer\n{\n    /**\n     * Parent Shape Group Container\n     *\n     * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer\n     */\n    private $parent;\n\n    /**\n     * Is this a group shape?\n     *\n     * @var boolean\n     */\n    private $spgr = false;\n\n    /**\n     * Shape type\n     *\n     * @var int\n     */\n    private $spType;\n\n    /**\n     * Shape flag\n     *\n     * @var int\n     */\n    private $spFlag;\n\n    /**\n     * Shape index (usually group shape has index 0, and the rest: 1,2,3...)\n     *\n     * @var boolean\n     */\n    private $spId;\n\n    /**\n     * Array of options\n     *\n     * @var array\n     */\n    private $OPT;\n\n    /**\n     * Cell coordinates of upper-left corner of shape, e.g. 'A1'\n     *\n     * @var string\n     */\n    private $startCoordinates;\n\n    /**\n     * Horizontal offset of upper-left corner of shape measured in 1/1024 of column width\n     *\n     * @var int\n     */\n    private $startOffsetX;\n\n    /**\n     * Vertical offset of upper-left corner of shape measured in 1/256 of row height\n     *\n     * @var int\n     */\n    private $startOffsetY;\n\n    /**\n     * Cell coordinates of bottom-right corner of shape, e.g. 'B2'\n     *\n     * @var string\n     */\n    private $endCoordinates;\n\n    /**\n     * Horizontal offset of bottom-right corner of shape measured in 1/1024 of column width\n     *\n     * @var int\n     */\n    private $endOffsetX;\n\n    /**\n     * Vertical offset of bottom-right corner of shape measured in 1/256 of row height\n     *\n     * @var int\n     */\n    private $endOffsetY;\n\n    /**\n     * Set parent Shape Group Container\n     *\n     * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent\n     */\n    public function setParent($parent)\n    {\n        $this->parent = $parent;\n    }\n\n    /**\n     * Get the parent Shape Group Container\n     *\n     * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Set whether this is a group shape\n     *\n     * @param boolean $value\n     */\n    public function setSpgr($value = false)\n    {\n        $this->spgr = $value;\n    }\n\n    /**\n     * Get whether this is a group shape\n     *\n     * @return boolean\n     */\n    public function getSpgr()\n    {\n        return $this->spgr;\n    }\n\n    /**\n     * Set the shape type\n     *\n     * @param int $value\n     */\n    public function setSpType($value)\n    {\n        $this->spType = $value;\n    }\n\n    /**\n     * Get the shape type\n     *\n     * @return int\n     */\n    public function getSpType()\n    {\n        return $this->spType;\n    }\n\n    /**\n     * Set the shape flag\n     *\n     * @param int $value\n     */\n    public function setSpFlag($value)\n    {\n        $this->spFlag = $value;\n    }\n\n    /**\n     * Get the shape flag\n     *\n     * @return int\n     */\n    public function getSpFlag()\n    {\n        return $this->spFlag;\n    }\n\n    /**\n     * Set the shape index\n     *\n     * @param int $value\n     */\n    public function setSpId($value)\n    {\n        $this->spId = $value;\n    }\n\n    /**\n     * Get the shape index\n     *\n     * @return int\n     */\n    public function getSpId()\n    {\n        return $this->spId;\n    }\n\n    /**\n     * Set an option for the Shape Group Container\n     *\n     * @param int $property The number specifies the option\n     * @param mixed $value\n     */\n    public function setOPT($property, $value)\n    {\n        $this->OPT[$property] = $value;\n    }\n\n    /**\n     * Get an option for the Shape Group Container\n     *\n     * @param int $property The number specifies the option\n     * @return mixed\n     */\n    public function getOPT($property)\n    {\n        if (isset($this->OPT[$property])) {\n            return $this->OPT[$property];\n        }\n        return null;\n    }\n\n    /**\n     * Get the collection of options\n     *\n     * @return array\n     */\n    public function getOPTCollection()\n    {\n        return $this->OPT;\n    }\n\n    /**\n     * Set cell coordinates of upper-left corner of shape\n     *\n     * @param string $value\n     */\n    public function setStartCoordinates($value = 'A1')\n    {\n        $this->startCoordinates = $value;\n    }\n\n    /**\n     * Get cell coordinates of upper-left corner of shape\n     *\n     * @return string\n     */\n    public function getStartCoordinates()\n    {\n        return $this->startCoordinates;\n    }\n\n    /**\n     * Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width\n     *\n     * @param int $startOffsetX\n     */\n    public function setStartOffsetX($startOffsetX = 0)\n    {\n        $this->startOffsetX = $startOffsetX;\n    }\n\n    /**\n     * Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width\n     *\n     * @return int\n     */\n    public function getStartOffsetX()\n    {\n        return $this->startOffsetX;\n    }\n\n    /**\n     * Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height\n     *\n     * @param int $startOffsetY\n     */\n    public function setStartOffsetY($startOffsetY = 0)\n    {\n        $this->startOffsetY = $startOffsetY;\n    }\n\n    /**\n     * Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height\n     *\n     * @return int\n     */\n    public function getStartOffsetY()\n    {\n        return $this->startOffsetY;\n    }\n\n    /**\n     * Set cell coordinates of bottom-right corner of shape\n     *\n     * @param string $value\n     */\n    public function setEndCoordinates($value = 'A1')\n    {\n        $this->endCoordinates = $value;\n    }\n\n    /**\n     * Get cell coordinates of bottom-right corner of shape\n     *\n     * @return string\n     */\n    public function getEndCoordinates()\n    {\n        return $this->endCoordinates;\n    }\n\n    /**\n     * Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width\n     *\n     * @param int $startOffsetX\n     */\n    public function setEndOffsetX($endOffsetX = 0)\n    {\n        $this->endOffsetX = $endOffsetX;\n    }\n\n    /**\n     * Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width\n     *\n     * @return int\n     */\n    public function getEndOffsetX()\n    {\n        return $this->endOffsetX;\n    }\n\n    /**\n     * Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height\n     *\n     * @param int $endOffsetY\n     */\n    public function setEndOffsetY($endOffsetY = 0)\n    {\n        $this->endOffsetY = $endOffsetY;\n    }\n\n    /**\n     * Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height\n     *\n     * @return int\n     */\n    public function getEndOffsetY()\n    {\n        return $this->endOffsetY;\n    }\n\n    /**\n     * Get the nesting level of this spContainer. This is the number of spgrContainers between this spContainer and\n     * the dgContainer. A value of 1 = immediately within first spgrContainer\n     * Higher nesting level occurs if and only if spContainer is part of a shape group\n     *\n     * @return int Nesting level\n     */\n    public function getNestingLevel()\n    {\n        $nestingLevel = 0;\n\n        $parent = $this->getParent();\n        while ($parent instanceof PHPExcel_Shared_Escher_DgContainer_SpgrContainer) {\n            ++$nestingLevel;\n            $parent = $parent->getParent();\n        }\n\n        return $nestingLevel;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DgContainer_SpgrContainer\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DgContainer_SpgrContainer\n{\n    /**\n     * Parent Shape Group Container\n     *\n     * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer\n     */\n    private $parent;\n\n    /**\n     * Shape Container collection\n     *\n     * @var array\n     */\n    private $children = array();\n\n    /**\n     * Set parent Shape Group Container\n     *\n     * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent\n     */\n    public function setParent($parent)\n    {\n        $this->parent = $parent;\n    }\n\n    /**\n     * Get the parent Shape Group Container if any\n     *\n     * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer|null\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Add a child. This will be either spgrContainer or spContainer\n     *\n     * @param mixed $child\n     */\n    public function addChild($child)\n    {\n        $this->children[] = $child;\n        $child->setParent($this);\n    }\n\n    /**\n     * Get collection of Shape Containers\n     */\n    public function getChildren()\n    {\n        return $this->children;\n    }\n\n    /**\n     * Recursively get all spContainers within this spgrContainer\n     *\n     * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer[]\n     */\n    public function getAllSpContainers()\n    {\n        $allSpContainers = array();\n\n        foreach ($this->children as $child) {\n            if ($child instanceof PHPExcel_Shared_Escher_DgContainer_SpgrContainer) {\n                $allSpContainers = array_merge($allSpContainers, $child->getAllSpContainers());\n            } else {\n                $allSpContainers[] = $child;\n            }\n        }\n\n        return $allSpContainers;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DgContainer.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DgContainer\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DgContainer\n{\n    /**\n     * Drawing index, 1-based.\n     *\n     * @var int\n     */\n    private $dgId;\n\n    /**\n     * Last shape index in this drawing\n     *\n     * @var int\n     */\n    private $lastSpId;\n\n    private $spgrContainer = null;\n\n    public function getDgId()\n    {\n        return $this->dgId;\n    }\n\n    public function setDgId($value)\n    {\n        $this->dgId = $value;\n    }\n\n    public function getLastSpId()\n    {\n        return $this->lastSpId;\n    }\n\n    public function setLastSpId($value)\n    {\n        $this->lastSpId = $value;\n    }\n\n    public function getSpgrContainer()\n    {\n        return $this->spgrContainer;\n    }\n\n    public function setSpgrContainer($spgrContainer)\n    {\n        return $this->spgrContainer = $spgrContainer;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip\n{\n    /**\n     * The parent BSE\n     *\n     * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE\n     */\n    private $parent;\n\n    /**\n     * Raw image data\n     *\n     * @var string\n     */\n    private $data;\n\n    /**\n     * Get the raw image data\n     *\n     * @return string\n     */\n    public function getData()\n    {\n        return $this->data;\n    }\n\n    /**\n     * Set the raw image data\n     *\n     * @param string\n     */\n    public function setData($data)\n    {\n        $this->data = $data;\n    }\n\n    /**\n     * Set parent BSE\n     *\n     * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent\n     */\n    public function setParent($parent)\n    {\n        $this->parent = $parent;\n    }\n\n    /**\n     * Get parent BSE\n     *\n     * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE\n{\n    const BLIPTYPE_ERROR    = 0x00;\n    const BLIPTYPE_UNKNOWN  = 0x01;\n    const BLIPTYPE_EMF      = 0x02;\n    const BLIPTYPE_WMF      = 0x03;\n    const BLIPTYPE_PICT     = 0x04;\n    const BLIPTYPE_JPEG     = 0x05;\n    const BLIPTYPE_PNG      = 0x06;\n    const BLIPTYPE_DIB      = 0x07;\n    const BLIPTYPE_TIFF     = 0x11;\n    const BLIPTYPE_CMYKJPEG = 0x12;\n\n    /**\n     * The parent BLIP Store Entry Container\n     *\n     * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer\n     */\n    private $parent;\n\n    /**\n     * The BLIP (Big Large Image or Picture)\n     *\n     * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip\n     */\n    private $blip;\n\n    /**\n     * The BLIP type\n     *\n     * @var int\n     */\n    private $blipType;\n\n    /**\n     * Set parent BLIP Store Entry Container\n     *\n     * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent\n     */\n    public function setParent($parent)\n    {\n        $this->parent = $parent;\n    }\n\n    /**\n     * Get the BLIP\n     *\n     * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip\n     */\n    public function getBlip()\n    {\n        return $this->blip;\n    }\n\n    /**\n     * Set the BLIP\n     *\n     * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip\n     */\n    public function setBlip($blip)\n    {\n        $this->blip = $blip;\n        $blip->setParent($this);\n    }\n\n    /**\n     * Get the BLIP type\n     *\n     * @return int\n     */\n    public function getBlipType()\n    {\n        return $this->blipType;\n    }\n\n    /**\n     * Set the BLIP type\n     *\n     * @param int\n     */\n    public function setBlipType($blipType)\n    {\n        $this->blipType = $blipType;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DggContainer_BstoreContainer\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DggContainer_BstoreContainer\n{\n    /**\n     * BLIP Store Entries. Each of them holds one BLIP (Big Large Image or Picture)\n     *\n     * @var array\n     */\n    private $BSECollection = array();\n\n    /**\n     * Add a BLIP Store Entry\n     *\n     * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $BSE\n     */\n    public function addBSE($BSE)\n    {\n        $this->BSECollection[] = $BSE;\n        $BSE->setParent($this);\n    }\n\n    /**\n     * Get the collection of BLIP Store Entries\n     *\n     * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE[]\n     */\n    public function getBSECollection()\n    {\n        return $this->BSECollection;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher/DggContainer.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher_DggContainer\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher_DggContainer\n{\n    /**\n     * Maximum shape index of all shapes in all drawings increased by one\n     *\n     * @var int\n     */\n    private $spIdMax;\n\n    /**\n     * Total number of drawings saved\n     *\n     * @var int\n     */\n    private $cDgSaved;\n\n    /**\n     * Total number of shapes saved (including group shapes)\n     *\n     * @var int\n     */\n    private $cSpSaved;\n\n    /**\n     * BLIP Store Container\n     *\n     * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer\n     */\n    private $bstoreContainer;\n\n    /**\n     * Array of options for the drawing group\n     *\n     * @var array\n     */\n    private $OPT = array();\n\n    /**\n     * Array of identifier clusters containg information about the maximum shape identifiers\n     *\n     * @var array\n     */\n    private $IDCLs = array();\n\n    /**\n     * Get maximum shape index of all shapes in all drawings (plus one)\n     *\n     * @return int\n     */\n    public function getSpIdMax()\n    {\n        return $this->spIdMax;\n    }\n\n    /**\n     * Set maximum shape index of all shapes in all drawings (plus one)\n     *\n     * @param int\n     */\n    public function setSpIdMax($value)\n    {\n        $this->spIdMax = $value;\n    }\n\n    /**\n     * Get total number of drawings saved\n     *\n     * @return int\n     */\n    public function getCDgSaved()\n    {\n        return $this->cDgSaved;\n    }\n\n    /**\n     * Set total number of drawings saved\n     *\n     * @param int\n     */\n    public function setCDgSaved($value)\n    {\n        $this->cDgSaved = $value;\n    }\n\n    /**\n     * Get total number of shapes saved (including group shapes)\n     *\n     * @return int\n     */\n    public function getCSpSaved()\n    {\n        return $this->cSpSaved;\n    }\n\n    /**\n     * Set total number of shapes saved (including group shapes)\n     *\n     * @param int\n     */\n    public function setCSpSaved($value)\n    {\n        $this->cSpSaved = $value;\n    }\n\n    /**\n     * Get BLIP Store Container\n     *\n     * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer\n     */\n    public function getBstoreContainer()\n    {\n        return $this->bstoreContainer;\n    }\n\n    /**\n     * Set BLIP Store Container\n     *\n     * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer\n     */\n    public function setBstoreContainer($bstoreContainer)\n    {\n        $this->bstoreContainer = $bstoreContainer;\n    }\n\n    /**\n     * Set an option for the drawing group\n     *\n     * @param int $property The number specifies the option\n     * @param mixed $value\n     */\n    public function setOPT($property, $value)\n    {\n        $this->OPT[$property] = $value;\n    }\n\n    /**\n     * Get an option for the drawing group\n     *\n     * @param int $property The number specifies the option\n     * @return mixed\n     */\n    public function getOPT($property)\n    {\n        if (isset($this->OPT[$property])) {\n            return $this->OPT[$property];\n        }\n        return null;\n    }\n\n    /**\n     * Get identifier clusters\n     *\n     * @return array\n     */\n    public function getIDCLs()\n    {\n        return $this->IDCLs;\n    }\n\n    /**\n     * Set identifier clusters. array(<drawingId> => <max shape id>, ...)\n     *\n     * @param array $pValue\n     */\n    public function setIDCLs($pValue)\n    {\n        $this->IDCLs = $pValue;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Escher.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Escher\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Escher\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Escher\n{\n    /**\n     * Drawing Group Container\n     *\n     * @var PHPExcel_Shared_Escher_DggContainer\n     */\n    private $dggContainer;\n\n    /**\n     * Drawing Container\n     *\n     * @var PHPExcel_Shared_Escher_DgContainer\n     */\n    private $dgContainer;\n\n    /**\n     * Get Drawing Group Container\n     *\n     * @return PHPExcel_Shared_Escher_DgContainer\n     */\n    public function getDggContainer()\n    {\n        return $this->dggContainer;\n    }\n\n    /**\n     * Set Drawing Group Container\n     *\n     * @param PHPExcel_Shared_Escher_DggContainer $dggContainer\n     */\n    public function setDggContainer($dggContainer)\n    {\n        return $this->dggContainer = $dggContainer;\n    }\n\n    /**\n     * Get Drawing Container\n     *\n     * @return PHPExcel_Shared_Escher_DgContainer\n     */\n    public function getDgContainer()\n    {\n        return $this->dgContainer;\n    }\n\n    /**\n     * Set Drawing Container\n     *\n     * @param PHPExcel_Shared_Escher_DgContainer $dgContainer\n     */\n    public function setDgContainer($dgContainer)\n    {\n        return $this->dgContainer = $dgContainer;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Excel5.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_Excel5\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_Excel5\n{\n    /**\n     * Get the width of a column in pixels. We use the relationship y = ceil(7x) where\n     * x is the width in intrinsic Excel units (measuring width in number of normal characters)\n     * This holds for Arial 10\n     *\n     * @param PHPExcel_Worksheet $sheet The sheet\n     * @param string $col The column\n     * @return integer The width in pixels\n    */\n    public static function sizeCol($sheet, $col = 'A')\n    {\n        // default font of the workbook\n        $font = $sheet->getParent()->getDefaultStyle()->getFont();\n\n        $columnDimensions = $sheet->getColumnDimensions();\n\n        // first find the true column width in pixels (uncollapsed and unhidden)\n        if (isset($columnDimensions[$col]) and $columnDimensions[$col]->getWidth() != -1) {\n            // then we have column dimension with explicit width\n            $columnDimension = $columnDimensions[$col];\n            $width = $columnDimension->getWidth();\n            $pixelWidth = PHPExcel_Shared_Drawing::cellDimensionToPixels($width, $font);\n        } elseif ($sheet->getDefaultColumnDimension()->getWidth() != -1) {\n            // then we have default column dimension with explicit width\n            $defaultColumnDimension = $sheet->getDefaultColumnDimension();\n            $width = $defaultColumnDimension->getWidth();\n            $pixelWidth = PHPExcel_Shared_Drawing::cellDimensionToPixels($width, $font);\n        } else {\n            // we don't even have any default column dimension. Width depends on default font\n            $pixelWidth = PHPExcel_Shared_Font::getDefaultColumnWidthByFont($font, true);\n        }\n\n        // now find the effective column width in pixels\n        if (isset($columnDimensions[$col]) and !$columnDimensions[$col]->getVisible()) {\n            $effectivePixelWidth = 0;\n        } else {\n            $effectivePixelWidth = $pixelWidth;\n        }\n\n        return $effectivePixelWidth;\n    }\n\n    /**\n     * Convert the height of a cell from user's units to pixels. By interpolation\n     * the relationship is: y = 4/3x. If the height hasn't been set by the user we\n     * use the default value. If the row is hidden we use a value of zero.\n     *\n     * @param PHPExcel_Worksheet $sheet The sheet\n     * @param integer $row The row index (1-based)\n     * @return integer The width in pixels\n     */\n    public static function sizeRow($sheet, $row = 1)\n    {\n        // default font of the workbook\n        $font = $sheet->getParent()->getDefaultStyle()->getFont();\n\n        $rowDimensions = $sheet->getRowDimensions();\n\n        // first find the true row height in pixels (uncollapsed and unhidden)\n        if (isset($rowDimensions[$row]) and $rowDimensions[$row]->getRowHeight() != -1) {\n            // then we have a row dimension\n            $rowDimension = $rowDimensions[$row];\n            $rowHeight = $rowDimension->getRowHeight();\n            $pixelRowHeight = (int) ceil(4 * $rowHeight / 3); // here we assume Arial 10\n        } elseif ($sheet->getDefaultRowDimension()->getRowHeight() != -1) {\n            // then we have a default row dimension with explicit height\n            $defaultRowDimension = $sheet->getDefaultRowDimension();\n            $rowHeight = $defaultRowDimension->getRowHeight();\n            $pixelRowHeight = PHPExcel_Shared_Drawing::pointsToPixels($rowHeight);\n        } else {\n            // we don't even have any default row dimension. Height depends on default font\n            $pointRowHeight = PHPExcel_Shared_Font::getDefaultRowHeightByFont($font);\n            $pixelRowHeight = PHPExcel_Shared_Font::fontSizeToPixels($pointRowHeight);\n        }\n\n        // now find the effective row height in pixels\n        if (isset($rowDimensions[$row]) and !$rowDimensions[$row]->getVisible()) {\n            $effectivePixelRowHeight = 0;\n        } else {\n            $effectivePixelRowHeight = $pixelRowHeight;\n        }\n\n        return $effectivePixelRowHeight;\n    }\n\n    /**\n     * Get the horizontal distance in pixels between two anchors\n     * The distanceX is found as sum of all the spanning columns widths minus correction for the two offsets\n     *\n     * @param PHPExcel_Worksheet $sheet\n     * @param string $startColumn\n     * @param integer $startOffsetX Offset within start cell measured in 1/1024 of the cell width\n     * @param string $endColumn\n     * @param integer $endOffsetX Offset within end cell measured in 1/1024 of the cell width\n     * @return integer Horizontal measured in pixels\n     */\n    public static function getDistanceX(PHPExcel_Worksheet $sheet, $startColumn = 'A', $startOffsetX = 0, $endColumn = 'A', $endOffsetX = 0)\n    {\n        $distanceX = 0;\n\n        // add the widths of the spanning columns\n        $startColumnIndex = PHPExcel_Cell::columnIndexFromString($startColumn) - 1; // 1-based\n        $endColumnIndex = PHPExcel_Cell::columnIndexFromString($endColumn) - 1; // 1-based\n        for ($i = $startColumnIndex; $i <= $endColumnIndex; ++$i) {\n            $distanceX += self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($i));\n        }\n\n        // correct for offsetX in startcell\n        $distanceX -= (int) floor(self::sizeCol($sheet, $startColumn) * $startOffsetX / 1024);\n\n        // correct for offsetX in endcell\n        $distanceX -= (int) floor(self::sizeCol($sheet, $endColumn) * (1 - $endOffsetX / 1024));\n\n        return $distanceX;\n    }\n\n    /**\n     * Get the vertical distance in pixels between two anchors\n     * The distanceY is found as sum of all the spanning rows minus two offsets\n     *\n     * @param PHPExcel_Worksheet $sheet\n     * @param integer $startRow (1-based)\n     * @param integer $startOffsetY Offset within start cell measured in 1/256 of the cell height\n     * @param integer $endRow (1-based)\n     * @param integer $endOffsetY Offset within end cell measured in 1/256 of the cell height\n     * @return integer Vertical distance measured in pixels\n     */\n    public static function getDistanceY(PHPExcel_Worksheet $sheet, $startRow = 1, $startOffsetY = 0, $endRow = 1, $endOffsetY = 0)\n    {\n        $distanceY = 0;\n\n        // add the widths of the spanning rows\n        for ($row = $startRow; $row <= $endRow; ++$row) {\n            $distanceY += self::sizeRow($sheet, $row);\n        }\n\n        // correct for offsetX in startcell\n        $distanceY -= (int) floor(self::sizeRow($sheet, $startRow) * $startOffsetY / 256);\n\n        // correct for offsetX in endcell\n        $distanceY -= (int) floor(self::sizeRow($sheet, $endRow) * (1 - $endOffsetY / 256));\n\n        return $distanceY;\n    }\n\n    /**\n     * Convert 1-cell anchor coordinates to 2-cell anchor coordinates\n     * This function is ported from PEAR Spreadsheet_Writer_Excel with small modifications\n     *\n     * Calculate the vertices that define the position of the image as required by\n     * the OBJ record.\n     *\n     *         +------------+------------+\n     *         |     A      |      B     |\n     *   +-----+------------+------------+\n     *   |     |(x1,y1)     |            |\n     *   |  1  |(A1)._______|______      |\n     *   |     |    |              |     |\n     *   |     |    |              |     |\n     *   +-----+----|    BITMAP    |-----+\n     *   |     |    |              |     |\n     *   |  2  |    |______________.     |\n     *   |     |            |        (B2)|\n     *   |     |            |     (x2,y2)|\n     *   +---- +------------+------------+\n     *\n     * Example of a bitmap that covers some of the area from cell A1 to cell B2.\n     *\n     * Based on the width and height of the bitmap we need to calculate 8 vars:\n     *     $col_start, $row_start, $col_end, $row_end, $x1, $y1, $x2, $y2.\n     * The width and height of the cells are also variable and have to be taken into\n     * account.\n     * The values of $col_start and $row_start are passed in from the calling\n     * function. The values of $col_end and $row_end are calculated by subtracting\n     * the width and height of the bitmap from the width and height of the\n     * underlying cells.\n     * The vertices are expressed as a percentage of the underlying cell width as\n     * follows (rhs values are in pixels):\n     *\n     *       x1 = X / W *1024\n     *       y1 = Y / H *256\n     *       x2 = (X-1) / W *1024\n     *       y2 = (Y-1) / H *256\n     *\n     *       Where:  X is distance from the left side of the underlying cell\n     *               Y is distance from the top of the underlying cell\n     *               W is the width of the cell\n     *               H is the height of the cell\n     *\n     * @param PHPExcel_Worksheet $sheet\n     * @param string $coordinates E.g. 'A1'\n     * @param integer $offsetX Horizontal offset in pixels\n     * @param integer $offsetY Vertical offset in pixels\n     * @param integer $width Width in pixels\n     * @param integer $height Height in pixels\n     * @return array\n     */\n    public static function oneAnchor2twoAnchor($sheet, $coordinates, $offsetX, $offsetY, $width, $height)\n    {\n        list($column, $row) = PHPExcel_Cell::coordinateFromString($coordinates);\n        $col_start = PHPExcel_Cell::columnIndexFromString($column) - 1;\n        $row_start = $row - 1;\n\n        $x1 = $offsetX;\n        $y1 = $offsetY;\n\n        // Initialise end cell to the same as the start cell\n        $col_end    = $col_start;  // Col containing lower right corner of object\n        $row_end    = $row_start;  // Row containing bottom right corner of object\n\n        // Zero the specified offset if greater than the cell dimensions\n        if ($x1 >= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start))) {\n            $x1 = 0;\n        }\n        if ($y1 >= self::sizeRow($sheet, $row_start + 1)) {\n            $y1 = 0;\n        }\n\n        $width      = $width  + $x1 -1;\n        $height     = $height + $y1 -1;\n\n        // Subtract the underlying cell widths to find the end cell of the image\n        while ($width >= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end))) {\n            $width -= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end));\n            ++$col_end;\n        }\n\n        // Subtract the underlying cell heights to find the end cell of the image\n        while ($height >= self::sizeRow($sheet, $row_end + 1)) {\n            $height -= self::sizeRow($sheet, $row_end + 1);\n            ++$row_end;\n        }\n\n        // Bitmap isn't allowed to start or finish in a hidden cell, i.e. a cell\n        // with zero height or width.\n        if (self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) == 0) {\n            return;\n        }\n        if (self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end))   == 0) {\n            return;\n        }\n        if (self::sizeRow($sheet, $row_start + 1) == 0) {\n            return;\n        }\n        if (self::sizeRow($sheet, $row_end + 1)   == 0) {\n            return;\n        }\n\n        // Convert the pixel values to the percentage value expected by Excel\n        $x1 = $x1     / self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start))   * 1024;\n        $y1 = $y1     / self::sizeRow($sheet, $row_start + 1)   *  256;\n        $x2 = ($width + 1)  / self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end))     * 1024; // Distance to right side of object\n        $y2 = ($height + 1) / self::sizeRow($sheet, $row_end + 1)     *  256; // Distance to bottom of object\n\n        $startCoordinates = PHPExcel_Cell::stringFromColumnIndex($col_start) . ($row_start + 1);\n        $endCoordinates = PHPExcel_Cell::stringFromColumnIndex($col_end) . ($row_end + 1);\n\n        $twoAnchor = array(\n            'startCoordinates' => $startCoordinates,\n            'startOffsetX' => $x1,\n            'startOffsetY' => $y1,\n            'endCoordinates' => $endCoordinates,\n            'endOffsetX' => $x2,\n            'endOffsetY' => $y2,\n        );\n\n        return  $twoAnchor;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/File.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_File\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_File\n{\n    /*\n     * Use Temp or File Upload Temp for temporary files\n     *\n     * @protected\n     * @var    boolean\n     */\n    protected static $useUploadTempDirectory = false;\n\n\n    /**\n     * Set the flag indicating whether the File Upload Temp directory should be used for temporary files\n     *\n     * @param     boolean    $useUploadTempDir        Use File Upload Temporary directory (true or false)\n     */\n    public static function setUseUploadTempDirectory($useUploadTempDir = false)\n    {\n        self::$useUploadTempDirectory = (boolean) $useUploadTempDir;\n    }\n\n\n    /**\n     * Get the flag indicating whether the File Upload Temp directory should be used for temporary files\n     *\n     * @return     boolean    Use File Upload Temporary directory (true or false)\n     */\n    public static function getUseUploadTempDirectory()\n    {\n        return self::$useUploadTempDirectory;\n    }\n\n\n    /**\n      * Verify if a file exists\n      *\n      * @param     string    $pFilename    Filename\n      * @return bool\n      */\n    public static function file_exists($pFilename)\n    {\n        // Sick construction, but it seems that\n        // file_exists returns strange values when\n        // doing the original file_exists on ZIP archives...\n        if (strtolower(substr($pFilename, 0, 3)) == 'zip') {\n            // Open ZIP file and verify if the file exists\n            $zipFile     = substr($pFilename, 6, strpos($pFilename, '#') - 6);\n            $archiveFile = substr($pFilename, strpos($pFilename, '#') + 1);\n\n            $zip = new ZipArchive();\n            if ($zip->open($zipFile) === true) {\n                $returnValue = ($zip->getFromName($archiveFile) !== false);\n                $zip->close();\n                return $returnValue;\n            } else {\n                return false;\n            }\n        } else {\n            // Regular file_exists\n            return file_exists($pFilename);\n        }\n    }\n\n    /**\n     * Returns canonicalized absolute pathname, also for ZIP archives\n     *\n     * @param string $pFilename\n     * @return string\n     */\n    public static function realpath($pFilename)\n    {\n        // Returnvalue\n        $returnValue = '';\n\n        // Try using realpath()\n        if (file_exists($pFilename)) {\n            $returnValue = realpath($pFilename);\n        }\n\n        // Found something?\n        if ($returnValue == '' || ($returnValue === null)) {\n            $pathArray = explode('/', $pFilename);\n            while (in_array('..', $pathArray) && $pathArray[0] != '..') {\n                for ($i = 0; $i < count($pathArray); ++$i) {\n                    if ($pathArray[$i] == '..' && $i > 0) {\n                        unset($pathArray[$i]);\n                        unset($pathArray[$i - 1]);\n                        break;\n                    }\n                }\n            }\n            $returnValue = implode('/', $pathArray);\n        }\n\n        // Return\n        return $returnValue;\n    }\n\n    /**\n     * Get the systems temporary directory.\n     *\n     * @return string\n     */\n    public static function sys_get_temp_dir()\n    {\n        if (self::$useUploadTempDirectory) {\n            //  use upload-directory when defined to allow running on environments having very restricted\n            //      open_basedir configs\n            if (ini_get('upload_tmp_dir') !== false) {\n                if ($temp = ini_get('upload_tmp_dir')) {\n                    if (file_exists($temp)) {\n                        return realpath($temp);\n                    }\n                }\n            }\n        }\n\n        // sys_get_temp_dir is only available since PHP 5.2.1\n        // http://php.net/manual/en/function.sys-get-temp-dir.php#94119\n        if (!function_exists('sys_get_temp_dir')) {\n            if ($temp = getenv('TMP')) {\n                if ((!empty($temp)) && (file_exists($temp))) {\n                    return realpath($temp);\n                }\n            }\n            if ($temp = getenv('TEMP')) {\n                if ((!empty($temp)) && (file_exists($temp))) {\n                    return realpath($temp);\n                }\n            }\n            if ($temp = getenv('TMPDIR')) {\n                if ((!empty($temp)) && (file_exists($temp))) {\n                    return realpath($temp);\n                }\n            }\n\n            // trick for creating a file in system's temporary dir\n            // without knowing the path of the system's temporary dir\n            $temp = tempnam(__FILE__, '');\n            if (file_exists($temp)) {\n                unlink($temp);\n                return realpath(dirname($temp));\n            }\n\n            return null;\n        }\n\n        // use ordinary built-in PHP function\n        //    There should be no problem with the 5.2.4 Suhosin realpath() bug, because this line should only\n        //        be called if we're running 5.2.1 or earlier\n        return realpath(sys_get_temp_dir());\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/Font.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Shared_Font\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Shared_Font\n{\n    /* Methods for resolving autosize value */\n    const AUTOSIZE_METHOD_APPROX    = 'approx';\n    const AUTOSIZE_METHOD_EXACT     = 'exact';\n\n    private static $autoSizeMethods = array(\n        self::AUTOSIZE_METHOD_APPROX,\n        self::AUTOSIZE_METHOD_EXACT,\n    );\n\n    /** Character set codes used by BIFF5-8 in Font records */\n    const CHARSET_ANSI_LATIN                = 0x00;\n    const CHARSET_SYSTEM_DEFAULT            = 0x01;\n    const CHARSET_SYMBOL                    = 0x02;\n    const CHARSET_APPLE_ROMAN               = 0x4D;\n    const CHARSET_ANSI_JAPANESE_SHIFTJIS    = 0x80;\n    const CHARSET_ANSI_KOREAN_HANGUL        = 0x81;\n    const CHARSET_ANSI_KOREAN_JOHAB         = 0x82;\n    const CHARSET_ANSI_CHINESE_SIMIPLIFIED  = 0x86;        //    gb2312\n    const CHARSET_ANSI_CHINESE_TRADITIONAL  = 0x88;        //    big5\n    const CHARSET_ANSI_GREEK                = 0xA1;\n    const CHARSET_ANSI_TURKISH              = 0xA2;\n    const CHARSET_ANSI_VIETNAMESE           = 0xA3;\n    const CHARSET_ANSI_HEBREW               = 0xB1;\n    const CHARSET_ANSI_ARABIC               = 0xB2;\n    const CHARSET_ANSI_BALTIC               = 0xBA;\n    const CHARSET_ANSI_CYRILLIC             = 0xCC;\n    const CHARSET_ANSI_THAI                 = 0xDD;\n    const CHARSET_ANSI_LATIN_II             = 0xEE;\n    const CHARSET_OEM_LATIN_I               = 0xFF;\n\n    //  XXX: Constants created!\n    /** Font filenames */\n    const ARIAL                             = 'arial.ttf';\n    const ARIAL_BOLD                        = 'arialbd.ttf';\n    const ARIAL_ITALIC                      = 'ariali.ttf';\n    const ARIAL_BOLD_ITALIC                 = 'arialbi.ttf';\n\n    const CALIBRI                           = 'CALIBRI.TTF';\n    const CALIBRI_BOLD                      = 'CALIBRIB.TTF';\n    const CALIBRI_ITALIC                    = 'CALIBRII.TTF';\n    const CALIBRI_BOLD_ITALIC               = 'CALIBRIZ.TTF';\n\n    const COMIC_SANS_MS                     = 'comic.ttf';\n    const COMIC_SANS_MS_BOLD                = 'comicbd.ttf';\n\n    const COURIER_NEW                       = 'cour.ttf';\n    const COURIER_NEW_BOLD                  = 'courbd.ttf';\n    const COURIER_NEW_ITALIC                = 'couri.ttf';\n    const COURIER_NEW_BOLD_ITALIC           = 'courbi.ttf';\n\n    const GEORGIA                           = 'georgia.ttf';\n    const GEORGIA_BOLD                      = 'georgiab.ttf';\n    const GEORGIA_ITALIC                    = 'georgiai.ttf';\n    const GEORGIA_BOLD_ITALIC               = 'georgiaz.ttf';\n\n    const IMPACT                            = 'impact.ttf';\n\n    const LIBERATION_SANS                   = 'LiberationSans-Regular.ttf';\n    const LIBERATION_SANS_BOLD              = 'LiberationSans-Bold.ttf';\n    const LIBERATION_SANS_ITALIC            = 'LiberationSans-Italic.ttf';\n    const LIBERATION_SANS_BOLD_ITALIC       = 'LiberationSans-BoldItalic.ttf';\n\n    const LUCIDA_CONSOLE                    = 'lucon.ttf';\n    const LUCIDA_SANS_UNICODE               = 'l_10646.ttf';\n\n    const MICROSOFT_SANS_SERIF              = 'micross.ttf';\n\n    const PALATINO_LINOTYPE                 = 'pala.ttf';\n    const PALATINO_LINOTYPE_BOLD            = 'palab.ttf';\n    const PALATINO_LINOTYPE_ITALIC          = 'palai.ttf';\n    const PALATINO_LINOTYPE_BOLD_ITALIC     = 'palabi.ttf';\n\n    const SYMBOL                            = 'symbol.ttf';\n\n    const TAHOMA                            = 'tahoma.ttf';\n    const TAHOMA_BOLD                       = 'tahomabd.ttf';\n\n    const TIMES_NEW_ROMAN                   = 'times.ttf';\n    const TIMES_NEW_ROMAN_BOLD              = 'timesbd.ttf';\n    const TIMES_NEW_ROMAN_ITALIC            = 'timesi.ttf';\n    const TIMES_NEW_ROMAN_BOLD_ITALIC       = 'timesbi.ttf';\n\n    const TREBUCHET_MS                      = 'trebuc.ttf';\n    const TREBUCHET_MS_BOLD                 = 'trebucbd.ttf';\n    const TREBUCHET_MS_ITALIC               = 'trebucit.ttf';\n    const TREBUCHET_MS_BOLD_ITALIC          = 'trebucbi.ttf';\n\n    const VERDANA                           = 'verdana.ttf';\n    const VERDANA_BOLD                      = 'verdanab.ttf';\n    const VERDANA_ITALIC                    = 'verdanai.ttf';\n    const VERDANA_BOLD_ITALIC               = 'verdanaz.ttf';\n\n    /**\n     * AutoSize method\n     *\n     * @var string\n     */\n    private static $autoSizeMethod = self::AUTOSIZE_METHOD_APPROX;\n\n    /**\n     * Path to folder containing TrueType font .ttf files\n     *\n     * @var string\n     */\n    private static $trueTypeFontPath = null;\n\n    /**\n     * How wide is a default column for a given default font and size?\n     * Empirical data found by inspecting real Excel files and reading off the pixel width\n     * in Microsoft Office Excel 2007.\n     *\n     * @var array\n     */\n    public static $defaultColumnWidths = array(\n        'Arial' => array(\n             1 => array('px' => 24, 'width' => 12.00000000),\n             2 => array('px' => 24, 'width' => 12.00000000),\n             3 => array('px' => 32, 'width' => 10.66406250),\n             4 => array('px' => 32, 'width' => 10.66406250),\n             5 => array('px' => 40, 'width' => 10.00000000),\n             6 => array('px' => 48, 'width' =>  9.59765625),\n             7 => array('px' => 48, 'width' =>  9.59765625),\n             8 => array('px' => 56, 'width' =>  9.33203125),\n             9 => array('px' => 64, 'width' =>  9.14062500),\n            10 => array('px' => 64, 'width' =>  9.14062500),\n        ),\n        'Calibri' => array(\n             1 => array('px' => 24, 'width' => 12.00000000),\n             2 => array('px' => 24, 'width' => 12.00000000),\n             3 => array('px' => 32, 'width' => 10.66406250),\n             4 => array('px' => 32, 'width' => 10.66406250),\n             5 => array('px' => 40, 'width' => 10.00000000),\n             6 => array('px' => 48, 'width' =>  9.59765625),\n             7 => array('px' => 48, 'width' =>  9.59765625),\n             8 => array('px' => 56, 'width' =>  9.33203125),\n             9 => array('px' => 56, 'width' =>  9.33203125),\n            10 => array('px' => 64, 'width' =>  9.14062500),\n            11 => array('px' => 64, 'width' =>  9.14062500),\n        ),\n        'Verdana' => array(\n             1 => array('px' => 24, 'width' => 12.00000000),\n             2 => array('px' => 24, 'width' => 12.00000000),\n             3 => array('px' => 32, 'width' => 10.66406250),\n             4 => array('px' => 32, 'width' => 10.66406250),\n             5 => array('px' => 40, 'width' => 10.00000000),\n             6 => array('px' => 48, 'width' =>  9.59765625),\n             7 => array('px' => 48, 'width' =>  9.59765625),\n             8 => array('px' => 64, 'width' =>  9.14062500),\n             9 => array('px' => 72, 'width' =>  9.00000000),\n            10 => array('px' => 72, 'width' =>  9.00000000),\n        ),\n    );\n\n    /**\n     * Set autoSize method\n     *\n     * @param string $pValue\n     * @return     boolean                    Success or failure\n     */\n    public static function setAutoSizeMethod($pValue = self::AUTOSIZE_METHOD_APPROX)\n    {\n        if (!in_array($pValue, self::$autoSizeMethods)) {\n            return false;\n        }\n        self::$autoSizeMethod = $pValue;\n\n        return true;\n    }\n\n    /**\n     * Get autoSize method\n     *\n     * @return string\n     */\n    public static function getAutoSizeMethod()\n    {\n        return self::$autoSizeMethod;\n    }\n\n    /**\n     * Set the path to the folder containing .ttf files. There should be a trailing slash.\n     * Typical locations on variout some platforms:\n     *    <ul>\n     *        <li>C:/Windows/Fonts/</li>\n     *        <li>/usr/share/fonts/truetype/</li>\n     *        <li>~/.fonts/</li>\n     *    </ul>\n     *\n     * @param string $pValue\n     */\n    public static function setTrueTypeFontPath($pValue = '')\n    {\n        self::$trueTypeFontPath = $pValue;\n    }\n\n    /**\n     * Get the path to the folder containing .ttf files.\n     *\n     * @return string\n     */\n    public static function getTrueTypeFontPath()\n    {\n        return self::$trueTypeFontPath;\n    }\n\n    /**\n     * Calculate an (approximate) OpenXML column width, based on font size and text contained\n     *\n     * @param     PHPExcel_Style_Font            $font            Font object\n     * @param     PHPExcel_RichText|string    $cellText        Text to calculate width\n     * @param     integer                        $rotation        Rotation angle\n     * @param     PHPExcel_Style_Font|NULL    $defaultFont    Font object\n     * @return     integer        Column width\n     */\n    public static function calculateColumnWidth(PHPExcel_Style_Font $font, $cellText = '', $rotation = 0, PHPExcel_Style_Font $defaultFont = null)\n    {\n        // If it is rich text, use plain text\n        if ($cellText instanceof PHPExcel_RichText) {\n            $cellText = $cellText->getPlainText();\n        }\n\n        // Special case if there are one or more newline characters (\"\\n\")\n        if (strpos($cellText, \"\\n\") !== false) {\n            $lineTexts = explode(\"\\n\", $cellText);\n            $lineWidths = array();\n            foreach ($lineTexts as $lineText) {\n                $lineWidths[] = self::calculateColumnWidth($font, $lineText, $rotation = 0, $defaultFont);\n            }\n            return max($lineWidths); // width of longest line in cell\n        }\n\n        // Try to get the exact text width in pixels\n        $approximate = self::$autoSizeMethod == self::AUTOSIZE_METHOD_APPROX;\n        if (!$approximate) {\n            $columnWidthAdjust = ceil(self::getTextWidthPixelsExact('n', $font, 0) * 1.07);\n            try {\n                // Width of text in pixels excl. padding\n                // and addition because Excel adds some padding, just use approx width of 'n' glyph\n                $columnWidth = self::getTextWidthPixelsExact($cellText, $font, $rotation) + $columnWidthAdjust;\n            } catch (PHPExcel_Exception $e) {\n                $approximate = true;\n            }\n        }\n\n        if ($approximate) {\n            $columnWidthAdjust = self::getTextWidthPixelsApprox('n', $font, 0);\n            // Width of text in pixels excl. padding, approximation\n            // and addition because Excel adds some padding, just use approx width of 'n' glyph\n            $columnWidth = self::getTextWidthPixelsApprox($cellText, $font, $rotation) + $columnWidthAdjust;\n        }\n\n        // Convert from pixel width to column width\n        $columnWidth = PHPExcel_Shared_Drawing::pixelsToCellDimension($columnWidth, $defaultFont);\n\n        // Return\n        return round($columnWidth, 6);\n    }\n\n    /**\n     * Get GD text width in pixels for a string of text in a certain font at a certain rotation angle\n     *\n     * @param string $text\n     * @param PHPExcel_Style_Font\n     * @param int $rotation\n     * @return int\n     * @throws PHPExcel_Exception\n     */\n    public static function getTextWidthPixelsExact($text, PHPExcel_Style_Font $font, $rotation = 0)\n    {\n        if (!function_exists('imagettfbbox')) {\n            throw new PHPExcel_Exception('GD library needs to be enabled');\n        }\n\n        // font size should really be supplied in pixels in GD2,\n        // but since GD2 seems to assume 72dpi, pixels and points are the same\n        $fontFile = self::getTrueTypeFontFileFromFont($font);\n        $textBox = imagettfbbox($font->getSize(), $rotation, $fontFile, $text);\n\n        // Get corners positions\n        $lowerLeftCornerX  = $textBox[0];\n//        $lowerLeftCornerY  = $textBox[1];\n        $lowerRightCornerX = $textBox[2];\n//        $lowerRightCornerY = $textBox[3];\n        $upperRightCornerX = $textBox[4];\n//        $upperRightCornerY = $textBox[5];\n        $upperLeftCornerX  = $textBox[6];\n//        $upperLeftCornerY  = $textBox[7];\n\n        // Consider the rotation when calculating the width\n        $textWidth = max($lowerRightCornerX - $upperLeftCornerX, $upperRightCornerX - $lowerLeftCornerX);\n\n        return $textWidth;\n    }\n\n    /**\n     * Get approximate width in pixels for a string of text in a certain font at a certain rotation angle\n     *\n     * @param string $columnText\n     * @param PHPExcel_Style_Font $font\n     * @param int $rotation\n     * @return int Text width in pixels (no padding added)\n     */\n    public static function getTextWidthPixelsApprox($columnText, PHPExcel_Style_Font $font = null, $rotation = 0)\n    {\n        $fontName = $font->getName();\n        $fontSize = $font->getSize();\n\n        // Calculate column width in pixels. We assume fixed glyph width. Result varies with font name and size.\n        switch ($fontName) {\n            case 'Calibri':\n                // value 8.26 was found via interpolation by inspecting real Excel files with Calibri 11 font.\n                $columnWidth = (int) (8.26 * PHPExcel_Shared_String::CountCharacters($columnText));\n                $columnWidth = $columnWidth * $fontSize / 11; // extrapolate from font size\n                break;\n\n            case 'Arial':\n                // value 7 was found via interpolation by inspecting real Excel files with Arial 10 font.\n//                $columnWidth = (int) (7 * PHPExcel_Shared_String::CountCharacters($columnText));\n                // value 8 was set because of experience in different exports at Arial 10 font.\n                $columnWidth = (int) (8 * PHPExcel_Shared_String::CountCharacters($columnText));\n                $columnWidth = $columnWidth * $fontSize / 10; // extrapolate from font size\n                break;\n\n            case 'Verdana':\n                // value 8 was found via interpolation by inspecting real Excel files with Verdana 10 font.\n                $columnWidth = (int) (8 * PHPExcel_Shared_String::CountCharacters($columnText));\n                $columnWidth = $columnWidth * $fontSize / 10; // extrapolate from font size\n                break;\n\n            default:\n                // just assume Calibri\n                $columnWidth = (int) (8.26 * PHPExcel_Shared_String::CountCharacters($columnText));\n                $columnWidth = $columnWidth * $fontSize / 11; // extrapolate from font size\n                break;\n        }\n\n        // Calculate approximate rotated column width\n        if ($rotation !== 0) {\n            if ($rotation == -165) {\n                // stacked text\n                $columnWidth = 4; // approximation\n            } else {\n                // rotated text\n                $columnWidth = $columnWidth * cos(deg2rad($rotation))\n                                + $fontSize * abs(sin(deg2rad($rotation))) / 5; // approximation\n            }\n        }\n\n        // pixel width is an integer\n        return (int) $columnWidth;\n    }\n\n    /**\n     * Calculate an (approximate) pixel size, based on a font points size\n     *\n     * @param     int        $fontSizeInPoints    Font size (in points)\n     * @return     int        Font size (in pixels)\n     */\n    public static function fontSizeToPixels($fontSizeInPoints = 11)\n    {\n        return (int) ((4 / 3) * $fontSizeInPoints);\n    }\n\n    /**\n     * Calculate an (approximate) pixel size, based on inch size\n     *\n     * @param     int        $sizeInInch    Font size (in inch)\n     * @return     int        Size (in pixels)\n     */\n    public static function inchSizeToPixels($sizeInInch = 1)\n    {\n        return ($sizeInInch * 96);\n    }\n\n    /**\n     * Calculate an (approximate) pixel size, based on centimeter size\n     *\n     * @param     int        $sizeInCm    Font size (in centimeters)\n     * @return     int        Size (in pixels)\n     */\n    public static function centimeterSizeToPixels($sizeInCm = 1)\n    {\n        return ($sizeInCm * 37.795275591);\n    }\n\n    /**\n     * Returns the font path given the font\n     *\n     * @param PHPExcel_Style_Font\n     * @return string Path to TrueType font file\n     */\n    public static function getTrueTypeFontFileFromFont($font)\n    {\n        if (!file_exists(self::$trueTypeFontPath) || !is_dir(self::$trueTypeFontPath)) {\n            throw new PHPExcel_Exception('Valid directory to TrueType Font files not specified');\n        }\n\n        $name        = $font->getName();\n        $bold        = $font->getBold();\n        $italic      = $font->getItalic();\n\n        // Check if we can map font to true type font file\n        switch ($name) {\n            case 'Arial':\n                $fontFile = (\n                    $bold ? ($italic ? self::ARIAL_BOLD_ITALIC : self::ARIAL_BOLD)\n                          : ($italic ? self::ARIAL_ITALIC : self::ARIAL)\n                );\n                break;\n            case 'Calibri':\n                $fontFile = (\n                    $bold ? ($italic ? self::CALIBRI_BOLD_ITALIC : self::CALIBRI_BOLD)\n                          : ($italic ? self::CALIBRI_ITALIC : self::CALIBRI)\n                );\n                break;\n            case 'Courier New':\n                $fontFile = (\n                    $bold ? ($italic ? self::COURIER_NEW_BOLD_ITALIC : self::COURIER_NEW_BOLD)\n                          : ($italic ? self::COURIER_NEW_ITALIC : self::COURIER_NEW)\n                );\n                break;\n            case 'Comic Sans MS':\n                $fontFile = (\n                    $bold ? self::COMIC_SANS_MS_BOLD : self::COMIC_SANS_MS\n                );\n                break;\n            case 'Georgia':\n                $fontFile = (\n                    $bold ? ($italic ? self::GEORGIA_BOLD_ITALIC : self::GEORGIA_BOLD)\n                          : ($italic ? self::GEORGIA_ITALIC : self::GEORGIA)\n                );\n                break;\n            case 'Impact':\n                $fontFile = self::IMPACT;\n                break;\n            case 'Liberation Sans':\n                $fontFile = (\n                    $bold ? ($italic ? self::LIBERATION_SANS_BOLD_ITALIC : self::LIBERATION_SANS_BOLD)\n                          : ($italic ? self::LIBERATION_SANS_ITALIC : self::LIBERATION_SANS)\n                );\n                break;\n            case 'Lucida Console':\n                $fontFile = self::LUCIDA_CONSOLE;\n                break;\n            case 'Lucida Sans Unicode':\n                $fontFile = self::LUCIDA_SANS_UNICODE;\n                break;\n            case 'Microsoft Sans Serif':\n                $fontFile = self::MICROSOFT_SANS_SERIF;\n                break;\n            case 'Palatino Linotype':\n                $fontFile = (\n                    $bold ? ($italic ? self::PALATINO_LINOTYPE_BOLD_ITALIC : self::PALATINO_LINOTYPE_BOLD)\n                          : ($italic ? self::PALATINO_LINOTYPE_ITALIC : self::PALATINO_LINOTYPE)\n                );\n                break;\n            case 'Symbol':\n                $fontFile = self::SYMBOL;\n                break;\n            case 'Tahoma':\n                $fontFile = (\n                    $bold ? self::TAHOMA_BOLD : self::TAHOMA\n                );\n                break;\n            case 'Times New Roman':\n                $fontFile = (\n                    $bold ? ($italic ? self::TIMES_NEW_ROMAN_BOLD_ITALIC : self::TIMES_NEW_ROMAN_BOLD)\n                          : ($italic ? self::TIMES_NEW_ROMAN_ITALIC : self::TIMES_NEW_ROMAN)\n                );\n                break;\n            case 'Trebuchet MS':\n                $fontFile = (\n                    $bold ? ($italic ? self::TREBUCHET_MS_BOLD_ITALIC : self::TREBUCHET_MS_BOLD)\n                          : ($italic ? self::TREBUCHET_MS_ITALIC : self::TREBUCHET_MS)\n                );\n                break;\n            case 'Verdana':\n                $fontFile = (\n                    $bold ? ($italic ? self::VERDANA_BOLD_ITALIC : self::VERDANA_BOLD)\n                          : ($italic ? self::VERDANA_ITALIC : self::VERDANA)\n                );\n                break;\n            default:\n                throw new PHPExcel_Exception('Unknown font name \"'. $name .'\". Cannot map to TrueType font file');\n                break;\n        }\n\n        $fontFile = self::$trueTypeFontPath . $fontFile;\n\n        // Check if file actually exists\n        if (!file_exists($fontFile)) {\n            throw new PHPExcel_Exception('TrueType Font file not found');\n        }\n\n        return $fontFile;\n    }\n\n    /**\n     * Returns the associated charset for the font name.\n     *\n     * @param string $name Font name\n     * @return int Character set code\n     */\n    public static function getCharsetFromFontName($name)\n    {\n        switch ($name) {\n            // Add more cases. Check FONT records in real Excel files.\n            case 'EucrosiaUPC':\n                return self::CHARSET_ANSI_THAI;\n            case 'Wingdings':\n                return self::CHARSET_SYMBOL;\n            case 'Wingdings 2':\n                return self::CHARSET_SYMBOL;\n            case 'Wingdings 3':\n                return self::CHARSET_SYMBOL;\n            default:\n                return self::CHARSET_ANSI_LATIN;\n        }\n    }\n\n    /**\n     * Get the effective column width for columns without a column dimension or column with width -1\n     * For example, for Calibri 11 this is 9.140625 (64 px)\n     *\n     * @param PHPExcel_Style_Font $font The workbooks default font\n     * @param boolean $pPixels true = return column width in pixels, false = return in OOXML units\n     * @return mixed Column width\n     */\n    public static function getDefaultColumnWidthByFont(PHPExcel_Style_Font $font, $pPixels = false)\n    {\n        if (isset(self::$defaultColumnWidths[$font->getName()][$font->getSize()])) {\n            // Exact width can be determined\n            $columnWidth = $pPixels ?\n                self::$defaultColumnWidths[$font->getName()][$font->getSize()]['px']\n                    : self::$defaultColumnWidths[$font->getName()][$font->getSize()]['width'];\n\n        } else {\n            // We don't have data for this particular font and size, use approximation by\n            // extrapolating from Calibri 11\n            $columnWidth = $pPixels ?\n                self::$defaultColumnWidths['Calibri'][11]['px']\n                    : self::$defaultColumnWidths['Calibri'][11]['width'];\n            $columnWidth = $columnWidth * $font->getSize() / 11;\n\n            // Round pixels to closest integer\n            if ($pPixels) {\n                $columnWidth = (int) round($columnWidth);\n            }\n        }\n\n        return $columnWidth;\n    }\n\n    /**\n     * Get the effective row height for rows without a row dimension or rows with height -1\n     * For example, for Calibri 11 this is 15 points\n     *\n     * @param PHPExcel_Style_Font $font The workbooks default font\n     * @return float Row height in points\n     */\n    public static function getDefaultRowHeightByFont(PHPExcel_Style_Font $font)\n    {\n        switch ($font->getName()) {\n            case 'Arial':\n                switch ($font->getSize()) {\n                    case 10:\n                        // inspection of Arial 10 workbook says 12.75pt ~17px\n                        $rowHeight = 12.75;\n                        break;\n                    case 9:\n                        // inspection of Arial 9 workbook says 12.00pt ~16px\n                        $rowHeight = 12;\n                        break;\n                    case 8:\n                        // inspection of Arial 8 workbook says 11.25pt ~15px\n                        $rowHeight = 11.25;\n                        break;\n                    case 7:\n                        // inspection of Arial 7 workbook says 9.00pt ~12px\n                        $rowHeight = 9;\n                        break;\n                    case 6:\n                    case 5:\n                        // inspection of Arial 5,6 workbook says 8.25pt ~11px\n                        $rowHeight = 8.25;\n                        break;\n                    case 4:\n                        // inspection of Arial 4 workbook says 6.75pt ~9px\n                        $rowHeight = 6.75;\n                        break;\n                    case 3:\n                        // inspection of Arial 3 workbook says 6.00pt ~8px\n                        $rowHeight = 6;\n                        break;\n                    case 2:\n                    case 1:\n                        // inspection of Arial 1,2 workbook says 5.25pt ~7px\n                        $rowHeight = 5.25;\n                        break;\n                    default:\n                        // use Arial 10 workbook as an approximation, extrapolation\n                        $rowHeight = 12.75 * $font->getSize() / 10;\n                        break;\n                }\n                break;\n\n            case 'Calibri':\n                switch ($font->getSize()) {\n                    case 11:\n                        // inspection of Calibri 11 workbook says 15.00pt ~20px\n                        $rowHeight = 15;\n                        break;\n                    case 10:\n                        // inspection of Calibri 10 workbook says 12.75pt ~17px\n                        $rowHeight = 12.75;\n                        break;\n                    case 9:\n                        // inspection of Calibri 9 workbook says 12.00pt ~16px\n                        $rowHeight = 12;\n                        break;\n                    case 8:\n                        // inspection of Calibri 8 workbook says 11.25pt ~15px\n                        $rowHeight = 11.25;\n                        break;\n                    case 7:\n                        // inspection of Calibri 7 workbook says 9.00pt ~12px\n                        $rowHeight = 9;\n                        break;\n                    case 6:\n                    case 5:\n                        // inspection of Calibri 5,6 workbook says 8.25pt ~11px\n                        $rowHeight = 8.25;\n                        break;\n                    case 4:\n                        // inspection of Calibri 4 workbook says 6.75pt ~9px\n                        $rowHeight = 6.75;\n                        break;\n                    case 3:\n                        // inspection of Calibri 3 workbook says 6.00pt ~8px\n                        $rowHeight = 6.00;\n                        break;\n                    case 2:\n                    case 1:\n                        // inspection of Calibri 1,2 workbook says 5.25pt ~7px\n                        $rowHeight = 5.25;\n                        break;\n                    default:\n                        // use Calibri 11 workbook as an approximation, extrapolation\n                        $rowHeight = 15 * $font->getSize() / 11;\n                        break;\n                }\n                break;\n\n            case 'Verdana':\n                switch ($font->getSize()) {\n                    case 10:\n                        // inspection of Verdana 10 workbook says 12.75pt ~17px\n                        $rowHeight = 12.75;\n                        break;\n                    case 9:\n                        // inspection of Verdana 9 workbook says 11.25pt ~15px\n                        $rowHeight = 11.25;\n                        break;\n                    case 8:\n                        // inspection of Verdana 8 workbook says 10.50pt ~14px\n                        $rowHeight = 10.50;\n                        break;\n                    case 7:\n                        // inspection of Verdana 7 workbook says 9.00pt ~12px\n                        $rowHeight = 9.00;\n                        break;\n                    case 6:\n                    case 5:\n                        // inspection of Verdana 5,6 workbook says 8.25pt ~11px\n                        $rowHeight = 8.25;\n                        break;\n                    case 4:\n                        // inspection of Verdana 4 workbook says 6.75pt ~9px\n                        $rowHeight = 6.75;\n                        break;\n                    case 3:\n                        // inspection of Verdana 3 workbook says 6.00pt ~8px\n                        $rowHeight = 6;\n                        break;\n                    case 2:\n                    case 1:\n                        // inspection of Verdana 1,2 workbook says 5.25pt ~7px\n                        $rowHeight = 5.25;\n                        break;\n                    default:\n                        // use Verdana 10 workbook as an approximation, extrapolation\n                        $rowHeight = 12.75 * $font->getSize() / 10;\n                        break;\n                }\n                break;\n            default:\n                // just use Calibri as an approximation\n                $rowHeight = 15 * $font->getSize() / 11;\n                break;\n        }\n\n        return $rowHeight;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/CHANGELOG.TXT",
    "content": "Mar 1, 2005 11:15 AST by PM\n\n+ For consistency, renamed Math.php to Maths.java, utils to util, \n  tests to test, docs to doc - \n\n+ Removed conditional logic from top of Matrix class.\n\n+ Switched to using hypo function in Maths.php for all php-hypot calls.\n  NOTE TO SELF: Need to make sure that all decompositions have been \n  switched over to using the bundled hypo.\n\nFeb 25, 2005 at 10:00 AST by PM\n\n+ Recommend using simpler Error.php instead of JAMA_Error.php but \n  can be persuaded otherwise.\n\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/CholeskyDecomposition.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    Cholesky decomposition class\n *\n *    For a symmetric, positive definite matrix A, the Cholesky decomposition\n *    is an lower triangular matrix L so that A = L*L'.\n *\n *    If the matrix is not symmetric or positive definite, the constructor\n *    returns a partial decomposition and sets an internal flag that may\n *    be queried by the isSPD() method.\n *\n *    @author Paul Meagher\n *    @author Michael Bommarito\n *    @version 1.2\n */\nclass CholeskyDecomposition\n{\n    /**\n     *    Decomposition storage\n     *    @var array\n     *    @access private\n     */\n    private $L = array();\n\n    /**\n     *    Matrix row and column dimension\n     *    @var int\n     *    @access private\n     */\n    private $m;\n\n    /**\n     *    Symmetric positive definite flag\n     *    @var boolean\n     *    @access private\n     */\n    private $isspd = true;\n\n    /**\n     *    CholeskyDecomposition\n     *\n     *    Class constructor - decomposes symmetric positive definite matrix\n     *    @param mixed Matrix square symmetric positive definite matrix\n     */\n    public function __construct($A = null)\n    {\n        if ($A instanceof Matrix) {\n            $this->L = $A->getArray();\n            $this->m = $A->getRowDimension();\n\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = $i; $j < $this->m; ++$j) {\n                    for ($sum = $this->L[$i][$j], $k = $i - 1; $k >= 0; --$k) {\n                        $sum -= $this->L[$i][$k] * $this->L[$j][$k];\n                    }\n                    if ($i == $j) {\n                        if ($sum >= 0) {\n                            $this->L[$i][$i] = sqrt($sum);\n                        } else {\n                            $this->isspd = false;\n                        }\n                    } else {\n                        if ($this->L[$i][$i] != 0) {\n                            $this->L[$j][$i] = $sum / $this->L[$i][$i];\n                        }\n                    }\n                }\n\n                for ($k = $i+1; $k < $this->m; ++$k) {\n                    $this->L[$i][$k] = 0.0;\n                }\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(JAMAError(ARGUMENT_TYPE_EXCEPTION));\n        }\n    }    //    function __construct()\n\n    /**\n     *    Is the matrix symmetric and positive definite?\n     *\n     *    @return boolean\n     */\n    public function isSPD()\n    {\n        return $this->isspd;\n    }    //    function isSPD()\n\n    /**\n     *    getL\n     *\n     *    Return triangular factor.\n     *    @return Matrix Lower triangular matrix\n     */\n    public function getL()\n    {\n        return new Matrix($this->L);\n    }    //    function getL()\n\n    /**\n     *    Solve A*X = B\n     *\n     *    @param $B Row-equal matrix\n     *    @return Matrix L * L' * X = B\n     */\n    public function solve($B = null)\n    {\n        if ($B instanceof Matrix) {\n            if ($B->getRowDimension() == $this->m) {\n                if ($this->isspd) {\n                    $X  = $B->getArrayCopy();\n                    $nx = $B->getColumnDimension();\n\n                    for ($k = 0; $k < $this->m; ++$k) {\n                        for ($i = $k + 1; $i < $this->m; ++$i) {\n                            for ($j = 0; $j < $nx; ++$j) {\n                                $X[$i][$j] -= $X[$k][$j] * $this->L[$i][$k];\n                            }\n                        }\n                        for ($j = 0; $j < $nx; ++$j) {\n                            $X[$k][$j] /= $this->L[$k][$k];\n                        }\n                    }\n\n                    for ($k = $this->m - 1; $k >= 0; --$k) {\n                        for ($j = 0; $j < $nx; ++$j) {\n                            $X[$k][$j] /= $this->L[$k][$k];\n                        }\n                        for ($i = 0; $i < $k; ++$i) {\n                            for ($j = 0; $j < $nx; ++$j) {\n                                $X[$i][$j] -= $X[$k][$j] * $this->L[$k][$i];\n                            }\n                        }\n                    }\n\n                    return new Matrix($X, $this->m, $nx);\n                } else {\n                    throw new PHPExcel_Calculation_Exception(JAMAError(MatrixSPDException));\n                }\n            } else {\n                throw new PHPExcel_Calculation_Exception(JAMAError(MATRIX_DIMENSION_EXCEPTION));\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(JAMAError(ARGUMENT_TYPE_EXCEPTION));\n        }\n    }    //    function solve()\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    Class to obtain eigenvalues and eigenvectors of a real matrix.\n *\n *    If A is symmetric, then A = V*D*V' where the eigenvalue matrix D\n *    is diagonal and the eigenvector matrix V is orthogonal (i.e.\n *    A = V.times(D.times(V.transpose())) and V.times(V.transpose())\n *    equals the identity matrix).\n *\n *    If A is not symmetric, then the eigenvalue matrix D is block diagonal\n *    with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues,\n *    lambda + i*mu, in 2-by-2 blocks, [lambda, mu; -mu, lambda].  The\n *    columns of V represent the eigenvectors in the sense that A*V = V*D,\n *    i.e. A.times(V) equals V.times(D).  The matrix V may be badly\n *    conditioned, or even singular, so the validity of the equation\n *    A = V*D*inverse(V) depends upon V.cond().\n *\n *    @author  Paul Meagher\n *    @license PHP v3.0\n *    @version 1.1\n */\nclass EigenvalueDecomposition\n{\n    /**\n     *    Row and column dimension (square matrix).\n     *    @var int\n     */\n    private $n;\n\n    /**\n     *    Internal symmetry flag.\n     *    @var int\n     */\n    private $issymmetric;\n\n    /**\n     *    Arrays for internal storage of eigenvalues.\n     *    @var array\n     */\n    private $d = array();\n    private $e = array();\n\n    /**\n     *    Array for internal storage of eigenvectors.\n     *    @var array\n     */\n    private $V = array();\n\n    /**\n    *    Array for internal storage of nonsymmetric Hessenberg form.\n    *    @var array\n    */\n    private $H = array();\n\n    /**\n    *    Working storage for nonsymmetric algorithm.\n    *    @var array\n    */\n    private $ort;\n\n    /**\n    *    Used for complex scalar division.\n    *    @var float\n    */\n    private $cdivr;\n    private $cdivi;\n\n    /**\n     *    Symmetric Householder reduction to tridiagonal form.\n     *\n     *    @access private\n     */\n    private function tred2()\n    {\n        //  This is derived from the Algol procedures tred2 by\n        //  Bowdler, Martin, Reinsch, and Wilkinson, Handbook for\n        //  Auto. Comp., Vol.ii-Linear Algebra, and the corresponding\n        //  Fortran subroutine in EISPACK.\n        $this->d = $this->V[$this->n-1];\n        // Householder reduction to tridiagonal form.\n        for ($i = $this->n-1; $i > 0; --$i) {\n            $i_ = $i -1;\n            // Scale to avoid under/overflow.\n            $h = $scale = 0.0;\n            $scale += array_sum(array_map(abs, $this->d));\n            if ($scale == 0.0) {\n                $this->e[$i] = $this->d[$i_];\n                $this->d = array_slice($this->V[$i_], 0, $i_);\n                for ($j = 0; $j < $i; ++$j) {\n                    $this->V[$j][$i] = $this->V[$i][$j] = 0.0;\n                }\n            } else {\n                // Generate Householder vector.\n                for ($k = 0; $k < $i; ++$k) {\n                    $this->d[$k] /= $scale;\n                    $h += pow($this->d[$k], 2);\n                }\n                $f = $this->d[$i_];\n                $g = sqrt($h);\n                if ($f > 0) {\n                    $g = -$g;\n                }\n                $this->e[$i] = $scale * $g;\n                $h = $h - $f * $g;\n                $this->d[$i_] = $f - $g;\n                for ($j = 0; $j < $i; ++$j) {\n                    $this->e[$j] = 0.0;\n                }\n                // Apply similarity transformation to remaining columns.\n                for ($j = 0; $j < $i; ++$j) {\n                    $f = $this->d[$j];\n                    $this->V[$j][$i] = $f;\n                    $g = $this->e[$j] + $this->V[$j][$j] * $f;\n                    for ($k = $j+1; $k <= $i_; ++$k) {\n                        $g += $this->V[$k][$j] * $this->d[$k];\n                        $this->e[$k] += $this->V[$k][$j] * $f;\n                    }\n                    $this->e[$j] = $g;\n                }\n                $f = 0.0;\n                for ($j = 0; $j < $i; ++$j) {\n                    $this->e[$j] /= $h;\n                    $f += $this->e[$j] * $this->d[$j];\n                }\n                $hh = $f / (2 * $h);\n                for ($j=0; $j < $i; ++$j) {\n                    $this->e[$j] -= $hh * $this->d[$j];\n                }\n                for ($j = 0; $j < $i; ++$j) {\n                    $f = $this->d[$j];\n                    $g = $this->e[$j];\n                    for ($k = $j; $k <= $i_; ++$k) {\n                        $this->V[$k][$j] -= ($f * $this->e[$k] + $g * $this->d[$k]);\n                    }\n                    $this->d[$j] = $this->V[$i-1][$j];\n                    $this->V[$i][$j] = 0.0;\n                }\n            }\n            $this->d[$i] = $h;\n        }\n\n        // Accumulate transformations.\n        for ($i = 0; $i < $this->n-1; ++$i) {\n            $this->V[$this->n-1][$i] = $this->V[$i][$i];\n            $this->V[$i][$i] = 1.0;\n            $h = $this->d[$i+1];\n            if ($h != 0.0) {\n                for ($k = 0; $k <= $i; ++$k) {\n                    $this->d[$k] = $this->V[$k][$i+1] / $h;\n                }\n                for ($j = 0; $j <= $i; ++$j) {\n                    $g = 0.0;\n                    for ($k = 0; $k <= $i; ++$k) {\n                        $g += $this->V[$k][$i+1] * $this->V[$k][$j];\n                    }\n                    for ($k = 0; $k <= $i; ++$k) {\n                        $this->V[$k][$j] -= $g * $this->d[$k];\n                    }\n                }\n            }\n            for ($k = 0; $k <= $i; ++$k) {\n                $this->V[$k][$i+1] = 0.0;\n            }\n        }\n\n        $this->d = $this->V[$this->n-1];\n        $this->V[$this->n-1] = array_fill(0, $j, 0.0);\n        $this->V[$this->n-1][$this->n-1] = 1.0;\n        $this->e[0] = 0.0;\n    }\n\n    /**\n     *    Symmetric tridiagonal QL algorithm.\n     *\n     *    This is derived from the Algol procedures tql2, by\n     *    Bowdler, Martin, Reinsch, and Wilkinson, Handbook for\n     *    Auto. Comp., Vol.ii-Linear Algebra, and the corresponding\n     *    Fortran subroutine in EISPACK.\n     *\n     *    @access private\n     */\n    private function tql2()\n    {\n        for ($i = 1; $i < $this->n; ++$i) {\n            $this->e[$i-1] = $this->e[$i];\n        }\n        $this->e[$this->n-1] = 0.0;\n        $f = 0.0;\n        $tst1 = 0.0;\n        $eps  = pow(2.0, -52.0);\n\n        for ($l = 0; $l < $this->n; ++$l) {\n            // Find small subdiagonal element\n            $tst1 = max($tst1, abs($this->d[$l]) + abs($this->e[$l]));\n            $m = $l;\n            while ($m < $this->n) {\n                if (abs($this->e[$m]) <= $eps * $tst1) {\n                    break;\n                }\n                ++$m;\n            }\n            // If m == l, $this->d[l] is an eigenvalue,\n            // otherwise, iterate.\n            if ($m > $l) {\n                $iter = 0;\n                do {\n                    // Could check iteration count here.\n                    $iter += 1;\n                    // Compute implicit shift\n                    $g = $this->d[$l];\n                    $p = ($this->d[$l+1] - $g) / (2.0 * $this->e[$l]);\n                    $r = hypo($p, 1.0);\n                    if ($p < 0) {\n                        $r *= -1;\n                    }\n                    $this->d[$l] = $this->e[$l] / ($p + $r);\n                    $this->d[$l+1] = $this->e[$l] * ($p + $r);\n                    $dl1 = $this->d[$l+1];\n                    $h = $g - $this->d[$l];\n                    for ($i = $l + 2; $i < $this->n; ++$i) {\n                        $this->d[$i] -= $h;\n                    }\n                    $f += $h;\n                    // Implicit QL transformation.\n                    $p = $this->d[$m];\n                    $c = 1.0;\n                    $c2 = $c3 = $c;\n                    $el1 = $this->e[$l + 1];\n                    $s = $s2 = 0.0;\n                    for ($i = $m-1; $i >= $l; --$i) {\n                        $c3 = $c2;\n                        $c2 = $c;\n                        $s2 = $s;\n                        $g  = $c * $this->e[$i];\n                        $h  = $c * $p;\n                        $r  = hypo($p, $this->e[$i]);\n                        $this->e[$i+1] = $s * $r;\n                        $s = $this->e[$i] / $r;\n                        $c = $p / $r;\n                        $p = $c * $this->d[$i] - $s * $g;\n                        $this->d[$i+1] = $h + $s * ($c * $g + $s * $this->d[$i]);\n                        // Accumulate transformation.\n                        for ($k = 0; $k < $this->n; ++$k) {\n                            $h = $this->V[$k][$i+1];\n                            $this->V[$k][$i+1] = $s * $this->V[$k][$i] + $c * $h;\n                            $this->V[$k][$i] = $c * $this->V[$k][$i] - $s * $h;\n                        }\n                    }\n                    $p = -$s * $s2 * $c3 * $el1 * $this->e[$l] / $dl1;\n                    $this->e[$l] = $s * $p;\n                    $this->d[$l] = $c * $p;\n                // Check for convergence.\n                } while (abs($this->e[$l]) > $eps * $tst1);\n            }\n            $this->d[$l] = $this->d[$l] + $f;\n            $this->e[$l] = 0.0;\n        }\n\n        // Sort eigenvalues and corresponding vectors.\n        for ($i = 0; $i < $this->n - 1; ++$i) {\n            $k = $i;\n            $p = $this->d[$i];\n            for ($j = $i+1; $j < $this->n; ++$j) {\n                if ($this->d[$j] < $p) {\n                    $k = $j;\n                    $p = $this->d[$j];\n                }\n            }\n            if ($k != $i) {\n                $this->d[$k] = $this->d[$i];\n                $this->d[$i] = $p;\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $p = $this->V[$j][$i];\n                    $this->V[$j][$i] = $this->V[$j][$k];\n                    $this->V[$j][$k] = $p;\n                }\n            }\n        }\n    }\n\n    /**\n     *    Nonsymmetric reduction to Hessenberg form.\n     *\n     *    This is derived from the Algol procedures orthes and ortran,\n     *    by Martin and Wilkinson, Handbook for Auto. Comp.,\n     *    Vol.ii-Linear Algebra, and the corresponding\n     *    Fortran subroutines in EISPACK.\n     *\n     *    @access private\n     */\n    private function orthes()\n    {\n        $low  = 0;\n        $high = $this->n-1;\n\n        for ($m = $low+1; $m <= $high-1; ++$m) {\n            // Scale column.\n            $scale = 0.0;\n            for ($i = $m; $i <= $high; ++$i) {\n                $scale = $scale + abs($this->H[$i][$m-1]);\n            }\n            if ($scale != 0.0) {\n                // Compute Householder transformation.\n                $h = 0.0;\n                for ($i = $high; $i >= $m; --$i) {\n                    $this->ort[$i] = $this->H[$i][$m-1] / $scale;\n                    $h += $this->ort[$i] * $this->ort[$i];\n                }\n                $g = sqrt($h);\n                if ($this->ort[$m] > 0) {\n                    $g *= -1;\n                }\n                $h -= $this->ort[$m] * $g;\n                $this->ort[$m] -= $g;\n                // Apply Householder similarity transformation\n                // H = (I -u * u' / h) * H * (I -u * u') / h)\n                for ($j = $m; $j < $this->n; ++$j) {\n                    $f = 0.0;\n                    for ($i = $high; $i >= $m; --$i) {\n                        $f += $this->ort[$i] * $this->H[$i][$j];\n                    }\n                    $f /= $h;\n                    for ($i = $m; $i <= $high; ++$i) {\n                        $this->H[$i][$j] -= $f * $this->ort[$i];\n                    }\n                }\n                for ($i = 0; $i <= $high; ++$i) {\n                    $f = 0.0;\n                    for ($j = $high; $j >= $m; --$j) {\n                        $f += $this->ort[$j] * $this->H[$i][$j];\n                    }\n                    $f = $f / $h;\n                    for ($j = $m; $j <= $high; ++$j) {\n                        $this->H[$i][$j] -= $f * $this->ort[$j];\n                    }\n                }\n                $this->ort[$m] = $scale * $this->ort[$m];\n                $this->H[$m][$m-1] = $scale * $g;\n            }\n        }\n\n        // Accumulate transformations (Algol's ortran).\n        for ($i = 0; $i < $this->n; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                $this->V[$i][$j] = ($i == $j ? 1.0 : 0.0);\n            }\n        }\n        for ($m = $high-1; $m >= $low+1; --$m) {\n            if ($this->H[$m][$m-1] != 0.0) {\n                for ($i = $m+1; $i <= $high; ++$i) {\n                    $this->ort[$i] = $this->H[$i][$m-1];\n                }\n                for ($j = $m; $j <= $high; ++$j) {\n                    $g = 0.0;\n                    for ($i = $m; $i <= $high; ++$i) {\n                        $g += $this->ort[$i] * $this->V[$i][$j];\n                    }\n                    // Double division avoids possible underflow\n                    $g = ($g / $this->ort[$m]) / $this->H[$m][$m-1];\n                    for ($i = $m; $i <= $high; ++$i) {\n                        $this->V[$i][$j] += $g * $this->ort[$i];\n                    }\n                }\n            }\n        }\n    }\n\n    /**\n     *    Performs complex division.\n     *\n     *    @access private\n     */\n    private function cdiv($xr, $xi, $yr, $yi)\n    {\n        if (abs($yr) > abs($yi)) {\n            $r = $yi / $yr;\n            $d = $yr + $r * $yi;\n            $this->cdivr = ($xr + $r * $xi) / $d;\n            $this->cdivi = ($xi - $r * $xr) / $d;\n        } else {\n            $r = $yr / $yi;\n            $d = $yi + $r * $yr;\n            $this->cdivr = ($r * $xr + $xi) / $d;\n            $this->cdivi = ($r * $xi - $xr) / $d;\n        }\n    }\n\n    /**\n     *    Nonsymmetric reduction from Hessenberg to real Schur form.\n     *\n     *    Code is derived from the Algol procedure hqr2,\n     *    by Martin and Wilkinson, Handbook for Auto. Comp.,\n     *    Vol.ii-Linear Algebra, and the corresponding\n     *    Fortran subroutine in EISPACK.\n     *\n     *    @access private\n     */\n    private function hqr2()\n    {\n        //  Initialize\n        $nn = $this->n;\n        $n  = $nn - 1;\n        $low = 0;\n        $high = $nn - 1;\n        $eps = pow(2.0, -52.0);\n        $exshift = 0.0;\n        $p = $q = $r = $s = $z = 0;\n        // Store roots isolated by balanc and compute matrix norm\n        $norm = 0.0;\n\n        for ($i = 0; $i < $nn; ++$i) {\n            if (($i < $low) or ($i > $high)) {\n                $this->d[$i] = $this->H[$i][$i];\n                $this->e[$i] = 0.0;\n            }\n            for ($j = max($i-1, 0); $j < $nn; ++$j) {\n                $norm = $norm + abs($this->H[$i][$j]);\n            }\n        }\n\n        // Outer loop over eigenvalue index\n        $iter = 0;\n        while ($n >= $low) {\n            // Look for single small sub-diagonal element\n            $l = $n;\n            while ($l > $low) {\n                $s = abs($this->H[$l-1][$l-1]) + abs($this->H[$l][$l]);\n                if ($s == 0.0) {\n                    $s = $norm;\n                }\n                if (abs($this->H[$l][$l-1]) < $eps * $s) {\n                    break;\n                }\n                --$l;\n            }\n            // Check for convergence\n            // One root found\n            if ($l == $n) {\n                $this->H[$n][$n] = $this->H[$n][$n] + $exshift;\n                $this->d[$n] = $this->H[$n][$n];\n                $this->e[$n] = 0.0;\n                --$n;\n                $iter = 0;\n            // Two roots found\n            } elseif ($l == $n-1) {\n                $w = $this->H[$n][$n-1] * $this->H[$n-1][$n];\n                $p = ($this->H[$n-1][$n-1] - $this->H[$n][$n]) / 2.0;\n                $q = $p * $p + $w;\n                $z = sqrt(abs($q));\n                $this->H[$n][$n] = $this->H[$n][$n] + $exshift;\n                $this->H[$n-1][$n-1] = $this->H[$n-1][$n-1] + $exshift;\n                $x = $this->H[$n][$n];\n                // Real pair\n                if ($q >= 0) {\n                    if ($p >= 0) {\n                        $z = $p + $z;\n                    } else {\n                        $z = $p - $z;\n                    }\n                    $this->d[$n-1] = $x + $z;\n                    $this->d[$n] = $this->d[$n-1];\n                    if ($z != 0.0) {\n                        $this->d[$n] = $x - $w / $z;\n                    }\n                    $this->e[$n-1] = 0.0;\n                    $this->e[$n] = 0.0;\n                    $x = $this->H[$n][$n-1];\n                    $s = abs($x) + abs($z);\n                    $p = $x / $s;\n                    $q = $z / $s;\n                    $r = sqrt($p * $p + $q * $q);\n                    $p = $p / $r;\n                    $q = $q / $r;\n                    // Row modification\n                    for ($j = $n-1; $j < $nn; ++$j) {\n                        $z = $this->H[$n-1][$j];\n                        $this->H[$n-1][$j] = $q * $z + $p * $this->H[$n][$j];\n                        $this->H[$n][$j] = $q * $this->H[$n][$j] - $p * $z;\n                    }\n                    // Column modification\n                    for ($i = 0; $i <= $n; ++$i) {\n                        $z = $this->H[$i][$n-1];\n                        $this->H[$i][$n-1] = $q * $z + $p * $this->H[$i][$n];\n                        $this->H[$i][$n] = $q * $this->H[$i][$n] - $p * $z;\n                    }\n                    // Accumulate transformations\n                    for ($i = $low; $i <= $high; ++$i) {\n                        $z = $this->V[$i][$n-1];\n                        $this->V[$i][$n-1] = $q * $z + $p * $this->V[$i][$n];\n                        $this->V[$i][$n] = $q * $this->V[$i][$n] - $p * $z;\n                    }\n                // Complex pair\n                } else {\n                    $this->d[$n-1] = $x + $p;\n                    $this->d[$n] = $x + $p;\n                    $this->e[$n-1] = $z;\n                    $this->e[$n] = -$z;\n                }\n                $n = $n - 2;\n                $iter = 0;\n            // No convergence yet\n            } else {\n                // Form shift\n                $x = $this->H[$n][$n];\n                $y = 0.0;\n                $w = 0.0;\n                if ($l < $n) {\n                    $y = $this->H[$n-1][$n-1];\n                    $w = $this->H[$n][$n-1] * $this->H[$n-1][$n];\n                }\n                // Wilkinson's original ad hoc shift\n                if ($iter == 10) {\n                    $exshift += $x;\n                    for ($i = $low; $i <= $n; ++$i) {\n                        $this->H[$i][$i] -= $x;\n                    }\n                    $s = abs($this->H[$n][$n-1]) + abs($this->H[$n-1][$n-2]);\n                    $x = $y = 0.75 * $s;\n                    $w = -0.4375 * $s * $s;\n                }\n                // MATLAB's new ad hoc shift\n                if ($iter == 30) {\n                    $s = ($y - $x) / 2.0;\n                    $s = $s * $s + $w;\n                    if ($s > 0) {\n                        $s = sqrt($s);\n                        if ($y < $x) {\n                            $s = -$s;\n                        }\n                        $s = $x - $w / (($y - $x) / 2.0 + $s);\n                        for ($i = $low; $i <= $n; ++$i) {\n                            $this->H[$i][$i] -= $s;\n                        }\n                        $exshift += $s;\n                        $x = $y = $w = 0.964;\n                    }\n                }\n                // Could check iteration count here.\n                $iter = $iter + 1;\n                // Look for two consecutive small sub-diagonal elements\n                $m = $n - 2;\n                while ($m >= $l) {\n                    $z = $this->H[$m][$m];\n                    $r = $x - $z;\n                    $s = $y - $z;\n                    $p = ($r * $s - $w) / $this->H[$m+1][$m] + $this->H[$m][$m+1];\n                    $q = $this->H[$m+1][$m+1] - $z - $r - $s;\n                    $r = $this->H[$m+2][$m+1];\n                    $s = abs($p) + abs($q) + abs($r);\n                    $p = $p / $s;\n                    $q = $q / $s;\n                    $r = $r / $s;\n                    if ($m == $l) {\n                        break;\n                    }\n                    if (abs($this->H[$m][$m-1]) * (abs($q) + abs($r)) <\n                        $eps * (abs($p) * (abs($this->H[$m-1][$m-1]) + abs($z) + abs($this->H[$m+1][$m+1])))) {\n                        break;\n                    }\n                    --$m;\n                }\n                for ($i = $m + 2; $i <= $n; ++$i) {\n                    $this->H[$i][$i-2] = 0.0;\n                    if ($i > $m+2) {\n                        $this->H[$i][$i-3] = 0.0;\n                    }\n                }\n                // Double QR step involving rows l:n and columns m:n\n                for ($k = $m; $k <= $n-1; ++$k) {\n                    $notlast = ($k != $n-1);\n                    if ($k != $m) {\n                        $p = $this->H[$k][$k-1];\n                        $q = $this->H[$k+1][$k-1];\n                        $r = ($notlast ? $this->H[$k+2][$k-1] : 0.0);\n                        $x = abs($p) + abs($q) + abs($r);\n                        if ($x != 0.0) {\n                            $p = $p / $x;\n                            $q = $q / $x;\n                            $r = $r / $x;\n                        }\n                    }\n                    if ($x == 0.0) {\n                        break;\n                    }\n                    $s = sqrt($p * $p + $q * $q + $r * $r);\n                    if ($p < 0) {\n                        $s = -$s;\n                    }\n                    if ($s != 0) {\n                        if ($k != $m) {\n                            $this->H[$k][$k-1] = -$s * $x;\n                        } elseif ($l != $m) {\n                            $this->H[$k][$k-1] = -$this->H[$k][$k-1];\n                        }\n                        $p = $p + $s;\n                        $x = $p / $s;\n                        $y = $q / $s;\n                        $z = $r / $s;\n                        $q = $q / $p;\n                        $r = $r / $p;\n                        // Row modification\n                        for ($j = $k; $j < $nn; ++$j) {\n                            $p = $this->H[$k][$j] + $q * $this->H[$k+1][$j];\n                            if ($notlast) {\n                                $p = $p + $r * $this->H[$k+2][$j];\n                                $this->H[$k+2][$j] = $this->H[$k+2][$j] - $p * $z;\n                            }\n                            $this->H[$k][$j] = $this->H[$k][$j] - $p * $x;\n                            $this->H[$k+1][$j] = $this->H[$k+1][$j] - $p * $y;\n                        }\n                        // Column modification\n                        for ($i = 0; $i <= min($n, $k+3); ++$i) {\n                            $p = $x * $this->H[$i][$k] + $y * $this->H[$i][$k+1];\n                            if ($notlast) {\n                                $p = $p + $z * $this->H[$i][$k+2];\n                                $this->H[$i][$k+2] = $this->H[$i][$k+2] - $p * $r;\n                            }\n                            $this->H[$i][$k] = $this->H[$i][$k] - $p;\n                            $this->H[$i][$k+1] = $this->H[$i][$k+1] - $p * $q;\n                        }\n                        // Accumulate transformations\n                        for ($i = $low; $i <= $high; ++$i) {\n                            $p = $x * $this->V[$i][$k] + $y * $this->V[$i][$k+1];\n                            if ($notlast) {\n                                $p = $p + $z * $this->V[$i][$k+2];\n                                $this->V[$i][$k+2] = $this->V[$i][$k+2] - $p * $r;\n                            }\n                            $this->V[$i][$k] = $this->V[$i][$k] - $p;\n                            $this->V[$i][$k+1] = $this->V[$i][$k+1] - $p * $q;\n                        }\n                    }  // ($s != 0)\n                }  // k loop\n            }  // check convergence\n        }  // while ($n >= $low)\n\n        // Backsubstitute to find vectors of upper triangular form\n        if ($norm == 0.0) {\n            return;\n        }\n\n        for ($n = $nn-1; $n >= 0; --$n) {\n            $p = $this->d[$n];\n            $q = $this->e[$n];\n            // Real vector\n            if ($q == 0) {\n                $l = $n;\n                $this->H[$n][$n] = 1.0;\n                for ($i = $n-1; $i >= 0; --$i) {\n                    $w = $this->H[$i][$i] - $p;\n                    $r = 0.0;\n                    for ($j = $l; $j <= $n; ++$j) {\n                        $r = $r + $this->H[$i][$j] * $this->H[$j][$n];\n                    }\n                    if ($this->e[$i] < 0.0) {\n                        $z = $w;\n                        $s = $r;\n                    } else {\n                        $l = $i;\n                        if ($this->e[$i] == 0.0) {\n                            if ($w != 0.0) {\n                                $this->H[$i][$n] = -$r / $w;\n                            } else {\n                                $this->H[$i][$n] = -$r / ($eps * $norm);\n                            }\n                        // Solve real equations\n                        } else {\n                            $x = $this->H[$i][$i+1];\n                            $y = $this->H[$i+1][$i];\n                            $q = ($this->d[$i] - $p) * ($this->d[$i] - $p) + $this->e[$i] * $this->e[$i];\n                            $t = ($x * $s - $z * $r) / $q;\n                            $this->H[$i][$n] = $t;\n                            if (abs($x) > abs($z)) {\n                                $this->H[$i+1][$n] = (-$r - $w * $t) / $x;\n                            } else {\n                                $this->H[$i+1][$n] = (-$s - $y * $t) / $z;\n                            }\n                        }\n                        // Overflow control\n                        $t = abs($this->H[$i][$n]);\n                        if (($eps * $t) * $t > 1) {\n                            for ($j = $i; $j <= $n; ++$j) {\n                                $this->H[$j][$n] = $this->H[$j][$n] / $t;\n                            }\n                        }\n                    }\n                }\n            // Complex vector\n            } elseif ($q < 0) {\n                $l = $n-1;\n                // Last vector component imaginary so matrix is triangular\n                if (abs($this->H[$n][$n-1]) > abs($this->H[$n-1][$n])) {\n                    $this->H[$n-1][$n-1] = $q / $this->H[$n][$n-1];\n                    $this->H[$n-1][$n] = -($this->H[$n][$n] - $p) / $this->H[$n][$n-1];\n                } else {\n                    $this->cdiv(0.0, -$this->H[$n-1][$n], $this->H[$n-1][$n-1] - $p, $q);\n                    $this->H[$n-1][$n-1] = $this->cdivr;\n                    $this->H[$n-1][$n]   = $this->cdivi;\n                }\n                $this->H[$n][$n-1] = 0.0;\n                $this->H[$n][$n] = 1.0;\n                for ($i = $n-2; $i >= 0; --$i) {\n                    // double ra,sa,vr,vi;\n                    $ra = 0.0;\n                    $sa = 0.0;\n                    for ($j = $l; $j <= $n; ++$j) {\n                        $ra = $ra + $this->H[$i][$j] * $this->H[$j][$n-1];\n                        $sa = $sa + $this->H[$i][$j] * $this->H[$j][$n];\n                    }\n                    $w = $this->H[$i][$i] - $p;\n                    if ($this->e[$i] < 0.0) {\n                        $z = $w;\n                        $r = $ra;\n                        $s = $sa;\n                    } else {\n                        $l = $i;\n                        if ($this->e[$i] == 0) {\n                            $this->cdiv(-$ra, -$sa, $w, $q);\n                            $this->H[$i][$n-1] = $this->cdivr;\n                            $this->H[$i][$n]   = $this->cdivi;\n                        } else {\n                            // Solve complex equations\n                            $x = $this->H[$i][$i+1];\n                            $y = $this->H[$i+1][$i];\n                            $vr = ($this->d[$i] - $p) * ($this->d[$i] - $p) + $this->e[$i] * $this->e[$i] - $q * $q;\n                            $vi = ($this->d[$i] - $p) * 2.0 * $q;\n                            if ($vr == 0.0 & $vi == 0.0) {\n                                $vr = $eps * $norm * (abs($w) + abs($q) + abs($x) + abs($y) + abs($z));\n                            }\n                            $this->cdiv($x * $r - $z * $ra + $q * $sa, $x * $s - $z * $sa - $q * $ra, $vr, $vi);\n                            $this->H[$i][$n-1] = $this->cdivr;\n                            $this->H[$i][$n]   = $this->cdivi;\n                            if (abs($x) > (abs($z) + abs($q))) {\n                                $this->H[$i+1][$n-1] = (-$ra - $w * $this->H[$i][$n-1] + $q * $this->H[$i][$n]) / $x;\n                                $this->H[$i+1][$n] = (-$sa - $w * $this->H[$i][$n] - $q * $this->H[$i][$n-1]) / $x;\n                            } else {\n                                $this->cdiv(-$r - $y * $this->H[$i][$n-1], -$s - $y * $this->H[$i][$n], $z, $q);\n                                $this->H[$i+1][$n-1] = $this->cdivr;\n                                $this->H[$i+1][$n]   = $this->cdivi;\n                            }\n                        }\n                        // Overflow control\n                        $t = max(abs($this->H[$i][$n-1]), abs($this->H[$i][$n]));\n                        if (($eps * $t) * $t > 1) {\n                            for ($j = $i; $j <= $n; ++$j) {\n                                $this->H[$j][$n-1] = $this->H[$j][$n-1] / $t;\n                                $this->H[$j][$n]   = $this->H[$j][$n] / $t;\n                            }\n                        }\n                    } // end else\n                } // end for\n            } // end else for complex case\n        } // end for\n\n        // Vectors of isolated roots\n        for ($i = 0; $i < $nn; ++$i) {\n            if ($i < $low | $i > $high) {\n                for ($j = $i; $j < $nn; ++$j) {\n                    $this->V[$i][$j] = $this->H[$i][$j];\n                }\n            }\n        }\n\n        // Back transformation to get eigenvectors of original matrix\n        for ($j = $nn-1; $j >= $low; --$j) {\n            for ($i = $low; $i <= $high; ++$i) {\n                $z = 0.0;\n                for ($k = $low; $k <= min($j, $high); ++$k) {\n                    $z = $z + $this->V[$i][$k] * $this->H[$k][$j];\n                }\n                $this->V[$i][$j] = $z;\n            }\n        }\n    } // end hqr2\n\n    /**\n     *    Constructor: Check for symmetry, then construct the eigenvalue decomposition\n     *\n     *    @access public\n     *    @param A  Square matrix\n     *    @return Structure to access D and V.\n     */\n    public function __construct($Arg)\n    {\n        $this->A = $Arg->getArray();\n        $this->n = $Arg->getColumnDimension();\n\n        $issymmetric = true;\n        for ($j = 0; ($j < $this->n) & $issymmetric; ++$j) {\n            for ($i = 0; ($i < $this->n) & $issymmetric; ++$i) {\n                $issymmetric = ($this->A[$i][$j] == $this->A[$j][$i]);\n            }\n        }\n\n        if ($issymmetric) {\n            $this->V = $this->A;\n            // Tridiagonalize.\n            $this->tred2();\n            // Diagonalize.\n            $this->tql2();\n        } else {\n            $this->H = $this->A;\n            $this->ort = array();\n            // Reduce to Hessenberg form.\n            $this->orthes();\n            // Reduce Hessenberg to real Schur form.\n            $this->hqr2();\n        }\n    }\n\n    /**\n     *    Return the eigenvector matrix\n     *\n     *    @access public\n     *    @return V\n     */\n    public function getV()\n    {\n        return new Matrix($this->V, $this->n, $this->n);\n    }\n\n    /**\n     *    Return the real parts of the eigenvalues\n     *\n     *    @access public\n     *    @return real(diag(D))\n     */\n    public function getRealEigenvalues()\n    {\n        return $this->d;\n    }\n\n    /**\n     *    Return the imaginary parts of the eigenvalues\n     *\n     *    @access public\n     *    @return imag(diag(D))\n     */\n    public function getImagEigenvalues()\n    {\n        return $this->e;\n    }\n\n    /**\n     *    Return the block diagonal eigenvalue matrix\n     *\n     *    @access public\n     *    @return D\n     */\n    public function getD()\n    {\n        for ($i = 0; $i < $this->n; ++$i) {\n            $D[$i] = array_fill(0, $this->n, 0.0);\n            $D[$i][$i] = $this->d[$i];\n            if ($this->e[$i] == 0) {\n                continue;\n            }\n            $o = ($this->e[$i] > 0) ? $i + 1 : $i - 1;\n            $D[$i][$o] = $this->e[$i];\n        }\n        return new Matrix($D);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/LUDecomposition.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n\n *    unit lower triangular matrix L, an n-by-n upper triangular matrix U,\n *    and a permutation vector piv of length m so that A(piv,:) = L*U.\n *    If m < n, then L is m-by-m and U is m-by-n.\n *\n *    The LU decompostion with pivoting always exists, even if the matrix is\n *    singular, so the constructor will never fail. The primary use of the\n *    LU decomposition is in the solution of square systems of simultaneous\n *    linear equations. This will fail if isNonsingular() returns false.\n *\n *    @author Paul Meagher\n *    @author Bartosz Matosiuk\n *    @author Michael Bommarito\n *    @version 1.1\n *    @license PHP v3.0\n */\nclass PHPExcel_Shared_JAMA_LUDecomposition\n{\n    const MATRIX_SINGULAR_EXCEPTION    = \"Can only perform operation on singular matrix.\";\n    const MATRIX_SQUARE_EXCEPTION      = \"Mismatched Row dimension\";\n\n    /**\n     *    Decomposition storage\n     *    @var array\n     */\n    private $LU = array();\n\n    /**\n     *    Row dimension.\n     *    @var int\n     */\n    private $m;\n\n    /**\n     *    Column dimension.\n     *    @var int\n     */\n    private $n;\n\n    /**\n     *    Pivot sign.\n     *    @var int\n     */\n    private $pivsign;\n\n    /**\n     *    Internal storage of pivot vector.\n     *    @var array\n     */\n    private $piv = array();\n\n    /**\n     *    LU Decomposition constructor.\n     *\n     *    @param $A Rectangular matrix\n     *    @return Structure to access L, U and piv.\n     */\n    public function __construct($A)\n    {\n        if ($A instanceof PHPExcel_Shared_JAMA_Matrix) {\n            // Use a \"left-looking\", dot-product, Crout/Doolittle algorithm.\n            $this->LU = $A->getArray();\n            $this->m  = $A->getRowDimension();\n            $this->n  = $A->getColumnDimension();\n            for ($i = 0; $i < $this->m; ++$i) {\n                $this->piv[$i] = $i;\n            }\n            $this->pivsign = 1;\n            $LUrowi = $LUcolj = array();\n\n            // Outer loop.\n            for ($j = 0; $j < $this->n; ++$j) {\n                // Make a copy of the j-th column to localize references.\n                for ($i = 0; $i < $this->m; ++$i) {\n                    $LUcolj[$i] = &$this->LU[$i][$j];\n                }\n                // Apply previous transformations.\n                for ($i = 0; $i < $this->m; ++$i) {\n                    $LUrowi = $this->LU[$i];\n                    // Most of the time is spent in the following dot product.\n                    $kmax = min($i, $j);\n                    $s = 0.0;\n                    for ($k = 0; $k < $kmax; ++$k) {\n                        $s += $LUrowi[$k] * $LUcolj[$k];\n                    }\n                    $LUrowi[$j] = $LUcolj[$i] -= $s;\n                }\n                // Find pivot and exchange if necessary.\n                $p = $j;\n                for ($i = $j+1; $i < $this->m; ++$i) {\n                    if (abs($LUcolj[$i]) > abs($LUcolj[$p])) {\n                        $p = $i;\n                    }\n                }\n                if ($p != $j) {\n                    for ($k = 0; $k < $this->n; ++$k) {\n                        $t = $this->LU[$p][$k];\n                        $this->LU[$p][$k] = $this->LU[$j][$k];\n                        $this->LU[$j][$k] = $t;\n                    }\n                    $k = $this->piv[$p];\n                    $this->piv[$p] = $this->piv[$j];\n                    $this->piv[$j] = $k;\n                    $this->pivsign = $this->pivsign * -1;\n                }\n                // Compute multipliers.\n                if (($j < $this->m) && ($this->LU[$j][$j] != 0.0)) {\n                    for ($i = $j+1; $i < $this->m; ++$i) {\n                        $this->LU[$i][$j] /= $this->LU[$j][$j];\n                    }\n                }\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::ARGUMENT_TYPE_EXCEPTION);\n        }\n    }    //    function __construct()\n\n    /**\n     *    Get lower triangular factor.\n     *\n     *    @return array Lower triangular factor\n     */\n    public function getL()\n    {\n        for ($i = 0; $i < $this->m; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                if ($i > $j) {\n                    $L[$i][$j] = $this->LU[$i][$j];\n                } elseif ($i == $j) {\n                    $L[$i][$j] = 1.0;\n                } else {\n                    $L[$i][$j] = 0.0;\n                }\n            }\n        }\n        return new PHPExcel_Shared_JAMA_Matrix($L);\n    }    //    function getL()\n\n    /**\n     *    Get upper triangular factor.\n     *\n     *    @return array Upper triangular factor\n     */\n    public function getU()\n    {\n        for ($i = 0; $i < $this->n; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                if ($i <= $j) {\n                    $U[$i][$j] = $this->LU[$i][$j];\n                } else {\n                    $U[$i][$j] = 0.0;\n                }\n            }\n        }\n        return new PHPExcel_Shared_JAMA_Matrix($U);\n    }    //    function getU()\n\n    /**\n     *    Return pivot permutation vector.\n     *\n     *    @return array Pivot vector\n     */\n    public function getPivot()\n    {\n        return $this->piv;\n    }    //    function getPivot()\n\n    /**\n     *    Alias for getPivot\n     *\n     *    @see getPivot\n     */\n    public function getDoublePivot()\n    {\n        return $this->getPivot();\n    }    //    function getDoublePivot()\n\n    /**\n     *    Is the matrix nonsingular?\n     *\n     *    @return true if U, and hence A, is nonsingular.\n     */\n    public function isNonsingular()\n    {\n        for ($j = 0; $j < $this->n; ++$j) {\n            if ($this->LU[$j][$j] == 0) {\n                return false;\n            }\n        }\n        return true;\n    }    //    function isNonsingular()\n\n    /**\n     *    Count determinants\n     *\n     *    @return array d matrix deterninat\n     */\n    public function det()\n    {\n        if ($this->m == $this->n) {\n            $d = $this->pivsign;\n            for ($j = 0; $j < $this->n; ++$j) {\n                $d *= $this->LU[$j][$j];\n            }\n            return $d;\n        } else {\n            throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::MATRIX_DIMENSION_EXCEPTION);\n        }\n    }    //    function det()\n\n    /**\n     *    Solve A*X = B\n     *\n     *    @param  $B  A Matrix with as many rows as A and any number of columns.\n     *    @return  X so that L*U*X = B(piv,:)\n     *    @PHPExcel_Calculation_Exception  IllegalArgumentException Matrix row dimensions must agree.\n     *    @PHPExcel_Calculation_Exception  RuntimeException  Matrix is singular.\n     */\n    public function solve($B)\n    {\n        if ($B->getRowDimension() == $this->m) {\n            if ($this->isNonsingular()) {\n                // Copy right hand side with pivoting\n                $nx = $B->getColumnDimension();\n                $X  = $B->getMatrix($this->piv, 0, $nx-1);\n                // Solve L*Y = B(piv,:)\n                for ($k = 0; $k < $this->n; ++$k) {\n                    for ($i = $k+1; $i < $this->n; ++$i) {\n                        for ($j = 0; $j < $nx; ++$j) {\n                            $X->A[$i][$j] -= $X->A[$k][$j] * $this->LU[$i][$k];\n                        }\n                    }\n                }\n                // Solve U*X = Y;\n                for ($k = $this->n-1; $k >= 0; --$k) {\n                    for ($j = 0; $j < $nx; ++$j) {\n                        $X->A[$k][$j] /= $this->LU[$k][$k];\n                    }\n                    for ($i = 0; $i < $k; ++$i) {\n                        for ($j = 0; $j < $nx; ++$j) {\n                            $X->A[$i][$j] -= $X->A[$k][$j] * $this->LU[$i][$k];\n                        }\n                    }\n                }\n                return $X;\n            } else {\n                throw new PHPExcel_Calculation_Exception(self::MATRIX_SINGULAR_EXCEPTION);\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::MATRIX_SQUARE_EXCEPTION);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/Matrix.php",
    "content": "<?php\n/**\n * @package JAMA\n */\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    /**\n     * @ignore\n     */\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../../');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n\n/*\n *    Matrix class\n *\n *    @author Paul Meagher\n *    @author Michael Bommarito\n *    @author Lukasz Karapuda\n *    @author Bartek Matosiuk\n *    @version 1.8\n *    @license PHP v3.0\n *    @see http://math.nist.gov/javanumerics/jama/\n */\nclass PHPExcel_Shared_JAMA_Matrix\n{\n    const POLYMORPHIC_ARGUMENT_EXCEPTION = \"Invalid argument pattern for polymorphic function.\";\n    const ARGUMENT_TYPE_EXCEPTION        = \"Invalid argument type.\";\n    const ARGUMENT_BOUNDS_EXCEPTION      = \"Invalid argument range.\";\n    const MATRIX_DIMENSION_EXCEPTION     = \"Matrix dimensions are not equal.\";\n    const ARRAY_LENGTH_EXCEPTION         = \"Array length must be a multiple of m.\";\n\n    /**\n     *    Matrix storage\n     *\n     *    @var array\n     *    @access public\n     */\n    public $A = array();\n\n    /**\n     *    Matrix row dimension\n     *\n     *    @var int\n     *    @access private\n     */\n    private $m;\n\n    /**\n     *    Matrix column dimension\n     *\n     *    @var int\n     *    @access private\n     */\n    private $n;\n\n    /**\n     *    Polymorphic constructor\n     *\n     *    As PHP has no support for polymorphic constructors, we hack our own sort of polymorphism using func_num_args, func_get_arg, and gettype. In essence, we're just implementing a simple RTTI filter and calling the appropriate constructor.\n     */\n    public function __construct()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                //Rectangular matrix - m x n initialized from 2D array\n                case 'array':\n                    $this->m = count($args[0]);\n                    $this->n = count($args[0][0]);\n                    $this->A = $args[0];\n                    break;\n                //Square matrix - n x n\n                case 'integer':\n                    $this->m = $args[0];\n                    $this->n = $args[0];\n                    $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0));\n                    break;\n                //Rectangular matrix - m x n\n                case 'integer,integer':\n                    $this->m = $args[0];\n                    $this->n = $args[1];\n                    $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0));\n                    break;\n                //Rectangular matrix - m x n initialized from packed array\n                case 'array,integer':\n                    $this->m = $args[1];\n                    if ($this->m != 0) {\n                        $this->n = count($args[0]) / $this->m;\n                    } else {\n                        $this->n = 0;\n                    }\n                    if (($this->m * $this->n) == count($args[0])) {\n                        for ($i = 0; $i < $this->m; ++$i) {\n                            for ($j = 0; $j < $this->n; ++$j) {\n                                $this->A[$i][$j] = $args[0][$i + $j * $this->m];\n                            }\n                        }\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARRAY_LENGTH_EXCEPTION);\n                    }\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    getArray\n     *\n     *    @return array Matrix array\n     */\n    public function getArray()\n    {\n        return $this->A;\n    }\n\n    /**\n     *    getRowDimension\n     *\n     *    @return int Row dimension\n     */\n    public function getRowDimension()\n    {\n        return $this->m;\n    }\n\n    /**\n     *    getColumnDimension\n     *\n     *    @return int Column dimension\n     */\n    public function getColumnDimension()\n    {\n        return $this->n;\n    }\n\n    /**\n     *    get\n     *\n     *    Get the i,j-th element of the matrix.\n     *    @param int $i Row position\n     *    @param int $j Column position\n     *    @return mixed Element (int/float/double)\n     */\n    public function get($i = null, $j = null)\n    {\n        return $this->A[$i][$j];\n    }\n\n    /**\n     *    getMatrix\n     *\n     *    Get a submatrix\n     *    @param int $i0 Initial row index\n     *    @param int $iF Final row index\n     *    @param int $j0 Initial column index\n     *    @param int $jF Final column index\n     *    @return Matrix Submatrix\n     */\n    public function getMatrix()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                //A($i0...; $j0...)\n                case 'integer,integer':\n                    list($i0, $j0) = $args;\n                    if ($i0 >= 0) {\n                        $m = $this->m - $i0;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    if ($j0 >= 0) {\n                        $n = $this->n - $j0;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    $R = new PHPExcel_Shared_JAMA_Matrix($m, $n);\n                    for ($i = $i0; $i < $this->m; ++$i) {\n                        for ($j = $j0; $j < $this->n; ++$j) {\n                            $R->set($i, $j, $this->A[$i][$j]);\n                        }\n                    }\n                    return $R;\n                    break;\n                //A($i0...$iF; $j0...$jF)\n                case 'integer,integer,integer,integer':\n                    list($i0, $iF, $j0, $jF) = $args;\n                    if (($iF > $i0) && ($this->m >= $iF) && ($i0 >= 0)) {\n                        $m = $iF - $i0;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    if (($jF > $j0) && ($this->n >= $jF) && ($j0 >= 0)) {\n                        $n = $jF - $j0;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    $R = new PHPExcel_Shared_JAMA_Matrix($m+1, $n+1);\n                    for ($i = $i0; $i <= $iF; ++$i) {\n                        for ($j = $j0; $j <= $jF; ++$j) {\n                            $R->set($i - $i0, $j - $j0, $this->A[$i][$j]);\n                        }\n                    }\n                    return $R;\n                    break;\n                //$R = array of row indices; $C = array of column indices\n                case 'array,array':\n                    list($RL, $CL) = $args;\n                    if (count($RL) > 0) {\n                        $m = count($RL);\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    if (count($CL) > 0) {\n                        $n = count($CL);\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    $R = new PHPExcel_Shared_JAMA_Matrix($m, $n);\n                    for ($i = 0; $i < $m; ++$i) {\n                        for ($j = 0; $j < $n; ++$j) {\n                            $R->set($i - $i0, $j - $j0, $this->A[$RL[$i]][$CL[$j]]);\n                        }\n                    }\n                    return $R;\n                    break;\n                //$RL = array of row indices; $CL = array of column indices\n                case 'array,array':\n                    list($RL, $CL) = $args;\n                    if (count($RL) > 0) {\n                        $m = count($RL);\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    if (count($CL) > 0) {\n                        $n = count($CL);\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    $R = new PHPExcel_Shared_JAMA_Matrix($m, $n);\n                    for ($i = 0; $i < $m; ++$i) {\n                        for ($j = 0; $j < $n; ++$j) {\n                            $R->set($i, $j, $this->A[$RL[$i]][$CL[$j]]);\n                        }\n                    }\n                    return $R;\n                    break;\n                //A($i0...$iF); $CL = array of column indices\n                case 'integer,integer,array':\n                    list($i0, $iF, $CL) = $args;\n                    if (($iF > $i0) && ($this->m >= $iF) && ($i0 >= 0)) {\n                        $m = $iF - $i0;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    if (count($CL) > 0) {\n                        $n = count($CL);\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    $R = new PHPExcel_Shared_JAMA_Matrix($m, $n);\n                    for ($i = $i0; $i < $iF; ++$i) {\n                        for ($j = 0; $j < $n; ++$j) {\n                            $R->set($i - $i0, $j, $this->A[$RL[$i]][$j]);\n                        }\n                    }\n                    return $R;\n                    break;\n                //$RL = array of row indices\n                case 'array,integer,integer':\n                    list($RL, $j0, $jF) = $args;\n                    if (count($RL) > 0) {\n                        $m = count($RL);\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    if (($jF >= $j0) && ($this->n >= $jF) && ($j0 >= 0)) {\n                        $n = $jF - $j0;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_BOUNDS_EXCEPTION);\n                    }\n                    $R = new PHPExcel_Shared_JAMA_Matrix($m, $n+1);\n                    for ($i = 0; $i < $m; ++$i) {\n                        for ($j = $j0; $j <= $jF; ++$j) {\n                            $R->set($i, $j - $j0, $this->A[$RL[$i]][$j]);\n                        }\n                    }\n                    return $R;\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    checkMatrixDimensions\n     *\n     *    Is matrix B the same size?\n     *    @param Matrix $B Matrix B\n     *    @return boolean\n     */\n    public function checkMatrixDimensions($B = null)\n    {\n        if ($B instanceof PHPExcel_Shared_JAMA_Matrix) {\n            if (($this->m == $B->getRowDimension()) && ($this->n == $B->getColumnDimension())) {\n                return true;\n            } else {\n                throw new PHPExcel_Calculation_Exception(self::MATRIX_DIMENSION_EXCEPTION);\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n        }\n    }    //    function checkMatrixDimensions()\n\n    /**\n     *    set\n     *\n     *    Set the i,j-th element of the matrix.\n     *    @param int $i Row position\n     *    @param int $j Column position\n     *    @param mixed $c Int/float/double value\n     *    @return mixed Element (int/float/double)\n     */\n    public function set($i = null, $j = null, $c = null)\n    {\n        // Optimized set version just has this\n        $this->A[$i][$j] = $c;\n    }    //    function set()\n\n    /**\n     *    identity\n     *\n     *    Generate an identity matrix.\n     *    @param int $m Row dimension\n     *    @param int $n Column dimension\n     *    @return Matrix Identity matrix\n     */\n    public function identity($m = null, $n = null)\n    {\n        return $this->diagonal($m, $n, 1);\n    }\n\n    /**\n     *    diagonal\n     *\n     *    Generate a diagonal matrix\n     *    @param int $m Row dimension\n     *    @param int $n Column dimension\n     *    @param mixed $c Diagonal value\n     *    @return Matrix Diagonal matrix\n     */\n    public function diagonal($m = null, $n = null, $c = 1)\n    {\n        $R = new PHPExcel_Shared_JAMA_Matrix($m, $n);\n        for ($i = 0; $i < $m; ++$i) {\n            $R->set($i, $i, $c);\n        }\n        return $R;\n    }\n\n    /**\n     *    getMatrixByRow\n     *\n     *    Get a submatrix by row index/range\n     *    @param int $i0 Initial row index\n     *    @param int $iF Final row index\n     *    @return Matrix Submatrix\n     */\n    public function getMatrixByRow($i0 = null, $iF = null)\n    {\n        if (is_int($i0)) {\n            if (is_int($iF)) {\n                return $this->getMatrix($i0, 0, $iF + 1, $this->n);\n            } else {\n                return $this->getMatrix($i0, 0, $i0 + 1, $this->n);\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n        }\n    }\n\n    /**\n     *    getMatrixByCol\n     *\n     *    Get a submatrix by column index/range\n     *    @param int $i0 Initial column index\n     *    @param int $iF Final column index\n     *    @return Matrix Submatrix\n     */\n    public function getMatrixByCol($j0 = null, $jF = null)\n    {\n        if (is_int($j0)) {\n            if (is_int($jF)) {\n                return $this->getMatrix(0, $j0, $this->m, $jF + 1);\n            } else {\n                return $this->getMatrix(0, $j0, $this->m, $j0 + 1);\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n        }\n    }\n\n    /**\n     *    transpose\n     *\n     *    Tranpose matrix\n     *    @return Matrix Transposed matrix\n     */\n    public function transpose()\n    {\n        $R = new PHPExcel_Shared_JAMA_Matrix($this->n, $this->m);\n        for ($i = 0; $i < $this->m; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                $R->set($j, $i, $this->A[$i][$j]);\n            }\n        }\n        return $R;\n    }    //    function transpose()\n\n    /**\n     *    trace\n     *\n     *    Sum of diagonal elements\n     *    @return float Sum of diagonal elements\n     */\n    public function trace()\n    {\n        $s = 0;\n        $n = min($this->m, $this->n);\n        for ($i = 0; $i < $n; ++$i) {\n            $s += $this->A[$i][$i];\n        }\n        return $s;\n    }\n\n    /**\n     *    uminus\n     *\n     *    Unary minus matrix -A\n     *    @return Matrix Unary minus matrix\n     */\n    public function uminus()\n    {\n    }\n\n    /**\n     *    plus\n     *\n     *    A + B\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Sum\n     */\n    public function plus()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $M->set($i, $j, $M->get($i, $j) + $this->A[$i][$j]);\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    plusEquals\n     *\n     *    A = A + B\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Sum\n     */\n    public function plusEquals()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $validValues = true;\n                    $value = $M->get($i, $j);\n                    if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) {\n                        $this->A[$i][$j] = trim($this->A[$i][$j], '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]);\n                    }\n                    if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) {\n                        $value = trim($value, '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value);\n                    }\n                    if ($validValues) {\n                        $this->A[$i][$j] += $value;\n                    } else {\n                        $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN();\n                    }\n                }\n            }\n            return $this;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    minus\n     *\n     *    A - B\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Sum\n     */\n    public function minus()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $M->set($i, $j, $M->get($i, $j) - $this->A[$i][$j]);\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    minusEquals\n     *\n     *    A = A - B\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Sum\n     */\n    public function minusEquals()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $validValues = true;\n                    $value = $M->get($i, $j);\n                    if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) {\n                        $this->A[$i][$j] = trim($this->A[$i][$j], '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]);\n                    }\n                    if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) {\n                        $value = trim($value, '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value);\n                    }\n                    if ($validValues) {\n                        $this->A[$i][$j] -= $value;\n                    } else {\n                        $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN();\n                    }\n                }\n            }\n            return $this;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    arrayTimes\n     *\n     *    Element-by-element multiplication\n     *    Cij = Aij * Bij\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Matrix Cij\n     */\n    public function arrayTimes()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $M->set($i, $j, $M->get($i, $j) * $this->A[$i][$j]);\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    arrayTimesEquals\n     *\n     *    Element-by-element multiplication\n     *    Aij = Aij * Bij\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Matrix Aij\n     */\n    public function arrayTimesEquals()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $validValues = true;\n                    $value = $M->get($i, $j);\n                    if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) {\n                        $this->A[$i][$j] = trim($this->A[$i][$j], '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]);\n                    }\n                    if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) {\n                        $value = trim($value, '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value);\n                    }\n                    if ($validValues) {\n                        $this->A[$i][$j] *= $value;\n                    } else {\n                        $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN();\n                    }\n                }\n            }\n            return $this;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    arrayRightDivide\n     *\n     *    Element-by-element right division\n     *    A / B\n     *    @param Matrix $B Matrix B\n     *    @return Matrix Division result\n     */\n    public function arrayRightDivide()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $validValues = true;\n                    $value = $M->get($i, $j);\n                    if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) {\n                        $this->A[$i][$j] = trim($this->A[$i][$j], '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]);\n                    }\n                    if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) {\n                        $value = trim($value, '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value);\n                    }\n                    if ($validValues) {\n                        if ($value == 0) {\n                            //    Trap for Divide by Zero error\n                            $M->set($i, $j, '#DIV/0!');\n                        } else {\n                            $M->set($i, $j, $this->A[$i][$j] / $value);\n                        }\n                    } else {\n                        $M->set($i, $j, PHPExcel_Calculation_Functions::NaN());\n                    }\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n\n    /**\n     *    arrayRightDivideEquals\n     *\n     *    Element-by-element right division\n     *    Aij = Aij / Bij\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Matrix Aij\n     */\n    public function arrayRightDivideEquals()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $this->A[$i][$j] = $this->A[$i][$j] / $M->get($i, $j);\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n\n    /**\n     *    arrayLeftDivide\n     *\n     *    Element-by-element Left division\n     *    A / B\n     *    @param Matrix $B Matrix B\n     *    @return Matrix Division result\n     */\n    public function arrayLeftDivide()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $M->set($i, $j, $M->get($i, $j) / $this->A[$i][$j]);\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n\n    /**\n     *    arrayLeftDivideEquals\n     *\n     *    Element-by-element Left division\n     *    Aij = Aij / Bij\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Matrix Aij\n     */\n    public function arrayLeftDivideEquals()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $this->A[$i][$j] = $M->get($i, $j) / $this->A[$i][$j];\n                }\n            }\n            return $M;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n\n    /**\n     *    times\n     *\n     *    Matrix multiplication\n     *    @param mixed $n Matrix/Array/Scalar\n     *    @return Matrix Product\n     */\n    public function times()\n    {\n        if (func_num_args() > 0) {\n            $args  = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $B = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    if ($this->n == $B->m) {\n                        $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $B->n);\n                        for ($j = 0; $j < $B->n; ++$j) {\n                            for ($k = 0; $k < $this->n; ++$k) {\n                                $Bcolj[$k] = $B->A[$k][$j];\n                            }\n                            for ($i = 0; $i < $this->m; ++$i) {\n                                $Arowi = $this->A[$i];\n                                $s = 0;\n                                for ($k = 0; $k < $this->n; ++$k) {\n                                    $s += $Arowi[$k] * $Bcolj[$k];\n                                }\n                                $C->A[$i][$j] = $s;\n                            }\n                        }\n                        return $C;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionMismatch));\n                    }\n                    break;\n                case 'array':\n                    $B = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    if ($this->n == $B->m) {\n                        $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $B->n);\n                        for ($i = 0; $i < $C->m; ++$i) {\n                            for ($j = 0; $j < $C->n; ++$j) {\n                                $s = \"0\";\n                                for ($k = 0; $k < $C->n; ++$k) {\n                                    $s += $this->A[$i][$k] * $B->A[$k][$j];\n                                }\n                                $C->A[$i][$j] = $s;\n                            }\n                        }\n                        return $C;\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionMismatch));\n                    }\n                    return $M;\n                    break;\n                case 'integer':\n                    $C = new PHPExcel_Shared_JAMA_Matrix($this->A);\n                    for ($i = 0; $i < $C->m; ++$i) {\n                        for ($j = 0; $j < $C->n; ++$j) {\n                            $C->A[$i][$j] *= $args[0];\n                        }\n                    }\n                    return $C;\n                    break;\n                case 'double':\n                    $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $this->n);\n                    for ($i = 0; $i < $C->m; ++$i) {\n                        for ($j = 0; $j < $C->n; ++$j) {\n                            $C->A[$i][$j] = $args[0] * $this->A[$i][$j];\n                        }\n                    }\n                    return $C;\n                    break;\n                case 'float':\n                    $C = new PHPExcel_Shared_JAMA_Matrix($this->A);\n                    for ($i = 0; $i < $C->m; ++$i) {\n                        for ($j = 0; $j < $C->n; ++$j) {\n                            $C->A[$i][$j] *= $args[0];\n                        }\n                    }\n                    return $C;\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    power\n     *\n     *    A = A ^ B\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Sum\n     */\n    public function power()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                    break;\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $validValues = true;\n                    $value = $M->get($i, $j);\n                    if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) {\n                        $this->A[$i][$j] = trim($this->A[$i][$j], '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]);\n                    }\n                    if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) {\n                        $value = trim($value, '\"');\n                        $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value);\n                    }\n                    if ($validValues) {\n                        $this->A[$i][$j] = pow($this->A[$i][$j], $value);\n                    } else {\n                        $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN();\n                    }\n                }\n            }\n            return $this;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    concat\n     *\n     *    A = A & B\n     *    @param mixed $B Matrix/Array\n     *    @return Matrix Sum\n     */\n    public function concat()\n    {\n        if (func_num_args() > 0) {\n            $args = func_get_args();\n            $match = implode(\",\", array_map('gettype', $args));\n\n            switch ($match) {\n                case 'object':\n                    if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) {\n                        $M = $args[0];\n                    } else {\n                        throw new PHPExcel_Calculation_Exception(self::ARGUMENT_TYPE_EXCEPTION);\n                    }\n                case 'array':\n                    $M = new PHPExcel_Shared_JAMA_Matrix($args[0]);\n                    break;\n                default:\n                    throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n                    break;\n            }\n            $this->checkMatrixDimensions($M);\n            for ($i = 0; $i < $this->m; ++$i) {\n                for ($j = 0; $j < $this->n; ++$j) {\n                    $this->A[$i][$j] = trim($this->A[$i][$j], '\"').trim($M->get($i, $j), '\"');\n                }\n            }\n            return $this;\n        } else {\n            throw new PHPExcel_Calculation_Exception(self::POLYMORPHIC_ARGUMENT_EXCEPTION);\n        }\n    }\n\n    /**\n     *    Solve A*X = B.\n     *\n     *    @param Matrix $B Right hand side\n     *    @return Matrix ... Solution if A is square, least squares solution otherwise\n     */\n    public function solve($B)\n    {\n        if ($this->m == $this->n) {\n            $LU = new PHPExcel_Shared_JAMA_LUDecomposition($this);\n            return $LU->solve($B);\n        } else {\n            $QR = new PHPExcel_Shared_JAMA_QRDecomposition($this);\n            return $QR->solve($B);\n        }\n    }\n\n    /**\n     *    Matrix inverse or pseudoinverse.\n     *\n     *    @return Matrix ... Inverse(A) if A is square, pseudoinverse otherwise.\n     */\n    public function inverse()\n    {\n        return $this->solve($this->identity($this->m, $this->m));\n    }\n\n    /**\n     *    det\n     *\n     *    Calculate determinant\n     *    @return float Determinant\n     */\n    public function det()\n    {\n        $L = new PHPExcel_Shared_JAMA_LUDecomposition($this);\n        return $L->det();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/QRDecomposition.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n\n *    orthogonal matrix Q and an n-by-n upper triangular matrix R so that\n *    A = Q*R.\n *\n *    The QR decompostion always exists, even if the matrix does not have\n *    full rank, so the constructor will never fail.  The primary use of the\n *    QR decomposition is in the least squares solution of nonsquare systems\n *    of simultaneous linear equations.  This will fail if isFullRank()\n *    returns false.\n *\n *    @author  Paul Meagher\n *    @license PHP v3.0\n *    @version 1.1\n */\nclass PHPExcel_Shared_JAMA_QRDecomposition\n{\n    const MATRIX_RANK_EXCEPTION  = \"Can only perform operation on full-rank matrix.\";\n\n    /**\n     *    Array for internal storage of decomposition.\n     *    @var array\n     */\n    private $QR = array();\n\n    /**\n     *    Row dimension.\n     *    @var integer\n     */\n    private $m;\n\n    /**\n    *    Column dimension.\n    *    @var integer\n    */\n    private $n;\n\n    /**\n     *    Array for internal storage of diagonal of R.\n     *    @var  array\n     */\n    private $Rdiag = array();\n\n\n    /**\n     *    QR Decomposition computed by Householder reflections.\n     *\n     *    @param matrix $A Rectangular matrix\n     *    @return Structure to access R and the Householder vectors and compute Q.\n     */\n    public function __construct($A)\n    {\n        if ($A instanceof PHPExcel_Shared_JAMA_Matrix) {\n            // Initialize.\n            $this->QR = $A->getArrayCopy();\n            $this->m  = $A->getRowDimension();\n            $this->n  = $A->getColumnDimension();\n            // Main loop.\n            for ($k = 0; $k < $this->n; ++$k) {\n                // Compute 2-norm of k-th column without under/overflow.\n                $nrm = 0.0;\n                for ($i = $k; $i < $this->m; ++$i) {\n                    $nrm = hypo($nrm, $this->QR[$i][$k]);\n                }\n                if ($nrm != 0.0) {\n                    // Form k-th Householder vector.\n                    if ($this->QR[$k][$k] < 0) {\n                        $nrm = -$nrm;\n                    }\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $this->QR[$i][$k] /= $nrm;\n                    }\n                    $this->QR[$k][$k] += 1.0;\n                    // Apply transformation to remaining columns.\n                    for ($j = $k+1; $j < $this->n; ++$j) {\n                        $s = 0.0;\n                        for ($i = $k; $i < $this->m; ++$i) {\n                            $s += $this->QR[$i][$k] * $this->QR[$i][$j];\n                        }\n                        $s = -$s/$this->QR[$k][$k];\n                        for ($i = $k; $i < $this->m; ++$i) {\n                            $this->QR[$i][$j] += $s * $this->QR[$i][$k];\n                        }\n                    }\n                }\n                $this->Rdiag[$k] = -$nrm;\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::ARGUMENT_TYPE_EXCEPTION);\n        }\n    }    //    function __construct()\n\n\n    /**\n     *    Is the matrix full rank?\n     *\n     *    @return boolean true if R, and hence A, has full rank, else false.\n     */\n    public function isFullRank()\n    {\n        for ($j = 0; $j < $this->n; ++$j) {\n            if ($this->Rdiag[$j] == 0) {\n                return false;\n            }\n        }\n        return true;\n    }    //    function isFullRank()\n\n    /**\n     *    Return the Householder vectors\n     *\n     *    @return Matrix Lower trapezoidal matrix whose columns define the reflections\n     */\n    public function getH()\n    {\n        for ($i = 0; $i < $this->m; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                if ($i >= $j) {\n                    $H[$i][$j] = $this->QR[$i][$j];\n                } else {\n                    $H[$i][$j] = 0.0;\n                }\n            }\n        }\n        return new PHPExcel_Shared_JAMA_Matrix($H);\n    }    //    function getH()\n\n    /**\n     *    Return the upper triangular factor\n     *\n     *    @return Matrix upper triangular factor\n     */\n    public function getR()\n    {\n        for ($i = 0; $i < $this->n; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                if ($i < $j) {\n                    $R[$i][$j] = $this->QR[$i][$j];\n                } elseif ($i == $j) {\n                    $R[$i][$j] = $this->Rdiag[$i];\n                } else {\n                    $R[$i][$j] = 0.0;\n                }\n            }\n        }\n        return new PHPExcel_Shared_JAMA_Matrix($R);\n    }    //    function getR()\n\n    /**\n     *    Generate and return the (economy-sized) orthogonal factor\n     *\n     *    @return Matrix orthogonal factor\n     */\n    public function getQ()\n    {\n        for ($k = $this->n-1; $k >= 0; --$k) {\n            for ($i = 0; $i < $this->m; ++$i) {\n                $Q[$i][$k] = 0.0;\n            }\n            $Q[$k][$k] = 1.0;\n            for ($j = $k; $j < $this->n; ++$j) {\n                if ($this->QR[$k][$k] != 0) {\n                    $s = 0.0;\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $s += $this->QR[$i][$k] * $Q[$i][$j];\n                    }\n                    $s = -$s/$this->QR[$k][$k];\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $Q[$i][$j] += $s * $this->QR[$i][$k];\n                    }\n                }\n            }\n        }\n        /*\n        for($i = 0; $i < count($Q); ++$i) {\n            for($j = 0; $j < count($Q); ++$j) {\n                if (! isset($Q[$i][$j]) ) {\n                    $Q[$i][$j] = 0;\n                }\n            }\n        }\n        */\n        return new PHPExcel_Shared_JAMA_Matrix($Q);\n    }    //    function getQ()\n\n    /**\n     *    Least squares solution of A*X = B\n     *\n     *    @param Matrix $B A Matrix with as many rows as A and any number of columns.\n     *    @return Matrix Matrix that minimizes the two norm of Q*R*X-B.\n     */\n    public function solve($B)\n    {\n        if ($B->getRowDimension() == $this->m) {\n            if ($this->isFullRank()) {\n                // Copy right hand side\n                $nx = $B->getColumnDimension();\n                $X  = $B->getArrayCopy();\n                // Compute Y = transpose(Q)*B\n                for ($k = 0; $k < $this->n; ++$k) {\n                    for ($j = 0; $j < $nx; ++$j) {\n                        $s = 0.0;\n                        for ($i = $k; $i < $this->m; ++$i) {\n                            $s += $this->QR[$i][$k] * $X[$i][$j];\n                        }\n                        $s = -$s/$this->QR[$k][$k];\n                        for ($i = $k; $i < $this->m; ++$i) {\n                            $X[$i][$j] += $s * $this->QR[$i][$k];\n                        }\n                    }\n                }\n                // Solve R*X = Y;\n                for ($k = $this->n-1; $k >= 0; --$k) {\n                    for ($j = 0; $j < $nx; ++$j) {\n                        $X[$k][$j] /= $this->Rdiag[$k];\n                    }\n                    for ($i = 0; $i < $k; ++$i) {\n                        for ($j = 0; $j < $nx; ++$j) {\n                            $X[$i][$j] -= $X[$k][$j]* $this->QR[$i][$k];\n                        }\n                    }\n                }\n                $X = new PHPExcel_Shared_JAMA_Matrix($X);\n                return ($X->getMatrix(0, $this->n-1, 0, $nx));\n            } else {\n                throw new PHPExcel_Calculation_Exception(self::MATRIX_RANK_EXCEPTION);\n            }\n        } else {\n            throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::MATRIX_DIMENSION_EXCEPTION);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/SingularValueDecomposition.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    For an m-by-n matrix A with m >= n, the singular value decomposition is\n *    an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and\n *    an n-by-n orthogonal matrix V so that A = U*S*V'.\n *\n *    The singular values, sigma[$k] = S[$k][$k], are ordered so that\n *    sigma[0] >= sigma[1] >= ... >= sigma[n-1].\n *\n *    The singular value decompostion always exists, so the constructor will\n *    never fail.  The matrix condition number and the effective numerical\n *    rank can be computed from this decomposition.\n *\n *    @author  Paul Meagher\n *    @license PHP v3.0\n *    @version 1.1\n */\nclass SingularValueDecomposition\n{\n    /**\n     *    Internal storage of U.\n     *    @var array\n     */\n    private $U = array();\n\n    /**\n     *    Internal storage of V.\n     *    @var array\n     */\n    private $V = array();\n\n    /**\n     *    Internal storage of singular values.\n     *    @var array\n     */\n    private $s = array();\n\n    /**\n     *    Row dimension.\n     *    @var int\n     */\n    private $m;\n\n    /**\n     *    Column dimension.\n     *    @var int\n     */\n    private $n;\n\n    /**\n     *    Construct the singular value decomposition\n     *\n     *    Derived from LINPACK code.\n     *\n     *    @param $A Rectangular matrix\n     *    @return Structure to access U, S and V.\n     */\n    public function __construct($Arg)\n    {\n        // Initialize.\n        $A = $Arg->getArrayCopy();\n        $this->m = $Arg->getRowDimension();\n        $this->n = $Arg->getColumnDimension();\n        $nu      = min($this->m, $this->n);\n        $e       = array();\n        $work    = array();\n        $wantu   = true;\n        $wantv   = true;\n        $nct = min($this->m - 1, $this->n);\n        $nrt = max(0, min($this->n - 2, $this->m));\n\n        // Reduce A to bidiagonal form, storing the diagonal elements\n        // in s and the super-diagonal elements in e.\n        for ($k = 0; $k < max($nct, $nrt); ++$k) {\n            if ($k < $nct) {\n                // Compute the transformation for the k-th column and\n                // place the k-th diagonal in s[$k].\n                // Compute 2-norm of k-th column without under/overflow.\n                $this->s[$k] = 0;\n                for ($i = $k; $i < $this->m; ++$i) {\n                    $this->s[$k] = hypo($this->s[$k], $A[$i][$k]);\n                }\n                if ($this->s[$k] != 0.0) {\n                    if ($A[$k][$k] < 0.0) {\n                        $this->s[$k] = -$this->s[$k];\n                    }\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $A[$i][$k] /= $this->s[$k];\n                    }\n                    $A[$k][$k] += 1.0;\n                }\n                $this->s[$k] = -$this->s[$k];\n            }\n\n            for ($j = $k + 1; $j < $this->n; ++$j) {\n                if (($k < $nct) & ($this->s[$k] != 0.0)) {\n                    // Apply the transformation.\n                    $t = 0;\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $t += $A[$i][$k] * $A[$i][$j];\n                    }\n                    $t = -$t / $A[$k][$k];\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $A[$i][$j] += $t * $A[$i][$k];\n                    }\n                    // Place the k-th row of A into e for the\n                    // subsequent calculation of the row transformation.\n                    $e[$j] = $A[$k][$j];\n                }\n            }\n\n            if ($wantu and ($k < $nct)) {\n                // Place the transformation in U for subsequent back\n                // multiplication.\n                for ($i = $k; $i < $this->m; ++$i) {\n                    $this->U[$i][$k] = $A[$i][$k];\n                }\n            }\n\n            if ($k < $nrt) {\n                // Compute the k-th row transformation and place the\n                // k-th super-diagonal in e[$k].\n                // Compute 2-norm without under/overflow.\n                $e[$k] = 0;\n                for ($i = $k + 1; $i < $this->n; ++$i) {\n                    $e[$k] = hypo($e[$k], $e[$i]);\n                }\n                if ($e[$k] != 0.0) {\n                    if ($e[$k+1] < 0.0) {\n                        $e[$k] = -$e[$k];\n                    }\n                    for ($i = $k + 1; $i < $this->n; ++$i) {\n                        $e[$i] /= $e[$k];\n                    }\n                    $e[$k+1] += 1.0;\n                }\n                $e[$k] = -$e[$k];\n                if (($k+1 < $this->m) and ($e[$k] != 0.0)) {\n                    // Apply the transformation.\n                    for ($i = $k+1; $i < $this->m; ++$i) {\n                        $work[$i] = 0.0;\n                    }\n                    for ($j = $k+1; $j < $this->n; ++$j) {\n                        for ($i = $k+1; $i < $this->m; ++$i) {\n                            $work[$i] += $e[$j] * $A[$i][$j];\n                        }\n                    }\n                    for ($j = $k + 1; $j < $this->n; ++$j) {\n                        $t = -$e[$j] / $e[$k+1];\n                        for ($i = $k + 1; $i < $this->m; ++$i) {\n                            $A[$i][$j] += $t * $work[$i];\n                        }\n                    }\n                }\n                if ($wantv) {\n                    // Place the transformation in V for subsequent\n                    // back multiplication.\n                    for ($i = $k + 1; $i < $this->n; ++$i) {\n                        $this->V[$i][$k] = $e[$i];\n                    }\n                }\n            }\n        }\n\n        // Set up the final bidiagonal matrix or order p.\n        $p = min($this->n, $this->m + 1);\n        if ($nct < $this->n) {\n            $this->s[$nct] = $A[$nct][$nct];\n        }\n        if ($this->m < $p) {\n            $this->s[$p-1] = 0.0;\n        }\n        if ($nrt + 1 < $p) {\n            $e[$nrt] = $A[$nrt][$p-1];\n        }\n        $e[$p-1] = 0.0;\n        // If required, generate U.\n        if ($wantu) {\n            for ($j = $nct; $j < $nu; ++$j) {\n                for ($i = 0; $i < $this->m; ++$i) {\n                    $this->U[$i][$j] = 0.0;\n                }\n                $this->U[$j][$j] = 1.0;\n            }\n            for ($k = $nct - 1; $k >= 0; --$k) {\n                if ($this->s[$k] != 0.0) {\n                    for ($j = $k + 1; $j < $nu; ++$j) {\n                        $t = 0;\n                        for ($i = $k; $i < $this->m; ++$i) {\n                            $t += $this->U[$i][$k] * $this->U[$i][$j];\n                        }\n                        $t = -$t / $this->U[$k][$k];\n                        for ($i = $k; $i < $this->m; ++$i) {\n                            $this->U[$i][$j] += $t * $this->U[$i][$k];\n                        }\n                    }\n                    for ($i = $k; $i < $this->m; ++$i) {\n                        $this->U[$i][$k] = -$this->U[$i][$k];\n                    }\n                    $this->U[$k][$k] = 1.0 + $this->U[$k][$k];\n                    for ($i = 0; $i < $k - 1; ++$i) {\n                        $this->U[$i][$k] = 0.0;\n                    }\n                } else {\n                    for ($i = 0; $i < $this->m; ++$i) {\n                        $this->U[$i][$k] = 0.0;\n                    }\n                    $this->U[$k][$k] = 1.0;\n                }\n            }\n        }\n\n        // If required, generate V.\n        if ($wantv) {\n            for ($k = $this->n - 1; $k >= 0; --$k) {\n                if (($k < $nrt) and ($e[$k] != 0.0)) {\n                    for ($j = $k + 1; $j < $nu; ++$j) {\n                        $t = 0;\n                        for ($i = $k + 1; $i < $this->n; ++$i) {\n                            $t += $this->V[$i][$k]* $this->V[$i][$j];\n                        }\n                        $t = -$t / $this->V[$k+1][$k];\n                        for ($i = $k + 1; $i < $this->n; ++$i) {\n                            $this->V[$i][$j] += $t * $this->V[$i][$k];\n                        }\n                    }\n                }\n                for ($i = 0; $i < $this->n; ++$i) {\n                    $this->V[$i][$k] = 0.0;\n                }\n                $this->V[$k][$k] = 1.0;\n            }\n        }\n\n        // Main iteration loop for the singular values.\n        $pp   = $p - 1;\n        $iter = 0;\n        $eps  = pow(2.0, -52.0);\n\n        while ($p > 0) {\n            // Here is where a test for too many iterations would go.\n            // This section of the program inspects for negligible\n            // elements in the s and e arrays.  On completion the\n            // variables kase and k are set as follows:\n            // kase = 1  if s(p) and e[k-1] are negligible and k<p\n            // kase = 2  if s(k) is negligible and k<p\n            // kase = 3  if e[k-1] is negligible, k<p, and\n            //           s(k), ..., s(p) are not negligible (qr step).\n            // kase = 4  if e(p-1) is negligible (convergence).\n            for ($k = $p - 2; $k >= -1; --$k) {\n                if ($k == -1) {\n                    break;\n                }\n                if (abs($e[$k]) <= $eps * (abs($this->s[$k]) + abs($this->s[$k+1]))) {\n                    $e[$k] = 0.0;\n                    break;\n                }\n            }\n            if ($k == $p - 2) {\n                $kase = 4;\n            } else {\n                for ($ks = $p - 1; $ks >= $k; --$ks) {\n                    if ($ks == $k) {\n                        break;\n                    }\n                    $t = ($ks != $p ? abs($e[$ks]) : 0.) + ($ks != $k + 1 ? abs($e[$ks-1]) : 0.);\n                    if (abs($this->s[$ks]) <= $eps * $t) {\n                        $this->s[$ks] = 0.0;\n                        break;\n                    }\n                }\n                if ($ks == $k) {\n                    $kase = 3;\n                } elseif ($ks == $p-1) {\n                    $kase = 1;\n                } else {\n                    $kase = 2;\n                    $k = $ks;\n                }\n            }\n            ++$k;\n\n            // Perform the task indicated by kase.\n            switch ($kase) {\n                // Deflate negligible s(p).\n                case 1:\n                    $f = $e[$p-2];\n                    $e[$p-2] = 0.0;\n                    for ($j = $p - 2; $j >= $k; --$j) {\n                        $t  = hypo($this->s[$j], $f);\n                        $cs = $this->s[$j] / $t;\n                        $sn = $f / $t;\n                        $this->s[$j] = $t;\n                        if ($j != $k) {\n                            $f = -$sn * $e[$j-1];\n                            $e[$j-1] = $cs * $e[$j-1];\n                        }\n                        if ($wantv) {\n                            for ($i = 0; $i < $this->n; ++$i) {\n                                $t = $cs * $this->V[$i][$j] + $sn * $this->V[$i][$p-1];\n                                $this->V[$i][$p-1] = -$sn * $this->V[$i][$j] + $cs * $this->V[$i][$p-1];\n                                $this->V[$i][$j] = $t;\n                            }\n                        }\n                    }\n                    break;\n                // Split at negligible s(k).\n                case 2:\n                    $f = $e[$k-1];\n                    $e[$k-1] = 0.0;\n                    for ($j = $k; $j < $p; ++$j) {\n                        $t = hypo($this->s[$j], $f);\n                        $cs = $this->s[$j] / $t;\n                        $sn = $f / $t;\n                        $this->s[$j] = $t;\n                        $f = -$sn * $e[$j];\n                        $e[$j] = $cs * $e[$j];\n                        if ($wantu) {\n                            for ($i = 0; $i < $this->m; ++$i) {\n                                $t = $cs * $this->U[$i][$j] + $sn * $this->U[$i][$k-1];\n                                $this->U[$i][$k-1] = -$sn * $this->U[$i][$j] + $cs * $this->U[$i][$k-1];\n                                $this->U[$i][$j] = $t;\n                            }\n                        }\n                    }\n                    break;\n                // Perform one qr step.\n                case 3:\n                    // Calculate the shift.\n                    $scale = max(max(max(max(abs($this->s[$p-1]), abs($this->s[$p-2])), abs($e[$p-2])), abs($this->s[$k])), abs($e[$k]));\n                    $sp   = $this->s[$p-1] / $scale;\n                    $spm1 = $this->s[$p-2] / $scale;\n                    $epm1 = $e[$p-2] / $scale;\n                    $sk   = $this->s[$k] / $scale;\n                    $ek   = $e[$k] / $scale;\n                    $b    = (($spm1 + $sp) * ($spm1 - $sp) + $epm1 * $epm1) / 2.0;\n                    $c    = ($sp * $epm1) * ($sp * $epm1);\n                    $shift = 0.0;\n                    if (($b != 0.0) || ($c != 0.0)) {\n                        $shift = sqrt($b * $b + $c);\n                        if ($b < 0.0) {\n                            $shift = -$shift;\n                        }\n                        $shift = $c / ($b + $shift);\n                    }\n                    $f = ($sk + $sp) * ($sk - $sp) + $shift;\n                    $g = $sk * $ek;\n                    // Chase zeros.\n                    for ($j = $k; $j < $p-1; ++$j) {\n                        $t  = hypo($f, $g);\n                        $cs = $f/$t;\n                        $sn = $g/$t;\n                        if ($j != $k) {\n                            $e[$j-1] = $t;\n                        }\n                        $f = $cs * $this->s[$j] + $sn * $e[$j];\n                        $e[$j] = $cs * $e[$j] - $sn * $this->s[$j];\n                        $g = $sn * $this->s[$j+1];\n                        $this->s[$j+1] = $cs * $this->s[$j+1];\n                        if ($wantv) {\n                            for ($i = 0; $i < $this->n; ++$i) {\n                                $t = $cs * $this->V[$i][$j] + $sn * $this->V[$i][$j+1];\n                                $this->V[$i][$j+1] = -$sn * $this->V[$i][$j] + $cs * $this->V[$i][$j+1];\n                                $this->V[$i][$j] = $t;\n                            }\n                        }\n                        $t = hypo($f, $g);\n                        $cs = $f/$t;\n                        $sn = $g/$t;\n                        $this->s[$j] = $t;\n                        $f = $cs * $e[$j] + $sn * $this->s[$j+1];\n                        $this->s[$j+1] = -$sn * $e[$j] + $cs * $this->s[$j+1];\n                        $g = $sn * $e[$j+1];\n                        $e[$j+1] = $cs * $e[$j+1];\n                        if ($wantu && ($j < $this->m - 1)) {\n                            for ($i = 0; $i < $this->m; ++$i) {\n                                $t = $cs * $this->U[$i][$j] + $sn * $this->U[$i][$j+1];\n                                $this->U[$i][$j+1] = -$sn * $this->U[$i][$j] + $cs * $this->U[$i][$j+1];\n                                $this->U[$i][$j] = $t;\n                            }\n                        }\n                    }\n                    $e[$p-2] = $f;\n                    $iter = $iter + 1;\n                    break;\n                // Convergence.\n                case 4:\n                    // Make the singular values positive.\n                    if ($this->s[$k] <= 0.0) {\n                        $this->s[$k] = ($this->s[$k] < 0.0 ? -$this->s[$k] : 0.0);\n                        if ($wantv) {\n                            for ($i = 0; $i <= $pp; ++$i) {\n                                $this->V[$i][$k] = -$this->V[$i][$k];\n                            }\n                        }\n                    }\n                    // Order the singular values.\n                    while ($k < $pp) {\n                        if ($this->s[$k] >= $this->s[$k+1]) {\n                            break;\n                        }\n                        $t = $this->s[$k];\n                        $this->s[$k] = $this->s[$k+1];\n                        $this->s[$k+1] = $t;\n                        if ($wantv and ($k < $this->n - 1)) {\n                            for ($i = 0; $i < $this->n; ++$i) {\n                                $t = $this->V[$i][$k+1];\n                                $this->V[$i][$k+1] = $this->V[$i][$k];\n                                $this->V[$i][$k] = $t;\n                            }\n                        }\n                        if ($wantu and ($k < $this->m-1)) {\n                            for ($i = 0; $i < $this->m; ++$i) {\n                                $t = $this->U[$i][$k+1];\n                                $this->U[$i][$k+1] = $this->U[$i][$k];\n                                $this->U[$i][$k] = $t;\n                            }\n                        }\n                        ++$k;\n                    }\n                    $iter = 0;\n                    --$p;\n                    break;\n            } // end switch\n        } // end while\n\n    } // end constructor\n\n\n    /**\n     *    Return the left singular vectors\n     *\n     *    @access public\n     *    @return U\n     */\n    public function getU()\n    {\n        return new Matrix($this->U, $this->m, min($this->m + 1, $this->n));\n    }\n\n\n    /**\n     *    Return the right singular vectors\n     *\n     *    @access public\n     *    @return V\n     */\n    public function getV()\n    {\n        return new Matrix($this->V);\n    }\n\n\n    /**\n     *    Return the one-dimensional array of singular values\n     *\n     *    @access public\n     *    @return diagonal of S.\n     */\n    public function getSingularValues()\n    {\n        return $this->s;\n    }\n\n\n    /**\n     *    Return the diagonal matrix of singular values\n     *\n     *    @access public\n     *    @return S\n     */\n    public function getS()\n    {\n        for ($i = 0; $i < $this->n; ++$i) {\n            for ($j = 0; $j < $this->n; ++$j) {\n                $S[$i][$j] = 0.0;\n            }\n            $S[$i][$i] = $this->s[$i];\n        }\n        return new Matrix($S);\n    }\n\n\n    /**\n     *    Two norm\n     *\n     *    @access public\n     *    @return max(S)\n     */\n    public function norm2()\n    {\n        return $this->s[0];\n    }\n\n\n    /**\n     *    Two norm condition number\n     *\n     *    @access public\n     *    @return max(S)/min(S)\n     */\n    public function cond()\n    {\n        return $this->s[0] / $this->s[min($this->m, $this->n) - 1];\n    }\n\n\n    /**\n     *    Effective numerical matrix rank\n     *\n     *    @access public\n     *    @return Number of nonnegligible singular values.\n     */\n    public function rank()\n    {\n        $eps = pow(2.0, -52.0);\n        $tol = max($this->m, $this->n) * $this->s[0] * $eps;\n        $r = 0;\n        for ($i = 0; $i < count($this->s); ++$i) {\n            if ($this->s[$i] > $tol) {\n                ++$r;\n            }\n        }\n        return $r;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/utils/Error.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    Error handling\n *    @author Michael Bommarito\n *    @version 01292005\n */\n\n//Language constant\ndefine('JAMALANG', 'EN');\n\n\n//All errors may be defined by the following format:\n//define('ExceptionName', N);\n//$error['lang'][ExceptionName] = 'Error message';\n$error = array();\n\n/*\nI've used Babelfish and a little poor knowledge of Romance/Germanic languages for the translations here.\nFeel free to correct anything that looks amiss to you.\n*/\n\ndefine('POLYMORPHIC_ARGUMENT_EXCEPTION', -1);\n$error['EN'][POLYMORPHIC_ARGUMENT_EXCEPTION] = \"Invalid argument pattern for polymorphic function.\";\n$error['FR'][POLYMORPHIC_ARGUMENT_EXCEPTION] = \"Modèle inadmissible d'argument pour la fonction polymorphe.\".\n$error['DE'][POLYMORPHIC_ARGUMENT_EXCEPTION] = \"Unzulässiges Argumentmuster für polymorphe Funktion.\";\n\ndefine('ARGUMENT_TYPE_EXCEPTION', -2);\n$error['EN'][ARGUMENT_TYPE_EXCEPTION] = \"Invalid argument type.\";\n$error['FR'][ARGUMENT_TYPE_EXCEPTION] = \"Type inadmissible d'argument.\";\n$error['DE'][ARGUMENT_TYPE_EXCEPTION] = \"Unzulässige Argumentart.\";\n\ndefine('ARGUMENT_BOUNDS_EXCEPTION', -3);\n$error['EN'][ARGUMENT_BOUNDS_EXCEPTION] = \"Invalid argument range.\";\n$error['FR'][ARGUMENT_BOUNDS_EXCEPTION] = \"Gamme inadmissible d'argument.\";\n$error['DE'][ARGUMENT_BOUNDS_EXCEPTION] = \"Unzulässige Argumentstrecke.\";\n\ndefine('MATRIX_DIMENSION_EXCEPTION', -4);\n$error['EN'][MATRIX_DIMENSION_EXCEPTION] = \"Matrix dimensions are not equal.\";\n$error['FR'][MATRIX_DIMENSION_EXCEPTION] = \"Les dimensions de Matrix ne sont pas égales.\";\n$error['DE'][MATRIX_DIMENSION_EXCEPTION] = \"Matrixmaße sind nicht gleich.\";\n\ndefine('PRECISION_LOSS_EXCEPTION', -5);\n$error['EN'][PRECISION_LOSS_EXCEPTION] = \"Significant precision loss detected.\";\n$error['FR'][PRECISION_LOSS_EXCEPTION] = \"Perte significative de précision détectée.\";\n$error['DE'][PRECISION_LOSS_EXCEPTION] = \"Bedeutender Präzision Verlust ermittelte.\";\n\ndefine('MATRIX_SPD_EXCEPTION', -6);\n$error['EN'][MATRIX_SPD_EXCEPTION] = \"Can only perform operation on symmetric positive definite matrix.\";\n$error['FR'][MATRIX_SPD_EXCEPTION] = \"Perte significative de précision détectée.\";\n$error['DE'][MATRIX_SPD_EXCEPTION] = \"Bedeutender Präzision Verlust ermittelte.\";\n\ndefine('MATRIX_SINGULAR_EXCEPTION', -7);\n$error['EN'][MATRIX_SINGULAR_EXCEPTION] = \"Can only perform operation on singular matrix.\";\n\ndefine('MATRIX_RANK_EXCEPTION', -8);\n$error['EN'][MATRIX_RANK_EXCEPTION] = \"Can only perform operation on full-rank matrix.\";\n\ndefine('ARRAY_LENGTH_EXCEPTION', -9);\n$error['EN'][ARRAY_LENGTH_EXCEPTION] = \"Array length must be a multiple of m.\";\n\ndefine('ROW_LENGTH_EXCEPTION', -10);\n$error['EN'][ROW_LENGTH_EXCEPTION] = \"All rows must have the same length.\";\n\n/**\n *    Custom error handler\n *    @param int $num Error number\n */\nfunction JAMAError($errorNumber = null)\n{\n    global $error;\n\n    if (isset($errorNumber)) {\n        if (isset($error[JAMALANG][$errorNumber])) {\n            return $error[JAMALANG][$errorNumber];\n        } else {\n            return $error['EN'][$errorNumber];\n        }\n    } else {\n        return (\"Invalid argument to JAMAError()\");\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/JAMA/utils/Maths.php",
    "content": "<?php\n/**\n *    @package JAMA\n *\n *    Pythagorean Theorem:\n *\n *    a = 3\n *    b = 4\n *    r = sqrt(square(a) + square(b))\n *    r = 5\n *\n *    r = sqrt(a^2 + b^2) without under/overflow.\n */\nfunction hypo($a, $b)\n{\n    if (abs($a) > abs($b)) {\n        $r = $b / $a;\n        $r = abs($a) * sqrt(1 + $r * $r);\n    } elseif ($b != 0) {\n        $r = $a / $b;\n        $r = abs($b) * sqrt(1 + $r * $r);\n    } else {\n        $r = 0.0;\n    }\n    return $r;\n}    //    function hypo()\n\n\n/**\n *    Mike Bommarito's version.\n *    Compute n-dimensional hyotheneuse.\n *\nfunction hypot() {\n    $s = 0;\n    foreach (func_get_args() as $d) {\n        if (is_numeric($d)) {\n            $s += pow($d, 2);\n        } else {\n            throw new PHPExcel_Calculation_Exception(JAMAError(ARGUMENT_TYPE_EXCEPTION));\n        }\n    }\n    return sqrt($s);\n}\n*/\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/OLE/ChainedBlockStream.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_OLE_ChainedBlockStream\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_OLE\n * @copyright  Copyright (c) 2006 - 2007 Christian Schmidt\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_OLE_ChainedBlockStream\n{\n    /**\n     * The OLE container of the file that is being read.\n     * @var OLE\n     */\n    public $ole;\n\n    /**\n     * Parameters specified by fopen().\n     * @var array\n     */\n    public $params;\n\n    /**\n     * The binary data of the file.\n     * @var  string\n     */\n    public $data;\n\n    /**\n     * The file pointer.\n     * @var  int  byte offset\n     */\n    public $pos;\n\n    /**\n     * Implements support for fopen().\n     * For creating streams using this wrapper, use OLE_PPS_File::getStream().\n     *\n     * @param    string    $path            resource name including scheme, e.g.\n     *                                    ole-chainedblockstream://oleInstanceId=1\n     * @param    string    $mode            only \"r\" is supported\n     * @param    int        $options        mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH\n     * @param    string  &$openedPath    absolute path of the opened stream (out parameter)\n     * @return    bool    true on success\n     */\n    public function stream_open($path, $mode, $options, &$openedPath)\n    {\n        if ($mode != 'r') {\n            if ($options & STREAM_REPORT_ERRORS) {\n                trigger_error('Only reading is supported', E_USER_WARNING);\n            }\n            return false;\n        }\n\n        // 25 is length of \"ole-chainedblockstream://\"\n        parse_str(substr($path, 25), $this->params);\n        if (!isset($this->params['oleInstanceId'], $this->params['blockId'], $GLOBALS['_OLE_INSTANCES'][$this->params['oleInstanceId']])) {\n            if ($options & STREAM_REPORT_ERRORS) {\n                trigger_error('OLE stream not found', E_USER_WARNING);\n            }\n            return false;\n        }\n        $this->ole = $GLOBALS['_OLE_INSTANCES'][$this->params['oleInstanceId']];\n\n        $blockId = $this->params['blockId'];\n        $this->data = '';\n        if (isset($this->params['size']) && $this->params['size'] < $this->ole->bigBlockThreshold && $blockId != $this->ole->root->_StartBlock) {\n            // Block id refers to small blocks\n            $rootPos = $this->ole->_getBlockOffset($this->ole->root->_StartBlock);\n            while ($blockId != -2) {\n                $pos = $rootPos + $blockId * $this->ole->bigBlockSize;\n                $blockId = $this->ole->sbat[$blockId];\n                fseek($this->ole->_file_handle, $pos);\n                $this->data .= fread($this->ole->_file_handle, $this->ole->bigBlockSize);\n            }\n        } else {\n            // Block id refers to big blocks\n            while ($blockId != -2) {\n                $pos = $this->ole->_getBlockOffset($blockId);\n                fseek($this->ole->_file_handle, $pos);\n                $this->data .= fread($this->ole->_file_handle, $this->ole->bigBlockSize);\n                $blockId = $this->ole->bbat[$blockId];\n            }\n        }\n        if (isset($this->params['size'])) {\n            $this->data = substr($this->data, 0, $this->params['size']);\n        }\n\n        if ($options & STREAM_USE_PATH) {\n            $openedPath = $path;\n        }\n\n        return true;\n    }\n\n    /**\n     * Implements support for fclose().\n     *\n     */\n    public function stream_close()\n    {\n        $this->ole = null;\n        unset($GLOBALS['_OLE_INSTANCES']);\n    }\n\n    /**\n     * Implements support for fread(), fgets() etc.\n     *\n     * @param   int        $count    maximum number of bytes to read\n     * @return  string\n     */\n    public function stream_read($count)\n    {\n        if ($this->stream_eof()) {\n            return false;\n        }\n        $s = substr($this->data, $this->pos, $count);\n        $this->pos += $count;\n        return $s;\n    }\n\n    /**\n     * Implements support for feof().\n     *\n     * @return  bool  TRUE if the file pointer is at EOF; otherwise FALSE\n     */\n    public function stream_eof()\n    {\n        return $this->pos >= strlen($this->data);\n    }\n\n    /**\n     * Returns the position of the file pointer, i.e. its offset into the file\n     * stream. Implements support for ftell().\n     *\n     * @return  int\n     */\n    public function stream_tell()\n    {\n        return $this->pos;\n    }\n\n    /**\n     * Implements support for fseek().\n     *\n     * @param    int        $offset    byte offset\n     * @param    int        $whence    SEEK_SET, SEEK_CUR or SEEK_END\n     * @return    bool\n     */\n    public function stream_seek($offset, $whence)\n    {\n        if ($whence == SEEK_SET && $offset >= 0) {\n            $this->pos = $offset;\n        } elseif ($whence == SEEK_CUR && -$offset <= $this->pos) {\n            $this->pos += $offset;\n        } elseif ($whence == SEEK_END && -$offset <= sizeof($this->data)) {\n            $this->pos = strlen($this->data) + $offset;\n        } else {\n            return false;\n        }\n        return true;\n    }\n\n    /**\n     * Implements support for fstat(). Currently the only supported field is\n     * \"size\".\n     * @return  array\n     */\n    public function stream_stat()\n    {\n        return array(\n            'size' => strlen($this->data),\n            );\n    }\n\n    // Methods used by stream_wrapper_register() that are not implemented:\n    // bool stream_flush ( void )\n    // int stream_write ( string data )\n    // bool rename ( string path_from, string path_to )\n    // bool mkdir ( string path, int mode, int options )\n    // bool rmdir ( string path, int options )\n    // bool dir_opendir ( string path, int options )\n    // array url_stat ( string path, int flags )\n    // string dir_readdir ( void )\n    // bool dir_rewinddir ( void )\n    // bool dir_closedir ( void )\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/OLE/PPS/File.php",
    "content": "<?php\n/* vim: set expandtab tabstop=4 shiftwidth=4: */\n// +----------------------------------------------------------------------+\n// | PHP Version 4                                                        |\n// +----------------------------------------------------------------------+\n// | Copyright (c) 1997-2002 The PHP Group                                |\n// +----------------------------------------------------------------------+\n// | This source file is subject to version 2.02 of the PHP license,      |\n// | that is bundled with this package in the file LICENSE, and is        |\n// | available at through the world-wide-web at                           |\n// | http://www.php.net/license/2_02.txt.                                 |\n// | If you did not receive a copy of the PHP license and are unable to   |\n// | obtain it through the world-wide-web, please send a note to          |\n// | license@php.net so we can mail you a copy immediately.               |\n// +----------------------------------------------------------------------+\n// | Author: Xavier Noguer <xnoguer@php.net>                              |\n// | Based on OLE::Storage_Lite by Kawai, Takanori                        |\n// +----------------------------------------------------------------------+\n//\n// $Id: File.php,v 1.11 2007/02/13 21:00:42 schmidt Exp $\n\n\n/**\n* Class for creating File PPS's for OLE containers\n*\n* @author   Xavier Noguer <xnoguer@php.net>\n* @category PHPExcel\n* @package  PHPExcel_Shared_OLE\n*/\nclass PHPExcel_Shared_OLE_PPS_File extends PHPExcel_Shared_OLE_PPS\n{\n    /**\n    * The constructor\n    *\n    * @access public\n    * @param string $name The name of the file (in Unicode)\n    * @see OLE::Asc2Ucs()\n    */\n    public function __construct($name)\n    {\n        parent::__construct(null, $name, PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE, null, null, null, null, null, '', array());\n    }\n\n    /**\n    * Initialization method. Has to be called right after OLE_PPS_File().\n    *\n    * @access public\n    * @return mixed true on success\n    */\n    public function init()\n    {\n        return true;\n    }\n\n    /**\n    * Append data to PPS\n    *\n    * @access public\n    * @param string $data The data to append\n    */\n    public function append($data)\n    {\n        $this->_data .= $data;\n    }\n\n    /**\n     * Returns a stream for reading this file using fread() etc.\n     * @return  resource  a read-only stream\n     */\n    public function getStream()\n    {\n        $this->ole->getStream($this);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/OLE/PPS/Root.php",
    "content": "<?php\n/* vim: set expandtab tabstop=4 shiftwidth=4: */\n// +----------------------------------------------------------------------+\n// | PHP Version 4                                                        |\n// +----------------------------------------------------------------------+\n// | Copyright (c) 1997-2002 The PHP Group                                |\n// +----------------------------------------------------------------------+\n// | This source file is subject to version 2.02 of the PHP license,      |\n// | that is bundled with this package in the file LICENSE, and is        |\n// | available at through the world-wide-web at                           |\n// | http://www.php.net/license/2_02.txt.                                 |\n// | If you did not receive a copy of the PHP license and are unable to   |\n// | obtain it through the world-wide-web, please send a note to          |\n// | license@php.net so we can mail you a copy immediately.               |\n// +----------------------------------------------------------------------+\n// | Author: Xavier Noguer <xnoguer@php.net>                              |\n// | Based on OLE::Storage_Lite by Kawai, Takanori                        |\n// +----------------------------------------------------------------------+\n//\n// $Id: Root.php,v 1.9 2005/04/23 21:53:49 dufuz Exp $\n\n\n/**\n* Class for creating Root PPS's for OLE containers\n*\n* @author   Xavier Noguer <xnoguer@php.net>\n* @category PHPExcel\n* @package  PHPExcel_Shared_OLE\n*/\nclass PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS\n{\n\n    /**\n     * Directory for temporary files\n     * @var string\n     */\n    protected $tempDirectory = null;\n\n    /**\n     * @param integer $time_1st A timestamp\n     * @param integer $time_2nd A timestamp\n     */\n    public function __construct($time_1st, $time_2nd, $raChild)\n    {\n        $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir();\n\n        parent::__construct(null, PHPExcel_Shared_OLE::Asc2Ucs('Root Entry'), PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT, null, null, null, $time_1st, $time_2nd, null, $raChild);\n    }\n\n    /**\n    * Method for saving the whole OLE container (including files).\n    * In fact, if called with an empty argument (or '-'), it saves to a\n    * temporary file and then outputs it's contents to stdout.\n    * If a resource pointer to a stream created by fopen() is passed\n    * it will be used, but you have to close such stream by yourself.\n    *\n    * @param string|resource $filename The name of the file or stream where to save the OLE container.\n    * @access public\n    * @return mixed true on success\n    */\n    public function save($filename)\n    {\n        // Initial Setting for saving\n        $this->_BIG_BLOCK_SIZE  = pow(\n            2,\n            (isset($this->_BIG_BLOCK_SIZE))? self::adjust2($this->_BIG_BLOCK_SIZE) : 9\n        );\n        $this->_SMALL_BLOCK_SIZE= pow(\n            2,\n            (isset($this->_SMALL_BLOCK_SIZE))?  self::adjust2($this->_SMALL_BLOCK_SIZE) : 6\n        );\n\n        if (is_resource($filename)) {\n            $this->_FILEH_ = $filename;\n        } elseif ($filename == '-' || $filename == '') {\n            if ($this->tempDirectory === null) {\n                $this->tempDirectory = PHPExcel_Shared_File::sys_get_temp_dir();\n            }\n            $this->_tmp_filename = tempnam($this->tempDirectory, \"OLE_PPS_Root\");\n            $this->_FILEH_ = fopen($this->_tmp_filename, \"w+b\");\n            if ($this->_FILEH_ == false) {\n                throw new PHPExcel_Writer_Exception(\"Can't create temporary file.\");\n            }\n        } else {\n            $this->_FILEH_ = fopen($filename, \"wb\");\n        }\n        if ($this->_FILEH_ == false) {\n            throw new PHPExcel_Writer_Exception(\"Can't open $filename. It may be in use or protected.\");\n        }\n        // Make an array of PPS's (for Save)\n        $aList = array();\n        PHPExcel_Shared_OLE_PPS::_savePpsSetPnt($aList, array($this));\n        // calculate values for header\n        list($iSBDcnt, $iBBcnt, $iPPScnt) = $this->_calcSize($aList); //, $rhInfo);\n        // Save Header\n        $this->_saveHeader($iSBDcnt, $iBBcnt, $iPPScnt);\n\n        // Make Small Data string (write SBD)\n        $this->_data = $this->_makeSmallData($aList);\n\n        // Write BB\n        $this->_saveBigData($iSBDcnt, $aList);\n        // Write PPS\n        $this->_savePps($aList);\n        // Write Big Block Depot and BDList and Adding Header informations\n        $this->_saveBbd($iSBDcnt, $iBBcnt, $iPPScnt);\n\n        if (!is_resource($filename)) {\n            fclose($this->_FILEH_);\n        }\n\n        return true;\n    }\n\n    /**\n    * Calculate some numbers\n    *\n    * @access public\n    * @param array $raList Reference to an array of PPS's\n    * @return array The array of numbers\n    */\n    public function _calcSize(&$raList)\n    {\n        // Calculate Basic Setting\n        list($iSBDcnt, $iBBcnt, $iPPScnt) = array(0,0,0);\n        $iSmallLen = 0;\n        $iSBcnt = 0;\n        $iCount = count($raList);\n        for ($i = 0; $i < $iCount; ++$i) {\n            if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) {\n                $raList[$i]->Size = $raList[$i]->_DataLen();\n                if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) {\n                    $iSBcnt += floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE)\n                                  + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0);\n                } else {\n                    $iBBcnt += (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) +\n                        (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0));\n                }\n            }\n        }\n        $iSmallLen = $iSBcnt * $this->_SMALL_BLOCK_SIZE;\n        $iSlCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE);\n        $iSBDcnt = floor($iSBcnt / $iSlCnt) + (($iSBcnt % $iSlCnt)? 1:0);\n        $iBBcnt +=  (floor($iSmallLen / $this->_BIG_BLOCK_SIZE) +\n                      (( $iSmallLen % $this->_BIG_BLOCK_SIZE)? 1: 0));\n        $iCnt = count($raList);\n        $iBdCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE;\n        $iPPScnt = (floor($iCnt/$iBdCnt) + (($iCnt % $iBdCnt)? 1: 0));\n\n        return array($iSBDcnt, $iBBcnt, $iPPScnt);\n    }\n\n    /**\n    * Helper function for caculating a magic value for block sizes\n    *\n    * @access public\n    * @param integer $i2 The argument\n    * @see save()\n    * @return integer\n    */\n    private static function adjust2($i2)\n    {\n        $iWk = log($i2)/log(2);\n        return ($iWk > floor($iWk))? floor($iWk)+1:$iWk;\n    }\n\n    /**\n    * Save OLE header\n    *\n    * @access public\n    * @param integer $iSBDcnt\n    * @param integer $iBBcnt\n    * @param integer $iPPScnt\n    */\n    public function _saveHeader($iSBDcnt, $iBBcnt, $iPPScnt)\n    {\n        $FILE = $this->_FILEH_;\n\n        // Calculate Basic Setting\n        $iBlCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;\n        $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;\n\n        $iBdExL = 0;\n        $iAll = $iBBcnt + $iPPScnt + $iSBDcnt;\n        $iAllW = $iAll;\n        $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0);\n        $iBdCnt = floor(($iAll + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0);\n\n        // Calculate BD count\n        if ($iBdCnt > $i1stBdL) {\n            while (1) {\n                ++$iBdExL;\n                ++$iAllW;\n                $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0);\n                $iBdCnt = floor(($iAllW + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0);\n                if ($iBdCnt <= ($iBdExL*$iBlCnt+ $i1stBdL)) {\n                    break;\n                }\n            }\n        }\n\n        // Save Header\n        fwrite(\n            $FILE,\n            \"\\xD0\\xCF\\x11\\xE0\\xA1\\xB1\\x1A\\xE1\"\n            . \"\\x00\\x00\\x00\\x00\"\n            . \"\\x00\\x00\\x00\\x00\"\n            . \"\\x00\\x00\\x00\\x00\"\n            . \"\\x00\\x00\\x00\\x00\"\n            . pack(\"v\", 0x3b)\n            . pack(\"v\", 0x03)\n            . pack(\"v\", -2)\n            . pack(\"v\", 9)\n            . pack(\"v\", 6)\n            . pack(\"v\", 0)\n            . \"\\x00\\x00\\x00\\x00\"\n            . \"\\x00\\x00\\x00\\x00\"\n            . pack(\"V\", $iBdCnt)\n            . pack(\"V\", $iBBcnt+$iSBDcnt) //ROOT START\n            . pack(\"V\", 0)\n            . pack(\"V\", 0x1000)\n            . pack(\"V\", $iSBDcnt ? 0 : -2) //Small Block Depot\n            . pack(\"V\", $iSBDcnt)\n        );\n        // Extra BDList Start, Count\n        if ($iBdCnt < $i1stBdL) {\n            fwrite(\n                $FILE,\n                pack(\"V\", -2) // Extra BDList Start\n                . pack(\"V\", 0)// Extra BDList Count\n            );\n        } else {\n            fwrite($FILE, pack(\"V\", $iAll+$iBdCnt) . pack(\"V\", $iBdExL));\n        }\n\n        // BDList\n        for ($i = 0; $i < $i1stBdL && $i < $iBdCnt; ++$i) {\n            fwrite($FILE, pack(\"V\", $iAll+$i));\n        }\n        if ($i < $i1stBdL) {\n            $jB = $i1stBdL - $i;\n            for ($j = 0; $j < $jB; ++$j) {\n                fwrite($FILE, (pack(\"V\", -1)));\n            }\n        }\n    }\n\n    /**\n    * Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)\n    *\n    * @access public\n    * @param integer $iStBlk\n    * @param array &$raList Reference to array of PPS's\n    */\n    public function _saveBigData($iStBlk, &$raList)\n    {\n        $FILE = $this->_FILEH_;\n\n        // cycle through PPS's\n        $iCount = count($raList);\n        for ($i = 0; $i < $iCount; ++$i) {\n            if ($raList[$i]->Type != PHPExcel_Shared_OLE::OLE_PPS_TYPE_DIR) {\n                $raList[$i]->Size = $raList[$i]->_DataLen();\n                if (($raList[$i]->Size >= PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) || (($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT) && isset($raList[$i]->_data))) {\n                    // Write Data\n                    //if (isset($raList[$i]->_PPS_FILE)) {\n                    //    $iLen = 0;\n                    //    fseek($raList[$i]->_PPS_FILE, 0); // To The Top\n                    //    while ($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) {\n                    //        $iLen += strlen($sBuff);\n                    //        fwrite($FILE, $sBuff);\n                    //    }\n                    //} else {\n                        fwrite($FILE, $raList[$i]->_data);\n                    //}\n\n                    if ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE) {\n                        fwrite($FILE, str_repeat(\"\\x00\", $this->_BIG_BLOCK_SIZE - ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)));\n                    }\n                    // Set For PPS\n                    $raList[$i]->_StartBlock = $iStBlk;\n                    $iStBlk +=\n                            (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) +\n                                (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0));\n                }\n                // Close file for each PPS, and unlink it\n                //if (isset($raList[$i]->_PPS_FILE)) {\n                //    fclose($raList[$i]->_PPS_FILE);\n                //    $raList[$i]->_PPS_FILE = null;\n                //    unlink($raList[$i]->_tmp_filename);\n                //}\n            }\n        }\n    }\n\n    /**\n    * get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL)\n    *\n    * @access public\n    * @param array &$raList Reference to array of PPS's\n    */\n    public function _makeSmallData(&$raList)\n    {\n        $sRes = '';\n        $FILE = $this->_FILEH_;\n        $iSmBlk = 0;\n\n        $iCount = count($raList);\n        for ($i = 0; $i < $iCount; ++$i) {\n            // Make SBD, small data string\n            if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) {\n                if ($raList[$i]->Size <= 0) {\n                    continue;\n                }\n                if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) {\n                    $iSmbCnt = floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE)\n                                  + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0);\n                    // Add to SBD\n                    $jB = $iSmbCnt - 1;\n                    for ($j = 0; $j < $jB; ++$j) {\n                        fwrite($FILE, pack(\"V\", $j+$iSmBlk+1));\n                    }\n                    fwrite($FILE, pack(\"V\", -2));\n\n                    //// Add to Data String(this will be written for RootEntry)\n                    //if ($raList[$i]->_PPS_FILE) {\n                    //    fseek($raList[$i]->_PPS_FILE, 0); // To The Top\n                    //    while ($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) {\n                    //        $sRes .= $sBuff;\n                    //    }\n                    //} else {\n                        $sRes .= $raList[$i]->_data;\n                    //}\n                    if ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE) {\n                        $sRes .= str_repeat(\"\\x00\", $this->_SMALL_BLOCK_SIZE - ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE));\n                    }\n                    // Set for PPS\n                    $raList[$i]->_StartBlock = $iSmBlk;\n                    $iSmBlk += $iSmbCnt;\n                }\n            }\n        }\n        $iSbCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE);\n        if ($iSmBlk % $iSbCnt) {\n            $iB = $iSbCnt - ($iSmBlk % $iSbCnt);\n            for ($i = 0; $i < $iB; ++$i) {\n                fwrite($FILE, pack(\"V\", -1));\n            }\n        }\n        return $sRes;\n    }\n\n    /**\n    * Saves all the PPS's WKs\n    *\n    * @access public\n    * @param array $raList Reference to an array with all PPS's\n    */\n    public function _savePps(&$raList)\n    {\n        // Save each PPS WK\n        $iC = count($raList);\n        for ($i = 0; $i < $iC; ++$i) {\n            fwrite($this->_FILEH_, $raList[$i]->_getPpsWk());\n        }\n        // Adjust for Block\n        $iCnt = count($raList);\n        $iBCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE;\n        if ($iCnt % $iBCnt) {\n            fwrite($this->_FILEH_, str_repeat(\"\\x00\", ($iBCnt - ($iCnt % $iBCnt)) * PHPExcel_Shared_OLE::OLE_PPS_SIZE));\n        }\n    }\n\n    /**\n    * Saving Big Block Depot\n    *\n    * @access public\n    * @param integer $iSbdSize\n    * @param integer $iBsize\n    * @param integer $iPpsCnt\n    */\n    public function _saveBbd($iSbdSize, $iBsize, $iPpsCnt)\n    {\n        $FILE = $this->_FILEH_;\n        // Calculate Basic Setting\n        $iBbCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;\n        $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE;\n\n        $iBdExL = 0;\n        $iAll = $iBsize + $iPpsCnt + $iSbdSize;\n        $iAllW = $iAll;\n        $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0);\n        $iBdCnt = floor(($iAll + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0);\n        // Calculate BD count\n        if ($iBdCnt >$i1stBdL) {\n            while (1) {\n                ++$iBdExL;\n                ++$iAllW;\n                $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0);\n                $iBdCnt = floor(($iAllW + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0);\n                if ($iBdCnt <= ($iBdExL*$iBbCnt+ $i1stBdL)) {\n                    break;\n                }\n            }\n        }\n\n        // Making BD\n        // Set for SBD\n        if ($iSbdSize > 0) {\n            for ($i = 0; $i < ($iSbdSize - 1); ++$i) {\n                fwrite($FILE, pack(\"V\", $i+1));\n            }\n            fwrite($FILE, pack(\"V\", -2));\n        }\n        // Set for B\n        for ($i = 0; $i < ($iBsize - 1); ++$i) {\n            fwrite($FILE, pack(\"V\", $i+$iSbdSize+1));\n        }\n        fwrite($FILE, pack(\"V\", -2));\n\n        // Set for PPS\n        for ($i = 0; $i < ($iPpsCnt - 1); ++$i) {\n            fwrite($FILE, pack(\"V\", $i+$iSbdSize+$iBsize+1));\n        }\n        fwrite($FILE, pack(\"V\", -2));\n        // Set for BBD itself ( 0xFFFFFFFD : BBD)\n        for ($i = 0; $i < $iBdCnt; ++$i) {\n            fwrite($FILE, pack(\"V\", 0xFFFFFFFD));\n        }\n        // Set for ExtraBDList\n        for ($i = 0; $i < $iBdExL; ++$i) {\n            fwrite($FILE, pack(\"V\", 0xFFFFFFFC));\n        }\n        // Adjust for Block\n        if (($iAllW + $iBdCnt) % $iBbCnt) {\n            $iBlock = ($iBbCnt - (($iAllW + $iBdCnt) % $iBbCnt));\n            for ($i = 0; $i < $iBlock; ++$i) {\n                fwrite($FILE, pack(\"V\", -1));\n            }\n        }\n        // Extra BDList\n        if ($iBdCnt > $i1stBdL) {\n            $iN=0;\n            $iNb=0;\n            for ($i = $i1stBdL; $i < $iBdCnt; $i++, ++$iN) {\n                if ($iN >= ($iBbCnt - 1)) {\n                    $iN = 0;\n                    ++$iNb;\n                    fwrite($FILE, pack(\"V\", $iAll+$iBdCnt+$iNb));\n                }\n                fwrite($FILE, pack(\"V\", $iBsize+$iSbdSize+$iPpsCnt+$i));\n            }\n            if (($iBdCnt-$i1stBdL) % ($iBbCnt-1)) {\n                $iB = ($iBbCnt - 1) - (($iBdCnt - $i1stBdL) % ($iBbCnt - 1));\n                for ($i = 0; $i < $iB; ++$i) {\n                    fwrite($FILE, pack(\"V\", -1));\n                }\n            }\n            fwrite($FILE, pack(\"V\", -2));\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/OLE/PPS.php",
    "content": "<?php\n/* vim: set expandtab tabstop=4 shiftwidth=4: */\n// +----------------------------------------------------------------------+\n// | PHP Version 4                                                        |\n// +----------------------------------------------------------------------+\n// | Copyright (c) 1997-2002 The PHP Group                                |\n// +----------------------------------------------------------------------+\n// | This source file is subject to version 2.02 of the PHP license,      |\n// | that is bundled with this package in the file LICENSE, and is        |\n// | available at through the world-wide-web at                           |\n// | http://www.php.net/license/2_02.txt.                                 |\n// | If you did not receive a copy of the PHP license and are unable to   |\n// | obtain it through the world-wide-web, please send a note to          |\n// | license@php.net so we can mail you a copy immediately.               |\n// +----------------------------------------------------------------------+\n// | Author: Xavier Noguer <xnoguer@php.net>                              |\n// | Based on OLE::Storage_Lite by Kawai, Takanori                        |\n// +----------------------------------------------------------------------+\n//\n// $Id: PPS.php,v 1.7 2007/02/13 21:00:42 schmidt Exp $\n\n\n/**\n* Class for creating PPS's for OLE containers\n*\n* @author   Xavier Noguer <xnoguer@php.net>\n* @category PHPExcel\n* @package  PHPExcel_Shared_OLE\n*/\nclass PHPExcel_Shared_OLE_PPS\n{\n    /**\n    * The PPS index\n    * @var integer\n    */\n    public $No;\n\n    /**\n    * The PPS name (in Unicode)\n    * @var string\n    */\n    public $Name;\n\n    /**\n    * The PPS type. Dir, Root or File\n    * @var integer\n    */\n    public $Type;\n\n    /**\n    * The index of the previous PPS\n    * @var integer\n    */\n    public $PrevPps;\n\n    /**\n    * The index of the next PPS\n    * @var integer\n    */\n    public $NextPps;\n\n    /**\n    * The index of it's first child if this is a Dir or Root PPS\n    * @var integer\n    */\n    public $DirPps;\n\n    /**\n    * A timestamp\n    * @var integer\n    */\n    public $Time1st;\n\n    /**\n    * A timestamp\n    * @var integer\n    */\n    public $Time2nd;\n\n    /**\n    * Starting block (small or big) for this PPS's data  inside the container\n    * @var integer\n    */\n    public $_StartBlock;\n\n    /**\n    * The size of the PPS's data (in bytes)\n    * @var integer\n    */\n    public $Size;\n\n    /**\n    * The PPS's data (only used if it's not using a temporary file)\n    * @var string\n    */\n    public $_data;\n\n    /**\n    * Array of child PPS's (only used by Root and Dir PPS's)\n    * @var array\n    */\n    public $children = array();\n\n    /**\n    * Pointer to OLE container\n    * @var OLE\n    */\n    public $ole;\n\n    /**\n    * The constructor\n    *\n    * @access public\n    * @param integer $No   The PPS index\n    * @param string  $name The PPS name\n    * @param integer $type The PPS type. Dir, Root or File\n    * @param integer $prev The index of the previous PPS\n    * @param integer $next The index of the next PPS\n    * @param integer $dir  The index of it's first child if this is a Dir or Root PPS\n    * @param integer $time_1st A timestamp\n    * @param integer $time_2nd A timestamp\n    * @param string  $data  The (usually binary) source data of the PPS\n    * @param array   $children Array containing children PPS for this PPS\n    */\n    public function __construct($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children)\n    {\n        $this->No      = $No;\n        $this->Name    = $name;\n        $this->Type    = $type;\n        $this->PrevPps = $prev;\n        $this->NextPps = $next;\n        $this->DirPps  = $dir;\n        $this->Time1st = $time_1st;\n        $this->Time2nd = $time_2nd;\n        $this->_data      = $data;\n        $this->children   = $children;\n        if ($data != '') {\n            $this->Size = strlen($data);\n        } else {\n            $this->Size = 0;\n        }\n    }\n\n    /**\n    * Returns the amount of data saved for this PPS\n    *\n    * @access public\n    * @return integer The amount of data (in bytes)\n    */\n    public function _DataLen()\n    {\n        if (!isset($this->_data)) {\n            return 0;\n        }\n        //if (isset($this->_PPS_FILE)) {\n        //    fseek($this->_PPS_FILE, 0);\n        //    $stats = fstat($this->_PPS_FILE);\n        //    return $stats[7];\n        //} else {\n            return strlen($this->_data);\n        //}\n    }\n\n    /**\n    * Returns a string with the PPS's WK (What is a WK?)\n    *\n    * @access public\n    * @return string The binary string\n    */\n    public function _getPpsWk()\n    {\n        $ret = str_pad($this->Name, 64, \"\\x00\");\n\n        $ret .= pack(\"v\", strlen($this->Name) + 2)  // 66\n              . pack(\"c\", $this->Type)              // 67\n              . pack(\"c\", 0x00) //UK                // 68\n              . pack(\"V\", $this->PrevPps) //Prev    // 72\n              . pack(\"V\", $this->NextPps) //Next    // 76\n              . pack(\"V\", $this->DirPps)  //Dir     // 80\n              . \"\\x00\\x09\\x02\\x00\"                  // 84\n              . \"\\x00\\x00\\x00\\x00\"                  // 88\n              . \"\\xc0\\x00\\x00\\x00\"                  // 92\n              . \"\\x00\\x00\\x00\\x46\"                  // 96 // Seems to be ok only for Root\n              . \"\\x00\\x00\\x00\\x00\"                  // 100\n              . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time1st)       // 108\n              . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time2nd)       // 116\n              . pack(\"V\", isset($this->_StartBlock)?\n                        $this->_StartBlock:0)        // 120\n              . pack(\"V\", $this->Size)               // 124\n              . pack(\"V\", 0);                        // 128\n        return $ret;\n    }\n\n    /**\n    * Updates index and pointers to previous, next and children PPS's for this\n    * PPS. I don't think it'll work with Dir PPS's.\n    *\n    * @access public\n    * @param array &$raList Reference to the array of PPS's for the whole OLE\n    *                          container\n    * @return integer          The index for this PPS\n    */\n    public static function _savePpsSetPnt(&$raList, $to_save, $depth = 0)\n    {\n        if (!is_array($to_save) || (empty($to_save))) {\n            return 0xFFFFFFFF;\n        } elseif (count($to_save) == 1) {\n            $cnt = count($raList);\n            // If the first entry, it's the root... Don't clone it!\n            $raList[$cnt] = ( $depth == 0 ) ? $to_save[0] : clone $to_save[0];\n            $raList[$cnt]->No = $cnt;\n            $raList[$cnt]->PrevPps = 0xFFFFFFFF;\n            $raList[$cnt]->NextPps = 0xFFFFFFFF;\n            $raList[$cnt]->DirPps  = self::_savePpsSetPnt($raList, @$raList[$cnt]->children, $depth++);\n        } else {\n            $iPos  = floor(count($to_save) / 2);\n            $aPrev = array_slice($to_save, 0, $iPos);\n            $aNext = array_slice($to_save, $iPos + 1);\n            $cnt   = count($raList);\n            // If the first entry, it's the root... Don't clone it!\n            $raList[$cnt] = ( $depth == 0 ) ? $to_save[$iPos] : clone $to_save[$iPos];\n            $raList[$cnt]->No = $cnt;\n            $raList[$cnt]->PrevPps = self::_savePpsSetPnt($raList, $aPrev, $depth++);\n            $raList[$cnt]->NextPps = self::_savePpsSetPnt($raList, $aNext, $depth++);\n            $raList[$cnt]->DirPps  = self::_savePpsSetPnt($raList, @$raList[$cnt]->children, $depth++);\n\n        }\n        return $cnt;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/OLE.php",
    "content": "<?php\n/* vim: set expandtab tabstop=4 shiftwidth=4: */\n// +----------------------------------------------------------------------+\n// | PHP Version 4                                                        |\n// +----------------------------------------------------------------------+\n// | Copyright (c) 1997-2002 The PHP Group                                |\n// +----------------------------------------------------------------------+\n// | This source file is subject to version 2.02 of the PHP license,      |\n// | that is bundled with this package in the file LICENSE, and is        |\n// | available at through the world-wide-web at                           |\n// | http://www.php.net/license/2_02.txt.                                 |\n// | If you did not receive a copy of the PHP license and are unable to   |\n// | obtain it through the world-wide-web, please send a note to          |\n// | license@php.net so we can mail you a copy immediately.               |\n// +----------------------------------------------------------------------+\n// | Author: Xavier Noguer <xnoguer@php.net>                              |\n// | Based on OLE::Storage_Lite by Kawai, Takanori                        |\n// +----------------------------------------------------------------------+\n//\n// $Id: OLE.php,v 1.13 2007/03/07 14:38:25 schmidt Exp $\n\n\n/**\n* Array for storing OLE instances that are accessed from\n* OLE_ChainedBlockStream::stream_open().\n* @var  array\n*/\n$GLOBALS['_OLE_INSTANCES'] = array();\n\n/**\n* OLE package base class.\n*\n* @author   Xavier Noguer <xnoguer@php.net>\n* @author   Christian Schmidt <schmidt@php.net>\n* @category   PHPExcel\n* @package    PHPExcel_Shared_OLE\n*/\nclass PHPExcel_Shared_OLE\n{\n    const OLE_PPS_TYPE_ROOT   =      5;\n    const OLE_PPS_TYPE_DIR    =      1;\n    const OLE_PPS_TYPE_FILE   =      2;\n    const OLE_DATA_SIZE_SMALL = 0x1000;\n    const OLE_LONG_INT_SIZE   =      4;\n    const OLE_PPS_SIZE        =   0x80;\n\n    /**\n     * The file handle for reading an OLE container\n     * @var resource\n    */\n    public $_file_handle;\n\n    /**\n    * Array of PPS's found on the OLE container\n    * @var array\n    */\n    public $_list = array();\n\n    /**\n     * Root directory of OLE container\n     * @var OLE_PPS_Root\n    */\n    public $root;\n\n    /**\n     * Big Block Allocation Table\n     * @var array  (blockId => nextBlockId)\n    */\n    public $bbat;\n\n    /**\n     * Short Block Allocation Table\n     * @var array  (blockId => nextBlockId)\n    */\n    public $sbat;\n\n    /**\n     * Size of big blocks. This is usually 512.\n     * @var  int  number of octets per block.\n    */\n    public $bigBlockSize;\n\n    /**\n     * Size of small blocks. This is usually 64.\n     * @var  int  number of octets per block\n    */\n    public $smallBlockSize;\n\n    /**\n     * Reads an OLE container from the contents of the file given.\n     *\n     * @acces public\n     * @param string $file\n     * @return mixed true on success, PEAR_Error on failure\n    */\n    public function read($file)\n    {\n        $fh = fopen($file, \"r\");\n        if (!$fh) {\n            throw new PHPExcel_Reader_Exception(\"Can't open file $file\");\n        }\n        $this->_file_handle = $fh;\n\n        $signature = fread($fh, 8);\n        if (\"\\xD0\\xCF\\x11\\xE0\\xA1\\xB1\\x1A\\xE1\" != $signature) {\n            throw new PHPExcel_Reader_Exception(\"File doesn't seem to be an OLE container.\");\n        }\n        fseek($fh, 28);\n        if (fread($fh, 2) != \"\\xFE\\xFF\") {\n            // This shouldn't be a problem in practice\n            throw new PHPExcel_Reader_Exception(\"Only Little-Endian encoding is supported.\");\n        }\n        // Size of blocks and short blocks in bytes\n        $this->bigBlockSize = pow(2, self::_readInt2($fh));\n        $this->smallBlockSize  = pow(2, self::_readInt2($fh));\n\n        // Skip UID, revision number and version number\n        fseek($fh, 44);\n        // Number of blocks in Big Block Allocation Table\n        $bbatBlockCount = self::_readInt4($fh);\n\n        // Root chain 1st block\n        $directoryFirstBlockId = self::_readInt4($fh);\n\n        // Skip unused bytes\n        fseek($fh, 56);\n        // Streams shorter than this are stored using small blocks\n        $this->bigBlockThreshold = self::_readInt4($fh);\n        // Block id of first sector in Short Block Allocation Table\n        $sbatFirstBlockId = self::_readInt4($fh);\n        // Number of blocks in Short Block Allocation Table\n        $sbbatBlockCount = self::_readInt4($fh);\n        // Block id of first sector in Master Block Allocation Table\n        $mbatFirstBlockId = self::_readInt4($fh);\n        // Number of blocks in Master Block Allocation Table\n        $mbbatBlockCount = self::_readInt4($fh);\n        $this->bbat = array();\n\n        // Remaining 4 * 109 bytes of current block is beginning of Master\n        // Block Allocation Table\n        $mbatBlocks = array();\n        for ($i = 0; $i < 109; ++$i) {\n            $mbatBlocks[] = self::_readInt4($fh);\n        }\n\n        // Read rest of Master Block Allocation Table (if any is left)\n        $pos = $this->_getBlockOffset($mbatFirstBlockId);\n        for ($i = 0; $i < $mbbatBlockCount; ++$i) {\n            fseek($fh, $pos);\n            for ($j = 0; $j < $this->bigBlockSize / 4 - 1; ++$j) {\n                $mbatBlocks[] = self::_readInt4($fh);\n            }\n            // Last block id in each block points to next block\n            $pos = $this->_getBlockOffset(self::_readInt4($fh));\n        }\n\n        // Read Big Block Allocation Table according to chain specified by\n        // $mbatBlocks\n        for ($i = 0; $i < $bbatBlockCount; ++$i) {\n            $pos = $this->_getBlockOffset($mbatBlocks[$i]);\n            fseek($fh, $pos);\n            for ($j = 0; $j < $this->bigBlockSize / 4; ++$j) {\n                $this->bbat[] = self::_readInt4($fh);\n            }\n        }\n\n        // Read short block allocation table (SBAT)\n        $this->sbat = array();\n        $shortBlockCount = $sbbatBlockCount * $this->bigBlockSize / 4;\n        $sbatFh = $this->getStream($sbatFirstBlockId);\n        for ($blockId = 0; $blockId < $shortBlockCount; ++$blockId) {\n            $this->sbat[$blockId] = self::_readInt4($sbatFh);\n        }\n        fclose($sbatFh);\n\n        $this->_readPpsWks($directoryFirstBlockId);\n\n        return true;\n    }\n\n    /**\n     * @param  int  block id\n     * @param  int  byte offset from beginning of file\n     * @access public\n     */\n    public function _getBlockOffset($blockId)\n    {\n        return 512 + $blockId * $this->bigBlockSize;\n    }\n\n    /**\n    * Returns a stream for use with fread() etc. External callers should\n    * use PHPExcel_Shared_OLE_PPS_File::getStream().\n    * @param   int|PPS   block id or PPS\n    * @return  resource  read-only stream\n    */\n    public function getStream($blockIdOrPps)\n    {\n        static $isRegistered = false;\n        if (!$isRegistered) {\n            stream_wrapper_register('ole-chainedblockstream', 'PHPExcel_Shared_OLE_ChainedBlockStream');\n            $isRegistered = true;\n        }\n\n        // Store current instance in global array, so that it can be accessed\n        // in OLE_ChainedBlockStream::stream_open().\n        // Object is removed from self::$instances in OLE_Stream::close().\n        $GLOBALS['_OLE_INSTANCES'][] = $this;\n        $instanceId = end(array_keys($GLOBALS['_OLE_INSTANCES']));\n\n        $path = 'ole-chainedblockstream://oleInstanceId=' . $instanceId;\n        if ($blockIdOrPps instanceof PHPExcel_Shared_OLE_PPS) {\n            $path .= '&blockId=' . $blockIdOrPps->_StartBlock;\n            $path .= '&size=' . $blockIdOrPps->Size;\n        } else {\n            $path .= '&blockId=' . $blockIdOrPps;\n        }\n        return fopen($path, 'r');\n    }\n\n    /**\n     * Reads a signed char.\n     * @param   resource  file handle\n     * @return  int\n     * @access public\n     */\n    private static function _readInt1($fh)\n    {\n        list(, $tmp) = unpack(\"c\", fread($fh, 1));\n        return $tmp;\n    }\n\n    /**\n     * Reads an unsigned short (2 octets).\n     * @param   resource  file handle\n     * @return  int\n     * @access public\n     */\n    private static function _readInt2($fh)\n    {\n        list(, $tmp) = unpack(\"v\", fread($fh, 2));\n        return $tmp;\n    }\n\n    /**\n     * Reads an unsigned long (4 octets).\n     * @param   resource  file handle\n     * @return  int\n     * @access public\n     */\n    private static function _readInt4($fh)\n    {\n        list(, $tmp) = unpack(\"V\", fread($fh, 4));\n        return $tmp;\n    }\n\n    /**\n    * Gets information about all PPS's on the OLE container from the PPS WK's\n    * creates an OLE_PPS object for each one.\n    *\n    * @access public\n    * @param  integer  the block id of the first block\n    * @return mixed true on success, PEAR_Error on failure\n    */\n    public function _readPpsWks($blockId)\n    {\n        $fh = $this->getStream($blockId);\n        for ($pos = 0;; $pos += 128) {\n            fseek($fh, $pos, SEEK_SET);\n            $nameUtf16 = fread($fh, 64);\n            $nameLength = self::_readInt2($fh);\n            $nameUtf16 = substr($nameUtf16, 0, $nameLength - 2);\n            // Simple conversion from UTF-16LE to ISO-8859-1\n            $name = str_replace(\"\\x00\", \"\", $nameUtf16);\n            $type = self::_readInt1($fh);\n            switch ($type) {\n                case self::OLE_PPS_TYPE_ROOT:\n                    $pps = new PHPExcel_Shared_OLE_PPS_Root(null, null, array());\n                    $this->root = $pps;\n                    break;\n                case self::OLE_PPS_TYPE_DIR:\n                    $pps = new PHPExcel_Shared_OLE_PPS(null, null, null, null, null, null, null, null, null, array());\n                    break;\n                case self::OLE_PPS_TYPE_FILE:\n                    $pps = new PHPExcel_Shared_OLE_PPS_File($name);\n                    break;\n                default:\n                    continue;\n            }\n            fseek($fh, 1, SEEK_CUR);\n            $pps->Type    = $type;\n            $pps->Name    = $name;\n            $pps->PrevPps = self::_readInt4($fh);\n            $pps->NextPps = self::_readInt4($fh);\n            $pps->DirPps  = self::_readInt4($fh);\n            fseek($fh, 20, SEEK_CUR);\n            $pps->Time1st = self::OLE2LocalDate(fread($fh, 8));\n            $pps->Time2nd = self::OLE2LocalDate(fread($fh, 8));\n            $pps->_StartBlock = self::_readInt4($fh);\n            $pps->Size = self::_readInt4($fh);\n            $pps->No = count($this->_list);\n            $this->_list[] = $pps;\n\n            // check if the PPS tree (starting from root) is complete\n            if (isset($this->root) && $this->_ppsTreeComplete($this->root->No)) {\n                break;\n            }\n        }\n        fclose($fh);\n\n        // Initialize $pps->children on directories\n        foreach ($this->_list as $pps) {\n            if ($pps->Type == self::OLE_PPS_TYPE_DIR || $pps->Type == self::OLE_PPS_TYPE_ROOT) {\n                $nos = array($pps->DirPps);\n                $pps->children = array();\n                while ($nos) {\n                    $no = array_pop($nos);\n                    if ($no != -1) {\n                        $childPps = $this->_list[$no];\n                        $nos[] = $childPps->PrevPps;\n                        $nos[] = $childPps->NextPps;\n                        $pps->children[] = $childPps;\n                    }\n                }\n            }\n        }\n\n        return true;\n    }\n\n    /**\n    * It checks whether the PPS tree is complete (all PPS's read)\n    * starting with the given PPS (not necessarily root)\n    *\n    * @access public\n    * @param integer $index The index of the PPS from which we are checking\n    * @return boolean Whether the PPS tree for the given PPS is complete\n    */\n    public function _ppsTreeComplete($index)\n    {\n        return isset($this->_list[$index]) &&\n               ($pps = $this->_list[$index]) &&\n               ($pps->PrevPps == -1 ||\n                $this->_ppsTreeComplete($pps->PrevPps)) &&\n               ($pps->NextPps == -1 ||\n                $this->_ppsTreeComplete($pps->NextPps)) &&\n               ($pps->DirPps == -1 ||\n                $this->_ppsTreeComplete($pps->DirPps));\n    }\n\n    /**\n    * Checks whether a PPS is a File PPS or not.\n    * If there is no PPS for the index given, it will return false.\n    *\n    * @access public\n    * @param integer $index The index for the PPS\n    * @return bool true if it's a File PPS, false otherwise\n    */\n    public function isFile($index)\n    {\n        if (isset($this->_list[$index])) {\n            return ($this->_list[$index]->Type == self::OLE_PPS_TYPE_FILE);\n        }\n        return false;\n    }\n\n    /**\n    * Checks whether a PPS is a Root PPS or not.\n    * If there is no PPS for the index given, it will return false.\n    *\n    * @access public\n    * @param integer $index The index for the PPS.\n    * @return bool true if it's a Root PPS, false otherwise\n    */\n    public function isRoot($index)\n    {\n        if (isset($this->_list[$index])) {\n            return ($this->_list[$index]->Type == self::OLE_PPS_TYPE_ROOT);\n        }\n        return false;\n    }\n\n    /**\n    * Gives the total number of PPS's found in the OLE container.\n    *\n    * @access public\n    * @return integer The total number of PPS's found in the OLE container\n    */\n    public function ppsTotal()\n    {\n        return count($this->_list);\n    }\n\n    /**\n    * Gets data from a PPS\n    * If there is no PPS for the index given, it will return an empty string.\n    *\n    * @access public\n    * @param integer $index    The index for the PPS\n    * @param integer $position The position from which to start reading\n    *                          (relative to the PPS)\n    * @param integer $length   The amount of bytes to read (at most)\n    * @return string The binary string containing the data requested\n    * @see OLE_PPS_File::getStream()\n    */\n    public function getData($index, $position, $length)\n    {\n        // if position is not valid return empty string\n        if (!isset($this->_list[$index]) || ($position >= $this->_list[$index]->Size) || ($position < 0)) {\n            return '';\n        }\n        $fh = $this->getStream($this->_list[$index]);\n        $data = stream_get_contents($fh, $length, $position);\n        fclose($fh);\n        return $data;\n    }\n\n    /**\n    * Gets the data length from a PPS\n    * If there is no PPS for the index given, it will return 0.\n    *\n    * @access public\n    * @param integer $index    The index for the PPS\n    * @return integer The amount of bytes in data the PPS has\n    */\n    public function getDataLength($index)\n    {\n        if (isset($this->_list[$index])) {\n            return $this->_list[$index]->Size;\n        }\n        return 0;\n    }\n\n    /**\n    * Utility function to transform ASCII text to Unicode\n    *\n    * @access public\n    * @static\n    * @param string $ascii The ASCII string to transform\n    * @return string The string in Unicode\n    */\n    public static function Asc2Ucs($ascii)\n    {\n        $rawname = '';\n        for ($i = 0; $i < strlen($ascii); ++$i) {\n            $rawname .= $ascii{$i} . \"\\x00\";\n        }\n        return $rawname;\n    }\n\n    /**\n    * Utility function\n    * Returns a string for the OLE container with the date given\n    *\n    * @access public\n    * @static\n    * @param integer $date A timestamp\n    * @return string The string for the OLE container\n    */\n    public static function LocalDate2OLE($date = null)\n    {\n        if (!isset($date)) {\n            return \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\";\n        }\n\n        // factor used for separating numbers into 4 bytes parts\n        $factor = pow(2, 32);\n\n        // days from 1-1-1601 until the beggining of UNIX era\n        $days = 134774;\n        // calculate seconds\n        $big_date = $days*24*3600 + gmmktime(date(\"H\", $date), date(\"i\", $date), date(\"s\", $date), date(\"m\", $date), date(\"d\", $date), date(\"Y\", $date));\n        // multiply just to make MS happy\n        $big_date *= 10000000;\n\n        $high_part = floor($big_date / $factor);\n        // lower 4 bytes\n        $low_part = floor((($big_date / $factor) - $high_part) * $factor);\n\n        // Make HEX string\n        $res = '';\n\n        for ($i = 0; $i < 4; ++$i) {\n            $hex = $low_part % 0x100;\n            $res .= pack('c', $hex);\n            $low_part /= 0x100;\n        }\n        for ($i = 0; $i < 4; ++$i) {\n            $hex = $high_part % 0x100;\n            $res .= pack('c', $hex);\n            $high_part /= 0x100;\n        }\n        return $res;\n    }\n\n    /**\n    * Returns a timestamp from an OLE container's date\n    *\n    * @access public\n    * @static\n    * @param integer $string A binary string with the encoded date\n    * @return string The timestamp corresponding to the string\n    */\n    public static function OLE2LocalDate($string)\n    {\n        if (strlen($string) != 8) {\n            return new PEAR_Error(\"Expecting 8 byte string\");\n        }\n\n        // factor used for separating numbers into 4 bytes parts\n        $factor = pow(2, 32);\n        list(, $high_part) = unpack('V', substr($string, 4, 4));\n        list(, $low_part) = unpack('V', substr($string, 0, 4));\n\n        $big_date = ($high_part * $factor) + $low_part;\n        // translate to seconds\n        $big_date /= 10000000;\n\n        // days from 1-1-1601 until the beggining of UNIX era\n        $days = 134774;\n\n        // translate to seconds from beggining of UNIX era\n        $big_date -= $days * 24 * 3600;\n        return floor($big_date);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/OLERead.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\ndefined('IDENTIFIER_OLE') ||\n    define('IDENTIFIER_OLE', pack('CCCCCCCC', 0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1));\n\nclass PHPExcel_Shared_OLERead\n{\n    private $data = '';\n\n    // OLE identifier\n    const IDENTIFIER_OLE                    = IDENTIFIER_OLE;\n\n    // Size of a sector = 512 bytes\n    const BIG_BLOCK_SIZE                    = 0x200;\n\n    // Size of a short sector = 64 bytes\n    const SMALL_BLOCK_SIZE                  = 0x40;\n\n    // Size of a directory entry always = 128 bytes\n    const PROPERTY_STORAGE_BLOCK_SIZE       = 0x80;\n\n    // Minimum size of a standard stream = 4096 bytes, streams smaller than this are stored as short streams\n    const SMALL_BLOCK_THRESHOLD             = 0x1000;\n\n    // header offsets\n    const NUM_BIG_BLOCK_DEPOT_BLOCKS_POS    = 0x2c;\n    const ROOT_START_BLOCK_POS              = 0x30;\n    const SMALL_BLOCK_DEPOT_BLOCK_POS       = 0x3c;\n    const EXTENSION_BLOCK_POS               = 0x44;\n    const NUM_EXTENSION_BLOCK_POS           = 0x48;\n    const BIG_BLOCK_DEPOT_BLOCKS_POS        = 0x4c;\n\n    // property storage offsets (directory offsets)\n    const SIZE_OF_NAME_POS                  = 0x40;\n    const TYPE_POS                          = 0x42;\n    const START_BLOCK_POS                   = 0x74;\n    const SIZE_POS                          = 0x78;\n\n\n\n    public $wrkbook                         = null;\n    public $summaryInformation              = null;\n    public $documentSummaryInformation      = null;\n\n\n    /**\n     * Read the file\n     *\n     * @param $sFileName string Filename\n     * @throws PHPExcel_Reader_Exception\n     */\n    public function read($sFileName)\n    {\n        // Check if file exists and is readable\n        if (!is_readable($sFileName)) {\n            throw new PHPExcel_Reader_Exception(\"Could not open \" . $sFileName . \" for reading! File does not exist, or it is not readable.\");\n        }\n\n        // Get the file identifier\n        // Don't bother reading the whole file until we know it's a valid OLE file\n        $this->data = file_get_contents($sFileName, false, null, 0, 8);\n\n        // Check OLE identifier\n        if ($this->data != self::IDENTIFIER_OLE) {\n            throw new PHPExcel_Reader_Exception('The filename ' . $sFileName . ' is not recognised as an OLE file');\n        }\n\n        // Get the file data\n        $this->data = file_get_contents($sFileName);\n\n        // Total number of sectors used for the SAT\n        $this->numBigBlockDepotBlocks = self::getInt4d($this->data, self::NUM_BIG_BLOCK_DEPOT_BLOCKS_POS);\n\n        // SecID of the first sector of the directory stream\n        $this->rootStartBlock = self::getInt4d($this->data, self::ROOT_START_BLOCK_POS);\n\n        // SecID of the first sector of the SSAT (or -2 if not extant)\n        $this->sbdStartBlock = self::getInt4d($this->data, self::SMALL_BLOCK_DEPOT_BLOCK_POS);\n\n        // SecID of the first sector of the MSAT (or -2 if no additional sectors are used)\n        $this->extensionBlock = self::getInt4d($this->data, self::EXTENSION_BLOCK_POS);\n\n        // Total number of sectors used by MSAT\n        $this->numExtensionBlocks = self::getInt4d($this->data, self::NUM_EXTENSION_BLOCK_POS);\n\n        $bigBlockDepotBlocks = array();\n        $pos = self::BIG_BLOCK_DEPOT_BLOCKS_POS;\n\n        $bbdBlocks = $this->numBigBlockDepotBlocks;\n\n        if ($this->numExtensionBlocks != 0) {\n            $bbdBlocks = (self::BIG_BLOCK_SIZE - self::BIG_BLOCK_DEPOT_BLOCKS_POS)/4;\n        }\n\n        for ($i = 0; $i < $bbdBlocks; ++$i) {\n              $bigBlockDepotBlocks[$i] = self::getInt4d($this->data, $pos);\n              $pos += 4;\n        }\n\n        for ($j = 0; $j < $this->numExtensionBlocks; ++$j) {\n            $pos = ($this->extensionBlock + 1) * self::BIG_BLOCK_SIZE;\n            $blocksToRead = min($this->numBigBlockDepotBlocks - $bbdBlocks, self::BIG_BLOCK_SIZE / 4 - 1);\n\n            for ($i = $bbdBlocks; $i < $bbdBlocks + $blocksToRead; ++$i) {\n                $bigBlockDepotBlocks[$i] = self::getInt4d($this->data, $pos);\n                $pos += 4;\n            }\n\n            $bbdBlocks += $blocksToRead;\n            if ($bbdBlocks < $this->numBigBlockDepotBlocks) {\n                $this->extensionBlock = self::getInt4d($this->data, $pos);\n            }\n        }\n\n        $pos = 0;\n        $this->bigBlockChain = '';\n        $bbs = self::BIG_BLOCK_SIZE / 4;\n        for ($i = 0; $i < $this->numBigBlockDepotBlocks; ++$i) {\n            $pos = ($bigBlockDepotBlocks[$i] + 1) * self::BIG_BLOCK_SIZE;\n\n            $this->bigBlockChain .= substr($this->data, $pos, 4*$bbs);\n            $pos += 4*$bbs;\n        }\n\n        $pos = 0;\n        $sbdBlock = $this->sbdStartBlock;\n        $this->smallBlockChain = '';\n        while ($sbdBlock != -2) {\n            $pos = ($sbdBlock + 1) * self::BIG_BLOCK_SIZE;\n\n            $this->smallBlockChain .= substr($this->data, $pos, 4*$bbs);\n            $pos += 4*$bbs;\n\n            $sbdBlock = self::getInt4d($this->bigBlockChain, $sbdBlock*4);\n        }\n\n        // read the directory stream\n        $block = $this->rootStartBlock;\n        $this->entry = $this->_readData($block);\n\n        $this->readPropertySets();\n    }\n\n    /**\n     * Extract binary stream data\n     *\n     * @return string\n     */\n    public function getStream($stream)\n    {\n        if ($stream === null) {\n            return null;\n        }\n\n        $streamData = '';\n\n        if ($this->props[$stream]['size'] < self::SMALL_BLOCK_THRESHOLD) {\n            $rootdata = $this->_readData($this->props[$this->rootentry]['startBlock']);\n\n            $block = $this->props[$stream]['startBlock'];\n\n            while ($block != -2) {\n                  $pos = $block * self::SMALL_BLOCK_SIZE;\n                $streamData .= substr($rootdata, $pos, self::SMALL_BLOCK_SIZE);\n\n                $block = self::getInt4d($this->smallBlockChain, $block*4);\n            }\n\n            return $streamData;\n        } else {\n            $numBlocks = $this->props[$stream]['size'] / self::BIG_BLOCK_SIZE;\n            if ($this->props[$stream]['size'] % self::BIG_BLOCK_SIZE != 0) {\n                ++$numBlocks;\n            }\n\n            if ($numBlocks == 0) {\n                return '';\n            }\n\n            $block = $this->props[$stream]['startBlock'];\n\n            while ($block != -2) {\n                $pos = ($block + 1) * self::BIG_BLOCK_SIZE;\n                $streamData .= substr($this->data, $pos, self::BIG_BLOCK_SIZE);\n                $block = self::getInt4d($this->bigBlockChain, $block*4);\n            }\n\n            return $streamData;\n        }\n    }\n\n    /**\n     * Read a standard stream (by joining sectors using information from SAT)\n     *\n     * @param int $bl Sector ID where the stream starts\n     * @return string Data for standard stream\n     */\n    private function _readData($bl)\n    {\n        $block = $bl;\n        $data = '';\n\n        while ($block != -2) {\n            $pos = ($block + 1) * self::BIG_BLOCK_SIZE;\n            $data .= substr($this->data, $pos, self::BIG_BLOCK_SIZE);\n            $block = self::getInt4d($this->bigBlockChain, $block*4);\n        }\n        return $data;\n    }\n\n    /**\n     * Read entries in the directory stream.\n     */\n    private function readPropertySets()\n    {\n        $offset = 0;\n\n        // loop through entires, each entry is 128 bytes\n        $entryLen = strlen($this->entry);\n        while ($offset < $entryLen) {\n            // entry data (128 bytes)\n            $d = substr($this->entry, $offset, self::PROPERTY_STORAGE_BLOCK_SIZE);\n\n            // size in bytes of name\n            $nameSize = ord($d[self::SIZE_OF_NAME_POS]) | (ord($d[self::SIZE_OF_NAME_POS+1]) << 8);\n\n            // type of entry\n            $type = ord($d[self::TYPE_POS]);\n\n            // sectorID of first sector or short sector, if this entry refers to a stream (the case with workbook)\n            // sectorID of first sector of the short-stream container stream, if this entry is root entry\n            $startBlock = self::getInt4d($d, self::START_BLOCK_POS);\n\n            $size = self::getInt4d($d, self::SIZE_POS);\n\n            $name = str_replace(\"\\x00\", \"\", substr($d, 0, $nameSize));\n\n            $this->props[] = array(\n                'name' => $name,\n                'type' => $type,\n                'startBlock' => $startBlock,\n                'size' => $size\n            );\n\n            // tmp helper to simplify checks\n            $upName = strtoupper($name);\n\n            // Workbook directory entry (BIFF5 uses Book, BIFF8 uses Workbook)\n            if (($upName === 'WORKBOOK') || ($upName === 'BOOK')) {\n                $this->wrkbook = count($this->props) - 1;\n            } elseif ($upName === 'ROOT ENTRY' || $upName === 'R') {\n                // Root entry\n                $this->rootentry = count($this->props) - 1;\n            }\n\n            // Summary information\n            if ($name == chr(5) . 'SummaryInformation') {\n//                echo 'Summary Information<br />';\n                $this->summaryInformation = count($this->props) - 1;\n            }\n\n            // Additional Document Summary information\n            if ($name == chr(5) . 'DocumentSummaryInformation') {\n//                echo 'Document Summary Information<br />';\n                $this->documentSummaryInformation = count($this->props) - 1;\n            }\n\n            $offset += self::PROPERTY_STORAGE_BLOCK_SIZE;\n        }\n    }\n\n    /**\n     * Read 4 bytes of data at specified position\n     *\n     * @param string $data\n     * @param int $pos\n     * @return int\n     */\n    private static function getInt4d($data, $pos)\n    {\n        // FIX: represent numbers correctly on 64-bit system\n        // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334\n        // Hacked by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systems\n        $_or_24 = ord($data[$pos + 3]);\n        if ($_or_24 >= 128) {\n            // negative number\n            $_ord_24 = -abs((256 - $_or_24) << 24);\n        } else {\n            $_ord_24 = ($_or_24 & 127) << 24;\n        }\n        return ord($data[$pos]) | (ord($data[$pos + 1]) << 8) | (ord($data[$pos + 2]) << 16) | $_ord_24;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/PCLZip/gnu-lgpl.txt",
    "content": "\t\t  GNU LESSER GENERAL PUBLIC LICENSE\r\n\t\t       Version 2.1, February 1999\r\n\r\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\r\n     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r\n Everyone is permitted to copy and distribute verbatim copies\r\n of this license document, but changing it is not allowed.\r\n\r\n[This is the first released version of the Lesser GPL.  It also counts\r\n as the successor of the GNU Library Public License, version 2, hence\r\n the version number 2.1.]\r\n\r\n\t\t\t    Preamble\r\n\r\n  The licenses for most software are designed to take away your\r\nfreedom to share and change it.  By contrast, the GNU General Public\r\nLicenses are intended to guarantee your freedom to share and change\r\nfree software--to make sure the software is free for all its users.\r\n\r\n  This license, the Lesser General Public License, applies to some\r\nspecially designated software packages--typically libraries--of the\r\nFree Software Foundation and other authors who decide to use it.  You\r\ncan use it too, but we suggest you first think carefully about whether\r\nthis license or the ordinary General Public License is the better\r\nstrategy to use in any particular case, based on the explanations below.\r\n\r\n  When we speak of free software, we are referring to freedom of use,\r\nnot price.  Our General Public Licenses are designed to make sure that\r\nyou have the freedom to distribute copies of free software (and charge\r\nfor this service if you wish); that you receive source code or can get\r\nit if you want it; that you can change the software and use pieces of\r\nit in new free programs; and that you are informed that you can do\r\nthese things.\r\n\r\n  To protect your rights, we need to make restrictions that forbid\r\ndistributors to deny you these rights or to ask you to surrender these\r\nrights.  These restrictions translate to certain responsibilities for\r\nyou if you distribute copies of the library or if you modify it.\r\n\r\n  For example, if you distribute copies of the library, whether gratis\r\nor for a fee, you must give the recipients all the rights that we gave\r\nyou.  You must make sure that they, too, receive or can get the source\r\ncode.  If you link other code with the library, you must provide\r\ncomplete object files to the recipients, so that they can relink them\r\nwith the library after making changes to the library and recompiling\r\nit.  And you must show them these terms so they know their rights.\r\n\r\n  We protect your rights with a two-step method: (1) we copyright the\r\nlibrary, and (2) we offer you this license, which gives you legal\r\npermission to copy, distribute and/or modify the library.\r\n\r\n  To protect each distributor, we want to make it very clear that\r\nthere is no warranty for the free library.  Also, if the library is\r\nmodified by someone else and passed on, the recipients should know\r\nthat what they have is not the original version, so that the original\r\nauthor's reputation will not be affected by problems that might be\r\nintroduced by others.\r\n\f\r\n  Finally, software patents pose a constant threat to the existence of\r\nany free program.  We wish to make sure that a company cannot\r\neffectively restrict the users of a free program by obtaining a\r\nrestrictive license from a patent holder.  Therefore, we insist that\r\nany patent license obtained for a version of the library must be\r\nconsistent with the full freedom of use specified in this license.\r\n\r\n  Most GNU software, including some libraries, is covered by the\r\nordinary GNU General Public License.  This license, the GNU Lesser\r\nGeneral Public License, applies to certain designated libraries, and\r\nis quite different from the ordinary General Public License.  We use\r\nthis license for certain libraries in order to permit linking those\r\nlibraries into non-free programs.\r\n\r\n  When a program is linked with a library, whether statically or using\r\na shared library, the combination of the two is legally speaking a\r\ncombined work, a derivative of the original library.  The ordinary\r\nGeneral Public License therefore permits such linking only if the\r\nentire combination fits its criteria of freedom.  The Lesser General\r\nPublic License permits more lax criteria for linking other code with\r\nthe library.\r\n\r\n  We call this license the \"Lesser\" General Public License because it\r\ndoes Less to protect the user's freedom than the ordinary General\r\nPublic License.  It also provides other free software developers Less\r\nof an advantage over competing non-free programs.  These disadvantages\r\nare the reason we use the ordinary General Public License for many\r\nlibraries.  However, the Lesser license provides advantages in certain\r\nspecial circumstances.\r\n\r\n  For example, on rare occasions, there may be a special need to\r\nencourage the widest possible use of a certain library, so that it becomes\r\na de-facto standard.  To achieve this, non-free programs must be\r\nallowed to use the library.  A more frequent case is that a free\r\nlibrary does the same job as widely used non-free libraries.  In this\r\ncase, there is little to gain by limiting the free library to free\r\nsoftware only, so we use the Lesser General Public License.\r\n\r\n  In other cases, permission to use a particular library in non-free\r\nprograms enables a greater number of people to use a large body of\r\nfree software.  For example, permission to use the GNU C Library in\r\nnon-free programs enables many more people to use the whole GNU\r\noperating system, as well as its variant, the GNU/Linux operating\r\nsystem.\r\n\r\n  Although the Lesser General Public License is Less protective of the\r\nusers' freedom, it does ensure that the user of a program that is\r\nlinked with the Library has the freedom and the wherewithal to run\r\nthat program using a modified version of the Library.\r\n\r\n  The precise terms and conditions for copying, distribution and\r\nmodification follow.  Pay close attention to the difference between a\r\n\"work based on the library\" and a \"work that uses the library\".  The\r\nformer contains code derived from the library, whereas the latter must\r\nbe combined with the library in order to run.\r\n\f\r\n\t\t  GNU LESSER GENERAL PUBLIC LICENSE\r\n   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\r\n\r\n  0. This License Agreement applies to any software library or other\r\nprogram which contains a notice placed by the copyright holder or\r\nother authorized party saying it may be distributed under the terms of\r\nthis Lesser General Public License (also called \"this License\").\r\nEach licensee is addressed as \"you\".\r\n\r\n  A \"library\" means a collection of software functions and/or data\r\nprepared so as to be conveniently linked with application programs\r\n(which use some of those functions and data) to form executables.\r\n\r\n  The \"Library\", below, refers to any such software library or work\r\nwhich has been distributed under these terms.  A \"work based on the\r\nLibrary\" means either the Library or any derivative work under\r\ncopyright law: that is to say, a work containing the Library or a\r\nportion of it, either verbatim or with modifications and/or translated\r\nstraightforwardly into another language.  (Hereinafter, translation is\r\nincluded without limitation in the term \"modification\".)\r\n\r\n  \"Source code\" for a work means the preferred form of the work for\r\nmaking modifications to it.  For a library, complete source code means\r\nall the source code for all modules it contains, plus any associated\r\ninterface definition files, plus the scripts used to control compilation\r\nand installation of the library.\r\n\r\n  Activities other than copying, distribution and modification are not\r\ncovered by this License; they are outside its scope.  The act of\r\nrunning a program using the Library is not restricted, and output from\r\nsuch a program is covered only if its contents constitute a work based\r\non the Library (independent of the use of the Library in a tool for\r\nwriting it).  Whether that is true depends on what the Library does\r\nand what the program that uses the Library does.\r\n  \r\n  1. You may copy and distribute verbatim copies of the Library's\r\ncomplete source code as you receive it, in any medium, provided that\r\nyou conspicuously and appropriately publish on each copy an\r\nappropriate copyright notice and disclaimer of warranty; keep intact\r\nall the notices that refer to this License and to the absence of any\r\nwarranty; and distribute a copy of this License along with the\r\nLibrary.\r\n\r\n  You may charge a fee for the physical act of transferring a copy,\r\nand you may at your option offer warranty protection in exchange for a\r\nfee.\r\n\f\r\n  2. You may modify your copy or copies of the Library or any portion\r\nof it, thus forming a work based on the Library, and copy and\r\ndistribute such modifications or work under the terms of Section 1\r\nabove, provided that you also meet all of these conditions:\r\n\r\n    a) The modified work must itself be a software library.\r\n\r\n    b) You must cause the files modified to carry prominent notices\r\n    stating that you changed the files and the date of any change.\r\n\r\n    c) You must cause the whole of the work to be licensed at no\r\n    charge to all third parties under the terms of this License.\r\n\r\n    d) If a facility in the modified Library refers to a function or a\r\n    table of data to be supplied by an application program that uses\r\n    the facility, other than as an argument passed when the facility\r\n    is invoked, then you must make a good faith effort to ensure that,\r\n    in the event an application does not supply such function or\r\n    table, the facility still operates, and performs whatever part of\r\n    its purpose remains meaningful.\r\n\r\n    (For example, a function in a library to compute square roots has\r\n    a purpose that is entirely well-defined independent of the\r\n    application.  Therefore, Subsection 2d requires that any\r\n    application-supplied function or table used by this function must\r\n    be optional: if the application does not supply it, the square\r\n    root function must still compute square roots.)\r\n\r\nThese requirements apply to the modified work as a whole.  If\r\nidentifiable sections of that work are not derived from the Library,\r\nand can be reasonably considered independent and separate works in\r\nthemselves, then this License, and its terms, do not apply to those\r\nsections when you distribute them as separate works.  But when you\r\ndistribute the same sections as part of a whole which is a work based\r\non the Library, the distribution of the whole must be on the terms of\r\nthis License, whose permissions for other licensees extend to the\r\nentire whole, and thus to each and every part regardless of who wrote\r\nit.\r\n\r\nThus, it is not the intent of this section to claim rights or contest\r\nyour rights to work written entirely by you; rather, the intent is to\r\nexercise the right to control the distribution of derivative or\r\ncollective works based on the Library.\r\n\r\nIn addition, mere aggregation of another work not based on the Library\r\nwith the Library (or with a work based on the Library) on a volume of\r\na storage or distribution medium does not bring the other work under\r\nthe scope of this License.\r\n\r\n  3. You may opt to apply the terms of the ordinary GNU General Public\r\nLicense instead of this License to a given copy of the Library.  To do\r\nthis, you must alter all the notices that refer to this License, so\r\nthat they refer to the ordinary GNU General Public License, version 2,\r\ninstead of to this License.  (If a newer version than version 2 of the\r\nordinary GNU General Public License has appeared, then you can specify\r\nthat version instead if you wish.)  Do not make any other change in\r\nthese notices.\r\n\f\r\n  Once this change is made in a given copy, it is irreversible for\r\nthat copy, so the ordinary GNU General Public License applies to all\r\nsubsequent copies and derivative works made from that copy.\r\n\r\n  This option is useful when you wish to copy part of the code of\r\nthe Library into a program that is not a library.\r\n\r\n  4. You may copy and distribute the Library (or a portion or\r\nderivative of it, under Section 2) in object code or executable form\r\nunder the terms of Sections 1 and 2 above provided that you accompany\r\nit with the complete corresponding machine-readable source code, which\r\nmust be distributed under the terms of Sections 1 and 2 above on a\r\nmedium customarily used for software interchange.\r\n\r\n  If distribution of object code is made by offering access to copy\r\nfrom a designated place, then offering equivalent access to copy the\r\nsource code from the same place satisfies the requirement to\r\ndistribute the source code, even though third parties are not\r\ncompelled to copy the source along with the object code.\r\n\r\n  5. A program that contains no derivative of any portion of the\r\nLibrary, but is designed to work with the Library by being compiled or\r\nlinked with it, is called a \"work that uses the Library\".  Such a\r\nwork, in isolation, is not a derivative work of the Library, and\r\ntherefore falls outside the scope of this License.\r\n\r\n  However, linking a \"work that uses the Library\" with the Library\r\ncreates an executable that is a derivative of the Library (because it\r\ncontains portions of the Library), rather than a \"work that uses the\r\nlibrary\".  The executable is therefore covered by this License.\r\nSection 6 states terms for distribution of such executables.\r\n\r\n  When a \"work that uses the Library\" uses material from a header file\r\nthat is part of the Library, the object code for the work may be a\r\nderivative work of the Library even though the source code is not.\r\nWhether this is true is especially significant if the work can be\r\nlinked without the Library, or if the work is itself a library.  The\r\nthreshold for this to be true is not precisely defined by law.\r\n\r\n  If such an object file uses only numerical parameters, data\r\nstructure layouts and accessors, and small macros and small inline\r\nfunctions (ten lines or less in length), then the use of the object\r\nfile is unrestricted, regardless of whether it is legally a derivative\r\nwork.  (Executables containing this object code plus portions of the\r\nLibrary will still fall under Section 6.)\r\n\r\n  Otherwise, if the work is a derivative of the Library, you may\r\ndistribute the object code for the work under the terms of Section 6.\r\nAny executables containing that work also fall under Section 6,\r\nwhether or not they are linked directly with the Library itself.\r\n\f\r\n  6. As an exception to the Sections above, you may also combine or\r\nlink a \"work that uses the Library\" with the Library to produce a\r\nwork containing portions of the Library, and distribute that work\r\nunder terms of your choice, provided that the terms permit\r\nmodification of the work for the customer's own use and reverse\r\nengineering for debugging such modifications.\r\n\r\n  You must give prominent notice with each copy of the work that the\r\nLibrary is used in it and that the Library and its use are covered by\r\nthis License.  You must supply a copy of this License.  If the work\r\nduring execution displays copyright notices, you must include the\r\ncopyright notice for the Library among them, as well as a reference\r\ndirecting the user to the copy of this License.  Also, you must do one\r\nof these things:\r\n\r\n    a) Accompany the work with the complete corresponding\r\n    machine-readable source code for the Library including whatever\r\n    changes were used in the work (which must be distributed under\r\n    Sections 1 and 2 above); and, if the work is an executable linked\r\n    with the Library, with the complete machine-readable \"work that\r\n    uses the Library\", as object code and/or source code, so that the\r\n    user can modify the Library and then relink to produce a modified\r\n    executable containing the modified Library.  (It is understood\r\n    that the user who changes the contents of definitions files in the\r\n    Library will not necessarily be able to recompile the application\r\n    to use the modified definitions.)\r\n\r\n    b) Use a suitable shared library mechanism for linking with the\r\n    Library.  A suitable mechanism is one that (1) uses at run time a\r\n    copy of the library already present on the user's computer system,\r\n    rather than copying library functions into the executable, and (2)\r\n    will operate properly with a modified version of the library, if\r\n    the user installs one, as long as the modified version is\r\n    interface-compatible with the version that the work was made with.\r\n\r\n    c) Accompany the work with a written offer, valid for at\r\n    least three years, to give the same user the materials\r\n    specified in Subsection 6a, above, for a charge no more\r\n    than the cost of performing this distribution.\r\n\r\n    d) If distribution of the work is made by offering access to copy\r\n    from a designated place, offer equivalent access to copy the above\r\n    specified materials from the same place.\r\n\r\n    e) Verify that the user has already received a copy of these\r\n    materials or that you have already sent this user a copy.\r\n\r\n  For an executable, the required form of the \"work that uses the\r\nLibrary\" must include any data and utility programs needed for\r\nreproducing the executable from it.  However, as a special exception,\r\nthe materials to be distributed need not include anything that is\r\nnormally distributed (in either source or binary form) with the major\r\ncomponents (compiler, kernel, and so on) of the operating system on\r\nwhich the executable runs, unless that component itself accompanies\r\nthe executable.\r\n\r\n  It may happen that this requirement contradicts the license\r\nrestrictions of other proprietary libraries that do not normally\r\naccompany the operating system.  Such a contradiction means you cannot\r\nuse both them and the Library together in an executable that you\r\ndistribute.\r\n\f\r\n  7. You may place library facilities that are a work based on the\r\nLibrary side-by-side in a single library together with other library\r\nfacilities not covered by this License, and distribute such a combined\r\nlibrary, provided that the separate distribution of the work based on\r\nthe Library and of the other library facilities is otherwise\r\npermitted, and provided that you do these two things:\r\n\r\n    a) Accompany the combined library with a copy of the same work\r\n    based on the Library, uncombined with any other library\r\n    facilities.  This must be distributed under the terms of the\r\n    Sections above.\r\n\r\n    b) Give prominent notice with the combined library of the fact\r\n    that part of it is a work based on the Library, and explaining\r\n    where to find the accompanying uncombined form of the same work.\r\n\r\n  8. You may not copy, modify, sublicense, link with, or distribute\r\nthe Library except as expressly provided under this License.  Any\r\nattempt otherwise to copy, modify, sublicense, link with, or\r\ndistribute the Library is void, and will automatically terminate your\r\nrights under this License.  However, parties who have received copies,\r\nor rights, from you under this License will not have their licenses\r\nterminated so long as such parties remain in full compliance.\r\n\r\n  9. You are not required to accept this License, since you have not\r\nsigned it.  However, nothing else grants you permission to modify or\r\ndistribute the Library or its derivative works.  These actions are\r\nprohibited by law if you do not accept this License.  Therefore, by\r\nmodifying or distributing the Library (or any work based on the\r\nLibrary), you indicate your acceptance of this License to do so, and\r\nall its terms and conditions for copying, distributing or modifying\r\nthe Library or works based on it.\r\n\r\n  10. Each time you redistribute the Library (or any work based on the\r\nLibrary), the recipient automatically receives a license from the\r\noriginal licensor to copy, distribute, link with or modify the Library\r\nsubject to these terms and conditions.  You may not impose any further\r\nrestrictions on the recipients' exercise of the rights granted herein.\r\nYou are not responsible for enforcing compliance by third parties with\r\nthis License.\r\n\f\r\n  11. If, as a consequence of a court judgment or allegation of patent\r\ninfringement or for any other reason (not limited to patent issues),\r\nconditions are imposed on you (whether by court order, agreement or\r\notherwise) that contradict the conditions of this License, they do not\r\nexcuse you from the conditions of this License.  If you cannot\r\ndistribute so as to satisfy simultaneously your obligations under this\r\nLicense and any other pertinent obligations, then as a consequence you\r\nmay not distribute the Library at all.  For example, if a patent\r\nlicense would not permit royalty-free redistribution of the Library by\r\nall those who receive copies directly or indirectly through you, then\r\nthe only way you could satisfy both it and this License would be to\r\nrefrain entirely from distribution of the Library.\r\n\r\nIf any portion of this section is held invalid or unenforceable under any\r\nparticular circumstance, the balance of the section is intended to apply,\r\nand the section as a whole is intended to apply in other circumstances.\r\n\r\nIt is not the purpose of this section to induce you to infringe any\r\npatents or other property right claims or to contest validity of any\r\nsuch claims; this section has the sole purpose of protecting the\r\nintegrity of the free software distribution system which is\r\nimplemented by public license practices.  Many people have made\r\ngenerous contributions to the wide range of software distributed\r\nthrough that system in reliance on consistent application of that\r\nsystem; it is up to the author/donor to decide if he or she is willing\r\nto distribute software through any other system and a licensee cannot\r\nimpose that choice.\r\n\r\nThis section is intended to make thoroughly clear what is believed to\r\nbe a consequence of the rest of this License.\r\n\r\n  12. If the distribution and/or use of the Library is restricted in\r\ncertain countries either by patents or by copyrighted interfaces, the\r\noriginal copyright holder who places the Library under this License may add\r\nan explicit geographical distribution limitation excluding those countries,\r\nso that distribution is permitted only in or among countries not thus\r\nexcluded.  In such case, this License incorporates the limitation as if\r\nwritten in the body of this License.\r\n\r\n  13. The Free Software Foundation may publish revised and/or new\r\nversions of the Lesser General Public License from time to time.\r\nSuch new versions will be similar in spirit to the present version,\r\nbut may differ in detail to address new problems or concerns.\r\n\r\nEach version is given a distinguishing version number.  If the Library\r\nspecifies a version number of this License which applies to it and\r\n\"any later version\", you have the option of following the terms and\r\nconditions either of that version or of any later version published by\r\nthe Free Software Foundation.  If the Library does not specify a\r\nlicense version number, you may choose any version ever published by\r\nthe Free Software Foundation.\r\n\f\r\n  14. If you wish to incorporate parts of the Library into other free\r\nprograms whose distribution conditions are incompatible with these,\r\nwrite to the author to ask for permission.  For software which is\r\ncopyrighted by the Free Software Foundation, write to the Free\r\nSoftware Foundation; we sometimes make exceptions for this.  Our\r\ndecision will be guided by the two goals of preserving the free status\r\nof all derivatives of our free software and of promoting the sharing\r\nand reuse of software generally.\r\n\r\n\t\t\t    NO WARRANTY\r\n\r\n  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\r\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\r\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\r\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\r\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\r\nLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\r\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\r\n\r\n  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\r\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\r\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\r\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\r\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\r\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\r\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\r\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\r\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\r\nDAMAGES.\r\n\r\n\t\t     END OF TERMS AND CONDITIONS\r\n\f\r\n           How to Apply These Terms to Your New Libraries\r\n\r\n  If you develop a new library, and you want it to be of the greatest\r\npossible use to the public, we recommend making it free software that\r\neveryone can redistribute and change.  You can do so by permitting\r\nredistribution under these terms (or, alternatively, under the terms of the\r\nordinary General Public License).\r\n\r\n  To apply these terms, attach the following notices to the library.  It is\r\nsafest to attach them to the start of each source file to most effectively\r\nconvey the exclusion of warranty; and each file should have at least the\r\n\"copyright\" line and a pointer to where the full notice is found.\r\n\r\n    <one line to give the library's name and a brief idea of what it does.>\r\n    Copyright (C) <year>  <name of author>\r\n\r\n    This library is free software; you can redistribute it and/or\r\n    modify it under the terms of the GNU Lesser General Public\r\n    License as published by the Free Software Foundation; either\r\n    version 2.1 of the License, or (at your option) any later version.\r\n\r\n    This library is distributed in the hope that it will be useful,\r\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n    Lesser General Public License for more details.\r\n\r\n    You should have received a copy of the GNU Lesser General Public\r\n    License along with this library; if not, write to the Free Software\r\n    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r\n\r\nAlso add information on how to contact you by electronic and paper mail.\r\n\r\nYou should also get your employer (if you work as a programmer) or your\r\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\r\nnecessary.  Here is a sample; alter the names:\r\n\r\n  Yoyodyne, Inc., hereby disclaims all copyright interest in the\r\n  library `Frob' (a library for tweaking knobs) written by James Random Hacker.\r\n\r\n  <signature of Ty Coon>, 1 April 1990\r\n  Ty Coon, President of Vice\r\n\r\nThat's all there is to it!\r\n\r\n\r\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php",
    "content": "<?php\n// --------------------------------------------------------------------------------\n// PhpConcept Library - Zip Module 2.8.2\n// --------------------------------------------------------------------------------\n// License GNU/LGPL - Vincent Blavet - August 2009\n// http://www.phpconcept.net\n// --------------------------------------------------------------------------------\n//\n// Presentation :\n//     PclZip is a PHP library that manage ZIP archives.\n//     So far tests show that archives generated by PclZip are readable by\n//     WinZip application and other tools.\n//\n// Description :\n//     See readme.txt and http://www.phpconcept.net\n//\n// Warning :\n//     This library and the associated files are non commercial, non professional\n//     work.\n//     It should not have unexpected results. However if any damage is caused by\n//     this software the author can not be responsible.\n//     The use of this software is at the risk of the user.\n//\n// --------------------------------------------------------------------------------\n// $Id: pclzip.lib.php,v 1.60 2009/09/30 21:01:04 vblavet Exp $\n// --------------------------------------------------------------------------------\n\n// ----- Constants\nif (!defined('PCLZIP_READ_BLOCK_SIZE')) {\n    define('PCLZIP_READ_BLOCK_SIZE', 2048);\n}\n\n// ----- File list separator\n// In version 1.x of PclZip, the separator for file list is a space\n// (which is not a very smart choice, specifically for windows paths !).\n// A better separator should be a comma (,). This constant gives you the\n// abilty to change that.\n// However notice that changing this value, may have impact on existing\n// scripts, using space separated filenames.\n// Recommanded values for compatibility with older versions :\n//define('PCLZIP_SEPARATOR', ' ');\n// Recommanded values for smart separation of filenames.\nif (!defined('PCLZIP_SEPARATOR')) {\n    define('PCLZIP_SEPARATOR', ',');\n}\n\n// ----- Error configuration\n// 0 : PclZip Class integrated error handling\n// 1 : PclError external library error handling. By enabling this\n//         you must ensure that you have included PclError library.\n// [2,...] : reserved for futur use\nif (!defined('PCLZIP_ERROR_EXTERNAL')) {\n    define('PCLZIP_ERROR_EXTERNAL', 0);\n}\n\n// ----- Optional static temporary directory\n//             By default temporary files are generated in the script current\n//             path.\n//             If defined :\n//             - MUST BE terminated by a '/'.\n//             - MUST be a valid, already created directory\n//             Samples :\n// define('PCLZIP_TEMPORARY_DIR', '/temp/');\n// define('PCLZIP_TEMPORARY_DIR', 'C:/Temp/');\nif (!defined('PCLZIP_TEMPORARY_DIR')) {\n    define('PCLZIP_TEMPORARY_DIR', '');\n}\n\n// ----- Optional threshold ratio for use of temporary files\n//             Pclzip sense the size of the file to add/extract and decide to\n//             use or not temporary file. The algorythm is looking for\n//             memory_limit of PHP and apply a ratio.\n//             threshold = memory_limit * ratio.\n//             Recommended values are under 0.5. Default 0.47.\n//             Samples :\n// define('PCLZIP_TEMPORARY_FILE_RATIO', 0.5);\nif (!defined('PCLZIP_TEMPORARY_FILE_RATIO')) {\n    define('PCLZIP_TEMPORARY_FILE_RATIO', 0.47);\n}\n\n// --------------------------------------------------------------------------------\n// ***** UNDER THIS LINE NOTHING NEEDS TO BE MODIFIED *****\n// --------------------------------------------------------------------------------\n\n// ----- Global variables\n$g_pclzip_version = \"2.8.2\";\n\n// ----- Error codes\n//     -1 : Unable to open file in binary write mode\n//     -2 : Unable to open file in binary read mode\n//     -3 : Invalid parameters\n//     -4 : File does not exist\n//     -5 : Filename is too long (max. 255)\n//     -6 : Not a valid zip file\n//     -7 : Invalid extracted file size\n//     -8 : Unable to create directory\n//     -9 : Invalid archive extension\n//    -10 : Invalid archive format\n//    -11 : Unable to delete file (unlink)\n//    -12 : Unable to rename file (rename)\n//    -13 : Invalid header checksum\n//    -14 : Invalid archive size\ndefine('PCLZIP_ERR_USER_ABORTED', 2);\ndefine('PCLZIP_ERR_NO_ERROR', 0);\ndefine('PCLZIP_ERR_WRITE_OPEN_FAIL', -1);\ndefine('PCLZIP_ERR_READ_OPEN_FAIL', -2);\ndefine('PCLZIP_ERR_INVALID_PARAMETER', -3);\ndefine('PCLZIP_ERR_MISSING_FILE', -4);\ndefine('PCLZIP_ERR_FILENAME_TOO_LONG', -5);\ndefine('PCLZIP_ERR_INVALID_ZIP', -6);\ndefine('PCLZIP_ERR_BAD_EXTRACTED_FILE', -7);\ndefine('PCLZIP_ERR_DIR_CREATE_FAIL', -8);\ndefine('PCLZIP_ERR_BAD_EXTENSION', -9);\ndefine('PCLZIP_ERR_BAD_FORMAT', -10);\ndefine('PCLZIP_ERR_DELETE_FILE_FAIL', -11);\ndefine('PCLZIP_ERR_RENAME_FILE_FAIL', -12);\ndefine('PCLZIP_ERR_BAD_CHECKSUM', -13);\ndefine('PCLZIP_ERR_INVALID_ARCHIVE_ZIP', -14);\ndefine('PCLZIP_ERR_MISSING_OPTION_VALUE', -15);\ndefine('PCLZIP_ERR_INVALID_OPTION_VALUE', -16);\ndefine('PCLZIP_ERR_ALREADY_A_DIRECTORY', -17);\ndefine('PCLZIP_ERR_UNSUPPORTED_COMPRESSION', -18);\ndefine('PCLZIP_ERR_UNSUPPORTED_ENCRYPTION', -19);\ndefine('PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE', -20);\ndefine('PCLZIP_ERR_DIRECTORY_RESTRICTION', -21);\n\n// ----- Options values\ndefine('PCLZIP_OPT_PATH', 77001);\ndefine('PCLZIP_OPT_ADD_PATH', 77002);\ndefine('PCLZIP_OPT_REMOVE_PATH', 77003);\ndefine('PCLZIP_OPT_REMOVE_ALL_PATH', 77004);\ndefine('PCLZIP_OPT_SET_CHMOD', 77005);\ndefine('PCLZIP_OPT_EXTRACT_AS_STRING', 77006);\ndefine('PCLZIP_OPT_NO_COMPRESSION', 77007);\ndefine('PCLZIP_OPT_BY_NAME', 77008);\ndefine('PCLZIP_OPT_BY_INDEX', 77009);\ndefine('PCLZIP_OPT_BY_EREG', 77010);\ndefine('PCLZIP_OPT_BY_PREG', 77011);\ndefine('PCLZIP_OPT_COMMENT', 77012);\ndefine('PCLZIP_OPT_ADD_COMMENT', 77013);\ndefine('PCLZIP_OPT_PREPEND_COMMENT', 77014);\ndefine('PCLZIP_OPT_EXTRACT_IN_OUTPUT', 77015);\ndefine('PCLZIP_OPT_REPLACE_NEWER', 77016);\ndefine('PCLZIP_OPT_STOP_ON_ERROR', 77017);\n// Having big trouble with crypt. Need to multiply 2 long int\n// which is not correctly supported by PHP ...\n//define('PCLZIP_OPT_CRYPT', 77018);\ndefine('PCLZIP_OPT_EXTRACT_DIR_RESTRICTION', 77019);\ndefine('PCLZIP_OPT_TEMP_FILE_THRESHOLD', 77020);\ndefine('PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD', 77020); // alias\ndefine('PCLZIP_OPT_TEMP_FILE_ON', 77021);\ndefine('PCLZIP_OPT_ADD_TEMP_FILE_ON', 77021); // alias\ndefine('PCLZIP_OPT_TEMP_FILE_OFF', 77022);\ndefine('PCLZIP_OPT_ADD_TEMP_FILE_OFF', 77022); // alias\n\n// ----- File description attributes\ndefine('PCLZIP_ATT_FILE_NAME', 79001);\ndefine('PCLZIP_ATT_FILE_NEW_SHORT_NAME', 79002);\ndefine('PCLZIP_ATT_FILE_NEW_FULL_NAME', 79003);\ndefine('PCLZIP_ATT_FILE_MTIME', 79004);\ndefine('PCLZIP_ATT_FILE_CONTENT', 79005);\ndefine('PCLZIP_ATT_FILE_COMMENT', 79006);\n\n// ----- Call backs values\ndefine('PCLZIP_CB_PRE_EXTRACT', 78001);\ndefine('PCLZIP_CB_POST_EXTRACT', 78002);\ndefine('PCLZIP_CB_PRE_ADD', 78003);\ndefine('PCLZIP_CB_POST_ADD', 78004);\n/* For futur use\ndefine('PCLZIP_CB_PRE_LIST', 78005);\ndefine('PCLZIP_CB_POST_LIST', 78006);\ndefine('PCLZIP_CB_PRE_DELETE', 78007);\ndefine('PCLZIP_CB_POST_DELETE', 78008);\n*/\n\n// --------------------------------------------------------------------------------\n// Class : PclZip\n// Description :\n//     PclZip is the class that represent a Zip archive.\n//     The public methods allow the manipulation of the archive.\n// Attributes :\n//     Attributes must not be accessed directly.\n// Methods :\n//     PclZip() : Object creator\n//     create() : Creates the Zip archive\n//     listContent() : List the content of the Zip archive\n//     extract() : Extract the content of the archive\n//     properties() : List the properties of the archive\n// --------------------------------------------------------------------------------\nclass PclZip\n{\n    // ----- Filename of the zip file\n    public $zipname = '';\n\n    // ----- File descriptor of the zip file\n    public $zip_fd = 0;\n\n    // ----- Internal error handling\n    public $error_code = 1;\n    public $error_string = '';\n\n    // ----- Current status of the magic_quotes_runtime\n    // This value store the php configuration for magic_quotes\n    // The class can then disable the magic_quotes and reset it after\n    public $magic_quotes_status;\n\n    // --------------------------------------------------------------------------------\n    // Function : PclZip()\n    // Description :\n    //     Creates a PclZip object and set the name of the associated Zip archive\n    //     filename.\n    //     Note that no real action is taken, if the archive does not exist it is not\n    //     created. Use create() for that.\n    // --------------------------------------------------------------------------------\n    public function __construct($p_zipname)\n    {\n\n        // ----- Tests the zlib\n        if (!function_exists('gzopen')) {\n            die('Abort '.basename(__FILE__).' : Missing zlib extensions');\n        }\n\n        // ----- Set the attributes\n        $this->zipname = $p_zipname;\n        $this->zip_fd = 0;\n        $this->magic_quotes_status = -1;\n\n        // ----- Return\n        return;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function :\n    //     create($p_filelist, $p_add_dir=\"\", $p_remove_dir=\"\")\n    //     create($p_filelist, $p_option, $p_option_value, ...)\n    // Description :\n    //     This method supports two different synopsis. The first one is historical.\n    //     This method creates a Zip Archive. The Zip file is created in the\n    //     filesystem. The files and directories indicated in $p_filelist\n    //     are added in the archive. See the parameters description for the\n    //     supported format of $p_filelist.\n    //     When a directory is in the list, the directory and its content is added\n    //     in the archive.\n    //     In this synopsis, the function takes an optional variable list of\n    //     options. See bellow the supported options.\n    // Parameters :\n    //     $p_filelist : An array containing file or directory names, or\n    //                                 a string containing one filename or one directory name, or\n    //                                 a string containing a list of filenames and/or directory\n    //                                 names separated by spaces.\n    //     $p_add_dir : A path to add before the real path of the archived file,\n    //                                in order to have it memorized in the archive.\n    //     $p_remove_dir : A path to remove from the real path of the file to archive,\n    //                                     in order to have a shorter path memorized in the archive.\n    //                                     When $p_add_dir and $p_remove_dir are set, $p_remove_dir\n    //                                     is removed first, before $p_add_dir is added.\n    // Options :\n    //     PCLZIP_OPT_ADD_PATH :\n    //     PCLZIP_OPT_REMOVE_PATH :\n    //     PCLZIP_OPT_REMOVE_ALL_PATH :\n    //     PCLZIP_OPT_COMMENT :\n    //     PCLZIP_CB_PRE_ADD :\n    //     PCLZIP_CB_POST_ADD :\n    // Return Values :\n    //     0 on failure,\n    //     The list of the added files, with a status of the add action.\n    //     (see PclZip::listContent() for list entry format)\n    // --------------------------------------------------------------------------------\n    public function create($p_filelist)\n    {\n        $v_result=1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Set default values\n        $v_options = array();\n        $v_options[PCLZIP_OPT_NO_COMPRESSION] = false;\n\n        // ----- Look for variable options arguments\n        $v_size = func_num_args();\n\n        // ----- Look for arguments\n        if ($v_size > 1) {\n            // ----- Get the arguments\n            $v_arg_list = func_get_args();\n\n            // ----- Remove from the options list the first argument\n            array_shift($v_arg_list);\n            $v_size--;\n\n            // ----- Look for first arg\n            if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {\n                // ----- Parse the options\n                $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, array (\n                    PCLZIP_OPT_REMOVE_PATH => 'optional',\n                    PCLZIP_OPT_REMOVE_ALL_PATH => 'optional',\n                    PCLZIP_OPT_ADD_PATH => 'optional',\n                    PCLZIP_CB_PRE_ADD => 'optional',\n                    PCLZIP_CB_POST_ADD => 'optional',\n                    PCLZIP_OPT_NO_COMPRESSION => 'optional',\n                    PCLZIP_OPT_COMMENT => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_ON => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_OFF => 'optional'\n                    //, PCLZIP_OPT_CRYPT => 'optional'\n                ));\n                if ($v_result != 1) {\n                    return 0;\n                }\n            } else {\n                // ----- Look for 2 args\n                // Here we need to support the first historic synopsis of the\n                // method.\n                // ----- Get the first argument\n                $v_options[PCLZIP_OPT_ADD_PATH] = $v_arg_list[0];\n\n                // ----- Look for the optional second argument\n                if ($v_size == 2) {\n                    $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1];\n                } elseif ($v_size > 2) {\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid number / type of arguments\");\n                    return 0;\n                }\n            }\n        }\n\n        // ----- Look for default option values\n        $this->privOptionDefaultThreshold($v_options);\n\n        // ----- Init\n        $v_string_list = array();\n        $v_att_list = array();\n        $v_filedescr_list = array();\n        $p_result_list = array();\n\n        // ----- Look if the $p_filelist is really an array\n        if (is_array($p_filelist)) {\n            // ----- Look if the first element is also an array\n            //             This will mean that this is a file description entry\n            if (isset($p_filelist[0]) && is_array($p_filelist[0])) {\n                $v_att_list = $p_filelist;\n            } else {\n                // ----- The list is a list of string names\n                $v_string_list = $p_filelist;\n            }\n        } elseif (is_string($p_filelist)) {\n            // ----- Look if the $p_filelist is a string\n            // ----- Create a list from the string\n            $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist);\n        } else {\n            // ----- Invalid variable type for $p_filelist\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid variable type p_filelist\");\n            return 0;\n        }\n\n        // ----- Reformat the string list\n        if (sizeof($v_string_list) != 0) {\n            foreach ($v_string_list as $v_string) {\n                if ($v_string != '') {\n                    $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;\n                } else {\n                }\n            }\n        }\n\n        // ----- For each file in the list check the attributes\n        $v_supported_attributes = array(\n            PCLZIP_ATT_FILE_NAME => 'mandatory',\n            PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional',\n            PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional',\n            PCLZIP_ATT_FILE_MTIME => 'optional',\n            PCLZIP_ATT_FILE_CONTENT => 'optional',\n            PCLZIP_ATT_FILE_COMMENT => 'optional'\n        );\n        foreach ($v_att_list as $v_entry) {\n            $v_result = $this->privFileDescrParseAtt($v_entry, $v_filedescr_list[], $v_options, $v_supported_attributes);\n            if ($v_result != 1) {\n                return 0;\n            }\n        }\n\n        // ----- Expand the filelist (expand directories)\n        $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options);\n        if ($v_result != 1) {\n            return 0;\n        }\n\n        // ----- Call the create fct\n        $v_result = $this->privCreate($v_filedescr_list, $p_result_list, $v_options);\n        if ($v_result != 1) {\n            return 0;\n        }\n\n        // ----- Return\n        return $p_result_list;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function :\n    //     add($p_filelist, $p_add_dir=\"\", $p_remove_dir=\"\")\n    //     add($p_filelist, $p_option, $p_option_value, ...)\n    // Description :\n    //     This method supports two synopsis. The first one is historical.\n    //     This methods add the list of files in an existing archive.\n    //     If a file with the same name already exists, it is added at the end of the\n    //     archive, the first one is still present.\n    //     If the archive does not exist, it is created.\n    // Parameters :\n    //     $p_filelist : An array containing file or directory names, or\n    //                                 a string containing one filename or one directory name, or\n    //                                 a string containing a list of filenames and/or directory\n    //                                 names separated by spaces.\n    //     $p_add_dir : A path to add before the real path of the archived file,\n    //                                in order to have it memorized in the archive.\n    //     $p_remove_dir : A path to remove from the real path of the file to archive,\n    //                                     in order to have a shorter path memorized in the archive.\n    //                                     When $p_add_dir and $p_remove_dir are set, $p_remove_dir\n    //                                     is removed first, before $p_add_dir is added.\n    // Options :\n    //     PCLZIP_OPT_ADD_PATH :\n    //     PCLZIP_OPT_REMOVE_PATH :\n    //     PCLZIP_OPT_REMOVE_ALL_PATH :\n    //     PCLZIP_OPT_COMMENT :\n    //     PCLZIP_OPT_ADD_COMMENT :\n    //     PCLZIP_OPT_PREPEND_COMMENT :\n    //     PCLZIP_CB_PRE_ADD :\n    //     PCLZIP_CB_POST_ADD :\n    // Return Values :\n    //     0 on failure,\n    //     The list of the added files, with a status of the add action.\n    //     (see PclZip::listContent() for list entry format)\n    // --------------------------------------------------------------------------------\n    public function add($p_filelist)\n    {\n        $v_result=1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Set default values\n        $v_options = array();\n        $v_options[PCLZIP_OPT_NO_COMPRESSION] = false;\n\n        // ----- Look for variable options arguments\n        $v_size = func_num_args();\n\n        // ----- Look for arguments\n        if ($v_size > 1) {\n            // ----- Get the arguments\n            $v_arg_list = func_get_args();\n\n            // ----- Remove form the options list the first argument\n            array_shift($v_arg_list);\n            $v_size--;\n\n            // ----- Look for first arg\n            if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {\n                // ----- Parse the options\n                $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, array (\n                    PCLZIP_OPT_REMOVE_PATH => 'optional',\n                    PCLZIP_OPT_REMOVE_ALL_PATH => 'optional',\n                    PCLZIP_OPT_ADD_PATH => 'optional',\n                    PCLZIP_CB_PRE_ADD => 'optional',\n                    PCLZIP_CB_POST_ADD => 'optional',\n                    PCLZIP_OPT_NO_COMPRESSION => 'optional',\n                    PCLZIP_OPT_COMMENT => 'optional',\n                    PCLZIP_OPT_ADD_COMMENT => 'optional',\n                    PCLZIP_OPT_PREPEND_COMMENT => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_ON => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_OFF => 'optional'\n                    //, PCLZIP_OPT_CRYPT => 'optional'\n                ));\n                if ($v_result != 1) {\n                    return 0;\n                }\n            } else {\n                // ----- Look for 2 args\n                // Here we need to support the first historic synopsis of the\n                // method.\n                // ----- Get the first argument\n                $v_options[PCLZIP_OPT_ADD_PATH] = $v_add_path = $v_arg_list[0];\n\n                // ----- Look for the optional second argument\n                if ($v_size == 2) {\n                    $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1];\n                } elseif ($v_size > 2) {\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid number / type of arguments\");\n\n                    // ----- Return\n                    return 0;\n                }\n            }\n        }\n\n        // ----- Look for default option values\n        $this->privOptionDefaultThreshold($v_options);\n\n        // ----- Init\n        $v_string_list = array();\n        $v_att_list = array();\n        $v_filedescr_list = array();\n        $p_result_list = array();\n\n        // ----- Look if the $p_filelist is really an array\n        if (is_array($p_filelist)) {\n            // ----- Look if the first element is also an array\n            //             This will mean that this is a file description entry\n            if (isset($p_filelist[0]) && is_array($p_filelist[0])) {\n                $v_att_list = $p_filelist;\n            } else {\n                // ----- The list is a list of string names\n                $v_string_list = $p_filelist;\n            }\n        } elseif (is_string($p_filelist)) {\n            // ----- Look if the $p_filelist is a string\n            // ----- Create a list from the string\n            $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist);\n        } else {\n            // ----- Invalid variable type for $p_filelist\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid variable type '\".gettype($p_filelist).\"' for p_filelist\");\n            return 0;\n        }\n\n        // ----- Reformat the string list\n        if (sizeof($v_string_list) != 0) {\n            foreach ($v_string_list as $v_string) {\n                $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;\n            }\n        }\n\n        // ----- For each file in the list check the attributes\n        $v_supported_attributes = array(\n          PCLZIP_ATT_FILE_NAME => 'mandatory',\n          PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional',\n          PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional',\n          PCLZIP_ATT_FILE_MTIME => 'optional',\n          PCLZIP_ATT_FILE_CONTENT => 'optional',\n          PCLZIP_ATT_FILE_COMMENT => 'optional',\n        );\n        foreach ($v_att_list as $v_entry) {\n            $v_result = $this->privFileDescrParseAtt($v_entry, $v_filedescr_list[], $v_options, $v_supported_attributes);\n            if ($v_result != 1) {\n                return 0;\n            }\n        }\n\n        // ----- Expand the filelist (expand directories)\n        $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options);\n        if ($v_result != 1) {\n            return 0;\n        }\n\n        // ----- Call the create fct\n        $v_result = $this->privAdd($v_filedescr_list, $p_result_list, $v_options);\n        if ($v_result != 1) {\n            return 0;\n        }\n\n        // ----- Return\n        return $p_result_list;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : listContent()\n    // Description :\n    //     This public method, gives the list of the files and directories, with their\n    //     properties.\n    //     The properties of each entries in the list are (used also in other functions) :\n    //         filename : Name of the file. For a create or add action it is the filename\n    //                                given by the user. For an extract function it is the filename\n    //                                of the extracted file.\n    //         stored_filename : Name of the file / directory stored in the archive.\n    //         size : Size of the stored file.\n    //         compressed_size : Size of the file's data compressed in the archive\n    //                                             (without the headers overhead)\n    //         mtime : Last known modification date of the file (UNIX timestamp)\n    //         comment : Comment associated with the file\n    //         folder : true | false\n    //         index : index of the file in the archive\n    //         status : status of the action (depending of the action) :\n    //                            Values are :\n    //                                ok : OK !\n    //                                filtered : the file / dir is not extracted (filtered by user)\n    //                                already_a_directory : the file can not be extracted because a\n    //                                                                            directory with the same name already exists\n    //                                write_protected : the file can not be extracted because a file\n    //                                                                    with the same name already exists and is\n    //                                                                    write protected\n    //                                newer_exist : the file was not extracted because a newer file exists\n    //                                path_creation_fail : the file is not extracted because the folder\n    //                                                                         does not exist and can not be created\n    //                                write_error : the file was not extracted because there was a\n    //                                                            error while writing the file\n    //                                read_error : the file was not extracted because there was a error\n    //                                                         while reading the file\n    //                                invalid_header : the file was not extracted because of an archive\n    //                                                                 format error (bad file header)\n    //     Note that each time a method can continue operating when there\n    //     is an action error on a file, the error is only logged in the file status.\n    // Return Values :\n    //     0 on an unrecoverable failure,\n    //     The list of the files in the archive.\n    // --------------------------------------------------------------------------------\n    public function listContent()\n    {\n        $v_result=1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Check archive\n        if (!$this->privCheckFormat()) {\n            return(0);\n        }\n\n        // ----- Call the extracting fct\n        $p_list = array();\n        if (($v_result = $this->privList($p_list)) != 1) {\n            unset($p_list);\n            return(0);\n        }\n\n        // ----- Return\n        return $p_list;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function :\n    //     extract($p_path=\"./\", $p_remove_path=\"\")\n    //     extract([$p_option, $p_option_value, ...])\n    // Description :\n    //     This method supports two synopsis. The first one is historical.\n    //     This method extract all the files / directories from the archive to the\n    //     folder indicated in $p_path.\n    //     If you want to ignore the 'root' part of path of the memorized files\n    //     you can indicate this in the optional $p_remove_path parameter.\n    //     By default, if a newer file with the same name already exists, the\n    //     file is not extracted.\n    //\n    //     If both PCLZIP_OPT_PATH and PCLZIP_OPT_ADD_PATH aoptions\n    //     are used, the path indicated in PCLZIP_OPT_ADD_PATH is append\n    //     at the end of the path value of PCLZIP_OPT_PATH.\n    // Parameters :\n    //     $p_path : Path where the files and directories are to be extracted\n    //     $p_remove_path : First part ('root' part) of the memorized path\n    //                                        (if any similar) to remove while extracting.\n    // Options :\n    //     PCLZIP_OPT_PATH :\n    //     PCLZIP_OPT_ADD_PATH :\n    //     PCLZIP_OPT_REMOVE_PATH :\n    //     PCLZIP_OPT_REMOVE_ALL_PATH :\n    //     PCLZIP_CB_PRE_EXTRACT :\n    //     PCLZIP_CB_POST_EXTRACT :\n    // Return Values :\n    //     0 or a negative value on failure,\n    //     The list of the extracted files, with a status of the action.\n    //     (see PclZip::listContent() for list entry format)\n    // --------------------------------------------------------------------------------\n    public function extract()\n    {\n        $v_result=1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Check archive\n        if (!$this->privCheckFormat()) {\n            return(0);\n        }\n\n        // ----- Set default values\n        $v_options = array();\n    //        $v_path = \"./\";\n        $v_path = '';\n        $v_remove_path = \"\";\n        $v_remove_all_path = false;\n\n        // ----- Look for variable options arguments\n        $v_size = func_num_args();\n\n        // ----- Default values for option\n        $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = false;\n\n        // ----- Look for arguments\n        if ($v_size > 0) {\n            // ----- Get the arguments\n            $v_arg_list = func_get_args();\n\n            // ----- Look for first arg\n            if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {\n                // ----- Parse the options\n                $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, array (\n                  PCLZIP_OPT_PATH => 'optional',\n                  PCLZIP_OPT_REMOVE_PATH => 'optional',\n                  PCLZIP_OPT_REMOVE_ALL_PATH => 'optional',\n                  PCLZIP_OPT_ADD_PATH => 'optional',\n                  PCLZIP_CB_PRE_EXTRACT => 'optional',\n                  PCLZIP_CB_POST_EXTRACT => 'optional',\n                  PCLZIP_OPT_SET_CHMOD => 'optional',\n                  PCLZIP_OPT_BY_NAME => 'optional',\n                  PCLZIP_OPT_BY_EREG => 'optional',\n                  PCLZIP_OPT_BY_PREG => 'optional',\n                  PCLZIP_OPT_BY_INDEX => 'optional',\n                  PCLZIP_OPT_EXTRACT_AS_STRING => 'optional',\n                  PCLZIP_OPT_EXTRACT_IN_OUTPUT => 'optional',\n                  PCLZIP_OPT_REPLACE_NEWER => 'optional',\n                  PCLZIP_OPT_STOP_ON_ERROR => 'optional',\n                  PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional',\n                  PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional',\n                  PCLZIP_OPT_TEMP_FILE_ON => 'optional',\n                  PCLZIP_OPT_TEMP_FILE_OFF => 'optional'\n                ));\n                if ($v_result != 1) {\n                    return 0;\n                }\n\n                // ----- Set the arguments\n                if (isset($v_options[PCLZIP_OPT_PATH])) {\n                    $v_path = $v_options[PCLZIP_OPT_PATH];\n                }\n                if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) {\n                    $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH];\n                }\n                if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) {\n                    $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH];\n                }\n                if (isset($v_options[PCLZIP_OPT_ADD_PATH])) {\n                    // ----- Check for '/' in last path char\n                    if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) {\n                        $v_path .= '/';\n                    }\n                    $v_path .= $v_options[PCLZIP_OPT_ADD_PATH];\n                }\n            } else {\n                // ----- Look for 2 args\n                // Here we need to support the first historic synopsis of the\n                // method.\n                // ----- Get the first argument\n                $v_path = $v_arg_list[0];\n\n                // ----- Look for the optional second argument\n                if ($v_size == 2) {\n                    $v_remove_path = $v_arg_list[1];\n                } elseif ($v_size > 2) {\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid number / type of arguments\");\n\n                    // ----- Return\n                    return 0;\n                }\n            }\n        }\n\n        // ----- Look for default option values\n        $this->privOptionDefaultThreshold($v_options);\n\n        // ----- Trace\n\n        // ----- Call the extracting fct\n        $p_list = array();\n        $v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, $v_remove_all_path, $v_options);\n        if ($v_result < 1) {\n            unset($p_list);\n            return(0);\n        }\n\n        // ----- Return\n        return $p_list;\n    }\n    // --------------------------------------------------------------------------------\n\n\n    // --------------------------------------------------------------------------------\n    // Function :\n    //     extractByIndex($p_index, $p_path=\"./\", $p_remove_path=\"\")\n    //     extractByIndex($p_index, [$p_option, $p_option_value, ...])\n    // Description :\n    //     This method supports two synopsis. The first one is historical.\n    //     This method is doing a partial extract of the archive.\n    //     The extracted files or folders are identified by their index in the\n    //     archive (from 0 to n).\n    //     Note that if the index identify a folder, only the folder entry is\n    //     extracted, not all the files included in the archive.\n    // Parameters :\n    //     $p_index : A single index (integer) or a string of indexes of files to\n    //                            extract. The form of the string is \"0,4-6,8-12\" with only numbers\n    //                            and '-' for range or ',' to separate ranges. No spaces or ';'\n    //                            are allowed.\n    //     $p_path : Path where the files and directories are to be extracted\n    //     $p_remove_path : First part ('root' part) of the memorized path\n    //                                        (if any similar) to remove while extracting.\n    // Options :\n    //     PCLZIP_OPT_PATH :\n    //     PCLZIP_OPT_ADD_PATH :\n    //     PCLZIP_OPT_REMOVE_PATH :\n    //     PCLZIP_OPT_REMOVE_ALL_PATH :\n    //     PCLZIP_OPT_EXTRACT_AS_STRING : The files are extracted as strings and\n    //         not as files.\n    //         The resulting content is in a new field 'content' in the file\n    //         structure.\n    //         This option must be used alone (any other options are ignored).\n    //     PCLZIP_CB_PRE_EXTRACT :\n    //     PCLZIP_CB_POST_EXTRACT :\n    // Return Values :\n    //     0 on failure,\n    //     The list of the extracted files, with a status of the action.\n    //     (see PclZip::listContent() for list entry format)\n    // --------------------------------------------------------------------------------\n    //function extractByIndex($p_index, options...)\n    public function extractByIndex($p_index)\n    {\n        $v_result=1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Check archive\n        if (!$this->privCheckFormat()) {\n            return(0);\n        }\n\n        // ----- Set default values\n        $v_options = array();\n    //        $v_path = \"./\";\n        $v_path = '';\n        $v_remove_path = \"\";\n        $v_remove_all_path = false;\n\n        // ----- Look for variable options arguments\n        $v_size = func_num_args();\n\n        // ----- Default values for option\n        $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = false;\n\n        // ----- Look for arguments\n        if ($v_size > 1) {\n            // ----- Get the arguments\n            $v_arg_list = func_get_args();\n\n            // ----- Remove form the options list the first argument\n            array_shift($v_arg_list);\n            $v_size--;\n\n            // ----- Look for first arg\n            if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {\n                // ----- Parse the options\n                $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, array(\n                    PCLZIP_OPT_PATH => 'optional',\n                    PCLZIP_OPT_REMOVE_PATH => 'optional',\n                    PCLZIP_OPT_REMOVE_ALL_PATH => 'optional',\n                    PCLZIP_OPT_EXTRACT_AS_STRING => 'optional',\n                    PCLZIP_OPT_ADD_PATH => 'optional',\n                    PCLZIP_CB_PRE_EXTRACT => 'optional',\n                    PCLZIP_CB_POST_EXTRACT => 'optional',\n                    PCLZIP_OPT_SET_CHMOD => 'optional',\n                    PCLZIP_OPT_REPLACE_NEWER => 'optional',\n                    PCLZIP_OPT_STOP_ON_ERROR => 'optional',\n                    PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_ON => 'optional',\n                    PCLZIP_OPT_TEMP_FILE_OFF => 'optional'\n                ));\n                if ($v_result != 1) {\n                    return 0;\n                }\n\n                // ----- Set the arguments\n                if (isset($v_options[PCLZIP_OPT_PATH])) {\n                    $v_path = $v_options[PCLZIP_OPT_PATH];\n                }\n                if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) {\n                    $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH];\n                }\n                if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) {\n                    $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH];\n                }\n                if (isset($v_options[PCLZIP_OPT_ADD_PATH])) {\n                    // ----- Check for '/' in last path char\n                    if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) {\n                        $v_path .= '/';\n                    }\n                    $v_path .= $v_options[PCLZIP_OPT_ADD_PATH];\n                }\n                if (!isset($v_options[PCLZIP_OPT_EXTRACT_AS_STRING])) {\n                    $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = false;\n                } else {\n                }\n            } else {\n                // ----- Look for 2 args\n                // Here we need to support the first historic synopsis of the\n                // method.\n\n                // ----- Get the first argument\n                $v_path = $v_arg_list[0];\n\n                // ----- Look for the optional second argument\n                if ($v_size == 2) {\n                    $v_remove_path = $v_arg_list[1];\n                } elseif ($v_size > 2) {\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid number / type of arguments\");\n\n                    // ----- Return\n                    return 0;\n                }\n            }\n        }\n\n        // ----- Trace\n\n        // ----- Trick\n        // Here I want to reuse extractByRule(), so I need to parse the $p_index\n        // with privParseOptions()\n        $v_arg_trick = array (PCLZIP_OPT_BY_INDEX, $p_index);\n        $v_options_trick = array();\n        $v_result = $this->privParseOptions($v_arg_trick, sizeof($v_arg_trick), $v_options_trick, array (PCLZIP_OPT_BY_INDEX => 'optional'));\n        if ($v_result != 1) {\n            return 0;\n        }\n        $v_options[PCLZIP_OPT_BY_INDEX] = $v_options_trick[PCLZIP_OPT_BY_INDEX];\n\n        // ----- Look for default option values\n        $this->privOptionDefaultThreshold($v_options);\n\n        // ----- Call the extracting fct\n        if (($v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, $v_remove_all_path, $v_options)) < 1) {\n            return(0);\n        }\n\n        // ----- Return\n        return $p_list;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function :\n    //     delete([$p_option, $p_option_value, ...])\n    // Description :\n    //     This method removes files from the archive.\n    //     If no parameters are given, then all the archive is emptied.\n    // Parameters :\n    //     None or optional arguments.\n    // Options :\n    //     PCLZIP_OPT_BY_INDEX :\n    //     PCLZIP_OPT_BY_NAME :\n    //     PCLZIP_OPT_BY_EREG :\n    //     PCLZIP_OPT_BY_PREG :\n    // Return Values :\n    //     0 on failure,\n    //     The list of the files which are still present in the archive.\n    //     (see PclZip::listContent() for list entry format)\n    // --------------------------------------------------------------------------------\n    public function delete()\n    {\n        $v_result=1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Check archive\n        if (!$this->privCheckFormat()) {\n            return(0);\n        }\n\n        // ----- Set default values\n        $v_options = array();\n\n        // ----- Look for variable options arguments\n        $v_size = func_num_args();\n\n        // ----- Look for arguments\n        if ($v_size > 0) {\n            // ----- Get the arguments\n            $v_arg_list = func_get_args();\n\n            // ----- Parse the options\n            $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, array (\n                PCLZIP_OPT_BY_NAME => 'optional',\n                PCLZIP_OPT_BY_EREG => 'optional',\n                PCLZIP_OPT_BY_PREG => 'optional',\n                PCLZIP_OPT_BY_INDEX => 'optional'\n            ));\n            if ($v_result != 1) {\n                    return 0;\n            }\n        }\n\n        // ----- Magic quotes trick\n        $this->privDisableMagicQuotes();\n\n        // ----- Call the delete fct\n        $v_list = array();\n        if (($v_result = $this->privDeleteByRule($v_list, $v_options)) != 1) {\n            $this->privSwapBackMagicQuotes();\n            unset($v_list);\n            return(0);\n        }\n\n        // ----- Magic quotes trick\n        $this->privSwapBackMagicQuotes();\n\n        // ----- Return\n        return $v_list;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : deleteByIndex()\n    // Description :\n    //     ***** Deprecated *****\n    //     delete(PCLZIP_OPT_BY_INDEX, $p_index) should be prefered.\n    // --------------------------------------------------------------------------------\n    public function deleteByIndex($p_index)\n    {\n\n        $p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index);\n\n        // ----- Return\n        return $p_list;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : properties()\n    // Description :\n    //     This method gives the properties of the archive.\n    //     The properties are :\n    //         nb : Number of files in the archive\n    //         comment : Comment associated with the archive file\n    //         status : not_exist, ok\n    // Parameters :\n    //     None\n    // Return Values :\n    //     0 on failure,\n    //     An array with the archive properties.\n    // --------------------------------------------------------------------------------\n    public function properties()\n    {\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Magic quotes trick\n        $this->privDisableMagicQuotes();\n\n        // ----- Check archive\n        if (!$this->privCheckFormat()) {\n            $this->privSwapBackMagicQuotes();\n            return(0);\n        }\n\n        // ----- Default properties\n        $v_prop = array();\n        $v_prop['comment'] = '';\n        $v_prop['nb'] = 0;\n        $v_prop['status'] = 'not_exist';\n\n        // ----- Look if file exists\n        if (@is_file($this->zipname)) {\n            // ----- Open the zip file\n            if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) {\n                $this->privSwapBackMagicQuotes();\n\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \\''.$this->zipname.'\\' in binary read mode');\n\n                // ----- Return\n                return 0;\n            }\n\n            // ----- Read the central directory informations\n            $v_central_dir = array();\n            if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) {\n                $this->privSwapBackMagicQuotes();\n                return 0;\n            }\n\n            // ----- Close the zip file\n            $this->privCloseFd();\n\n            // ----- Set the user attributes\n            $v_prop['comment'] = $v_central_dir['comment'];\n            $v_prop['nb'] = $v_central_dir['entries'];\n            $v_prop['status'] = 'ok';\n        }\n\n        // ----- Magic quotes trick\n        $this->privSwapBackMagicQuotes();\n\n        // ----- Return\n        return $v_prop;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : duplicate()\n    // Description :\n    //     This method creates an archive by copying the content of an other one. If\n    //     the archive already exist, it is replaced by the new one without any warning.\n    // Parameters :\n    //     $p_archive : The filename of a valid archive, or\n    //                                a valid PclZip object.\n    // Return Values :\n    //     1 on success.\n    //     0 or a negative value on error (error code).\n    // --------------------------------------------------------------------------------\n    public function duplicate($p_archive)\n    {\n        $v_result = 1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Look if the $p_archive is a PclZip object\n        if ((is_object($p_archive)) && (get_class($p_archive) == 'pclzip')) {\n            // ----- Duplicate the archive\n            $v_result = $this->privDuplicate($p_archive->zipname);\n        } elseif (is_string($p_archive)) {\n            // ----- Look if the $p_archive is a string (so a filename)\n            // ----- Check that $p_archive is a valid zip file\n            // TBC : Should also check the archive format\n            if (!is_file($p_archive)) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, \"No file with filename '\".$p_archive.\"'\");\n                $v_result = PCLZIP_ERR_MISSING_FILE;\n            } else {\n                // ----- Duplicate the archive\n                $v_result = $this->privDuplicate($p_archive);\n            }\n        } else {\n            // ----- Invalid variable\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid variable type p_archive_to_add\");\n            $v_result = PCLZIP_ERR_INVALID_PARAMETER;\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : merge()\n    // Description :\n    //     This method merge the $p_archive_to_add archive at the end of the current\n    //     one ($this).\n    //     If the archive ($this) does not exist, the merge becomes a duplicate.\n    //     If the $p_archive_to_add archive does not exist, the merge is a success.\n    // Parameters :\n    //     $p_archive_to_add : It can be directly the filename of a valid zip archive,\n    //                                             or a PclZip object archive.\n    // Return Values :\n    //     1 on success,\n    //     0 or negative values on error (see below).\n    // --------------------------------------------------------------------------------\n    public function merge($p_archive_to_add)\n    {\n        $v_result = 1;\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Check archive\n        if (!$this->privCheckFormat()) {\n            return(0);\n        }\n\n        // ----- Look if the $p_archive_to_add is a PclZip object\n        if ((is_object($p_archive_to_add)) && (get_class($p_archive_to_add) == 'pclzip')) {\n            // ----- Merge the archive\n            $v_result = $this->privMerge($p_archive_to_add);\n        } elseif (is_string($p_archive_to_add)) {\n            // ----- Look if the $p_archive_to_add is a string (so a filename)\n            // ----- Create a temporary archive\n            $v_object_archive = new PclZip($p_archive_to_add);\n\n            // ----- Merge the archive\n            $v_result = $this->privMerge($v_object_archive);\n        } else {\n            // ----- Invalid variable\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid variable type p_archive_to_add\");\n            $v_result = PCLZIP_ERR_INVALID_PARAMETER;\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n\n\n    // --------------------------------------------------------------------------------\n    // Function : errorCode()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function errorCode()\n    {\n        if (PCLZIP_ERROR_EXTERNAL == 1) {\n            return(PclErrorCode());\n        } else {\n            return($this->error_code);\n        }\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : errorName()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function errorName($p_with_code = false)\n    {\n        $v_name = array(\n            PCLZIP_ERR_NO_ERROR => 'PCLZIP_ERR_NO_ERROR',\n            PCLZIP_ERR_WRITE_OPEN_FAIL => 'PCLZIP_ERR_WRITE_OPEN_FAIL',\n            PCLZIP_ERR_READ_OPEN_FAIL => 'PCLZIP_ERR_READ_OPEN_FAIL',\n            PCLZIP_ERR_INVALID_PARAMETER => 'PCLZIP_ERR_INVALID_PARAMETER',\n            PCLZIP_ERR_MISSING_FILE => 'PCLZIP_ERR_MISSING_FILE',\n            PCLZIP_ERR_FILENAME_TOO_LONG => 'PCLZIP_ERR_FILENAME_TOO_LONG',\n            PCLZIP_ERR_INVALID_ZIP => 'PCLZIP_ERR_INVALID_ZIP',\n            PCLZIP_ERR_BAD_EXTRACTED_FILE => 'PCLZIP_ERR_BAD_EXTRACTED_FILE',\n            PCLZIP_ERR_DIR_CREATE_FAIL => 'PCLZIP_ERR_DIR_CREATE_FAIL',\n            PCLZIP_ERR_BAD_EXTENSION => 'PCLZIP_ERR_BAD_EXTENSION',\n            PCLZIP_ERR_BAD_FORMAT => 'PCLZIP_ERR_BAD_FORMAT',\n            PCLZIP_ERR_DELETE_FILE_FAIL => 'PCLZIP_ERR_DELETE_FILE_FAIL',\n            PCLZIP_ERR_RENAME_FILE_FAIL => 'PCLZIP_ERR_RENAME_FILE_FAIL',\n            PCLZIP_ERR_BAD_CHECKSUM => 'PCLZIP_ERR_BAD_CHECKSUM',\n            PCLZIP_ERR_INVALID_ARCHIVE_ZIP => 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP',\n            PCLZIP_ERR_MISSING_OPTION_VALUE => 'PCLZIP_ERR_MISSING_OPTION_VALUE',\n            PCLZIP_ERR_INVALID_OPTION_VALUE => 'PCLZIP_ERR_INVALID_OPTION_VALUE',\n            PCLZIP_ERR_UNSUPPORTED_COMPRESSION => 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION',\n            PCLZIP_ERR_UNSUPPORTED_ENCRYPTION => 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION',\n            PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE => 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE',\n            PCLZIP_ERR_DIRECTORY_RESTRICTION => 'PCLZIP_ERR_DIRECTORY_RESTRICTION',\n        );\n\n        if (isset($v_name[$this->error_code])) {\n            $v_value = $v_name[$this->error_code];\n        } else {\n            $v_value = 'NoName';\n        }\n\n        if ($p_with_code) {\n            return($v_value.' ('.$this->error_code.')');\n        } else {\n            return($v_value);\n        }\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : errorInfo()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function errorInfo($p_full = false)\n    {\n        if (PCLZIP_ERROR_EXTERNAL == 1) {\n            return(PclErrorString());\n        } else {\n            if ($p_full) {\n                return($this->errorName(true).\" : \".$this->error_string);\n            } else {\n                return($this->error_string.\" [code \".$this->error_code.\"]\");\n            }\n        }\n    }\n    // --------------------------------------------------------------------------------\n\n\n    // --------------------------------------------------------------------------------\n    // ***** UNDER THIS LINE ARE DEFINED PRIVATE INTERNAL FUNCTIONS *****\n    // *****                                                                                                                *****\n    // *****             THESES FUNCTIONS MUST NOT BE USED DIRECTLY             *****\n    // --------------------------------------------------------------------------------\n\n\n\n    // --------------------------------------------------------------------------------\n    // Function : privCheckFormat()\n    // Description :\n    //     This method check that the archive exists and is a valid zip archive.\n    //     Several level of check exists. (futur)\n    // Parameters :\n    //     $p_level : Level of check. Default 0.\n    //                            0 : Check the first bytes (magic codes) (default value))\n    //                            1 : 0 + Check the central directory (futur)\n    //                            2 : 1 + Check each file header (futur)\n    // Return Values :\n    //     true on success,\n    //     false on error, the error code is set.\n    // --------------------------------------------------------------------------------\n    public function privCheckFormat($p_level = 0)\n    {\n        $v_result = true;\n\n        // ----- Reset the file system cache\n        clearstatcache();\n\n        // ----- Reset the error handler\n        $this->privErrorReset();\n\n        // ----- Look if the file exits\n        if (!is_file($this->zipname)) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, \"Missing archive file '\".$this->zipname.\"'\");\n            return(false);\n        }\n\n        // ----- Check that the file is readeable\n        if (!is_readable($this->zipname)) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, \"Unable to read archive '\".$this->zipname.\"'\");\n            return(false);\n        }\n\n        // ----- Check the magic code\n        // TBC\n\n        // ----- Check the central header\n        // TBC\n\n        // ----- Check each file header\n        // TBC\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privParseOptions()\n    // Description :\n    //     This internal methods reads the variable list of arguments ($p_options_list,\n    //     $p_size) and generate an array with the options and values ($v_result_list).\n    //     $v_requested_options contains the options that can be present and those that\n    //     must be present.\n    //     $v_requested_options is an array, with the option value as key, and 'optional',\n    //     or 'mandatory' as value.\n    // Parameters :\n    //     See above.\n    // Return Values :\n    //     1 on success.\n    //     0 on failure.\n    // --------------------------------------------------------------------------------\n    public function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options = false)\n    {\n        $v_result=1;\n\n        // ----- Read the options\n        $i=0;\n        while ($i<$p_size) {\n            // ----- Check if the option is supported\n            if (!isset($v_requested_options[$p_options_list[$i]])) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid optional parameter '\".$p_options_list[$i].\"' for this method\");\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n\n            // ----- Look for next option\n            switch ($p_options_list[$i]) {\n                // ----- Look for options that request a path value\n                case PCLZIP_OPT_PATH:\n                case PCLZIP_OPT_REMOVE_PATH:\n                case PCLZIP_OPT_ADD_PATH:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], false);\n                    $i++;\n                    break;\n\n                case PCLZIP_OPT_TEMP_FILE_THRESHOLD:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Check for incompatible options\n                    if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Option '\".PclZipUtilOptionText($p_options_list[$i]).\"' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'\");\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Check the value\n                    $v_value = $p_options_list[$i+1];\n                    if ((!is_integer($v_value)) || ($v_value<0)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Integer expected for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value (and convert it in bytes)\n                    $v_result_list[$p_options_list[$i]] = $v_value*1048576;\n                    $i++;\n                    break;\n\n                case PCLZIP_OPT_TEMP_FILE_ON:\n                    // ----- Check for incompatible options\n                    if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Option '\".PclZipUtilOptionText($p_options_list[$i]).\"' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'\");\n                        return PclZip::errorCode();\n                    }\n\n                    $v_result_list[$p_options_list[$i]] = true;\n                    break;\n\n                case PCLZIP_OPT_TEMP_FILE_OFF:\n                    // ----- Check for incompatible options\n                    if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_ON])) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Option '\".PclZipUtilOptionText($p_options_list[$i]).\"' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'\");\n                        return PclZip::errorCode();\n                    }\n                    // ----- Check for incompatible options\n                    if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Option '\".PclZipUtilOptionText($p_options_list[$i]).\"' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'\");\n                        return PclZip::errorCode();\n                    }\n                    $v_result_list[$p_options_list[$i]] = true;\n                    break;\n\n                case PCLZIP_OPT_EXTRACT_DIR_RESTRICTION:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    if (is_string($p_options_list[$i+1]) && ($p_options_list[$i+1] != '')) {\n                        $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], false);\n                        $i++;\n                    } else {\n                    }\n                    break;\n                // ----- Look for options that request an array of string for value\n                case PCLZIP_OPT_BY_NAME:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    if (is_string($p_options_list[$i+1])) {\n                            $v_result_list[$p_options_list[$i]][0] = $p_options_list[$i+1];\n                    } elseif (is_array($p_options_list[$i+1])) {\n                            $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];\n                    } else {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Wrong parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n                    $i++;\n                    break;\n                // ----- Look for options that request an EREG or PREG expression\n                case PCLZIP_OPT_BY_EREG:\n                    // ereg() is deprecated starting with PHP 5.3. Move PCLZIP_OPT_BY_EREG\n                    // to PCLZIP_OPT_BY_PREG\n                    $p_options_list[$i] = PCLZIP_OPT_BY_PREG;\n                case PCLZIP_OPT_BY_PREG:\n                //case PCLZIP_OPT_CRYPT :\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    if (is_string($p_options_list[$i+1])) {\n                            $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];\n                    } else {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Wrong parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n                    $i++;\n                    break;\n\n                // ----- Look for options that takes a string\n                case PCLZIP_OPT_COMMENT:\n                case PCLZIP_OPT_ADD_COMMENT:\n                case PCLZIP_OPT_PREPEND_COMMENT:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    if (is_string($p_options_list[$i+1])) {\n                            $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];\n                    } else {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Wrong parameter value for option '\" .PclZipUtilOptionText($p_options_list[$i]) .\"'\");\n\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n                    $i++;\n                    break;\n\n                // ----- Look for options that request an array of index\n                case PCLZIP_OPT_BY_INDEX:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    $v_work_list = array();\n                    if (is_string($p_options_list[$i+1])) {\n                        // ----- Remove spaces\n                        $p_options_list[$i+1] = strtr($p_options_list[$i+1], ' ', '');\n\n                        // ----- Parse items\n                        $v_work_list = explode(\",\", $p_options_list[$i+1]);\n                    } elseif (is_integer($p_options_list[$i+1])) {\n                            $v_work_list[0] = $p_options_list[$i+1].'-'.$p_options_list[$i+1];\n                    } elseif (is_array($p_options_list[$i+1])) {\n                            $v_work_list = $p_options_list[$i+1];\n                    } else {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Value must be integer, string or array for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Reduce the index list\n                    // each index item in the list must be a couple with a start and\n                    // an end value : [0,3], [5-5], [8-10], ...\n                    // ----- Check the format of each item\n                    $v_sort_flag=false;\n                    $v_sort_value=0;\n                    for ($j=0; $j<sizeof($v_work_list); $j++) {\n                        // ----- Explode the item\n                        $v_item_list = explode(\"-\", $v_work_list[$j]);\n                        $v_size_item_list = sizeof($v_item_list);\n\n                        // ----- TBC : Here we might check that each item is a\n                        // real integer ...\n\n                        // ----- Look for single value\n                        if ($v_size_item_list == 1) {\n                            // ----- Set the option value\n                            $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0];\n                            $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[0];\n                        } elseif ($v_size_item_list == 2) {\n                            // ----- Set the option value\n                            $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0];\n                            $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[1];\n                        } else {\n                            // ----- Error log\n                            PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Too many values in index range for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n\n                            // ----- Return\n                            return PclZip::errorCode();\n                        }\n\n\n                        // ----- Look for list sort\n                        if ($v_result_list[$p_options_list[$i]][$j]['start'] < $v_sort_value) {\n                            $v_sort_flag=true;\n\n                            // ----- TBC : An automatic sort should be writen ...\n                            // ----- Error log\n                            PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Invalid order of index range for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n\n                            // ----- Return\n                            return PclZip::errorCode();\n                        }\n                        $v_sort_value = $v_result_list[$p_options_list[$i]][$j]['start'];\n                    }\n\n                    // ----- Sort the items\n                    if ($v_sort_flag) {\n                        // TBC : To Be Completed\n                    }\n                    // ----- Next option\n                    $i++;\n                    break;\n                // ----- Look for options that request no value\n                case PCLZIP_OPT_REMOVE_ALL_PATH:\n                case PCLZIP_OPT_EXTRACT_AS_STRING:\n                case PCLZIP_OPT_NO_COMPRESSION:\n                case PCLZIP_OPT_EXTRACT_IN_OUTPUT:\n                case PCLZIP_OPT_REPLACE_NEWER:\n                case PCLZIP_OPT_STOP_ON_ERROR:\n                    $v_result_list[$p_options_list[$i]] = true;\n                    break;\n                // ----- Look for options that request an octal value\n                case PCLZIP_OPT_SET_CHMOD:\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n                    // ----- Get the value\n                    $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1];\n                    $i++;\n                    break;\n\n                // ----- Look for options that request a call-back\n                case PCLZIP_CB_PRE_EXTRACT:\n                case PCLZIP_CB_POST_EXTRACT:\n                case PCLZIP_CB_PRE_ADD:\n                case PCLZIP_CB_POST_ADD:\n                /* for futur use\n                case PCLZIP_CB_PRE_DELETE :\n                case PCLZIP_CB_POST_DELETE :\n                case PCLZIP_CB_PRE_LIST :\n                case PCLZIP_CB_POST_LIST :\n                */\n                    // ----- Check the number of parameters\n                    if (($i+1) >= $p_size) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, \"Missing parameter value for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Get the value\n                    $v_function_name = $p_options_list[$i+1];\n\n                    // ----- Check that the value is a valid existing function\n                    if (!function_exists($v_function_name)) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, \"Function '\".$v_function_name.\"()' is not an existing function for option '\".PclZipUtilOptionText($p_options_list[$i]).\"'\");\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Set the attribute\n                    $v_result_list[$p_options_list[$i]] = $v_function_name;\n                    $i++;\n                    break;\n                default:\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Unknown parameter '\" .$p_options_list[$i].\"'\");\n\n                    // ----- Return\n                    return PclZip::errorCode();\n            }\n\n            // ----- Next options\n            $i++;\n        }\n\n        // ----- Look for mandatory options\n        if ($v_requested_options !== false) {\n            for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) {\n                // ----- Look for mandatory option\n                if ($v_requested_options[$key] == 'mandatory') {\n                    // ----- Look if present\n                    if (!isset($v_result_list[$key])) {\n                        // ----- Error log\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Missing mandatory parameter \".PclZipUtilOptionText($key).\"(\".$key.\")\");\n\n                        // ----- Return\n                        return PclZip::errorCode();\n                    }\n                }\n            }\n        }\n\n        // ----- Look for default values\n        if (!isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) {\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privOptionDefaultThreshold()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privOptionDefaultThreshold(&$p_options)\n    {\n        $v_result=1;\n\n        if (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) || isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) {\n            return $v_result;\n        }\n\n        // ----- Get 'memory_limit' configuration value\n        $v_memory_limit = ini_get('memory_limit');\n        $v_memory_limit = trim($v_memory_limit);\n        $last = strtolower(substr($v_memory_limit, -1));\n\n        if ($last == 'g') {\n            //$v_memory_limit = $v_memory_limit*1024*1024*1024;\n            $v_memory_limit = $v_memory_limit*1073741824;\n        }\n        if ($last == 'm') {\n            //$v_memory_limit = $v_memory_limit*1024*1024;\n            $v_memory_limit = $v_memory_limit*1048576;\n        }\n        if ($last == 'k') {\n            $v_memory_limit = $v_memory_limit*1024;\n        }\n\n        $p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] = floor($v_memory_limit*PCLZIP_TEMPORARY_FILE_RATIO);\n\n        // ----- Sanity check : No threshold if value lower than 1M\n        if ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] < 1048576) {\n            unset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]);\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privFileDescrParseAtt()\n    // Description :\n    // Parameters :\n    // Return Values :\n    //     1 on success.\n    //     0 on failure.\n    // --------------------------------------------------------------------------------\n    public function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requested_options = false)\n    {\n        $v_result=1;\n\n        // ----- For each file in the list check the attributes\n        foreach ($p_file_list as $v_key => $v_value) {\n            // ----- Check if the option is supported\n            if (!isset($v_requested_options[$v_key])) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid file attribute '\".$v_key.\"' for this file\");\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n\n            // ----- Look for attribute\n            switch ($v_key) {\n                case PCLZIP_ATT_FILE_NAME:\n                    if (!is_string($v_value)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid type \".gettype($v_value).\". String expected for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n\n                    $p_filedescr['filename'] = PclZipUtilPathReduction($v_value);\n\n                    if ($p_filedescr['filename'] == '') {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid empty filename for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n                    break;\n                case PCLZIP_ATT_FILE_NEW_SHORT_NAME:\n                    if (!is_string($v_value)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid type \".gettype($v_value).\". String expected for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n\n                    $p_filedescr['new_short_name'] = PclZipUtilPathReduction($v_value);\n\n                    if ($p_filedescr['new_short_name'] == '') {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid empty short filename for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n                    break;\n                case PCLZIP_ATT_FILE_NEW_FULL_NAME:\n                    if (!is_string($v_value)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid type \".gettype($v_value).\". String expected for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n\n                    $p_filedescr['new_full_name'] = PclZipUtilPathReduction($v_value);\n\n                    if ($p_filedescr['new_full_name'] == '') {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid empty full filename for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n                    break;\n                // ----- Look for options that takes a string\n                case PCLZIP_ATT_FILE_COMMENT:\n                    if (!is_string($v_value)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid type \".gettype($v_value).\". String expected for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n                    $p_filedescr['comment'] = $v_value;\n                    break;\n                case PCLZIP_ATT_FILE_MTIME:\n                    if (!is_integer($v_value)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, \"Invalid type \".gettype($v_value).\". Integer expected for attribute '\".PclZipUtilOptionText($v_key).\"'\");\n                        return PclZip::errorCode();\n                    }\n                    $p_filedescr['mtime'] = $v_value;\n                    break;\n                case PCLZIP_ATT_FILE_CONTENT:\n                    $p_filedescr['content'] = $v_value;\n                    break;\n                default:\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Unknown parameter '\".$v_key.\"'\");\n\n                    // ----- Return\n                    return PclZip::errorCode();\n            }\n\n            // ----- Look for mandatory options\n            if ($v_requested_options !== false) {\n                for ($key = reset($v_requested_options); $key = key($v_requested_options); $key = next($v_requested_options)) {\n                    // ----- Look for mandatory option\n                    if ($v_requested_options[$key] == 'mandatory') {\n                        // ----- Look if present\n                        if (!isset($p_file_list[$key])) {\n                            PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Missing mandatory parameter \".PclZipUtilOptionText($key).\"(\".$key.\")\");\n                            return PclZip::errorCode();\n                        }\n                    }\n                }\n            }\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privFileDescrExpand()\n    // Description :\n    //     This method look for each item of the list to see if its a file, a folder\n    //     or a string to be added as file. For any other type of files (link, other)\n    //     just ignore the item.\n    //     Then prepare the information that will be stored for that file.\n    //     When its a folder, expand the folder with all the files that are in that\n    //     folder (recursively).\n    // Parameters :\n    // Return Values :\n    //     1 on success.\n    //     0 on failure.\n    // --------------------------------------------------------------------------------\n    public function privFileDescrExpand(&$p_filedescr_list, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Create a result list\n        $v_result_list = array();\n\n        // ----- Look each entry\n        for ($i=0; $i<sizeof($p_filedescr_list); $i++) {\n            // ----- Get filedescr\n            $v_descr = $p_filedescr_list[$i];\n\n            // ----- Reduce the filename\n            $v_descr['filename'] = PclZipUtilTranslateWinPath($v_descr['filename'], false);\n            $v_descr['filename'] = PclZipUtilPathReduction($v_descr['filename']);\n\n            // ----- Look for real file or folder\n            if (file_exists($v_descr['filename'])) {\n                if (@is_file($v_descr['filename'])) {\n                    $v_descr['type'] = 'file';\n                } elseif (@is_dir($v_descr['filename'])) {\n                    $v_descr['type'] = 'folder';\n                } elseif (@is_link($v_descr['filename'])) {\n                    // skip\n                    continue;\n                } else {\n                    // skip\n                    continue;\n                }\n            } elseif (isset($v_descr['content'])) {\n                // ----- Look for string added as file\n                $v_descr['type'] = 'virtual_file';\n            } else {\n                // ----- Missing file\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, \"File '\".$v_descr['filename'].\"' does not exist\");\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n\n            // ----- Calculate the stored filename\n            $this->privCalculateStoredFilename($v_descr, $p_options);\n\n            // ----- Add the descriptor in result list\n            $v_result_list[sizeof($v_result_list)] = $v_descr;\n\n            // ----- Look for folder\n            if ($v_descr['type'] == 'folder') {\n                // ----- List of items in folder\n                $v_dirlist_descr = array();\n                $v_dirlist_nb = 0;\n                if ($v_folder_handler = @opendir($v_descr['filename'])) {\n                    while (($v_item_handler = @readdir($v_folder_handler)) !== false) {\n                        // ----- Skip '.' and '..'\n                        if (($v_item_handler == '.') || ($v_item_handler == '..')) {\n                                continue;\n                        }\n\n                        // ----- Compose the full filename\n                        $v_dirlist_descr[$v_dirlist_nb]['filename'] = $v_descr['filename'].'/'.$v_item_handler;\n\n                        // ----- Look for different stored filename\n                        // Because the name of the folder was changed, the name of the\n                        // files/sub-folders also change\n                        if (($v_descr['stored_filename'] != $v_descr['filename'])\n                                 && (!isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]))) {\n                            if ($v_descr['stored_filename'] != '') {\n                                $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_descr['stored_filename'].'/'.$v_item_handler;\n                            } else {\n                                $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_item_handler;\n                            }\n                        }\n                        $v_dirlist_nb++;\n                    }\n\n                    @closedir($v_folder_handler);\n                } else {\n                    // TBC : unable to open folder in read mode\n                }\n\n                // ----- Expand each element of the list\n                if ($v_dirlist_nb != 0) {\n                    // ----- Expand\n                    if (($v_result = $this->privFileDescrExpand($v_dirlist_descr, $p_options)) != 1) {\n                        return $v_result;\n                    }\n\n                    // ----- Concat the resulting list\n                    $v_result_list = array_merge($v_result_list, $v_dirlist_descr);\n                }\n\n                // ----- Free local array\n                unset($v_dirlist_descr);\n            }\n        }\n\n        // ----- Get the result list\n        $p_filedescr_list = $v_result_list;\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privCreate()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privCreate($p_filedescr_list, &$p_result_list, &$p_options)\n    {\n        $v_result=1;\n        $v_list_detail = array();\n\n        // ----- Magic quotes trick\n        $this->privDisableMagicQuotes();\n\n        // ----- Open the file in write mode\n        if (($v_result = $this->privOpenFd('wb')) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Add the list of files\n        $v_result = $this->privAddList($p_filedescr_list, $p_result_list, $p_options);\n\n        // ----- Close\n        $this->privCloseFd();\n\n        // ----- Magic quotes trick\n        $this->privSwapBackMagicQuotes();\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privAdd()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privAdd($p_filedescr_list, &$p_result_list, &$p_options)\n    {\n        $v_result=1;\n        $v_list_detail = array();\n\n        // ----- Look if the archive exists or is empty\n        if ((!is_file($this->zipname)) || (filesize($this->zipname) == 0)) {\n            // ----- Do a create\n            $v_result = $this->privCreate($p_filedescr_list, $p_result_list, $p_options);\n\n            // ----- Return\n            return $v_result;\n        }\n        // ----- Magic quotes trick\n        $this->privDisableMagicQuotes();\n\n        // ----- Open the zip file\n        if (($v_result=$this->privOpenFd('rb')) != 1) {\n            // ----- Magic quotes trick\n            $this->privSwapBackMagicQuotes();\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Read the central directory informations\n        $v_central_dir = array();\n        if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) {\n            $this->privCloseFd();\n            $this->privSwapBackMagicQuotes();\n            return $v_result;\n        }\n\n        // ----- Go to beginning of File\n        @rewind($this->zip_fd);\n\n        // ----- Creates a temporay file\n        $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp';\n\n        // ----- Open the temporary file in write mode\n        if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) {\n            $this->privCloseFd();\n            $this->privSwapBackMagicQuotes();\n\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \\''.$v_zip_temp_name.'\\' in binary write mode');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Copy the files from the archive to the temporary file\n        // TBC : Here I should better append the file and go back to erase the central dir\n        $v_size = $v_central_dir['offset'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = fread($this->zip_fd, $v_read_size);\n            @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Swap the file descriptor\n        // Here is a trick : I swap the temporary fd with the zip fd, in order to use\n        // the following methods on the temporary fil and not the real archive\n        $v_swap = $this->zip_fd;\n        $this->zip_fd = $v_zip_temp_fd;\n        $v_zip_temp_fd = $v_swap;\n\n        // ----- Add the files\n        $v_header_list = array();\n        if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) {\n            fclose($v_zip_temp_fd);\n            $this->privCloseFd();\n            @unlink($v_zip_temp_name);\n            $this->privSwapBackMagicQuotes();\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Store the offset of the central dir\n        $v_offset = @ftell($this->zip_fd);\n\n        // ----- Copy the block of file headers from the old archive\n        $v_size = $v_central_dir['size'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($v_zip_temp_fd, $v_read_size);\n            @fwrite($this->zip_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Create the Central Dir files header\n        for ($i=0, $v_count=0; $i<sizeof($v_header_list); $i++) {\n            // ----- Create the file header\n            if ($v_header_list[$i]['status'] == 'ok') {\n                if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) {\n                    fclose($v_zip_temp_fd);\n                    $this->privCloseFd();\n                    @unlink($v_zip_temp_name);\n                    $this->privSwapBackMagicQuotes();\n\n                    // ----- Return\n                    return $v_result;\n                }\n                $v_count++;\n            }\n\n            // ----- Transform the header to a 'usable' info\n            $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]);\n        }\n\n        // ----- Zip file comment\n        $v_comment = $v_central_dir['comment'];\n        if (isset($p_options[PCLZIP_OPT_COMMENT])) {\n            $v_comment = $p_options[PCLZIP_OPT_COMMENT];\n        }\n        if (isset($p_options[PCLZIP_OPT_ADD_COMMENT])) {\n            $v_comment = $v_comment.$p_options[PCLZIP_OPT_ADD_COMMENT];\n        }\n        if (isset($p_options[PCLZIP_OPT_PREPEND_COMMENT])) {\n            $v_comment = $p_options[PCLZIP_OPT_PREPEND_COMMENT].$v_comment;\n        }\n\n        // ----- Calculate the size of the central header\n        $v_size = @ftell($this->zip_fd)-$v_offset;\n\n        // ----- Create the central dir footer\n        if (($v_result = $this->privWriteCentralHeader($v_count+$v_central_dir['entries'], $v_size, $v_offset, $v_comment)) != 1) {\n            // ----- Reset the file list\n            unset($v_header_list);\n            $this->privSwapBackMagicQuotes();\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Swap back the file descriptor\n        $v_swap = $this->zip_fd;\n        $this->zip_fd = $v_zip_temp_fd;\n        $v_zip_temp_fd = $v_swap;\n\n        // ----- Close\n        $this->privCloseFd();\n\n        // ----- Close the temporary file\n        @fclose($v_zip_temp_fd);\n\n        // ----- Magic quotes trick\n        $this->privSwapBackMagicQuotes();\n\n        // ----- Delete the zip file\n        // TBC : I should test the result ...\n        @unlink($this->zipname);\n\n        // ----- Rename the temporary file\n        // TBC : I should test the result ...\n        //@rename($v_zip_temp_name, $this->zipname);\n        PclZipUtilRename($v_zip_temp_name, $this->zipname);\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privOpenFd()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function privOpenFd($p_mode)\n    {\n        $v_result=1;\n\n        // ----- Look if already open\n        if ($this->zip_fd != 0) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Zip file \\''.$this->zipname.'\\' already open');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Open the zip file\n        if (($this->zip_fd = @fopen($this->zipname, $p_mode)) == 0) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \\''.$this->zipname.'\\' in '.$p_mode.' mode');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privCloseFd()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function privCloseFd()\n    {\n        $v_result=1;\n\n        if ($this->zip_fd != 0) {\n            @fclose($this->zip_fd);\n        }\n        $this->zip_fd = 0;\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privAddList()\n    // Description :\n    //     $p_add_dir and $p_remove_dir will give the ability to memorize a path which is\n    //     different from the real path of the file. This is usefull if you want to have PclTar\n    //     running in any directory, and memorize relative path from an other directory.\n    // Parameters :\n    //     $p_list : An array containing the file or directory names to add in the tar\n    //     $p_result_list : list of added files with their properties (specially the status field)\n    //     $p_add_dir : Path to add in the filename path archived\n    //     $p_remove_dir : Path to remove in the filename path archived\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    //    public function privAddList($p_list, &$p_result_list, $p_add_dir, $p_remove_dir, $p_remove_all_dir, &$p_options)\n    public function privAddList($p_filedescr_list, &$p_result_list, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Add the files\n        $v_header_list = array();\n        if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Store the offset of the central dir\n        $v_offset = @ftell($this->zip_fd);\n\n        // ----- Create the Central Dir files header\n        for ($i=0, $v_count=0; $i<sizeof($v_header_list); $i++) {\n            // ----- Create the file header\n            if ($v_header_list[$i]['status'] == 'ok') {\n                if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) {\n                    // ----- Return\n                    return $v_result;\n                }\n                $v_count++;\n            }\n\n            // ----- Transform the header to a 'usable' info\n            $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]);\n        }\n\n        // ----- Zip file comment\n        $v_comment = '';\n        if (isset($p_options[PCLZIP_OPT_COMMENT])) {\n            $v_comment = $p_options[PCLZIP_OPT_COMMENT];\n        }\n\n        // ----- Calculate the size of the central header\n        $v_size = @ftell($this->zip_fd)-$v_offset;\n\n        // ----- Create the central dir footer\n        if (($v_result = $this->privWriteCentralHeader($v_count, $v_size, $v_offset, $v_comment)) != 1) {\n            // ----- Reset the file list\n            unset($v_header_list);\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privAddFileList()\n    // Description :\n    // Parameters :\n    //     $p_filedescr_list : An array containing the file description\n    //                                            or directory names to add in the zip\n    //     $p_result_list : list of added files with their properties (specially the status field)\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options)\n    {\n        $v_result=1;\n        $v_header = array();\n\n        // ----- Recuperate the current number of elt in list\n        $v_nb = sizeof($p_result_list);\n\n        // ----- Loop on the files\n        for ($j=0; ($j<sizeof($p_filedescr_list)) && ($v_result==1); $j++) {\n            // ----- Format the filename\n            $p_filedescr_list[$j]['filename'] = PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false);\n\n            // ----- Skip empty file names\n            // TBC : Can this be possible ? not checked in DescrParseAtt ?\n            if ($p_filedescr_list[$j]['filename'] == \"\") {\n                continue;\n            }\n\n            // ----- Check the filename\n            if (($p_filedescr_list[$j]['type'] != 'virtual_file') && (!file_exists($p_filedescr_list[$j]['filename']))) {\n                PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, \"File '\".$p_filedescr_list[$j]['filename'].\"' does not exist\");\n                return PclZip::errorCode();\n            }\n\n            // ----- Look if it is a file or a dir with no all path remove option\n            // or a dir with all its path removed\n    //            if (    (is_file($p_filedescr_list[$j]['filename']))\n    //                    || (    is_dir($p_filedescr_list[$j]['filename'])\n            if (($p_filedescr_list[$j]['type'] == 'file') || ($p_filedescr_list[$j]['type'] == 'virtual_file') || (($p_filedescr_list[$j]['type'] == 'folder') && (!isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]) || !$p_options[PCLZIP_OPT_REMOVE_ALL_PATH]))) {\n                // ----- Add the file\n                $v_result = $this->privAddFile($p_filedescr_list[$j], $v_header, $p_options);\n                if ($v_result != 1) {\n                    return $v_result;\n                }\n\n                // ----- Store the file infos\n                $p_result_list[$v_nb++] = $v_header;\n            }\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privAddFile()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privAddFile($p_filedescr, &$p_header, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Working variable\n        $p_filename = $p_filedescr['filename'];\n\n        // TBC : Already done in the fileAtt check ... ?\n        if ($p_filename == \"\") {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, \"Invalid file list parameter (invalid or empty list)\");\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Look for a stored different filename\n        /* TBC : Removed\n        if (isset($p_filedescr['stored_filename'])) {\n            $v_stored_filename = $p_filedescr['stored_filename'];\n        }\n        else {\n            $v_stored_filename = $p_filedescr['stored_filename'];\n        }\n        */\n\n        // ----- Set the file properties\n        clearstatcache();\n        $p_header['version'] = 20;\n        $p_header['version_extracted'] = 10;\n        $p_header['flag'] = 0;\n        $p_header['compression'] = 0;\n        $p_header['crc'] = 0;\n        $p_header['compressed_size'] = 0;\n        $p_header['filename_len'] = strlen($p_filename);\n        $p_header['extra_len'] = 0;\n        $p_header['disk'] = 0;\n        $p_header['internal'] = 0;\n        $p_header['offset'] = 0;\n        $p_header['filename'] = $p_filename;\n    // TBC : Removed        $p_header['stored_filename'] = $v_stored_filename;\n        $p_header['stored_filename'] = $p_filedescr['stored_filename'];\n        $p_header['extra'] = '';\n        $p_header['status'] = 'ok';\n        $p_header['index'] = -1;\n\n        // ----- Look for regular file\n        if ($p_filedescr['type']=='file') {\n            $p_header['external'] = 0x00000000;\n            $p_header['size'] = filesize($p_filename);\n        } elseif ($p_filedescr['type']=='folder') {\n            // ----- Look for regular folder\n            $p_header['external'] = 0x00000010;\n            $p_header['mtime'] = filemtime($p_filename);\n            $p_header['size'] = filesize($p_filename);\n        } elseif ($p_filedescr['type'] == 'virtual_file') {\n            // ----- Look for virtual file\n            $p_header['external'] = 0x00000000;\n            $p_header['size'] = strlen($p_filedescr['content']);\n        }\n\n        // ----- Look for filetime\n        if (isset($p_filedescr['mtime'])) {\n            $p_header['mtime'] = $p_filedescr['mtime'];\n        } elseif ($p_filedescr['type'] == 'virtual_file') {\n            $p_header['mtime'] = time();\n        } else {\n            $p_header['mtime'] = filemtime($p_filename);\n        }\n\n        // ------ Look for file comment\n        if (isset($p_filedescr['comment'])) {\n            $p_header['comment_len'] = strlen($p_filedescr['comment']);\n            $p_header['comment'] = $p_filedescr['comment'];\n        } else {\n            $p_header['comment_len'] = 0;\n            $p_header['comment'] = '';\n        }\n\n        // ----- Look for pre-add callback\n        if (isset($p_options[PCLZIP_CB_PRE_ADD])) {\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_header, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_PRE_ADD].'(PCLZIP_CB_PRE_ADD, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_PRE_ADD](PCLZIP_CB_PRE_ADD, $v_local_header);\n            if ($v_result == 0) {\n                // ----- Change the file status\n                $p_header['status'] = \"skipped\";\n                $v_result = 1;\n            }\n\n            // ----- Update the informations\n            // Only some fields can be modified\n            if ($p_header['stored_filename'] != $v_local_header['stored_filename']) {\n                $p_header['stored_filename'] = PclZipUtilPathReduction($v_local_header['stored_filename']);\n            }\n        }\n\n        // ----- Look for empty stored filename\n        if ($p_header['stored_filename'] == \"\") {\n            $p_header['status'] = \"filtered\";\n        }\n\n        // ----- Check the path length\n        if (strlen($p_header['stored_filename']) > 0xFF) {\n            $p_header['status'] = 'filename_too_long';\n        }\n\n        // ----- Look if no error, or file not skipped\n        if ($p_header['status'] == 'ok') {\n            // ----- Look for a file\n            if ($p_filedescr['type'] == 'file') {\n                // ----- Look for using temporary file to zip\n                if ((!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_header['size'])))) {\n                    $v_result = $this->privAddFileUsingTempFile($p_filedescr, $p_header, $p_options);\n                    if ($v_result < PCLZIP_ERR_NO_ERROR) {\n                        return $v_result;\n                    }\n                } else {\n                    // ----- Use \"in memory\" zip algo\n                    // ----- Open the source file\n                    if (($v_file = @fopen($p_filename, \"rb\")) == 0) {\n                        PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, \"Unable to open file '$p_filename' in binary read mode\");\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Read the file content\n                    $v_content = @fread($v_file, $p_header['size']);\n\n                    // ----- Close the file\n                    @fclose($v_file);\n\n                    // ----- Calculate the CRC\n                    $p_header['crc'] = @crc32($v_content);\n\n                    // ----- Look for no compression\n                    if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) {\n                        // ----- Set header parameters\n                        $p_header['compressed_size'] = $p_header['size'];\n                        $p_header['compression'] = 0;\n                    } else {\n                        // ----- Look for normal compression\n                        // ----- Compress the content\n                        $v_content = @gzdeflate($v_content);\n\n                        // ----- Set header parameters\n                        $p_header['compressed_size'] = strlen($v_content);\n                        $p_header['compression'] = 8;\n                    }\n\n                    // ----- Call the header generation\n                    if (($v_result = $this->privWriteFileHeader($p_header)) != 1) {\n                        @fclose($v_file);\n                        return $v_result;\n                    }\n\n                    // ----- Write the compressed (or not) content\n                    @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']);\n                }\n            } elseif ($p_filedescr['type'] == 'virtual_file') {\n                // ----- Look for a virtual file (a file from string)\n                $v_content = $p_filedescr['content'];\n\n                // ----- Calculate the CRC\n                $p_header['crc'] = @crc32($v_content);\n\n                // ----- Look for no compression\n                if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) {\n                    // ----- Set header parameters\n                    $p_header['compressed_size'] = $p_header['size'];\n                    $p_header['compression'] = 0;\n                } else {\n                    // ----- Look for normal compression\n                    // ----- Compress the content\n                    $v_content = @gzdeflate($v_content);\n\n                    // ----- Set header parameters\n                    $p_header['compressed_size'] = strlen($v_content);\n                    $p_header['compression'] = 8;\n                }\n\n                // ----- Call the header generation\n                if (($v_result = $this->privWriteFileHeader($p_header)) != 1) {\n                    @fclose($v_file);\n                    return $v_result;\n                }\n\n                // ----- Write the compressed (or not) content\n                @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']);\n            } elseif ($p_filedescr['type'] == 'folder') {\n                // ----- Look for a directory\n                // ----- Look for directory last '/'\n                if (@substr($p_header['stored_filename'], -1) != '/') {\n                    $p_header['stored_filename'] .= '/';\n                }\n\n                // ----- Set the file properties\n                $p_header['size'] = 0;\n                //$p_header['external'] = 0x41FF0010;     // Value for a folder : to be checked\n                $p_header['external'] = 0x00000010;     // Value for a folder : to be checked\n\n                // ----- Call the header generation\n                if (($v_result = $this->privWriteFileHeader($p_header)) != 1) {\n                    return $v_result;\n                }\n            }\n        }\n\n        // ----- Look for post-add callback\n        if (isset($p_options[PCLZIP_CB_POST_ADD])) {\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_header, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_POST_ADD].'(PCLZIP_CB_POST_ADD, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_POST_ADD](PCLZIP_CB_POST_ADD, $v_local_header);\n            if ($v_result == 0) {\n                // ----- Ignored\n                $v_result = 1;\n            }\n\n            // ----- Update the informations\n            // Nothing can be modified\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privAddFileUsingTempFile()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privAddFileUsingTempFile($p_filedescr, &$p_header, &$p_options)\n    {\n        $v_result=PCLZIP_ERR_NO_ERROR;\n\n        // ----- Working variable\n        $p_filename = $p_filedescr['filename'];\n\n\n        // ----- Open the source file\n        if (($v_file = @fopen($p_filename, \"rb\")) == 0) {\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, \"Unable to open file '$p_filename' in binary read mode\");\n            return PclZip::errorCode();\n        }\n\n        // ----- Creates a compressed temporary file\n        $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz';\n        if (($v_file_compressed = @gzopen($v_gzip_temp_name, \"wb\")) == 0) {\n            fclose($v_file);\n            PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \\''.$v_gzip_temp_name.'\\' in binary write mode');\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks\n        $v_size = filesize($p_filename);\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($v_file, $v_read_size);\n            //$v_binary_data = pack('a'.$v_read_size, $v_buffer);\n            @gzputs($v_file_compressed, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Close the file\n        @fclose($v_file);\n        @gzclose($v_file_compressed);\n\n        // ----- Check the minimum file size\n        if (filesize($v_gzip_temp_name) < 18) {\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'gzip temporary file \\''.$v_gzip_temp_name.'\\' has invalid filesize - should be minimum 18 bytes');\n            return PclZip::errorCode();\n        }\n\n        // ----- Extract the compressed attributes\n        if (($v_file_compressed = @fopen($v_gzip_temp_name, \"rb\")) == 0) {\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \\''.$v_gzip_temp_name.'\\' in binary read mode');\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the gzip file header\n        $v_binary_data = @fread($v_file_compressed, 10);\n        $v_data_header = unpack('a1id1/a1id2/a1cm/a1flag/Vmtime/a1xfl/a1os', $v_binary_data);\n\n        // ----- Check some parameters\n        $v_data_header['os'] = bin2hex($v_data_header['os']);\n\n        // ----- Read the gzip file footer\n        @fseek($v_file_compressed, filesize($v_gzip_temp_name)-8);\n        $v_binary_data = @fread($v_file_compressed, 8);\n        $v_data_footer = unpack('Vcrc/Vcompressed_size', $v_binary_data);\n\n        // ----- Set the attributes\n        $p_header['compression'] = ord($v_data_header['cm']);\n        //$p_header['mtime'] = $v_data_header['mtime'];\n        $p_header['crc'] = $v_data_footer['crc'];\n        $p_header['compressed_size'] = filesize($v_gzip_temp_name)-18;\n\n        // ----- Close the file\n        @fclose($v_file_compressed);\n\n        // ----- Call the header generation\n        if (($v_result = $this->privWriteFileHeader($p_header)) != 1) {\n            return $v_result;\n        }\n\n        // ----- Add the compressed data\n        if (($v_file_compressed = @fopen($v_gzip_temp_name, \"rb\")) == 0) {\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \\''.$v_gzip_temp_name.'\\' in binary read mode');\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks\n        fseek($v_file_compressed, 10);\n        $v_size = $p_header['compressed_size'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($v_file_compressed, $v_read_size);\n            //$v_binary_data = pack('a'.$v_read_size, $v_buffer);\n            @fwrite($this->zip_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Close the file\n        @fclose($v_file_compressed);\n\n        // ----- Unlink the temporary file\n        @unlink($v_gzip_temp_name);\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privCalculateStoredFilename()\n    // Description :\n    //     Based on file descriptor properties and global options, this method\n    //     calculate the filename that will be stored in the archive.\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privCalculateStoredFilename(&$p_filedescr, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Working variables\n        $p_filename = $p_filedescr['filename'];\n        if (isset($p_options[PCLZIP_OPT_ADD_PATH])) {\n            $p_add_dir = $p_options[PCLZIP_OPT_ADD_PATH];\n        } else {\n            $p_add_dir = '';\n        }\n        if (isset($p_options[PCLZIP_OPT_REMOVE_PATH])) {\n            $p_remove_dir = $p_options[PCLZIP_OPT_REMOVE_PATH];\n        } else {\n            $p_remove_dir = '';\n        }\n        if (isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH])) {\n            $p_remove_all_dir = $p_options[PCLZIP_OPT_REMOVE_ALL_PATH];\n        } else {\n            $p_remove_all_dir = 0;\n        }\n\n        // ----- Look for full name change\n        if (isset($p_filedescr['new_full_name'])) {\n            // ----- Remove drive letter if any\n            $v_stored_filename = PclZipUtilTranslateWinPath($p_filedescr['new_full_name']);\n        } else {\n            // ----- Look for path and/or short name change\n            // ----- Look for short name change\n            // Its when we cahnge just the filename but not the path\n            if (isset($p_filedescr['new_short_name'])) {\n                $v_path_info = pathinfo($p_filename);\n                $v_dir = '';\n                if ($v_path_info['dirname'] != '') {\n                    $v_dir = $v_path_info['dirname'].'/';\n                }\n                $v_stored_filename = $v_dir.$p_filedescr['new_short_name'];\n            } else {\n                // ----- Calculate the stored filename\n                $v_stored_filename = $p_filename;\n            }\n\n            // ----- Look for all path to remove\n            if ($p_remove_all_dir) {\n                $v_stored_filename = basename($p_filename);\n            } elseif ($p_remove_dir != \"\") {\n                // ----- Look for partial path remove\n                if (substr($p_remove_dir, -1) != '/') {\n                    $p_remove_dir .= \"/\";\n                }\n\n                if ((substr($p_filename, 0, 2) == \"./\") || (substr($p_remove_dir, 0, 2) == \"./\")) {\n                    if ((substr($p_filename, 0, 2) == \"./\") && (substr($p_remove_dir, 0, 2) != \"./\")) {\n                        $p_remove_dir = \"./\".$p_remove_dir;\n                    }\n                    if ((substr($p_filename, 0, 2) != \"./\") && (substr($p_remove_dir, 0, 2) == \"./\")) {\n                        $p_remove_dir = substr($p_remove_dir, 2);\n                    }\n                }\n\n                $v_compare = PclZipUtilPathInclusion($p_remove_dir, $v_stored_filename);\n                if ($v_compare > 0) {\n                    if ($v_compare == 2) {\n                        $v_stored_filename = \"\";\n                    } else {\n                        $v_stored_filename = substr($v_stored_filename, strlen($p_remove_dir));\n                    }\n                }\n            }\n\n            // ----- Remove drive letter if any\n            $v_stored_filename = PclZipUtilTranslateWinPath($v_stored_filename);\n\n            // ----- Look for path to add\n            if ($p_add_dir != \"\") {\n                if (substr($p_add_dir, -1) == \"/\") {\n                    $v_stored_filename = $p_add_dir.$v_stored_filename;\n                } else {\n                    $v_stored_filename = $p_add_dir.\"/\".$v_stored_filename;\n                }\n            }\n        }\n\n        // ----- Filename (reduce the path of stored name)\n        $v_stored_filename = PclZipUtilPathReduction($v_stored_filename);\n        $p_filedescr['stored_filename'] = $v_stored_filename;\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privWriteFileHeader()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privWriteFileHeader(&$p_header)\n    {\n        $v_result=1;\n\n        // ----- Store the offset position of the file\n        $p_header['offset'] = ftell($this->zip_fd);\n\n        // ----- Transform UNIX mtime to DOS format mdate/mtime\n        $v_date = getdate($p_header['mtime']);\n        $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2;\n        $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday'];\n\n        // ----- Packed data\n        $v_binary_data = pack(\"VvvvvvVVVvv\", 0x04034b50, $p_header['version_extracted'], $p_header['flag'], $p_header['compression'], $v_mtime, $v_mdate, $p_header['crc'], $p_header['compressed_size'], $p_header['size'], strlen($p_header['stored_filename']), $p_header['extra_len']);\n\n        // ----- Write the first 148 bytes of the header in the archive\n        fputs($this->zip_fd, $v_binary_data, 30);\n\n        // ----- Write the variable fields\n        if (strlen($p_header['stored_filename']) != 0) {\n            fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));\n        }\n        if ($p_header['extra_len'] != 0) {\n            fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']);\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privWriteCentralFileHeader()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privWriteCentralFileHeader(&$p_header)\n    {\n        $v_result=1;\n\n        // TBC\n        //for(reset($p_header); $key = key($p_header); next($p_header)) {\n        //}\n\n        // ----- Transform UNIX mtime to DOS format mdate/mtime\n        $v_date = getdate($p_header['mtime']);\n        $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2;\n        $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday'];\n\n\n        // ----- Packed data\n        $v_binary_data = pack(\"VvvvvvvVVVvvvvvVV\", 0x02014b50, $p_header['version'], $p_header['version_extracted'], $p_header['flag'], $p_header['compression'], $v_mtime, $v_mdate, $p_header['crc'], $p_header['compressed_size'], $p_header['size'], strlen($p_header['stored_filename']), $p_header['extra_len'], $p_header['comment_len'], $p_header['disk'], $p_header['internal'], $p_header['external'], $p_header['offset']);\n\n        // ----- Write the 42 bytes of the header in the zip file\n        fputs($this->zip_fd, $v_binary_data, 46);\n\n        // ----- Write the variable fields\n        if (strlen($p_header['stored_filename']) != 0) {\n            fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));\n        }\n        if ($p_header['extra_len'] != 0) {\n            fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']);\n        }\n        if ($p_header['comment_len'] != 0) {\n            fputs($this->zip_fd, $p_header['comment'], $p_header['comment_len']);\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privWriteCentralHeader()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privWriteCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment)\n    {\n        $v_result = 1;\n\n        // ----- Packed data\n        $v_binary_data = pack(\"VvvvvVVv\", 0x06054b50, 0, 0, $p_nb_entries, $p_nb_entries, $p_size, $p_offset, strlen($p_comment));\n\n        // ----- Write the 22 bytes of the header in the zip file\n        fputs($this->zip_fd, $v_binary_data, 22);\n\n        // ----- Write the variable fields\n        if (strlen($p_comment) != 0) {\n            fputs($this->zip_fd, $p_comment, strlen($p_comment));\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privList()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privList(&$p_list)\n    {\n        $v_result = 1;\n\n        // ----- Magic quotes trick\n        $this->privDisableMagicQuotes();\n\n        // ----- Open the zip file\n        if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) {\n            // ----- Magic quotes trick\n            $this->privSwapBackMagicQuotes();\n\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \\''.$this->zipname.'\\' in binary read mode');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the central directory informations\n        $v_central_dir = array();\n        if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) {\n            $this->privSwapBackMagicQuotes();\n            return $v_result;\n        }\n\n        // ----- Go to beginning of Central Dir\n        @rewind($this->zip_fd);\n        if (@fseek($this->zip_fd, $v_central_dir['offset'])) {\n            $this->privSwapBackMagicQuotes();\n\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Read each entry\n        for ($i=0; $i<$v_central_dir['entries']; $i++) {\n            // ----- Read the file header\n            if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) {\n                $this->privSwapBackMagicQuotes();\n                return $v_result;\n            }\n            $v_header['index'] = $i;\n\n            // ----- Get the only interesting attributes\n            $this->privConvertHeader2FileInfo($v_header, $p_list[$i]);\n            unset($v_header);\n        }\n\n        // ----- Close the zip file\n        $this->privCloseFd();\n\n        // ----- Magic quotes trick\n        $this->privSwapBackMagicQuotes();\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privConvertHeader2FileInfo()\n    // Description :\n    //     This function takes the file informations from the central directory\n    //     entries and extract the interesting parameters that will be given back.\n    //     The resulting file infos are set in the array $p_info\n    //         $p_info['filename'] : Filename with full path. Given by user (add),\n    //                                                     extracted in the filesystem (extract).\n    //         $p_info['stored_filename'] : Stored filename in the archive.\n    //         $p_info['size'] = Size of the file.\n    //         $p_info['compressed_size'] = Compressed size of the file.\n    //         $p_info['mtime'] = Last modification date of the file.\n    //         $p_info['comment'] = Comment associated with the file.\n    //         $p_info['folder'] = true/false : indicates if the entry is a folder or not.\n    //         $p_info['status'] = status of the action on the file.\n    //         $p_info['crc'] = CRC of the file content.\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privConvertHeader2FileInfo($p_header, &$p_info)\n    {\n        $v_result=1;\n\n        // ----- Get the interesting attributes\n        $v_temp_path = PclZipUtilPathReduction($p_header['filename']);\n        $p_info['filename'] = $v_temp_path;\n        $v_temp_path = PclZipUtilPathReduction($p_header['stored_filename']);\n        $p_info['stored_filename'] = $v_temp_path;\n        $p_info['size'] = $p_header['size'];\n        $p_info['compressed_size'] = $p_header['compressed_size'];\n        $p_info['mtime'] = $p_header['mtime'];\n        $p_info['comment'] = $p_header['comment'];\n        $p_info['folder'] = (($p_header['external']&0x00000010)==0x00000010);\n        $p_info['index'] = $p_header['index'];\n        $p_info['status'] = $p_header['status'];\n        $p_info['crc'] = $p_header['crc'];\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privExtractByRule()\n    // Description :\n    //     Extract a file or directory depending of rules (by index, by name, ...)\n    // Parameters :\n    //     $p_file_list : An array where will be placed the properties of each\n    //                                    extracted file\n    //     $p_path : Path to add while writing the extracted files\n    //     $p_remove_path : Path to remove (from the file memorized path) while writing the\n    //                                        extracted files. If the path does not match the file path,\n    //                                        the file is extracted with its memorized path.\n    //                                        $p_remove_path does not apply to 'list' mode.\n    //                                        $p_path and $p_remove_path are commulative.\n    // Return Values :\n    //     1 on success,0 or less on error (see error code list)\n    // --------------------------------------------------------------------------------\n    public function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Magic quotes trick\n        $this->privDisableMagicQuotes();\n\n        // ----- Check the path\n        if (($p_path == \"\") || ((substr($p_path, 0, 1) != \"/\") && (substr($p_path, 0, 3) != \"../\") && (substr($p_path, 1, 2)!=\":/\"))) {\n            $p_path = \"./\".$p_path;\n        }\n\n        // ----- Reduce the path last (and duplicated) '/'\n        if (($p_path != \"./\") && ($p_path != \"/\")) {\n            // ----- Look for the path end '/'\n            while (substr($p_path, -1) == \"/\") {\n                $p_path = substr($p_path, 0, strlen($p_path)-1);\n            }\n        }\n\n        // ----- Look for path to remove format (should end by /)\n        if (($p_remove_path != \"\") && (substr($p_remove_path, -1) != '/')) {\n            $p_remove_path .= '/';\n        }\n        $p_remove_path_size = strlen($p_remove_path);\n\n        // ----- Open the zip file\n        if (($v_result = $this->privOpenFd('rb')) != 1) {\n            $this->privSwapBackMagicQuotes();\n            return $v_result;\n        }\n\n        // ----- Read the central directory informations\n        $v_central_dir = array();\n        if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) {\n            // ----- Close the zip file\n            $this->privCloseFd();\n            $this->privSwapBackMagicQuotes();\n\n            return $v_result;\n        }\n\n        // ----- Start at beginning of Central Dir\n        $v_pos_entry = $v_central_dir['offset'];\n\n        // ----- Read each entry\n        $j_start = 0;\n        for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) {\n            // ----- Read next Central dir entry\n            @rewind($this->zip_fd);\n            if (@fseek($this->zip_fd, $v_pos_entry)) {\n                // ----- Close the zip file\n                $this->privCloseFd();\n                $this->privSwapBackMagicQuotes();\n\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size');\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n\n            // ----- Read the file header\n            $v_header = array();\n            if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) {\n                // ----- Close the zip file\n                $this->privCloseFd();\n                $this->privSwapBackMagicQuotes();\n\n                return $v_result;\n            }\n\n            // ----- Store the index\n            $v_header['index'] = $i;\n\n            // ----- Store the file position\n            $v_pos_entry = ftell($this->zip_fd);\n\n            // ----- Look for the specific extract rules\n            $v_extract = false;\n\n            // ----- Look for extract by name rule\n            if ((isset($p_options[PCLZIP_OPT_BY_NAME])) && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) {\n                // ----- Look if the filename is in the list\n                for ($j=0; ($j<sizeof($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_extract); $j++) {\n                    // ----- Look for a directory\n                    if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == \"/\") {\n                        // ----- Look if the directory is in the filename path\n                        if ((strlen($v_header['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) && (substr($v_header['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) {\n                            $v_extract = true;\n                        }\n                    } elseif ($v_header['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) {\n                        // ----- Look for a filename\n                        $v_extract = true;\n                    }\n                }\n            } elseif ((isset($p_options[PCLZIP_OPT_BY_PREG])) && ($p_options[PCLZIP_OPT_BY_PREG] != \"\")) {\n                // ----- Look for extract by preg rule\n                if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header['stored_filename'])) {\n                    $v_extract = true;\n                }\n            } elseif ((isset($p_options[PCLZIP_OPT_BY_INDEX])) && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) {\n                // ----- Look for extract by index rule\n                // ----- Look if the index is in the list\n                for ($j=$j_start; ($j<sizeof($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_extract); $j++) {\n                    if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) {\n                            $v_extract = true;\n                    }\n                    if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) {\n                            $j_start = $j+1;\n                    }\n\n                    if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) {\n                        break;\n                    }\n                }\n            } else {\n                // ----- Look for no rule, which means extract all the archive\n                $v_extract = true;\n            }\n\n            // ----- Check compression method\n            if (($v_extract) && (($v_header['compression'] != 8) && ($v_header['compression'] != 0))) {\n                $v_header['status'] = 'unsupported_compression';\n\n                // ----- Look for PCLZIP_OPT_STOP_ON_ERROR\n                if ((isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) && ($p_options[PCLZIP_OPT_STOP_ON_ERROR] === true)) {\n                    $this->privSwapBackMagicQuotes();\n\n                    PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_COMPRESSION, \"Filename '\".$v_header['stored_filename'].\"' is compressed by an unsupported compression method (\".$v_header['compression'].\") \");\n\n                    return PclZip::errorCode();\n                }\n            }\n\n            // ----- Check encrypted files\n            if (($v_extract) && (($v_header['flag'] & 1) == 1)) {\n                $v_header['status'] = 'unsupported_encryption';\n                // ----- Look for PCLZIP_OPT_STOP_ON_ERROR\n                if ((isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) && ($p_options[PCLZIP_OPT_STOP_ON_ERROR] === true)) {\n                    $this->privSwapBackMagicQuotes();\n\n                    PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, \"Unsupported encryption for  filename '\".$v_header['stored_filename'].\"'\");\n\n                    return PclZip::errorCode();\n                }\n            }\n\n            // ----- Look for real extraction\n            if (($v_extract) && ($v_header['status'] != 'ok')) {\n                $v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++]);\n                if ($v_result != 1) {\n                    $this->privCloseFd();\n                    $this->privSwapBackMagicQuotes();\n                    return $v_result;\n                }\n\n                $v_extract = false;\n            }\n\n            // ----- Look for real extraction\n            if ($v_extract) {\n                // ----- Go to the file position\n                @rewind($this->zip_fd);\n                if (@fseek($this->zip_fd, $v_header['offset'])) {\n                    // ----- Close the zip file\n                    $this->privCloseFd();\n\n                    $this->privSwapBackMagicQuotes();\n\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size');\n\n                    // ----- Return\n                    return PclZip::errorCode();\n                }\n\n                // ----- Look for extraction as string\n                if ($p_options[PCLZIP_OPT_EXTRACT_AS_STRING]) {\n                    $v_string = '';\n\n                    // ----- Extracting the file\n                    $v_result1 = $this->privExtractFileAsString($v_header, $v_string, $p_options);\n                    if ($v_result1 < 1) {\n                        $this->privCloseFd();\n                        $this->privSwapBackMagicQuotes();\n                        return $v_result1;\n                    }\n\n                    // ----- Get the only interesting attributes\n                    if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted])) != 1) {\n                        // ----- Close the zip file\n                        $this->privCloseFd();\n                        $this->privSwapBackMagicQuotes();\n\n                        return $v_result;\n                    }\n\n                    // ----- Set the file content\n                    $p_file_list[$v_nb_extracted]['content'] = $v_string;\n\n                    // ----- Next extracted file\n                    $v_nb_extracted++;\n\n                    // ----- Look for user callback abort\n                    if ($v_result1 == 2) {\n                        break;\n                    }\n                } elseif ((isset($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) && ($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) {\n                    // ----- Look for extraction in standard output\n                    // ----- Extracting the file in standard output\n                    $v_result1 = $this->privExtractFileInOutput($v_header, $p_options);\n                    if ($v_result1 < 1) {\n                        $this->privCloseFd();\n                        $this->privSwapBackMagicQuotes();\n                        return $v_result1;\n                    }\n\n                    // ----- Get the only interesting attributes\n                    if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) {\n                        $this->privCloseFd();\n                        $this->privSwapBackMagicQuotes();\n                        return $v_result;\n                    }\n\n                    // ----- Look for user callback abort\n                    if ($v_result1 == 2) {\n                        break;\n                    }\n                } else {\n                    // ----- Look for normal extraction\n                    // ----- Extracting the file\n                    $v_result1 = $this->privExtractFile($v_header, $p_path, $p_remove_path, $p_remove_all_path, $p_options);\n                    if ($v_result1 < 1) {\n                        $this->privCloseFd();\n                        $this->privSwapBackMagicQuotes();\n                        return $v_result1;\n                    }\n\n                    // ----- Get the only interesting attributes\n                    if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) {\n                        // ----- Close the zip file\n                        $this->privCloseFd();\n                        $this->privSwapBackMagicQuotes();\n\n                        return $v_result;\n                    }\n\n                    // ----- Look for user callback abort\n                    if ($v_result1 == 2) {\n                        break;\n                    }\n                }\n            }\n        }\n\n        // ----- Close the zip file\n        $this->privCloseFd();\n        $this->privSwapBackMagicQuotes();\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privExtractFile()\n    // Description :\n    // Parameters :\n    // Return Values :\n    //\n    // 1 : ... ?\n    // PCLZIP_ERR_USER_ABORTED(2) : User ask for extraction stop in callback\n    // --------------------------------------------------------------------------------\n    public function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Read the file header\n        if (($v_result = $this->privReadFileHeader($v_header)) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n\n        // ----- Check that the file header is coherent with $p_entry info\n        if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) {\n            // TBC\n        }\n\n        // ----- Look for all path to remove\n        if ($p_remove_all_path == true) {\n            // ----- Look for folder entry that not need to be extracted\n            if (($p_entry['external']&0x00000010)==0x00000010) {\n                $p_entry['status'] = \"filtered\";\n\n                return $v_result;\n            }\n\n            // ----- Get the basename of the path\n            $p_entry['filename'] = basename($p_entry['filename']);\n        } elseif ($p_remove_path != \"\") {\n            // ----- Look for path to remove\n            if (PclZipUtilPathInclusion($p_remove_path, $p_entry['filename']) == 2) {\n                // ----- Change the file status\n                $p_entry['status'] = \"filtered\";\n\n                // ----- Return\n                return $v_result;\n            }\n\n            $p_remove_path_size = strlen($p_remove_path);\n            if (substr($p_entry['filename'], 0, $p_remove_path_size) == $p_remove_path) {\n                // ----- Remove the path\n                $p_entry['filename'] = substr($p_entry['filename'], $p_remove_path_size);\n            }\n        }\n\n        // ----- Add the path\n        if ($p_path != '') {\n            $p_entry['filename'] = $p_path.\"/\".$p_entry['filename'];\n        }\n\n        // ----- Check a base_dir_restriction\n        if (isset($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION])) {\n            $v_inclusion = PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION], $p_entry['filename']);\n            if ($v_inclusion == 0) {\n                PclZip::privErrorLog(PCLZIP_ERR_DIRECTORY_RESTRICTION, \"Filename '\".$p_entry['filename'].\"' is outside PCLZIP_OPT_EXTRACT_DIR_RESTRICTION\");\n\n                return PclZip::errorCode();\n            }\n        }\n\n        // ----- Look for pre-extract callback\n        if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) {\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_entry, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header);\n            if ($v_result == 0) {\n                // ----- Change the file status\n                $p_entry['status'] = \"skipped\";\n                $v_result = 1;\n            }\n\n            // ----- Look for abort result\n            if ($v_result == 2) {\n                // ----- This status is internal and will be changed in 'skipped'\n                $p_entry['status'] = \"aborted\";\n                $v_result = PCLZIP_ERR_USER_ABORTED;\n            }\n\n            // ----- Update the informations\n            // Only some fields can be modified\n            $p_entry['filename'] = $v_local_header['filename'];\n        }\n\n        // ----- Look if extraction should be done\n        if ($p_entry['status'] == 'ok') {\n            // ----- Look for specific actions while the file exist\n            if (file_exists($p_entry['filename'])) {\n                // ----- Look if file is a directory\n                if (is_dir($p_entry['filename'])) {\n                    // ----- Change the file status\n                    $p_entry['status'] = \"already_a_directory\";\n\n                    // ----- Look for PCLZIP_OPT_STOP_ON_ERROR\n                    // For historical reason first PclZip implementation does not stop\n                    // when this kind of error occurs.\n                    if ((isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_ALREADY_A_DIRECTORY, \"Filename '\".$p_entry['filename'].\"' is already used by an existing directory\");\n                        return PclZip::errorCode();\n                    }\n                } elseif (!is_writeable($p_entry['filename'])) {\n                    // ----- Look if file is write protected\n                    // ----- Change the file status\n                    $p_entry['status'] = \"write_protected\";\n\n                    // ----- Look for PCLZIP_OPT_STOP_ON_ERROR\n                    // For historical reason first PclZip implementation does not stop\n                    // when this kind of error occurs.\n                    if ((isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) && ($p_options[PCLZIP_OPT_STOP_ON_ERROR] === true)) {\n                        PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, \"Filename '\".$p_entry['filename'].\"' exists and is write protected\");\n                        return PclZip::errorCode();\n                    }\n                } elseif (filemtime($p_entry['filename']) > $p_entry['mtime']) {\n                    // ----- Look if the extracted file is older\n                    // ----- Change the file status\n                    if ((isset($p_options[PCLZIP_OPT_REPLACE_NEWER])) && ($p_options[PCLZIP_OPT_REPLACE_NEWER] === true)) {\n                    } else {\n                        $p_entry['status'] = \"newer_exist\";\n\n                        // ----- Look for PCLZIP_OPT_STOP_ON_ERROR\n                        // For historical reason first PclZip implementation does not stop\n                        // when this kind of error occurs.\n                        if ((isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) && ($p_options[PCLZIP_OPT_STOP_ON_ERROR] === true)) {\n                            PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, \"Newer version of '\".$p_entry['filename'].\"' exists and option PCLZIP_OPT_REPLACE_NEWER is not selected\");\n                            return PclZip::errorCode();\n                        }\n                    }\n                } else {\n                }\n            } else {\n                // ----- Check the directory availability and create it if necessary\n                if ((($p_entry['external']&0x00000010)==0x00000010) || (substr($p_entry['filename'], -1) == '/')) {\n                    $v_dir_to_check = $p_entry['filename'];\n                } elseif (!strstr($p_entry['filename'], \"/\")) {\n                    $v_dir_to_check = \"\";\n                } else {\n                    $v_dir_to_check = dirname($p_entry['filename']);\n                }\n\n                if (($v_result = $this->privDirCheck($v_dir_to_check, (($p_entry['external']&0x00000010)==0x00000010))) != 1) {\n                    // ----- Change the file status\n                    $p_entry['status'] = \"path_creation_fail\";\n\n                    // ----- Return\n                    //return $v_result;\n                    $v_result = 1;\n                }\n            }\n        }\n\n        // ----- Look if extraction should be done\n        if ($p_entry['status'] == 'ok') {\n            // ----- Do the extraction (if not a folder)\n            if (!(($p_entry['external']&0x00000010) == 0x00000010)) {\n                // ----- Look for not compressed file\n                if ($p_entry['compression'] == 0) {\n                    // ----- Opening destination file\n                    if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) {\n                        // ----- Change the file status\n                        $p_entry['status'] = \"write_error\";\n\n                        // ----- Return\n                        return $v_result;\n                    }\n\n                    // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks\n                    $v_size = $p_entry['compressed_size'];\n                    while ($v_size != 0) {\n                        $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n                        $v_buffer = @fread($this->zip_fd, $v_read_size);\n                        /* Try to speed up the code\n                        $v_binary_data = pack('a'.$v_read_size, $v_buffer);\n                        @fwrite($v_dest_file, $v_binary_data, $v_read_size);\n                        */\n                        @fwrite($v_dest_file, $v_buffer, $v_read_size);\n                        $v_size -= $v_read_size;\n                    }\n\n                    // ----- Closing the destination file\n                    fclose($v_dest_file);\n\n                    // ----- Change the file mtime\n                    touch($p_entry['filename'], $p_entry['mtime']);\n                } else {\n                    // ----- TBC\n                    // Need to be finished\n                    if (($p_entry['flag'] & 1) == 1) {\n                        PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, 'File \\''.$p_entry['filename'].'\\' is encrypted. Encrypted files are not supported.');\n                        return PclZip::errorCode();\n                    }\n\n                    // ----- Look for using temporary file to unzip\n                    if ((!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_entry['size'])))) {\n                        $v_result = $this->privExtractFileUsingTempFile($p_entry, $p_options);\n                        if ($v_result < PCLZIP_ERR_NO_ERROR) {\n                            return $v_result;\n                        }\n                    } else {\n                        // ----- Look for extract in memory\n                        // ----- Read the compressed file in a buffer (one shot)\n                        $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);\n\n                        // ----- Decompress the file\n                        $v_file_content = @gzinflate($v_buffer);\n                        unset($v_buffer);\n                        if ($v_file_content === false) {\n                            // ----- Change the file status\n                            // TBC\n                            $p_entry['status'] = \"error\";\n\n                            return $v_result;\n                        }\n\n                        // ----- Opening destination file\n                        if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) {\n                            // ----- Change the file status\n                            $p_entry['status'] = \"write_error\";\n\n                            return $v_result;\n                        }\n\n                        // ----- Write the uncompressed data\n                        @fwrite($v_dest_file, $v_file_content, $p_entry['size']);\n                        unset($v_file_content);\n\n                        // ----- Closing the destination file\n                        @fclose($v_dest_file);\n                    }\n\n                    // ----- Change the file mtime\n                    @touch($p_entry['filename'], $p_entry['mtime']);\n                }\n\n                // ----- Look for chmod option\n                if (isset($p_options[PCLZIP_OPT_SET_CHMOD])) {\n                    // ----- Change the mode of the file\n                    @chmod($p_entry['filename'], $p_options[PCLZIP_OPT_SET_CHMOD]);\n                }\n            }\n        }\n\n        // ----- Change abort status\n        if ($p_entry['status'] == \"aborted\") {\n            $p_entry['status'] = \"skipped\";\n        } elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) {\n            // ----- Look for post-extract callback\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_entry, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header);\n\n            // ----- Look for abort result\n            if ($v_result == 2) {\n                    $v_result = PCLZIP_ERR_USER_ABORTED;\n            }\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privExtractFileUsingTempFile()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privExtractFileUsingTempFile(&$p_entry, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Creates a temporary file\n        $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz';\n        if (($v_dest_file = @fopen($v_gzip_temp_name, \"wb\")) == 0) {\n            fclose($v_file);\n            PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \\''.$v_gzip_temp_name.'\\' in binary write mode');\n            return PclZip::errorCode();\n        }\n\n        // ----- Write gz file format header\n        $v_binary_data = pack('va1a1Va1a1', 0x8b1f, Chr($p_entry['compression']), Chr(0x00), time(), Chr(0x00), Chr(3));\n        @fwrite($v_dest_file, $v_binary_data, 10);\n\n        // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks\n        $v_size = $p_entry['compressed_size'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($this->zip_fd, $v_read_size);\n            //$v_binary_data = pack('a'.$v_read_size, $v_buffer);\n            @fwrite($v_dest_file, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Write gz file format footer\n        $v_binary_data = pack('VV', $p_entry['crc'], $p_entry['size']);\n        @fwrite($v_dest_file, $v_binary_data, 8);\n\n        // ----- Close the temporary file\n        @fclose($v_dest_file);\n\n        // ----- Opening destination file\n        if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) {\n            $p_entry['status'] = \"write_error\";\n            return $v_result;\n        }\n\n        // ----- Open the temporary gz file\n        if (($v_src_file = @gzopen($v_gzip_temp_name, 'rb')) == 0) {\n            @fclose($v_dest_file);\n            $p_entry['status'] = \"read_error\";\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \\''.$v_gzip_temp_name.'\\' in binary read mode');\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks\n        $v_size = $p_entry['size'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @gzread($v_src_file, $v_read_size);\n            //$v_binary_data = pack('a'.$v_read_size, $v_buffer);\n            @fwrite($v_dest_file, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n        @fclose($v_dest_file);\n        @gzclose($v_src_file);\n\n        // ----- Delete the temporary file\n        @unlink($v_gzip_temp_name);\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privExtractFileInOutput()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privExtractFileInOutput(&$p_entry, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Read the file header\n        if (($v_result = $this->privReadFileHeader($v_header)) != 1) {\n            return $v_result;\n        }\n\n        // ----- Check that the file header is coherent with $p_entry info\n        if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) {\n            // TBC\n        }\n\n        // ----- Look for pre-extract callback\n        if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) {\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_entry, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header);\n            if ($v_result == 0) {\n                // ----- Change the file status\n                $p_entry['status'] = \"skipped\";\n                $v_result = 1;\n            }\n\n            // ----- Look for abort result\n            if ($v_result == 2) {\n                // ----- This status is internal and will be changed in 'skipped'\n                $p_entry['status'] = \"aborted\";\n                    $v_result = PCLZIP_ERR_USER_ABORTED;\n            }\n\n            // ----- Update the informations\n            // Only some fields can be modified\n            $p_entry['filename'] = $v_local_header['filename'];\n        }\n\n        // ----- Trace\n\n        // ----- Look if extraction should be done\n        if ($p_entry['status'] == 'ok') {\n            // ----- Do the extraction (if not a folder)\n            if (!(($p_entry['external']&0x00000010)==0x00000010)) {\n                // ----- Look for not compressed file\n                if ($p_entry['compressed_size'] == $p_entry['size']) {\n                    // ----- Read the file in a buffer (one shot)\n                    $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);\n\n                    // ----- Send the file to the output\n                    echo $v_buffer;\n                    unset($v_buffer);\n                } else {\n                    // ----- Read the compressed file in a buffer (one shot)\n                    $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']);\n\n                    // ----- Decompress the file\n                    $v_file_content = gzinflate($v_buffer);\n                    unset($v_buffer);\n\n                    // ----- Send the file to the output\n                    echo $v_file_content;\n                    unset($v_file_content);\n                }\n            }\n        }\n\n        // ----- Change abort status\n        if ($p_entry['status'] == \"aborted\") {\n            $p_entry['status'] = \"skipped\";\n        } elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) {\n            // ----- Look for post-extract callback\n\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_entry, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header);\n\n            // ----- Look for abort result\n            if ($v_result == 2) {\n                    $v_result = PCLZIP_ERR_USER_ABORTED;\n            }\n        }\n\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privExtractFileAsString()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options)\n    {\n        $v_result=1;\n\n        // ----- Read the file header\n        $v_header = array();\n        if (($v_result = $this->privReadFileHeader($v_header)) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Check that the file header is coherent with $p_entry info\n        if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) {\n            // TBC\n        }\n\n        // ----- Look for pre-extract callback\n        if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) {\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_entry, $v_local_header);\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header);\n            if ($v_result == 0) {\n                // ----- Change the file status\n                $p_entry['status'] = \"skipped\";\n                $v_result = 1;\n            }\n\n            // ----- Look for abort result\n            if ($v_result == 2) {\n                // ----- This status is internal and will be changed in 'skipped'\n                $p_entry['status'] = \"aborted\";\n                    $v_result = PCLZIP_ERR_USER_ABORTED;\n            }\n\n            // ----- Update the informations\n            // Only some fields can be modified\n            $p_entry['filename'] = $v_local_header['filename'];\n        }\n\n        // ----- Look if extraction should be done\n        if ($p_entry['status'] == 'ok') {\n            // ----- Do the extraction (if not a folder)\n            if (!(($p_entry['external']&0x00000010)==0x00000010)) {\n                // ----- Look for not compressed file\n    //            if ($p_entry['compressed_size'] == $p_entry['size'])\n                if ($p_entry['compression'] == 0) {\n                    // ----- Reading the file\n                    $p_string = @fread($this->zip_fd, $p_entry['compressed_size']);\n                } else {\n                    // ----- Reading the file\n                    $v_data = @fread($this->zip_fd, $p_entry['compressed_size']);\n\n                    // ----- Decompress the file\n                    if (($p_string = @gzinflate($v_data)) === false) {\n                        // TBC\n                    }\n                }\n                // ----- Trace\n            } else {\n                    // TBC : error : can not extract a folder in a string\n            }\n        }\n\n        // ----- Change abort status\n        if ($p_entry['status'] == \"aborted\") {\n            $p_entry['status'] = \"skipped\";\n        } elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) {\n            // ----- Look for post-extract callback\n            // ----- Generate a local information\n            $v_local_header = array();\n            $this->privConvertHeader2FileInfo($p_entry, $v_local_header);\n\n            // ----- Swap the content to header\n            $v_local_header['content'] = $p_string;\n            $p_string = '';\n\n            // ----- Call the callback\n            // Here I do not use call_user_func() because I need to send a reference to the\n            // header.\n    //            eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);');\n            $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header);\n\n            // ----- Swap back the content to header\n            $p_string = $v_local_header['content'];\n            unset($v_local_header['content']);\n\n            // ----- Look for abort result\n            if ($v_result == 2) {\n                    $v_result = PCLZIP_ERR_USER_ABORTED;\n            }\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privReadFileHeader()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privReadFileHeader(&$p_header)\n    {\n        $v_result=1;\n\n        // ----- Read the 4 bytes signature\n        $v_binary_data = @fread($this->zip_fd, 4);\n        $v_data = unpack('Vid', $v_binary_data);\n\n        // ----- Check signature\n        if ($v_data['id'] != 0x04034b50) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the first 42 bytes of the header\n        $v_binary_data = fread($this->zip_fd, 26);\n\n        // ----- Look for invalid block size\n        if (strlen($v_binary_data) != 26) {\n            $p_header['filename'] = \"\";\n            $p_header['status'] = \"invalid_header\";\n\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, \"Invalid block size : \".strlen($v_binary_data));\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Extract the values\n        $v_data = unpack('vversion/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len', $v_binary_data);\n\n        // ----- Get filename\n        $p_header['filename'] = fread($this->zip_fd, $v_data['filename_len']);\n\n        // ----- Get extra_fields\n        if ($v_data['extra_len'] != 0) {\n            $p_header['extra'] = fread($this->zip_fd, $v_data['extra_len']);\n        } else {\n            $p_header['extra'] = '';\n        }\n\n        // ----- Extract properties\n        $p_header['version_extracted'] = $v_data['version'];\n        $p_header['compression'] = $v_data['compression'];\n        $p_header['size'] = $v_data['size'];\n        $p_header['compressed_size'] = $v_data['compressed_size'];\n        $p_header['crc'] = $v_data['crc'];\n        $p_header['flag'] = $v_data['flag'];\n        $p_header['filename_len'] = $v_data['filename_len'];\n\n        // ----- Recuperate date in UNIX format\n        $p_header['mdate'] = $v_data['mdate'];\n        $p_header['mtime'] = $v_data['mtime'];\n        if ($p_header['mdate'] && $p_header['mtime']) {\n            // ----- Extract time\n            $v_hour = ($p_header['mtime'] & 0xF800) >> 11;\n            $v_minute = ($p_header['mtime'] & 0x07E0) >> 5;\n            $v_seconde = ($p_header['mtime'] & 0x001F)*2;\n\n            // ----- Extract date\n            $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980;\n            $v_month = ($p_header['mdate'] & 0x01E0) >> 5;\n            $v_day = $p_header['mdate'] & 0x001F;\n\n            // ----- Get UNIX date format\n            $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year);\n\n        } else {\n            $p_header['mtime'] = time();\n        }\n\n        // TBC\n        //for(reset($v_data); $key = key($v_data); next($v_data)) {\n        //}\n\n        // ----- Set the stored filename\n        $p_header['stored_filename'] = $p_header['filename'];\n\n        // ----- Set the status field\n        $p_header['status'] = \"ok\";\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privReadCentralFileHeader()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privReadCentralFileHeader(&$p_header)\n    {\n        $v_result = 1;\n\n        // ----- Read the 4 bytes signature\n        $v_binary_data = @fread($this->zip_fd, 4);\n        $v_data = unpack('Vid', $v_binary_data);\n\n        // ----- Check signature\n        if ($v_data['id'] != 0x02014b50) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Read the first 42 bytes of the header\n        $v_binary_data = fread($this->zip_fd, 42);\n\n        // ----- Look for invalid block size\n        if (strlen($v_binary_data) != 42) {\n            $p_header['filename'] = \"\";\n            $p_header['status'] = \"invalid_header\";\n\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, \"Invalid block size : \".strlen($v_binary_data));\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Extract the values\n        $p_header = unpack('vversion/vversion_extracted/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len/vcomment_len/vdisk/vinternal/Vexternal/Voffset', $v_binary_data);\n\n        // ----- Get filename\n        if ($p_header['filename_len'] != 0) {\n            $p_header['filename'] = fread($this->zip_fd, $p_header['filename_len']);\n        } else {\n            $p_header['filename'] = '';\n        }\n\n        // ----- Get extra\n        if ($p_header['extra_len'] != 0) {\n            $p_header['extra'] = fread($this->zip_fd, $p_header['extra_len']);\n        } else {\n            $p_header['extra'] = '';\n        }\n\n        // ----- Get comment\n        if ($p_header['comment_len'] != 0) {\n            $p_header['comment'] = fread($this->zip_fd, $p_header['comment_len']);\n        } else {\n            $p_header['comment'] = '';\n        }\n\n        // ----- Extract properties\n\n        // ----- Recuperate date in UNIX format\n        //if ($p_header['mdate'] && $p_header['mtime'])\n        // TBC : bug : this was ignoring time with 0/0/0\n        if (1) {\n            // ----- Extract time\n            $v_hour = ($p_header['mtime'] & 0xF800) >> 11;\n            $v_minute = ($p_header['mtime'] & 0x07E0) >> 5;\n            $v_seconde = ($p_header['mtime'] & 0x001F)*2;\n\n            // ----- Extract date\n            $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980;\n            $v_month = ($p_header['mdate'] & 0x01E0) >> 5;\n            $v_day = $p_header['mdate'] & 0x001F;\n\n            // ----- Get UNIX date format\n            $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year);\n\n        } else {\n            $p_header['mtime'] = time();\n        }\n\n        // ----- Set the stored filename\n        $p_header['stored_filename'] = $p_header['filename'];\n\n        // ----- Set default status to ok\n        $p_header['status'] = 'ok';\n\n        // ----- Look if it is a directory\n        if (substr($p_header['filename'], -1) == '/') {\n            //$p_header['external'] = 0x41FF0010;\n            $p_header['external'] = 0x00000010;\n        }\n\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privCheckFileHeaders()\n    // Description :\n    // Parameters :\n    // Return Values :\n    //     1 on success,\n    //     0 on error;\n    // --------------------------------------------------------------------------------\n    public function privCheckFileHeaders(&$p_local_header, &$p_central_header)\n    {\n        $v_result=1;\n\n        // ----- Check the static values\n        // TBC\n        if ($p_local_header['filename'] != $p_central_header['filename']) {\n        }\n        if ($p_local_header['version_extracted'] != $p_central_header['version_extracted']) {\n        }\n        if ($p_local_header['flag'] != $p_central_header['flag']) {\n        }\n        if ($p_local_header['compression'] != $p_central_header['compression']) {\n        }\n        if ($p_local_header['mtime'] != $p_central_header['mtime']) {\n        }\n        if ($p_local_header['filename_len'] != $p_central_header['filename_len']) {\n        }\n\n        // ----- Look for flag bit 3\n        if (($p_local_header['flag'] & 8) == 8) {\n            $p_local_header['size'] = $p_central_header['size'];\n            $p_local_header['compressed_size'] = $p_central_header['compressed_size'];\n            $p_local_header['crc'] = $p_central_header['crc'];\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privReadEndCentralDir()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privReadEndCentralDir(&$p_central_dir)\n    {\n        $v_result=1;\n\n        // ----- Go to the end of the zip file\n        $v_size = filesize($this->zipname);\n        @fseek($this->zip_fd, $v_size);\n        if (@ftell($this->zip_fd) != $v_size) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to go to the end of the archive \\''.$this->zipname.'\\'');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- First try : look if this is an archive with no commentaries (most of the time)\n        // in this case the end of central dir is at 22 bytes of the file end\n        $v_found = 0;\n        if ($v_size > 26) {\n            @fseek($this->zip_fd, $v_size-22);\n            if (($v_pos = @ftell($this->zip_fd)) != ($v_size-22)) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \\''.$this->zipname.'\\'');\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n\n            // ----- Read for bytes\n            $v_binary_data = @fread($this->zip_fd, 4);\n            $v_data = @unpack('Vid', $v_binary_data);\n\n            // ----- Check signature\n            if ($v_data['id'] == 0x06054b50) {\n                $v_found = 1;\n            }\n\n            $v_pos = ftell($this->zip_fd);\n        }\n\n        // ----- Go back to the maximum possible size of the Central Dir End Record\n        if (!$v_found) {\n            $v_maximum_size = 65557; // 0xFFFF + 22;\n            if ($v_maximum_size > $v_size) {\n                $v_maximum_size = $v_size;\n            }\n            @fseek($this->zip_fd, $v_size-$v_maximum_size);\n            if (@ftell($this->zip_fd) != ($v_size-$v_maximum_size)) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \\''.$this->zipname.'\\'');\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n\n            // ----- Read byte per byte in order to find the signature\n            $v_pos = ftell($this->zip_fd);\n            $v_bytes = 0x00000000;\n            while ($v_pos < $v_size) {\n                // ----- Read a byte\n                $v_byte = @fread($this->zip_fd, 1);\n\n                // -----    Add the byte\n                //$v_bytes = ($v_bytes << 8) | Ord($v_byte);\n                // Note we mask the old value down such that once shifted we can never end up with more than a 32bit number\n                // Otherwise on systems where we have 64bit integers the check below for the magic number will fail.\n                $v_bytes = (($v_bytes & 0xFFFFFF) << 8) | Ord($v_byte);\n\n                // ----- Compare the bytes\n                if ($v_bytes == 0x504b0506) {\n                    $v_pos++;\n                    break;\n                }\n\n                $v_pos++;\n            }\n\n            // ----- Look if not found end of central dir\n            if ($v_pos == $v_size) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, \"Unable to find End of Central Dir Record signature\");\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n        }\n\n        // ----- Read the first 18 bytes of the header\n        $v_binary_data = fread($this->zip_fd, 18);\n\n        // ----- Look for invalid block size\n        if (strlen($v_binary_data) != 18) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, \"Invalid End of Central Dir Record size : \".strlen($v_binary_data));\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Extract the values\n        $v_data = unpack('vdisk/vdisk_start/vdisk_entries/ventries/Vsize/Voffset/vcomment_size', $v_binary_data);\n\n        // ----- Check the global size\n        if (($v_pos + $v_data['comment_size'] + 18) != $v_size) {\n            // ----- Removed in release 2.2 see readme file\n            // The check of the file size is a little too strict.\n            // Some bugs where found when a zip is encrypted/decrypted with 'crypt'.\n            // While decrypted, zip has training 0 bytes\n            if (0) {\n                // ----- Error log\n                PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'The central dir is not at the end of the archive. Some trailing bytes exists after the archive.');\n\n                // ----- Return\n                return PclZip::errorCode();\n            }\n        }\n\n        // ----- Get comment\n        if ($v_data['comment_size'] != 0) {\n            $p_central_dir['comment'] = fread($this->zip_fd, $v_data['comment_size']);\n        } else {\n            $p_central_dir['comment'] = '';\n        }\n\n        $p_central_dir['entries'] = $v_data['entries'];\n        $p_central_dir['disk_entries'] = $v_data['disk_entries'];\n        $p_central_dir['offset'] = $v_data['offset'];\n        $p_central_dir['size'] = $v_data['size'];\n        $p_central_dir['disk'] = $v_data['disk'];\n        $p_central_dir['disk_start'] = $v_data['disk_start'];\n\n        // TBC\n        //for(reset($p_central_dir); $key = key($p_central_dir); next($p_central_dir)) {\n        //}\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privDeleteByRule()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privDeleteByRule(&$p_result_list, &$p_options)\n    {\n        $v_result=1;\n        $v_list_detail = array();\n\n        // ----- Open the zip file\n        if (($v_result=$this->privOpenFd('rb')) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Read the central directory informations\n        $v_central_dir = array();\n        if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) {\n            $this->privCloseFd();\n            return $v_result;\n        }\n\n        // ----- Go to beginning of File\n        @rewind($this->zip_fd);\n\n        // ----- Scan all the files\n        // ----- Start at beginning of Central Dir\n        $v_pos_entry = $v_central_dir['offset'];\n        @rewind($this->zip_fd);\n        if (@fseek($this->zip_fd, $v_pos_entry)) {\n            // ----- Close the zip file\n            $this->privCloseFd();\n\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Read each entry\n        $v_header_list = array();\n        $j_start = 0;\n        for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) {\n            // ----- Read the file header\n            $v_header_list[$v_nb_extracted] = array();\n            if (($v_result = $this->privReadCentralFileHeader($v_header_list[$v_nb_extracted])) != 1) {\n                // ----- Close the zip file\n                $this->privCloseFd();\n\n                return $v_result;\n            }\n\n\n            // ----- Store the index\n            $v_header_list[$v_nb_extracted]['index'] = $i;\n\n            // ----- Look for the specific extract rules\n            $v_found = false;\n\n            // ----- Look for extract by name rule\n            if ((isset($p_options[PCLZIP_OPT_BY_NAME])) && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) {\n                // ----- Look if the filename is in the list\n                for ($j=0; ($j<sizeof($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_found); $j++) {\n                    // ----- Look for a directory\n                    if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == \"/\") {\n                        // ----- Look if the directory is in the filename path\n                        if ((strlen($v_header_list[$v_nb_extracted]['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) && (substr($v_header_list[$v_nb_extracted]['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) {\n                            $v_found = true;\n                        } elseif ((($v_header_list[$v_nb_extracted]['external']&0x00000010)==0x00000010) /* Indicates a folder */ && ($v_header_list[$v_nb_extracted]['stored_filename'].'/' == $p_options[PCLZIP_OPT_BY_NAME][$j])) {\n                            $v_found = true;\n                        }\n                    } elseif ($v_header_list[$v_nb_extracted]['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) {\n                        // ----- Look for a filename\n                        $v_found = true;\n                    }\n                }\n            } elseif ((isset($p_options[PCLZIP_OPT_BY_PREG])) && ($p_options[PCLZIP_OPT_BY_PREG] != \"\")) {\n                // ----- Look for extract by preg rule\n                if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header_list[$v_nb_extracted]['stored_filename'])) {\n                        $v_found = true;\n                }\n            } elseif ((isset($p_options[PCLZIP_OPT_BY_INDEX])) && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) {\n                // ----- Look for extract by index rule\n                // ----- Look if the index is in the list\n                for ($j=$j_start; ($j<sizeof($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_found); $j++) {\n                    if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) {\n                        $v_found = true;\n                    }\n                    if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) {\n                        $j_start = $j+1;\n                    }\n                    if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) {\n                        break;\n                    }\n                }\n            } else {\n                $v_found = true;\n            }\n\n            // ----- Look for deletion\n            if ($v_found) {\n                unset($v_header_list[$v_nb_extracted]);\n            } else {\n                $v_nb_extracted++;\n            }\n        }\n\n        // ----- Look if something need to be deleted\n        if ($v_nb_extracted > 0) {\n            // ----- Creates a temporay file\n            $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp';\n\n            // ----- Creates a temporary zip archive\n            $v_temp_zip = new PclZip($v_zip_temp_name);\n\n            // ----- Open the temporary zip file in write mode\n            if (($v_result = $v_temp_zip->privOpenFd('wb')) != 1) {\n                $this->privCloseFd();\n\n                // ----- Return\n                return $v_result;\n            }\n\n            // ----- Look which file need to be kept\n            for ($i=0; $i<sizeof($v_header_list); $i++) {\n                // ----- Calculate the position of the header\n                @rewind($this->zip_fd);\n                if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) {\n                    // ----- Close the zip file\n                    $this->privCloseFd();\n                    $v_temp_zip->privCloseFd();\n                    @unlink($v_zip_temp_name);\n\n                    // ----- Error log\n                    PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size');\n\n                    // ----- Return\n                    return PclZip::errorCode();\n                }\n\n                // ----- Read the file header\n                $v_local_header = array();\n                if (($v_result = $this->privReadFileHeader($v_local_header)) != 1) {\n                    // ----- Close the zip file\n                    $this->privCloseFd();\n                    $v_temp_zip->privCloseFd();\n                    @unlink($v_zip_temp_name);\n\n                    // ----- Return\n                    return $v_result;\n                }\n\n                // ----- Check that local file header is same as central file header\n                if ($this->privCheckFileHeaders($v_local_header, $v_header_list[$i]) != 1) {\n                    // TBC\n                }\n                unset($v_local_header);\n\n                // ----- Write the file header\n                if (($v_result = $v_temp_zip->privWriteFileHeader($v_header_list[$i])) != 1) {\n                    // ----- Close the zip file\n                    $this->privCloseFd();\n                    $v_temp_zip->privCloseFd();\n                    @unlink($v_zip_temp_name);\n\n                    // ----- Return\n                    return $v_result;\n                }\n\n                // ----- Read/write the data block\n                if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])) != 1) {\n                    // ----- Close the zip file\n                    $this->privCloseFd();\n                    $v_temp_zip->privCloseFd();\n                    @unlink($v_zip_temp_name);\n\n                    // ----- Return\n                    return $v_result;\n                }\n            }\n\n            // ----- Store the offset of the central dir\n            $v_offset = @ftell($v_temp_zip->zip_fd);\n\n            // ----- Re-Create the Central Dir files header\n            for ($i=0; $i<sizeof($v_header_list); $i++) {\n                // ----- Create the file header\n                if (($v_result = $v_temp_zip->privWriteCentralFileHeader($v_header_list[$i])) != 1) {\n                    $v_temp_zip->privCloseFd();\n                    $this->privCloseFd();\n                    @unlink($v_zip_temp_name);\n\n                    // ----- Return\n                    return $v_result;\n                }\n\n                // ----- Transform the header to a 'usable' info\n                $v_temp_zip->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]);\n            }\n\n\n            // ----- Zip file comment\n            $v_comment = '';\n            if (isset($p_options[PCLZIP_OPT_COMMENT])) {\n                $v_comment = $p_options[PCLZIP_OPT_COMMENT];\n            }\n\n            // ----- Calculate the size of the central header\n            $v_size = @ftell($v_temp_zip->zip_fd)-$v_offset;\n\n            // ----- Create the central dir footer\n            if (($v_result = $v_temp_zip->privWriteCentralHeader(sizeof($v_header_list), $v_size, $v_offset, $v_comment)) != 1) {\n                    // ----- Reset the file list\n                    unset($v_header_list);\n                    $v_temp_zip->privCloseFd();\n                    $this->privCloseFd();\n                    @unlink($v_zip_temp_name);\n\n                    // ----- Return\n                    return $v_result;\n            }\n\n            // ----- Close\n            $v_temp_zip->privCloseFd();\n            $this->privCloseFd();\n\n            // ----- Delete the zip file\n            // TBC : I should test the result ...\n            @unlink($this->zipname);\n\n            // ----- Rename the temporary file\n            // TBC : I should test the result ...\n            //@rename($v_zip_temp_name, $this->zipname);\n            PclZipUtilRename($v_zip_temp_name, $this->zipname);\n\n            // ----- Destroy the temporary archive\n            unset($v_temp_zip);\n        } elseif ($v_central_dir['entries'] != 0) {\n            // ----- Remove every files : reset the file\n            $this->privCloseFd();\n\n            if (($v_result = $this->privOpenFd('wb')) != 1) {\n                return $v_result;\n            }\n\n            if (($v_result = $this->privWriteCentralHeader(0, 0, 0, '')) != 1) {\n                return $v_result;\n            }\n\n            $this->privCloseFd();\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privDirCheck()\n    // Description :\n    //     Check if a directory exists, if not it creates it and all the parents directory\n    //     which may be useful.\n    // Parameters :\n    //     $p_dir : Directory path to check.\n    // Return Values :\n    //        1 : OK\n    //     -1 : Unable to create directory\n    // --------------------------------------------------------------------------------\n    public function privDirCheck($p_dir, $p_is_dir = false)\n    {\n        $v_result = 1;\n\n        // ----- Remove the final '/'\n        if (($p_is_dir) && (substr($p_dir, -1)=='/')) {\n            $p_dir = substr($p_dir, 0, strlen($p_dir)-1);\n        }\n\n        // ----- Check the directory availability\n        if ((is_dir($p_dir)) || ($p_dir == \"\")) {\n            return 1;\n        }\n\n        // ----- Extract parent directory\n        $p_parent_dir = dirname($p_dir);\n\n        // ----- Just a check\n        if ($p_parent_dir != $p_dir) {\n            // ----- Look for parent directory\n            if ($p_parent_dir != \"\") {\n                if (($v_result = $this->privDirCheck($p_parent_dir)) != 1) {\n                    return $v_result;\n                }\n            }\n        }\n\n        // ----- Create the directory\n        if (!@mkdir($p_dir, 0777)) {\n            // ----- Error log\n            PclZip::privErrorLog(PCLZIP_ERR_DIR_CREATE_FAIL, \"Unable to create directory '$p_dir'\");\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privMerge()\n    // Description :\n    //     If $p_archive_to_add does not exist, the function exit with a success result.\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privMerge(&$p_archive_to_add)\n    {\n        $v_result=1;\n\n        // ----- Look if the archive_to_add exists\n        if (!is_file($p_archive_to_add->zipname)) {\n            // ----- Nothing to merge, so merge is a success\n            $v_result = 1;\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Look if the archive exists\n        if (!is_file($this->zipname)) {\n            // ----- Do a duplicate\n            $v_result = $this->privDuplicate($p_archive_to_add->zipname);\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Open the zip file\n        if (($v_result=$this->privOpenFd('rb')) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Read the central directory informations\n        $v_central_dir = array();\n        if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) {\n            $this->privCloseFd();\n            return $v_result;\n        }\n\n        // ----- Go to beginning of File\n        @rewind($this->zip_fd);\n\n        // ----- Open the archive_to_add file\n        if (($v_result=$p_archive_to_add->privOpenFd('rb')) != 1) {\n            $this->privCloseFd();\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Read the central directory informations\n        $v_central_dir_to_add = array();\n        if (($v_result = $p_archive_to_add->privReadEndCentralDir($v_central_dir_to_add)) != 1) {\n            $this->privCloseFd();\n            $p_archive_to_add->privCloseFd();\n\n            return $v_result;\n        }\n\n        // ----- Go to beginning of File\n        @rewind($p_archive_to_add->zip_fd);\n\n        // ----- Creates a temporay file\n        $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp';\n\n        // ----- Open the temporary file in write mode\n        if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) {\n            $this->privCloseFd();\n            $p_archive_to_add->privCloseFd();\n\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \\''.$v_zip_temp_name.'\\' in binary write mode');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Copy the files from the archive to the temporary file\n        // TBC : Here I should better append the file and go back to erase the central dir\n        $v_size = $v_central_dir['offset'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = fread($this->zip_fd, $v_read_size);\n            @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Copy the files from the archive_to_add into the temporary file\n        $v_size = $v_central_dir_to_add['offset'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size);\n            @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Store the offset of the central dir\n        $v_offset = @ftell($v_zip_temp_fd);\n\n        // ----- Copy the block of file headers from the old archive\n        $v_size = $v_central_dir['size'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($this->zip_fd, $v_read_size);\n            @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Copy the block of file headers from the archive_to_add\n        $v_size = $v_central_dir_to_add['size'];\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size);\n            @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Merge the file comments\n        $v_comment = $v_central_dir['comment'].' '.$v_central_dir_to_add['comment'];\n\n        // ----- Calculate the size of the (new) central header\n        $v_size = @ftell($v_zip_temp_fd)-$v_offset;\n\n        // ----- Swap the file descriptor\n        // Here is a trick : I swap the temporary fd with the zip fd, in order to use\n        // the following methods on the temporary fil and not the real archive fd\n        $v_swap = $this->zip_fd;\n        $this->zip_fd = $v_zip_temp_fd;\n        $v_zip_temp_fd = $v_swap;\n\n        // ----- Create the central dir footer\n        if (($v_result = $this->privWriteCentralHeader($v_central_dir['entries']+$v_central_dir_to_add['entries'], $v_size, $v_offset, $v_comment)) != 1) {\n            $this->privCloseFd();\n            $p_archive_to_add->privCloseFd();\n            @fclose($v_zip_temp_fd);\n            $this->zip_fd = null;\n\n            // ----- Reset the file list\n            unset($v_header_list);\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Swap back the file descriptor\n        $v_swap = $this->zip_fd;\n        $this->zip_fd = $v_zip_temp_fd;\n        $v_zip_temp_fd = $v_swap;\n\n        // ----- Close\n        $this->privCloseFd();\n        $p_archive_to_add->privCloseFd();\n\n        // ----- Close the temporary file\n        @fclose($v_zip_temp_fd);\n\n        // ----- Delete the zip file\n        // TBC : I should test the result ...\n        @unlink($this->zipname);\n\n        // ----- Rename the temporary file\n        // TBC : I should test the result ...\n        //@rename($v_zip_temp_name, $this->zipname);\n        PclZipUtilRename($v_zip_temp_name, $this->zipname);\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privDuplicate()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privDuplicate($p_archive_filename)\n    {\n        $v_result=1;\n\n        // ----- Look if the $p_archive_filename exists\n        if (!is_file($p_archive_filename)) {\n            // ----- Nothing to duplicate, so duplicate is a success.\n            $v_result = 1;\n\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Open the zip file\n        if (($v_result=$this->privOpenFd('wb')) != 1) {\n            // ----- Return\n            return $v_result;\n        }\n\n        // ----- Open the temporary file in write mode\n        if (($v_zip_temp_fd = @fopen($p_archive_filename, 'rb')) == 0) {\n            $this->privCloseFd();\n\n            PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive file \\''.$p_archive_filename.'\\' in binary write mode');\n\n            // ----- Return\n            return PclZip::errorCode();\n        }\n\n        // ----- Copy the files from the archive to the temporary file\n        // TBC : Here I should better append the file and go back to erase the central dir\n        $v_size = filesize($p_archive_filename);\n        while ($v_size != 0) {\n            $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = fread($v_zip_temp_fd, $v_read_size);\n            @fwrite($this->zip_fd, $v_buffer, $v_read_size);\n            $v_size -= $v_read_size;\n        }\n\n        // ----- Close\n        $this->privCloseFd();\n\n        // ----- Close the temporary file\n        @fclose($v_zip_temp_fd);\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privErrorLog()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function privErrorLog($p_error_code = 0, $p_error_string = '')\n    {\n        if (PCLZIP_ERROR_EXTERNAL == 1) {\n            PclError($p_error_code, $p_error_string);\n        } else {\n            $this->error_code = $p_error_code;\n            $this->error_string = $p_error_string;\n        }\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privErrorReset()\n    // Description :\n    // Parameters :\n    // --------------------------------------------------------------------------------\n    public function privErrorReset()\n    {\n        if (PCLZIP_ERROR_EXTERNAL == 1) {\n            PclErrorReset();\n        } else {\n            $this->error_code = 0;\n            $this->error_string = '';\n        }\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privDisableMagicQuotes()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privDisableMagicQuotes()\n    {\n        $v_result=1;\n\n        // ----- Look if function exists\n        if ((!function_exists(\"get_magic_quotes_runtime\")) || (!function_exists(\"set_magic_quotes_runtime\"))) {\n            return $v_result;\n        }\n\n        // ----- Look if already done\n        if ($this->magic_quotes_status != -1) {\n            return $v_result;\n        }\n\n        // ----- Get and memorize the magic_quote value\n        $this->magic_quotes_status = @get_magic_quotes_runtime();\n\n        // ----- Disable magic_quotes\n        if ($this->magic_quotes_status == 1) {\n            @set_magic_quotes_runtime(0);\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n\n    // --------------------------------------------------------------------------------\n    // Function : privSwapBackMagicQuotes()\n    // Description :\n    // Parameters :\n    // Return Values :\n    // --------------------------------------------------------------------------------\n    public function privSwapBackMagicQuotes()\n    {\n        $v_result=1;\n\n        // ----- Look if function exists\n        if ((!function_exists(\"get_magic_quotes_runtime\")) || (!function_exists(\"set_magic_quotes_runtime\"))) {\n            return $v_result;\n        }\n\n        // ----- Look if something to do\n        if ($this->magic_quotes_status != -1) {\n            return $v_result;\n        }\n\n        // ----- Swap back magic_quotes\n        if ($this->magic_quotes_status == 1) {\n            @set_magic_quotes_runtime($this->magic_quotes_status);\n        }\n\n        // ----- Return\n        return $v_result;\n    }\n    // --------------------------------------------------------------------------------\n}\n// End of class\n// --------------------------------------------------------------------------------\n\n// --------------------------------------------------------------------------------\n// Function : PclZipUtilPathReduction()\n// Description :\n// Parameters :\n// Return Values :\n// --------------------------------------------------------------------------------\nfunction PclZipUtilPathReduction($p_dir)\n{\n    $v_result = \"\";\n\n    // ----- Look for not empty path\n    if ($p_dir != \"\") {\n        // ----- Explode path by directory names\n        $v_list = explode(\"/\", $p_dir);\n\n        // ----- Study directories from last to first\n        $v_skip = 0;\n        for ($i=sizeof($v_list)-1; $i>=0; $i--) {\n            // ----- Look for current path\n            if ($v_list[$i] == \".\") {\n                // ----- Ignore this directory\n                // Should be the first $i=0, but no check is done\n            } elseif ($v_list[$i] == \"..\") {\n                $v_skip++;\n            } elseif ($v_list[$i] == \"\") {\n                // ----- First '/' i.e. root slash\n                if ($i == 0) {\n                    $v_result = \"/\".$v_result;\n                    if ($v_skip > 0) {\n                        // ----- It is an invalid path, so the path is not modified\n                        // TBC\n                        $v_result = $p_dir;\n                        $v_skip = 0;\n                    }\n                } elseif ($i == (sizeof($v_list)-1)) {\n                    // ----- Last '/' i.e. indicates a directory\n                    $v_result = $v_list[$i];\n                } else {\n                    // ----- Double '/' inside the path\n                    // ----- Ignore only the double '//' in path,\n                    // but not the first and last '/'\n                }\n            } else {\n                // ----- Look for item to skip\n                if ($v_skip > 0) {\n                    $v_skip--;\n                } else {\n                    $v_result = $v_list[$i].($i!=(sizeof($v_list)-1)?\"/\".$v_result:\"\");\n                }\n            }\n        }\n\n        // ----- Look for skip\n        if ($v_skip > 0) {\n            while ($v_skip > 0) {\n                $v_result = '../'.$v_result;\n                $v_skip--;\n            }\n        }\n    }\n\n    // ----- Return\n    return $v_result;\n}\n// --------------------------------------------------------------------------------\n\n// --------------------------------------------------------------------------------\n// Function : PclZipUtilPathInclusion()\n// Description :\n//     This function indicates if the path $p_path is under the $p_dir tree. Or,\n//     said in an other way, if the file or sub-dir $p_path is inside the dir\n//     $p_dir.\n//     The function indicates also if the path is exactly the same as the dir.\n//     This function supports path with duplicated '/' like '//', but does not\n//     support '.' or '..' statements.\n// Parameters :\n// Return Values :\n//     0 if $p_path is not inside directory $p_dir\n//     1 if $p_path is inside directory $p_dir\n//     2 if $p_path is exactly the same as $p_dir\n// --------------------------------------------------------------------------------\nfunction PclZipUtilPathInclusion($p_dir, $p_path)\n{\n    $v_result = 1;\n\n    // ----- Look for path beginning by ./\n    if (($p_dir == '.') || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) {\n        $p_dir = PclZipUtilTranslateWinPath(getcwd(), false).'/'.substr($p_dir, 1);\n    }\n    if (($p_path == '.') || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) {\n        $p_path = PclZipUtilTranslateWinPath(getcwd(), false).'/'.substr($p_path, 1);\n    }\n\n    // ----- Explode dir and path by directory separator\n    $v_list_dir = explode(\"/\", $p_dir);\n    $v_list_dir_size = sizeof($v_list_dir);\n    $v_list_path = explode(\"/\", $p_path);\n    $v_list_path_size = sizeof($v_list_path);\n\n    // ----- Study directories paths\n    $i = 0;\n    $j = 0;\n    while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) {\n        // ----- Look for empty dir (path reduction)\n        if ($v_list_dir[$i] == '') {\n            $i++;\n            continue;\n        }\n        if ($v_list_path[$j] == '') {\n            $j++;\n            continue;\n        }\n\n        // ----- Compare the items\n        if (($v_list_dir[$i] != $v_list_path[$j]) && ($v_list_dir[$i] != '') && ($v_list_path[$j] != '')) {\n            $v_result = 0;\n        }\n\n        // ----- Next items\n        $i++;\n        $j++;\n    }\n\n    // ----- Look if everything seems to be the same\n    if ($v_result) {\n        // ----- Skip all the empty items\n        while (($j < $v_list_path_size) && ($v_list_path[$j] == '')) {\n            $j++;\n        }\n        while (($i < $v_list_dir_size) && ($v_list_dir[$i] == '')) {\n            $i++;\n        }\n\n        if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) {\n            // ----- There are exactly the same\n            $v_result = 2;\n        } elseif ($i < $v_list_dir_size) {\n            // ----- The path is shorter than the dir\n            $v_result = 0;\n        }\n    }\n\n    // ----- Return\n    return $v_result;\n}\n// --------------------------------------------------------------------------------\n\n// --------------------------------------------------------------------------------\n// Function : PclZipUtilCopyBlock()\n// Description :\n// Parameters :\n//     $p_mode : read/write compression mode\n//                         0 : src & dest normal\n//                         1 : src gzip, dest normal\n//                         2 : src normal, dest gzip\n//                         3 : src & dest gzip\n// Return Values :\n// --------------------------------------------------------------------------------\nfunction PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode = 0)\n{\n    $v_result = 1;\n\n    if ($p_mode==0) {\n        while ($p_size != 0) {\n            $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($p_src, $v_read_size);\n            @fwrite($p_dest, $v_buffer, $v_read_size);\n            $p_size -= $v_read_size;\n        }\n    } elseif ($p_mode==1) {\n        while ($p_size != 0) {\n            $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @gzread($p_src, $v_read_size);\n            @fwrite($p_dest, $v_buffer, $v_read_size);\n            $p_size -= $v_read_size;\n        }\n    } elseif ($p_mode==2) {\n        while ($p_size != 0) {\n            $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @fread($p_src, $v_read_size);\n            @gzwrite($p_dest, $v_buffer, $v_read_size);\n            $p_size -= $v_read_size;\n        }\n    } elseif ($p_mode==3) {\n        while ($p_size != 0) {\n            $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE);\n            $v_buffer = @gzread($p_src, $v_read_size);\n            @gzwrite($p_dest, $v_buffer, $v_read_size);\n            $p_size -= $v_read_size;\n        }\n    }\n\n    // ----- Return\n    return $v_result;\n}\n// --------------------------------------------------------------------------------\n\n// --------------------------------------------------------------------------------\n// Function : PclZipUtilRename()\n// Description :\n//     This function tries to do a simple rename() function. If it fails, it\n//     tries to copy the $p_src file in a new $p_dest file and then unlink the\n//     first one.\n// Parameters :\n//     $p_src : Old filename\n//     $p_dest : New filename\n// Return Values :\n//     1 on success, 0 on failure.\n// --------------------------------------------------------------------------------\nfunction PclZipUtilRename($p_src, $p_dest)\n{\n    $v_result = 1;\n\n    // ----- Try to rename the files\n    if (!@rename($p_src, $p_dest)) {\n        // ----- Try to copy & unlink the src\n        if (!@copy($p_src, $p_dest)) {\n            $v_result = 0;\n        } elseif (!@unlink($p_src)) {\n            $v_result = 0;\n        }\n    }\n\n    // ----- Return\n    return $v_result;\n}\n// --------------------------------------------------------------------------------\n\n// --------------------------------------------------------------------------------\n// Function : PclZipUtilOptionText()\n// Description :\n//     Translate option value in text. Mainly for debug purpose.\n// Parameters :\n//     $p_option : the option value.\n// Return Values :\n//     The option text value.\n// --------------------------------------------------------------------------------\nfunction PclZipUtilOptionText($p_option)\n{\n    $v_list = get_defined_constants();\n    for (reset($v_list); $v_key = key($v_list); next($v_list)) {\n        $v_prefix = substr($v_key, 0, 10);\n        if ((($v_prefix == 'PCLZIP_OPT') || ($v_prefix == 'PCLZIP_CB_') || ($v_prefix == 'PCLZIP_ATT')) && ($v_list[$v_key] == $p_option)) {\n            return $v_key;\n        }\n    }\n\n    $v_result = 'Unknown';\n\n    return $v_result;\n}\n// --------------------------------------------------------------------------------\n\n// --------------------------------------------------------------------------------\n// Function : PclZipUtilTranslateWinPath()\n// Description :\n//     Translate windows path by replacing '\\' by '/' and optionally removing\n//     drive letter.\n// Parameters :\n//     $p_path : path to translate.\n//     $p_remove_disk_letter : true | false\n// Return Values :\n//     The path translated.\n// --------------------------------------------------------------------------------\nfunction PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter = true)\n{\n    if (stristr(php_uname(), 'windows')) {\n        // ----- Look for potential disk letter\n        if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) {\n            $p_path = substr($p_path, $v_position+1);\n        }\n        // ----- Change potential windows directory separator\n        if ((strpos($p_path, '\\\\') > 0) || (substr($p_path, 0, 1) == '\\\\')) {\n            $p_path = strtr($p_path, '\\\\', '/');\n        }\n    }\n    return $p_path;\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/PCLZip/readme.txt",
    "content": "// --------------------------------------------------------------------------------\r\n// PclZip 2.8.2 - readme.txt\r\n// --------------------------------------------------------------------------------\r\n// License GNU/LGPL - August 2009\r\n// Vincent Blavet - vincent@phpconcept.net\r\n// http://www.phpconcept.net\r\n// --------------------------------------------------------------------------------\r\n// $Id: readme.txt,v 1.60 2009/09/30 20:35:21 vblavet Exp $\r\n// --------------------------------------------------------------------------------\r\n\r\n\r\n\r\n0 - Sommaire\r\n============\r\n    1 - Introduction\r\n    2 - What's new\r\n    3 - Corrected bugs\r\n    4 - Known bugs or limitations\r\n    5 - License\r\n    6 - Warning\r\n    7 - Documentation\r\n    8 - Author\r\n    9 - Contribute\r\n\r\n1 - Introduction\r\n================\r\n\r\n  PclZip is a library that allow you to manage a Zip archive.\r\n\r\n  Full documentation about PclZip can be found here : http://www.phpconcept.net/pclzip\r\n\r\n2 - What's new\r\n==============\r\n\r\n  Version 2.8.2 :\r\n    - PCLZIP_CB_PRE_EXTRACT and PCLZIP_CB_POST_EXTRACT are now supported with \r\n      extraction as a string (PCLZIP_OPT_EXTRACT_AS_STRING). The string\r\n      can also be modified in the post-extract call back.\r\n    **Bugs correction :\r\n    - PCLZIP_OPT_REMOVE_ALL_PATH was not working correctly    \r\n    - Remove use of eval() and do direct call to callback functions\r\n    - Correct support of 64bits systems (Thanks to WordPress team)\r\n\r\n  Version 2.8.1 :\r\n    - Move option PCLZIP_OPT_BY_EREG to PCLZIP_OPT_BY_PREG because ereg() is\r\n      deprecated in PHP 5.3. When using option PCLZIP_OPT_BY_EREG, PclZip will\r\n      automatically replace it by PCLZIP_OPT_BY_PREG.\r\n  \r\n  Version 2.8 :\r\n    - Improve extraction of zip archive for large files by using temporary files\r\n      This feature is working like the one defined in r2.7.\r\n      Options are renamed : PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_OFF,\r\n      PCLZIP_OPT_TEMP_FILE_THRESHOLD\r\n    - Add a ratio constant PCLZIP_TEMPORARY_FILE_RATIO to configure the auto\r\n      sense of temporary file use.\r\n    - Bug correction : Reduce filepath in returned file list to remove ennoying\r\n      './/' preambule in file path.\r\n\r\n  Version 2.7 :\r\n    - Improve creation of zip archive for large files :\r\n      PclZip will now autosense the configured memory and use temporary files\r\n      when large file is suspected.\r\n      This feature can also ne triggered by manual options in create() and add()\r\n      methods. 'PCLZIP_OPT_ADD_TEMP_FILE_ON' force the use of temporary files,\r\n      'PCLZIP_OPT_ADD_TEMP_FILE_OFF' disable the autosense technic, \r\n      'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD' allow for configuration of a size\r\n      threshold to use temporary files.\r\n      Using \"temporary files\" rather than \"memory\" might take more time, but\r\n      might give the ability to zip very large files :\r\n      Tested on my win laptop with a 88Mo file :\r\n        Zip \"in-memory\" : 18sec (max_execution_time=30, memory_limit=180Mo)\r\n        Zip \"tmporary-files\" : 23sec (max_execution_time=30, memory_limit=30Mo)\r\n    - Replace use of mktime() by time() to limit the E_STRICT error messages.\r\n    - Bug correction : When adding files with full windows path (drive letter)\r\n      PclZip is now working. Before, if the drive letter is not the default\r\n      path, PclZip was not able to add the file.\r\n\r\n  Version 2.6 :\r\n    - Code optimisation\r\n    - New attributes PCLZIP_ATT_FILE_COMMENT gives the ability to\r\n      add a comment for a specific file. (Don't really know if this is usefull)\r\n    - New attribute PCLZIP_ATT_FILE_CONTENT gives the ability to add a string \r\n      as a file.\r\n    - New attribute PCLZIP_ATT_FILE_MTIME modify the timestamp associated with\r\n      a file.\r\n    - Correct a bug. Files archived with a timestamp with 0h0m0s were extracted\r\n      with current time\r\n    - Add CRC value in the informations returned back for each file after an\r\n      action.\r\n    - Add missing closedir() statement.\r\n    - When adding a folder, and removing the path of this folder, files were\r\n      incorrectly added with a '/' at the beginning. Which means files are \r\n      related to root in unix systems. Corrected.\r\n    - Add conditional if before constant definition. This will allow users\r\n      to redefine constants without changing the file, and then improve\r\n      upgrade of pclzip code for new versions.\r\n  \r\n  Version 2.5 :\r\n    - Introduce the ability to add file/folder with individual properties (file descriptor).\r\n      This gives for example the ability to change the filename of a zipped file.\r\n      . Able to add files individually\r\n      . Able to change full name\r\n      . Able to change short name\r\n      . Compatible with global options\r\n    - New attributes : PCLZIP_ATT_FILE_NAME, PCLZIP_ATT_FILE_NEW_SHORT_NAME, PCLZIP_ATT_FILE_NEW_FULL_NAME\r\n    - New error code : PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE\r\n    - Add a security control feature. PclZip can extract any file in any folder\r\n      of a system. People may use this to upload a zip file and try to override\r\n      a system file. The PCLZIP_OPT_EXTRACT_DIR_RESTRICTION will give the\r\n      ability to forgive any directory transversal behavior.\r\n    - New PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : check extraction path\r\n    - New error code : PCLZIP_ERR_DIRECTORY_RESTRICTION\r\n    - Modification in PclZipUtilPathInclusion() : dir and path beginning with ./ will be prepend\r\n      by current path (getcwd())\r\n  \r\n  Version 2.4 :\r\n    - Code improvment : try to speed up the code by removing unusefull call to pack()\r\n    - Correct bug in delete() : delete() should be called with no argument. This was not\r\n      the case in 2.3. This is corrected in 2.4.\r\n    - Correct a bug in path_inclusion function. When the path has several '../../', the\r\n      result was bad.\r\n    - Add a check for magic_quotes_runtime configuration. If enabled, PclZip will \r\n      disable it while working and det it back to its original value.\r\n      This resolve a lots of bad formated archive errors.\r\n    - Bug correction : PclZip now correctly unzip file in some specific situation,\r\n      when compressed content has same size as uncompressed content.\r\n    - Bug correction : When selecting option 'PCLZIP_OPT_REMOVE_ALL_PATH', \r\n      directories are not any more created.\r\n    - Code improvment : correct unclosed opendir(), better handling of . and .. in\r\n      loops.\r\n\r\n\r\n  Version 2.3 :\r\n    - Correct a bug with PHP5 : affecting the value 0xFE49FFE0 to a variable does not\r\n      give the same result in PHP4 and PHP5 ....\r\n\r\n  Version 2.2 :\r\n    - Try development of PCLZIP_OPT_CRYPT .....\r\n      However this becomes to a stop. To crypt/decrypt I need to multiply 2 long integers,\r\n      the result (greater than a long) is not supported by PHP. Even the use of bcmath\r\n      functions does not help. I did not find yet a solution ...;\r\n    - Add missing '/' at end of directory entries\r\n    - Check is a file is encrypted or not. Returns status 'unsupported_encryption' and/or\r\n      error code PCLZIP_ERR_UNSUPPORTED_ENCRYPTION.\r\n    - Corrected : Bad \"version need to extract\" field in local file header\r\n    - Add private method privCheckFileHeaders() in order to check local and central\r\n      file headers. PclZip is now supporting purpose bit flag bit 3. Purpose bit flag bit 3 gives\r\n      the ability to have a local file header without size, compressed size and crc filled.\r\n    - Add a generic status 'error' for file status\r\n    - Add control of compression type. PclZip only support deflate compression method.\r\n      Before v2.2, PclZip does not check the compression method used in an archive while\r\n      extracting. With v2.2 PclZip returns a new error status for a file using an unsupported\r\n      compression method. New status is \"unsupported_compression\". New error code is\r\n      PCLZIP_ERR_UNSUPPORTED_COMPRESSION.\r\n    - Add optional attribute PCLZIP_OPT_STOP_ON_ERROR. This will stop the extract of files\r\n      when errors like 'a folder with same name exists' or 'a newer file exists' or\r\n      'a write protected file' exists, rather than set a status for the concerning file\r\n      and resume the extract of the zip.\r\n    - Add optional attribute PCLZIP_OPT_REPLACE_NEWER. This will force, during an extract' the\r\n      replacement of the file, even if a  newer version of the file exists.\r\n      Note that today if a file with the same name already exists but is older it will be\r\n      replaced by the extracted one.\r\n    - Improve PclZipUtilOption()\r\n    - Support of zip archive with trailing bytes. Before 2.2, PclZip checks that the central\r\n      directory structure is the last data in the archive. Crypt encryption/decryption of\r\n      zip archive put trailing 0 bytes after decryption. PclZip is now supporting this.\r\n\r\n  Version 2.1 :\r\n    - Add the ability to abort the extraction by using a user callback function.\r\n      The user can now return the value '2' in its callback which indicates to stop the\r\n      extraction. For a pre call-back extract is stopped before the extration of the current\r\n      file. For a post call back, the extraction is stopped after.\r\n    - Add the ability to extract a file (or several files) directly in the standard output.\r\n      This is done by the new parameter PCLZIP_OPT_EXTRACT_IN_OUTPUT with method extract().\r\n    - Add support for parameters PCLZIP_OPT_COMMENT, PCLZIP_OPT_ADD_COMMENT,\r\n      PCLZIP_OPT_PREPEND_COMMENT. This will create, replace, add, or prepend comments\r\n      in the zip archive.\r\n    - When merging two archives, the comments are not any more lost, but merged, with a \r\n      blank space separator.\r\n    - Corrected bug : Files are not deleted when all files are asked to be deleted.\r\n    - Corrected bug : Folders with name '0' made PclZip to abort the create or add feature.\r\n\r\n\r\n  Version 2.0 :\r\n    ***** Warning : Some new features may break the backward compatibility for your scripts.\r\n                    Please carefully read the readme file.\r\n    - Add the ability to delete by Index, name and regular expression. This feature is \r\n      performed by the method delete(), which uses the optional parameters\r\n      PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_BY_NAME, PCLZIP_OPT_BY_EREG or PCLZIP_OPT_BY_PREG.\r\n    - Add the ability to extract by regular expression. To extract by regexp you must use the method\r\n      extract(), with the option PCLZIP_OPT_BY_EREG or PCLZIP_OPT_BY_PREG \r\n      (depending if you want to use ereg() or preg_match() syntax) followed by the \r\n      regular expression pattern.\r\n    - Add the ability to extract by index, directly with the extract() method. This is a\r\n      code improvment of the extractByIndex() method.\r\n    - Add the ability to extract by name. To extract by name you must use the method\r\n      extract(), with the option PCLZIP_OPT_BY_NAME followed by the filename to\r\n      extract or an array of filenames to extract. To extract all a folder, use the folder\r\n      name rather than the filename with a '/' at the end.\r\n    - Add the ability to add files without compression. This is done with a new attribute\r\n      which is PCLZIP_OPT_NO_COMPRESSION.\r\n    - Add the attribute PCLZIP_OPT_EXTRACT_AS_STRING, which allow to extract a file directly\r\n      in a string without using any file (or temporary file).\r\n    - Add constant PCLZIP_SEPARATOR for static configuration of filename separators in a single string.\r\n      The default separator is now a comma (,) and not any more a blank space.\r\n      THIS BREAK THE BACKWARD COMPATIBILITY : Please check if this may have an impact with\r\n      your script.\r\n    - Improve algorythm performance by removing the use of temporary files when adding or \r\n      extracting files in an archive.\r\n    - Add (correct) detection of empty filename zipping. This can occurs when the removed\r\n      path is the same\r\n      as a zipped dir. The dir is not zipped (['status'] = filtered), only its content.\r\n    - Add better support for windows paths (thanks for help from manus@manusfreedom.com).\r\n    - Corrected bug : When the archive file already exists with size=0, the add() method\r\n      fails. Corrected in 2.0.\r\n    - Remove the use of OS_WINDOWS constant. Use php_uname() function rather.\r\n    - Control the order of index ranges in extract by index feature.\r\n    - Change the internal management of folders (better handling of internal flag).\r\n\r\n\r\n  Version 1.3 :\r\n    - Removing the double include check. This is now done by include_once() and require_once()\r\n      PHP directives.\r\n    - Changing the error handling mecanism : Remove the use of an external error library.\r\n      The former PclError...() functions are replaced by internal equivalent methods.\r\n      By changing the environment variable PCLZIP_ERROR_EXTERNAL you can still use the former library.\r\n      Introducing the use of constants for error codes rather than integer values. This will help\r\n      in futur improvment.\r\n      Introduction of error handling functions like errorCode(), errorName() and errorInfo().\r\n    - Remove the deprecated use of calling function with arguments passed by reference.\r\n    - Add the calling of extract(), extractByIndex(), create() and add() functions\r\n      with variable options rather than fixed arguments.\r\n    - Add the ability to remove all the file path while extracting or adding,\r\n      without any need to specify the path to remove.\r\n      This is available for extract(), extractByIndex(), create() and add() functionS by using\r\n      the new variable options parameters :\r\n      - PCLZIP_OPT_REMOVE_ALL_PATH : by indicating this option while calling the fct.\r\n    - Ability to change the mode of a file after the extraction (chmod()).\r\n      This is available for extract() and extractByIndex() functionS by using\r\n      the new variable options parameters.\r\n      - PCLZIP_OPT_SET_CHMOD : by setting the value of this option.\r\n    - Ability to definition call-back options. These call-back will be called during the adding,\r\n      or the extracting of file (extract(), extractByIndex(), create() and add() functions) :\r\n      - PCLZIP_CB_PRE_EXTRACT : will be called before each extraction of a file. The user\r\n        can trigerred the change the filename of the extracted file. The user can triggered the\r\n        skip of the extraction. This is adding a 'skipped' status in the file list result value.\r\n      - PCLZIP_CB_POST_EXTRACT : will be called after each extraction of a file.\r\n        Nothing can be triggered from that point.\r\n      - PCLZIP_CB_PRE_ADD : will be called before each add of a file. The user\r\n        can trigerred the change the stored filename of the added file. The user can triggered the\r\n        skip of the add. This is adding a 'skipped' status in the file list result value.\r\n      - PCLZIP_CB_POST_ADD : will be called after each add of a file.\r\n        Nothing can be triggered from that point.\r\n    - Two status are added in the file list returned as function result : skipped & filename_too_long\r\n      'skipped' is used when a call-back function ask for skipping the file.\r\n      'filename_too_long' is used while adding a file with a too long filename to archive (the file is\r\n      not added)\r\n    - Adding the function PclZipUtilPathInclusion(), that check the inclusion of a path into\r\n      a directory.\r\n    - Add a check of the presence of the archive file before some actions (like list, ...)\r\n    - Add the initialisation of field \"index\" in header array. This means that by\r\n      default index will be -1 when not explicitly set by the methods.\r\n\r\n  Version 1.2 :\r\n    - Adding a duplicate function.\r\n    - Adding a merge function. The merge function is a \"quick merge\" function,\r\n      it just append the content of an archive at the end of the first one. There\r\n      is no check for duplicate files or more recent files.\r\n    - Improve the search of the central directory end.\r\n\r\n  Version 1.1.2 :\r\n\r\n    - Changing the license of PclZip. PclZip is now released under the GNU / LGPL license\r\n      (see License section).\r\n    - Adding the optional support of a static temporary directory. You will need to configure\r\n      the constant PCLZIP_TEMPORARY_DIR if you want to use this feature.\r\n    - Improving the rename() function. In some cases rename() does not work (different\r\n      Filesystems), so it will be replaced by a copy() + unlink() functions.\r\n\r\n  Version 1.1.1 :\r\n\r\n    - Maintenance release, no new feature.\r\n\r\n  Version 1.1 :\r\n\r\n    - New method Add() : adding files in the archive\r\n    - New method ExtractByIndex() : partial extract of the archive, files are identified by\r\n      their index in the archive\r\n    - New method DeleteByIndex() : delete some files/folder entries from the archive,\r\n      files are identified by their index in the archive.\r\n    - Adding a test of the zlib extension presence. If not present abort the script.\r\n\r\n  Version 1.0.1 :\r\n\r\n    - No new feature\r\n\r\n\r\n3 - Corrected bugs\r\n==================\r\n\r\n  Corrected in Version 2.0 :\r\n    - Corrected : During an extraction, if a call-back fucntion is used and try to skip\r\n                  a file, all the extraction process is stopped. \r\n\r\n  Corrected in Version 1.3 :\r\n    - Corrected : Support of static synopsis for method extract() is broken.\r\n    - Corrected : invalid size of archive content field (0xFF) should be (0xFFFF).\r\n    - Corrected : When an extract is done with a remove_path parameter, the entry for\r\n      the directory with exactly the same path is not skipped/filtered.\r\n    - Corrected : extractByIndex() and deleteByIndex() were not managing index in the\r\n      right way. For example indexes '1,3-5,11' will only extract files 1 and 11. This\r\n      is due to a sort of the index resulting table that puts 11 before 3-5 (sort on\r\n      string and not interger). The sort is temporarilly removed, this means that\r\n      you must provide a sorted list of index ranges.\r\n\r\n  Corrected in Version 1.2 :\r\n\r\n    - Nothing.\r\n\r\n  Corrected in Version 1.1.2 :\r\n\r\n    - Corrected : Winzip is unable to delete or add new files in a PclZip created archives.\r\n\r\n  Corrected in Version 1.1.1 :\r\n\r\n    - Corrected : When archived file is not compressed (0% compression), the\r\n      extract method fails.\r\n\r\n  Corrected in Version 1.1 :\r\n\r\n    - Corrected : Adding a complete tree of folder may result in a bad archive\r\n      creation.\r\n\r\n  Corrected in Version 1.0.1 :\r\n\r\n    - Corrected : Error while compressing files greater than PCLZIP_READ_BLOCK_SIZE (default=1024).\r\n\r\n\r\n4 - Known bugs or limitations\r\n=============================\r\n\r\n  Please publish bugs reports in SourceForge :\r\n    http://sourceforge.net/tracker/?group_id=40254&atid=427564\r\n\r\n  In Version 2.x :\r\n    - PclZip does only support file uncompressed or compressed with deflate (compression method 8)\r\n    - PclZip does not support password protected zip archive\r\n    - Some concern were seen when changing mtime of a file while archiving. \r\n      Seems to be linked to Daylight Saving Time (PclTest_changing_mtime).\r\n\r\n  In Version 1.2 :\r\n\r\n    - merge() methods does not check for duplicate files or last date of modifications.\r\n\r\n  In Version 1.1 :\r\n\r\n    - Limitation : Using 'extract' fields in the file header in the zip archive is not supported.\r\n    - WinZip is unable to delete a single file in a PclZip created archive. It is also unable to\r\n      add a file in a PclZip created archive. (Corrected in v.1.2)\r\n\r\n  In Version 1.0.1 :\r\n\r\n    - Adding a complete tree of folder may result in a bad archive\r\n      creation. (Corrected in V.1.1).\r\n    - Path given to methods must be in the unix format (/) and not the Windows format (\\).\r\n      Workaround : Use only / directory separators.\r\n    - PclZip is using temporary files that are sometime the name of the file with a .tmp or .gz\r\n      added suffix. Files with these names may already exist and may be overwritten.\r\n      Workaround : none.\r\n    - PclZip does not check if the zlib extension is present. If it is absent, the zip\r\n      file is not created and the lib abort without warning.\r\n      Workaround : enable the zlib extension on the php install\r\n\r\n  In Version 1.0 :\r\n\r\n    - Error while compressing files greater than PCLZIP_READ_BLOCK_SIZE (default=1024).\r\n      (Corrected in v.1.0.1)\r\n    - Limitation : Multi-disk zip archive are not supported.\r\n\r\n\r\n5 - License\r\n===========\r\n\r\n  Since version 1.1.2, PclZip Library is released under GNU/LGPL license.\r\n  This library is free, so you can use it at no cost.\r\n\r\n  HOWEVER, if you release a script, an application, a library or any kind of\r\n  code using PclZip library (or a part of it), YOU MUST :\r\n  - Indicate in the documentation (or a readme file), that your work\r\n    uses PclZip Library, and make a reference to the author and the web site\r\n    http://www.phpconcept.net\r\n  - Gives the ability to the final user to update the PclZip libary.\r\n\r\n  I will also appreciate that you send me a mail (vincent@phpconcept.net), just to\r\n  be aware that someone is using PclZip.\r\n\r\n  For more information about GNU/LGPL license : http://www.gnu.org\r\n\r\n6 - Warning\r\n=================\r\n\r\n  This library and the associated files are non commercial, non professional work.\r\n  It should not have unexpected results. However if any damage is caused by this software\r\n  the author can not be responsible.\r\n  The use of this software is at the risk of the user.\r\n\r\n7 - Documentation\r\n=================\r\n  PclZip User Manuel is available in English on PhpConcept : http://www.phpconcept.net/pclzip/man/en/index.php\r\n  A Russian translation was done by Feskov Kuzma : http://php.russofile.ru/ru/authors/unsort/zip/\r\n\r\n8 - Author\r\n==========\r\n\r\n  This software was written by Vincent Blavet (vincent@phpconcept.net) on its leasure time.\r\n\r\n9 - Contribute\r\n==============\r\n  If you want to contribute to the development of PclZip, please contact vincent@phpconcept.net.\r\n  If you can help in financing PhpConcept hosting service, please go to\r\n  http://www.phpconcept.net/soutien.php\r\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/PasswordHasher.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Shared_PasswordHasher\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Shared_PasswordHasher\n{\n    /**\n     * Create a password hash from a given string.\n     *\n     * This method is based on the algorithm provided by\n     * Daniel Rentz of OpenOffice and the PEAR package\n     * Spreadsheet_Excel_Writer by Xavier Noguer <xnoguer@rezebra.com>.\n     *\n     * @param     string    $pPassword    Password to hash\n     * @return     string                Hashed password\n     */\n    public static function hashPassword($pPassword = '')\n    {\n        $password   = 0x0000;\n        $charPos    = 1;       // char position\n\n        // split the plain text password in its component characters\n        $chars = preg_split('//', $pPassword, -1, PREG_SPLIT_NO_EMPTY);\n        foreach ($chars as $char) {\n            $value            = ord($char) << $charPos++;    // shifted ASCII value\n            $rotated_bits    = $value >> 15;                // rotated bits beyond bit 15\n            $value            &= 0x7fff;                    // first 15 bits\n            $password        ^= ($value | $rotated_bits);\n        }\n\n        $password ^= strlen($pPassword);\n        $password ^= 0xCE4B;\n\n        return(strtoupper(dechex($password)));\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/String.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_String\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_String\n{\n    /**    Constants                */\n    /**    Regular Expressions        */\n    //    Fraction\n    const STRING_REGEXP_FRACTION    = '(-?)(\\d+)\\s+(\\d+\\/\\d+)';\n\n\n    /**\n     * Control characters array\n     *\n     * @var string[]\n     */\n    private static $controlCharacters = array();\n\n    /**\n     * SYLK Characters array\n     *\n     * $var array\n     */\n    private static $SYLKCharacters = array();\n\n    /**\n     * Decimal separator\n     *\n     * @var string\n     */\n    private static $decimalSeparator;\n\n    /**\n     * Thousands separator\n     *\n     * @var string\n     */\n    private static $thousandsSeparator;\n\n    /**\n     * Currency code\n     *\n     * @var string\n     */\n    private static $currencyCode;\n\n    /**\n     * Is mbstring extension avalable?\n     *\n     * @var boolean\n     */\n    private static $isMbstringEnabled;\n\n    /**\n     * Is iconv extension avalable?\n     *\n     * @var boolean\n     */\n    private static $isIconvEnabled;\n\n    /**\n     * Build control characters array\n     */\n    private static function buildControlCharacters()\n    {\n        for ($i = 0; $i <= 31; ++$i) {\n            if ($i != 9 && $i != 10 && $i != 13) {\n                $find = '_x' . sprintf('%04s', strtoupper(dechex($i))) . '_';\n                $replace = chr($i);\n                self::$controlCharacters[$find] = $replace;\n            }\n        }\n    }\n\n    /**\n     * Build SYLK characters array\n     */\n    private static function buildSYLKCharacters()\n    {\n        self::$SYLKCharacters = array(\n            \"\\x1B 0\"  => chr(0),\n            \"\\x1B 1\"  => chr(1),\n            \"\\x1B 2\"  => chr(2),\n            \"\\x1B 3\"  => chr(3),\n            \"\\x1B 4\"  => chr(4),\n            \"\\x1B 5\"  => chr(5),\n            \"\\x1B 6\"  => chr(6),\n            \"\\x1B 7\"  => chr(7),\n            \"\\x1B 8\"  => chr(8),\n            \"\\x1B 9\"  => chr(9),\n            \"\\x1B :\"  => chr(10),\n            \"\\x1B ;\"  => chr(11),\n            \"\\x1B <\"  => chr(12),\n            \"\\x1B :\"  => chr(13),\n            \"\\x1B >\"  => chr(14),\n            \"\\x1B ?\"  => chr(15),\n            \"\\x1B!0\"  => chr(16),\n            \"\\x1B!1\"  => chr(17),\n            \"\\x1B!2\"  => chr(18),\n            \"\\x1B!3\"  => chr(19),\n            \"\\x1B!4\"  => chr(20),\n            \"\\x1B!5\"  => chr(21),\n            \"\\x1B!6\"  => chr(22),\n            \"\\x1B!7\"  => chr(23),\n            \"\\x1B!8\"  => chr(24),\n            \"\\x1B!9\"  => chr(25),\n            \"\\x1B!:\"  => chr(26),\n            \"\\x1B!;\"  => chr(27),\n            \"\\x1B!<\"  => chr(28),\n            \"\\x1B!=\"  => chr(29),\n            \"\\x1B!>\"  => chr(30),\n            \"\\x1B!?\"  => chr(31),\n            \"\\x1B'?\"  => chr(127),\n            \"\\x1B(0\"  => '€', // 128 in CP1252\n            \"\\x1B(2\"  => '‚', // 130 in CP1252\n            \"\\x1B(3\"  => 'ƒ', // 131 in CP1252\n            \"\\x1B(4\"  => '„', // 132 in CP1252\n            \"\\x1B(5\"  => '…', // 133 in CP1252\n            \"\\x1B(6\"  => '†', // 134 in CP1252\n            \"\\x1B(7\"  => '‡', // 135 in CP1252\n            \"\\x1B(8\"  => 'ˆ', // 136 in CP1252\n            \"\\x1B(9\"  => '‰', // 137 in CP1252\n            \"\\x1B(:\"  => 'Š', // 138 in CP1252\n            \"\\x1B(;\"  => '‹', // 139 in CP1252\n            \"\\x1BNj\"  => 'Œ', // 140 in CP1252\n            \"\\x1B(>\"  => 'Ž', // 142 in CP1252\n            \"\\x1B)1\"  => '‘', // 145 in CP1252\n            \"\\x1B)2\"  => '’', // 146 in CP1252\n            \"\\x1B)3\"  => '“', // 147 in CP1252\n            \"\\x1B)4\"  => '”', // 148 in CP1252\n            \"\\x1B)5\"  => '•', // 149 in CP1252\n            \"\\x1B)6\"  => '–', // 150 in CP1252\n            \"\\x1B)7\"  => '—', // 151 in CP1252\n            \"\\x1B)8\"  => '˜', // 152 in CP1252\n            \"\\x1B)9\"  => '™', // 153 in CP1252\n            \"\\x1B):\"  => 'š', // 154 in CP1252\n            \"\\x1B);\"  => '›', // 155 in CP1252\n            \"\\x1BNz\"  => 'œ', // 156 in CP1252\n            \"\\x1B)>\"  => 'ž', // 158 in CP1252\n            \"\\x1B)?\"  => 'Ÿ', // 159 in CP1252\n            \"\\x1B*0\"  => ' ', // 160 in CP1252\n            \"\\x1BN!\"  => '¡', // 161 in CP1252\n            \"\\x1BN\\\"\" => '¢', // 162 in CP1252\n            \"\\x1BN#\"  => '£', // 163 in CP1252\n            \"\\x1BN(\"  => '¤', // 164 in CP1252\n            \"\\x1BN%\"  => '¥', // 165 in CP1252\n            \"\\x1B*6\"  => '¦', // 166 in CP1252\n            \"\\x1BN'\"  => '§', // 167 in CP1252\n            \"\\x1BNH \" => '¨', // 168 in CP1252\n            \"\\x1BNS\"  => '©', // 169 in CP1252\n            \"\\x1BNc\"  => 'ª', // 170 in CP1252\n            \"\\x1BN+\"  => '«', // 171 in CP1252\n            \"\\x1B*<\"  => '¬', // 172 in CP1252\n            \"\\x1B*=\"  => '­', // 173 in CP1252\n            \"\\x1BNR\"  => '®', // 174 in CP1252\n            \"\\x1B*?\"  => '¯', // 175 in CP1252\n            \"\\x1BN0\"  => '°', // 176 in CP1252\n            \"\\x1BN1\"  => '±', // 177 in CP1252\n            \"\\x1BN2\"  => '²', // 178 in CP1252\n            \"\\x1BN3\"  => '³', // 179 in CP1252\n            \"\\x1BNB \" => '´', // 180 in CP1252\n            \"\\x1BN5\"  => 'µ', // 181 in CP1252\n            \"\\x1BN6\"  => '¶', // 182 in CP1252\n            \"\\x1BN7\"  => '·', // 183 in CP1252\n            \"\\x1B+8\"  => '¸', // 184 in CP1252\n            \"\\x1BNQ\"  => '¹', // 185 in CP1252\n            \"\\x1BNk\"  => 'º', // 186 in CP1252\n            \"\\x1BN;\"  => '»', // 187 in CP1252\n            \"\\x1BN<\"  => '¼', // 188 in CP1252\n            \"\\x1BN=\"  => '½', // 189 in CP1252\n            \"\\x1BN>\"  => '¾', // 190 in CP1252\n            \"\\x1BN?\"  => '¿', // 191 in CP1252\n            \"\\x1BNAA\" => 'À', // 192 in CP1252\n            \"\\x1BNBA\" => 'Á', // 193 in CP1252\n            \"\\x1BNCA\" => 'Â', // 194 in CP1252\n            \"\\x1BNDA\" => 'Ã', // 195 in CP1252\n            \"\\x1BNHA\" => 'Ä', // 196 in CP1252\n            \"\\x1BNJA\" => 'Å', // 197 in CP1252\n            \"\\x1BNa\"  => 'Æ', // 198 in CP1252\n            \"\\x1BNKC\" => 'Ç', // 199 in CP1252\n            \"\\x1BNAE\" => 'È', // 200 in CP1252\n            \"\\x1BNBE\" => 'É', // 201 in CP1252\n            \"\\x1BNCE\" => 'Ê', // 202 in CP1252\n            \"\\x1BNHE\" => 'Ë', // 203 in CP1252\n            \"\\x1BNAI\" => 'Ì', // 204 in CP1252\n            \"\\x1BNBI\" => 'Í', // 205 in CP1252\n            \"\\x1BNCI\" => 'Î', // 206 in CP1252\n            \"\\x1BNHI\" => 'Ï', // 207 in CP1252\n            \"\\x1BNb\"  => 'Ð', // 208 in CP1252\n            \"\\x1BNDN\" => 'Ñ', // 209 in CP1252\n            \"\\x1BNAO\" => 'Ò', // 210 in CP1252\n            \"\\x1BNBO\" => 'Ó', // 211 in CP1252\n            \"\\x1BNCO\" => 'Ô', // 212 in CP1252\n            \"\\x1BNDO\" => 'Õ', // 213 in CP1252\n            \"\\x1BNHO\" => 'Ö', // 214 in CP1252\n            \"\\x1B-7\"  => '×', // 215 in CP1252\n            \"\\x1BNi\"  => 'Ø', // 216 in CP1252\n            \"\\x1BNAU\" => 'Ù', // 217 in CP1252\n            \"\\x1BNBU\" => 'Ú', // 218 in CP1252\n            \"\\x1BNCU\" => 'Û', // 219 in CP1252\n            \"\\x1BNHU\" => 'Ü', // 220 in CP1252\n            \"\\x1B-=\"  => 'Ý', // 221 in CP1252\n            \"\\x1BNl\"  => 'Þ', // 222 in CP1252\n            \"\\x1BN{\"  => 'ß', // 223 in CP1252\n            \"\\x1BNAa\" => 'à', // 224 in CP1252\n            \"\\x1BNBa\" => 'á', // 225 in CP1252\n            \"\\x1BNCa\" => 'â', // 226 in CP1252\n            \"\\x1BNDa\" => 'ã', // 227 in CP1252\n            \"\\x1BNHa\" => 'ä', // 228 in CP1252\n            \"\\x1BNJa\" => 'å', // 229 in CP1252\n            \"\\x1BNq\"  => 'æ', // 230 in CP1252\n            \"\\x1BNKc\" => 'ç', // 231 in CP1252\n            \"\\x1BNAe\" => 'è', // 232 in CP1252\n            \"\\x1BNBe\" => 'é', // 233 in CP1252\n            \"\\x1BNCe\" => 'ê', // 234 in CP1252\n            \"\\x1BNHe\" => 'ë', // 235 in CP1252\n            \"\\x1BNAi\" => 'ì', // 236 in CP1252\n            \"\\x1BNBi\" => 'í', // 237 in CP1252\n            \"\\x1BNCi\" => 'î', // 238 in CP1252\n            \"\\x1BNHi\" => 'ï', // 239 in CP1252\n            \"\\x1BNs\"  => 'ð', // 240 in CP1252\n            \"\\x1BNDn\" => 'ñ', // 241 in CP1252\n            \"\\x1BNAo\" => 'ò', // 242 in CP1252\n            \"\\x1BNBo\" => 'ó', // 243 in CP1252\n            \"\\x1BNCo\" => 'ô', // 244 in CP1252\n            \"\\x1BNDo\" => 'õ', // 245 in CP1252\n            \"\\x1BNHo\" => 'ö', // 246 in CP1252\n            \"\\x1B/7\"  => '÷', // 247 in CP1252\n            \"\\x1BNy\"  => 'ø', // 248 in CP1252\n            \"\\x1BNAu\" => 'ù', // 249 in CP1252\n            \"\\x1BNBu\" => 'ú', // 250 in CP1252\n            \"\\x1BNCu\" => 'û', // 251 in CP1252\n            \"\\x1BNHu\" => 'ü', // 252 in CP1252\n            \"\\x1B/=\"  => 'ý', // 253 in CP1252\n            \"\\x1BN|\"  => 'þ', // 254 in CP1252\n            \"\\x1BNHy\" => 'ÿ', // 255 in CP1252\n        );\n    }\n\n    /**\n     * Get whether mbstring extension is available\n     *\n     * @return boolean\n     */\n    public static function getIsMbstringEnabled()\n    {\n        if (isset(self::$isMbstringEnabled)) {\n            return self::$isMbstringEnabled;\n        }\n\n        self::$isMbstringEnabled = function_exists('mb_convert_encoding') ?\n            true : false;\n\n        return self::$isMbstringEnabled;\n    }\n\n    /**\n     * Get whether iconv extension is available\n     *\n     * @return boolean\n     */\n    public static function getIsIconvEnabled()\n    {\n        if (isset(self::$isIconvEnabled)) {\n            return self::$isIconvEnabled;\n        }\n\n        // Fail if iconv doesn't exist\n        if (!function_exists('iconv')) {\n            self::$isIconvEnabled = false;\n            return false;\n        }\n\n        // Sometimes iconv is not working, and e.g. iconv('UTF-8', 'UTF-16LE', 'x') just returns false,\n        if (!@iconv('UTF-8', 'UTF-16LE', 'x')) {\n            self::$isIconvEnabled = false;\n            return false;\n        }\n\n        // Sometimes iconv_substr('A', 0, 1, 'UTF-8') just returns false in PHP 5.2.0\n        // we cannot use iconv in that case either (http://bugs.php.net/bug.php?id=37773)\n        if (!@iconv_substr('A', 0, 1, 'UTF-8')) {\n            self::$isIconvEnabled = false;\n            return false;\n        }\n\n        // CUSTOM: IBM AIX iconv() does not work\n        if (defined('PHP_OS') && @stristr(PHP_OS, 'AIX') && defined('ICONV_IMPL') && (@strcasecmp(ICONV_IMPL, 'unknown') == 0) && defined('ICONV_VERSION') && (@strcasecmp(ICONV_VERSION, 'unknown') == 0)) {\n            self::$isIconvEnabled = false;\n            return false;\n        }\n\n        // If we reach here no problems were detected with iconv\n        self::$isIconvEnabled = true;\n        return true;\n    }\n\n    public static function buildCharacterSets()\n    {\n        if (empty(self::$controlCharacters)) {\n            self::buildControlCharacters();\n        }\n        if (empty(self::$SYLKCharacters)) {\n            self::buildSYLKCharacters();\n        }\n    }\n\n    /**\n     * Convert from OpenXML escaped control character to PHP control character\n     *\n     * Excel 2007 team:\n     * ----------------\n     * That's correct, control characters are stored directly in the shared-strings table.\n     * We do encode characters that cannot be represented in XML using the following escape sequence:\n     * _xHHHH_ where H represents a hexadecimal character in the character's value...\n     * So you could end up with something like _x0008_ in a string (either in a cell value (<v>)\n     * element or in the shared string <t> element.\n     *\n     * @param     string    $value    Value to unescape\n     * @return     string\n     */\n    public static function ControlCharacterOOXML2PHP($value = '')\n    {\n        return str_replace(array_keys(self::$controlCharacters), array_values(self::$controlCharacters), $value);\n    }\n\n    /**\n     * Convert from PHP control character to OpenXML escaped control character\n     *\n     * Excel 2007 team:\n     * ----------------\n     * That's correct, control characters are stored directly in the shared-strings table.\n     * We do encode characters that cannot be represented in XML using the following escape sequence:\n     * _xHHHH_ where H represents a hexadecimal character in the character's value...\n     * So you could end up with something like _x0008_ in a string (either in a cell value (<v>)\n     * element or in the shared string <t> element.\n     *\n     * @param     string    $value    Value to escape\n     * @return     string\n     */\n    public static function ControlCharacterPHP2OOXML($value = '')\n    {\n        return str_replace(array_values(self::$controlCharacters), array_keys(self::$controlCharacters), $value);\n    }\n\n    /**\n     * Try to sanitize UTF8, stripping invalid byte sequences. Not perfect. Does not surrogate characters.\n     *\n     * @param string $value\n     * @return string\n     */\n    public static function SanitizeUTF8($value)\n    {\n        if (self::getIsIconvEnabled()) {\n            $value = @iconv('UTF-8', 'UTF-8', $value);\n            return $value;\n        }\n\n        if (self::getIsMbstringEnabled()) {\n            $value = mb_convert_encoding($value, 'UTF-8', 'UTF-8');\n            return $value;\n        }\n\n        // else, no conversion\n        return $value;\n    }\n\n    /**\n     * Check if a string contains UTF8 data\n     *\n     * @param string $value\n     * @return boolean\n     */\n    public static function IsUTF8($value = '')\n    {\n        return $value === '' || preg_match('/^./su', $value) === 1;\n    }\n\n    /**\n     * Formats a numeric value as a string for output in various output writers forcing\n     * point as decimal separator in case locale is other than English.\n     *\n     * @param mixed $value\n     * @return string\n     */\n    public static function FormatNumber($value)\n    {\n        if (is_float($value)) {\n            return str_replace(',', '.', $value);\n        }\n        return (string) $value;\n    }\n\n    /**\n     * Converts a UTF-8 string into BIFF8 Unicode string data (8-bit string length)\n     * Writes the string using uncompressed notation, no rich text, no Asian phonetics\n     * If mbstring extension is not available, ASCII is assumed, and compressed notation is used\n     * although this will give wrong results for non-ASCII strings\n     * see OpenOffice.org's Documentation of the Microsoft Excel File Format, sect. 2.5.3\n     *\n     * @param string  $value    UTF-8 encoded string\n     * @param mixed[] $arrcRuns Details of rich text runs in $value\n     * @return string\n     */\n    public static function UTF8toBIFF8UnicodeShort($value, $arrcRuns = array())\n    {\n        // character count\n        $ln = self::CountCharacters($value, 'UTF-8');\n        // option flags\n        if (empty($arrcRuns)) {\n            $opt = (self::getIsIconvEnabled() || self::getIsMbstringEnabled()) ?\n                0x0001 : 0x0000;\n            $data = pack('CC', $ln, $opt);\n            // characters\n            $data .= self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8');\n        } else {\n            $data = pack('vC', $ln, 0x09);\n            $data .= pack('v', count($arrcRuns));\n            // characters\n            $data .= self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8');\n            foreach ($arrcRuns as $cRun) {\n                $data .= pack('v', $cRun['strlen']);\n                $data .= pack('v', $cRun['fontidx']);\n            }\n        }\n        return $data;\n    }\n\n    /**\n     * Converts a UTF-8 string into BIFF8 Unicode string data (16-bit string length)\n     * Writes the string using uncompressed notation, no rich text, no Asian phonetics\n     * If mbstring extension is not available, ASCII is assumed, and compressed notation is used\n     * although this will give wrong results for non-ASCII strings\n     * see OpenOffice.org's Documentation of the Microsoft Excel File Format, sect. 2.5.3\n     *\n     * @param string $value UTF-8 encoded string\n     * @return string\n     */\n    public static function UTF8toBIFF8UnicodeLong($value)\n    {\n        // character count\n        $ln = self::CountCharacters($value, 'UTF-8');\n\n        // option flags\n        $opt = (self::getIsIconvEnabled() || self::getIsMbstringEnabled()) ?\n            0x0001 : 0x0000;\n\n        // characters\n        $chars = self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8');\n\n        $data = pack('vC', $ln, $opt) . $chars;\n        return $data;\n    }\n\n    /**\n     * Convert string from one encoding to another. First try mbstring, then iconv, finally strlen\n     *\n     * @param string $value\n     * @param string $to Encoding to convert to, e.g. 'UTF-8'\n     * @param string $from Encoding to convert from, e.g. 'UTF-16LE'\n     * @return string\n     */\n    public static function ConvertEncoding($value, $to, $from)\n    {\n        if (self::getIsIconvEnabled()) {\n            return iconv($from, $to, $value);\n        }\n\n        if (self::getIsMbstringEnabled()) {\n            return mb_convert_encoding($value, $to, $from);\n        }\n\n        if ($from == 'UTF-16LE') {\n            return self::utf16_decode($value, false);\n        } elseif ($from == 'UTF-16BE') {\n            return self::utf16_decode($value);\n        }\n        // else, no conversion\n        return $value;\n    }\n\n    /**\n     * Decode UTF-16 encoded strings.\n     *\n     * Can handle both BOM'ed data and un-BOM'ed data.\n     * Assumes Big-Endian byte order if no BOM is available.\n     * This function was taken from http://php.net/manual/en/function.utf8-decode.php\n     * and $bom_be parameter added.\n     *\n     * @param   string  $str  UTF-16 encoded data to decode.\n     * @return  string  UTF-8 / ISO encoded data.\n     * @access  public\n     * @version 0.2 / 2010-05-13\n     * @author  Rasmus Andersson {@link http://rasmusandersson.se/}\n     * @author vadik56\n     */\n    public static function utf16_decode($str, $bom_be = true)\n    {\n        if (strlen($str) < 2) {\n            return $str;\n        }\n        $c0 = ord($str{0});\n        $c1 = ord($str{1});\n        if ($c0 == 0xfe && $c1 == 0xff) {\n            $str = substr($str, 2);\n        } elseif ($c0 == 0xff && $c1 == 0xfe) {\n            $str = substr($str, 2);\n            $bom_be = false;\n        }\n        $len = strlen($str);\n        $newstr = '';\n        for ($i=0; $i<$len; $i+=2) {\n            if ($bom_be) {\n                $val = ord($str{$i})   << 4;\n                $val += ord($str{$i+1});\n            } else {\n                $val = ord($str{$i+1}) << 4;\n                $val += ord($str{$i});\n            }\n            $newstr .= ($val == 0x228) ? \"\\n\" : chr($val);\n        }\n        return $newstr;\n    }\n\n    /**\n     * Get character count. First try mbstring, then iconv, finally strlen\n     *\n     * @param string $value\n     * @param string $enc Encoding\n     * @return int Character count\n     */\n    public static function CountCharacters($value, $enc = 'UTF-8')\n    {\n        if (self::getIsMbstringEnabled()) {\n            return mb_strlen($value, $enc);\n        }\n\n        if (self::getIsIconvEnabled()) {\n            return iconv_strlen($value, $enc);\n        }\n\n        // else strlen\n        return strlen($value);\n    }\n\n    /**\n     * Get a substring of a UTF-8 encoded string. First try mbstring, then iconv, finally strlen\n     *\n     * @param string $pValue UTF-8 encoded string\n     * @param int $pStart Start offset\n     * @param int $pLength Maximum number of characters in substring\n     * @return string\n     */\n    public static function Substring($pValue = '', $pStart = 0, $pLength = 0)\n    {\n        if (self::getIsMbstringEnabled()) {\n            return mb_substr($pValue, $pStart, $pLength, 'UTF-8');\n        }\n\n        if (self::getIsIconvEnabled()) {\n            return iconv_substr($pValue, $pStart, $pLength, 'UTF-8');\n        }\n\n        // else substr\n        return substr($pValue, $pStart, $pLength);\n    }\n\n    /**\n     * Convert a UTF-8 encoded string to upper case\n     *\n     * @param string $pValue UTF-8 encoded string\n     * @return string\n     */\n    public static function StrToUpper($pValue = '')\n    {\n        if (function_exists('mb_convert_case')) {\n            return mb_convert_case($pValue, MB_CASE_UPPER, \"UTF-8\");\n        }\n        return strtoupper($pValue);\n    }\n\n    /**\n     * Convert a UTF-8 encoded string to lower case\n     *\n     * @param string $pValue UTF-8 encoded string\n     * @return string\n     */\n    public static function StrToLower($pValue = '')\n    {\n        if (function_exists('mb_convert_case')) {\n            return mb_convert_case($pValue, MB_CASE_LOWER, \"UTF-8\");\n        }\n        return strtolower($pValue);\n    }\n\n    /**\n     * Convert a UTF-8 encoded string to title/proper case\n     *    (uppercase every first character in each word, lower case all other characters)\n     *\n     * @param string $pValue UTF-8 encoded string\n     * @return string\n     */\n    public static function StrToTitle($pValue = '')\n    {\n        if (function_exists('mb_convert_case')) {\n            return mb_convert_case($pValue, MB_CASE_TITLE, \"UTF-8\");\n        }\n        return ucwords($pValue);\n    }\n\n    public static function mb_is_upper($char)\n    {\n        return mb_strtolower($char, \"UTF-8\") != $char;\n    }\n\n    public static function mb_str_split($string)\n    {\n        # Split at all position not after the start: ^\n        # and not before the end: $\n        return preg_split('/(?<!^)(?!$)/u', $string);\n    }\n\n    /**\n     * Reverse the case of a string, so that all uppercase characters become lowercase\n     *    and all lowercase characters become uppercase\n     *\n     * @param string $pValue UTF-8 encoded string\n     * @return string\n     */\n    public static function StrCaseReverse($pValue = '')\n    {\n        if (self::getIsMbstringEnabled()) {\n            $characters = self::mb_str_split($pValue);\n            foreach ($characters as &$character) {\n                if (self::mb_is_upper($character)) {\n                    $character = mb_strtolower($character, 'UTF-8');\n                } else {\n                    $character = mb_strtoupper($character, 'UTF-8');\n                }\n            }\n            return implode('', $characters);\n        }\n        return strtolower($pValue) ^ strtoupper($pValue) ^ $pValue;\n    }\n\n    /**\n     * Identify whether a string contains a fractional numeric value,\n     *    and convert it to a numeric if it is\n     *\n     * @param string &$operand string value to test\n     * @return boolean\n     */\n    public static function convertToNumberIfFraction(&$operand)\n    {\n        if (preg_match('/^'.self::STRING_REGEXP_FRACTION.'$/i', $operand, $match)) {\n            $sign = ($match[1] == '-') ? '-' : '+';\n            $fractionFormula = '='.$sign.$match[2].$sign.$match[3];\n            $operand = PHPExcel_Calculation::getInstance()->_calculateFormulaValue($fractionFormula);\n            return true;\n        }\n        return false;\n    }    //    function convertToNumberIfFraction()\n\n    /**\n     * Get the decimal separator. If it has not yet been set explicitly, try to obtain number\n     * formatting information from locale.\n     *\n     * @return string\n     */\n    public static function getDecimalSeparator()\n    {\n        if (!isset(self::$decimalSeparator)) {\n            $localeconv = localeconv();\n            self::$decimalSeparator = ($localeconv['decimal_point'] != '')\n                ? $localeconv['decimal_point'] : $localeconv['mon_decimal_point'];\n\n            if (self::$decimalSeparator == '') {\n                // Default to .\n                self::$decimalSeparator = '.';\n            }\n        }\n        return self::$decimalSeparator;\n    }\n\n    /**\n     * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()\n     * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF\n     *\n     * @param string $pValue Character for decimal separator\n     */\n    public static function setDecimalSeparator($pValue = '.')\n    {\n        self::$decimalSeparator = $pValue;\n    }\n\n    /**\n     * Get the thousands separator. If it has not yet been set explicitly, try to obtain number\n     * formatting information from locale.\n     *\n     * @return string\n     */\n    public static function getThousandsSeparator()\n    {\n        if (!isset(self::$thousandsSeparator)) {\n            $localeconv = localeconv();\n            self::$thousandsSeparator = ($localeconv['thousands_sep'] != '')\n                ? $localeconv['thousands_sep'] : $localeconv['mon_thousands_sep'];\n\n            if (self::$thousandsSeparator == '') {\n                // Default to .\n                self::$thousandsSeparator = ',';\n            }\n        }\n        return self::$thousandsSeparator;\n    }\n\n    /**\n     * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()\n     * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF\n     *\n     * @param string $pValue Character for thousands separator\n     */\n    public static function setThousandsSeparator($pValue = ',')\n    {\n        self::$thousandsSeparator = $pValue;\n    }\n\n    /**\n     *    Get the currency code. If it has not yet been set explicitly, try to obtain the\n     *        symbol information from locale.\n     *\n     * @return string\n     */\n    public static function getCurrencyCode()\n    {\n        if (!isset(self::$currencyCode)) {\n            $localeconv = localeconv();\n            self::$currencyCode = ($localeconv['currency_symbol'] != '')\n                ? $localeconv['currency_symbol'] : $localeconv['int_curr_symbol'];\n\n            if (self::$currencyCode == '') {\n                // Default to $\n                self::$currencyCode = '$';\n            }\n        }\n        return self::$currencyCode;\n    }\n\n    /**\n     * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()\n     *        to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF\n     *\n     * @param string $pValue Character for currency code\n     */\n    public static function setCurrencyCode($pValue = '$')\n    {\n        self::$currencyCode = $pValue;\n    }\n\n    /**\n     * Convert SYLK encoded string to UTF-8\n     *\n     * @param string $pValue\n     * @return string UTF-8 encoded string\n     */\n    public static function SYLKtoUTF8($pValue = '')\n    {\n        // If there is no escape character in the string there is nothing to do\n        if (strpos($pValue, '\u001b') === false) {\n            return $pValue;\n        }\n\n        foreach (self::$SYLKCharacters as $k => $v) {\n            $pValue = str_replace($k, $v, $pValue);\n        }\n\n        return $pValue;\n    }\n\n    /**\n     * Retrieve any leading numeric part of a string, or return the full string if no leading numeric\n     *    (handles basic integer or float, but not exponent or non decimal)\n     *\n     * @param    string    $value\n     * @return    mixed    string or only the leading numeric part of the string\n     */\n    public static function testStringAsNumeric($value)\n    {\n        if (is_numeric($value)) {\n            return $value;\n        }\n        $v = floatval($value);\n        return (is_numeric(substr($value, 0, strlen($v)))) ? $v : $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/TimeZone.php",
    "content": "<?php\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Shared_TimeZone\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Shared_TimeZone\n{\n    /*\n     * Default Timezone used for date/time conversions\n     *\n     * @private\n     * @var    string\n     */\n    protected static $timezone    = 'UTC';\n\n    /**\n     * Validate a Timezone name\n     *\n     * @param     string        $timezone            Time zone (e.g. 'Europe/London')\n     * @return     boolean                        Success or failure\n     */\n    public static function _validateTimeZone($timezone)\n    {\n        if (in_array($timezone, DateTimeZone::listIdentifiers())) {\n            return true;\n        }\n        return false;\n    }\n\n    /**\n     * Set the Default Timezone used for date/time conversions\n     *\n     * @param     string        $timezone            Time zone (e.g. 'Europe/London')\n     * @return     boolean                        Success or failure\n     */\n    public static function setTimeZone($timezone)\n    {\n        if (self::_validateTimezone($timezone)) {\n            self::$timezone = $timezone;\n            return true;\n        }\n        return false;\n    }\n\n\n    /**\n     * Return the Default Timezone used for date/time conversions\n     *\n     * @return     string        Timezone (e.g. 'Europe/London')\n     */\n    public static function getTimeZone()\n    {\n        return self::$timezone;\n    }\n\n\n    /**\n     *    Return the Timezone transition for the specified timezone and timestamp\n     *\n     *    @param        DateTimeZone         $objTimezone    The timezone for finding the transitions\n     *    @param        integer                 $timestamp        PHP date/time value for finding the current transition\n     *    @return         array                The current transition details\n     */\n    private static function getTimezoneTransitions($objTimezone, $timestamp)\n    {\n        $allTransitions = $objTimezone->getTransitions();\n        $transitions = array();\n        foreach ($allTransitions as $key => $transition) {\n            if ($transition['ts'] > $timestamp) {\n                $transitions[] = ($key > 0) ? $allTransitions[$key - 1] : $transition;\n                break;\n            }\n            if (empty($transitions)) {\n                $transitions[] = end($allTransitions);\n            }\n        }\n\n        return $transitions;\n    }\n\n    /**\n     *    Return the Timezone offset used for date/time conversions to/from UST\n     *    This requires both the timezone and the calculated date/time to allow for local DST\n     *\n     *    @param        string                 $timezone        The timezone for finding the adjustment to UST\n     *    @param        integer                 $timestamp        PHP date/time value\n     *    @return         integer                Number of seconds for timezone adjustment\n     *    @throws        PHPExcel_Exception\n     */\n    public static function getTimeZoneAdjustment($timezone, $timestamp)\n    {\n        if ($timezone !== null) {\n            if (!self::_validateTimezone($timezone)) {\n                throw new PHPExcel_Exception(\"Invalid timezone \" . $timezone);\n            }\n        } else {\n            $timezone = self::$timezone;\n        }\n\n        if ($timezone == 'UST') {\n            return 0;\n        }\n\n        $objTimezone = new DateTimeZone($timezone);\n        if (version_compare(PHP_VERSION, '5.3.0') >= 0) {\n            $transitions = $objTimezone->getTransitions($timestamp, $timestamp);\n        } else {\n            $transitions = self::getTimezoneTransitions($objTimezone, $timestamp);\n        }\n\n        return (count($transitions) > 0) ? $transitions[0]['offset'] : 0;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/XMLWriter.php",
    "content": "<?php\n\nif (!defined('DATE_W3C')) {\n    define('DATE_W3C', 'Y-m-d\\TH:i:sP');\n}\n\nif (!defined('DEBUGMODE_ENABLED')) {\n    define('DEBUGMODE_ENABLED', false);\n}\n\n/**\n * PHPExcel_Shared_XMLWriter\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_XMLWriter extends XMLWriter\n{\n    /** Temporary storage method */\n    const STORAGE_MEMORY    = 1;\n    const STORAGE_DISK      = 2;\n\n    /**\n     * Temporary filename\n     *\n     * @var string\n     */\n    private $tempFileName  = '';\n\n    /**\n     * Create a new PHPExcel_Shared_XMLWriter instance\n     *\n     * @param int      $pTemporaryStorage        Temporary storage location\n     * @param string   $pTemporaryStorageFolder  Temporary storage folder\n     */\n    public function __construct($pTemporaryStorage = self::STORAGE_MEMORY, $pTemporaryStorageFolder = null)\n    {\n        // Open temporary storage\n        if ($pTemporaryStorage == self::STORAGE_MEMORY) {\n            $this->openMemory();\n        } else {\n            // Create temporary filename\n            if ($pTemporaryStorageFolder === null) {\n                $pTemporaryStorageFolder = PHPExcel_Shared_File::sys_get_temp_dir();\n            }\n            $this->tempFileName = @tempnam($pTemporaryStorageFolder, 'xml');\n\n            // Open storage\n            if ($this->openUri($this->tempFileName) === false) {\n                // Fallback to memory...\n                $this->openMemory();\n            }\n        }\n\n        // Set default values\n        if (DEBUGMODE_ENABLED) {\n            $this->setIndent(true);\n        }\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        // Unlink temporary files\n        if ($this->tempFileName != '') {\n            @unlink($this->tempFileName);\n        }\n    }\n\n    /**\n     * Get written data\n     *\n     * @return $data\n     */\n    public function getData()\n    {\n        if ($this->tempFileName == '') {\n            return $this->outputMemory(true);\n        } else {\n            $this->flush();\n            return file_get_contents($this->tempFileName);\n        }\n    }\n\n    /**\n     * Fallback method for writeRaw, introduced in PHP 5.2\n     *\n     * @param string $text\n     * @return string\n     */\n    public function writeRawData($text)\n    {\n        if (is_array($text)) {\n            $text = implode(\"\\n\", $text);\n        }\n\n        if (method_exists($this, 'writeRaw')) {\n            return $this->writeRaw(htmlspecialchars($text));\n        }\n\n        return $this->text($text);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/ZipArchive.php",
    "content": "<?php\n\nif (!defined('PCLZIP_TEMPORARY_DIR')) {\n    define('PCLZIP_TEMPORARY_DIR', PHPExcel_Shared_File::sys_get_temp_dir() . DIRECTORY_SEPARATOR);\n}\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/PCLZip/pclzip.lib.php';\n\n/**\n * PHPExcel_Shared_ZipArchive\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_ZipArchive\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_ZipArchive\n{\n\n    /**    constants */\n    const OVERWRITE = 'OVERWRITE';\n    const CREATE    = 'CREATE';\n\n\n    /**\n     * Temporary storage directory\n     *\n     * @var string\n     */\n    private $tempDir;\n\n    /**\n     * Zip Archive Stream Handle\n     *\n     * @var string\n     */\n    private $zip;\n\n\n    /**\n     * Open a new zip archive\n     *\n     * @param    string    $fileName    Filename for the zip archive\n     * @return    boolean\n     */\n    public function open($fileName)\n    {\n        $this->tempDir = PHPExcel_Shared_File::sys_get_temp_dir();\n        $this->zip = new PclZip($fileName);\n\n        return true;\n    }\n\n\n    /**\n     * Close this zip archive\n     *\n     */\n    public function close()\n    {\n    }\n\n\n    /**\n     * Add a new file to the zip archive from a string of raw data.\n     *\n     * @param    string    $localname        Directory/Name of the file to add to the zip archive\n     * @param    string    $contents        String of data to add to the zip archive\n     */\n    public function addFromString($localname, $contents)\n    {\n        $filenameParts = pathinfo($localname);\n\n        $handle = fopen($this->tempDir.'/'.$filenameParts[\"basename\"], \"wb\");\n        fwrite($handle, $contents);\n        fclose($handle);\n\n        $res = $this->zip->add($this->tempDir.'/'.$filenameParts[\"basename\"], PCLZIP_OPT_REMOVE_PATH, $this->tempDir, PCLZIP_OPT_ADD_PATH, $filenameParts[\"dirname\"]);\n        if ($res == 0) {\n            throw new PHPExcel_Writer_Exception(\"Error zipping files : \" . $this->zip->errorInfo(true));\n        }\n\n        unlink($this->tempDir.'/'.$filenameParts[\"basename\"]);\n    }\n\n    /**\n     * Find if given fileName exist in archive (Emulate ZipArchive locateName())\n     *\n     * @param        string        $fileName        Filename for the file in zip archive\n     * @return        boolean\n     */\n    public function locateName($fileName)\n    {\n        $fileName = strtolower($fileName);\n\n        $list = $this->zip->listContent();\n        $listCount = count($list);\n        $index = -1;\n        for ($i = 0; $i < $listCount; ++$i) {\n            if (strtolower($list[$i][\"filename\"]) == $fileName ||\n                strtolower($list[$i][\"stored_filename\"]) == $fileName) {\n                $index = $i;\n                break;\n            }\n        }\n        return ($index > -1) ? $index : false;\n    }\n\n    /**\n     * Extract file from archive by given fileName (Emulate ZipArchive getFromName())\n     *\n     * @param        string        $fileName        Filename for the file in zip archive\n     * @return        string  $contents        File string contents\n     */\n    public function getFromName($fileName)\n    {\n        $index = $this->locateName($fileName);\n\n        if ($index !== false) {\n            $extracted = $this->getFromIndex($index);\n        } else {\n            $fileName = substr($fileName, 1);\n            $index = $this->locateName($fileName);\n            if ($index === false) {\n                return false;\n            }\n            $extracted = $this->zip->getFromIndex($index);\n        }\n\n        $contents = $extracted;\n        if ((is_array($extracted)) && ($extracted != 0)) {\n            $contents = $extracted[0][\"content\"];\n        }\n\n        return $contents;\n    }\n    \n    public function getFromIndex($index) {\n        $extracted = $this->zip->extractByIndex($index, PCLZIP_OPT_EXTRACT_AS_STRING);\n        $contents = '';\n        if ((is_array($extracted)) && ($extracted != 0)) {\n            $contents = $extracted[0][\"content\"];\n        }\n\n        return $contents;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/ZipStreamWrapper.php",
    "content": "<?php\n\n/**\n * PHPExcel_Shared_ZipStreamWrapper\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Shared_ZipStreamWrapper\n{\n    /**\n     * Internal ZipAcrhive\n     *\n     * @var ZipArchive\n     */\n    private $archive;\n\n    /**\n     * Filename in ZipAcrhive\n     *\n     * @var string\n     */\n    private $fileNameInArchive = '';\n\n    /**\n     * Position in file\n     *\n     * @var int\n     */\n    private $position = 0;\n\n    /**\n     * Data\n     *\n     * @var mixed\n     */\n    private $data = '';\n\n    /**\n     * Register wrapper\n     */\n    public static function register()\n    {\n        @stream_wrapper_unregister('zip');\n        @stream_wrapper_register('zip', __CLASS__);\n    }\n\n    /**\n     * Implements support for fopen().\n     *\n     * @param    string    $path            resource name including scheme, e.g.\n     * @param    string    $mode            only \"r\" is supported\n     * @param    int        $options        mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH\n     * @param    string  &$openedPath    absolute path of the opened stream (out parameter)\n     * @return    bool    true on success\n     */\n    public function stream_open($path, $mode, $options, &$opened_path)\n    {\n        // Check for mode\n        if ($mode{0} != 'r') {\n            throw new PHPExcel_Reader_Exception('Mode ' . $mode . ' is not supported. Only read mode is supported.');\n        }\n\n        $pos = strrpos($path, '#');\n        $url['host'] = substr($path, 6, $pos - 6); // 6: strlen('zip://')\n        $url['fragment'] = substr($path, $pos + 1);\n\n        // Open archive\n        $this->archive = new ZipArchive();\n        $this->archive->open($url['host']);\n\n        $this->fileNameInArchive = $url['fragment'];\n        $this->position = 0;\n        $this->data = $this->archive->getFromName($this->fileNameInArchive);\n\n        return true;\n    }\n\n    /**\n     * Implements support for fstat().\n     *\n     * @return  boolean\n     */\n    public function statName()\n    {\n        return $this->fileNameInArchive;\n    }\n\n    /**\n     * Implements support for fstat().\n     *\n     * @return  boolean\n     */\n    public function url_stat()\n    {\n        return $this->statName($this->fileNameInArchive);\n    }\n\n    /**\n     * Implements support for fstat().\n     *\n     * @return  boolean\n     */\n    public function stream_stat()\n    {\n        return $this->archive->statName($this->fileNameInArchive);\n    }\n\n    /**\n     * Implements support for fread(), fgets() etc.\n     *\n     * @param   int        $count    maximum number of bytes to read\n     * @return  string\n     */\n    public function stream_read($count)\n    {\n        $ret = substr($this->data, $this->position, $count);\n        $this->position += strlen($ret);\n        return $ret;\n    }\n\n    /**\n     * Returns the position of the file pointer, i.e. its offset into the file\n     * stream. Implements support for ftell().\n     *\n     * @return  int\n     */\n    public function stream_tell()\n    {\n        return $this->position;\n    }\n\n    /**\n     * EOF stream\n     *\n     * @return    bool\n     */\n    public function stream_eof()\n    {\n        return $this->position >= strlen($this->data);\n    }\n\n    /**\n     * Seek stream\n     *\n     * @param    int        $offset    byte offset\n     * @param    int        $whence    SEEK_SET, SEEK_CUR or SEEK_END\n     * @return    bool\n     */\n    public function stream_seek($offset, $whence)\n    {\n        switch ($whence) {\n            case SEEK_SET:\n                if ($offset < strlen($this->data) && $offset >= 0) {\n                     $this->position = $offset;\n                     return true;\n                } else {\n                     return false;\n                }\n                break;\n            case SEEK_CUR:\n                if ($offset >= 0) {\n                     $this->position += $offset;\n                     return true;\n                } else {\n                     return false;\n                }\n                break;\n            case SEEK_END:\n                if (strlen($this->data) + $offset >= 0) {\n                     $this->position = strlen($this->data) + $offset;\n                     return true;\n                } else {\n                     return false;\n                }\n                break;\n            default:\n                return false;\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/bestFitClass.php",
    "content": "<?php\n\n/**\n * PHPExcel_Best_Fit\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Best_Fit\n{\n    /**\n     * Indicator flag for a calculation error\n     *\n     * @var    boolean\n     **/\n    protected $error = false;\n\n    /**\n     * Algorithm type to use for best-fit\n     *\n     * @var    string\n     **/\n    protected $bestFitType = 'undetermined';\n\n    /**\n     * Number of entries in the sets of x- and y-value arrays\n     *\n     * @var    int\n     **/\n    protected $valueCount = 0;\n\n    /**\n     * X-value dataseries of values\n     *\n     * @var    float[]\n     **/\n    protected $xValues = array();\n\n    /**\n     * Y-value dataseries of values\n     *\n     * @var    float[]\n     **/\n    protected $yValues = array();\n\n    /**\n     * Flag indicating whether values should be adjusted to Y=0\n     *\n     * @var    boolean\n     **/\n    protected $adjustToZero = false;\n\n    /**\n     * Y-value series of best-fit values\n     *\n     * @var    float[]\n     **/\n    protected $yBestFitValues = array();\n\n    protected $goodnessOfFit = 1;\n\n    protected $stdevOfResiduals = 0;\n\n    protected $covariance = 0;\n\n    protected $correlation = 0;\n\n    protected $SSRegression = 0;\n\n    protected $SSResiduals = 0;\n\n    protected $DFResiduals = 0;\n\n    protected $f = 0;\n\n    protected $slope = 0;\n\n    protected $slopeSE = 0;\n\n    protected $intersect = 0;\n\n    protected $intersectSE = 0;\n\n    protected $xOffset = 0;\n\n    protected $yOffset = 0;\n\n\n    public function getError()\n    {\n        return $this->error;\n    }\n\n\n    public function getBestFitType()\n    {\n        return $this->bestFitType;\n    }\n\n    /**\n     * Return the Y-Value for a specified value of X\n     *\n     * @param     float        $xValue            X-Value\n     * @return     float                        Y-Value\n     */\n    public function getValueOfYForX($xValue)\n    {\n        return false;\n    }\n\n    /**\n     * Return the X-Value for a specified value of Y\n     *\n     * @param     float        $yValue            Y-Value\n     * @return     float                        X-Value\n     */\n    public function getValueOfXForY($yValue)\n    {\n        return false;\n    }\n\n    /**\n     * Return the original set of X-Values\n     *\n     * @return     float[]                X-Values\n     */\n    public function getXValues()\n    {\n        return $this->xValues;\n    }\n\n    /**\n     * Return the Equation of the best-fit line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     */\n    public function getEquation($dp = 0)\n    {\n        return false;\n    }\n\n    /**\n     * Return the Slope of the line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     */\n    public function getSlope($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->slope, $dp);\n        }\n        return $this->slope;\n    }\n\n    /**\n     * Return the standard error of the Slope\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     */\n    public function getSlopeSE($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->slopeSE, $dp);\n        }\n        return $this->slopeSE;\n    }\n\n    /**\n     * Return the Value of X where it intersects Y = 0\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     */\n    public function getIntersect($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->intersect, $dp);\n        }\n        return $this->intersect;\n    }\n\n    /**\n     * Return the standard error of the Intersect\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     */\n    public function getIntersectSE($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->intersectSE, $dp);\n        }\n        return $this->intersectSE;\n    }\n\n    /**\n     * Return the goodness of fit for this regression\n     *\n     * @param     int        $dp        Number of places of decimal precision to return\n     * @return     float\n     */\n    public function getGoodnessOfFit($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->goodnessOfFit, $dp);\n        }\n        return $this->goodnessOfFit;\n    }\n\n    public function getGoodnessOfFitPercent($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->goodnessOfFit * 100, $dp);\n        }\n        return $this->goodnessOfFit * 100;\n    }\n\n    /**\n     * Return the standard deviation of the residuals for this regression\n     *\n     * @param     int        $dp        Number of places of decimal precision to return\n     * @return     float\n     */\n    public function getStdevOfResiduals($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->stdevOfResiduals, $dp);\n        }\n        return $this->stdevOfResiduals;\n    }\n\n    public function getSSRegression($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->SSRegression, $dp);\n        }\n        return $this->SSRegression;\n    }\n\n    public function getSSResiduals($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->SSResiduals, $dp);\n        }\n        return $this->SSResiduals;\n    }\n\n    public function getDFResiduals($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->DFResiduals, $dp);\n        }\n        return $this->DFResiduals;\n    }\n\n    public function getF($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->f, $dp);\n        }\n        return $this->f;\n    }\n\n    public function getCovariance($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->covariance, $dp);\n        }\n        return $this->covariance;\n    }\n\n    public function getCorrelation($dp = 0)\n    {\n        if ($dp != 0) {\n            return round($this->correlation, $dp);\n        }\n        return $this->correlation;\n    }\n\n    public function getYBestFitValues()\n    {\n        return $this->yBestFitValues;\n    }\n\n    protected function calculateGoodnessOfFit($sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const)\n    {\n        $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0;\n        foreach ($this->xValues as $xKey => $xValue) {\n            $bestFitY = $this->yBestFitValues[$xKey] = $this->getValueOfYForX($xValue);\n\n            $SSres += ($this->yValues[$xKey] - $bestFitY) * ($this->yValues[$xKey] - $bestFitY);\n            if ($const) {\n                $SStot += ($this->yValues[$xKey] - $meanY) * ($this->yValues[$xKey] - $meanY);\n            } else {\n                $SStot += $this->yValues[$xKey] * $this->yValues[$xKey];\n            }\n            $SScov += ($this->xValues[$xKey] - $meanX) * ($this->yValues[$xKey] - $meanY);\n            if ($const) {\n                $SSsex += ($this->xValues[$xKey] - $meanX) * ($this->xValues[$xKey] - $meanX);\n            } else {\n                $SSsex += $this->xValues[$xKey] * $this->xValues[$xKey];\n            }\n        }\n\n        $this->SSResiduals = $SSres;\n        $this->DFResiduals = $this->valueCount - 1 - $const;\n\n        if ($this->DFResiduals == 0.0) {\n            $this->stdevOfResiduals = 0.0;\n        } else {\n            $this->stdevOfResiduals = sqrt($SSres / $this->DFResiduals);\n        }\n        if (($SStot == 0.0) || ($SSres == $SStot)) {\n            $this->goodnessOfFit = 1;\n        } else {\n            $this->goodnessOfFit = 1 - ($SSres / $SStot);\n        }\n\n        $this->SSRegression = $this->goodnessOfFit * $SStot;\n        $this->covariance = $SScov / $this->valueCount;\n        $this->correlation = ($this->valueCount * $sumXY - $sumX * $sumY) / sqrt(($this->valueCount * $sumX2 - pow($sumX, 2)) * ($this->valueCount * $sumY2 - pow($sumY, 2)));\n        $this->slopeSE = $this->stdevOfResiduals / sqrt($SSsex);\n        $this->intersectSE = $this->stdevOfResiduals * sqrt(1 / ($this->valueCount - ($sumX * $sumX) / $sumX2));\n        if ($this->SSResiduals != 0.0) {\n            if ($this->DFResiduals == 0.0) {\n                $this->f = 0.0;\n            } else {\n                $this->f = $this->SSRegression / ($this->SSResiduals / $this->DFResiduals);\n            }\n        } else {\n            if ($this->DFResiduals == 0.0) {\n                $this->f = 0.0;\n            } else {\n                $this->f = $this->SSRegression / $this->DFResiduals;\n            }\n        }\n    }\n\n    protected function leastSquareFit($yValues, $xValues, $const)\n    {\n        // calculate sums\n        $x_sum = array_sum($xValues);\n        $y_sum = array_sum($yValues);\n        $meanX = $x_sum / $this->valueCount;\n        $meanY = $y_sum / $this->valueCount;\n        $mBase = $mDivisor = $xx_sum = $xy_sum = $yy_sum = 0.0;\n        for ($i = 0; $i < $this->valueCount; ++$i) {\n            $xy_sum += $xValues[$i] * $yValues[$i];\n            $xx_sum += $xValues[$i] * $xValues[$i];\n            $yy_sum += $yValues[$i] * $yValues[$i];\n\n            if ($const) {\n                $mBase += ($xValues[$i] - $meanX) * ($yValues[$i] - $meanY);\n                $mDivisor += ($xValues[$i] - $meanX) * ($xValues[$i] - $meanX);\n            } else {\n                $mBase += $xValues[$i] * $yValues[$i];\n                $mDivisor += $xValues[$i] * $xValues[$i];\n            }\n        }\n\n        // calculate slope\n//        $this->slope = (($this->valueCount * $xy_sum) - ($x_sum * $y_sum)) / (($this->valueCount * $xx_sum) - ($x_sum * $x_sum));\n        $this->slope = $mBase / $mDivisor;\n\n        // calculate intersect\n//        $this->intersect = ($y_sum - ($this->slope * $x_sum)) / $this->valueCount;\n        if ($const) {\n            $this->intersect = $meanY - ($this->slope * $meanX);\n        } else {\n            $this->intersect = 0;\n        }\n\n        $this->calculateGoodnessOfFit($x_sum, $y_sum, $xx_sum, $yy_sum, $xy_sum, $meanX, $meanY, $const);\n    }\n\n    /**\n     * Define the regression\n     *\n     * @param    float[]        $yValues    The set of Y-values for this regression\n     * @param    float[]        $xValues    The set of X-values for this regression\n     * @param    boolean        $const\n     */\n    public function __construct($yValues, $xValues = array(), $const = true)\n    {\n        //    Calculate number of points\n        $nY = count($yValues);\n        $nX = count($xValues);\n\n        //    Define X Values if necessary\n        if ($nX == 0) {\n            $xValues = range(1, $nY);\n            $nX = $nY;\n        } elseif ($nY != $nX) {\n            //    Ensure both arrays of points are the same size\n            $this->error = true;\n            return false;\n        }\n\n        $this->valueCount = $nY;\n        $this->xValues = $xValues;\n        $this->yValues = $yValues;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/exponentialBestFitClass.php",
    "content": "<?php\n\nrequire_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php');\n\n/**\n * PHPExcel_Exponential_Best_Fit\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Exponential_Best_Fit extends PHPExcel_Best_Fit\n{\n    /**\n     * Algorithm type to use for best-fit\n     * (Name of this trend class)\n     *\n     * @var    string\n     **/\n    protected $bestFitType        = 'exponential';\n\n    /**\n     * Return the Y-Value for a specified value of X\n     *\n     * @param     float        $xValue            X-Value\n     * @return     float                        Y-Value\n     **/\n    public function getValueOfYForX($xValue)\n    {\n        return $this->getIntersect() * pow($this->getSlope(), ($xValue - $this->xOffset));\n    }\n\n    /**\n     * Return the X-Value for a specified value of Y\n     *\n     * @param     float        $yValue            Y-Value\n     * @return     float                        X-Value\n     **/\n    public function getValueOfXForY($yValue)\n    {\n        return log(($yValue + $this->yOffset) / $this->getIntersect()) / log($this->getSlope());\n    }\n\n    /**\n     * Return the Equation of the best-fit line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getEquation($dp = 0)\n    {\n        $slope = $this->getSlope($dp);\n        $intersect = $this->getIntersect($dp);\n\n        return 'Y = ' . $intersect . ' * ' . $slope . '^X';\n    }\n\n    /**\n     * Return the Slope of the line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getSlope($dp = 0)\n    {\n        if ($dp != 0) {\n            return round(exp($this->_slope), $dp);\n        }\n        return exp($this->_slope);\n    }\n\n    /**\n     * Return the Value of X where it intersects Y = 0\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getIntersect($dp = 0)\n    {\n        if ($dp != 0) {\n            return round(exp($this->intersect), $dp);\n        }\n        return exp($this->intersect);\n    }\n\n    /**\n     * Execute the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param     float[]    $yValues    The set of Y-values for this regression\n     * @param     float[]    $xValues    The set of X-values for this regression\n     * @param     boolean    $const\n     */\n    private function exponentialRegression($yValues, $xValues, $const)\n    {\n        foreach ($yValues as &$value) {\n            if ($value < 0.0) {\n                $value = 0 - log(abs($value));\n            } elseif ($value > 0.0) {\n                $value = log($value);\n            }\n        }\n        unset($value);\n\n        $this->leastSquareFit($yValues, $xValues, $const);\n    }\n\n    /**\n     * Define the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param    float[]        $yValues    The set of Y-values for this regression\n     * @param    float[]        $xValues    The set of X-values for this regression\n     * @param    boolean        $const\n     */\n    public function __construct($yValues, $xValues = array(), $const = true)\n    {\n        if (parent::__construct($yValues, $xValues) !== false) {\n            $this->exponentialRegression($yValues, $xValues, $const);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/linearBestFitClass.php",
    "content": "<?php\n\nrequire_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php');\n\n/**\n * PHPExcel_Linear_Best_Fit\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Linear_Best_Fit extends PHPExcel_Best_Fit\n{\n    /**\n     * Algorithm type to use for best-fit\n     * (Name of this trend class)\n     *\n     * @var    string\n     **/\n    protected $bestFitType        = 'linear';\n\n    /**\n     * Return the Y-Value for a specified value of X\n     *\n     * @param     float        $xValue            X-Value\n     * @return     float                        Y-Value\n     **/\n    public function getValueOfYForX($xValue)\n    {\n        return $this->getIntersect() + $this->getSlope() * $xValue;\n    }\n\n    /**\n     * Return the X-Value for a specified value of Y\n     *\n     * @param     float        $yValue            Y-Value\n     * @return     float                        X-Value\n     **/\n    public function getValueOfXForY($yValue)\n    {\n        return ($yValue - $this->getIntersect()) / $this->getSlope();\n    }\n\n\n    /**\n     * Return the Equation of the best-fit line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getEquation($dp = 0)\n    {\n        $slope = $this->getSlope($dp);\n        $intersect = $this->getIntersect($dp);\n\n        return 'Y = ' . $intersect . ' + ' . $slope . ' * X';\n    }\n\n    /**\n     * Execute the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param     float[]    $yValues    The set of Y-values for this regression\n     * @param     float[]    $xValues    The set of X-values for this regression\n     * @param     boolean    $const\n     */\n    private function linearRegression($yValues, $xValues, $const)\n    {\n        $this->leastSquareFit($yValues, $xValues, $const);\n    }\n\n    /**\n     * Define the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param    float[]        $yValues    The set of Y-values for this regression\n     * @param    float[]        $xValues    The set of X-values for this regression\n     * @param    boolean        $const\n     */\n    public function __construct($yValues, $xValues = array(), $const = true)\n    {\n        if (parent::__construct($yValues, $xValues) !== false) {\n            $this->linearRegression($yValues, $xValues, $const);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/logarithmicBestFitClass.php",
    "content": "<?php\n\nrequire_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php');\n\n/**\n * PHPExcel_Logarithmic_Best_Fit\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Logarithmic_Best_Fit extends PHPExcel_Best_Fit\n{\n    /**\n     * Algorithm type to use for best-fit\n     * (Name of this trend class)\n     *\n     * @var    string\n     **/\n    protected $bestFitType        = 'logarithmic';\n\n    /**\n     * Return the Y-Value for a specified value of X\n     *\n     * @param     float        $xValue            X-Value\n     * @return     float                        Y-Value\n     **/\n    public function getValueOfYForX($xValue)\n    {\n        return $this->getIntersect() + $this->getSlope() * log($xValue - $this->xOffset);\n    }\n\n    /**\n     * Return the X-Value for a specified value of Y\n     *\n     * @param     float        $yValue            Y-Value\n     * @return     float                        X-Value\n     **/\n    public function getValueOfXForY($yValue)\n    {\n        return exp(($yValue - $this->getIntersect()) / $this->getSlope());\n    }\n\n    /**\n     * Return the Equation of the best-fit line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getEquation($dp = 0)\n    {\n        $slope = $this->getSlope($dp);\n        $intersect = $this->getIntersect($dp);\n\n        return 'Y = '.$intersect.' + '.$slope.' * log(X)';\n    }\n\n    /**\n     * Execute the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param     float[]    $yValues    The set of Y-values for this regression\n     * @param     float[]    $xValues    The set of X-values for this regression\n     * @param     boolean    $const\n     */\n    private function logarithmicRegression($yValues, $xValues, $const)\n    {\n        foreach ($xValues as &$value) {\n            if ($value < 0.0) {\n                $value = 0 - log(abs($value));\n            } elseif ($value > 0.0) {\n                $value = log($value);\n            }\n        }\n        unset($value);\n\n        $this->leastSquareFit($yValues, $xValues, $const);\n    }\n\n    /**\n     * Define the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param    float[]        $yValues    The set of Y-values for this regression\n     * @param    float[]        $xValues    The set of X-values for this regression\n     * @param    boolean        $const\n     */\n    public function __construct($yValues, $xValues = array(), $const = true)\n    {\n        if (parent::__construct($yValues, $xValues) !== false) {\n            $this->logarithmicRegression($yValues, $xValues, $const);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/polynomialBestFitClass.php",
    "content": "<?php\n\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php';\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/JAMA/Matrix.php';\n\n/**\n * PHPExcel_Polynomial_Best_Fit\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Polynomial_Best_Fit extends PHPExcel_Best_Fit\n{\n    /**\n     * Algorithm type to use for best-fit\n     * (Name of this trend class)\n     *\n     * @var    string\n     **/\n    protected $bestFitType = 'polynomial';\n\n    /**\n     * Polynomial order\n     *\n     * @protected\n     * @var    int\n     **/\n    protected $order = 0;\n\n\n    /**\n     * Return the order of this polynomial\n     *\n     * @return     int\n     **/\n    public function getOrder()\n    {\n        return $this->order;\n    }\n\n\n    /**\n     * Return the Y-Value for a specified value of X\n     *\n     * @param     float        $xValue            X-Value\n     * @return     float                        Y-Value\n     **/\n    public function getValueOfYForX($xValue)\n    {\n        $retVal = $this->getIntersect();\n        $slope = $this->getSlope();\n        foreach ($slope as $key => $value) {\n            if ($value != 0.0) {\n                $retVal += $value * pow($xValue, $key + 1);\n            }\n        }\n        return $retVal;\n    }\n\n\n    /**\n     * Return the X-Value for a specified value of Y\n     *\n     * @param     float        $yValue            Y-Value\n     * @return     float                        X-Value\n     **/\n    public function getValueOfXForY($yValue)\n    {\n        return ($yValue - $this->getIntersect()) / $this->getSlope();\n    }\n\n\n    /**\n     * Return the Equation of the best-fit line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getEquation($dp = 0)\n    {\n        $slope = $this->getSlope($dp);\n        $intersect = $this->getIntersect($dp);\n\n        $equation = 'Y = ' . $intersect;\n        foreach ($slope as $key => $value) {\n            if ($value != 0.0) {\n                $equation .= ' + ' . $value . ' * X';\n                if ($key > 0) {\n                    $equation .= '^' . ($key + 1);\n                }\n            }\n        }\n        return $equation;\n    }\n\n\n    /**\n     * Return the Slope of the line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getSlope($dp = 0)\n    {\n        if ($dp != 0) {\n            $coefficients = array();\n            foreach ($this->_slope as $coefficient) {\n                $coefficients[] = round($coefficient, $dp);\n            }\n            return $coefficients;\n        }\n        return $this->_slope;\n    }\n\n\n    public function getCoefficients($dp = 0)\n    {\n        return array_merge(array($this->getIntersect($dp)), $this->getSlope($dp));\n    }\n\n\n    /**\n     * Execute the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param    int            $order        Order of Polynomial for this regression\n     * @param    float[]        $yValues    The set of Y-values for this regression\n     * @param    float[]        $xValues    The set of X-values for this regression\n     * @param    boolean        $const\n     */\n    private function polynomialRegression($order, $yValues, $xValues, $const)\n    {\n        // calculate sums\n        $x_sum = array_sum($xValues);\n        $y_sum = array_sum($yValues);\n        $xx_sum = $xy_sum = 0;\n        for ($i = 0; $i < $this->valueCount; ++$i) {\n            $xy_sum += $xValues[$i] * $yValues[$i];\n            $xx_sum += $xValues[$i] * $xValues[$i];\n            $yy_sum += $yValues[$i] * $yValues[$i];\n        }\n        /*\n         *    This routine uses logic from the PHP port of polyfit version 0.1\n         *    written by Michael Bommarito and Paul Meagher\n         *\n         *    The function fits a polynomial function of order $order through\n         *    a series of x-y data points using least squares.\n         *\n         */\n        for ($i = 0; $i < $this->valueCount; ++$i) {\n            for ($j = 0; $j <= $order; ++$j) {\n                $A[$i][$j] = pow($xValues[$i], $j);\n            }\n        }\n        for ($i=0; $i < $this->valueCount; ++$i) {\n            $B[$i] = array($yValues[$i]);\n        }\n        $matrixA = new Matrix($A);\n        $matrixB = new Matrix($B);\n        $C = $matrixA->solve($matrixB);\n\n        $coefficients = array();\n        for ($i = 0; $i < $C->m; ++$i) {\n            $r = $C->get($i, 0);\n            if (abs($r) <= pow(10, -9)) {\n                $r = 0;\n            }\n            $coefficients[] = $r;\n        }\n\n        $this->intersect = array_shift($coefficients);\n        $this->_slope = $coefficients;\n\n        $this->calculateGoodnessOfFit($x_sum, $y_sum, $xx_sum, $yy_sum, $xy_sum);\n        foreach ($this->xValues as $xKey => $xValue) {\n            $this->yBestFitValues[$xKey] = $this->getValueOfYForX($xValue);\n        }\n    }\n\n\n    /**\n     * Define the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param    int            $order        Order of Polynomial for this regression\n     * @param    float[]        $yValues    The set of Y-values for this regression\n     * @param    float[]        $xValues    The set of X-values for this regression\n     * @param    boolean        $const\n     */\n    public function __construct($order, $yValues, $xValues = array(), $const = true)\n    {\n        if (parent::__construct($yValues, $xValues) !== false) {\n            if ($order < $this->valueCount) {\n                $this->bestFitType .= '_'.$order;\n                $this->order = $order;\n                $this->polynomialRegression($order, $yValues, $xValues, $const);\n                if (($this->getGoodnessOfFit() < 0.0) || ($this->getGoodnessOfFit() > 1.0)) {\n                    $this->_error = true;\n                }\n            } else {\n                $this->_error = true;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/powerBestFitClass.php",
    "content": "<?php\n\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php';\n\n/**\n * PHPExcel_Power_Best_Fit\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Power_Best_Fit extends PHPExcel_Best_Fit\n{\n    /**\n     * Algorithm type to use for best-fit\n     * (Name of this trend class)\n     *\n     * @var    string\n     **/\n    protected $bestFitType        = 'power';\n\n\n    /**\n     * Return the Y-Value for a specified value of X\n     *\n     * @param     float        $xValue            X-Value\n     * @return     float                        Y-Value\n     **/\n    public function getValueOfYForX($xValue)\n    {\n        return $this->getIntersect() * pow(($xValue - $this->xOffset), $this->getSlope());\n    }\n\n\n    /**\n     * Return the X-Value for a specified value of Y\n     *\n     * @param     float        $yValue            Y-Value\n     * @return     float                        X-Value\n     **/\n    public function getValueOfXForY($yValue)\n    {\n        return pow((($yValue + $this->yOffset) / $this->getIntersect()), (1 / $this->getSlope()));\n    }\n\n\n    /**\n     * Return the Equation of the best-fit line\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getEquation($dp = 0)\n    {\n        $slope = $this->getSlope($dp);\n        $intersect = $this->getIntersect($dp);\n\n        return 'Y = ' . $intersect . ' * X^' . $slope;\n    }\n\n\n    /**\n     * Return the Value of X where it intersects Y = 0\n     *\n     * @param     int        $dp        Number of places of decimal precision to display\n     * @return     string\n     **/\n    public function getIntersect($dp = 0)\n    {\n        if ($dp != 0) {\n            return round(exp($this->intersect), $dp);\n        }\n        return exp($this->intersect);\n    }\n\n\n    /**\n     * Execute the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param     float[]    $yValues    The set of Y-values for this regression\n     * @param     float[]    $xValues    The set of X-values for this regression\n     * @param     boolean    $const\n     */\n    private function powerRegression($yValues, $xValues, $const)\n    {\n        foreach ($xValues as &$value) {\n            if ($value < 0.0) {\n                $value = 0 - log(abs($value));\n            } elseif ($value > 0.0) {\n                $value = log($value);\n            }\n        }\n        unset($value);\n        foreach ($yValues as &$value) {\n            if ($value < 0.0) {\n                $value = 0 - log(abs($value));\n            } elseif ($value > 0.0) {\n                $value = log($value);\n            }\n        }\n        unset($value);\n\n        $this->leastSquareFit($yValues, $xValues, $const);\n    }\n\n\n    /**\n     * Define the regression and calculate the goodness of fit for a set of X and Y data values\n     *\n     * @param     float[]    $yValues    The set of Y-values for this regression\n     * @param     float[]    $xValues    The set of X-values for this regression\n     * @param     boolean    $const\n     */\n    public function __construct($yValues, $xValues = array(), $const = true)\n    {\n        if (parent::__construct($yValues, $xValues) !== false) {\n            $this->powerRegression($yValues, $xValues, $const);\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Shared/trend/trendClass.php",
    "content": "<?php\n\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/linearBestFitClass.php';\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/logarithmicBestFitClass.php';\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/exponentialBestFitClass.php';\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/powerBestFitClass.php';\nrequire_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/polynomialBestFitClass.php';\n\n/**\n * PHPExcel_trendClass\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Shared_Trend\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass trendClass\n{\n    const TREND_LINEAR            = 'Linear';\n    const TREND_LOGARITHMIC       = 'Logarithmic';\n    const TREND_EXPONENTIAL       = 'Exponential';\n    const TREND_POWER             = 'Power';\n    const TREND_POLYNOMIAL_2      = 'Polynomial_2';\n    const TREND_POLYNOMIAL_3      = 'Polynomial_3';\n    const TREND_POLYNOMIAL_4      = 'Polynomial_4';\n    const TREND_POLYNOMIAL_5      = 'Polynomial_5';\n    const TREND_POLYNOMIAL_6      = 'Polynomial_6';\n    const TREND_BEST_FIT          = 'Bestfit';\n    const TREND_BEST_FIT_NO_POLY  = 'Bestfit_no_Polynomials';\n\n    /**\n     * Names of the best-fit trend analysis methods\n     *\n     * @var string[]\n     **/\n    private static $trendTypes = array(\n        self::TREND_LINEAR,\n        self::TREND_LOGARITHMIC,\n        self::TREND_EXPONENTIAL,\n        self::TREND_POWER\n    );\n\n    /**\n     * Names of the best-fit trend polynomial orders\n     *\n     * @var string[]\n     **/\n    private static $trendTypePolynomialOrders = array(\n        self::TREND_POLYNOMIAL_2,\n        self::TREND_POLYNOMIAL_3,\n        self::TREND_POLYNOMIAL_4,\n        self::TREND_POLYNOMIAL_5,\n        self::TREND_POLYNOMIAL_6\n    );\n\n    /**\n     * Cached results for each method when trying to identify which provides the best fit\n     *\n     * @var PHPExcel_Best_Fit[]\n     **/\n    private static $trendCache = array();\n\n\n    public static function calculate($trendType = self::TREND_BEST_FIT, $yValues, $xValues = array(), $const = true)\n    {\n        //    Calculate number of points in each dataset\n        $nY = count($yValues);\n        $nX = count($xValues);\n\n        //    Define X Values if necessary\n        if ($nX == 0) {\n            $xValues = range(1, $nY);\n            $nX = $nY;\n        } elseif ($nY != $nX) {\n            //    Ensure both arrays of points are the same size\n            trigger_error(\"trend(): Number of elements in coordinate arrays do not match.\", E_USER_ERROR);\n        }\n\n        $key = md5($trendType.$const.serialize($yValues).serialize($xValues));\n        //    Determine which trend method has been requested\n        switch ($trendType) {\n            //    Instantiate and return the class for the requested trend method\n            case self::TREND_LINEAR:\n            case self::TREND_LOGARITHMIC:\n            case self::TREND_EXPONENTIAL:\n            case self::TREND_POWER:\n                if (!isset(self::$trendCache[$key])) {\n                    $className = 'PHPExcel_'.$trendType.'_Best_Fit';\n                    self::$trendCache[$key] = new $className($yValues, $xValues, $const);\n                }\n                return self::$trendCache[$key];\n            case self::TREND_POLYNOMIAL_2:\n            case self::TREND_POLYNOMIAL_3:\n            case self::TREND_POLYNOMIAL_4:\n            case self::TREND_POLYNOMIAL_5:\n            case self::TREND_POLYNOMIAL_6:\n                if (!isset(self::$trendCache[$key])) {\n                    $order = substr($trendType, -1);\n                    self::$trendCache[$key] = new PHPExcel_Polynomial_Best_Fit($order, $yValues, $xValues, $const);\n                }\n                return self::$trendCache[$key];\n            case self::TREND_BEST_FIT:\n            case self::TREND_BEST_FIT_NO_POLY:\n                //    If the request is to determine the best fit regression, then we test each trend line in turn\n                //    Start by generating an instance of each available trend method\n                foreach (self::$trendTypes as $trendMethod) {\n                    $className = 'PHPExcel_'.$trendMethod.'BestFit';\n                    $bestFit[$trendMethod] = new $className($yValues, $xValues, $const);\n                    $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit();\n                }\n                if ($trendType != self::TREND_BEST_FIT_NO_POLY) {\n                    foreach (self::$trendTypePolynomialOrders as $trendMethod) {\n                        $order = substr($trendMethod, -1);\n                        $bestFit[$trendMethod] = new PHPExcel_Polynomial_Best_Fit($order, $yValues, $xValues, $const);\n                        if ($bestFit[$trendMethod]->getError()) {\n                            unset($bestFit[$trendMethod]);\n                        } else {\n                            $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit();\n                        }\n                    }\n                }\n                //    Determine which of our trend lines is the best fit, and then we return the instance of that trend class\n                arsort($bestFitValue);\n                $bestFitType = key($bestFitValue);\n                return $bestFit[$bestFitType];\n            default:\n                return false;\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Alignment.php",
    "content": "<?php\n/**\n * PHPExcel_Style_Alignment\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Horizontal alignment styles */\n    const HORIZONTAL_GENERAL           = 'general';\n    const HORIZONTAL_LEFT              = 'left';\n    const HORIZONTAL_RIGHT             = 'right';\n    const HORIZONTAL_CENTER            = 'center';\n    const HORIZONTAL_CENTER_CONTINUOUS = 'centerContinuous';\n    const HORIZONTAL_JUSTIFY           = 'justify';\n    const HORIZONTAL_FILL              = 'fill';\n    const HORIZONTAL_DISTRIBUTED       = 'distributed';        // Excel2007 only\n\n    /* Vertical alignment styles */\n    const VERTICAL_BOTTOM      = 'bottom';\n    const VERTICAL_TOP         = 'top';\n    const VERTICAL_CENTER      = 'center';\n    const VERTICAL_JUSTIFY     = 'justify';\n    const VERTICAL_DISTRIBUTED = 'distributed';        // Excel2007 only\n\n    /* Read order */\n    const READORDER_CONTEXT = 0;\n    const READORDER_LTR     = 1;\n    const READORDER_RTL     = 2;\n\n    /**\n     * Horizontal alignment\n     *\n     * @var string\n     */\n    protected $horizontal = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL;\n\n    /**\n     * Vertical alignment\n     *\n     * @var string\n     */\n    protected $vertical = PHPExcel_Style_Alignment::VERTICAL_BOTTOM;\n\n    /**\n     * Text rotation\n     *\n     * @var integer\n     */\n    protected $textRotation = 0;\n\n    /**\n     * Wrap text\n     *\n     * @var boolean\n     */\n    protected $wrapText = false;\n\n    /**\n     * Shrink to fit\n     *\n     * @var boolean\n     */\n    protected $shrinkToFit = false;\n\n    /**\n     * Indent - only possible with horizontal alignment left and right\n     *\n     * @var integer\n     */\n    protected $indent = 0;\n\n    /**\n     * Read order\n     *\n     * @var integer\n     */\n    protected $readorder = 0;\n\n    /**\n     * Create a new PHPExcel_Style_Alignment\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                       Leave this value at default unless you understand exactly what\n     *                                          its ramifications are\n     * @param    boolean    $isConditional   Flag indicating if this is a conditional style or not\n     *                                       Leave this value at default unless you understand exactly what\n     *                                          its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        if ($isConditional) {\n            $this->horizontal   = null;\n            $this->vertical     = null;\n            $this->textRotation = null;\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Alignment\n     */\n    public function getSharedComponent()\n    {\n        return $this->parent->getSharedComponent()->getAlignment();\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('alignment' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray(\n     *        array(\n     *            'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,\n     *            'vertical'   => PHPExcel_Style_Alignment::VERTICAL_CENTER,\n     *            'rotation'   => 0,\n     *            'wrap'            => TRUE\n     *        )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Alignment\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())\n                    ->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (isset($pStyles['horizontal'])) {\n                    $this->setHorizontal($pStyles['horizontal']);\n                }\n                if (isset($pStyles['vertical'])) {\n                    $this->setVertical($pStyles['vertical']);\n                }\n                if (isset($pStyles['rotation'])) {\n                    $this->setTextRotation($pStyles['rotation']);\n                }\n                if (isset($pStyles['wrap'])) {\n                    $this->setWrapText($pStyles['wrap']);\n                }\n                if (isset($pStyles['shrinkToFit'])) {\n                    $this->setShrinkToFit($pStyles['shrinkToFit']);\n                }\n                if (isset($pStyles['indent'])) {\n                    $this->setIndent($pStyles['indent']);\n                }\n                if (isset($pStyles['readorder'])) {\n                    $this->setReadorder($pStyles['readorder']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Horizontal\n     *\n     * @return string\n     */\n    public function getHorizontal()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHorizontal();\n        }\n        return $this->horizontal;\n    }\n\n    /**\n     * Set Horizontal\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setHorizontal($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL)\n    {\n        if ($pValue == '') {\n            $pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL;\n        }\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('horizontal' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->horizontal = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Vertical\n     *\n     * @return string\n     */\n    public function getVertical()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getVertical();\n        }\n        return $this->vertical;\n    }\n\n    /**\n     * Set Vertical\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setVertical($pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM)\n    {\n        if ($pValue == '') {\n            $pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM;\n        }\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('vertical' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->vertical = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get TextRotation\n     *\n     * @return int\n     */\n    public function getTextRotation()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getTextRotation();\n        }\n        return $this->textRotation;\n    }\n\n    /**\n     * Set TextRotation\n     *\n     * @param int $pValue\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setTextRotation($pValue = 0)\n    {\n        // Excel2007 value 255 => PHPExcel value -165\n        if ($pValue == 255) {\n            $pValue = -165;\n        }\n\n        // Set rotation\n        if (($pValue >= -90 && $pValue <= 90) || $pValue == -165) {\n            if ($this->isSupervisor) {\n                $styleArray = $this->getStyleArray(array('rotation' => $pValue));\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n            } else {\n                $this->textRotation = $pValue;\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Text rotation should be a value between -90 and 90.\");\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get Wrap Text\n     *\n     * @return boolean\n     */\n    public function getWrapText()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getWrapText();\n        }\n        return $this->wrapText;\n    }\n\n    /**\n     * Set Wrap Text\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setWrapText($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('wrap' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->wrapText = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Shrink to fit\n     *\n     * @return boolean\n     */\n    public function getShrinkToFit()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getShrinkToFit();\n        }\n        return $this->shrinkToFit;\n    }\n\n    /**\n     * Set Shrink to fit\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setShrinkToFit($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('shrinkToFit' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->shrinkToFit = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get indent\n     *\n     * @return int\n     */\n    public function getIndent()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getIndent();\n        }\n        return $this->indent;\n    }\n\n    /**\n     * Set indent\n     *\n     * @param int $pValue\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setIndent($pValue = 0)\n    {\n        if ($pValue > 0) {\n            if ($this->getHorizontal() != self::HORIZONTAL_GENERAL &&\n                $this->getHorizontal() != self::HORIZONTAL_LEFT &&\n                $this->getHorizontal() != self::HORIZONTAL_RIGHT) {\n                $pValue = 0; // indent not supported\n            }\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('indent' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->indent = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get read order\n     *\n     * @return integer\n     */\n    public function getReadorder()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getReadorder();\n        }\n        return $this->readorder;\n    }\n\n    /**\n     * Set read order\n     *\n     * @param int $pValue\n     * @return PHPExcel_Style_Alignment\n     */\n    public function setReadorder($pValue = 0)\n    {\n        if ($pValue < 0 || $pValue > 2) {\n            $pValue = 0;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('readorder' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->readorder = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->horizontal .\n            $this->vertical .\n            $this->textRotation .\n            ($this->wrapText ? 't' : 'f') .\n            ($this->shrinkToFit ? 't' : 'f') .\n            $this->indent .\n            $this->readorder .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Border.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Border\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Border extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Border style */\n    const BORDER_NONE             = 'none';\n    const BORDER_DASHDOT          = 'dashDot';\n    const BORDER_DASHDOTDOT       = 'dashDotDot';\n    const BORDER_DASHED           = 'dashed';\n    const BORDER_DOTTED           = 'dotted';\n    const BORDER_DOUBLE           = 'double';\n    const BORDER_HAIR             = 'hair';\n    const BORDER_MEDIUM           = 'medium';\n    const BORDER_MEDIUMDASHDOT    = 'mediumDashDot';\n    const BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot';\n    const BORDER_MEDIUMDASHED     = 'mediumDashed';\n    const BORDER_SLANTDASHDOT     = 'slantDashDot';\n    const BORDER_THICK            = 'thick';\n    const BORDER_THIN             = 'thin';\n\n    /**\n     * Border style\n     *\n     * @var string\n     */\n    protected $borderStyle = PHPExcel_Style_Border::BORDER_NONE;\n\n    /**\n     * Border color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    protected $color;\n\n    /**\n     * Parent property name\n     *\n     * @var string\n     */\n    protected $parentPropertyName;\n\n    /**\n     * Create a new PHPExcel_Style_Border\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        // Initialise values\n        $this->color    = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);\n\n        // bind parent if we are a supervisor\n        if ($isSupervisor) {\n            $this->color->bindParent($this, 'color');\n        }\n    }\n\n    /**\n     * Bind parent. Only used for supervisor\n     *\n     * @param PHPExcel_Style_Borders $parent\n     * @param string $parentPropertyName\n     * @return PHPExcel_Style_Border\n     */\n    public function bindParent($parent, $parentPropertyName = null)\n    {\n        $this->parent = $parent;\n        $this->parentPropertyName = $parentPropertyName;\n        return $this;\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Border\n     * @throws PHPExcel_Exception\n     */\n    public function getSharedComponent()\n    {\n        switch ($this->parentPropertyName) {\n            case 'allBorders':\n            case 'horizontal':\n            case 'inside':\n            case 'outline':\n            case 'vertical':\n                throw new PHPExcel_Exception('Cannot get shared component for a pseudo-border.');\n                break;\n            case 'bottom':\n                return $this->parent->getSharedComponent()->getBottom();\n            case 'diagonal':\n                return $this->parent->getSharedComponent()->getDiagonal();\n            case 'left':\n                return $this->parent->getSharedComponent()->getLeft();\n            case 'right':\n                return $this->parent->getSharedComponent()->getRight();\n            case 'top':\n                return $this->parent->getSharedComponent()->getTop();\n        }\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        switch ($this->parentPropertyName) {\n            case 'allBorders':\n            case 'bottom':\n            case 'diagonal':\n            case 'horizontal':\n            case 'inside':\n            case 'left':\n            case 'outline':\n            case 'right':\n            case 'top':\n            case 'vertical':\n                $key = strtolower('vertical');\n                break;\n        }\n        return $this->parent->getStyleArray(array($key => $array));\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray(\n     *        array(\n     *            'style' => PHPExcel_Style_Border::BORDER_DASHDOT,\n     *            'color' => array(\n     *                'rgb' => '808080'\n     *            )\n     *        )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Border\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (isset($pStyles['style'])) {\n                    $this->setBorderStyle($pStyles['style']);\n                }\n                if (isset($pStyles['color'])) {\n                    $this->getColor()->applyFromArray($pStyles['color']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Border style\n     *\n     * @return string\n     */\n    public function getBorderStyle()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getBorderStyle();\n        }\n        return $this->borderStyle;\n    }\n\n    /**\n     * Set Border style\n     *\n     * @param string|boolean    $pValue\n     *                            When passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE\n     *                                and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM\n     * @return PHPExcel_Style_Border\n     */\n    public function setBorderStyle($pValue = PHPExcel_Style_Border::BORDER_NONE)\n    {\n\n        if (empty($pValue)) {\n            $pValue = PHPExcel_Style_Border::BORDER_NONE;\n        } elseif (is_bool($pValue) && $pValue) {\n            $pValue = PHPExcel_Style_Border::BORDER_MEDIUM;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('style' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->borderStyle = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Border Color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getColor()\n    {\n        return $this->color;\n    }\n\n    /**\n     * Set Border Color\n     *\n     * @param    PHPExcel_Style_Color $pValue\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Border\n     */\n    public function setColor(PHPExcel_Style_Color $pValue = null)\n    {\n        // make sure parameter is a real color and not a supervisor\n        $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue;\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getColor()->getStyleArray(array('argb' => $color->getARGB()));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->color = $color;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->borderStyle .\n            $this->color->getHashCode() .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Borders.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Borders\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Borders extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Diagonal directions */\n    const DIAGONAL_NONE = 0;\n    const DIAGONAL_UP   = 1;\n    const DIAGONAL_DOWN = 2;\n    const DIAGONAL_BOTH = 3;\n\n    /**\n     * Left\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $left;\n\n    /**\n     * Right\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $right;\n\n    /**\n     * Top\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $top;\n\n    /**\n     * Bottom\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $bottom;\n\n    /**\n     * Diagonal\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $diagonal;\n\n    /**\n     * DiagonalDirection\n     *\n     * @var int\n     */\n    protected $diagonalDirection;\n\n    /**\n     * All borders psedo-border. Only applies to supervisor.\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $allBorders;\n\n    /**\n     * Outline psedo-border. Only applies to supervisor.\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $outline;\n\n    /**\n     * Inside psedo-border. Only applies to supervisor.\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $inside;\n\n    /**\n     * Vertical pseudo-border. Only applies to supervisor.\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $vertical;\n\n    /**\n     * Horizontal pseudo-border. Only applies to supervisor.\n     *\n     * @var PHPExcel_Style_Border\n     */\n    protected $horizontal;\n\n    /**\n     * Create a new PHPExcel_Style_Borders\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        // Initialise values\n        $this->left = new PHPExcel_Style_Border($isSupervisor, $isConditional);\n        $this->right = new PHPExcel_Style_Border($isSupervisor, $isConditional);\n        $this->top = new PHPExcel_Style_Border($isSupervisor, $isConditional);\n        $this->bottom = new PHPExcel_Style_Border($isSupervisor, $isConditional);\n        $this->diagonal = new PHPExcel_Style_Border($isSupervisor, $isConditional);\n        $this->diagonalDirection = PHPExcel_Style_Borders::DIAGONAL_NONE;\n\n        // Specially for supervisor\n        if ($isSupervisor) {\n            // Initialize pseudo-borders\n            $this->allBorders = new PHPExcel_Style_Border(true);\n            $this->outline = new PHPExcel_Style_Border(true);\n            $this->inside = new PHPExcel_Style_Border(true);\n            $this->vertical = new PHPExcel_Style_Border(true);\n            $this->horizontal = new PHPExcel_Style_Border(true);\n\n            // bind parent if we are a supervisor\n            $this->left->bindParent($this, 'left');\n            $this->right->bindParent($this, 'right');\n            $this->top->bindParent($this, 'top');\n            $this->bottom->bindParent($this, 'bottom');\n            $this->diagonal->bindParent($this, 'diagonal');\n            $this->allBorders->bindParent($this, 'allBorders');\n            $this->outline->bindParent($this, 'outline');\n            $this->inside->bindParent($this, 'inside');\n            $this->vertical->bindParent($this, 'vertical');\n            $this->horizontal->bindParent($this, 'horizontal');\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Borders\n     */\n    public function getSharedComponent()\n    {\n        return $this->parent->getSharedComponent()->getBorders();\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('borders' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(\n     *         array(\n     *             'bottom'     => array(\n     *                 'style' => PHPExcel_Style_Border::BORDER_DASHDOT,\n     *                 'color' => array(\n     *                     'rgb' => '808080'\n     *                 )\n     *             ),\n     *             'top'     => array(\n     *                 'style' => PHPExcel_Style_Border::BORDER_DASHDOT,\n     *                 'color' => array(\n     *                     'rgb' => '808080'\n     *                 )\n     *             )\n     *         )\n     * );\n     * </code>\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray(\n     *         array(\n     *             'allborders' => array(\n     *                 'style' => PHPExcel_Style_Border::BORDER_DASHDOT,\n     *                 'color' => array(\n     *                     'rgb' => '808080'\n     *                 )\n     *             )\n     *         )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Borders\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (array_key_exists('left', $pStyles)) {\n                    $this->getLeft()->applyFromArray($pStyles['left']);\n                }\n                if (array_key_exists('right', $pStyles)) {\n                    $this->getRight()->applyFromArray($pStyles['right']);\n                }\n                if (array_key_exists('top', $pStyles)) {\n                    $this->getTop()->applyFromArray($pStyles['top']);\n                }\n                if (array_key_exists('bottom', $pStyles)) {\n                    $this->getBottom()->applyFromArray($pStyles['bottom']);\n                }\n                if (array_key_exists('diagonal', $pStyles)) {\n                    $this->getDiagonal()->applyFromArray($pStyles['diagonal']);\n                }\n                if (array_key_exists('diagonaldirection', $pStyles)) {\n                    $this->setDiagonalDirection($pStyles['diagonaldirection']);\n                }\n                if (array_key_exists('allborders', $pStyles)) {\n                    $this->getLeft()->applyFromArray($pStyles['allborders']);\n                    $this->getRight()->applyFromArray($pStyles['allborders']);\n                    $this->getTop()->applyFromArray($pStyles['allborders']);\n                    $this->getBottom()->applyFromArray($pStyles['allborders']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Left\n     *\n     * @return PHPExcel_Style_Border\n     */\n    public function getLeft()\n    {\n        return $this->left;\n    }\n\n    /**\n     * Get Right\n     *\n     * @return PHPExcel_Style_Border\n     */\n    public function getRight()\n    {\n        return $this->right;\n    }\n\n    /**\n     * Get Top\n     *\n     * @return PHPExcel_Style_Border\n     */\n    public function getTop()\n    {\n        return $this->top;\n    }\n\n    /**\n     * Get Bottom\n     *\n     * @return PHPExcel_Style_Border\n     */\n    public function getBottom()\n    {\n        return $this->bottom;\n    }\n\n    /**\n     * Get Diagonal\n     *\n     * @return PHPExcel_Style_Border\n     */\n    public function getDiagonal()\n    {\n        return $this->diagonal;\n    }\n\n    /**\n     * Get AllBorders (pseudo-border). Only applies to supervisor.\n     *\n     * @return PHPExcel_Style_Border\n     * @throws PHPExcel_Exception\n     */\n    public function getAllBorders()\n    {\n        if (!$this->isSupervisor) {\n            throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.');\n        }\n        return $this->allBorders;\n    }\n\n    /**\n     * Get Outline (pseudo-border). Only applies to supervisor.\n     *\n     * @return boolean\n     * @throws PHPExcel_Exception\n     */\n    public function getOutline()\n    {\n        if (!$this->isSupervisor) {\n            throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.');\n        }\n        return $this->outline;\n    }\n\n    /**\n     * Get Inside (pseudo-border). Only applies to supervisor.\n     *\n     * @return boolean\n     * @throws PHPExcel_Exception\n     */\n    public function getInside()\n    {\n        if (!$this->isSupervisor) {\n            throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.');\n        }\n        return $this->inside;\n    }\n\n    /**\n     * Get Vertical (pseudo-border). Only applies to supervisor.\n     *\n     * @return PHPExcel_Style_Border\n     * @throws PHPExcel_Exception\n     */\n    public function getVertical()\n    {\n        if (!$this->isSupervisor) {\n            throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.');\n        }\n        return $this->vertical;\n    }\n\n    /**\n     * Get Horizontal (pseudo-border). Only applies to supervisor.\n     *\n     * @return PHPExcel_Style_Border\n     * @throws PHPExcel_Exception\n     */\n    public function getHorizontal()\n    {\n        if (!$this->isSupervisor) {\n            throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.');\n        }\n        return $this->horizontal;\n    }\n\n    /**\n     * Get DiagonalDirection\n     *\n     * @return int\n     */\n    public function getDiagonalDirection()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getDiagonalDirection();\n        }\n        return $this->diagonalDirection;\n    }\n\n    /**\n     * Set DiagonalDirection\n     *\n     * @param int $pValue\n     * @return PHPExcel_Style_Borders\n     */\n    public function setDiagonalDirection($pValue = PHPExcel_Style_Borders::DIAGONAL_NONE)\n    {\n        if ($pValue == '') {\n            $pValue = PHPExcel_Style_Borders::DIAGONAL_NONE;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('diagonaldirection' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->diagonalDirection = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashcode();\n        }\n        return md5(\n            $this->getLeft()->getHashCode() .\n            $this->getRight()->getHashCode() .\n            $this->getTop()->getHashCode() .\n            $this->getBottom()->getHashCode() .\n            $this->getDiagonal()->getHashCode() .\n            $this->getDiagonalDirection() .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Color.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Color\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Color extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Colors */\n    const COLOR_BLACK      = 'FF000000';\n    const COLOR_WHITE      = 'FFFFFFFF';\n    const COLOR_RED        = 'FFFF0000';\n    const COLOR_DARKRED    = 'FF800000';\n    const COLOR_BLUE       = 'FF0000FF';\n    const COLOR_DARKBLUE   = 'FF000080';\n    const COLOR_GREEN      = 'FF00FF00';\n    const COLOR_DARKGREEN  = 'FF008000';\n    const COLOR_YELLOW     = 'FFFFFF00';\n    const COLOR_DARKYELLOW = 'FF808000';\n\n    /**\n     * Indexed colors array\n     *\n     * @var array\n     */\n    protected static $indexedColors;\n\n    /**\n     * ARGB - Alpha RGB\n     *\n     * @var string\n     */\n    protected $argb = null;\n\n    /**\n     * Parent property name\n     *\n     * @var string\n     */\n    protected $parentPropertyName;\n\n\n    /**\n     * Create a new PHPExcel_Style_Color\n     *\n     * @param    string    $pARGB            ARGB value for the colour\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($pARGB = PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor = false, $isConditional = false)\n    {\n        //    Supervisor?\n        parent::__construct($isSupervisor);\n\n        //    Initialise values\n        if (!$isConditional) {\n            $this->argb = $pARGB;\n        }\n    }\n\n    /**\n     * Bind parent. Only used for supervisor\n     *\n     * @param mixed $parent\n     * @param string $parentPropertyName\n     * @return PHPExcel_Style_Color\n     */\n    public function bindParent($parent, $parentPropertyName = null)\n    {\n        $this->parent = $parent;\n        $this->parentPropertyName = $parentPropertyName;\n        return $this;\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getSharedComponent()\n    {\n        switch ($this->parentPropertyName) {\n            case 'endColor':\n                return $this->parent->getSharedComponent()->getEndColor();\n            case 'color':\n                return $this->parent->getSharedComponent()->getColor();\n            case 'startColor':\n                return $this->parent->getSharedComponent()->getStartColor();\n        }\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        switch ($this->parentPropertyName) {\n            case 'endColor':\n                $key = 'endcolor';\n                break;\n            case 'color':\n                $key = 'color';\n                break;\n            case 'startColor':\n                $key = 'startcolor';\n                break;\n\n        }\n        return $this->parent->getStyleArray(array($key => $array));\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->getColor()->applyFromArray( array('rgb' => '808080') );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Color\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (array_key_exists('rgb', $pStyles)) {\n                    $this->setRGB($pStyles['rgb']);\n                }\n                if (array_key_exists('argb', $pStyles)) {\n                    $this->setARGB($pStyles['argb']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get ARGB\n     *\n     * @return string\n     */\n    public function getARGB()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getARGB();\n        }\n        return $this->argb;\n    }\n\n    /**\n     * Set ARGB\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_Color\n     */\n    public function setARGB($pValue = PHPExcel_Style_Color::COLOR_BLACK)\n    {\n        if ($pValue == '') {\n            $pValue = PHPExcel_Style_Color::COLOR_BLACK;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('argb' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->argb = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get RGB\n     *\n     * @return string\n     */\n    public function getRGB()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getRGB();\n        }\n        return substr($this->argb, 2);\n    }\n\n    /**\n     * Set RGB\n     *\n     * @param    string    $pValue    RGB value\n     * @return PHPExcel_Style_Color\n     */\n    public function setRGB($pValue = '000000')\n    {\n        if ($pValue == '') {\n            $pValue = '000000';\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('argb' => 'FF' . $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->argb = 'FF' . $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get a specified colour component of an RGB value\n     *\n     * @private\n     * @param    string        $RGB        The colour as an RGB value (e.g. FF00CCCC or CCDDEE\n     * @param    int            $offset        Position within the RGB value to extract\n     * @param    boolean        $hex        Flag indicating whether the component should be returned as a hex or a\n     *                                    decimal value\n     * @return    string        The extracted colour component\n     */\n    private static function getColourComponent($RGB, $offset, $hex = true)\n    {\n        $colour = substr($RGB, $offset, 2);\n        if (!$hex) {\n            $colour = hexdec($colour);\n        }\n        return $colour;\n    }\n\n    /**\n     * Get the red colour component of an RGB value\n     *\n     * @param    string        $RGB        The colour as an RGB value (e.g. FF00CCCC or CCDDEE\n     * @param    boolean        $hex        Flag indicating whether the component should be returned as a hex or a\n     *                                    decimal value\n     * @return    string        The red colour component\n     */\n    public static function getRed($RGB, $hex = true)\n    {\n        return self::getColourComponent($RGB, strlen($RGB) - 6, $hex);\n    }\n\n    /**\n     * Get the green colour component of an RGB value\n     *\n     * @param    string        $RGB        The colour as an RGB value (e.g. FF00CCCC or CCDDEE\n     * @param    boolean        $hex        Flag indicating whether the component should be returned as a hex or a\n     *                                    decimal value\n     * @return    string        The green colour component\n     */\n    public static function getGreen($RGB, $hex = true)\n    {\n        return self::getColourComponent($RGB, strlen($RGB) - 4, $hex);\n    }\n\n    /**\n     * Get the blue colour component of an RGB value\n     *\n     * @param    string        $RGB        The colour as an RGB value (e.g. FF00CCCC or CCDDEE\n     * @param    boolean        $hex        Flag indicating whether the component should be returned as a hex or a\n     *                                    decimal value\n     * @return    string        The blue colour component\n     */\n    public static function getBlue($RGB, $hex = true)\n    {\n        return self::getColourComponent($RGB, strlen($RGB) - 2, $hex);\n    }\n\n    /**\n     * Adjust the brightness of a color\n     *\n     * @param    string        $hex    The colour as an RGBA or RGB value (e.g. FF00CCCC or CCDDEE)\n     * @param    float        $adjustPercentage    The percentage by which to adjust the colour as a float from -1 to 1\n     * @return    string        The adjusted colour as an RGBA or RGB value (e.g. FF00CCCC or CCDDEE)\n     */\n    public static function changeBrightness($hex, $adjustPercentage)\n    {\n        $rgba = (strlen($hex) == 8);\n\n        $red = self::getRed($hex, false);\n        $green = self::getGreen($hex, false);\n        $blue = self::getBlue($hex, false);\n        if ($adjustPercentage > 0) {\n            $red += (255 - $red) * $adjustPercentage;\n            $green += (255 - $green) * $adjustPercentage;\n            $blue += (255 - $blue) * $adjustPercentage;\n        } else {\n            $red += $red * $adjustPercentage;\n            $green += $green * $adjustPercentage;\n            $blue += $blue * $adjustPercentage;\n        }\n\n        if ($red < 0) {\n            $red = 0;\n        } elseif ($red > 255) {\n            $red = 255;\n        }\n        if ($green < 0) {\n            $green = 0;\n        } elseif ($green > 255) {\n            $green = 255;\n        }\n        if ($blue < 0) {\n            $blue = 0;\n        } elseif ($blue > 255) {\n            $blue = 255;\n        }\n\n        $rgb = strtoupper(\n            str_pad(dechex($red), 2, '0', 0) .\n            str_pad(dechex($green), 2, '0', 0) .\n            str_pad(dechex($blue), 2, '0', 0)\n        );\n        return (($rgba) ? 'FF' : '') . $rgb;\n    }\n\n    /**\n     * Get indexed color\n     *\n     * @param    int            $pIndex            Index entry point into the colour array\n     * @param    boolean        $background        Flag to indicate whether default background or foreground colour\n     *                                            should be returned if the indexed colour doesn't exist\n     * @return    PHPExcel_Style_Color\n     */\n    public static function indexedColor($pIndex, $background = false)\n    {\n        // Clean parameter\n        $pIndex = intval($pIndex);\n\n        // Indexed colors\n        if (is_null(self::$indexedColors)) {\n            self::$indexedColors = array(\n                    1    => 'FF000000',    //    System Colour #1 - Black\n                    2    => 'FFFFFFFF',    //    System Colour #2 - White\n                    3    => 'FFFF0000',    //    System Colour #3 - Red\n                    4    => 'FF00FF00',    //    System Colour #4 - Green\n                    5    => 'FF0000FF',    //    System Colour #5 - Blue\n                    6    => 'FFFFFF00',    //    System Colour #6 - Yellow\n                    7    => 'FFFF00FF',    //    System Colour #7- Magenta\n                    8    => 'FF00FFFF',    //    System Colour #8- Cyan\n                    9    => 'FF800000',    //    Standard Colour #9\n                    10    => 'FF008000',    //    Standard Colour #10\n                    11    => 'FF000080',    //    Standard Colour #11\n                    12    => 'FF808000',    //    Standard Colour #12\n                    13    => 'FF800080',    //    Standard Colour #13\n                    14    => 'FF008080',    //    Standard Colour #14\n                    15    => 'FFC0C0C0',    //    Standard Colour #15\n                    16    => 'FF808080',    //    Standard Colour #16\n                    17    => 'FF9999FF',    //    Chart Fill Colour #17\n                    18    => 'FF993366',    //    Chart Fill Colour #18\n                    19    => 'FFFFFFCC',    //    Chart Fill Colour #19\n                    20    => 'FFCCFFFF',    //    Chart Fill Colour #20\n                    21    => 'FF660066',    //    Chart Fill Colour #21\n                    22    => 'FFFF8080',    //    Chart Fill Colour #22\n                    23    => 'FF0066CC',    //    Chart Fill Colour #23\n                    24    => 'FFCCCCFF',    //    Chart Fill Colour #24\n                    25    => 'FF000080',    //    Chart Line Colour #25\n                    26    => 'FFFF00FF',    //    Chart Line Colour #26\n                    27    => 'FFFFFF00',    //    Chart Line Colour #27\n                    28    => 'FF00FFFF',    //    Chart Line Colour #28\n                    29    => 'FF800080',    //    Chart Line Colour #29\n                    30    => 'FF800000',    //    Chart Line Colour #30\n                    31    => 'FF008080',    //    Chart Line Colour #31\n                    32    => 'FF0000FF',    //    Chart Line Colour #32\n                    33    => 'FF00CCFF',    //    Standard Colour #33\n                    34    => 'FFCCFFFF',    //    Standard Colour #34\n                    35    => 'FFCCFFCC',    //    Standard Colour #35\n                    36    => 'FFFFFF99',    //    Standard Colour #36\n                    37    => 'FF99CCFF',    //    Standard Colour #37\n                    38    => 'FFFF99CC',    //    Standard Colour #38\n                    39    => 'FFCC99FF',    //    Standard Colour #39\n                    40    => 'FFFFCC99',    //    Standard Colour #40\n                    41    => 'FF3366FF',    //    Standard Colour #41\n                    42    => 'FF33CCCC',    //    Standard Colour #42\n                    43    => 'FF99CC00',    //    Standard Colour #43\n                    44    => 'FFFFCC00',    //    Standard Colour #44\n                    45    => 'FFFF9900',    //    Standard Colour #45\n                    46    => 'FFFF6600',    //    Standard Colour #46\n                    47    => 'FF666699',    //    Standard Colour #47\n                    48    => 'FF969696',    //    Standard Colour #48\n                    49    => 'FF003366',    //    Standard Colour #49\n                    50    => 'FF339966',    //    Standard Colour #50\n                    51    => 'FF003300',    //    Standard Colour #51\n                    52    => 'FF333300',    //    Standard Colour #52\n                    53    => 'FF993300',    //    Standard Colour #53\n                    54    => 'FF993366',    //    Standard Colour #54\n                    55    => 'FF333399',    //    Standard Colour #55\n                    56    => 'FF333333'    //    Standard Colour #56\n                );\n        }\n\n        if (array_key_exists($pIndex, self::$indexedColors)) {\n            return new PHPExcel_Style_Color(self::$indexedColors[$pIndex]);\n        }\n\n        if ($background) {\n            return new PHPExcel_Style_Color(self::COLOR_WHITE);\n        }\n        return new PHPExcel_Style_Color(self::COLOR_BLACK);\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->argb .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Conditional.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Style_Conditional\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Style_Conditional implements PHPExcel_IComparable\n{\n    /* Condition types */\n    const CONDITION_NONE         = 'none';\n    const CONDITION_CELLIS       = 'cellIs';\n    const CONDITION_CONTAINSTEXT = 'containsText';\n    const CONDITION_EXPRESSION   = 'expression';\n\n    /* Operator types */\n    const OPERATOR_NONE               = '';\n    const OPERATOR_BEGINSWITH         = 'beginsWith';\n    const OPERATOR_ENDSWITH           = 'endsWith';\n    const OPERATOR_EQUAL              = 'equal';\n    const OPERATOR_GREATERTHAN        = 'greaterThan';\n    const OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual';\n    const OPERATOR_LESSTHAN           = 'lessThan';\n    const OPERATOR_LESSTHANOREQUAL    = 'lessThanOrEqual';\n    const OPERATOR_NOTEQUAL           = 'notEqual';\n    const OPERATOR_CONTAINSTEXT       = 'containsText';\n    const OPERATOR_NOTCONTAINS        = 'notContains';\n    const OPERATOR_BETWEEN            = 'between';\n\n    /**\n     * Condition type\n     *\n     * @var int\n     */\n    private $conditionType;\n\n    /**\n     * Operator type\n     *\n     * @var int\n     */\n    private $operatorType;\n\n    /**\n     * Text\n     *\n     * @var string\n     */\n    private $text;\n\n    /**\n     * Condition\n     *\n     * @var string[]\n     */\n    private $condition = array();\n\n    /**\n     * Style\n     *\n     * @var PHPExcel_Style\n     */\n    private $style;\n\n    /**\n     * Create a new PHPExcel_Style_Conditional\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->conditionType = PHPExcel_Style_Conditional::CONDITION_NONE;\n        $this->operatorType  = PHPExcel_Style_Conditional::OPERATOR_NONE;\n        $this->text          = null;\n        $this->condition     = array();\n        $this->style         = new PHPExcel_Style(false, true);\n    }\n\n    /**\n     * Get Condition type\n     *\n     * @return string\n     */\n    public function getConditionType()\n    {\n        return $this->conditionType;\n    }\n\n    /**\n     * Set Condition type\n     *\n     * @param string $pValue    PHPExcel_Style_Conditional condition type\n     * @return PHPExcel_Style_Conditional\n     */\n    public function setConditionType($pValue = PHPExcel_Style_Conditional::CONDITION_NONE)\n    {\n        $this->conditionType = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Operator type\n     *\n     * @return string\n     */\n    public function getOperatorType()\n    {\n        return $this->operatorType;\n    }\n\n    /**\n     * Set Operator type\n     *\n     * @param string $pValue    PHPExcel_Style_Conditional operator type\n     * @return PHPExcel_Style_Conditional\n     */\n    public function setOperatorType($pValue = PHPExcel_Style_Conditional::OPERATOR_NONE)\n    {\n        $this->operatorType = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get text\n     *\n     * @return string\n     */\n    public function getText()\n    {\n        return $this->text;\n    }\n\n    /**\n     * Set text\n     *\n     * @param string $value\n     * @return PHPExcel_Style_Conditional\n     */\n    public function setText($value = null)\n    {\n        $this->text = $value;\n        return $this;\n    }\n\n    /**\n     * Get Condition\n     *\n     * @deprecated Deprecated, use getConditions instead\n     * @return string\n     */\n    public function getCondition()\n    {\n        if (isset($this->condition[0])) {\n            return $this->condition[0];\n        }\n\n        return '';\n    }\n\n    /**\n     * Set Condition\n     *\n     * @deprecated Deprecated, use setConditions instead\n     * @param string $pValue    Condition\n     * @return PHPExcel_Style_Conditional\n     */\n    public function setCondition($pValue = '')\n    {\n        if (!is_array($pValue)) {\n            $pValue = array($pValue);\n        }\n\n        return $this->setConditions($pValue);\n    }\n\n    /**\n     * Get Conditions\n     *\n     * @return string[]\n     */\n    public function getConditions()\n    {\n        return $this->condition;\n    }\n\n    /**\n     * Set Conditions\n     *\n     * @param string[] $pValue    Condition\n     * @return PHPExcel_Style_Conditional\n     */\n    public function setConditions($pValue)\n    {\n        if (!is_array($pValue)) {\n            $pValue = array($pValue);\n        }\n        $this->condition = $pValue;\n        return $this;\n    }\n\n    /**\n     * Add Condition\n     *\n     * @param string $pValue    Condition\n     * @return PHPExcel_Style_Conditional\n     */\n    public function addCondition($pValue = '')\n    {\n        $this->condition[] = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Style\n     *\n     * @return PHPExcel_Style\n     */\n    public function getStyle()\n    {\n        return $this->style;\n    }\n\n    /**\n     * Set Style\n     *\n     * @param     PHPExcel_Style $pValue\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Style_Conditional\n     */\n    public function setStyle(PHPExcel_Style $pValue = null)\n    {\n           $this->style = $pValue;\n           return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->conditionType .\n            $this->operatorType .\n            implode(';', $this->condition) .\n            $this->style->getHashCode() .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Fill.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Fill\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Fill extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Fill types */\n    const FILL_NONE                    = 'none';\n    const FILL_SOLID                   = 'solid';\n    const FILL_GRADIENT_LINEAR         = 'linear';\n    const FILL_GRADIENT_PATH           = 'path';\n    const FILL_PATTERN_DARKDOWN        = 'darkDown';\n    const FILL_PATTERN_DARKGRAY        = 'darkGray';\n    const FILL_PATTERN_DARKGRID        = 'darkGrid';\n    const FILL_PATTERN_DARKHORIZONTAL  = 'darkHorizontal';\n    const FILL_PATTERN_DARKTRELLIS     = 'darkTrellis';\n    const FILL_PATTERN_DARKUP          = 'darkUp';\n    const FILL_PATTERN_DARKVERTICAL    = 'darkVertical';\n    const FILL_PATTERN_GRAY0625        = 'gray0625';\n    const FILL_PATTERN_GRAY125         = 'gray125';\n    const FILL_PATTERN_LIGHTDOWN       = 'lightDown';\n    const FILL_PATTERN_LIGHTGRAY       = 'lightGray';\n    const FILL_PATTERN_LIGHTGRID       = 'lightGrid';\n    const FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal';\n    const FILL_PATTERN_LIGHTTRELLIS    = 'lightTrellis';\n    const FILL_PATTERN_LIGHTUP         = 'lightUp';\n    const FILL_PATTERN_LIGHTVERTICAL   = 'lightVertical';\n    const FILL_PATTERN_MEDIUMGRAY      = 'mediumGray';\n\n    /**\n     * Fill type\n     *\n     * @var string\n     */\n    protected $fillType = PHPExcel_Style_Fill::FILL_NONE;\n\n    /**\n     * Rotation\n     *\n     * @var double\n     */\n    protected $rotation = 0;\n\n    /**\n     * Start color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    protected $startColor;\n\n    /**\n     * End color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    protected $endColor;\n\n    /**\n     * Create a new PHPExcel_Style_Fill\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        // Initialise values\n        if ($isConditional) {\n            $this->fillType = null;\n        }\n        $this->startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor, $isConditional);\n        $this->endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);\n\n        // bind parent if we are a supervisor\n        if ($isSupervisor) {\n            $this->startColor->bindParent($this, 'startColor');\n            $this->endColor->bindParent($this, 'endColor');\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Fill\n     */\n    public function getSharedComponent()\n    {\n        return $this->parent->getSharedComponent()->getFill();\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('fill' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray(\n     *        array(\n     *            'type'       => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR,\n     *            'rotation'   => 0,\n     *            'startcolor' => array(\n     *                'rgb' => '000000'\n     *            ),\n     *            'endcolor'   => array(\n     *                'argb' => 'FFFFFFFF'\n     *            )\n     *        )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Fill\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (array_key_exists('type', $pStyles)) {\n                    $this->setFillType($pStyles['type']);\n                }\n                if (array_key_exists('rotation', $pStyles)) {\n                    $this->setRotation($pStyles['rotation']);\n                }\n                if (array_key_exists('startcolor', $pStyles)) {\n                    $this->getStartColor()->applyFromArray($pStyles['startcolor']);\n                }\n                if (array_key_exists('endcolor', $pStyles)) {\n                    $this->getEndColor()->applyFromArray($pStyles['endcolor']);\n                }\n                if (array_key_exists('color', $pStyles)) {\n                    $this->getStartColor()->applyFromArray($pStyles['color']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Fill Type\n     *\n     * @return string\n     */\n    public function getFillType()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getFillType();\n        }\n        return $this->fillType;\n    }\n\n    /**\n     * Set Fill Type\n     *\n     * @param string $pValue    PHPExcel_Style_Fill fill type\n     * @return PHPExcel_Style_Fill\n     */\n    public function setFillType($pValue = PHPExcel_Style_Fill::FILL_NONE)\n    {\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('type' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->fillType = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Rotation\n     *\n     * @return double\n     */\n    public function getRotation()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getRotation();\n        }\n        return $this->rotation;\n    }\n\n    /**\n     * Set Rotation\n     *\n     * @param double $pValue\n     * @return PHPExcel_Style_Fill\n     */\n    public function setRotation($pValue = 0)\n    {\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('rotation' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->rotation = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Start Color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getStartColor()\n    {\n        return $this->startColor;\n    }\n\n    /**\n     * Set Start Color\n     *\n     * @param    PHPExcel_Style_Color $pValue\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Fill\n     */\n    public function setStartColor(PHPExcel_Style_Color $pValue = null)\n    {\n        // make sure parameter is a real color and not a supervisor\n        $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue;\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStartColor()->getStyleArray(array('argb' => $color->getARGB()));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->startColor = $color;\n        }\n        return $this;\n    }\n\n    /**\n     * Get End Color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getEndColor()\n    {\n        return $this->endColor;\n    }\n\n    /**\n     * Set End Color\n     *\n     * @param    PHPExcel_Style_Color $pValue\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Fill\n     */\n    public function setEndColor(PHPExcel_Style_Color $pValue = null)\n    {\n        // make sure parameter is a real color and not a supervisor\n        $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue;\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getEndColor()->getStyleArray(array('argb' => $color->getARGB()));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->endColor = $color;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->getFillType() .\n            $this->getRotation() .\n            $this->getStartColor()->getHashCode() .\n            $this->getEndColor()->getHashCode() .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Font.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Font\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Font extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Underline types */\n    const UNDERLINE_NONE             = 'none';\n    const UNDERLINE_DOUBLE           = 'double';\n    const UNDERLINE_DOUBLEACCOUNTING = 'doubleAccounting';\n    const UNDERLINE_SINGLE           = 'single';\n    const UNDERLINE_SINGLEACCOUNTING = 'singleAccounting';\n\n    /**\n     * Font Name\n     *\n     * @var string\n     */\n    protected $name = 'Calibri';\n\n    /**\n     * Font Size\n     *\n     * @var float\n     */\n    protected $size = 11;\n\n    /**\n     * Bold\n     *\n     * @var boolean\n     */\n    protected $bold = false;\n\n    /**\n     * Italic\n     *\n     * @var boolean\n     */\n    protected $italic = false;\n\n    /**\n     * Superscript\n     *\n     * @var boolean\n     */\n    protected $superScript = false;\n\n    /**\n     * Subscript\n     *\n     * @var boolean\n     */\n    protected $subScript = false;\n\n    /**\n     * Underline\n     *\n     * @var string\n     */\n    protected $underline = self::UNDERLINE_NONE;\n\n    /**\n     * Strikethrough\n     *\n     * @var boolean\n     */\n    protected $strikethrough = false;\n\n    /**\n     * Foreground color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    protected $color;\n\n    /**\n     * Create a new PHPExcel_Style_Font\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        // Initialise values\n        if ($isConditional) {\n            $this->name = null;\n            $this->size = null;\n            $this->bold = null;\n            $this->italic = null;\n            $this->superScript = null;\n            $this->subScript = null;\n            $this->underline = null;\n            $this->strikethrough = null;\n            $this->color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);\n        } else {\n            $this->color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);\n        }\n        // bind parent if we are a supervisor\n        if ($isSupervisor) {\n            $this->color->bindParent($this, 'color');\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Font\n     */\n    public function getSharedComponent()\n    {\n        return $this->parent->getSharedComponent()->getFont();\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('font' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray(\n     *        array(\n     *            'name'        => 'Arial',\n     *            'bold'        => TRUE,\n     *            'italic'    => FALSE,\n     *            'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE,\n     *            'strike'    => FALSE,\n     *            'color'        => array(\n     *                'rgb' => '808080'\n     *            )\n     *        )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Font\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (array_key_exists('name', $pStyles)) {\n                    $this->setName($pStyles['name']);\n                }\n                if (array_key_exists('bold', $pStyles)) {\n                    $this->setBold($pStyles['bold']);\n                }\n                if (array_key_exists('italic', $pStyles)) {\n                    $this->setItalic($pStyles['italic']);\n                }\n                if (array_key_exists('superScript', $pStyles)) {\n                    $this->setSuperScript($pStyles['superScript']);\n                }\n                if (array_key_exists('subScript', $pStyles)) {\n                    $this->setSubScript($pStyles['subScript']);\n                }\n                if (array_key_exists('underline', $pStyles)) {\n                    $this->setUnderline($pStyles['underline']);\n                }\n                if (array_key_exists('strike', $pStyles)) {\n                    $this->setStrikethrough($pStyles['strike']);\n                }\n                if (array_key_exists('color', $pStyles)) {\n                    $this->getColor()->applyFromArray($pStyles['color']);\n                }\n                if (array_key_exists('size', $pStyles)) {\n                    $this->setSize($pStyles['size']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Name\n     *\n     * @return string\n     */\n    public function getName()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getName();\n        }\n        return $this->name;\n    }\n\n    /**\n     * Set Name\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setName($pValue = 'Calibri')\n    {\n        if ($pValue == '') {\n            $pValue = 'Calibri';\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('name' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->name = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Size\n     *\n     * @return double\n     */\n    public function getSize()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getSize();\n        }\n        return $this->size;\n    }\n\n    /**\n     * Set Size\n     *\n     * @param double $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setSize($pValue = 10)\n    {\n        if ($pValue == '') {\n            $pValue = 10;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('size' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->size = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Bold\n     *\n     * @return boolean\n     */\n    public function getBold()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getBold();\n        }\n        return $this->bold;\n    }\n\n    /**\n     * Set Bold\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setBold($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('bold' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->bold = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Italic\n     *\n     * @return boolean\n     */\n    public function getItalic()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getItalic();\n        }\n        return $this->italic;\n    }\n\n    /**\n     * Set Italic\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setItalic($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('italic' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->italic = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get SuperScript\n     *\n     * @return boolean\n     */\n    public function getSuperScript()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getSuperScript();\n        }\n        return $this->superScript;\n    }\n\n    /**\n     * Set SuperScript\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setSuperScript($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('superScript' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->superScript = $pValue;\n            $this->subScript = !$pValue;\n        }\n        return $this;\n    }\n\n        /**\n     * Get SubScript\n     *\n     * @return boolean\n     */\n    public function getSubScript()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getSubScript();\n        }\n        return $this->subScript;\n    }\n\n    /**\n     * Set SubScript\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setSubScript($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('subScript' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->subScript = $pValue;\n            $this->superScript = !$pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Underline\n     *\n     * @return string\n     */\n    public function getUnderline()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getUnderline();\n        }\n        return $this->underline;\n    }\n\n    /**\n     * Set Underline\n     *\n     * @param string|boolean $pValue    PHPExcel_Style_Font underline type\n     *                                    If a boolean is passed, then TRUE equates to UNDERLINE_SINGLE,\n     *                                        false equates to UNDERLINE_NONE\n     * @return PHPExcel_Style_Font\n     */\n    public function setUnderline($pValue = self::UNDERLINE_NONE)\n    {\n        if (is_bool($pValue)) {\n            $pValue = ($pValue) ? self::UNDERLINE_SINGLE : self::UNDERLINE_NONE;\n        } elseif ($pValue == '') {\n            $pValue = self::UNDERLINE_NONE;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('underline' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->underline = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Strikethrough\n     *\n     * @return boolean\n     */\n    public function getStrikethrough()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getStrikethrough();\n        }\n        return $this->strikethrough;\n    }\n\n    /**\n     * Set Strikethrough\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Style_Font\n     */\n    public function setStrikethrough($pValue = false)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('strike' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->strikethrough = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getColor()\n    {\n        return $this->color;\n    }\n\n    /**\n     * Set Color\n     *\n     * @param    PHPExcel_Style_Color $pValue\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Font\n     */\n    public function setColor(PHPExcel_Style_Color $pValue = null)\n    {\n        // make sure parameter is a real color and not a supervisor\n        $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue;\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getColor()->getStyleArray(array('argb' => $color->getARGB()));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->color = $color;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->name .\n            $this->size .\n            ($this->bold ? 't' : 'f') .\n            ($this->italic ? 't' : 'f') .\n            ($this->superScript ? 't' : 'f') .\n            ($this->subScript ? 't' : 'f') .\n            $this->underline .\n            ($this->strikethrough ? 't' : 'f') .\n            $this->color->getHashCode() .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/NumberFormat.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_NumberFormat\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_NumberFormat extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /* Pre-defined formats */\n    const FORMAT_GENERAL                 = 'General';\n\n    const FORMAT_TEXT                    = '@';\n\n    const FORMAT_NUMBER                  = '0';\n    const FORMAT_NUMBER_00               = '0.00';\n    const FORMAT_NUMBER_COMMA_SEPARATED1 = '#,##0.00';\n    const FORMAT_NUMBER_COMMA_SEPARATED2 = '#,##0.00_-';\n\n    const FORMAT_PERCENTAGE              = '0%';\n    const FORMAT_PERCENTAGE_00           = '0.00%';\n\n    const FORMAT_DATE_YYYYMMDD2          = 'yyyy-mm-dd';\n    const FORMAT_DATE_YYYYMMDD           = 'yy-mm-dd';\n    const FORMAT_DATE_DDMMYYYY           = 'dd/mm/yy';\n    const FORMAT_DATE_DMYSLASH           = 'd/m/y';\n    const FORMAT_DATE_DMYMINUS           = 'd-m-y';\n    const FORMAT_DATE_DMMINUS            = 'd-m';\n    const FORMAT_DATE_MYMINUS            = 'm-y';\n    const FORMAT_DATE_XLSX14             = 'mm-dd-yy';\n    const FORMAT_DATE_XLSX15             = 'd-mmm-yy';\n    const FORMAT_DATE_XLSX16             = 'd-mmm';\n    const FORMAT_DATE_XLSX17             = 'mmm-yy';\n    const FORMAT_DATE_XLSX22             = 'm/d/yy h:mm';\n    const FORMAT_DATE_DATETIME           = 'd/m/y h:mm';\n    const FORMAT_DATE_TIME1              = 'h:mm AM/PM';\n    const FORMAT_DATE_TIME2              = 'h:mm:ss AM/PM';\n    const FORMAT_DATE_TIME3              = 'h:mm';\n    const FORMAT_DATE_TIME4              = 'h:mm:ss';\n    const FORMAT_DATE_TIME5              = 'mm:ss';\n    const FORMAT_DATE_TIME6              = 'h:mm:ss';\n    const FORMAT_DATE_TIME7              = 'i:s.S';\n    const FORMAT_DATE_TIME8              = 'h:mm:ss;@';\n    const FORMAT_DATE_YYYYMMDDSLASH      = 'yy/mm/dd;@';\n\n    const FORMAT_CURRENCY_USD_SIMPLE     = '\"$\"#,##0.00_-';\n    const FORMAT_CURRENCY_USD            = '$#,##0_-';\n    const FORMAT_CURRENCY_EUR_SIMPLE     = '[$EUR ]#,##0.00_-';\n\n    /**\n     * Excel built-in number formats\n     *\n     * @var array\n     */\n    protected static $builtInFormats;\n\n    /**\n     * Excel built-in number formats (flipped, for faster lookups)\n     *\n     * @var array\n     */\n    protected static $flippedBuiltInFormats;\n\n    /**\n     * Format Code\n     *\n     * @var string\n     */\n    protected $formatCode = PHPExcel_Style_NumberFormat::FORMAT_GENERAL;\n\n    /**\n     * Built-in format Code\n     *\n     * @var string\n     */\n    protected $builtInFormatCode    = 0;\n\n    /**\n     * Create a new PHPExcel_Style_NumberFormat\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        if ($isConditional) {\n            $this->formatCode = null;\n            $this->builtInFormatCode = false;\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_NumberFormat\n     */\n    public function getSharedComponent()\n    {\n        return $this->parent->getSharedComponent()->getNumberFormat();\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('numberformat' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray(\n     *        array(\n     *            'code' => PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE\n     *        )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_NumberFormat\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (array_key_exists('code', $pStyles)) {\n                    $this->setFormatCode($pStyles['code']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Format Code\n     *\n     * @return string\n     */\n    public function getFormatCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getFormatCode();\n        }\n        if ($this->builtInFormatCode !== false) {\n            return self::builtInFormatCode($this->builtInFormatCode);\n        }\n        return $this->formatCode;\n    }\n\n    /**\n     * Set Format Code\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_NumberFormat\n     */\n    public function setFormatCode($pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL)\n    {\n        if ($pValue == '') {\n            $pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('code' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->formatCode = $pValue;\n            $this->builtInFormatCode = self::builtInFormatCodeIndex($pValue);\n        }\n        return $this;\n    }\n\n    /**\n     * Get Built-In Format Code\n     *\n     * @return int\n     */\n    public function getBuiltInFormatCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getBuiltInFormatCode();\n        }\n        return $this->builtInFormatCode;\n    }\n\n    /**\n     * Set Built-In Format Code\n     *\n     * @param int $pValue\n     * @return PHPExcel_Style_NumberFormat\n     */\n    public function setBuiltInFormatCode($pValue = 0)\n    {\n\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('code' => self::builtInFormatCode($pValue)));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->builtInFormatCode = $pValue;\n            $this->formatCode = self::builtInFormatCode($pValue);\n        }\n        return $this;\n    }\n\n    /**\n     * Fill built-in format codes\n     */\n    private static function fillBuiltInFormatCodes()\n    {\n        //  [MS-OI29500: Microsoft Office Implementation Information for ISO/IEC-29500 Standard Compliance]\n        //  18.8.30. numFmt (Number Format)\n        //\n        //  The ECMA standard defines built-in format IDs\n        //      14: \"mm-dd-yy\"\n        //      22: \"m/d/yy h:mm\"\n        //      37: \"#,##0 ;(#,##0)\"\n        //      38: \"#,##0 ;[Red](#,##0)\"\n        //      39: \"#,##0.00;(#,##0.00)\"\n        //      40: \"#,##0.00;[Red](#,##0.00)\"\n        //      47: \"mmss.0\"\n        //      KOR fmt 55: \"yyyy-mm-dd\"\n        //  Excel defines built-in format IDs\n        //      14: \"m/d/yyyy\"\n        //      22: \"m/d/yyyy h:mm\"\n        //      37: \"#,##0_);(#,##0)\"\n        //      38: \"#,##0_);[Red](#,##0)\"\n        //      39: \"#,##0.00_);(#,##0.00)\"\n        //      40: \"#,##0.00_);[Red](#,##0.00)\"\n        //      47: \"mm:ss.0\"\n        //      KOR fmt 55: \"yyyy/mm/dd\"\n \n        // Built-in format codes\n        if (is_null(self::$builtInFormats)) {\n            self::$builtInFormats = array();\n\n            // General\n            self::$builtInFormats[0] = PHPExcel_Style_NumberFormat::FORMAT_GENERAL;\n            self::$builtInFormats[1] = '0';\n            self::$builtInFormats[2] = '0.00';\n            self::$builtInFormats[3] = '#,##0';\n            self::$builtInFormats[4] = '#,##0.00';\n\n            self::$builtInFormats[9] = '0%';\n            self::$builtInFormats[10] = '0.00%';\n            self::$builtInFormats[11] = '0.00E+00';\n            self::$builtInFormats[12] = '# ?/?';\n            self::$builtInFormats[13] = '# ??/??';\n            self::$builtInFormats[14] = 'm/d/yyyy';                     // Despite ECMA 'mm-dd-yy';\n            self::$builtInFormats[15] = 'd-mmm-yy';\n            self::$builtInFormats[16] = 'd-mmm';\n            self::$builtInFormats[17] = 'mmm-yy';\n            self::$builtInFormats[18] = 'h:mm AM/PM';\n            self::$builtInFormats[19] = 'h:mm:ss AM/PM';\n            self::$builtInFormats[20] = 'h:mm';\n            self::$builtInFormats[21] = 'h:mm:ss';\n            self::$builtInFormats[22] = 'm/d/yyyy h:mm';                // Despite ECMA 'm/d/yy h:mm';\n\n            self::$builtInFormats[37] = '#,##0_);(#,##0)';              //  Despite ECMA '#,##0 ;(#,##0)';\n            self::$builtInFormats[38] = '#,##0_);[Red](#,##0)';         //  Despite ECMA '#,##0 ;[Red](#,##0)';\n            self::$builtInFormats[39] = '#,##0.00_);(#,##0.00)';        //  Despite ECMA '#,##0.00;(#,##0.00)';\n            self::$builtInFormats[40] = '#,##0.00_);[Red](#,##0.00)';   //  Despite ECMA '#,##0.00;[Red](#,##0.00)';\n\n            self::$builtInFormats[44] = '_(\"$\"* #,##0.00_);_(\"$\"* \\(#,##0.00\\);_(\"$\"* \"-\"??_);_(@_)';\n            self::$builtInFormats[45] = 'mm:ss';\n            self::$builtInFormats[46] = '[h]:mm:ss';\n            self::$builtInFormats[47] = 'mm:ss.0';                      //  Despite ECMA 'mmss.0';\n            self::$builtInFormats[48] = '##0.0E+0';\n            self::$builtInFormats[49] = '@';\n\n            // CHT\n            self::$builtInFormats[27] = '[$-404]e/m/d';\n            self::$builtInFormats[30] = 'm/d/yy';\n            self::$builtInFormats[36] = '[$-404]e/m/d';\n            self::$builtInFormats[50] = '[$-404]e/m/d';\n            self::$builtInFormats[57] = '[$-404]e/m/d';\n\n            // THA\n            self::$builtInFormats[59] = 't0';\n            self::$builtInFormats[60] = 't0.00';\n            self::$builtInFormats[61] = 't#,##0';\n            self::$builtInFormats[62] = 't#,##0.00';\n            self::$builtInFormats[67] = 't0%';\n            self::$builtInFormats[68] = 't0.00%';\n            self::$builtInFormats[69] = 't# ?/?';\n            self::$builtInFormats[70] = 't# ??/??';\n\n            // Flip array (for faster lookups)\n            self::$flippedBuiltInFormats = array_flip(self::$builtInFormats);\n        }\n    }\n\n    /**\n     * Get built-in format code\n     *\n     * @param    int        $pIndex\n     * @return    string\n     */\n    public static function builtInFormatCode($pIndex)\n    {\n        // Clean parameter\n        $pIndex = intval($pIndex);\n\n        // Ensure built-in format codes are available\n        self::fillBuiltInFormatCodes();\n        // Lookup format code\n        if (isset(self::$builtInFormats[$pIndex])) {\n            return self::$builtInFormats[$pIndex];\n        }\n\n        return '';\n    }\n\n    /**\n     * Get built-in format code index\n     *\n     * @param    string        $formatCode\n     * @return    int|boolean\n     */\n    public static function builtInFormatCodeIndex($formatCode)\n    {\n        // Ensure built-in format codes are available\n        self::fillBuiltInFormatCodes();\n\n        // Lookup format code\n        if (isset(self::$flippedBuiltInFormats[$formatCode])) {\n            return self::$flippedBuiltInFormats[$formatCode];\n        }\n\n        return false;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->formatCode .\n            $this->builtInFormatCode .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Search/replace values to convert Excel date/time format masks to PHP format masks\n     *\n     * @var array\n     */\n    private static $dateFormatReplacements = array(\n            // first remove escapes related to non-format characters\n            '\\\\'    => '',\n            //    12-hour suffix\n            'am/pm' => 'A',\n            //    4-digit year\n            'e'     => 'Y',\n            'yyyy'  => 'Y',\n            //    2-digit year\n            'yy'    => 'y',\n            //    first letter of month - no php equivalent\n            'mmmmm' => 'M',\n            //    full month name\n            'mmmm'  => 'F',\n            //    short month name\n            'mmm'   => 'M',\n            //    mm is minutes if time, but can also be month w/leading zero\n            //    so we try to identify times be the inclusion of a : separator in the mask\n            //    It isn't perfect, but the best way I know how\n            ':mm'   => ':i',\n            'mm:'   => 'i:',\n            //    month leading zero\n            'mm'    => 'm',\n            //    month no leading zero\n            'm'     => 'n',\n            //    full day of week name\n            'dddd'  => 'l',\n            //    short day of week name\n            'ddd'   => 'D',\n            //    days leading zero\n            'dd'    => 'd',\n            //    days no leading zero\n            'd'     => 'j',\n            //    seconds\n            'ss'    => 's',\n            //    fractional seconds - no php equivalent\n            '.s'    => ''\n        );\n    /**\n     * Search/replace values to convert Excel date/time format masks hours to PHP format masks (24 hr clock)\n     *\n     * @var array\n     */\n    private static $dateFormatReplacements24 = array(\n            'hh' => 'H',\n            'h'  => 'G'\n        );\n    /**\n     * Search/replace values to convert Excel date/time format masks hours to PHP format masks (12 hr clock)\n     *\n     * @var array\n     */\n    private static $dateFormatReplacements12 = array(\n            'hh' => 'h',\n            'h'  => 'g'\n        );\n\n    private static function setLowercaseCallback($matches) {\n        return mb_strtolower($matches[0]);\n    }\n\n    private static function escapeQuotesCallback($matches) {\n        return '\\\\' . implode('\\\\', str_split($matches[1]));\n    }\n\n    private static function formatAsDate(&$value, &$format)\n    {\n        // strip off first part containing e.g. [$-F800] or [$USD-409]\n        // general syntax: [$<Currency string>-<language info>]\n        // language info is in hexadecimal\n        $format = preg_replace('/^(\\[\\$[A-Z]*-[0-9A-F]*\\])/i', '', $format);\n\n        // OpenOffice.org uses upper-case number formats, e.g. 'YYYY', convert to lower-case;\n        //    but we don't want to change any quoted strings\n        $format = preg_replace_callback('/(?:^|\")([^\"]*)(?:$|\")/', array('self', 'setLowercaseCallback'), $format);\n\n        // Only process the non-quoted blocks for date format characters\n        $blocks = explode('\"', $format);\n        foreach($blocks as $key => &$block) {\n            if ($key % 2 == 0) {\n                $block = strtr($block, self::$dateFormatReplacements);\n                if (!strpos($block, 'A')) {\n                    // 24-hour time format\n                    $block = strtr($block, self::$dateFormatReplacements24);\n                } else {\n                    // 12-hour time format\n                    $block = strtr($block, self::$dateFormatReplacements12);\n                }\n            }\n        }\n        $format = implode('\"', $blocks);\n\n        // escape any quoted characters so that DateTime format() will render them correctly\n        $format = preg_replace_callback('/\"(.*)\"/U', array('self', 'escapeQuotesCallback'), $format);\n\n        $dateObj = PHPExcel_Shared_Date::ExcelToPHPObject($value);\n        $value = $dateObj->format($format);\n    }\n\n    private static function formatAsPercentage(&$value, &$format)\n    {\n        if ($format === self::FORMAT_PERCENTAGE) {\n            $value = round((100 * $value), 0) . '%';\n        } else {\n            if (preg_match('/\\.[#0]+/i', $format, $m)) {\n                $s = substr($m[0], 0, 1) . (strlen($m[0]) - 1);\n                $format = str_replace($m[0], $s, $format);\n            }\n            if (preg_match('/^[#0]+/', $format, $m)) {\n                $format = str_replace($m[0], strlen($m[0]), $format);\n            }\n            $format = '%' . str_replace('%', 'f%%', $format);\n\n            $value = sprintf($format, 100 * $value);\n        }\n    }\n\n    private static function formatAsFraction(&$value, &$format)\n    {\n        $sign = ($value < 0) ? '-' : '';\n\n        $integerPart = floor(abs($value));\n        $decimalPart = trim(fmod(abs($value), 1), '0.');\n        $decimalLength = strlen($decimalPart);\n        $decimalDivisor = pow(10, $decimalLength);\n\n        $GCD = PHPExcel_Calculation_MathTrig::GCD($decimalPart, $decimalDivisor);\n\n        $adjustedDecimalPart = $decimalPart/$GCD;\n        $adjustedDecimalDivisor = $decimalDivisor/$GCD;\n\n        if ((strpos($format, '0') !== false) || (strpos($format, '#') !== false) || (substr($format, 0, 3) == '? ?')) {\n            if ($integerPart == 0) {\n                $integerPart = '';\n            }\n            $value = \"$sign$integerPart $adjustedDecimalPart/$adjustedDecimalDivisor\";\n        } else {\n            $adjustedDecimalPart += $integerPart * $adjustedDecimalDivisor;\n            $value = \"$sign$adjustedDecimalPart/$adjustedDecimalDivisor\";\n        }\n    }\n\n    private static function complexNumberFormatMask($number, $mask, $level = 0)\n    {\n        $sign = ($number < 0.0);\n        $number = abs($number);\n        if (strpos($mask, '.') !== false) {\n            $numbers = explode('.', $number . '.0');\n            $masks = explode('.', $mask . '.0');\n            $result1 = self::complexNumberFormatMask($numbers[0], $masks[0], 1);\n            $result2 = strrev(self::complexNumberFormatMask(strrev($numbers[1]), strrev($masks[1]), 1));\n            return (($sign) ? '-' : '') . $result1 . '.' . $result2;\n        }\n\n        $r = preg_match_all('/0+/', $mask, $result, PREG_OFFSET_CAPTURE);\n        if ($r > 1) {\n            $result = array_reverse($result[0]);\n\n            foreach ($result as $block) {\n                $divisor = 1 . $block[0];\n                $size = strlen($block[0]);\n                $offset = $block[1];\n\n                $blockValue = sprintf(\n                    '%0' . $size . 'd',\n                    fmod($number, $divisor)\n                );\n                $number = floor($number / $divisor);\n                $mask = substr_replace($mask, $blockValue, $offset, $size);\n            }\n            if ($number > 0) {\n                $mask = substr_replace($mask, $number, $offset, 0);\n            }\n            $result = $mask;\n        } else {\n            $result = $number;\n        }\n\n        return (($sign) ? '-' : '') . $result;\n    }\n\n    /**\n     * Convert a value in a pre-defined format to a PHP string\n     *\n     * @param mixed    $value        Value to format\n     * @param string    $format        Format code\n     * @param array        $callBack    Callback function for additional formatting of string\n     * @return string    Formatted string\n     */\n    public static function toFormattedString($value = '0', $format = PHPExcel_Style_NumberFormat::FORMAT_GENERAL, $callBack = null)\n    {\n        // For now we do not treat strings although section 4 of a format code affects strings\n        if (!is_numeric($value)) {\n            return $value;\n        }\n\n        // For 'General' format code, we just pass the value although this is not entirely the way Excel does it,\n        // it seems to round numbers to a total of 10 digits.\n        if (($format === PHPExcel_Style_NumberFormat::FORMAT_GENERAL) || ($format === PHPExcel_Style_NumberFormat::FORMAT_TEXT)) {\n            return $value;\n        }\n\n        // Convert any other escaped characters to quoted strings, e.g. (\\T to \"T\")\n        $format = preg_replace('/(\\\\\\(.))(?=(?:[^\"]|\"[^\"]*\")*$)/u', '\"${2}\"', $format);\n\n        // Get the sections, there can be up to four sections, separated with a semi-colon (but only if not a quoted literal)\n        $sections = preg_split('/(;)(?=(?:[^\"]|\"[^\"]*\")*$)/u', $format);\n\n        // Extract the relevant section depending on whether number is positive, negative, or zero?\n        // Text not supported yet.\n        // Here is how the sections apply to various values in Excel:\n        //   1 section:   [POSITIVE/NEGATIVE/ZERO/TEXT]\n        //   2 sections:  [POSITIVE/ZERO/TEXT] [NEGATIVE]\n        //   3 sections:  [POSITIVE/TEXT] [NEGATIVE] [ZERO]\n        //   4 sections:  [POSITIVE] [NEGATIVE] [ZERO] [TEXT]\n        switch (count($sections)) {\n            case 1:\n                $format = $sections[0];\n                break;\n            case 2:\n                $format = ($value >= 0) ? $sections[0] : $sections[1];\n                $value = abs($value); // Use the absolute value\n                break;\n            case 3:\n                $format = ($value > 0) ?\n                    $sections[0] : ( ($value < 0) ?\n                        $sections[1] : $sections[2]);\n                $value = abs($value); // Use the absolute value\n                break;\n            case 4:\n                $format = ($value > 0) ?\n                    $sections[0] : ( ($value < 0) ?\n                        $sections[1] : $sections[2]);\n                $value = abs($value); // Use the absolute value\n                break;\n            default:\n                // something is wrong, just use first section\n                $format = $sections[0];\n                break;\n        }\n\n        // In Excel formats, \"_\" is used to add spacing,\n        //    The following character indicates the size of the spacing, which we can't do in HTML, so we just use a standard space\n        $format = preg_replace('/_./', ' ', $format);\n\n        // Save format with color information for later use below\n        $formatColor = $format;\n\n        // Strip color information\n        $color_regex = '/^\\\\[[a-zA-Z]+\\\\]/';\n        $format = preg_replace($color_regex, '', $format);\n\n        // Let's begin inspecting the format and converting the value to a formatted string\n\n        //  Check for date/time characters (not inside quotes)\n        if (preg_match('/(\\[\\$[A-Z]*-[0-9A-F]*\\])*[hmsdy](?=(?:[^\"]|\"[^\"]*\")*$)/miu', $format, $matches)) {\n            // datetime format\n            self::formatAsDate($value, $format);\n        } elseif (preg_match('/%$/', $format)) {\n            // % number format\n            self::formatAsPercentage($value, $format);\n        } else {\n            if ($format === self::FORMAT_CURRENCY_EUR_SIMPLE) {\n                $value = 'EUR ' . sprintf('%1.2f', $value);\n            } else {\n                // Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols\n                $format = str_replace(array('\"', '*'), '', $format);\n\n                // Find out if we need thousands separator\n                // This is indicated by a comma enclosed by a digit placeholder:\n                //        #,#   or   0,0\n                $useThousands = preg_match('/(#,#|0,0)/', $format);\n                if ($useThousands) {\n                    $format = preg_replace('/0,0/', '00', $format);\n                    $format = preg_replace('/#,#/', '##', $format);\n                }\n\n                // Scale thousands, millions,...\n                // This is indicated by a number of commas after a digit placeholder:\n                //        #,   or    0.0,,\n                $scale = 1; // same as no scale\n                $matches = array();\n                if (preg_match('/(#|0)(,+)/', $format, $matches)) {\n                    $scale = pow(1000, strlen($matches[2]));\n\n                    // strip the commas\n                    $format = preg_replace('/0,+/', '0', $format);\n                    $format = preg_replace('/#,+/', '#', $format);\n                }\n\n                if (preg_match('/#?.*\\?\\/\\?/', $format, $m)) {\n                    //echo 'Format mask is fractional '.$format.' <br />';\n                    if ($value != (int)$value) {\n                        self::formatAsFraction($value, $format);\n                    }\n\n                } else {\n                    // Handle the number itself\n\n                    // scale number\n                    $value = $value / $scale;\n\n                    // Strip #\n                    $format = preg_replace('/\\\\#/', '0', $format);\n\n                    $n = \"/\\[[^\\]]+\\]/\";\n                    $m = preg_replace($n, '', $format);\n                    $number_regex = \"/(0+)(\\.?)(0*)/\";\n                    if (preg_match($number_regex, $m, $matches)) {\n                        $left = $matches[1];\n                        $dec = $matches[2];\n                        $right = $matches[3];\n\n                        // minimun width of formatted number (including dot)\n                        $minWidth = strlen($left) + strlen($dec) + strlen($right);\n                        if ($useThousands) {\n                            $value = number_format(\n                                $value,\n                                strlen($right),\n                                PHPExcel_Shared_String::getDecimalSeparator(),\n                                PHPExcel_Shared_String::getThousandsSeparator()\n                            );\n                            $value = preg_replace($number_regex, $value, $format);\n                        } else {\n                            if (preg_match('/[0#]E[+-]0/i', $format)) {\n                                //    Scientific format\n                                $value = sprintf('%5.2E', $value);\n                            } elseif (preg_match('/0([^\\d\\.]+)0/', $format)) {\n                                $value = self::complexNumberFormatMask($value, $format);\n                            } else {\n                                $sprintf_pattern = \"%0$minWidth.\" . strlen($right) . \"f\";\n                                $value = sprintf($sprintf_pattern, $value);\n                                $value = preg_replace($number_regex, $value, $format);\n                            }\n                        }\n                    }\n                }\n                if (preg_match('/\\[\\$(.*)\\]/u', $format, $m)) {\n                    //  Currency or Accounting\n                    $currencyFormat = $m[0];\n                    $currencyCode = $m[1];\n                    list($currencyCode) = explode('-', $currencyCode);\n                    if ($currencyCode == '') {\n                        $currencyCode = PHPExcel_Shared_String::getCurrencyCode();\n                    }\n                    $value = preg_replace('/\\[\\$([^\\]]*)\\]/u', $currencyCode, $value);\n                }\n            }\n        }\n\n        // Escape any escaped slashes to a single slash\n        $format = preg_replace(\"/\\\\\\\\/u\", '\\\\', $format);\n\n        // Additional formatting provided by callback function\n        if ($callBack !== null) {\n            list($writerInstance, $function) = $callBack;\n            $value = $writerInstance->$function($value, $formatColor);\n        }\n\n        return $value;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Protection.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Protection\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style_Protection extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /** Protection styles */\n    const PROTECTION_INHERIT      = 'inherit';\n    const PROTECTION_PROTECTED    = 'protected';\n    const PROTECTION_UNPROTECTED  = 'unprotected';\n\n    /**\n     * Locked\n     *\n     * @var string\n     */\n    protected $locked;\n\n    /**\n     * Hidden\n     *\n     * @var string\n     */\n    protected $hidden;\n\n    /**\n     * Create a new PHPExcel_Style_Protection\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     * @param    boolean    $isConditional    Flag indicating if this is a conditional style or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        parent::__construct($isSupervisor);\n\n        // Initialise values\n        if (!$isConditional) {\n            $this->locked = self::PROTECTION_INHERIT;\n            $this->hidden = self::PROTECTION_INHERIT;\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style_Protection\n     */\n    public function getSharedComponent()\n    {\n        return $this->parent->getSharedComponent()->getProtection();\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('protection' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray(\n     *        array(\n     *            'locked' => TRUE,\n     *            'hidden' => FALSE\n     *        )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style_Protection\n     */\n    public function applyFromArray($pStyles = null)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles));\n            } else {\n                if (isset($pStyles['locked'])) {\n                    $this->setLocked($pStyles['locked']);\n                }\n                if (isset($pStyles['hidden'])) {\n                    $this->setHidden($pStyles['hidden']);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get locked\n     *\n     * @return string\n     */\n    public function getLocked()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getLocked();\n        }\n        return $this->locked;\n    }\n\n    /**\n     * Set locked\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_Protection\n     */\n    public function setLocked($pValue = self::PROTECTION_INHERIT)\n    {\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('locked' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->locked = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hidden\n     *\n     * @return string\n     */\n    public function getHidden()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHidden();\n        }\n        return $this->hidden;\n    }\n\n    /**\n     * Set hidden\n     *\n     * @param string $pValue\n     * @return PHPExcel_Style_Protection\n     */\n    public function setHidden($pValue = self::PROTECTION_INHERIT)\n    {\n        if ($this->isSupervisor) {\n            $styleArray = $this->getStyleArray(array('hidden' => $pValue));\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->hidden = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getHashCode();\n        }\n        return md5(\n            $this->locked .\n            $this->hidden .\n            __CLASS__\n        );\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style/Supervisor.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style_Supervisor\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Style_Supervisor\n{\n    /**\n     * Supervisor?\n     *\n     * @var boolean\n     */\n    protected $isSupervisor;\n\n    /**\n     * Parent. Only used for supervisor\n     *\n     * @var PHPExcel_Style\n     */\n    protected $parent;\n\n    /**\n     * Create a new PHPExcel_Style_Alignment\n     *\n     * @param    boolean    $isSupervisor    Flag indicating if this is a supervisor or not\n     *                                    Leave this value at default unless you understand exactly what\n     *                                        its ramifications are\n     */\n    public function __construct($isSupervisor = false)\n    {\n        // Supervisor?\n        $this->isSupervisor = $isSupervisor;\n    }\n\n    /**\n     * Bind parent. Only used for supervisor\n     *\n     * @param PHPExcel $parent\n     * @return PHPExcel_Style_Supervisor\n     */\n    public function bindParent($parent, $parentPropertyName = null)\n    {\n        $this->parent = $parent;\n        return $this;\n    }\n\n    /**\n     * Is this a supervisor or a cell style component?\n     *\n     * @return boolean\n     */\n    public function getIsSupervisor()\n    {\n        return $this->isSupervisor;\n    }\n\n    /**\n     * Get the currently active sheet. Only used for supervisor\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function getActiveSheet()\n    {\n        return $this->parent->getActiveSheet();\n    }\n\n    /**\n     * Get the currently active cell coordinate in currently active sheet.\n     * Only used for supervisor\n     *\n     * @return string E.g. 'A1'\n     */\n    public function getSelectedCells()\n    {\n        return $this->getActiveSheet()->getSelectedCells();\n    }\n\n    /**\n     * Get the currently active cell coordinate in currently active sheet.\n     * Only used for supervisor\n     *\n     * @return string E.g. 'A1'\n     */\n    public function getActiveCell()\n    {\n        return $this->getActiveSheet()->getActiveCell();\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if ((is_object($value)) && ($key != 'parent')) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Style.php",
    "content": "<?php\n\n/**\n * PHPExcel_Style\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Style\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Style extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable\n{\n    /**\n     * Font\n     *\n     * @var PHPExcel_Style_Font\n     */\n    protected $font;\n\n    /**\n     * Fill\n     *\n     * @var PHPExcel_Style_Fill\n     */\n    protected $fill;\n\n    /**\n     * Borders\n     *\n     * @var PHPExcel_Style_Borders\n     */\n    protected $borders;\n\n    /**\n     * Alignment\n     *\n     * @var PHPExcel_Style_Alignment\n     */\n    protected $alignment;\n\n    /**\n     * Number Format\n     *\n     * @var PHPExcel_Style_NumberFormat\n     */\n    protected $numberFormat;\n\n    /**\n     * Conditional styles\n     *\n     * @var PHPExcel_Style_Conditional[]\n     */\n    protected $conditionalStyles;\n\n    /**\n     * Protection\n     *\n     * @var PHPExcel_Style_Protection\n     */\n    protected $protection;\n\n    /**\n     * Index of style in collection. Only used for real style.\n     *\n     * @var int\n     */\n    protected $index;\n\n    /**\n     * Use Quote Prefix when displaying in cell editor. Only used for real style.\n     *\n     * @var boolean\n     */\n    protected $quotePrefix = false;\n\n    /**\n     * Create a new PHPExcel_Style\n     *\n     * @param boolean $isSupervisor Flag indicating if this is a supervisor or not\n     *         Leave this value at default unless you understand exactly what\n     *    its ramifications are\n     * @param boolean $isConditional Flag indicating if this is a conditional style or not\n     *       Leave this value at default unless you understand exactly what\n     *    its ramifications are\n     */\n    public function __construct($isSupervisor = false, $isConditional = false)\n    {\n        // Supervisor?\n        $this->isSupervisor = $isSupervisor;\n\n        // Initialise values\n        $this->conditionalStyles = array();\n        $this->font         = new PHPExcel_Style_Font($isSupervisor, $isConditional);\n        $this->fill         = new PHPExcel_Style_Fill($isSupervisor, $isConditional);\n        $this->borders      = new PHPExcel_Style_Borders($isSupervisor, $isConditional);\n        $this->alignment    = new PHPExcel_Style_Alignment($isSupervisor, $isConditional);\n        $this->numberFormat = new PHPExcel_Style_NumberFormat($isSupervisor, $isConditional);\n        $this->protection   = new PHPExcel_Style_Protection($isSupervisor, $isConditional);\n\n        // bind parent if we are a supervisor\n        if ($isSupervisor) {\n            $this->font->bindParent($this);\n            $this->fill->bindParent($this);\n            $this->borders->bindParent($this);\n            $this->alignment->bindParent($this);\n            $this->numberFormat->bindParent($this);\n            $this->protection->bindParent($this);\n        }\n    }\n\n    /**\n     * Get the shared style component for the currently active cell in currently active sheet.\n     * Only used for style supervisor\n     *\n     * @return PHPExcel_Style\n     */\n    public function getSharedComponent()\n    {\n        $activeSheet = $this->getActiveSheet();\n        $selectedCell = $this->getActiveCell(); // e.g. 'A1'\n\n        if ($activeSheet->cellExists($selectedCell)) {\n            $xfIndex = $activeSheet->getCell($selectedCell)->getXfIndex();\n        } else {\n            $xfIndex = 0;\n        }\n\n        return $this->parent->getCellXfByIndex($xfIndex);\n    }\n\n    /**\n     * Get parent. Only used for style supervisor\n     *\n     * @return PHPExcel\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Build style array from subcomponents\n     *\n     * @param array $array\n     * @return array\n     */\n    public function getStyleArray($array)\n    {\n        return array('quotePrefix' => $array);\n    }\n\n    /**\n     * Apply styles from array\n     *\n     * <code>\n     * $objPHPExcel->getActiveSheet()->getStyle('B2')->applyFromArray(\n     *         array(\n     *             'font'    => array(\n     *                 'name'      => 'Arial',\n     *                 'bold'      => true,\n     *                 'italic'    => false,\n     *                 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE,\n     *                 'strike'    => false,\n     *                 'color'     => array(\n     *                     'rgb' => '808080'\n     *                 )\n     *             ),\n     *             'borders' => array(\n     *                 'bottom'     => array(\n     *                     'style' => PHPExcel_Style_Border::BORDER_DASHDOT,\n     *                     'color' => array(\n     *                         'rgb' => '808080'\n     *                     )\n     *                 ),\n     *                 'top'     => array(\n     *                     'style' => PHPExcel_Style_Border::BORDER_DASHDOT,\n     *                     'color' => array(\n     *                         'rgb' => '808080'\n     *                     )\n     *                 )\n     *             ),\n     *             'quotePrefix'    => true\n     *         )\n     * );\n     * </code>\n     *\n     * @param    array    $pStyles    Array containing style information\n     * @param     boolean        $pAdvanced    Advanced mode for setting borders.\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Style\n     */\n    public function applyFromArray($pStyles = null, $pAdvanced = true)\n    {\n        if (is_array($pStyles)) {\n            if ($this->isSupervisor) {\n                $pRange = $this->getSelectedCells();\n\n                // Uppercase coordinate\n                $pRange = strtoupper($pRange);\n\n                // Is it a cell range or a single cell?\n                if (strpos($pRange, ':') === false) {\n                    $rangeA = $pRange;\n                    $rangeB = $pRange;\n                } else {\n                    list($rangeA, $rangeB) = explode(':', $pRange);\n                }\n\n                // Calculate range outer borders\n                $rangeStart = PHPExcel_Cell::coordinateFromString($rangeA);\n                $rangeEnd   = PHPExcel_Cell::coordinateFromString($rangeB);\n\n                // Translate column into index\n                $rangeStart[0]    = PHPExcel_Cell::columnIndexFromString($rangeStart[0]) - 1;\n                $rangeEnd[0]    = PHPExcel_Cell::columnIndexFromString($rangeEnd[0]) - 1;\n\n                // Make sure we can loop upwards on rows and columns\n                if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) {\n                    $tmp = $rangeStart;\n                    $rangeStart = $rangeEnd;\n                    $rangeEnd = $tmp;\n                }\n\n                // ADVANCED MODE:\n                if ($pAdvanced && isset($pStyles['borders'])) {\n                    // 'allborders' is a shorthand property for 'outline' and 'inside' and\n                    //        it applies to components that have not been set explicitly\n                    if (isset($pStyles['borders']['allborders'])) {\n                        foreach (array('outline', 'inside') as $component) {\n                            if (!isset($pStyles['borders'][$component])) {\n                                $pStyles['borders'][$component] = $pStyles['borders']['allborders'];\n                            }\n                        }\n                        unset($pStyles['borders']['allborders']); // not needed any more\n                    }\n                    // 'outline' is a shorthand property for 'top', 'right', 'bottom', 'left'\n                    //        it applies to components that have not been set explicitly\n                    if (isset($pStyles['borders']['outline'])) {\n                        foreach (array('top', 'right', 'bottom', 'left') as $component) {\n                            if (!isset($pStyles['borders'][$component])) {\n                                $pStyles['borders'][$component] = $pStyles['borders']['outline'];\n                            }\n                        }\n                        unset($pStyles['borders']['outline']); // not needed any more\n                    }\n                    // 'inside' is a shorthand property for 'vertical' and 'horizontal'\n                    //        it applies to components that have not been set explicitly\n                    if (isset($pStyles['borders']['inside'])) {\n                        foreach (array('vertical', 'horizontal') as $component) {\n                            if (!isset($pStyles['borders'][$component])) {\n                                $pStyles['borders'][$component] = $pStyles['borders']['inside'];\n                            }\n                        }\n                        unset($pStyles['borders']['inside']); // not needed any more\n                    }\n                    // width and height characteristics of selection, 1, 2, or 3 (for 3 or more)\n                    $xMax = min($rangeEnd[0] - $rangeStart[0] + 1, 3);\n                    $yMax = min($rangeEnd[1] - $rangeStart[1] + 1, 3);\n\n                    // loop through up to 3 x 3 = 9 regions\n                    for ($x = 1; $x <= $xMax; ++$x) {\n                        // start column index for region\n                        $colStart = ($x == 3) ?\n                            PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0])\n                                : PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] + $x - 1);\n                        // end column index for region\n                        $colEnd = ($x == 1) ?\n                            PHPExcel_Cell::stringFromColumnIndex($rangeStart[0])\n                                : PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0] - $xMax + $x);\n\n                        for ($y = 1; $y <= $yMax; ++$y) {\n                            // which edges are touching the region\n                            $edges = array();\n                            if ($x == 1) {\n                                // are we at left edge\n                                $edges[] = 'left';\n                            }\n                            if ($x == $xMax) {\n                                // are we at right edge\n                                $edges[] = 'right';\n                            }\n                            if ($y == 1) {\n                                // are we at top edge?\n                                $edges[] = 'top';\n                            }\n                            if ($y == $yMax) {\n                                // are we at bottom edge?\n                                $edges[] = 'bottom';\n                            }\n\n                            // start row index for region\n                            $rowStart = ($y == 3) ?\n                                $rangeEnd[1] : $rangeStart[1] + $y - 1;\n\n                            // end row index for region\n                            $rowEnd = ($y == 1) ?\n                                $rangeStart[1] : $rangeEnd[1] - $yMax + $y;\n\n                            // build range for region\n                            $range = $colStart . $rowStart . ':' . $colEnd . $rowEnd;\n\n                            // retrieve relevant style array for region\n                            $regionStyles = $pStyles;\n                            unset($regionStyles['borders']['inside']);\n\n                            // what are the inner edges of the region when looking at the selection\n                            $innerEdges = array_diff(array('top', 'right', 'bottom', 'left'), $edges);\n\n                            // inner edges that are not touching the region should take the 'inside' border properties if they have been set\n                            foreach ($innerEdges as $innerEdge) {\n                                switch ($innerEdge) {\n                                    case 'top':\n                                    case 'bottom':\n                                        // should pick up 'horizontal' border property if set\n                                        if (isset($pStyles['borders']['horizontal'])) {\n                                            $regionStyles['borders'][$innerEdge] = $pStyles['borders']['horizontal'];\n                                        } else {\n                                            unset($regionStyles['borders'][$innerEdge]);\n                                        }\n                                        break;\n                                    case 'left':\n                                    case 'right':\n                                        // should pick up 'vertical' border property if set\n                                        if (isset($pStyles['borders']['vertical'])) {\n                                            $regionStyles['borders'][$innerEdge] = $pStyles['borders']['vertical'];\n                                        } else {\n                                            unset($regionStyles['borders'][$innerEdge]);\n                                        }\n                                        break;\n                                }\n                            }\n\n                            // apply region style to region by calling applyFromArray() in simple mode\n                            $this->getActiveSheet()->getStyle($range)->applyFromArray($regionStyles, false);\n                        }\n                    }\n                    return $this;\n                }\n\n                // SIMPLE MODE:\n                // Selection type, inspect\n                if (preg_match('/^[A-Z]+1:[A-Z]+1048576$/', $pRange)) {\n                    $selectionType = 'COLUMN';\n                } elseif (preg_match('/^A[0-9]+:XFD[0-9]+$/', $pRange)) {\n                    $selectionType = 'ROW';\n                } else {\n                    $selectionType = 'CELL';\n                }\n\n                // First loop through columns, rows, or cells to find out which styles are affected by this operation\n                switch ($selectionType) {\n                    case 'COLUMN':\n                        $oldXfIndexes = array();\n                        for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {\n                            $oldXfIndexes[$this->getActiveSheet()->getColumnDimensionByColumn($col)->getXfIndex()] = true;\n                        }\n                        break;\n                    case 'ROW':\n                        $oldXfIndexes = array();\n                        for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {\n                            if ($this->getActiveSheet()->getRowDimension($row)->getXfIndex() == null) {\n                                $oldXfIndexes[0] = true; // row without explicit style should be formatted based on default style\n                            } else {\n                                $oldXfIndexes[$this->getActiveSheet()->getRowDimension($row)->getXfIndex()] = true;\n                            }\n                        }\n                        break;\n                    case 'CELL':\n                        $oldXfIndexes = array();\n                        for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {\n                            for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {\n                                $oldXfIndexes[$this->getActiveSheet()->getCellByColumnAndRow($col, $row)->getXfIndex()] = true;\n                            }\n                        }\n                        break;\n                }\n\n                // clone each of the affected styles, apply the style array, and add the new styles to the workbook\n                $workbook = $this->getActiveSheet()->getParent();\n                foreach ($oldXfIndexes as $oldXfIndex => $dummy) {\n                    $style = $workbook->getCellXfByIndex($oldXfIndex);\n                    $newStyle = clone $style;\n                    $newStyle->applyFromArray($pStyles);\n\n                    if ($existingStyle = $workbook->getCellXfByHashCode($newStyle->getHashCode())) {\n                        // there is already such cell Xf in our collection\n                        $newXfIndexes[$oldXfIndex] = $existingStyle->getIndex();\n                    } else {\n                        // we don't have such a cell Xf, need to add\n                        $workbook->addCellXf($newStyle);\n                        $newXfIndexes[$oldXfIndex] = $newStyle->getIndex();\n                    }\n                }\n\n                // Loop through columns, rows, or cells again and update the XF index\n                switch ($selectionType) {\n                    case 'COLUMN':\n                        for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {\n                            $columnDimension = $this->getActiveSheet()->getColumnDimensionByColumn($col);\n                            $oldXfIndex = $columnDimension->getXfIndex();\n                            $columnDimension->setXfIndex($newXfIndexes[$oldXfIndex]);\n                        }\n                        break;\n\n                    case 'ROW':\n                        for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {\n                            $rowDimension = $this->getActiveSheet()->getRowDimension($row);\n                            $oldXfIndex = $rowDimension->getXfIndex() === null ?\n                                0 : $rowDimension->getXfIndex(); // row without explicit style should be formatted based on default style\n                            $rowDimension->setXfIndex($newXfIndexes[$oldXfIndex]);\n                        }\n                        break;\n\n                    case 'CELL':\n                        for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {\n                            for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {\n                                $cell = $this->getActiveSheet()->getCellByColumnAndRow($col, $row);\n                                $oldXfIndex = $cell->getXfIndex();\n                                $cell->setXfIndex($newXfIndexes[$oldXfIndex]);\n                            }\n                        }\n                        break;\n                }\n\n            } else {\n                // not a supervisor, just apply the style array directly on style object\n                if (array_key_exists('fill', $pStyles)) {\n                    $this->getFill()->applyFromArray($pStyles['fill']);\n                }\n                if (array_key_exists('font', $pStyles)) {\n                    $this->getFont()->applyFromArray($pStyles['font']);\n                }\n                if (array_key_exists('borders', $pStyles)) {\n                    $this->getBorders()->applyFromArray($pStyles['borders']);\n                }\n                if (array_key_exists('alignment', $pStyles)) {\n                    $this->getAlignment()->applyFromArray($pStyles['alignment']);\n                }\n                if (array_key_exists('numberformat', $pStyles)) {\n                    $this->getNumberFormat()->applyFromArray($pStyles['numberformat']);\n                }\n                if (array_key_exists('protection', $pStyles)) {\n                    $this->getProtection()->applyFromArray($pStyles['protection']);\n                }\n                if (array_key_exists('quotePrefix', $pStyles)) {\n                    $this->quotePrefix = $pStyles['quotePrefix'];\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Invalid style array passed.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Fill\n     *\n     * @return PHPExcel_Style_Fill\n     */\n    public function getFill()\n    {\n        return $this->fill;\n    }\n\n    /**\n     * Get Font\n     *\n     * @return PHPExcel_Style_Font\n     */\n    public function getFont()\n    {\n        return $this->font;\n    }\n\n    /**\n     * Set font\n     *\n     * @param PHPExcel_Style_Font $font\n     * @return PHPExcel_Style\n     */\n    public function setFont(PHPExcel_Style_Font $font)\n    {\n        $this->font = $font;\n        return $this;\n    }\n\n    /**\n     * Get Borders\n     *\n     * @return PHPExcel_Style_Borders\n     */\n    public function getBorders()\n    {\n        return $this->borders;\n    }\n\n    /**\n     * Get Alignment\n     *\n     * @return PHPExcel_Style_Alignment\n     */\n    public function getAlignment()\n    {\n        return $this->alignment;\n    }\n\n    /**\n     * Get Number Format\n     *\n     * @return PHPExcel_Style_NumberFormat\n     */\n    public function getNumberFormat()\n    {\n        return $this->numberFormat;\n    }\n\n    /**\n     * Get Conditional Styles. Only used on supervisor.\n     *\n     * @return PHPExcel_Style_Conditional[]\n     */\n    public function getConditionalStyles()\n    {\n        return $this->getActiveSheet()->getConditionalStyles($this->getActiveCell());\n    }\n\n    /**\n     * Set Conditional Styles. Only used on supervisor.\n     *\n     * @param PHPExcel_Style_Conditional[] $pValue Array of condtional styles\n     * @return PHPExcel_Style\n     */\n    public function setConditionalStyles($pValue = null)\n    {\n        if (is_array($pValue)) {\n            $this->getActiveSheet()->setConditionalStyles($this->getSelectedCells(), $pValue);\n        }\n        return $this;\n    }\n\n    /**\n     * Get Protection\n     *\n     * @return PHPExcel_Style_Protection\n     */\n    public function getProtection()\n    {\n        return $this->protection;\n    }\n\n    /**\n     * Get quote prefix\n     *\n     * @return boolean\n     */\n    public function getQuotePrefix()\n    {\n        if ($this->isSupervisor) {\n            return $this->getSharedComponent()->getQuotePrefix();\n        }\n        return $this->quotePrefix;\n    }\n\n    /**\n     * Set quote prefix\n     *\n     * @param boolean $pValue\n     */\n    public function setQuotePrefix($pValue)\n    {\n        if ($pValue == '') {\n            $pValue = false;\n        }\n        if ($this->isSupervisor) {\n            $styleArray = array('quotePrefix' => $pValue);\n            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);\n        } else {\n            $this->quotePrefix = (boolean) $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string Hash code\n     */\n    public function getHashCode()\n    {\n        $hashConditionals = '';\n        foreach ($this->conditionalStyles as $conditional) {\n            $hashConditionals .= $conditional->getHashCode();\n        }\n\n        return md5(\n            $this->fill->getHashCode() .\n            $this->font->getHashCode() .\n            $this->borders->getHashCode() .\n            $this->alignment->getHashCode() .\n            $this->numberFormat->getHashCode() .\n            $hashConditionals .\n            $this->protection->getHashCode() .\n            ($this->quotePrefix  ? 't' : 'f') .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Get own index in style collection\n     *\n     * @return int\n     */\n    public function getIndex()\n    {\n        return $this->index;\n    }\n\n    /**\n     * Set own index in style collection\n     *\n     * @param int $pValue\n     */\n    public function setIndex($pValue)\n    {\n        $this->index = $pValue;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/AutoFilter/Column/Rule.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_AutoFilter_Column_Rule\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Worksheet\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_AutoFilter_Column_Rule\n{\n    const AUTOFILTER_RULETYPE_FILTER        = 'filter';\n    const AUTOFILTER_RULETYPE_DATEGROUP     = 'dateGroupItem';\n    const AUTOFILTER_RULETYPE_CUSTOMFILTER  = 'customFilter';\n    const AUTOFILTER_RULETYPE_DYNAMICFILTER = 'dynamicFilter';\n    const AUTOFILTER_RULETYPE_TOPTENFILTER  = 'top10Filter';\n\n    private static $ruleTypes = array(\n        //    Currently we're not handling\n        //        colorFilter\n        //        extLst\n        //        iconFilter\n        self::AUTOFILTER_RULETYPE_FILTER,\n        self::AUTOFILTER_RULETYPE_DATEGROUP,\n        self::AUTOFILTER_RULETYPE_CUSTOMFILTER,\n        self::AUTOFILTER_RULETYPE_DYNAMICFILTER,\n        self::AUTOFILTER_RULETYPE_TOPTENFILTER,\n    );\n\n    const AUTOFILTER_RULETYPE_DATEGROUP_YEAR   = 'year';\n    const AUTOFILTER_RULETYPE_DATEGROUP_MONTH  = 'month';\n    const AUTOFILTER_RULETYPE_DATEGROUP_DAY    = 'day';\n    const AUTOFILTER_RULETYPE_DATEGROUP_HOUR   = 'hour';\n    const AUTOFILTER_RULETYPE_DATEGROUP_MINUTE = 'minute';\n    const AUTOFILTER_RULETYPE_DATEGROUP_SECOND = 'second';\n\n    private static $dateTimeGroups = array(\n        self::AUTOFILTER_RULETYPE_DATEGROUP_YEAR,\n        self::AUTOFILTER_RULETYPE_DATEGROUP_MONTH,\n        self::AUTOFILTER_RULETYPE_DATEGROUP_DAY,\n        self::AUTOFILTER_RULETYPE_DATEGROUP_HOUR,\n        self::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE,\n        self::AUTOFILTER_RULETYPE_DATEGROUP_SECOND,\n    );\n\n    const AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY    = 'yesterday';\n    const AUTOFILTER_RULETYPE_DYNAMIC_TODAY        = 'today';\n    const AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW     = 'tomorrow';\n    const AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE   = 'yearToDate';\n    const AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR     = 'thisYear';\n    const AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER  = 'thisQuarter';\n    const AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH    = 'thisMonth';\n    const AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK     = 'thisWeek';\n    const AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR     = 'lastYear';\n    const AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER  = 'lastQuarter';\n    const AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH    = 'lastMonth';\n    const AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK     = 'lastWeek';\n    const AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR     = 'nextYear';\n    const AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER  = 'nextQuarter';\n    const AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH    = 'nextMonth';\n    const AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK     = 'nextWeek';\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1      = 'M1';\n    const AUTOFILTER_RULETYPE_DYNAMIC_JANUARY      = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2      = 'M2';\n    const AUTOFILTER_RULETYPE_DYNAMIC_FEBRUARY     = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3      = 'M3';\n    const AUTOFILTER_RULETYPE_DYNAMIC_MARCH        = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4      = 'M4';\n    const AUTOFILTER_RULETYPE_DYNAMIC_APRIL        = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5      = 'M5';\n    const AUTOFILTER_RULETYPE_DYNAMIC_MAY          = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6      = 'M6';\n    const AUTOFILTER_RULETYPE_DYNAMIC_JUNE         = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7      = 'M7';\n    const AUTOFILTER_RULETYPE_DYNAMIC_JULY         = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8      = 'M8';\n    const AUTOFILTER_RULETYPE_DYNAMIC_AUGUST       = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9      = 'M9';\n    const AUTOFILTER_RULETYPE_DYNAMIC_SEPTEMBER    = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10     = 'M10';\n    const AUTOFILTER_RULETYPE_DYNAMIC_OCTOBER      = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11     = 'M11';\n    const AUTOFILTER_RULETYPE_DYNAMIC_NOVEMBER     = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11;\n    const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12     = 'M12';\n    const AUTOFILTER_RULETYPE_DYNAMIC_DECEMBER     = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12;\n    const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1    = 'Q1';\n    const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2    = 'Q2';\n    const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3    = 'Q3';\n    const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4    = 'Q4';\n    const AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE = 'aboveAverage';\n    const AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE = 'belowAverage';\n\n    private static $dynamicTypes = array(\n        self::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_TODAY,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE,\n        self::AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE,\n    );\n\n    /*\n     *    The only valid filter rule operators for filter and customFilter types are:\n     *        <xsd:enumeration value=\"equal\"/>\n     *        <xsd:enumeration value=\"lessThan\"/>\n     *        <xsd:enumeration value=\"lessThanOrEqual\"/>\n     *        <xsd:enumeration value=\"notEqual\"/>\n     *        <xsd:enumeration value=\"greaterThanOrEqual\"/>\n     *        <xsd:enumeration value=\"greaterThan\"/>\n     */\n    const AUTOFILTER_COLUMN_RULE_EQUAL              = 'equal';\n    const AUTOFILTER_COLUMN_RULE_NOTEQUAL           = 'notEqual';\n    const AUTOFILTER_COLUMN_RULE_GREATERTHAN        = 'greaterThan';\n    const AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL = 'greaterThanOrEqual';\n    const AUTOFILTER_COLUMN_RULE_LESSTHAN           = 'lessThan';\n    const AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL    = 'lessThanOrEqual';\n\n    private static $operators = array(\n        self::AUTOFILTER_COLUMN_RULE_EQUAL,\n        self::AUTOFILTER_COLUMN_RULE_NOTEQUAL,\n        self::AUTOFILTER_COLUMN_RULE_GREATERTHAN,\n        self::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL,\n        self::AUTOFILTER_COLUMN_RULE_LESSTHAN,\n        self::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL,\n    );\n\n    const AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE = 'byValue';\n    const AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT  = 'byPercent';\n\n    private static $topTenValue = array(\n        self::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE,\n        self::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT,\n    );\n\n    const AUTOFILTER_COLUMN_RULE_TOPTEN_TOP    = 'top';\n    const AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM = 'bottom';\n\n    private static $topTenType = array(\n        self::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP,\n        self::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM,\n    );\n\n\n    /* Rule Operators (Numeric, Boolean etc) */\n//    const AUTOFILTER_COLUMN_RULE_BETWEEN            = 'between';        //    greaterThanOrEqual 1 && lessThanOrEqual 2\n    /* Rule Operators (Numeric Special) which are translated to standard numeric operators with calculated values */\n//    const AUTOFILTER_COLUMN_RULE_TOPTEN                = 'topTen';            //    greaterThan calculated value\n//    const AUTOFILTER_COLUMN_RULE_TOPTENPERCENT        = 'topTenPercent';    //    greaterThan calculated value\n//    const AUTOFILTER_COLUMN_RULE_ABOVEAVERAGE        = 'aboveAverage';    //    Value is calculated as the average\n//    const AUTOFILTER_COLUMN_RULE_BELOWAVERAGE        = 'belowAverage';    //    Value is calculated as the average\n    /* Rule Operators (String) which are set as wild-carded values */\n//    const AUTOFILTER_COLUMN_RULE_BEGINSWITH            = 'beginsWith';            // A*\n//    const AUTOFILTER_COLUMN_RULE_ENDSWITH            = 'endsWith';            // *Z\n//    const AUTOFILTER_COLUMN_RULE_CONTAINS            = 'contains';            // *B*\n//    const AUTOFILTER_COLUMN_RULE_DOESNTCONTAIN        = 'notEqual';            //    notEqual *B*\n    /* Rule Operators (Date Special) which are translated to standard numeric operators with calculated values */\n//    const AUTOFILTER_COLUMN_RULE_BEFORE                = 'lessThan';\n//    const AUTOFILTER_COLUMN_RULE_AFTER                = 'greaterThan';\n//    const AUTOFILTER_COLUMN_RULE_YESTERDAY            = 'yesterday';\n//    const AUTOFILTER_COLUMN_RULE_TODAY                = 'today';\n//    const AUTOFILTER_COLUMN_RULE_TOMORROW            = 'tomorrow';\n//    const AUTOFILTER_COLUMN_RULE_LASTWEEK            = 'lastWeek';\n//    const AUTOFILTER_COLUMN_RULE_THISWEEK            = 'thisWeek';\n//    const AUTOFILTER_COLUMN_RULE_NEXTWEEK            = 'nextWeek';\n//    const AUTOFILTER_COLUMN_RULE_LASTMONTH            = 'lastMonth';\n//    const AUTOFILTER_COLUMN_RULE_THISMONTH            = 'thisMonth';\n//    const AUTOFILTER_COLUMN_RULE_NEXTMONTH            = 'nextMonth';\n//    const AUTOFILTER_COLUMN_RULE_LASTQUARTER        = 'lastQuarter';\n//    const AUTOFILTER_COLUMN_RULE_THISQUARTER        = 'thisQuarter';\n//    const AUTOFILTER_COLUMN_RULE_NEXTQUARTER        = 'nextQuarter';\n//    const AUTOFILTER_COLUMN_RULE_LASTYEAR            = 'lastYear';\n//    const AUTOFILTER_COLUMN_RULE_THISYEAR            = 'thisYear';\n//    const AUTOFILTER_COLUMN_RULE_NEXTYEAR            = 'nextYear';\n//    const AUTOFILTER_COLUMN_RULE_YEARTODATE            = 'yearToDate';            //    <dynamicFilter val=\"40909\" type=\"yearToDate\" maxVal=\"41113\"/>\n//    const AUTOFILTER_COLUMN_RULE_ALLDATESINMONTH    = 'allDatesInMonth';    //    <dynamicFilter type=\"M2\"/> for Month/February\n//    const AUTOFILTER_COLUMN_RULE_ALLDATESINQUARTER    = 'allDatesInQuarter';    //    <dynamicFilter type=\"Q2\"/> for Quarter 2\n\n    /**\n     * Autofilter Column\n     *\n     * @var PHPExcel_Worksheet_AutoFilter_Column\n     */\n    private $parent = null;\n\n\n    /**\n     * Autofilter Rule Type\n     *\n     * @var string\n     */\n    private $ruleType = self::AUTOFILTER_RULETYPE_FILTER;\n\n\n    /**\n     * Autofilter Rule Value\n     *\n     * @var string\n     */\n    private $value = '';\n\n    /**\n     * Autofilter Rule Operator\n     *\n     * @var string\n     */\n    private $operator = self::AUTOFILTER_COLUMN_RULE_EQUAL;\n\n    /**\n     * DateTimeGrouping Group Value\n     *\n     * @var string\n     */\n    private $grouping = '';\n\n\n    /**\n     * Create a new PHPExcel_Worksheet_AutoFilter_Column_Rule\n     *\n     * @param PHPExcel_Worksheet_AutoFilter_Column $pParent\n     */\n    public function __construct(PHPExcel_Worksheet_AutoFilter_Column $pParent = null)\n    {\n        $this->parent = $pParent;\n    }\n\n    /**\n     * Get AutoFilter Rule Type\n     *\n     * @return string\n     */\n    public function getRuleType()\n    {\n        return $this->ruleType;\n    }\n\n    /**\n     *    Set AutoFilter Rule Type\n     *\n     *    @param    string        $pRuleType\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setRuleType($pRuleType = self::AUTOFILTER_RULETYPE_FILTER)\n    {\n        if (!in_array($pRuleType, self::$ruleTypes)) {\n            throw new PHPExcel_Exception('Invalid rule type for column AutoFilter Rule.');\n        }\n\n        $this->ruleType = $pRuleType;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Rule Value\n     *\n     * @return string\n     */\n    public function getValue()\n    {\n        return $this->value;\n    }\n\n    /**\n     *    Set AutoFilter Rule Value\n     *\n     *    @param    string|string[]        $pValue\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function setValue($pValue = '')\n    {\n        if (is_array($pValue)) {\n            $grouping = -1;\n            foreach ($pValue as $key => $value) {\n                //    Validate array entries\n                if (!in_array($key, self::$dateTimeGroups)) {\n                    //    Remove any invalid entries from the value array\n                    unset($pValue[$key]);\n                } else {\n                    //    Work out what the dateTime grouping will be\n                    $grouping = max($grouping, array_search($key, self::$dateTimeGroups));\n                }\n            }\n            if (count($pValue) == 0) {\n                throw new PHPExcel_Exception('Invalid rule value for column AutoFilter Rule.');\n            }\n            //    Set the dateTime grouping that we've anticipated\n            $this->setGrouping(self::$dateTimeGroups[$grouping]);\n        }\n        $this->value = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Rule Operator\n     *\n     * @return string\n     */\n    public function getOperator()\n    {\n        return $this->operator;\n    }\n\n    /**\n     *    Set AutoFilter Rule Operator\n     *\n     *    @param    string        $pOperator\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function setOperator($pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL)\n    {\n        if (empty($pOperator)) {\n            $pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL;\n        }\n        if ((!in_array($pOperator, self::$operators)) &&\n            (!in_array($pOperator, self::$topTenValue))) {\n            throw new PHPExcel_Exception('Invalid operator for column AutoFilter Rule.');\n        }\n        $this->operator = $pOperator;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Rule Grouping\n     *\n     * @return string\n     */\n    public function getGrouping()\n    {\n        return $this->grouping;\n    }\n\n    /**\n     *    Set AutoFilter Rule Grouping\n     *\n     *    @param    string        $pGrouping\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function setGrouping($pGrouping = null)\n    {\n        if (($pGrouping !== null) &&\n            (!in_array($pGrouping, self::$dateTimeGroups)) &&\n            (!in_array($pGrouping, self::$dynamicTypes)) &&\n            (!in_array($pGrouping, self::$topTenType))) {\n            throw new PHPExcel_Exception('Invalid rule type for column AutoFilter Rule.');\n        }\n        $this->grouping = $pGrouping;\n\n        return $this;\n    }\n\n    /**\n     *    Set AutoFilter Rule\n     *\n     *    @param    string                $pOperator\n     *    @param    string|string[]        $pValue\n     *    @param    string                $pGrouping\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function setRule($pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL, $pValue = '', $pGrouping = null)\n    {\n        $this->setOperator($pOperator);\n        $this->setValue($pValue);\n        //    Only set grouping if it's been passed in as a user-supplied argument,\n        //        otherwise we're calculating it when we setValue() and don't want to overwrite that\n        //        If the user supplies an argumnet for grouping, then on their own head be it\n        if ($pGrouping !== null) {\n            $this->setGrouping($pGrouping);\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get this Rule's AutoFilter Column Parent\n     *\n     * @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Set this Rule's AutoFilter Column Parent\n     *\n     * @param PHPExcel_Worksheet_AutoFilter_Column\n     * @return PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function setParent(PHPExcel_Worksheet_AutoFilter_Column $pParent = null)\n    {\n        $this->parent = $pParent;\n\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                if ($key == 'parent') {\n                    //    Detach from autofilter column parent\n                    $this->$key = null;\n                } else {\n                    $this->$key = clone $value;\n                }\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/AutoFilter/Column.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_AutoFilter_Column\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category    PHPExcel\n * @package        PHPExcel_Worksheet\n * @copyright    Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license        http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version        ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_AutoFilter_Column\n{\n    const AUTOFILTER_FILTERTYPE_FILTER         = 'filters';\n    const AUTOFILTER_FILTERTYPE_CUSTOMFILTER   = 'customFilters';\n    //    Supports no more than 2 rules, with an And/Or join criteria\n    //        if more than 1 rule is defined\n    const AUTOFILTER_FILTERTYPE_DYNAMICFILTER  = 'dynamicFilter';\n    //    Even though the filter rule is constant, the filtered data can vary\n    //        e.g. filtered by date = TODAY\n    const AUTOFILTER_FILTERTYPE_TOPTENFILTER   = 'top10';\n\n    /**\n     * Types of autofilter rules\n     *\n     * @var string[]\n     */\n    private static $filterTypes = array(\n        //    Currently we're not handling\n        //        colorFilter\n        //        extLst\n        //        iconFilter\n        self::AUTOFILTER_FILTERTYPE_FILTER,\n        self::AUTOFILTER_FILTERTYPE_CUSTOMFILTER,\n        self::AUTOFILTER_FILTERTYPE_DYNAMICFILTER,\n        self::AUTOFILTER_FILTERTYPE_TOPTENFILTER,\n    );\n\n    /* Multiple Rule Connections */\n    const AUTOFILTER_COLUMN_JOIN_AND = 'and';\n    const AUTOFILTER_COLUMN_JOIN_OR  = 'or';\n\n    /**\n     * Join options for autofilter rules\n     *\n     * @var string[]\n     */\n    private static $ruleJoins = array(\n        self::AUTOFILTER_COLUMN_JOIN_AND,\n        self::AUTOFILTER_COLUMN_JOIN_OR,\n    );\n\n    /**\n     * Autofilter\n     *\n     * @var PHPExcel_Worksheet_AutoFilter\n     */\n    private $parent;\n\n\n    /**\n     * Autofilter Column Index\n     *\n     * @var string\n     */\n    private $columnIndex = '';\n\n\n    /**\n     * Autofilter Column Filter Type\n     *\n     * @var string\n     */\n    private $filterType = self::AUTOFILTER_FILTERTYPE_FILTER;\n\n\n    /**\n     * Autofilter Multiple Rules And/Or\n     *\n     * @var string\n     */\n    private $join = self::AUTOFILTER_COLUMN_JOIN_OR;\n\n\n    /**\n     * Autofilter Column Rules\n     *\n     * @var array of PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    private $ruleset = array();\n\n\n    /**\n     * Autofilter Column Dynamic Attributes\n     *\n     * @var array of mixed\n     */\n    private $attributes = array();\n\n\n    /**\n     * Create a new PHPExcel_Worksheet_AutoFilter_Column\n     *\n     *    @param    string                           $pColumn        Column (e.g. A)\n     *    @param    PHPExcel_Worksheet_AutoFilter  $pParent        Autofilter for this column\n     */\n    public function __construct($pColumn, PHPExcel_Worksheet_AutoFilter $pParent = null)\n    {\n        $this->columnIndex = $pColumn;\n        $this->parent = $pParent;\n    }\n\n    /**\n     * Get AutoFilter Column Index\n     *\n     * @return string\n     */\n    public function getColumnIndex()\n    {\n        return $this->columnIndex;\n    }\n\n    /**\n     *    Set AutoFilter Column Index\n     *\n     *    @param    string        $pColumn        Column (e.g. A)\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setColumnIndex($pColumn)\n    {\n        // Uppercase coordinate\n        $pColumn = strtoupper($pColumn);\n        if ($this->parent !== null) {\n            $this->parent->testColumnInRange($pColumn);\n        }\n\n        $this->columnIndex = $pColumn;\n\n        return $this;\n    }\n\n    /**\n     * Get this Column's AutoFilter Parent\n     *\n     * @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Set this Column's AutoFilter Parent\n     *\n     * @param PHPExcel_Worksheet_AutoFilter\n     * @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setParent(PHPExcel_Worksheet_AutoFilter $pParent = null)\n    {\n        $this->parent = $pParent;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Type\n     *\n     * @return string\n     */\n    public function getFilterType()\n    {\n        return $this->filterType;\n    }\n\n    /**\n     *    Set AutoFilter Type\n     *\n     *    @param    string        $pFilterType\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setFilterType($pFilterType = self::AUTOFILTER_FILTERTYPE_FILTER)\n    {\n        if (!in_array($pFilterType, self::$filterTypes)) {\n            throw new PHPExcel_Exception('Invalid filter type for column AutoFilter.');\n        }\n\n        $this->filterType = $pFilterType;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Multiple Rules And/Or Join\n     *\n     * @return string\n     */\n    public function getJoin()\n    {\n        return $this->join;\n    }\n\n    /**\n     *    Set AutoFilter Multiple Rules And/Or\n     *\n     *    @param    string        $pJoin        And/Or\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setJoin($pJoin = self::AUTOFILTER_COLUMN_JOIN_OR)\n    {\n        // Lowercase And/Or\n        $pJoin = strtolower($pJoin);\n        if (!in_array($pJoin, self::$ruleJoins)) {\n            throw new PHPExcel_Exception('Invalid rule connection for column AutoFilter.');\n        }\n\n        $this->join = $pJoin;\n\n        return $this;\n    }\n\n    /**\n     *    Set AutoFilter Attributes\n     *\n     *    @param    string[]        $pAttributes\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setAttributes($pAttributes = array())\n    {\n        $this->attributes = $pAttributes;\n\n        return $this;\n    }\n\n    /**\n     *    Set An AutoFilter Attribute\n     *\n     *    @param    string        $pName        Attribute Name\n     *    @param    string        $pValue        Attribute Value\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function setAttribute($pName, $pValue)\n    {\n        $this->attributes[$pName] = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Column Attributes\n     *\n     * @return string\n     */\n    public function getAttributes()\n    {\n        return $this->attributes;\n    }\n\n    /**\n     * Get specific AutoFilter Column Attribute\n     *\n     *    @param    string        $pName        Attribute Name\n     * @return string\n     */\n    public function getAttribute($pName)\n    {\n        if (isset($this->attributes[$pName])) {\n            return $this->attributes[$pName];\n        }\n        return null;\n    }\n\n    /**\n     * Get all AutoFilter Column Rules\n     *\n     * @throws    PHPExcel_Exception\n     * @return array of PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function getRules()\n    {\n        return $this->ruleset;\n    }\n\n    /**\n     * Get a specified AutoFilter Column Rule\n     *\n     * @param    integer    $pIndex        Rule index in the ruleset array\n     * @return    PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function getRule($pIndex)\n    {\n        if (!isset($this->ruleset[$pIndex])) {\n            $this->ruleset[$pIndex] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this);\n        }\n        return $this->ruleset[$pIndex];\n    }\n\n    /**\n     * Create a new AutoFilter Column Rule in the ruleset\n     *\n     * @return    PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function createRule()\n    {\n        $this->ruleset[] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this);\n\n        return end($this->ruleset);\n    }\n\n    /**\n     * Add a new AutoFilter Column Rule to the ruleset\n     *\n     * @param    PHPExcel_Worksheet_AutoFilter_Column_Rule    $pRule\n     * @param    boolean    $returnRule     Flag indicating whether the rule object or the column object should be returned\n     * @return    PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule\n     */\n    public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule = true)\n    {\n        $pRule->setParent($this);\n        $this->ruleset[] = $pRule;\n\n        return ($returnRule) ? $pRule : $this;\n    }\n\n    /**\n     * Delete a specified AutoFilter Column Rule\n     *    If the number of rules is reduced to 1, then we reset And/Or logic to Or\n     *\n     * @param    integer    $pIndex        Rule index in the ruleset array\n     * @return    PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function deleteRule($pIndex)\n    {\n        if (isset($this->ruleset[$pIndex])) {\n            unset($this->ruleset[$pIndex]);\n            //    If we've just deleted down to a single rule, then reset And/Or joining to Or\n            if (count($this->ruleset) <= 1) {\n                $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR);\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Delete all AutoFilter Column Rules\n     *\n     * @return    PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function clearRules()\n    {\n        $this->ruleset = array();\n        $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR);\n\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                if ($key == 'parent') {\n                    //    Detach from autofilter parent\n                    $this->$key = null;\n                } else {\n                    $this->$key = clone $value;\n                }\n            } elseif ((is_array($value)) && ($key == 'ruleset')) {\n                //    The columns array of PHPExcel_Worksheet_AutoFilter objects\n                $this->$key = array();\n                foreach ($value as $k => $v) {\n                    $this->$key[$k] = clone $v;\n                    // attach the new cloned Rule to this new cloned Autofilter Cloned object\n                    $this->$key[$k]->setParent($this);\n                }\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/AutoFilter.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_AutoFilter\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_AutoFilter\n{\n    /**\n     * Autofilter Worksheet\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $workSheet;\n\n\n    /**\n     * Autofilter Range\n     *\n     * @var string\n     */\n    private $range = '';\n\n\n    /**\n     * Autofilter Column Ruleset\n     *\n     * @var array of PHPExcel_Worksheet_AutoFilter_Column\n     */\n    private $columns = array();\n\n\n    /**\n     * Create a new PHPExcel_Worksheet_AutoFilter\n     *\n     *    @param    string        $pRange        Cell range (i.e. A1:E10)\n     * @param PHPExcel_Worksheet $pSheet\n     */\n    public function __construct($pRange = '', PHPExcel_Worksheet $pSheet = null)\n    {\n        $this->range = $pRange;\n        $this->workSheet = $pSheet;\n    }\n\n    /**\n     * Get AutoFilter Parent Worksheet\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function getParent()\n    {\n        return $this->workSheet;\n    }\n\n    /**\n     * Set AutoFilter Parent Worksheet\n     *\n     * @param PHPExcel_Worksheet $pSheet\n     * @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function setParent(PHPExcel_Worksheet $pSheet = null)\n    {\n        $this->workSheet = $pSheet;\n\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter Range\n     *\n     * @return string\n     */\n    public function getRange()\n    {\n        return $this->range;\n    }\n\n    /**\n     *    Set AutoFilter Range\n     *\n     *    @param    string        $pRange        Cell range (i.e. A1:E10)\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function setRange($pRange = '')\n    {\n        // Uppercase coordinate\n        $cellAddress = explode('!', strtoupper($pRange));\n        if (count($cellAddress) > 1) {\n            list($worksheet, $pRange) = $cellAddress;\n        }\n\n        if (strpos($pRange, ':') !== false) {\n            $this->range = $pRange;\n        } elseif (empty($pRange)) {\n            $this->range = '';\n        } else {\n            throw new PHPExcel_Exception('Autofilter must be set on a range of cells.');\n        }\n\n        if (empty($pRange)) {\n            //    Discard all column rules\n            $this->columns = array();\n        } else {\n            //    Discard any column rules that are no longer valid within this range\n            list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->range);\n            foreach ($this->columns as $key => $value) {\n                $colIndex = PHPExcel_Cell::columnIndexFromString($key);\n                if (($rangeStart[0] > $colIndex) || ($rangeEnd[0] < $colIndex)) {\n                    unset($this->columns[$key]);\n                }\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get all AutoFilter Columns\n     *\n     * @throws    PHPExcel_Exception\n     * @return array of PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function getColumns()\n    {\n        return $this->columns;\n    }\n\n    /**\n     * Validate that the specified column is in the AutoFilter range\n     *\n     * @param    string    $column            Column name (e.g. A)\n     * @throws    PHPExcel_Exception\n     * @return    integer    The column offset within the autofilter range\n     */\n    public function testColumnInRange($column)\n    {\n        if (empty($this->range)) {\n            throw new PHPExcel_Exception(\"No autofilter range is defined.\");\n        }\n\n        $columnIndex = PHPExcel_Cell::columnIndexFromString($column);\n        list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->range);\n        if (($rangeStart[0] > $columnIndex) || ($rangeEnd[0] < $columnIndex)) {\n            throw new PHPExcel_Exception(\"Column is outside of current autofilter range.\");\n        }\n\n        return $columnIndex - $rangeStart[0];\n    }\n\n    /**\n     * Get a specified AutoFilter Column Offset within the defined AutoFilter range\n     *\n     * @param    string    $pColumn        Column name (e.g. A)\n     * @throws    PHPExcel_Exception\n     * @return integer    The offset of the specified column within the autofilter range\n     */\n    public function getColumnOffset($pColumn)\n    {\n        return $this->testColumnInRange($pColumn);\n    }\n\n    /**\n     * Get a specified AutoFilter Column\n     *\n     * @param    string    $pColumn        Column name (e.g. A)\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function getColumn($pColumn)\n    {\n        $this->testColumnInRange($pColumn);\n\n        if (!isset($this->columns[$pColumn])) {\n            $this->columns[$pColumn] = new PHPExcel_Worksheet_AutoFilter_Column($pColumn, $this);\n        }\n\n        return $this->columns[$pColumn];\n    }\n\n    /**\n     * Get a specified AutoFilter Column by it's offset\n     *\n     * @param    integer    $pColumnOffset        Column offset within range (starting from 0)\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet_AutoFilter_Column\n     */\n    public function getColumnByOffset($pColumnOffset = 0)\n    {\n        list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->range);\n        $pColumn = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] + $pColumnOffset - 1);\n\n        return $this->getColumn($pColumn);\n    }\n\n    /**\n     *    Set AutoFilter\n     *\n     *    @param    PHPExcel_Worksheet_AutoFilter_Column|string        $pColumn\n     *            A simple string containing a Column ID like 'A' is permitted\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function setColumn($pColumn)\n    {\n        if ((is_string($pColumn)) && (!empty($pColumn))) {\n            $column = $pColumn;\n        } elseif (is_object($pColumn) && ($pColumn instanceof PHPExcel_Worksheet_AutoFilter_Column)) {\n            $column = $pColumn->getColumnIndex();\n        } else {\n            throw new PHPExcel_Exception(\"Column is not within the autofilter range.\");\n        }\n        $this->testColumnInRange($column);\n\n        if (is_string($pColumn)) {\n            $this->columns[$pColumn] = new PHPExcel_Worksheet_AutoFilter_Column($pColumn, $this);\n        } elseif (is_object($pColumn) && ($pColumn instanceof PHPExcel_Worksheet_AutoFilter_Column)) {\n            $pColumn->setParent($this);\n            $this->columns[$column] = $pColumn;\n        }\n        ksort($this->columns);\n\n        return $this;\n    }\n\n    /**\n     * Clear a specified AutoFilter Column\n     *\n     * @param    string  $pColumn    Column name (e.g. A)\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function clearColumn($pColumn)\n    {\n        $this->testColumnInRange($pColumn);\n\n        if (isset($this->columns[$pColumn])) {\n            unset($this->columns[$pColumn]);\n        }\n\n        return $this;\n    }\n\n    /**\n     *    Shift an AutoFilter Column Rule to a different column\n     *\n     *    Note: This method bypasses validation of the destination column to ensure it is within this AutoFilter range.\n     *        Nor does it verify whether any column rule already exists at $toColumn, but will simply overrideany existing value.\n     *        Use with caution.\n     *\n     *    @param    string    $fromColumn        Column name (e.g. A)\n     *    @param    string    $toColumn        Column name (e.g. B)\n     *    @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function shiftColumn($fromColumn = null, $toColumn = null)\n    {\n        $fromColumn = strtoupper($fromColumn);\n        $toColumn = strtoupper($toColumn);\n\n        if (($fromColumn !== null) && (isset($this->columns[$fromColumn])) && ($toColumn !== null)) {\n            $this->columns[$fromColumn]->setParent();\n            $this->columns[$fromColumn]->setColumnIndex($toColumn);\n            $this->columns[$toColumn] = $this->columns[$fromColumn];\n            $this->columns[$toColumn]->setParent($this);\n            unset($this->columns[$fromColumn]);\n\n            ksort($this->columns);\n        }\n\n        return $this;\n    }\n\n\n    /**\n     *    Test if cell value is in the defined set of values\n     *\n     *    @param    mixed        $cellValue\n     *    @param    mixed[]        $dataSet\n     *    @return boolean\n     */\n    private static function filterTestInSimpleDataSet($cellValue, $dataSet)\n    {\n        $dataSetValues = $dataSet['filterValues'];\n        $blanks = $dataSet['blanks'];\n        if (($cellValue == '') || ($cellValue === null)) {\n            return $blanks;\n        }\n        return in_array($cellValue, $dataSetValues);\n    }\n\n    /**\n     *    Test if cell value is in the defined set of Excel date values\n     *\n     *    @param    mixed        $cellValue\n     *    @param    mixed[]        $dataSet\n     *    @return boolean\n     */\n    private static function filterTestInDateGroupSet($cellValue, $dataSet)\n    {\n        $dateSet = $dataSet['filterValues'];\n        $blanks = $dataSet['blanks'];\n        if (($cellValue == '') || ($cellValue === null)) {\n            return $blanks;\n        }\n\n        if (is_numeric($cellValue)) {\n            $dateValue = PHPExcel_Shared_Date::ExcelToPHP($cellValue);\n            if ($cellValue < 1) {\n                //    Just the time part\n                $dtVal = date('His', $dateValue);\n                $dateSet = $dateSet['time'];\n            } elseif ($cellValue == floor($cellValue)) {\n                //    Just the date part\n                $dtVal = date('Ymd', $dateValue);\n                $dateSet = $dateSet['date'];\n            } else {\n                //    date and time parts\n                $dtVal = date('YmdHis', $dateValue);\n                $dateSet = $dateSet['dateTime'];\n            }\n            foreach ($dateSet as $dateValue) {\n                //    Use of substr to extract value at the appropriate group level\n                if (substr($dtVal, 0, strlen($dateValue)) == $dateValue) {\n                    return true;\n                }\n            }\n        }\n        return false;\n    }\n\n    /**\n     *    Test if cell value is within a set of values defined by a ruleset\n     *\n     *    @param    mixed        $cellValue\n     *    @param    mixed[]        $ruleSet\n     *    @return boolean\n     */\n    private static function filterTestInCustomDataSet($cellValue, $ruleSet)\n    {\n        $dataSet = $ruleSet['filterRules'];\n        $join = $ruleSet['join'];\n        $customRuleForBlanks = isset($ruleSet['customRuleForBlanks']) ? $ruleSet['customRuleForBlanks'] : false;\n\n        if (!$customRuleForBlanks) {\n            //    Blank cells are always ignored, so return a FALSE\n            if (($cellValue == '') || ($cellValue === null)) {\n                return false;\n            }\n        }\n        $returnVal = ($join == PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND);\n        foreach ($dataSet as $rule) {\n            if (is_numeric($rule['value'])) {\n                //    Numeric values are tested using the appropriate operator\n                switch ($rule['operator']) {\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL:\n                        $retVal    = ($cellValue == $rule['value']);\n                        break;\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_NOTEQUAL:\n                        $retVal    = ($cellValue != $rule['value']);\n                        break;\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN:\n                        $retVal    = ($cellValue > $rule['value']);\n                        break;\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL:\n                        $retVal    = ($cellValue >= $rule['value']);\n                        break;\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN:\n                        $retVal    = ($cellValue < $rule['value']);\n                        break;\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL:\n                        $retVal    = ($cellValue <= $rule['value']);\n                        break;\n                }\n            } elseif ($rule['value'] == '') {\n                switch ($rule['operator']) {\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL:\n                        $retVal    = (($cellValue == '') || ($cellValue === null));\n                        break;\n                    case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_NOTEQUAL:\n                        $retVal    = (($cellValue != '') && ($cellValue !== null));\n                        break;\n                    default:\n                        $retVal    = true;\n                        break;\n                }\n            } else {\n                //    String values are always tested for equality, factoring in for wildcards (hence a regexp test)\n                $retVal    = preg_match('/^'.$rule['value'].'$/i', $cellValue);\n            }\n            //    If there are multiple conditions, then we need to test both using the appropriate join operator\n            switch ($join) {\n                case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR:\n                    $returnVal = $returnVal || $retVal;\n                    //    Break as soon as we have a TRUE match for OR joins,\n                    //        to avoid unnecessary additional code execution\n                    if ($returnVal) {\n                        return $returnVal;\n                    }\n                    break;\n                case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND:\n                    $returnVal = $returnVal && $retVal;\n                    break;\n            }\n        }\n\n        return $returnVal;\n    }\n\n    /**\n     *    Test if cell date value is matches a set of values defined by a set of months\n     *\n     *    @param    mixed        $cellValue\n     *    @param    mixed[]        $monthSet\n     *    @return boolean\n     */\n    private static function filterTestInPeriodDateSet($cellValue, $monthSet)\n    {\n        //    Blank cells are always ignored, so return a FALSE\n        if (($cellValue == '') || ($cellValue === null)) {\n            return false;\n        }\n\n        if (is_numeric($cellValue)) {\n            $dateValue = date('m', PHPExcel_Shared_Date::ExcelToPHP($cellValue));\n            if (in_array($dateValue, $monthSet)) {\n                return true;\n            }\n        }\n\n        return false;\n    }\n\n    /**\n     *    Search/Replace arrays to convert Excel wildcard syntax to a regexp syntax for preg_matching\n     *\n     *    @var    array\n     */\n    private static $fromReplace = array('\\*', '\\?', '~~', '~.*', '~.?');\n    private static $toReplace   = array('.*', '.',  '~',  '\\*',  '\\?');\n\n\n    /**\n     *    Convert a dynamic rule daterange to a custom filter range expression for ease of calculation\n     *\n     *    @param    string                                        $dynamicRuleType\n     *    @param    PHPExcel_Worksheet_AutoFilter_Column        &$filterColumn\n     *    @return mixed[]\n     */\n    private function dynamicFilterDateRange($dynamicRuleType, &$filterColumn)\n    {\n        $rDateType = PHPExcel_Calculation_Functions::getReturnDateType();\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $val = $maxVal = null;\n\n        $ruleValues = array();\n        $baseDate = PHPExcel_Calculation_DateTime::DATENOW();\n        //    Calculate start/end dates for the required date range based on current date\n        switch ($dynamicRuleType) {\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK:\n                $baseDate = strtotime('-7 days', $baseDate);\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK:\n                $baseDate = strtotime('-7 days', $baseDate);\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH:\n                $baseDate = strtotime('-1 month', gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH:\n                $baseDate = strtotime('+1 month', gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER:\n                $baseDate = strtotime('-3 month', gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER:\n                $baseDate = strtotime('+3 month', gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR:\n                $baseDate = strtotime('-1 year', gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR:\n                $baseDate = strtotime('+1 year', gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n        }\n\n        switch ($dynamicRuleType) {\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TODAY:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW:\n                $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(strtotime('+1 day', $baseDate));\n                $val = (int) PHPExcel_Shared_Date::PHPToExcel($baseDate);\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE:\n                $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(strtotime('+1 day', $baseDate));\n                $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0, 0, 0, 1, 1, date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR:\n                $maxVal = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0, 0, 0, 31, 12, date('Y', $baseDate)));\n                ++$maxVal;\n                $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0, 0, 0, 1, 1, date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER:\n                $thisMonth = date('m', $baseDate);\n                $thisQuarter = floor(--$thisMonth / 3);\n                $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(gmmktime(0, 0, 0, date('t', $baseDate), (1+$thisQuarter)*3, date('Y', $baseDate)));\n                ++$maxVal;\n                $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0, 0, 0, 1, 1+$thisQuarter*3, date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH:\n                $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(gmmktime(0, 0, 0, date('t', $baseDate), date('m', $baseDate), date('Y', $baseDate)));\n                ++$maxVal;\n                $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0, 0, 0, 1, date('m', $baseDate), date('Y', $baseDate)));\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK:\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK:\n                $dayOfWeek = date('w', $baseDate);\n                $val = (int) PHPExcel_Shared_Date::PHPToExcel($baseDate) - $dayOfWeek;\n                $maxVal = $val + 7;\n                break;\n        }\n\n        switch ($dynamicRuleType) {\n            //    Adjust Today dates for Yesterday and Tomorrow\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY:\n                --$maxVal;\n                --$val;\n                break;\n            case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW:\n                ++$maxVal;\n                ++$val;\n                break;\n        }\n\n        //    Set the filter column rule attributes ready for writing\n        $filterColumn->setAttributes(array('val' => $val, 'maxVal' => $maxVal));\n\n        //    Set the rules for identifying rows for hide/show\n        $ruleValues[] = array('operator' => PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL, 'value' => $val);\n        $ruleValues[] = array('operator' => PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN, 'value' => $maxVal);\n        PHPExcel_Calculation_Functions::setReturnDateType($rDateType);\n\n        return array('method' => 'filterTestInCustomDataSet', 'arguments' => array('filterRules' => $ruleValues, 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND));\n    }\n\n    private function calculateTopTenValue($columnID, $startRow, $endRow, $ruleType, $ruleValue)\n    {\n        $range = $columnID.$startRow.':'.$columnID.$endRow;\n        $dataValues = PHPExcel_Calculation_Functions::flattenArray($this->workSheet->rangeToArray($range, null, true, false));\n\n        $dataValues = array_filter($dataValues);\n        if ($ruleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) {\n            rsort($dataValues);\n        } else {\n            sort($dataValues);\n        }\n\n        return array_pop(array_slice($dataValues, 0, $ruleValue));\n    }\n\n    /**\n     *    Apply the AutoFilter rules to the AutoFilter Range\n     *\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function showHideRows()\n    {\n        list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->range);\n\n        //    The heading row should always be visible\n//        echo 'AutoFilter Heading Row ', $rangeStart[1],' is always SHOWN',PHP_EOL;\n        $this->workSheet->getRowDimension($rangeStart[1])->setVisible(true);\n\n        $columnFilterTests = array();\n        foreach ($this->columns as $columnID => $filterColumn) {\n            $rules = $filterColumn->getRules();\n            switch ($filterColumn->getFilterType()) {\n                case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER:\n                    $ruleValues = array();\n                    //    Build a list of the filter value selections\n                    foreach ($rules as $rule) {\n                        $ruleType = $rule->getRuleType();\n                        $ruleValues[] = $rule->getValue();\n                    }\n                    //    Test if we want to include blanks in our filter criteria\n                    $blanks = false;\n                    $ruleDataSet = array_filter($ruleValues);\n                    if (count($ruleValues) != count($ruleDataSet)) {\n                        $blanks = true;\n                    }\n                    if ($ruleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER) {\n                        //    Filter on absolute values\n                        $columnFilterTests[$columnID] = array(\n                            'method' => 'filterTestInSimpleDataSet',\n                            'arguments' => array('filterValues' => $ruleDataSet, 'blanks' => $blanks)\n                        );\n                    } else {\n                        //    Filter on date group values\n                        $arguments = array(\n                            'date' => array(),\n                            'time' => array(),\n                            'dateTime' => array(),\n                        );\n                        foreach ($ruleDataSet as $ruleValue) {\n                            $date = $time = '';\n                            if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR])) &&\n                                ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR] !== '')) {\n                                $date .= sprintf('%04d', $ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR]);\n                            }\n                            if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH])) &&\n                                ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH] != '')) {\n                                $date .= sprintf('%02d', $ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH]);\n                            }\n                            if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY])) &&\n                                ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY] !== '')) {\n                                $date .= sprintf('%02d', $ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY]);\n                            }\n                            if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR])) &&\n                                ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR] !== '')) {\n                                $time .= sprintf('%02d', $ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR]);\n                            }\n                            if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE])) &&\n                                ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE] !== '')) {\n                                $time .= sprintf('%02d', $ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE]);\n                            }\n                            if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND])) &&\n                                ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND] !== '')) {\n                                $time .= sprintf('%02d', $ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND]);\n                            }\n                            $dateTime = $date . $time;\n                            $arguments['date'][] = $date;\n                            $arguments['time'][] = $time;\n                            $arguments['dateTime'][] = $dateTime;\n                        }\n                        //    Remove empty elements\n                        $arguments['date'] = array_filter($arguments['date']);\n                        $arguments['time'] = array_filter($arguments['time']);\n                        $arguments['dateTime'] = array_filter($arguments['dateTime']);\n                        $columnFilterTests[$columnID] = array(\n                            'method' => 'filterTestInDateGroupSet',\n                            'arguments' => array('filterValues' => $arguments, 'blanks' => $blanks)\n                        );\n                    }\n                    break;\n                case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER:\n                    $customRuleForBlanks = false;\n                    $ruleValues = array();\n                    //    Build a list of the filter value selections\n                    foreach ($rules as $rule) {\n                        $ruleType = $rule->getRuleType();\n                        $ruleValue = $rule->getValue();\n                        if (!is_numeric($ruleValue)) {\n                            //    Convert to a regexp allowing for regexp reserved characters, wildcards and escaped wildcards\n                            $ruleValue = preg_quote($ruleValue);\n                            $ruleValue = str_replace(self::$fromReplace, self::$toReplace, $ruleValue);\n                            if (trim($ruleValue) == '') {\n                                $customRuleForBlanks = true;\n                                $ruleValue = trim($ruleValue);\n                            }\n                        }\n                        $ruleValues[] = array('operator' => $rule->getOperator(), 'value' => $ruleValue);\n                    }\n                    $join = $filterColumn->getJoin();\n                    $columnFilterTests[$columnID] = array(\n                        'method' => 'filterTestInCustomDataSet',\n                        'arguments' => array('filterRules' => $ruleValues, 'join' => $join, 'customRuleForBlanks' => $customRuleForBlanks)\n                    );\n                    break;\n                case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER:\n                    $ruleValues = array();\n                    foreach ($rules as $rule) {\n                        //    We should only ever have one Dynamic Filter Rule anyway\n                        $dynamicRuleType = $rule->getGrouping();\n                        if (($dynamicRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE) ||\n                            ($dynamicRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE)) {\n                            //    Number (Average) based\n                            //    Calculate the average\n                            $averageFormula = '=AVERAGE('.$columnID.($rangeStart[1]+1).':'.$columnID.$rangeEnd[1].')';\n                            $average = PHPExcel_Calculation::getInstance()->calculateFormula($averageFormula, null, $this->workSheet->getCell('A1'));\n                            //    Set above/below rule based on greaterThan or LessTan\n                            $operator = ($dynamicRuleType === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE)\n                                ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN\n                                : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN;\n                            $ruleValues[] = array('operator' => $operator,\n                                                   'value' => $average\n                                                 );\n                            $columnFilterTests[$columnID] = array(\n                                'method' => 'filterTestInCustomDataSet',\n                                'arguments' => array('filterRules' => $ruleValues, 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR)\n                            );\n                        } else {\n                            //    Date based\n                            if ($dynamicRuleType{0} == 'M' || $dynamicRuleType{0} == 'Q') {\n                                //    Month or Quarter\n                                sscanf($dynamicRuleType, '%[A-Z]%d', $periodType, $period);\n                                if ($periodType == 'M') {\n                                    $ruleValues = array($period);\n                                } else {\n                                    --$period;\n                                    $periodEnd = (1+$period)*3;\n                                    $periodStart = 1+$period*3;\n                                    $ruleValues = range($periodStart, $periodEnd);\n                                }\n                                $columnFilterTests[$columnID] = array(\n                                    'method' => 'filterTestInPeriodDateSet',\n                                    'arguments' => $ruleValues\n                                );\n                                $filterColumn->setAttributes(array());\n                            } else {\n                                //    Date Range\n                                $columnFilterTests[$columnID] = $this->dynamicFilterDateRange($dynamicRuleType, $filterColumn);\n                                break;\n                            }\n                        }\n                    }\n                    break;\n                case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER:\n                    $ruleValues = array();\n                    $dataRowCount = $rangeEnd[1] - $rangeStart[1];\n                    foreach ($rules as $rule) {\n                        //    We should only ever have one Dynamic Filter Rule anyway\n                        $toptenRuleType = $rule->getGrouping();\n                        $ruleValue = $rule->getValue();\n                        $ruleOperator = $rule->getOperator();\n                    }\n                    if ($ruleOperator === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT) {\n                        $ruleValue = floor($ruleValue * ($dataRowCount / 100));\n                    }\n                    if ($ruleValue < 1) {\n                        $ruleValue = 1;\n                    }\n                    if ($ruleValue > 500) {\n                        $ruleValue = 500;\n                    }\n\n                    $maxVal = $this->calculateTopTenValue($columnID, $rangeStart[1]+1, $rangeEnd[1], $toptenRuleType, $ruleValue);\n\n                    $operator = ($toptenRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP)\n                        ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL\n                        : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL;\n                    $ruleValues[] = array('operator' => $operator, 'value' => $maxVal);\n                    $columnFilterTests[$columnID] = array(\n                        'method' => 'filterTestInCustomDataSet',\n                        'arguments' => array('filterRules' => $ruleValues, 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR)\n                    );\n                    $filterColumn->setAttributes(array('maxVal' => $maxVal));\n                    break;\n            }\n        }\n\n//        echo 'Column Filter Test CRITERIA',PHP_EOL;\n//        var_dump($columnFilterTests);\n//\n        //    Execute the column tests for each row in the autoFilter range to determine show/hide,\n        for ($row = $rangeStart[1]+1; $row <= $rangeEnd[1]; ++$row) {\n//            echo 'Testing Row = ', $row,PHP_EOL;\n            $result = true;\n            foreach ($columnFilterTests as $columnID => $columnFilterTest) {\n//                echo 'Testing cell ', $columnID.$row,PHP_EOL;\n                $cellValue = $this->workSheet->getCell($columnID.$row)->getCalculatedValue();\n//                echo 'Value is ', $cellValue,PHP_EOL;\n                //    Execute the filter test\n                $result = $result &&\n                    call_user_func_array(\n                        array('PHPExcel_Worksheet_AutoFilter', $columnFilterTest['method']),\n                        array($cellValue, $columnFilterTest['arguments'])\n                    );\n//                echo (($result) ? 'VALID' : 'INVALID'),PHP_EOL;\n                //    If filter test has resulted in FALSE, exit the loop straightaway rather than running any more tests\n                if (!$result) {\n                    break;\n                }\n            }\n            //    Set show/hide for the row based on the result of the autoFilter result\n//            echo (($result) ? 'SHOW' : 'HIDE'),PHP_EOL;\n            $this->workSheet->getRowDimension($row)->setVisible($result);\n        }\n\n        return $this;\n    }\n\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                if ($key == 'workSheet') {\n                    //    Detach from worksheet\n                    $this->{$key} = null;\n                } else {\n                    $this->{$key} = clone $value;\n                }\n            } elseif ((is_array($value)) && ($key == 'columns')) {\n                //    The columns array of PHPExcel_Worksheet_AutoFilter objects\n                $this->{$key} = array();\n                foreach ($value as $k => $v) {\n                    $this->{$key}[$k] = clone $v;\n                    // attach the new cloned Column to this new cloned Autofilter object\n                    $this->{$key}[$k]->setParent($this);\n                }\n            } else {\n                $this->{$key} = $value;\n            }\n        }\n    }\n\n    /**\n     * toString method replicates previous behavior by returning the range if object is\n     *    referenced as a property of its parent.\n     */\n    public function __toString()\n    {\n        return (string) $this->range;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/BaseDrawing.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_BaseDrawing\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable\n{\n    /**\n     * Image counter\n     *\n     * @var int\n     */\n    private static $imageCounter = 0;\n\n    /**\n     * Image index\n     *\n     * @var int\n     */\n    private $imageIndex = 0;\n\n    /**\n     * Name\n     *\n     * @var string\n     */\n    protected $name;\n\n    /**\n     * Description\n     *\n     * @var string\n     */\n    protected $description;\n\n    /**\n     * Worksheet\n     *\n     * @var PHPExcel_Worksheet\n     */\n    protected $worksheet;\n\n    /**\n     * Coordinates\n     *\n     * @var string\n     */\n    protected $coordinates;\n\n    /**\n     * Offset X\n     *\n     * @var int\n     */\n    protected $offsetX;\n\n    /**\n     * Offset Y\n     *\n     * @var int\n     */\n    protected $offsetY;\n\n    /**\n     * Width\n     *\n     * @var int\n     */\n    protected $width;\n\n    /**\n     * Height\n     *\n     * @var int\n     */\n    protected $height;\n\n    /**\n     * Proportional resize\n     *\n     * @var boolean\n     */\n    protected $resizeProportional;\n\n    /**\n     * Rotation\n     *\n     * @var int\n     */\n    protected $rotation;\n\n    /**\n     * Shadow\n     *\n     * @var PHPExcel_Worksheet_Drawing_Shadow\n     */\n    protected $shadow;\n\n    /**\n     * Create a new PHPExcel_Worksheet_BaseDrawing\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->name                = '';\n        $this->description        = '';\n        $this->worksheet          = null;\n        $this->coordinates        = 'A1';\n        $this->offsetX            = 0;\n        $this->offsetY            = 0;\n        $this->width              = 0;\n        $this->height             = 0;\n        $this->resizeProportional = true;\n        $this->rotation           = 0;\n        $this->shadow             = new PHPExcel_Worksheet_Drawing_Shadow();\n\n        // Set image index\n        self::$imageCounter++;\n        $this->imageIndex             = self::$imageCounter;\n    }\n\n    /**\n     * Get image index\n     *\n     * @return int\n     */\n    public function getImageIndex()\n    {\n        return $this->imageIndex;\n    }\n\n    /**\n     * Get Name\n     *\n     * @return string\n     */\n    public function getName()\n    {\n        return $this->name;\n    }\n\n    /**\n     * Set Name\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setName($pValue = '')\n    {\n        $this->name = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Description\n     *\n     * @return string\n     */\n    public function getDescription()\n    {\n        return $this->description;\n    }\n\n    /**\n     * Set Description\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setDescription($pValue = '')\n    {\n        $this->description = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Worksheet\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function getWorksheet()\n    {\n        return $this->worksheet;\n    }\n\n    /**\n     * Set Worksheet\n     *\n     * @param     PHPExcel_Worksheet     $pValue\n     * @param     bool                $pOverrideOld    If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setWorksheet(PHPExcel_Worksheet $pValue = null, $pOverrideOld = false)\n    {\n        if (is_null($this->worksheet)) {\n            // Add drawing to PHPExcel_Worksheet\n            $this->worksheet = $pValue;\n            $this->worksheet->getCell($this->coordinates);\n            $this->worksheet->getDrawingCollection()->append($this);\n        } else {\n            if ($pOverrideOld) {\n                // Remove drawing from old PHPExcel_Worksheet\n                $iterator = $this->worksheet->getDrawingCollection()->getIterator();\n\n                while ($iterator->valid()) {\n                    if ($iterator->current()->getHashCode() == $this->getHashCode()) {\n                        $this->worksheet->getDrawingCollection()->offsetUnset($iterator->key());\n                        $this->worksheet = null;\n                        break;\n                    }\n                }\n\n                // Set new PHPExcel_Worksheet\n                $this->setWorksheet($pValue);\n            } else {\n                throw new PHPExcel_Exception(\"A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.\");\n            }\n        }\n        return $this;\n    }\n\n    /**\n     * Get Coordinates\n     *\n     * @return string\n     */\n    public function getCoordinates()\n    {\n        return $this->coordinates;\n    }\n\n    /**\n     * Set Coordinates\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setCoordinates($pValue = 'A1')\n    {\n        $this->coordinates = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get OffsetX\n     *\n     * @return int\n     */\n    public function getOffsetX()\n    {\n        return $this->offsetX;\n    }\n\n    /**\n     * Set OffsetX\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setOffsetX($pValue = 0)\n    {\n        $this->offsetX = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get OffsetY\n     *\n     * @return int\n     */\n    public function getOffsetY()\n    {\n        return $this->offsetY;\n    }\n\n    /**\n     * Set OffsetY\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setOffsetY($pValue = 0)\n    {\n        $this->offsetY = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Width\n     *\n     * @return int\n     */\n    public function getWidth()\n    {\n        return $this->width;\n    }\n\n    /**\n     * Set Width\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setWidth($pValue = 0)\n    {\n        // Resize proportional?\n        if ($this->resizeProportional && $pValue != 0) {\n            $ratio = $this->height / ($this->width != 0 ? $this->width : 1);\n            $this->height = round($ratio * $pValue);\n        }\n\n        // Set width\n        $this->width = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get Height\n     *\n     * @return int\n     */\n    public function getHeight()\n    {\n        return $this->height;\n    }\n\n    /**\n     * Set Height\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setHeight($pValue = 0)\n    {\n        // Resize proportional?\n        if ($this->resizeProportional && $pValue != 0) {\n            $ratio = $this->width / ($this->height != 0 ? $this->height : 1);\n            $this->width = round($ratio * $pValue);\n        }\n\n        // Set height\n        $this->height = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Set width and height with proportional resize\n     * Example:\n     * <code>\n     * $objDrawing->setResizeProportional(true);\n     * $objDrawing->setWidthAndHeight(160,120);\n     * </code>\n     *\n     * @author Vincent@luo MSN:kele_100@hotmail.com\n     * @param int $width\n     * @param int $height\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setWidthAndHeight($width = 0, $height = 0)\n    {\n        $xratio = $width / ($this->width != 0 ? $this->width : 1);\n        $yratio = $height / ($this->height != 0 ? $this->height : 1);\n        if ($this->resizeProportional && !($width == 0 || $height == 0)) {\n            if (($xratio * $this->height) < $height) {\n                $this->height = ceil($xratio * $this->height);\n                $this->width  = $width;\n            } else {\n                $this->width    = ceil($yratio * $this->width);\n                $this->height    = $height;\n            }\n        } else {\n            $this->width = $width;\n            $this->height = $height;\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get ResizeProportional\n     *\n     * @return boolean\n     */\n    public function getResizeProportional()\n    {\n        return $this->resizeProportional;\n    }\n\n    /**\n     * Set ResizeProportional\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setResizeProportional($pValue = true)\n    {\n        $this->resizeProportional = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Rotation\n     *\n     * @return int\n     */\n    public function getRotation()\n    {\n        return $this->rotation;\n    }\n\n    /**\n     * Set Rotation\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setRotation($pValue = 0)\n    {\n        $this->rotation = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Shadow\n     *\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function getShadow()\n    {\n        return $this->shadow;\n    }\n\n    /**\n     * Set Shadow\n     *\n     * @param     PHPExcel_Worksheet_Drawing_Shadow $pValue\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_BaseDrawing\n     */\n    public function setShadow(PHPExcel_Worksheet_Drawing_Shadow $pValue = null)\n    {\n           $this->shadow = $pValue;\n           return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->name .\n            $this->description .\n            $this->worksheet->getHashCode() .\n            $this->coordinates .\n            $this->offsetX .\n            $this->offsetY .\n            $this->width .\n            $this->height .\n            $this->rotation .\n            $this->shadow->getHashCode() .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/CellIterator.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_CellIterator\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Worksheet_CellIterator\n{\n    /**\n     * PHPExcel_Worksheet to iterate\n     *\n     * @var PHPExcel_Worksheet\n     */\n    protected $subject;\n\n    /**\n     * Current iterator position\n     *\n     * @var mixed\n     */\n    protected $position = null;\n\n    /**\n     * Iterate only existing cells\n     *\n     * @var boolean\n     */\n    protected $onlyExistingCells = false;\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->subject);\n    }\n\n    /**\n     * Get loop only existing cells\n     *\n     * @return boolean\n     */\n    public function getIterateOnlyExistingCells()\n    {\n        return $this->onlyExistingCells;\n    }\n\n    /**\n     * Validate start/end values for \"IterateOnlyExistingCells\" mode, and adjust if necessary\n     *\n     * @throws PHPExcel_Exception\n     */\n    abstract protected function adjustForExistingOnlyRange();\n\n    /**\n     * Set the iterator to loop only existing cells\n     *\n     * @param    boolean        $value\n     * @throws PHPExcel_Exception\n     */\n    public function setIterateOnlyExistingCells($value = true)\n    {\n        $this->onlyExistingCells = (boolean) $value;\n\n        $this->adjustForExistingOnlyRange();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/Column.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_Column\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_Column\n{\n    /**\n     * PHPExcel_Worksheet\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $parent;\n\n    /**\n     * Column index\n     *\n     * @var string\n     */\n    private $columnIndex;\n\n    /**\n     * Create a new column\n     *\n     * @param PHPExcel_Worksheet     $parent\n     * @param string                $columnIndex\n     */\n    public function __construct(PHPExcel_Worksheet $parent = null, $columnIndex = 'A')\n    {\n        // Set parent and column index\n        $this->parent         = $parent;\n        $this->columnIndex = $columnIndex;\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->parent);\n    }\n\n    /**\n     * Get column index\n     *\n     * @return string\n     */\n    public function getColumnIndex()\n    {\n        return $this->columnIndex;\n    }\n\n    /**\n     * Get cell iterator\n     *\n     * @param    integer                $startRow        The row number at which to start iterating\n     * @param    integer                $endRow            Optionally, the row number at which to stop iterating\n     * @return PHPExcel_Worksheet_CellIterator\n     */\n    public function getCellIterator($startRow = 1, $endRow = null)\n    {\n        return new PHPExcel_Worksheet_ColumnCellIterator($this->parent, $this->columnIndex, $startRow, $endRow);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/ColumnCellIterator.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_ColumnCellIterator\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_ColumnCellIterator extends PHPExcel_Worksheet_CellIterator implements Iterator\n{\n    /**\n     * Column index\n     *\n     * @var string\n     */\n    protected $columnIndex;\n\n    /**\n     * Start position\n     *\n     * @var int\n     */\n    protected $startRow = 1;\n\n    /**\n     * End position\n     *\n     * @var int\n     */\n    protected $endRow = 1;\n\n    /**\n     * Create a new row iterator\n     *\n     * @param    PHPExcel_Worksheet    $subject        The worksheet to iterate over\n     * @param   string              $columnIndex    The column that we want to iterate\n     * @param    integer                $startRow        The row number at which to start iterating\n     * @param    integer                $endRow            Optionally, the row number at which to stop iterating\n     */\n    public function __construct(PHPExcel_Worksheet $subject = null, $columnIndex = 'A', $startRow = 1, $endRow = null)\n    {\n        // Set subject\n        $this->subject = $subject;\n        $this->columnIndex = PHPExcel_Cell::columnIndexFromString($columnIndex) - 1;\n        $this->resetEnd($endRow);\n        $this->resetStart($startRow);\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->subject);\n    }\n\n    /**\n     * (Re)Set the start row and the current row pointer\n     *\n     * @param integer    $startRow    The row number at which to start iterating\n     * @return PHPExcel_Worksheet_ColumnCellIterator\n     * @throws PHPExcel_Exception\n     */\n    public function resetStart($startRow = 1)\n    {\n        $this->startRow = $startRow;\n        $this->adjustForExistingOnlyRange();\n        $this->seek($startRow);\n\n        return $this;\n    }\n\n    /**\n     * (Re)Set the end row\n     *\n     * @param integer    $endRow    The row number at which to stop iterating\n     * @return PHPExcel_Worksheet_ColumnCellIterator\n     * @throws PHPExcel_Exception\n     */\n    public function resetEnd($endRow = null)\n    {\n        $this->endRow = ($endRow) ? $endRow : $this->subject->getHighestRow();\n        $this->adjustForExistingOnlyRange();\n\n        return $this;\n    }\n\n    /**\n     * Set the row pointer to the selected row\n     *\n     * @param integer    $row    The row number to set the current pointer at\n     * @return PHPExcel_Worksheet_ColumnCellIterator\n     * @throws PHPExcel_Exception\n     */\n    public function seek($row = 1)\n    {\n        if (($row < $this->startRow) || ($row > $this->endRow)) {\n            throw new PHPExcel_Exception(\"Row $row is out of range ({$this->startRow} - {$this->endRow})\");\n        } elseif ($this->onlyExistingCells && !($this->subject->cellExistsByColumnAndRow($this->columnIndex, $row))) {\n            throw new PHPExcel_Exception('In \"IterateOnlyExistingCells\" mode and Cell does not exist');\n        }\n        $this->position = $row;\n\n        return $this;\n    }\n\n    /**\n     * Rewind the iterator to the starting row\n     */\n    public function rewind()\n    {\n        $this->position = $this->startRow;\n    }\n\n    /**\n     * Return the current cell in this worksheet column\n     *\n     * @return PHPExcel_Worksheet_Row\n     */\n    public function current()\n    {\n        return $this->subject->getCellByColumnAndRow($this->columnIndex, $this->position);\n    }\n\n    /**\n     * Return the current iterator key\n     *\n     * @return int\n     */\n    public function key()\n    {\n        return $this->position;\n    }\n\n    /**\n     * Set the iterator to its next value\n     */\n    public function next()\n    {\n        do {\n            ++$this->position;\n        } while (($this->onlyExistingCells) &&\n            (!$this->subject->cellExistsByColumnAndRow($this->columnIndex, $this->position)) &&\n            ($this->position <= $this->endRow));\n    }\n\n    /**\n     * Set the iterator to its previous value\n     */\n    public function prev()\n    {\n        if ($this->position <= $this->startRow) {\n            throw new PHPExcel_Exception(\"Row is already at the beginning of range ({$this->startRow} - {$this->endRow})\");\n        }\n\n        do {\n            --$this->position;\n        } while (($this->onlyExistingCells) &&\n            (!$this->subject->cellExistsByColumnAndRow($this->columnIndex, $this->position)) &&\n            ($this->position >= $this->startRow));\n    }\n\n    /**\n     * Indicate if more rows exist in the worksheet range of rows that we're iterating\n     *\n     * @return boolean\n     */\n    public function valid()\n    {\n        return $this->position <= $this->endRow;\n    }\n\n    /**\n     * Validate start/end values for \"IterateOnlyExistingCells\" mode, and adjust if necessary\n     *\n     * @throws PHPExcel_Exception\n     */\n    protected function adjustForExistingOnlyRange()\n    {\n        if ($this->onlyExistingCells) {\n            while ((!$this->subject->cellExistsByColumnAndRow($this->columnIndex, $this->startRow)) &&\n                ($this->startRow <= $this->endRow)) {\n                ++$this->startRow;\n            }\n            if ($this->startRow > $this->endRow) {\n                throw new PHPExcel_Exception('No cells exist within the specified range');\n            }\n            while ((!$this->subject->cellExistsByColumnAndRow($this->columnIndex, $this->endRow)) &&\n                ($this->endRow >= $this->startRow)) {\n                --$this->endRow;\n            }\n            if ($this->endRow < $this->startRow) {\n                throw new PHPExcel_Exception('No cells exist within the specified range');\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/ColumnDimension.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_ColumnDimension\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_ColumnDimension extends PHPExcel_Worksheet_Dimension\n{\n    /**\n     * Column index\n     *\n     * @var int\n     */\n    private $columnIndex;\n\n    /**\n     * Column width\n     *\n     * When this is set to a negative value, the column width should be ignored by IWriter\n     *\n     * @var double\n     */\n    private $width = -1;\n\n    /**\n     * Auto size?\n     *\n     * @var bool\n     */\n    private $autoSize = false;\n\n    /**\n     * Create a new PHPExcel_Worksheet_ColumnDimension\n     *\n     * @param string $pIndex Character column index\n     */\n    public function __construct($pIndex = 'A')\n    {\n        // Initialise values\n        $this->columnIndex = $pIndex;\n\n        // set dimension as unformatted by default\n        parent::__construct(0);\n    }\n\n    /**\n     * Get ColumnIndex\n     *\n     * @return string\n     */\n    public function getColumnIndex()\n    {\n        return $this->columnIndex;\n    }\n\n    /**\n     * Set ColumnIndex\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_ColumnDimension\n     */\n    public function setColumnIndex($pValue)\n    {\n        $this->columnIndex = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Width\n     *\n     * @return double\n     */\n    public function getWidth()\n    {\n        return $this->width;\n    }\n\n    /**\n     * Set Width\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_ColumnDimension\n     */\n    public function setWidth($pValue = -1)\n    {\n        $this->width = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Auto Size\n     *\n     * @return bool\n     */\n    public function getAutoSize()\n    {\n        return $this->autoSize;\n    }\n\n    /**\n     * Set Auto Size\n     *\n     * @param bool $pValue\n     * @return PHPExcel_Worksheet_ColumnDimension\n     */\n    public function setAutoSize($pValue = false)\n    {\n        $this->autoSize = $pValue;\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/ColumnIterator.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_ColumnIterator\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_ColumnIterator implements Iterator\n{\n    /**\n     * PHPExcel_Worksheet to iterate\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $subject;\n\n    /**\n     * Current iterator position\n     *\n     * @var int\n     */\n    private $position = 0;\n\n    /**\n     * Start position\n     *\n     * @var int\n     */\n    private $startColumn = 0;\n\n\n    /**\n     * End position\n     *\n     * @var int\n     */\n    private $endColumn = 0;\n\n\n    /**\n     * Create a new column iterator\n     *\n     * @param    PHPExcel_Worksheet    $subject    The worksheet to iterate over\n     * @param    string                $startColumn    The column address at which to start iterating\n     * @param    string                $endColumn        Optionally, the column address at which to stop iterating\n     */\n    public function __construct(PHPExcel_Worksheet $subject = null, $startColumn = 'A', $endColumn = null)\n    {\n        // Set subject\n        $this->subject = $subject;\n        $this->resetEnd($endColumn);\n        $this->resetStart($startColumn);\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->subject);\n    }\n\n    /**\n     * (Re)Set the start column and the current column pointer\n     *\n     * @param integer    $startColumn    The column address at which to start iterating\n     * @return PHPExcel_Worksheet_ColumnIterator\n     * @throws PHPExcel_Exception\n     */\n    public function resetStart($startColumn = 'A')\n    {\n        $startColumnIndex = PHPExcel_Cell::columnIndexFromString($startColumn) - 1;\n        if ($startColumnIndex > PHPExcel_Cell::columnIndexFromString($this->subject->getHighestColumn()) - 1) {\n            throw new PHPExcel_Exception(\"Start column ({$startColumn}) is beyond highest column ({$this->subject->getHighestColumn()})\");\n        }\n\n        $this->startColumn = $startColumnIndex;\n        if ($this->endColumn < $this->startColumn) {\n            $this->endColumn = $this->startColumn;\n        }\n        $this->seek($startColumn);\n\n        return $this;\n    }\n\n    /**\n     * (Re)Set the end column\n     *\n     * @param string    $endColumn    The column address at which to stop iterating\n     * @return PHPExcel_Worksheet_ColumnIterator\n     */\n    public function resetEnd($endColumn = null)\n    {\n        $endColumn = ($endColumn) ? $endColumn : $this->subject->getHighestColumn();\n        $this->endColumn = PHPExcel_Cell::columnIndexFromString($endColumn) - 1;\n\n        return $this;\n    }\n\n    /**\n     * Set the column pointer to the selected column\n     *\n     * @param string    $column    The column address to set the current pointer at\n     * @return PHPExcel_Worksheet_ColumnIterator\n     * @throws PHPExcel_Exception\n     */\n    public function seek($column = 'A')\n    {\n        $column = PHPExcel_Cell::columnIndexFromString($column) - 1;\n        if (($column < $this->startColumn) || ($column > $this->endColumn)) {\n            throw new PHPExcel_Exception(\"Column $column is out of range ({$this->startColumn} - {$this->endColumn})\");\n        }\n        $this->position = $column;\n\n        return $this;\n    }\n\n    /**\n     * Rewind the iterator to the starting column\n     */\n    public function rewind()\n    {\n        $this->position = $this->startColumn;\n    }\n\n    /**\n     * Return the current column in this worksheet\n     *\n     * @return PHPExcel_Worksheet_Column\n     */\n    public function current()\n    {\n        return new PHPExcel_Worksheet_Column($this->subject, PHPExcel_Cell::stringFromColumnIndex($this->position));\n    }\n\n    /**\n     * Return the current iterator key\n     *\n     * @return string\n     */\n    public function key()\n    {\n        return PHPExcel_Cell::stringFromColumnIndex($this->position);\n    }\n\n    /**\n     * Set the iterator to its next value\n     */\n    public function next()\n    {\n        ++$this->position;\n    }\n\n    /**\n     * Set the iterator to its previous value\n     *\n     * @throws PHPExcel_Exception\n     */\n    public function prev()\n    {\n        if ($this->position <= $this->startColumn) {\n            throw new PHPExcel_Exception(\n                \"Column is already at the beginning of range (\" .\n                PHPExcel_Cell::stringFromColumnIndex($this->endColumn) . \" - \" .\n                PHPExcel_Cell::stringFromColumnIndex($this->endColumn) . \")\"\n            );\n        }\n\n        --$this->position;\n    }\n\n    /**\n     * Indicate if more columns exist in the worksheet range of columns that we're iterating\n     *\n     * @return boolean\n     */\n    public function valid()\n    {\n        return $this->position <= $this->endColumn;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/Dimension.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_Dimension\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Worksheet_Dimension\n{\n    /**\n     * Visible?\n     *\n     * @var bool\n     */\n    private $visible = true;\n\n    /**\n     * Outline level\n     *\n     * @var int\n     */\n    private $outlineLevel = 0;\n\n    /**\n     * Collapsed\n     *\n     * @var bool\n     */\n    private $collapsed = false;\n\n    /**\n     * Index to cellXf. Null value means row has no explicit cellXf format.\n     *\n     * @var int|null\n     */\n    private $xfIndex;\n\n    /**\n     * Create a new PHPExcel_Worksheet_Dimension\n     *\n     * @param int $pIndex Numeric row index\n     */\n    public function __construct($initialValue = null)\n    {\n        // set dimension as unformatted by default\n        $this->xfIndex = $initialValue;\n    }\n\n    /**\n     * Get Visible\n     *\n     * @return bool\n     */\n    public function getVisible()\n    {\n        return $this->visible;\n    }\n\n    /**\n     * Set Visible\n     *\n     * @param bool $pValue\n     * @return PHPExcel_Worksheet_Dimension\n     */\n    public function setVisible($pValue = true)\n    {\n        $this->visible = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Outline Level\n     *\n     * @return int\n     */\n    public function getOutlineLevel()\n    {\n        return $this->outlineLevel;\n    }\n\n    /**\n     * Set Outline Level\n     *\n     * Value must be between 0 and 7\n     *\n     * @param int $pValue\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet_Dimension\n     */\n    public function setOutlineLevel($pValue)\n    {\n        if ($pValue < 0 || $pValue > 7) {\n            throw new PHPExcel_Exception(\"Outline level must range between 0 and 7.\");\n        }\n\n        $this->outlineLevel = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Collapsed\n     *\n     * @return bool\n     */\n    public function getCollapsed()\n    {\n        return $this->collapsed;\n    }\n\n    /**\n     * Set Collapsed\n     *\n     * @param bool $pValue\n     * @return PHPExcel_Worksheet_Dimension\n     */\n    public function setCollapsed($pValue = true)\n    {\n        $this->collapsed = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get index to cellXf\n     *\n     * @return int\n     */\n    public function getXfIndex()\n    {\n        return $this->xfIndex;\n    }\n\n    /**\n     * Set index to cellXf\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_Dimension\n     */\n    public function setXfIndex($pValue = 0)\n    {\n        $this->xfIndex = $pValue;\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/Drawing/Shadow.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_Drawing_Shadow\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet_Drawing\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable\n{\n    /* Shadow alignment */\n    const SHADOW_BOTTOM       = 'b';\n    const SHADOW_BOTTOM_LEFT  = 'bl';\n    const SHADOW_BOTTOM_RIGHT = 'br';\n    const SHADOW_CENTER       = 'ctr';\n    const SHADOW_LEFT         = 'l';\n    const SHADOW_TOP          = 't';\n    const SHADOW_TOP_LEFT     = 'tl';\n    const SHADOW_TOP_RIGHT    = 'tr';\n\n    /**\n     * Visible\n     *\n     * @var boolean\n     */\n    private $visible;\n\n    /**\n     * Blur radius\n     *\n     * Defaults to 6\n     *\n     * @var int\n     */\n    private $blurRadius;\n\n    /**\n     * Shadow distance\n     *\n     * Defaults to 2\n     *\n     * @var int\n     */\n    private $distance;\n\n    /**\n     * Shadow direction (in degrees)\n     *\n     * @var int\n     */\n    private $direction;\n\n    /**\n     * Shadow alignment\n     *\n     * @var int\n     */\n    private $alignment;\n\n    /**\n     * Color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    private $color;\n\n    /**\n     * Alpha\n     *\n     * @var int\n     */\n    private $alpha;\n\n    /**\n     * Create a new PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->visible     = false;\n        $this->blurRadius  = 6;\n        $this->distance    = 2;\n        $this->direction   = 0;\n        $this->alignment   = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;\n        $this->color       = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);\n        $this->alpha       = 50;\n    }\n\n    /**\n     * Get Visible\n     *\n     * @return boolean\n     */\n    public function getVisible()\n    {\n        return $this->visible;\n    }\n\n    /**\n     * Set Visible\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setVisible($pValue = false)\n    {\n        $this->visible = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Blur radius\n     *\n     * @return int\n     */\n    public function getBlurRadius()\n    {\n        return $this->blurRadius;\n    }\n\n    /**\n     * Set Blur radius\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setBlurRadius($pValue = 6)\n    {\n        $this->blurRadius = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Shadow distance\n     *\n     * @return int\n     */\n    public function getDistance()\n    {\n        return $this->distance;\n    }\n\n    /**\n     * Set Shadow distance\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setDistance($pValue = 2)\n    {\n        $this->distance = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Shadow direction (in degrees)\n     *\n     * @return int\n     */\n    public function getDirection()\n    {\n        return $this->direction;\n    }\n\n    /**\n     * Set Shadow direction (in degrees)\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setDirection($pValue = 0)\n    {\n        $this->direction = $pValue;\n        return $this;\n    }\n\n   /**\n     * Get Shadow alignment\n     *\n     * @return int\n     */\n    public function getAlignment()\n    {\n        return $this->alignment;\n    }\n\n    /**\n     * Set Shadow alignment\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setAlignment($pValue = 0)\n    {\n        $this->alignment = $pValue;\n        return $this;\n    }\n\n   /**\n     * Get Color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getColor()\n    {\n        return $this->color;\n    }\n\n    /**\n     * Set Color\n     *\n     * @param     PHPExcel_Style_Color $pValue\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setColor(PHPExcel_Style_Color $pValue = null)\n    {\n           $this->color = $pValue;\n           return $this;\n    }\n\n   /**\n     * Get Alpha\n     *\n     * @return int\n     */\n    public function getAlpha()\n    {\n        return $this->alpha;\n    }\n\n    /**\n     * Set Alpha\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_Drawing_Shadow\n     */\n    public function setAlpha($pValue = 0)\n    {\n        $this->alpha = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            ($this->visible ? 't' : 'f') .\n            $this->blurRadius .\n            $this->distance .\n            $this->direction .\n            $this->alignment .\n            $this->color->getHashCode() .\n            $this->alpha .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/Drawing.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_Drawing\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet_Drawing\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_Drawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable\n{\n    /**\n     * Path\n     *\n     * @var string\n     */\n    private $path;\n\n    /**\n     * Create a new PHPExcel_Worksheet_Drawing\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->path = '';\n\n        // Initialize parent\n        parent::__construct();\n    }\n\n    /**\n     * Get Filename\n     *\n     * @return string\n     */\n    public function getFilename()\n    {\n        return basename($this->path);\n    }\n\n    /**\n     * Get indexed filename (using image index)\n     *\n     * @return string\n     */\n    public function getIndexedFilename()\n    {\n        $fileName = $this->getFilename();\n        $fileName = str_replace(' ', '_', $fileName);\n        return str_replace('.' . $this->getExtension(), '', $fileName) . $this->getImageIndex() . '.' . $this->getExtension();\n    }\n\n    /**\n     * Get Extension\n     *\n     * @return string\n     */\n    public function getExtension()\n    {\n        $exploded = explode(\".\", basename($this->path));\n        return $exploded[count($exploded) - 1];\n    }\n\n    /**\n     * Get Path\n     *\n     * @return string\n     */\n    public function getPath()\n    {\n        return $this->path;\n    }\n\n    /**\n     * Set Path\n     *\n     * @param     string         $pValue            File path\n     * @param     boolean        $pVerifyFile    Verify file\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_Drawing\n     */\n    public function setPath($pValue = '', $pVerifyFile = true)\n    {\n        if ($pVerifyFile) {\n            if (file_exists($pValue)) {\n                $this->path = $pValue;\n\n                if ($this->width == 0 && $this->height == 0) {\n                    // Get width/height\n                    list($this->width, $this->height) = getimagesize($pValue);\n                }\n            } else {\n                throw new PHPExcel_Exception(\"File $pValue not found!\");\n            }\n        } else {\n            $this->path = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->path .\n            parent::getHashCode() .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/HeaderFooter.php",
    "content": "<?php\n/**\n * PHPExcel_Worksheet_HeaderFooter\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not,241 write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n *\n * <code>\n * Header/Footer Formatting Syntax taken from Office Open XML Part 4 - Markup Language Reference, page 1970:\n *\n * There are a number of formatting codes that can be written inline with the actual header / footer text, which\n * affect the formatting in the header or footer.\n *\n * Example: This example shows the text \"Center Bold Header\" on the first line (center section), and the date on\n * the second line (center section).\n *         &CCenter &\"-,Bold\"Bold&\"-,Regular\"Header_x000A_&D\n *\n * General Rules:\n * There is no required order in which these codes must appear.\n *\n * The first occurrence of the following codes turns the formatting ON, the second occurrence turns it OFF again:\n * - strikethrough\n * - superscript\n * - subscript\n * Superscript and subscript cannot both be ON at same time. Whichever comes first wins and the other is ignored,\n * while the first is ON.\n * &L - code for \"left section\" (there are three header / footer locations, \"left\", \"center\", and \"right\"). When\n * two or more occurrences of this section marker exist, the contents from all markers are concatenated, in the\n * order of appearance, and placed into the left section.\n * &P - code for \"current page #\"\n * &N - code for \"total pages\"\n * &font size - code for \"text font size\", where font size is a font size in points.\n * &K - code for \"text font color\"\n * RGB Color is specified as RRGGBB\n * Theme Color is specifed as TTSNN where TT is the theme color Id, S is either \"+\" or \"-\" of the tint/shade\n * value, NN is the tint/shade value.\n * &S - code for \"text strikethrough\" on / off\n * &X - code for \"text super script\" on / off\n * &Y - code for \"text subscript\" on / off\n * &C - code for \"center section\". When two or more occurrences of this section marker exist, the contents\n * from all markers are concatenated, in the order of appearance, and placed into the center section.\n *\n * &D - code for \"date\"\n * &T - code for \"time\"\n * &G - code for \"picture as background\"\n * &U - code for \"text single underline\"\n * &E - code for \"double underline\"\n * &R - code for \"right section\". When two or more occurrences of this section marker exist, the contents\n * from all markers are concatenated, in the order of appearance, and placed into the right section.\n * &Z - code for \"this workbook's file path\"\n * &F - code for \"this workbook's file name\"\n * &A - code for \"sheet tab name\"\n * &+ - code for add to page #.\n * &- - code for subtract from page #.\n * &\"font name,font type\" - code for \"text font name\" and \"text font type\", where font name and font type\n * are strings specifying the name and type of the font, separated by a comma. When a hyphen appears in font\n * name, it means \"none specified\". Both of font name and font type can be localized values.\n * &\"-,Bold\" - code for \"bold font style\"\n * &B - also means \"bold font style\".\n * &\"-,Regular\" - code for \"regular font style\"\n * &\"-,Italic\" - code for \"italic font style\"\n * &I - also means \"italic font style\"\n * &\"-,Bold Italic\" code for \"bold italic font style\"\n * &O - code for \"outline style\"\n * &H - code for \"shadow style\"\n * </code>\n *\n */\nclass PHPExcel_Worksheet_HeaderFooter\n{\n    /* Header/footer image location */\n    const IMAGE_HEADER_LEFT   = 'LH';\n    const IMAGE_HEADER_CENTER = 'CH';\n    const IMAGE_HEADER_RIGHT  = 'RH';\n    const IMAGE_FOOTER_LEFT   = 'LF';\n    const IMAGE_FOOTER_CENTER = 'CF';\n    const IMAGE_FOOTER_RIGHT  = 'RF';\n\n    /**\n     * OddHeader\n     *\n     * @var string\n     */\n    private $oddHeader = '';\n\n    /**\n     * OddFooter\n     *\n     * @var string\n     */\n    private $oddFooter = '';\n\n    /**\n     * EvenHeader\n     *\n     * @var string\n     */\n    private $evenHeader = '';\n\n    /**\n     * EvenFooter\n     *\n     * @var string\n     */\n    private $evenFooter = '';\n\n    /**\n     * FirstHeader\n     *\n     * @var string\n     */\n    private $firstHeader = '';\n\n    /**\n     * FirstFooter\n     *\n     * @var string\n     */\n    private $firstFooter = '';\n\n    /**\n     * Different header for Odd/Even, defaults to false\n     *\n     * @var boolean\n     */\n    private $differentOddEven = false;\n\n    /**\n     * Different header for first page, defaults to false\n     *\n     * @var boolean\n     */\n    private $differentFirst = false;\n\n    /**\n     * Scale with document, defaults to true\n     *\n     * @var boolean\n     */\n    private $scaleWithDocument = true;\n\n    /**\n     * Align with margins, defaults to true\n     *\n     * @var boolean\n     */\n    private $alignWithMargins = true;\n\n    /**\n     * Header/footer images\n     *\n     * @var PHPExcel_Worksheet_HeaderFooterDrawing[]\n     */\n    private $headerFooterImages = array();\n\n    /**\n     * Create a new PHPExcel_Worksheet_HeaderFooter\n     */\n    public function __construct()\n    {\n    }\n\n    /**\n     * Get OddHeader\n     *\n     * @return string\n     */\n    public function getOddHeader()\n    {\n        return $this->oddHeader;\n    }\n\n    /**\n     * Set OddHeader\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setOddHeader($pValue)\n    {\n        $this->oddHeader = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get OddFooter\n     *\n     * @return string\n     */\n    public function getOddFooter()\n    {\n        return $this->oddFooter;\n    }\n\n    /**\n     * Set OddFooter\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setOddFooter($pValue)\n    {\n        $this->oddFooter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get EvenHeader\n     *\n     * @return string\n     */\n    public function getEvenHeader()\n    {\n        return $this->evenHeader;\n    }\n\n    /**\n     * Set EvenHeader\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setEvenHeader($pValue)\n    {\n        $this->evenHeader = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get EvenFooter\n     *\n     * @return string\n     */\n    public function getEvenFooter()\n    {\n        return $this->evenFooter;\n    }\n\n    /**\n     * Set EvenFooter\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setEvenFooter($pValue)\n    {\n        $this->evenFooter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get FirstHeader\n     *\n     * @return string\n     */\n    public function getFirstHeader()\n    {\n        return $this->firstHeader;\n    }\n\n    /**\n     * Set FirstHeader\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setFirstHeader($pValue)\n    {\n        $this->firstHeader = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get FirstFooter\n     *\n     * @return string\n     */\n    public function getFirstFooter()\n    {\n        return $this->firstFooter;\n    }\n\n    /**\n     * Set FirstFooter\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setFirstFooter($pValue)\n    {\n        $this->firstFooter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get DifferentOddEven\n     *\n     * @return boolean\n     */\n    public function getDifferentOddEven()\n    {\n        return $this->differentOddEven;\n    }\n\n    /**\n     * Set DifferentOddEven\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setDifferentOddEven($pValue = false)\n    {\n        $this->differentOddEven = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get DifferentFirst\n     *\n     * @return boolean\n     */\n    public function getDifferentFirst()\n    {\n        return $this->differentFirst;\n    }\n\n    /**\n     * Set DifferentFirst\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setDifferentFirst($pValue = false)\n    {\n        $this->differentFirst = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get ScaleWithDocument\n     *\n     * @return boolean\n     */\n    public function getScaleWithDocument()\n    {\n        return $this->scaleWithDocument;\n    }\n\n    /**\n     * Set ScaleWithDocument\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setScaleWithDocument($pValue = true)\n    {\n        $this->scaleWithDocument = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get AlignWithMargins\n     *\n     * @return boolean\n     */\n    public function getAlignWithMargins()\n    {\n        return $this->alignWithMargins;\n    }\n\n    /**\n     * Set AlignWithMargins\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setAlignWithMargins($pValue = true)\n    {\n        $this->alignWithMargins = $pValue;\n        return $this;\n    }\n\n    /**\n     * Add header/footer image\n     *\n     * @param PHPExcel_Worksheet_HeaderFooterDrawing $image\n     * @param string $location\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function addImage(PHPExcel_Worksheet_HeaderFooterDrawing $image = null, $location = self::IMAGE_HEADER_LEFT)\n    {\n        $this->headerFooterImages[$location] = $image;\n        return $this;\n    }\n\n    /**\n     * Remove header/footer image\n     *\n     * @param string $location\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function removeImage($location = self::IMAGE_HEADER_LEFT)\n    {\n        if (isset($this->headerFooterImages[$location])) {\n            unset($this->headerFooterImages[$location]);\n        }\n        return $this;\n    }\n\n    /**\n     * Set header/footer images\n     *\n     * @param PHPExcel_Worksheet_HeaderFooterDrawing[] $images\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setImages($images)\n    {\n        if (!is_array($images)) {\n            throw new PHPExcel_Exception('Invalid parameter!');\n        }\n\n        $this->headerFooterImages = $images;\n        return $this;\n    }\n\n    /**\n     * Get header/footer images\n     *\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing[]\n     */\n    public function getImages()\n    {\n        // Sort array\n        $images = array();\n        if (isset($this->headerFooterImages[self::IMAGE_HEADER_LEFT])) {\n            $images[self::IMAGE_HEADER_LEFT] =         $this->headerFooterImages[self::IMAGE_HEADER_LEFT];\n        }\n        if (isset($this->headerFooterImages[self::IMAGE_HEADER_CENTER])) {\n            $images[self::IMAGE_HEADER_CENTER] =     $this->headerFooterImages[self::IMAGE_HEADER_CENTER];\n        }\n        if (isset($this->headerFooterImages[self::IMAGE_HEADER_RIGHT])) {\n            $images[self::IMAGE_HEADER_RIGHT] =     $this->headerFooterImages[self::IMAGE_HEADER_RIGHT];\n        }\n        if (isset($this->headerFooterImages[self::IMAGE_FOOTER_LEFT])) {\n            $images[self::IMAGE_FOOTER_LEFT] =         $this->headerFooterImages[self::IMAGE_FOOTER_LEFT];\n        }\n        if (isset($this->headerFooterImages[self::IMAGE_FOOTER_CENTER])) {\n            $images[self::IMAGE_FOOTER_CENTER] =     $this->headerFooterImages[self::IMAGE_FOOTER_CENTER];\n        }\n        if (isset($this->headerFooterImages[self::IMAGE_FOOTER_RIGHT])) {\n            $images[self::IMAGE_FOOTER_RIGHT] =     $this->headerFooterImages[self::IMAGE_FOOTER_RIGHT];\n        }\n        $this->headerFooterImages = $images;\n\n        return $this->headerFooterImages;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/HeaderFooterDrawing.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_HeaderFooterDrawing\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_HeaderFooterDrawing extends PHPExcel_Worksheet_Drawing implements PHPExcel_IComparable\n{\n    /**\n     * Path\n     *\n     * @var string\n     */\n    private $path;\n\n    /**\n     * Name\n     *\n     * @var string\n     */\n    protected $name;\n\n    /**\n     * Offset X\n     *\n     * @var int\n     */\n    protected $offsetX;\n\n    /**\n     * Offset Y\n     *\n     * @var int\n     */\n    protected $offsetY;\n\n    /**\n     * Width\n     *\n     * @var int\n     */\n    protected $width;\n\n    /**\n     * Height\n     *\n     * @var int\n     */\n    protected $height;\n\n    /**\n     * Proportional resize\n     *\n     * @var boolean\n     */\n    protected $resizeProportional;\n\n    /**\n     * Create a new PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->path                = '';\n        $this->name                = '';\n        $this->offsetX             = 0;\n        $this->offsetY             = 0;\n        $this->width               = 0;\n        $this->height              = 0;\n        $this->resizeProportional  = true;\n    }\n\n    /**\n     * Get Name\n     *\n     * @return string\n     */\n    public function getName()\n    {\n        return $this->name;\n    }\n\n    /**\n     * Set Name\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setName($pValue = '')\n    {\n        $this->name = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get OffsetX\n     *\n     * @return int\n     */\n    public function getOffsetX()\n    {\n        return $this->offsetX;\n    }\n\n    /**\n     * Set OffsetX\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setOffsetX($pValue = 0)\n    {\n        $this->offsetX = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get OffsetY\n     *\n     * @return int\n     */\n    public function getOffsetY()\n    {\n        return $this->offsetY;\n    }\n\n    /**\n     * Set OffsetY\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setOffsetY($pValue = 0)\n    {\n        $this->offsetY = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Width\n     *\n     * @return int\n     */\n    public function getWidth()\n    {\n        return $this->width;\n    }\n\n    /**\n     * Set Width\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setWidth($pValue = 0)\n    {\n        // Resize proportional?\n        if ($this->resizeProportional && $pValue != 0) {\n            $ratio = $this->width / $this->height;\n            $this->height = round($ratio * $pValue);\n        }\n\n        // Set width\n        $this->width = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get Height\n     *\n     * @return int\n     */\n    public function getHeight()\n    {\n        return $this->height;\n    }\n\n    /**\n     * Set Height\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setHeight($pValue = 0)\n    {\n        // Resize proportional?\n        if ($this->resizeProportional && $pValue != 0) {\n            $ratio = $this->width / $this->height;\n            $this->width = round($ratio * $pValue);\n        }\n\n        // Set height\n        $this->height = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Set width and height with proportional resize\n     * Example:\n     * <code>\n     * $objDrawing->setResizeProportional(true);\n     * $objDrawing->setWidthAndHeight(160,120);\n     * </code>\n     *\n     * @author Vincent@luo MSN:kele_100@hotmail.com\n     * @param int $width\n     * @param int $height\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setWidthAndHeight($width = 0, $height = 0)\n    {\n        $xratio = $width / $this->width;\n        $yratio = $height / $this->height;\n        if ($this->resizeProportional && !($width == 0 || $height == 0)) {\n            if (($xratio * $this->height) < $height) {\n                $this->height = ceil($xratio * $this->height);\n                $this->width  = $width;\n            } else {\n                $this->width    = ceil($yratio * $this->width);\n                $this->height    = $height;\n            }\n        }\n        return $this;\n    }\n\n    /**\n     * Get ResizeProportional\n     *\n     * @return boolean\n     */\n    public function getResizeProportional()\n    {\n        return $this->resizeProportional;\n    }\n\n    /**\n     * Set ResizeProportional\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setResizeProportional($pValue = true)\n    {\n        $this->resizeProportional = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Filename\n     *\n     * @return string\n     */\n    public function getFilename()\n    {\n        return basename($this->path);\n    }\n\n    /**\n     * Get Extension\n     *\n     * @return string\n     */\n    public function getExtension()\n    {\n        $parts = explode(\".\", basename($this->path));\n        return end($parts);\n    }\n\n    /**\n     * Get Path\n     *\n     * @return string\n     */\n    public function getPath()\n    {\n        return $this->path;\n    }\n\n    /**\n     * Set Path\n     *\n     * @param     string         $pValue            File path\n     * @param     boolean        $pVerifyFile    Verify file\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_HeaderFooterDrawing\n     */\n    public function setPath($pValue = '', $pVerifyFile = true)\n    {\n        if ($pVerifyFile) {\n            if (file_exists($pValue)) {\n                $this->path = $pValue;\n\n                if ($this->width == 0 && $this->height == 0) {\n                    // Get width/height\n                    list($this->width, $this->height) = getimagesize($pValue);\n                }\n            } else {\n                throw new PHPExcel_Exception(\"File $pValue not found!\");\n            }\n        } else {\n            $this->path = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->path .\n            $this->name .\n            $this->offsetX .\n            $this->offsetY .\n            $this->width .\n            $this->height .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/MemoryDrawing.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_MemoryDrawing\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_MemoryDrawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable\n{\n    /* Rendering functions */\n    const RENDERING_DEFAULT = 'imagepng';\n    const RENDERING_PNG     = 'imagepng';\n    const RENDERING_GIF     = 'imagegif';\n    const RENDERING_JPEG    = 'imagejpeg';\n\n    /* MIME types */\n    const MIMETYPE_DEFAULT  = 'image/png';\n    const MIMETYPE_PNG      = 'image/png';\n    const MIMETYPE_GIF      = 'image/gif';\n    const MIMETYPE_JPEG     = 'image/jpeg';\n\n    /**\n     * Image resource\n     *\n     * @var resource\n     */\n    private $imageResource;\n\n    /**\n     * Rendering function\n     *\n     * @var string\n     */\n    private $renderingFunction;\n\n    /**\n     * Mime type\n     *\n     * @var string\n     */\n    private $mimeType;\n\n    /**\n     * Unique name\n     *\n     * @var string\n     */\n    private $uniqueName;\n\n    /**\n     * Create a new PHPExcel_Worksheet_MemoryDrawing\n     */\n    public function __construct()\n    {\n        // Initialise values\n        $this->imageResource     = null;\n        $this->renderingFunction = self::RENDERING_DEFAULT;\n        $this->mimeType          = self::MIMETYPE_DEFAULT;\n        $this->uniqueName        = md5(rand(0, 9999). time() . rand(0, 9999));\n\n        // Initialize parent\n        parent::__construct();\n    }\n\n    /**\n     * Get image resource\n     *\n     * @return resource\n     */\n    public function getImageResource()\n    {\n        return $this->imageResource;\n    }\n\n    /**\n     * Set image resource\n     *\n     * @param    $value resource\n     * @return PHPExcel_Worksheet_MemoryDrawing\n     */\n    public function setImageResource($value = null)\n    {\n        $this->imageResource = $value;\n\n        if (!is_null($this->imageResource)) {\n            // Get width/height\n            $this->width  = imagesx($this->imageResource);\n            $this->height = imagesy($this->imageResource);\n        }\n        return $this;\n    }\n\n    /**\n     * Get rendering function\n     *\n     * @return string\n     */\n    public function getRenderingFunction()\n    {\n        return $this->renderingFunction;\n    }\n\n    /**\n     * Set rendering function\n     *\n     * @param string $value\n     * @return PHPExcel_Worksheet_MemoryDrawing\n     */\n    public function setRenderingFunction($value = PHPExcel_Worksheet_MemoryDrawing::RENDERING_DEFAULT)\n    {\n        $this->renderingFunction = $value;\n        return $this;\n    }\n\n    /**\n     * Get mime type\n     *\n     * @return string\n     */\n    public function getMimeType()\n    {\n        return $this->mimeType;\n    }\n\n    /**\n     * Set mime type\n     *\n     * @param string $value\n     * @return PHPExcel_Worksheet_MemoryDrawing\n     */\n    public function setMimeType($value = PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT)\n    {\n        $this->mimeType = $value;\n        return $this;\n    }\n\n    /**\n     * Get indexed filename (using image index)\n     *\n     * @return string\n     */\n    public function getIndexedFilename()\n    {\n        $extension = strtolower($this->getMimeType());\n        $extension = explode('/', $extension);\n        $extension = $extension[1];\n\n        return $this->uniqueName . $this->getImageIndex() . '.' . $extension;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        return md5(\n            $this->renderingFunction .\n            $this->mimeType .\n            $this->uniqueName .\n            parent::getHashCode() .\n            __CLASS__\n        );\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/PageMargins.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Worksheet_PageMargins\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Worksheet_PageMargins\n{\n    /**\n     * Left\n     *\n     * @var double\n     */\n    private $left        = 0.7;\n\n    /**\n     * Right\n     *\n     * @var double\n     */\n    private $right        = 0.7;\n\n    /**\n     * Top\n     *\n     * @var double\n     */\n    private $top        = 0.75;\n\n    /**\n     * Bottom\n     *\n     * @var double\n     */\n    private $bottom    = 0.75;\n\n    /**\n     * Header\n     *\n     * @var double\n     */\n    private $header     = 0.3;\n\n    /**\n     * Footer\n     *\n     * @var double\n     */\n    private $footer     = 0.3;\n\n    /**\n     * Create a new PHPExcel_Worksheet_PageMargins\n     */\n    public function __construct()\n    {\n    }\n\n    /**\n     * Get Left\n     *\n     * @return double\n     */\n    public function getLeft()\n    {\n        return $this->left;\n    }\n\n    /**\n     * Set Left\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function setLeft($pValue)\n    {\n        $this->left = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Right\n     *\n     * @return double\n     */\n    public function getRight()\n    {\n        return $this->right;\n    }\n\n    /**\n     * Set Right\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function setRight($pValue)\n    {\n        $this->right = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Top\n     *\n     * @return double\n     */\n    public function getTop()\n    {\n        return $this->top;\n    }\n\n    /**\n     * Set Top\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function setTop($pValue)\n    {\n        $this->top = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Bottom\n     *\n     * @return double\n     */\n    public function getBottom()\n    {\n        return $this->bottom;\n    }\n\n    /**\n     * Set Bottom\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function setBottom($pValue)\n    {\n        $this->bottom = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Header\n     *\n     * @return double\n     */\n    public function getHeader()\n    {\n        return $this->header;\n    }\n\n    /**\n     * Set Header\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function setHeader($pValue)\n    {\n        $this->header = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Footer\n     *\n     * @return double\n     */\n    public function getFooter()\n    {\n        return $this->footer;\n    }\n\n    /**\n     * Set Footer\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function setFooter($pValue)\n    {\n        $this->footer = $pValue;\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/PageSetup.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Worksheet_PageSetup\n *\n * <code>\n * Paper size taken from Office Open XML Part 4 - Markup Language Reference, page 1988:\n *\n * 1 = Letter paper (8.5 in. by 11 in.)\n * 2 = Letter small paper (8.5 in. by 11 in.)\n * 3 = Tabloid paper (11 in. by 17 in.)\n * 4 = Ledger paper (17 in. by 11 in.)\n * 5 = Legal paper (8.5 in. by 14 in.)\n * 6 = Statement paper (5.5 in. by 8.5 in.)\n * 7 = Executive paper (7.25 in. by 10.5 in.)\n * 8 = A3 paper (297 mm by 420 mm)\n * 9 = A4 paper (210 mm by 297 mm)\n * 10 = A4 small paper (210 mm by 297 mm)\n * 11 = A5 paper (148 mm by 210 mm)\n * 12 = B4 paper (250 mm by 353 mm)\n * 13 = B5 paper (176 mm by 250 mm)\n * 14 = Folio paper (8.5 in. by 13 in.)\n * 15 = Quarto paper (215 mm by 275 mm)\n * 16 = Standard paper (10 in. by 14 in.)\n * 17 = Standard paper (11 in. by 17 in.)\n * 18 = Note paper (8.5 in. by 11 in.)\n * 19 = #9 envelope (3.875 in. by 8.875 in.)\n * 20 = #10 envelope (4.125 in. by 9.5 in.)\n * 21 = #11 envelope (4.5 in. by 10.375 in.)\n * 22 = #12 envelope (4.75 in. by 11 in.)\n * 23 = #14 envelope (5 in. by 11.5 in.)\n * 24 = C paper (17 in. by 22 in.)\n * 25 = D paper (22 in. by 34 in.)\n * 26 = E paper (34 in. by 44 in.)\n * 27 = DL envelope (110 mm by 220 mm)\n * 28 = C5 envelope (162 mm by 229 mm)\n * 29 = C3 envelope (324 mm by 458 mm)\n * 30 = C4 envelope (229 mm by 324 mm)\n * 31 = C6 envelope (114 mm by 162 mm)\n * 32 = C65 envelope (114 mm by 229 mm)\n * 33 = B4 envelope (250 mm by 353 mm)\n * 34 = B5 envelope (176 mm by 250 mm)\n * 35 = B6 envelope (176 mm by 125 mm)\n * 36 = Italy envelope (110 mm by 230 mm)\n * 37 = Monarch envelope (3.875 in. by 7.5 in.).\n * 38 = 6 3/4 envelope (3.625 in. by 6.5 in.)\n * 39 = US standard fanfold (14.875 in. by 11 in.)\n * 40 = German standard fanfold (8.5 in. by 12 in.)\n * 41 = German legal fanfold (8.5 in. by 13 in.)\n * 42 = ISO B4 (250 mm by 353 mm)\n * 43 = Japanese double postcard (200 mm by 148 mm)\n * 44 = Standard paper (9 in. by 11 in.)\n * 45 = Standard paper (10 in. by 11 in.)\n * 46 = Standard paper (15 in. by 11 in.)\n * 47 = Invite envelope (220 mm by 220 mm)\n * 50 = Letter extra paper (9.275 in. by 12 in.)\n * 51 = Legal extra paper (9.275 in. by 15 in.)\n * 52 = Tabloid extra paper (11.69 in. by 18 in.)\n * 53 = A4 extra paper (236 mm by 322 mm)\n * 54 = Letter transverse paper (8.275 in. by 11 in.)\n * 55 = A4 transverse paper (210 mm by 297 mm)\n * 56 = Letter extra transverse paper (9.275 in. by 12 in.)\n * 57 = SuperA/SuperA/A4 paper (227 mm by 356 mm)\n * 58 = SuperB/SuperB/A3 paper (305 mm by 487 mm)\n * 59 = Letter plus paper (8.5 in. by 12.69 in.)\n * 60 = A4 plus paper (210 mm by 330 mm)\n * 61 = A5 transverse paper (148 mm by 210 mm)\n * 62 = JIS B5 transverse paper (182 mm by 257 mm)\n * 63 = A3 extra paper (322 mm by 445 mm)\n * 64 = A5 extra paper (174 mm by 235 mm)\n * 65 = ISO B5 extra paper (201 mm by 276 mm)\n * 66 = A2 paper (420 mm by 594 mm)\n * 67 = A3 transverse paper (297 mm by 420 mm)\n * 68 = A3 extra transverse paper (322 mm by 445 mm)\n * </code>\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Worksheet_PageSetup\n{\n    /* Paper size */\n    const PAPERSIZE_LETTER                          = 1;\n    const PAPERSIZE_LETTER_SMALL                    = 2;\n    const PAPERSIZE_TABLOID                         = 3;\n    const PAPERSIZE_LEDGER                          = 4;\n    const PAPERSIZE_LEGAL                           = 5;\n    const PAPERSIZE_STATEMENT                       = 6;\n    const PAPERSIZE_EXECUTIVE                       = 7;\n    const PAPERSIZE_A3                              = 8;\n    const PAPERSIZE_A4                              = 9;\n    const PAPERSIZE_A4_SMALL                        = 10;\n    const PAPERSIZE_A5                              = 11;\n    const PAPERSIZE_B4                              = 12;\n    const PAPERSIZE_B5                              = 13;\n    const PAPERSIZE_FOLIO                           = 14;\n    const PAPERSIZE_QUARTO                          = 15;\n    const PAPERSIZE_STANDARD_1                      = 16;\n    const PAPERSIZE_STANDARD_2                      = 17;\n    const PAPERSIZE_NOTE                            = 18;\n    const PAPERSIZE_NO9_ENVELOPE                    = 19;\n    const PAPERSIZE_NO10_ENVELOPE                   = 20;\n    const PAPERSIZE_NO11_ENVELOPE                   = 21;\n    const PAPERSIZE_NO12_ENVELOPE                   = 22;\n    const PAPERSIZE_NO14_ENVELOPE                   = 23;\n    const PAPERSIZE_C                               = 24;\n    const PAPERSIZE_D                               = 25;\n    const PAPERSIZE_E                               = 26;\n    const PAPERSIZE_DL_ENVELOPE                     = 27;\n    const PAPERSIZE_C5_ENVELOPE                     = 28;\n    const PAPERSIZE_C3_ENVELOPE                     = 29;\n    const PAPERSIZE_C4_ENVELOPE                     = 30;\n    const PAPERSIZE_C6_ENVELOPE                     = 31;\n    const PAPERSIZE_C65_ENVELOPE                    = 32;\n    const PAPERSIZE_B4_ENVELOPE                     = 33;\n    const PAPERSIZE_B5_ENVELOPE                     = 34;\n    const PAPERSIZE_B6_ENVELOPE                     = 35;\n    const PAPERSIZE_ITALY_ENVELOPE                  = 36;\n    const PAPERSIZE_MONARCH_ENVELOPE                = 37;\n    const PAPERSIZE_6_3_4_ENVELOPE                  = 38;\n    const PAPERSIZE_US_STANDARD_FANFOLD             = 39;\n    const PAPERSIZE_GERMAN_STANDARD_FANFOLD         = 40;\n    const PAPERSIZE_GERMAN_LEGAL_FANFOLD            = 41;\n    const PAPERSIZE_ISO_B4                          = 42;\n    const PAPERSIZE_JAPANESE_DOUBLE_POSTCARD        = 43;\n    const PAPERSIZE_STANDARD_PAPER_1                = 44;\n    const PAPERSIZE_STANDARD_PAPER_2                = 45;\n    const PAPERSIZE_STANDARD_PAPER_3                = 46;\n    const PAPERSIZE_INVITE_ENVELOPE                 = 47;\n    const PAPERSIZE_LETTER_EXTRA_PAPER              = 48;\n    const PAPERSIZE_LEGAL_EXTRA_PAPER               = 49;\n    const PAPERSIZE_TABLOID_EXTRA_PAPER             = 50;\n    const PAPERSIZE_A4_EXTRA_PAPER                  = 51;\n    const PAPERSIZE_LETTER_TRANSVERSE_PAPER         = 52;\n    const PAPERSIZE_A4_TRANSVERSE_PAPER             = 53;\n    const PAPERSIZE_LETTER_EXTRA_TRANSVERSE_PAPER   = 54;\n    const PAPERSIZE_SUPERA_SUPERA_A4_PAPER          = 55;\n    const PAPERSIZE_SUPERB_SUPERB_A3_PAPER          = 56;\n    const PAPERSIZE_LETTER_PLUS_PAPER               = 57;\n    const PAPERSIZE_A4_PLUS_PAPER                   = 58;\n    const PAPERSIZE_A5_TRANSVERSE_PAPER             = 59;\n    const PAPERSIZE_JIS_B5_TRANSVERSE_PAPER         = 60;\n    const PAPERSIZE_A3_EXTRA_PAPER                  = 61;\n    const PAPERSIZE_A5_EXTRA_PAPER                  = 62;\n    const PAPERSIZE_ISO_B5_EXTRA_PAPER              = 63;\n    const PAPERSIZE_A2_PAPER                        = 64;\n    const PAPERSIZE_A3_TRANSVERSE_PAPER             = 65;\n    const PAPERSIZE_A3_EXTRA_TRANSVERSE_PAPER       = 66;\n\n    /* Page orientation */\n    const ORIENTATION_DEFAULT                       = 'default';\n    const ORIENTATION_LANDSCAPE                     = 'landscape';\n    const ORIENTATION_PORTRAIT                      = 'portrait';\n\n    /* Print Range Set Method */\n    const SETPRINTRANGE_OVERWRITE                   = 'O';\n    const SETPRINTRANGE_INSERT                      = 'I';\n\n\n    /**\n     * Paper size\n     *\n     * @var int\n     */\n    private $paperSize = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER;\n\n    /**\n     * Orientation\n     *\n     * @var string\n     */\n    private $orientation = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT;\n\n    /**\n     * Scale (Print Scale)\n     *\n     * Print scaling. Valid values range from 10 to 400\n     * This setting is overridden when fitToWidth and/or fitToHeight are in use\n     *\n     * @var int?\n     */\n    private $scale = 100;\n\n    /**\n      * Fit To Page\n      * Whether scale or fitToWith / fitToHeight applies\n      *\n      * @var boolean\n      */\n    private $fitToPage = false;\n\n    /**\n      * Fit To Height\n      * Number of vertical pages to fit on\n      *\n      * @var int?\n      */\n    private $fitToHeight    = 1;\n\n    /**\n      * Fit To Width\n      * Number of horizontal pages to fit on\n      *\n      * @var int?\n      */\n    private $fitToWidth    = 1;\n\n    /**\n     * Columns to repeat at left\n     *\n     * @var array Containing start column and end column, empty array if option unset\n     */\n    private $columnsToRepeatAtLeft = array('', '');\n\n    /**\n     * Rows to repeat at top\n     *\n     * @var array Containing start row number and end row number, empty array if option unset\n     */\n    private $rowsToRepeatAtTop = array(0, 0);\n\n    /**\n     * Center page horizontally\n     *\n     * @var boolean\n     */\n    private $horizontalCentered = false;\n\n    /**\n     * Center page vertically\n     *\n     * @var boolean\n     */\n    private $verticalCentered = false;\n\n    /**\n     * Print area\n     *\n     * @var string\n     */\n    private $printArea = null;\n\n    /**\n     * First page number\n     *\n     * @var int\n     */\n    private $firstPageNumber = null;\n\n    /**\n     * Create a new PHPExcel_Worksheet_PageSetup\n     */\n    public function __construct()\n    {\n    }\n\n    /**\n     * Get Paper Size\n     *\n     * @return int\n     */\n    public function getPaperSize()\n    {\n        return $this->paperSize;\n    }\n\n    /**\n     * Set Paper Size\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setPaperSize($pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER)\n    {\n        $this->paperSize = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Orientation\n     *\n     * @return string\n     */\n    public function getOrientation()\n    {\n        return $this->orientation;\n    }\n\n    /**\n     * Set Orientation\n     *\n     * @param string $pValue\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT)\n    {\n        $this->orientation = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Scale\n     *\n     * @return int?\n     */\n    public function getScale()\n    {\n        return $this->scale;\n    }\n\n    /**\n     * Set Scale\n     *\n     * Print scaling. Valid values range from 10 to 400\n     * This setting is overridden when fitToWidth and/or fitToHeight are in use\n     *\n     * @param     int?    $pValue\n     * @param boolean    $pUpdate    Update fitToPage so scaling applies rather than fitToHeight / fitToWidth\n     * @return PHPExcel_Worksheet_PageSetup\n     * @throws     PHPExcel_Exception\n     */\n    public function setScale($pValue = 100, $pUpdate = true)\n    {\n        // Microsoft Office Excel 2007 only allows setting a scale between 10 and 400 via the user interface,\n        // but it is apparently still able to handle any scale >= 0, where 0 results in 100\n        if (($pValue >= 0) || is_null($pValue)) {\n            $this->scale = $pValue;\n            if ($pUpdate) {\n                $this->fitToPage = false;\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Scale must not be negative\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get Fit To Page\n     *\n     * @return boolean\n     */\n    public function getFitToPage()\n    {\n        return $this->fitToPage;\n    }\n\n    /**\n     * Set Fit To Page\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setFitToPage($pValue = true)\n    {\n        $this->fitToPage = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Fit To Height\n     *\n     * @return int?\n     */\n    public function getFitToHeight()\n    {\n        return $this->fitToHeight;\n    }\n\n    /**\n     * Set Fit To Height\n     *\n     * @param int? $pValue\n     * @param boolean $pUpdate Update fitToPage so it applies rather than scaling\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setFitToHeight($pValue = 1, $pUpdate = true)\n    {\n        $this->fitToHeight = $pValue;\n        if ($pUpdate) {\n            $this->fitToPage = true;\n        }\n        return $this;\n    }\n\n    /**\n     * Get Fit To Width\n     *\n     * @return int?\n     */\n    public function getFitToWidth()\n    {\n        return $this->fitToWidth;\n    }\n\n    /**\n     * Set Fit To Width\n     *\n     * @param int? $pValue\n     * @param boolean $pUpdate Update fitToPage so it applies rather than scaling\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setFitToWidth($pValue = 1, $pUpdate = true)\n    {\n        $this->fitToWidth = $pValue;\n        if ($pUpdate) {\n            $this->fitToPage = true;\n        }\n        return $this;\n    }\n\n    /**\n     * Is Columns to repeat at left set?\n     *\n     * @return boolean\n     */\n    public function isColumnsToRepeatAtLeftSet()\n    {\n        if (is_array($this->columnsToRepeatAtLeft)) {\n            if ($this->columnsToRepeatAtLeft[0] != '' && $this->columnsToRepeatAtLeft[1] != '') {\n                return true;\n            }\n        }\n\n        return false;\n    }\n\n    /**\n     * Get Columns to repeat at left\n     *\n     * @return array Containing start column and end column, empty array if option unset\n     */\n    public function getColumnsToRepeatAtLeft()\n    {\n        return $this->columnsToRepeatAtLeft;\n    }\n\n    /**\n     * Set Columns to repeat at left\n     *\n     * @param array $pValue Containing start column and end column, empty array if option unset\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setColumnsToRepeatAtLeft($pValue = null)\n    {\n        if (is_array($pValue)) {\n            $this->columnsToRepeatAtLeft = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Set Columns to repeat at left by start and end\n     *\n     * @param string $pStart\n     * @param string $pEnd\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setColumnsToRepeatAtLeftByStartAndEnd($pStart = 'A', $pEnd = 'A')\n    {\n        $this->columnsToRepeatAtLeft = array($pStart, $pEnd);\n        return $this;\n    }\n\n    /**\n     * Is Rows to repeat at top set?\n     *\n     * @return boolean\n     */\n    public function isRowsToRepeatAtTopSet()\n    {\n        if (is_array($this->rowsToRepeatAtTop)) {\n            if ($this->rowsToRepeatAtTop[0] != 0 && $this->rowsToRepeatAtTop[1] != 0) {\n                return true;\n            }\n        }\n\n        return false;\n    }\n\n    /**\n     * Get Rows to repeat at top\n     *\n     * @return array Containing start column and end column, empty array if option unset\n     */\n    public function getRowsToRepeatAtTop()\n    {\n        return $this->rowsToRepeatAtTop;\n    }\n\n    /**\n     * Set Rows to repeat at top\n     *\n     * @param array    $pValue    Containing start column and end column, empty array if option unset\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setRowsToRepeatAtTop($pValue = null)\n    {\n        if (is_array($pValue)) {\n            $this->rowsToRepeatAtTop = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     * Set Rows to repeat at top by start and end\n     *\n     * @param int $pStart\n     * @param int $pEnd\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setRowsToRepeatAtTopByStartAndEnd($pStart = 1, $pEnd = 1)\n    {\n        $this->rowsToRepeatAtTop = array($pStart, $pEnd);\n        return $this;\n    }\n\n    /**\n     * Get center page horizontally\n     *\n     * @return bool\n     */\n    public function getHorizontalCentered()\n    {\n        return $this->horizontalCentered;\n    }\n\n    /**\n     * Set center page horizontally\n     *\n     * @param bool $value\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setHorizontalCentered($value = false)\n    {\n        $this->horizontalCentered = $value;\n        return $this;\n    }\n\n    /**\n     * Get center page vertically\n     *\n     * @return bool\n     */\n    public function getVerticalCentered()\n    {\n        return $this->verticalCentered;\n    }\n\n    /**\n     * Set center page vertically\n     *\n     * @param bool $value\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function setVerticalCentered($value = false)\n    {\n        $this->verticalCentered = $value;\n        return $this;\n    }\n\n    /**\n     *    Get print area\n     *\n     * @param    int        $index    Identifier for a specific print area range if several ranges have been set\n     *                            Default behaviour, or a index value of 0, will return all ranges as a comma-separated string\n     *                            Otherwise, the specific range identified by the value of $index will be returned\n     *                            Print areas are numbered from 1\n     * @throws    PHPExcel_Exception\n     * @return    string\n     */\n    public function getPrintArea($index = 0)\n    {\n        if ($index == 0) {\n            return $this->printArea;\n        }\n        $printAreas = explode(',', $this->printArea);\n        if (isset($printAreas[$index-1])) {\n            return $printAreas[$index-1];\n        }\n        throw new PHPExcel_Exception(\"Requested Print Area does not exist\");\n    }\n\n    /**\n     * Is print area set?\n     *\n     * @param    int        $index    Identifier for a specific print area range if several ranges have been set\n     *                            Default behaviour, or an index value of 0, will identify whether any print range is set\n     *                            Otherwise, existence of the range identified by the value of $index will be returned\n     *                            Print areas are numbered from 1\n     * @return    boolean\n     */\n    public function isPrintAreaSet($index = 0)\n    {\n        if ($index == 0) {\n            return !is_null($this->printArea);\n        }\n        $printAreas = explode(',', $this->printArea);\n        return isset($printAreas[$index-1]);\n    }\n\n    /**\n     * Clear a print area\n     *\n     * @param    int        $index    Identifier for a specific print area range if several ranges have been set\n     *                            Default behaviour, or an index value of 0, will clear all print ranges that are set\n     *                            Otherwise, the range identified by the value of $index will be removed from the series\n     *                            Print areas are numbered from 1\n     * @return    PHPExcel_Worksheet_PageSetup\n     */\n    public function clearPrintArea($index = 0)\n    {\n        if ($index == 0) {\n            $this->printArea = null;\n        } else {\n            $printAreas = explode(',', $this->printArea);\n            if (isset($printAreas[$index-1])) {\n                unset($printAreas[$index-1]);\n                $this->printArea = implode(',', $printAreas);\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set print area. e.g. 'A1:D10' or 'A1:D10,G5:M20'\n     *\n     * @param    string    $value\n     * @param    int        $index    Identifier for a specific print area range allowing several ranges to be set\n     *                            When the method is \"O\"verwrite, then a positive integer index will overwrite that indexed\n     *                                entry in the print areas list; a negative index value will identify which entry to\n     *                                overwrite working bacward through the print area to the list, with the last entry as -1.\n     *                                Specifying an index value of 0, will overwrite <b>all</b> existing print ranges.\n     *                            When the method is \"I\"nsert, then a positive index will insert after that indexed entry in\n     *                                the print areas list, while a negative index will insert before the indexed entry.\n     *                                Specifying an index value of 0, will always append the new print range at the end of the\n     *                                list.\n     *                            Print areas are numbered from 1\n     * @param    string    $method    Determines the method used when setting multiple print areas\n     *                            Default behaviour, or the \"O\" method, overwrites existing print area\n     *                            The \"I\" method, inserts the new print area before any specified index, or at the end of the list\n     * @return    PHPExcel_Worksheet_PageSetup\n     * @throws    PHPExcel_Exception\n     */\n    public function setPrintArea($value, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE)\n    {\n        if (strpos($value, '!') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate must not specify a worksheet.');\n        } elseif (strpos($value, ':') === false) {\n            throw new PHPExcel_Exception('Cell coordinate must be a range of cells.');\n        } elseif (strpos($value, '$') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate must not be absolute.');\n        }\n        $value = strtoupper($value);\n\n        if ($method == self::SETPRINTRANGE_OVERWRITE) {\n            if ($index == 0) {\n                $this->printArea = $value;\n            } else {\n                $printAreas = explode(',', $this->printArea);\n                if ($index < 0) {\n                    $index = count($printAreas) - abs($index) + 1;\n                }\n                if (($index <= 0) || ($index > count($printAreas))) {\n                    throw new PHPExcel_Exception('Invalid index for setting print range.');\n                }\n                $printAreas[$index-1] = $value;\n                $this->printArea = implode(',', $printAreas);\n            }\n        } elseif ($method == self::SETPRINTRANGE_INSERT) {\n            if ($index == 0) {\n                $this->printArea .= ($this->printArea == '') ? $value : ','.$value;\n            } else {\n                $printAreas = explode(',', $this->printArea);\n                if ($index < 0) {\n                    $index = abs($index) - 1;\n                }\n                if ($index > count($printAreas)) {\n                    throw new PHPExcel_Exception('Invalid index for setting print range.');\n                }\n                $printAreas = array_merge(array_slice($printAreas, 0, $index), array($value), array_slice($printAreas, $index));\n                $this->printArea = implode(',', $printAreas);\n            }\n        } else {\n            throw new PHPExcel_Exception('Invalid method for setting print range.');\n        }\n\n        return $this;\n    }\n\n    /**\n     * Add a new print area (e.g. 'A1:D10' or 'A1:D10,G5:M20') to the list of print areas\n     *\n     * @param    string    $value\n     * @param    int        $index    Identifier for a specific print area range allowing several ranges to be set\n     *                            A positive index will insert after that indexed entry in the print areas list, while a\n     *                                negative index will insert before the indexed entry.\n     *                                Specifying an index value of 0, will always append the new print range at the end of the\n     *                                list.\n     *                            Print areas are numbered from 1\n     * @return    PHPExcel_Worksheet_PageSetup\n     * @throws    PHPExcel_Exception\n     */\n    public function addPrintArea($value, $index = -1)\n    {\n        return $this->setPrintArea($value, $index, self::SETPRINTRANGE_INSERT);\n    }\n\n    /**\n     * Set print area\n     *\n     * @param    int        $column1    Column 1\n     * @param    int        $row1        Row 1\n     * @param    int        $column2    Column 2\n     * @param    int        $row2        Row 2\n     * @param    int        $index        Identifier for a specific print area range allowing several ranges to be set\n     *                                When the method is \"O\"verwrite, then a positive integer index will overwrite that indexed\n     *                                    entry in the print areas list; a negative index value will identify which entry to\n     *                                    overwrite working bacward through the print area to the list, with the last entry as -1.\n     *                                    Specifying an index value of 0, will overwrite <b>all</b> existing print ranges.\n     *                                When the method is \"I\"nsert, then a positive index will insert after that indexed entry in\n     *                                    the print areas list, while a negative index will insert before the indexed entry.\n     *                                    Specifying an index value of 0, will always append the new print range at the end of the\n     *                                    list.\n     *                                Print areas are numbered from 1\n     * @param    string    $method        Determines the method used when setting multiple print areas\n     *                                Default behaviour, or the \"O\" method, overwrites existing print area\n     *                                The \"I\" method, inserts the new print area before any specified index, or at the end of the list\n     * @return    PHPExcel_Worksheet_PageSetup\n     * @throws    PHPExcel_Exception\n     */\n    public function setPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE)\n    {\n        return $this->setPrintArea(\n            PHPExcel_Cell::stringFromColumnIndex($column1) . $row1 . ':' . PHPExcel_Cell::stringFromColumnIndex($column2) . $row2,\n            $index,\n            $method\n        );\n    }\n\n    /**\n     * Add a new print area to the list of print areas\n     *\n     * @param    int        $column1    Start Column for the print area\n     * @param    int        $row1        Start Row for the print area\n     * @param    int        $column2    End Column for the print area\n     * @param    int        $row2        End Row for the print area\n     * @param    int        $index        Identifier for a specific print area range allowing several ranges to be set\n     *                                A positive index will insert after that indexed entry in the print areas list, while a\n     *                                    negative index will insert before the indexed entry.\n     *                                    Specifying an index value of 0, will always append the new print range at the end of the\n     *                                    list.\n     *                                Print areas are numbered from 1\n     * @return    PHPExcel_Worksheet_PageSetup\n     * @throws    PHPExcel_Exception\n     */\n    public function addPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = -1)\n    {\n        return $this->setPrintArea(\n            PHPExcel_Cell::stringFromColumnIndex($column1) . $row1 . ':' . PHPExcel_Cell::stringFromColumnIndex($column2) . $row2,\n            $index,\n            self::SETPRINTRANGE_INSERT\n        );\n    }\n\n    /**\n     * Get first page number\n     *\n     * @return int\n     */\n    public function getFirstPageNumber()\n    {\n        return $this->firstPageNumber;\n    }\n\n    /**\n     * Set first page number\n     *\n     * @param int $value\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function setFirstPageNumber($value = null)\n    {\n        $this->firstPageNumber = $value;\n        return $this;\n    }\n\n    /**\n     * Reset first page number\n     *\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function resetFirstPageNumber()\n    {\n        return $this->setFirstPageNumber(null);\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/Protection.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Worksheet_Protection\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Worksheet_Protection\n{\n    /**\n     * Sheet\n     *\n     * @var boolean\n     */\n    private $sheet                    = false;\n\n    /**\n     * Objects\n     *\n     * @var boolean\n     */\n    private $objects                = false;\n\n    /**\n     * Scenarios\n     *\n     * @var boolean\n     */\n    private $scenarios                = false;\n\n    /**\n     * Format cells\n     *\n     * @var boolean\n     */\n    private $formatCells            = false;\n\n    /**\n     * Format columns\n     *\n     * @var boolean\n     */\n    private $formatColumns            = false;\n\n    /**\n     * Format rows\n     *\n     * @var boolean\n     */\n    private $formatRows            = false;\n\n    /**\n     * Insert columns\n     *\n     * @var boolean\n     */\n    private $insertColumns            = false;\n\n    /**\n     * Insert rows\n     *\n     * @var boolean\n     */\n    private $insertRows            = false;\n\n    /**\n     * Insert hyperlinks\n     *\n     * @var boolean\n     */\n    private $insertHyperlinks        = false;\n\n    /**\n     * Delete columns\n     *\n     * @var boolean\n     */\n    private $deleteColumns            = false;\n\n    /**\n     * Delete rows\n     *\n     * @var boolean\n     */\n    private $deleteRows            = false;\n\n    /**\n     * Select locked cells\n     *\n     * @var boolean\n     */\n    private $selectLockedCells        = false;\n\n    /**\n     * Sort\n     *\n     * @var boolean\n     */\n    private $sort                    = false;\n\n    /**\n     * AutoFilter\n     *\n     * @var boolean\n     */\n    private $autoFilter            = false;\n\n    /**\n     * Pivot tables\n     *\n     * @var boolean\n     */\n    private $pivotTables            = false;\n\n    /**\n     * Select unlocked cells\n     *\n     * @var boolean\n     */\n    private $selectUnlockedCells    = false;\n\n    /**\n     * Password\n     *\n     * @var string\n     */\n    private $password                = '';\n\n    /**\n     * Create a new PHPExcel_Worksheet_Protection\n     */\n    public function __construct()\n    {\n    }\n\n    /**\n     * Is some sort of protection enabled?\n     *\n     * @return boolean\n     */\n    public function isProtectionEnabled()\n    {\n        return $this->sheet ||\n            $this->objects ||\n            $this->scenarios ||\n            $this->formatCells ||\n            $this->formatColumns ||\n            $this->formatRows ||\n            $this->insertColumns ||\n            $this->insertRows ||\n            $this->insertHyperlinks ||\n            $this->deleteColumns ||\n            $this->deleteRows ||\n            $this->selectLockedCells ||\n            $this->sort ||\n            $this->autoFilter ||\n            $this->pivotTables ||\n            $this->selectUnlockedCells;\n    }\n\n    /**\n     * Get Sheet\n     *\n     * @return boolean\n     */\n    public function getSheet()\n    {\n        return $this->sheet;\n    }\n\n    /**\n     * Set Sheet\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setSheet($pValue = false)\n    {\n        $this->sheet = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Objects\n     *\n     * @return boolean\n     */\n    public function getObjects()\n    {\n        return $this->objects;\n    }\n\n    /**\n     * Set Objects\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setObjects($pValue = false)\n    {\n        $this->objects = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Scenarios\n     *\n     * @return boolean\n     */\n    public function getScenarios()\n    {\n        return $this->scenarios;\n    }\n\n    /**\n     * Set Scenarios\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setScenarios($pValue = false)\n    {\n        $this->scenarios = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get FormatCells\n     *\n     * @return boolean\n     */\n    public function getFormatCells()\n    {\n        return $this->formatCells;\n    }\n\n    /**\n     * Set FormatCells\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setFormatCells($pValue = false)\n    {\n        $this->formatCells = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get FormatColumns\n     *\n     * @return boolean\n     */\n    public function getFormatColumns()\n    {\n        return $this->formatColumns;\n    }\n\n    /**\n     * Set FormatColumns\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setFormatColumns($pValue = false)\n    {\n        $this->formatColumns = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get FormatRows\n     *\n     * @return boolean\n     */\n    public function getFormatRows()\n    {\n        return $this->formatRows;\n    }\n\n    /**\n     * Set FormatRows\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setFormatRows($pValue = false)\n    {\n        $this->formatRows = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get InsertColumns\n     *\n     * @return boolean\n     */\n    public function getInsertColumns()\n    {\n        return $this->insertColumns;\n    }\n\n    /**\n     * Set InsertColumns\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setInsertColumns($pValue = false)\n    {\n        $this->insertColumns = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get InsertRows\n     *\n     * @return boolean\n     */\n    public function getInsertRows()\n    {\n        return $this->insertRows;\n    }\n\n    /**\n     * Set InsertRows\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setInsertRows($pValue = false)\n    {\n        $this->insertRows = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get InsertHyperlinks\n     *\n     * @return boolean\n     */\n    public function getInsertHyperlinks()\n    {\n        return $this->insertHyperlinks;\n    }\n\n    /**\n     * Set InsertHyperlinks\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setInsertHyperlinks($pValue = false)\n    {\n        $this->insertHyperlinks = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get DeleteColumns\n     *\n     * @return boolean\n     */\n    public function getDeleteColumns()\n    {\n        return $this->deleteColumns;\n    }\n\n    /**\n     * Set DeleteColumns\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setDeleteColumns($pValue = false)\n    {\n        $this->deleteColumns = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get DeleteRows\n     *\n     * @return boolean\n     */\n    public function getDeleteRows()\n    {\n        return $this->deleteRows;\n    }\n\n    /**\n     * Set DeleteRows\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setDeleteRows($pValue = false)\n    {\n        $this->deleteRows = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get SelectLockedCells\n     *\n     * @return boolean\n     */\n    public function getSelectLockedCells()\n    {\n        return $this->selectLockedCells;\n    }\n\n    /**\n     * Set SelectLockedCells\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setSelectLockedCells($pValue = false)\n    {\n        $this->selectLockedCells = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Sort\n     *\n     * @return boolean\n     */\n    public function getSort()\n    {\n        return $this->sort;\n    }\n\n    /**\n     * Set Sort\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setSort($pValue = false)\n    {\n        $this->sort = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get AutoFilter\n     *\n     * @return boolean\n     */\n    public function getAutoFilter()\n    {\n        return $this->autoFilter;\n    }\n\n    /**\n     * Set AutoFilter\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setAutoFilter($pValue = false)\n    {\n        $this->autoFilter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get PivotTables\n     *\n     * @return boolean\n     */\n    public function getPivotTables()\n    {\n        return $this->pivotTables;\n    }\n\n    /**\n     * Set PivotTables\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setPivotTables($pValue = false)\n    {\n        $this->pivotTables = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get SelectUnlockedCells\n     *\n     * @return boolean\n     */\n    public function getSelectUnlockedCells()\n    {\n        return $this->selectUnlockedCells;\n    }\n\n    /**\n     * Set SelectUnlockedCells\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setSelectUnlockedCells($pValue = false)\n    {\n        $this->selectUnlockedCells = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Password (hashed)\n     *\n     * @return string\n     */\n    public function getPassword()\n    {\n        return $this->password;\n    }\n\n    /**\n     * Set Password\n     *\n     * @param string     $pValue\n     * @param boolean     $pAlreadyHashed If the password has already been hashed, set this to true\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function setPassword($pValue = '', $pAlreadyHashed = false)\n    {\n        if (!$pAlreadyHashed) {\n            $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue);\n        }\n        $this->password = $pValue;\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/Row.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_Row\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_Row\n{\n    /**\n     * PHPExcel_Worksheet\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $parent;\n\n    /**\n     * Row index\n     *\n     * @var int\n     */\n    private $rowIndex = 0;\n\n    /**\n     * Create a new row\n     *\n     * @param PHPExcel_Worksheet         $parent\n     * @param int                        $rowIndex\n     */\n    public function __construct(PHPExcel_Worksheet $parent = null, $rowIndex = 1)\n    {\n        // Set parent and row index\n        $this->parent   = $parent;\n        $this->rowIndex = $rowIndex;\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->parent);\n    }\n\n    /**\n     * Get row index\n     *\n     * @return int\n     */\n    public function getRowIndex()\n    {\n        return $this->rowIndex;\n    }\n\n    /**\n     * Get cell iterator\n     *\n     * @param    string                $startColumn    The column address at which to start iterating\n     * @param    string                $endColumn        Optionally, the column address at which to stop iterating\n     * @return PHPExcel_Worksheet_CellIterator\n     */\n    public function getCellIterator($startColumn = 'A', $endColumn = null)\n    {\n        return new PHPExcel_Worksheet_RowCellIterator($this->parent, $this->rowIndex, $startColumn, $endColumn);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/RowCellIterator.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_RowCellIterator\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_RowCellIterator extends PHPExcel_Worksheet_CellIterator implements Iterator\n{\n    /**\n     * Row index\n     *\n     * @var int\n     */\n    protected $rowIndex;\n\n    /**\n     * Start position\n     *\n     * @var int\n     */\n    protected $startColumn = 0;\n\n    /**\n     * End position\n     *\n     * @var int\n     */\n    protected $endColumn = 0;\n\n    /**\n     * Create a new column iterator\n     *\n     * @param    PHPExcel_Worksheet    $subject        The worksheet to iterate over\n     * @param   integer             $rowIndex       The row that we want to iterate\n     * @param    string                $startColumn    The column address at which to start iterating\n     * @param    string                $endColumn        Optionally, the column address at which to stop iterating\n     */\n    public function __construct(PHPExcel_Worksheet $subject = null, $rowIndex = 1, $startColumn = 'A', $endColumn = null)\n    {\n        // Set subject and row index\n        $this->subject = $subject;\n        $this->rowIndex = $rowIndex;\n        $this->resetEnd($endColumn);\n        $this->resetStart($startColumn);\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->subject);\n    }\n\n    /**\n     * (Re)Set the start column and the current column pointer\n     *\n     * @param integer    $startColumn    The column address at which to start iterating\n     * @return PHPExcel_Worksheet_RowCellIterator\n     * @throws PHPExcel_Exception\n     */\n    public function resetStart($startColumn = 'A')\n    {\n        $startColumnIndex = PHPExcel_Cell::columnIndexFromString($startColumn) - 1;\n        $this->startColumn = $startColumnIndex;\n        $this->adjustForExistingOnlyRange();\n        $this->seek(PHPExcel_Cell::stringFromColumnIndex($this->startColumn));\n\n        return $this;\n    }\n\n    /**\n     * (Re)Set the end column\n     *\n     * @param string    $endColumn    The column address at which to stop iterating\n     * @return PHPExcel_Worksheet_RowCellIterator\n     * @throws PHPExcel_Exception\n     */\n    public function resetEnd($endColumn = null)\n    {\n        $endColumn = ($endColumn) ? $endColumn : $this->subject->getHighestColumn();\n        $this->endColumn = PHPExcel_Cell::columnIndexFromString($endColumn) - 1;\n        $this->adjustForExistingOnlyRange();\n\n        return $this;\n    }\n\n    /**\n     * Set the column pointer to the selected column\n     *\n     * @param string    $column    The column address to set the current pointer at\n     * @return PHPExcel_Worksheet_RowCellIterator\n     * @throws PHPExcel_Exception\n     */\n    public function seek($column = 'A')\n    {\n        $column = PHPExcel_Cell::columnIndexFromString($column) - 1;\n        if (($column < $this->startColumn) || ($column > $this->endColumn)) {\n            throw new PHPExcel_Exception(\"Column $column is out of range ({$this->startColumn} - {$this->endColumn})\");\n        } elseif ($this->onlyExistingCells && !($this->subject->cellExistsByColumnAndRow($column, $this->rowIndex))) {\n            throw new PHPExcel_Exception('In \"IterateOnlyExistingCells\" mode and Cell does not exist');\n        }\n        $this->position = $column;\n\n        return $this;\n    }\n\n    /**\n     * Rewind the iterator to the starting column\n     */\n    public function rewind()\n    {\n        $this->position = $this->startColumn;\n    }\n\n    /**\n     * Return the current cell in this worksheet row\n     *\n     * @return PHPExcel_Cell\n     */\n    public function current()\n    {\n        return $this->subject->getCellByColumnAndRow($this->position, $this->rowIndex);\n    }\n\n    /**\n     * Return the current iterator key\n     *\n     * @return string\n     */\n    public function key()\n    {\n        return PHPExcel_Cell::stringFromColumnIndex($this->position);\n    }\n\n    /**\n     * Set the iterator to its next value\n     */\n    public function next()\n    {\n        do {\n            ++$this->position;\n        } while (($this->onlyExistingCells) &&\n            (!$this->subject->cellExistsByColumnAndRow($this->position, $this->rowIndex)) &&\n            ($this->position <= $this->endColumn));\n    }\n\n    /**\n     * Set the iterator to its previous value\n     *\n     * @throws PHPExcel_Exception\n     */\n    public function prev()\n    {\n        if ($this->position <= $this->startColumn) {\n            throw new PHPExcel_Exception(\n                \"Column is already at the beginning of range (\" .\n                PHPExcel_Cell::stringFromColumnIndex($this->endColumn) . \" - \" .\n                PHPExcel_Cell::stringFromColumnIndex($this->endColumn) . \")\"\n            );\n        }\n\n        do {\n            --$this->position;\n        } while (($this->onlyExistingCells) &&\n            (!$this->subject->cellExistsByColumnAndRow($this->position, $this->rowIndex)) &&\n            ($this->position >= $this->startColumn));\n    }\n\n    /**\n     * Indicate if more columns exist in the worksheet range of columns that we're iterating\n     *\n     * @return boolean\n     */\n    public function valid()\n    {\n        return $this->position <= $this->endColumn;\n    }\n\n    /**\n     * Validate start/end values for \"IterateOnlyExistingCells\" mode, and adjust if necessary\n     *\n     * @throws PHPExcel_Exception\n     */\n    protected function adjustForExistingOnlyRange()\n    {\n        if ($this->onlyExistingCells) {\n            while ((!$this->subject->cellExistsByColumnAndRow($this->startColumn, $this->rowIndex)) &&\n                ($this->startColumn <= $this->endColumn)) {\n                ++$this->startColumn;\n            }\n            if ($this->startColumn > $this->endColumn) {\n                throw new PHPExcel_Exception('No cells exist within the specified range');\n            }\n            while ((!$this->subject->cellExistsByColumnAndRow($this->endColumn, $this->rowIndex)) &&\n                ($this->endColumn >= $this->startColumn)) {\n                --$this->endColumn;\n            }\n            if ($this->endColumn < $this->startColumn) {\n                throw new PHPExcel_Exception('No cells exist within the specified range');\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/RowDimension.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_RowDimension\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_RowDimension extends PHPExcel_Worksheet_Dimension\n{\n    /**\n     * Row index\n     *\n     * @var int\n     */\n    private $rowIndex;\n\n    /**\n     * Row height (in pt)\n     *\n     * When this is set to a negative value, the row height should be ignored by IWriter\n     *\n     * @var double\n     */\n    private $height = -1;\n\n     /**\n     * ZeroHeight for Row?\n     *\n     * @var bool\n     */\n    private $zeroHeight = false;\n\n    /**\n     * Create a new PHPExcel_Worksheet_RowDimension\n     *\n     * @param int $pIndex Numeric row index\n     */\n    public function __construct($pIndex = 0)\n    {\n        // Initialise values\n        $this->rowIndex = $pIndex;\n\n        // set dimension as unformatted by default\n        parent::__construct(null);\n    }\n\n    /**\n     * Get Row Index\n     *\n     * @return int\n     */\n    public function getRowIndex()\n    {\n        return $this->rowIndex;\n    }\n\n    /**\n     * Set Row Index\n     *\n     * @param int $pValue\n     * @return PHPExcel_Worksheet_RowDimension\n     */\n    public function setRowIndex($pValue)\n    {\n        $this->rowIndex = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Row Height\n     *\n     * @return double\n     */\n    public function getRowHeight()\n    {\n        return $this->height;\n    }\n\n    /**\n     * Set Row Height\n     *\n     * @param double $pValue\n     * @return PHPExcel_Worksheet_RowDimension\n     */\n    public function setRowHeight($pValue = -1)\n    {\n        $this->height = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get ZeroHeight\n     *\n     * @return bool\n     */\n    public function getZeroHeight()\n    {\n        return $this->zeroHeight;\n    }\n\n    /**\n     * Set ZeroHeight\n     *\n     * @param bool $pValue\n     * @return PHPExcel_Worksheet_RowDimension\n     */\n    public function setZeroHeight($pValue = false)\n    {\n        $this->zeroHeight = $pValue;\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/RowIterator.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_RowIterator\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_RowIterator implements Iterator\n{\n    /**\n     * PHPExcel_Worksheet to iterate\n     *\n     * @var PHPExcel_Worksheet\n     */\n    private $subject;\n\n    /**\n     * Current iterator position\n     *\n     * @var int\n     */\n    private $position = 1;\n\n    /**\n     * Start position\n     *\n     * @var int\n     */\n    private $startRow = 1;\n\n\n    /**\n     * End position\n     *\n     * @var int\n     */\n    private $endRow = 1;\n\n\n    /**\n     * Create a new row iterator\n     *\n     * @param    PHPExcel_Worksheet    $subject    The worksheet to iterate over\n     * @param    integer                $startRow    The row number at which to start iterating\n     * @param    integer                $endRow        Optionally, the row number at which to stop iterating\n     */\n    public function __construct(PHPExcel_Worksheet $subject, $startRow = 1, $endRow = null)\n    {\n        // Set subject\n        $this->subject = $subject;\n        $this->resetEnd($endRow);\n        $this->resetStart($startRow);\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->subject);\n    }\n\n    /**\n     * (Re)Set the start row and the current row pointer\n     *\n     * @param integer    $startRow    The row number at which to start iterating\n     * @return PHPExcel_Worksheet_RowIterator\n     * @throws PHPExcel_Exception\n     */\n    public function resetStart($startRow = 1)\n    {\n        if ($startRow > $this->subject->getHighestRow()) {\n            throw new PHPExcel_Exception(\"Start row ({$startRow}) is beyond highest row ({$this->subject->getHighestRow()})\");\n        }\n\n        $this->startRow = $startRow;\n        if ($this->endRow < $this->startRow) {\n            $this->endRow = $this->startRow;\n        }\n        $this->seek($startRow);\n\n        return $this;\n    }\n\n    /**\n     * (Re)Set the end row\n     *\n     * @param integer    $endRow    The row number at which to stop iterating\n     * @return PHPExcel_Worksheet_RowIterator\n     */\n    public function resetEnd($endRow = null)\n    {\n        $this->endRow = ($endRow) ? $endRow : $this->subject->getHighestRow();\n\n        return $this;\n    }\n\n    /**\n     * Set the row pointer to the selected row\n     *\n     * @param integer    $row    The row number to set the current pointer at\n     * @return PHPExcel_Worksheet_RowIterator\n     * @throws PHPExcel_Exception\n     */\n    public function seek($row = 1)\n    {\n        if (($row < $this->startRow) || ($row > $this->endRow)) {\n            throw new PHPExcel_Exception(\"Row $row is out of range ({$this->startRow} - {$this->endRow})\");\n        }\n        $this->position = $row;\n\n        return $this;\n    }\n\n    /**\n     * Rewind the iterator to the starting row\n     */\n    public function rewind()\n    {\n        $this->position = $this->startRow;\n    }\n\n    /**\n     * Return the current row in this worksheet\n     *\n     * @return PHPExcel_Worksheet_Row\n     */\n    public function current()\n    {\n        return new PHPExcel_Worksheet_Row($this->subject, $this->position);\n    }\n\n    /**\n     * Return the current iterator key\n     *\n     * @return int\n     */\n    public function key()\n    {\n        return $this->position;\n    }\n\n    /**\n     * Set the iterator to its next value\n     */\n    public function next()\n    {\n        ++$this->position;\n    }\n\n    /**\n     * Set the iterator to its previous value\n     */\n    public function prev()\n    {\n        if ($this->position <= $this->startRow) {\n            throw new PHPExcel_Exception(\"Row is already at the beginning of range ({$this->startRow} - {$this->endRow})\");\n        }\n\n        --$this->position;\n    }\n\n    /**\n     * Indicate if more rows exist in the worksheet range of rows that we're iterating\n     *\n     * @return boolean\n     */\n    public function valid()\n    {\n        return $this->position <= $this->endRow;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet/SheetView.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet_SheetView\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet_SheetView\n{\n\n    /* Sheet View types */\n    const SHEETVIEW_NORMAL             = 'normal';\n    const SHEETVIEW_PAGE_LAYOUT        = 'pageLayout';\n    const SHEETVIEW_PAGE_BREAK_PREVIEW = 'pageBreakPreview';\n\n    private static $sheetViewTypes = array(\n        self::SHEETVIEW_NORMAL,\n        self::SHEETVIEW_PAGE_LAYOUT,\n        self::SHEETVIEW_PAGE_BREAK_PREVIEW,\n    );\n\n    /**\n     * ZoomScale\n     *\n     * Valid values range from 10 to 400.\n     *\n     * @var int\n     */\n    private $zoomScale = 100;\n\n    /**\n     * ZoomScaleNormal\n     *\n     * Valid values range from 10 to 400.\n     *\n     * @var int\n     */\n    private $zoomScaleNormal = 100;\n\n    /**\n     * View\n     *\n     * Valid values range from 10 to 400.\n     *\n     * @var string\n     */\n    private $sheetviewType = self::SHEETVIEW_NORMAL;\n\n    /**\n     * Create a new PHPExcel_Worksheet_SheetView\n     */\n    public function __construct()\n    {\n    }\n\n    /**\n     * Get ZoomScale\n     *\n     * @return int\n     */\n    public function getZoomScale()\n    {\n        return $this->zoomScale;\n    }\n\n    /**\n     * Set ZoomScale\n     *\n     * Valid values range from 10 to 400.\n     *\n     * @param     int     $pValue\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_SheetView\n     */\n    public function setZoomScale($pValue = 100)\n    {\n        // Microsoft Office Excel 2007 only allows setting a scale between 10 and 400 via the user interface,\n        // but it is apparently still able to handle any scale >= 1\n        if (($pValue >= 1) || is_null($pValue)) {\n            $this->zoomScale = $pValue;\n        } else {\n            throw new PHPExcel_Exception(\"Scale must be greater than or equal to 1.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get ZoomScaleNormal\n     *\n     * @return int\n     */\n    public function getZoomScaleNormal()\n    {\n        return $this->zoomScaleNormal;\n    }\n\n    /**\n     * Set ZoomScale\n     *\n     * Valid values range from 10 to 400.\n     *\n     * @param     int     $pValue\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_SheetView\n     */\n    public function setZoomScaleNormal($pValue = 100)\n    {\n        if (($pValue >= 1) || is_null($pValue)) {\n            $this->zoomScaleNormal = $pValue;\n        } else {\n            throw new PHPExcel_Exception(\"Scale must be greater than or equal to 1.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Get View\n     *\n     * @return string\n     */\n    public function getView()\n    {\n        return $this->sheetviewType;\n    }\n\n    /**\n     * Set View\n     *\n     * Valid values are\n     *        'normal'            self::SHEETVIEW_NORMAL\n     *        'pageLayout'        self::SHEETVIEW_PAGE_LAYOUT\n     *        'pageBreakPreview'  self::SHEETVIEW_PAGE_BREAK_PREVIEW\n     *\n     * @param     string     $pValue\n     * @throws     PHPExcel_Exception\n     * @return PHPExcel_Worksheet_SheetView\n     */\n    public function setView($pValue = null)\n    {\n        // MS Excel 2007 allows setting the view to 'normal', 'pageLayout' or 'pageBreakPreview' via the user interface\n        if ($pValue === null) {\n            $pValue = self::SHEETVIEW_NORMAL;\n        }\n        if (in_array($pValue, self::$sheetViewTypes)) {\n            $this->sheetviewType = $pValue;\n        } else {\n            throw new PHPExcel_Exception(\"Invalid sheetview layout type.\");\n        }\n\n        return $this;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        $vars = get_object_vars($this);\n        foreach ($vars as $key => $value) {\n            if (is_object($value)) {\n                $this->$key = clone $value;\n            } else {\n                $this->$key = $value;\n            }\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Worksheet.php",
    "content": "<?php\n\n/**\n * PHPExcel_Worksheet\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Worksheet\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Worksheet implements PHPExcel_IComparable\n{\n    /* Break types */\n    const BREAK_NONE   = 0;\n    const BREAK_ROW    = 1;\n    const BREAK_COLUMN = 2;\n\n    /* Sheet state */\n    const SHEETSTATE_VISIBLE    = 'visible';\n    const SHEETSTATE_HIDDEN     = 'hidden';\n    const SHEETSTATE_VERYHIDDEN = 'veryHidden';\n\n    /**\n     * Invalid characters in sheet title\n     *\n     * @var array\n     */\n    private static $invalidCharacters = array('*', ':', '/', '\\\\', '?', '[', ']');\n\n    /**\n     * Parent spreadsheet\n     *\n     * @var PHPExcel\n     */\n    private $parent;\n\n    /**\n     * Cacheable collection of cells\n     *\n     * @var PHPExcel_CachedObjectStorage_xxx\n     */\n    private $cellCollection;\n\n    /**\n     * Collection of row dimensions\n     *\n     * @var PHPExcel_Worksheet_RowDimension[]\n     */\n    private $rowDimensions = array();\n\n    /**\n     * Default row dimension\n     *\n     * @var PHPExcel_Worksheet_RowDimension\n     */\n    private $defaultRowDimension;\n\n    /**\n     * Collection of column dimensions\n     *\n     * @var PHPExcel_Worksheet_ColumnDimension[]\n     */\n    private $columnDimensions = array();\n\n    /**\n     * Default column dimension\n     *\n     * @var PHPExcel_Worksheet_ColumnDimension\n     */\n    private $defaultColumnDimension = null;\n\n    /**\n     * Collection of drawings\n     *\n     * @var PHPExcel_Worksheet_BaseDrawing[]\n     */\n    private $drawingCollection = null;\n\n    /**\n     * Collection of Chart objects\n     *\n     * @var PHPExcel_Chart[]\n     */\n    private $chartCollection = array();\n\n    /**\n     * Worksheet title\n     *\n     * @var string\n     */\n    private $title;\n\n    /**\n     * Sheet state\n     *\n     * @var string\n     */\n    private $sheetState;\n\n    /**\n     * Page setup\n     *\n     * @var PHPExcel_Worksheet_PageSetup\n     */\n    private $pageSetup;\n\n    /**\n     * Page margins\n     *\n     * @var PHPExcel_Worksheet_PageMargins\n     */\n    private $pageMargins;\n\n    /**\n     * Page header/footer\n     *\n     * @var PHPExcel_Worksheet_HeaderFooter\n     */\n    private $headerFooter;\n\n    /**\n     * Sheet view\n     *\n     * @var PHPExcel_Worksheet_SheetView\n     */\n    private $sheetView;\n\n    /**\n     * Protection\n     *\n     * @var PHPExcel_Worksheet_Protection\n     */\n    private $protection;\n\n    /**\n     * Collection of styles\n     *\n     * @var PHPExcel_Style[]\n     */\n    private $styles = array();\n\n    /**\n     * Conditional styles. Indexed by cell coordinate, e.g. 'A1'\n     *\n     * @var array\n     */\n    private $conditionalStylesCollection = array();\n\n    /**\n     * Is the current cell collection sorted already?\n     *\n     * @var boolean\n     */\n    private $cellCollectionIsSorted = false;\n\n    /**\n     * Collection of breaks\n     *\n     * @var array\n     */\n    private $breaks = array();\n\n    /**\n     * Collection of merged cell ranges\n     *\n     * @var array\n     */\n    private $mergeCells = array();\n\n    /**\n     * Collection of protected cell ranges\n     *\n     * @var array\n     */\n    private $protectedCells = array();\n\n    /**\n     * Autofilter Range and selection\n     *\n     * @var PHPExcel_Worksheet_AutoFilter\n     */\n    private $autoFilter;\n\n    /**\n     * Freeze pane\n     *\n     * @var string\n     */\n    private $freezePane = '';\n\n    /**\n     * Show gridlines?\n     *\n     * @var boolean\n     */\n    private $showGridlines = true;\n\n    /**\n    * Print gridlines?\n    *\n    * @var boolean\n    */\n    private $printGridlines = false;\n\n    /**\n    * Show row and column headers?\n    *\n    * @var boolean\n    */\n    private $showRowColHeaders = true;\n\n    /**\n     * Show summary below? (Row/Column outline)\n     *\n     * @var boolean\n     */\n    private $showSummaryBelow = true;\n\n    /**\n     * Show summary right? (Row/Column outline)\n     *\n     * @var boolean\n     */\n    private $showSummaryRight = true;\n\n    /**\n     * Collection of comments\n     *\n     * @var PHPExcel_Comment[]\n     */\n    private $comments = array();\n\n    /**\n     * Active cell. (Only one!)\n     *\n     * @var string\n     */\n    private $activeCell = 'A1';\n\n    /**\n     * Selected cells\n     *\n     * @var string\n     */\n    private $selectedCells = 'A1';\n\n    /**\n     * Cached highest column\n     *\n     * @var string\n     */\n    private $cachedHighestColumn = 'A';\n\n    /**\n     * Cached highest row\n     *\n     * @var int\n     */\n    private $cachedHighestRow = 1;\n\n    /**\n     * Right-to-left?\n     *\n     * @var boolean\n     */\n    private $rightToLeft = false;\n\n    /**\n     * Hyperlinks. Indexed by cell coordinate, e.g. 'A1'\n     *\n     * @var array\n     */\n    private $hyperlinkCollection = array();\n\n    /**\n     * Data validation objects. Indexed by cell coordinate, e.g. 'A1'\n     *\n     * @var array\n     */\n    private $dataValidationCollection = array();\n\n    /**\n     * Tab color\n     *\n     * @var PHPExcel_Style_Color\n     */\n    private $tabColor;\n\n    /**\n     * Dirty flag\n     *\n     * @var boolean\n     */\n    private $dirty = true;\n\n    /**\n     * Hash\n     *\n     * @var string\n     */\n    private $hash;\n\n    /**\n    * CodeName\n    *\n    * @var string\n    */\n    private $codeName = null;\n\n    /**\n     * Create a new worksheet\n     *\n     * @param PHPExcel        $pParent\n     * @param string        $pTitle\n     */\n    public function __construct(PHPExcel $pParent = null, $pTitle = 'Worksheet')\n    {\n        // Set parent and title\n        $this->parent = $pParent;\n        $this->setTitle($pTitle, false);\n        // setTitle can change $pTitle\n        $this->setCodeName($this->getTitle());\n        $this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE);\n\n        $this->cellCollection         = PHPExcel_CachedObjectStorageFactory::getInstance($this);\n        // Set page setup\n        $this->pageSetup              = new PHPExcel_Worksheet_PageSetup();\n        // Set page margins\n        $this->pageMargins            = new PHPExcel_Worksheet_PageMargins();\n        // Set page header/footer\n        $this->headerFooter           = new PHPExcel_Worksheet_HeaderFooter();\n        // Set sheet view\n        $this->sheetView              = new PHPExcel_Worksheet_SheetView();\n        // Drawing collection\n        $this->drawingCollection      = new ArrayObject();\n        // Chart collection\n        $this->chartCollection        = new ArrayObject();\n        // Protection\n        $this->protection             = new PHPExcel_Worksheet_Protection();\n        // Default row dimension\n        $this->defaultRowDimension    = new PHPExcel_Worksheet_RowDimension(null);\n        // Default column dimension\n        $this->defaultColumnDimension = new PHPExcel_Worksheet_ColumnDimension(null);\n        $this->autoFilter             = new PHPExcel_Worksheet_AutoFilter(null, $this);\n    }\n\n\n    /**\n     * Disconnect all cells from this PHPExcel_Worksheet object,\n     *    typically so that the worksheet object can be unset\n     *\n     */\n    public function disconnectCells()\n    {\n        if ($this->cellCollection !== null) {\n            $this->cellCollection->unsetWorksheetCells();\n            $this->cellCollection = null;\n        }\n        //    detach ourself from the workbook, so that it can then delete this worksheet successfully\n        $this->parent = null;\n    }\n\n    /**\n     * Code to execute when this worksheet is unset()\n     *\n     */\n    public function __destruct()\n    {\n        PHPExcel_Calculation::getInstance($this->parent)->clearCalculationCacheForWorksheet($this->title);\n\n        $this->disconnectCells();\n    }\n\n   /**\n     * Return the cache controller for the cell collection\n     *\n     * @return PHPExcel_CachedObjectStorage_xxx\n     */\n    public function getCellCacheController()\n    {\n        return $this->cellCollection;\n    }\n\n\n    /**\n     * Get array of invalid characters for sheet title\n     *\n     * @return array\n     */\n    public static function getInvalidCharacters()\n    {\n        return self::$invalidCharacters;\n    }\n\n    /**\n     * Check sheet code name for valid Excel syntax\n     *\n     * @param string $pValue The string to check\n     * @return string The valid string\n     * @throws Exception\n     */\n    private static function checkSheetCodeName($pValue)\n    {\n        $CharCount = PHPExcel_Shared_String::CountCharacters($pValue);\n        if ($CharCount == 0) {\n            throw new PHPExcel_Exception('Sheet code name cannot be empty.');\n        }\n        // Some of the printable ASCII characters are invalid:  * : / \\ ? [ ] and  first and last characters cannot be a \"'\"\n        if ((str_replace(self::$invalidCharacters, '', $pValue) !== $pValue) ||\n            (PHPExcel_Shared_String::Substring($pValue, -1, 1)=='\\'') ||\n            (PHPExcel_Shared_String::Substring($pValue, 0, 1)=='\\'')) {\n            throw new PHPExcel_Exception('Invalid character found in sheet code name');\n        }\n\n        // Maximum 31 characters allowed for sheet title\n        if ($CharCount > 31) {\n            throw new PHPExcel_Exception('Maximum 31 characters allowed in sheet code name.');\n        }\n\n        return $pValue;\n    }\n\n   /**\n     * Check sheet title for valid Excel syntax\n     *\n     * @param string $pValue The string to check\n     * @return string The valid string\n     * @throws PHPExcel_Exception\n     */\n    private static function checkSheetTitle($pValue)\n    {\n        // Some of the printable ASCII characters are invalid:  * : / \\ ? [ ]\n        if (str_replace(self::$invalidCharacters, '', $pValue) !== $pValue) {\n            throw new PHPExcel_Exception('Invalid character found in sheet title');\n        }\n\n        // Maximum 31 characters allowed for sheet title\n        if (PHPExcel_Shared_String::CountCharacters($pValue) > 31) {\n            throw new PHPExcel_Exception('Maximum 31 characters allowed in sheet title.');\n        }\n\n        return $pValue;\n    }\n\n    /**\n     * Get collection of cells\n     *\n     * @param boolean $pSorted Also sort the cell collection?\n     * @return PHPExcel_Cell[]\n     */\n    public function getCellCollection($pSorted = true)\n    {\n        if ($pSorted) {\n            // Re-order cell collection\n            return $this->sortCellCollection();\n        }\n        if ($this->cellCollection !== null) {\n            return $this->cellCollection->getCellList();\n        }\n        return array();\n    }\n\n    /**\n     * Sort collection of cells\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function sortCellCollection()\n    {\n        if ($this->cellCollection !== null) {\n            return $this->cellCollection->getSortedCellList();\n        }\n        return array();\n    }\n\n    /**\n     * Get collection of row dimensions\n     *\n     * @return PHPExcel_Worksheet_RowDimension[]\n     */\n    public function getRowDimensions()\n    {\n        return $this->rowDimensions;\n    }\n\n    /**\n     * Get default row dimension\n     *\n     * @return PHPExcel_Worksheet_RowDimension\n     */\n    public function getDefaultRowDimension()\n    {\n        return $this->defaultRowDimension;\n    }\n\n    /**\n     * Get collection of column dimensions\n     *\n     * @return PHPExcel_Worksheet_ColumnDimension[]\n     */\n    public function getColumnDimensions()\n    {\n        return $this->columnDimensions;\n    }\n\n    /**\n     * Get default column dimension\n     *\n     * @return PHPExcel_Worksheet_ColumnDimension\n     */\n    public function getDefaultColumnDimension()\n    {\n        return $this->defaultColumnDimension;\n    }\n\n    /**\n     * Get collection of drawings\n     *\n     * @return PHPExcel_Worksheet_BaseDrawing[]\n     */\n    public function getDrawingCollection()\n    {\n        return $this->drawingCollection;\n    }\n\n    /**\n     * Get collection of charts\n     *\n     * @return PHPExcel_Chart[]\n     */\n    public function getChartCollection()\n    {\n        return $this->chartCollection;\n    }\n\n    /**\n     * Add chart\n     *\n     * @param PHPExcel_Chart $pChart\n     * @param int|null $iChartIndex Index where chart should go (0,1,..., or null for last)\n     * @return PHPExcel_Chart\n     */\n    public function addChart(PHPExcel_Chart $pChart = null, $iChartIndex = null)\n    {\n        $pChart->setWorksheet($this);\n        if (is_null($iChartIndex)) {\n            $this->chartCollection[] = $pChart;\n        } else {\n            // Insert the chart at the requested index\n            array_splice($this->chartCollection, $iChartIndex, 0, array($pChart));\n        }\n\n        return $pChart;\n    }\n\n    /**\n     * Return the count of charts on this worksheet\n     *\n     * @return int        The number of charts\n     */\n    public function getChartCount()\n    {\n        return count($this->chartCollection);\n    }\n\n    /**\n     * Get a chart by its index position\n     *\n     * @param string $index Chart index position\n     * @return false|PHPExcel_Chart\n     * @throws PHPExcel_Exception\n     */\n    public function getChartByIndex($index = null)\n    {\n        $chartCount = count($this->chartCollection);\n        if ($chartCount == 0) {\n            return false;\n        }\n        if (is_null($index)) {\n            $index = --$chartCount;\n        }\n        if (!isset($this->chartCollection[$index])) {\n            return false;\n        }\n\n        return $this->chartCollection[$index];\n    }\n\n    /**\n     * Return an array of the names of charts on this worksheet\n     *\n     * @return string[] The names of charts\n     * @throws PHPExcel_Exception\n     */\n    public function getChartNames()\n    {\n        $chartNames = array();\n        foreach ($this->chartCollection as $chart) {\n            $chartNames[] = $chart->getName();\n        }\n        return $chartNames;\n    }\n\n    /**\n     * Get a chart by name\n     *\n     * @param string $chartName Chart name\n     * @return false|PHPExcel_Chart\n     * @throws PHPExcel_Exception\n     */\n    public function getChartByName($chartName = '')\n    {\n        $chartCount = count($this->chartCollection);\n        if ($chartCount == 0) {\n            return false;\n        }\n        foreach ($this->chartCollection as $index => $chart) {\n            if ($chart->getName() == $chartName) {\n                return $this->chartCollection[$index];\n            }\n        }\n        return false;\n    }\n\n    /**\n     * Refresh column dimensions\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function refreshColumnDimensions()\n    {\n        $currentColumnDimensions = $this->getColumnDimensions();\n        $newColumnDimensions = array();\n\n        foreach ($currentColumnDimensions as $objColumnDimension) {\n            $newColumnDimensions[$objColumnDimension->getColumnIndex()] = $objColumnDimension;\n        }\n\n        $this->columnDimensions = $newColumnDimensions;\n\n        return $this;\n    }\n\n    /**\n     * Refresh row dimensions\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function refreshRowDimensions()\n    {\n        $currentRowDimensions = $this->getRowDimensions();\n        $newRowDimensions = array();\n\n        foreach ($currentRowDimensions as $objRowDimension) {\n            $newRowDimensions[$objRowDimension->getRowIndex()] = $objRowDimension;\n        }\n\n        $this->rowDimensions = $newRowDimensions;\n\n        return $this;\n    }\n\n    /**\n     * Calculate worksheet dimension\n     *\n     * @return string  String containing the dimension of this worksheet\n     */\n    public function calculateWorksheetDimension()\n    {\n        // Return\n        return 'A1' . ':' .  $this->getHighestColumn() . $this->getHighestRow();\n    }\n\n    /**\n     * Calculate worksheet data dimension\n     *\n     * @return string  String containing the dimension of this worksheet that actually contain data\n     */\n    public function calculateWorksheetDataDimension()\n    {\n        // Return\n        return 'A1' . ':' .  $this->getHighestDataColumn() . $this->getHighestDataRow();\n    }\n\n    /**\n     * Calculate widths for auto-size columns\n     *\n     * @param  boolean  $calculateMergeCells  Calculate merge cell width\n     * @return PHPExcel_Worksheet;\n     */\n    public function calculateColumnWidths($calculateMergeCells = false)\n    {\n        // initialize $autoSizes array\n        $autoSizes = array();\n        foreach ($this->getColumnDimensions() as $colDimension) {\n            if ($colDimension->getAutoSize()) {\n                $autoSizes[$colDimension->getColumnIndex()] = -1;\n            }\n        }\n\n        // There is only something to do if there are some auto-size columns\n        if (!empty($autoSizes)) {\n            // build list of cells references that participate in a merge\n            $isMergeCell = array();\n            foreach ($this->getMergeCells() as $cells) {\n                foreach (PHPExcel_Cell::extractAllCellReferencesInRange($cells) as $cellReference) {\n                    $isMergeCell[$cellReference] = true;\n                }\n            }\n\n            // loop through all cells in the worksheet\n            foreach ($this->getCellCollection(false) as $cellID) {\n                $cell = $this->getCell($cellID, false);\n                if ($cell !== null && isset($autoSizes[$this->cellCollection->getCurrentColumn()])) {\n                    // Determine width if cell does not participate in a merge\n                    if (!isset($isMergeCell[$this->cellCollection->getCurrentAddress()])) {\n                        // Calculated value\n                        // To formatted string\n                        $cellValue = PHPExcel_Style_NumberFormat::toFormattedString(\n                            $cell->getCalculatedValue(),\n                            $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getNumberFormat()->getFormatCode()\n                        );\n\n                        $autoSizes[$this->cellCollection->getCurrentColumn()] = max(\n                            (float) $autoSizes[$this->cellCollection->getCurrentColumn()],\n                            (float)PHPExcel_Shared_Font::calculateColumnWidth(\n                                $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont(),\n                                $cellValue,\n                                $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getAlignment()->getTextRotation(),\n                                $this->getDefaultStyle()->getFont()\n                            )\n                        );\n                    }\n                }\n            }\n\n            // adjust column widths\n            foreach ($autoSizes as $columnIndex => $width) {\n                if ($width == -1) {\n                    $width = $this->getDefaultColumnDimension()->getWidth();\n                }\n                $this->getColumnDimension($columnIndex)->setWidth($width);\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get parent\n     *\n     * @return PHPExcel\n     */\n    public function getParent()\n    {\n        return $this->parent;\n    }\n\n    /**\n     * Re-bind parent\n     *\n     * @param PHPExcel $parent\n     * @return PHPExcel_Worksheet\n     */\n    public function rebindParent(PHPExcel $parent)\n    {\n        if ($this->parent !== null) {\n            $namedRanges = $this->parent->getNamedRanges();\n            foreach ($namedRanges as $namedRange) {\n                $parent->addNamedRange($namedRange);\n            }\n\n            $this->parent->removeSheetByIndex(\n                $this->parent->getIndex($this)\n            );\n        }\n        $this->parent = $parent;\n\n        return $this;\n    }\n\n    /**\n     * Get title\n     *\n     * @return string\n     */\n    public function getTitle()\n    {\n        return $this->title;\n    }\n\n    /**\n     * Set title\n     *\n     * @param string $pValue String containing the dimension of this worksheet\n     * @param string $updateFormulaCellReferences boolean Flag indicating whether cell references in formulae should\n     *            be updated to reflect the new sheet name.\n     *          This should be left as the default true, unless you are\n     *          certain that no formula cells on any worksheet contain\n     *          references to this worksheet\n     * @return PHPExcel_Worksheet\n     */\n    public function setTitle($pValue = 'Worksheet', $updateFormulaCellReferences = true)\n    {\n        // Is this a 'rename' or not?\n        if ($this->getTitle() == $pValue) {\n            return $this;\n        }\n\n        // Syntax check\n        self::checkSheetTitle($pValue);\n\n        // Old title\n        $oldTitle = $this->getTitle();\n\n        if ($this->parent) {\n            // Is there already such sheet name?\n            if ($this->parent->sheetNameExists($pValue)) {\n                // Use name, but append with lowest possible integer\n\n                if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) {\n                    $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 29);\n                }\n                $i = 1;\n                while ($this->parent->sheetNameExists($pValue . ' ' . $i)) {\n                    ++$i;\n                    if ($i == 10) {\n                        if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) {\n                            $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 28);\n                        }\n                    } elseif ($i == 100) {\n                        if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) {\n                            $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 27);\n                        }\n                    }\n                }\n\n                $altTitle = $pValue . ' ' . $i;\n                return $this->setTitle($altTitle, $updateFormulaCellReferences);\n            }\n        }\n\n        // Set title\n        $this->title = $pValue;\n        $this->dirty = true;\n\n        if ($this->parent && $this->parent->getCalculationEngine()) {\n            // New title\n            $newTitle = $this->getTitle();\n            $this->parent->getCalculationEngine()\n                ->renameCalculationCacheForWorksheet($oldTitle, $newTitle);\n            if ($updateFormulaCellReferences) {\n                PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->parent, $oldTitle, $newTitle);\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Get sheet state\n     *\n     * @return string Sheet state (visible, hidden, veryHidden)\n     */\n    public function getSheetState()\n    {\n        return $this->sheetState;\n    }\n\n    /**\n     * Set sheet state\n     *\n     * @param string $value Sheet state (visible, hidden, veryHidden)\n     * @return PHPExcel_Worksheet\n     */\n    public function setSheetState($value = PHPExcel_Worksheet::SHEETSTATE_VISIBLE)\n    {\n        $this->sheetState = $value;\n        return $this;\n    }\n\n    /**\n     * Get page setup\n     *\n     * @return PHPExcel_Worksheet_PageSetup\n     */\n    public function getPageSetup()\n    {\n        return $this->pageSetup;\n    }\n\n    /**\n     * Set page setup\n     *\n     * @param PHPExcel_Worksheet_PageSetup    $pValue\n     * @return PHPExcel_Worksheet\n     */\n    public function setPageSetup(PHPExcel_Worksheet_PageSetup $pValue)\n    {\n        $this->pageSetup = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get page margins\n     *\n     * @return PHPExcel_Worksheet_PageMargins\n     */\n    public function getPageMargins()\n    {\n        return $this->pageMargins;\n    }\n\n    /**\n     * Set page margins\n     *\n     * @param PHPExcel_Worksheet_PageMargins    $pValue\n     * @return PHPExcel_Worksheet\n     */\n    public function setPageMargins(PHPExcel_Worksheet_PageMargins $pValue)\n    {\n        $this->pageMargins = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get page header/footer\n     *\n     * @return PHPExcel_Worksheet_HeaderFooter\n     */\n    public function getHeaderFooter()\n    {\n        return $this->headerFooter;\n    }\n\n    /**\n     * Set page header/footer\n     *\n     * @param PHPExcel_Worksheet_HeaderFooter    $pValue\n     * @return PHPExcel_Worksheet\n     */\n    public function setHeaderFooter(PHPExcel_Worksheet_HeaderFooter $pValue)\n    {\n        $this->headerFooter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get sheet view\n     *\n     * @return PHPExcel_Worksheet_SheetView\n     */\n    public function getSheetView()\n    {\n        return $this->sheetView;\n    }\n\n    /**\n     * Set sheet view\n     *\n     * @param PHPExcel_Worksheet_SheetView    $pValue\n     * @return PHPExcel_Worksheet\n     */\n    public function setSheetView(PHPExcel_Worksheet_SheetView $pValue)\n    {\n        $this->sheetView = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Protection\n     *\n     * @return PHPExcel_Worksheet_Protection\n     */\n    public function getProtection()\n    {\n        return $this->protection;\n    }\n\n    /**\n     * Set Protection\n     *\n     * @param PHPExcel_Worksheet_Protection    $pValue\n     * @return PHPExcel_Worksheet\n     */\n    public function setProtection(PHPExcel_Worksheet_Protection $pValue)\n    {\n        $this->protection = $pValue;\n        $this->dirty = true;\n\n        return $this;\n    }\n\n    /**\n     * Get highest worksheet column\n     *\n     * @param   string     $row        Return the data highest column for the specified row,\n     *                                     or the highest column of any row if no row number is passed\n     * @return string Highest column name\n     */\n    public function getHighestColumn($row = null)\n    {\n        if ($row == null) {\n            return $this->cachedHighestColumn;\n        }\n        return $this->getHighestDataColumn($row);\n    }\n\n    /**\n     * Get highest worksheet column that contains data\n     *\n     * @param   string     $row        Return the highest data column for the specified row,\n     *                                     or the highest data column of any row if no row number is passed\n     * @return string Highest column name that contains data\n     */\n    public function getHighestDataColumn($row = null)\n    {\n        return $this->cellCollection->getHighestColumn($row);\n    }\n\n    /**\n     * Get highest worksheet row\n     *\n     * @param   string     $column     Return the highest data row for the specified column,\n     *                                     or the highest row of any column if no column letter is passed\n     * @return int Highest row number\n     */\n    public function getHighestRow($column = null)\n    {\n        if ($column == null) {\n            return $this->cachedHighestRow;\n        }\n        return $this->getHighestDataRow($column);\n    }\n\n    /**\n     * Get highest worksheet row that contains data\n     *\n     * @param   string     $column     Return the highest data row for the specified column,\n     *                                     or the highest data row of any column if no column letter is passed\n     * @return string Highest row number that contains data\n     */\n    public function getHighestDataRow($column = null)\n    {\n        return $this->cellCollection->getHighestRow($column);\n    }\n\n    /**\n     * Get highest worksheet column and highest row that have cell records\n     *\n     * @return array Highest column name and highest row number\n     */\n    public function getHighestRowAndColumn()\n    {\n        return $this->cellCollection->getHighestRowAndColumn();\n    }\n\n    /**\n     * Set a cell value\n     *\n     * @param string $pCoordinate Coordinate of the cell\n     * @param mixed $pValue Value of the cell\n     * @param bool $returnCell   Return the worksheet (false, default) or the cell (true)\n     * @return PHPExcel_Worksheet|PHPExcel_Cell    Depending on the last parameter being specified\n     */\n    public function setCellValue($pCoordinate = 'A1', $pValue = null, $returnCell = false)\n    {\n        $cell = $this->getCell(strtoupper($pCoordinate))->setValue($pValue);\n        return ($returnCell) ? $cell : $this;\n    }\n\n    /**\n     * Set a cell value by using numeric cell coordinates\n     *\n     * @param string $pColumn Numeric column coordinate of the cell (A = 0)\n     * @param string $pRow Numeric row coordinate of the cell\n     * @param mixed $pValue Value of the cell\n     * @param bool $returnCell Return the worksheet (false, default) or the cell (true)\n     * @return PHPExcel_Worksheet|PHPExcel_Cell    Depending on the last parameter being specified\n     */\n    public function setCellValueByColumnAndRow($pColumn = 0, $pRow = 1, $pValue = null, $returnCell = false)\n    {\n        $cell = $this->getCellByColumnAndRow($pColumn, $pRow)->setValue($pValue);\n        return ($returnCell) ? $cell : $this;\n    }\n\n    /**\n     * Set a cell value\n     *\n     * @param string $pCoordinate Coordinate of the cell\n     * @param mixed  $pValue Value of the cell\n     * @param string $pDataType Explicit data type\n     * @param bool $returnCell Return the worksheet (false, default) or the cell (true)\n     * @return PHPExcel_Worksheet|PHPExcel_Cell    Depending on the last parameter being specified\n     */\n    public function setCellValueExplicit($pCoordinate = 'A1', $pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING, $returnCell = false)\n    {\n        // Set value\n        $cell = $this->getCell(strtoupper($pCoordinate))->setValueExplicit($pValue, $pDataType);\n        return ($returnCell) ? $cell : $this;\n    }\n\n    /**\n     * Set a cell value by using numeric cell coordinates\n     *\n     * @param string $pColumn Numeric column coordinate of the cell\n     * @param string $pRow Numeric row coordinate of the cell\n     * @param mixed $pValue Value of the cell\n     * @param string $pDataType Explicit data type\n     * @param bool $returnCell Return the worksheet (false, default) or the cell (true)\n     * @return PHPExcel_Worksheet|PHPExcel_Cell    Depending on the last parameter being specified\n     */\n    public function setCellValueExplicitByColumnAndRow($pColumn = 0, $pRow = 1, $pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING, $returnCell = false)\n    {\n        $cell = $this->getCellByColumnAndRow($pColumn, $pRow)->setValueExplicit($pValue, $pDataType);\n        return ($returnCell) ? $cell : $this;\n    }\n\n    /**\n     * Get cell at a specific coordinate\n     *\n     * @param string $pCoordinate    Coordinate of the cell\n     * @param boolean $createIfNotExists  Flag indicating whether a new cell should be created if it doesn't\n     *                                       already exist, or a null should be returned instead\n     * @throws PHPExcel_Exception\n     * @return null|PHPExcel_Cell Cell that was found/created or null\n     */\n    public function getCell($pCoordinate = 'A1', $createIfNotExists = true)\n    {\n        // Check cell collection\n        if ($this->cellCollection->isDataSet(strtoupper($pCoordinate))) {\n            return $this->cellCollection->getCacheData($pCoordinate);\n        }\n\n        // Worksheet reference?\n        if (strpos($pCoordinate, '!') !== false) {\n            $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true);\n            return $this->parent->getSheetByName($worksheetReference[0])->getCell(strtoupper($worksheetReference[1]), $createIfNotExists);\n        }\n\n        // Named range?\n        if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) &&\n            (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $pCoordinate, $matches))) {\n            $namedRange = PHPExcel_NamedRange::resolveRange($pCoordinate, $this);\n            if ($namedRange !== null) {\n                $pCoordinate = $namedRange->getRange();\n                return $namedRange->getWorksheet()->getCell($pCoordinate, $createIfNotExists);\n            }\n        }\n\n        // Uppercase coordinate\n        $pCoordinate = strtoupper($pCoordinate);\n\n        if (strpos($pCoordinate, ':') !== false || strpos($pCoordinate, ',') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate can not be a range of cells.');\n        } elseif (strpos($pCoordinate, '$') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate must not be absolute.');\n        }\n\n        // Create new cell object, if required\n        return $createIfNotExists ? $this->createNewCell($pCoordinate) : null;\n    }\n\n    /**\n     * Get cell at a specific coordinate by using numeric cell coordinates\n     *\n     * @param  string $pColumn Numeric column coordinate of the cell (starting from 0)\n     * @param string $pRow Numeric row coordinate of the cell\n     * @param boolean $createIfNotExists  Flag indicating whether a new cell should be created if it doesn't\n     *                                       already exist, or a null should be returned instead\n     * @return null|PHPExcel_Cell Cell that was found/created or null\n     */\n    public function getCellByColumnAndRow($pColumn = 0, $pRow = 1, $createIfNotExists = true)\n    {\n        $columnLetter = PHPExcel_Cell::stringFromColumnIndex($pColumn);\n        $coordinate = $columnLetter . $pRow;\n\n        if ($this->cellCollection->isDataSet($coordinate)) {\n            return $this->cellCollection->getCacheData($coordinate);\n        }\n\n        // Create new cell object, if required\n        return $createIfNotExists ? $this->createNewCell($coordinate) : null;\n    }\n\n    /**\n     * Create a new cell at the specified coordinate\n     *\n     * @param string $pCoordinate    Coordinate of the cell\n     * @return PHPExcel_Cell Cell that was created\n     */\n    private function createNewCell($pCoordinate)\n    {\n        $cell = $this->cellCollection->addCacheData(\n            $pCoordinate,\n            new PHPExcel_Cell(null, PHPExcel_Cell_DataType::TYPE_NULL, $this)\n        );\n        $this->cellCollectionIsSorted = false;\n\n        // Coordinates\n        $aCoordinates = PHPExcel_Cell::coordinateFromString($pCoordinate);\n        if (PHPExcel_Cell::columnIndexFromString($this->cachedHighestColumn) < PHPExcel_Cell::columnIndexFromString($aCoordinates[0])) {\n            $this->cachedHighestColumn = $aCoordinates[0];\n        }\n        $this->cachedHighestRow = max($this->cachedHighestRow, $aCoordinates[1]);\n\n        // Cell needs appropriate xfIndex from dimensions records\n        //    but don't create dimension records if they don't already exist\n        $rowDimension    = $this->getRowDimension($aCoordinates[1], false);\n        $columnDimension = $this->getColumnDimension($aCoordinates[0], false);\n\n        if ($rowDimension !== null && $rowDimension->getXfIndex() > 0) {\n            // then there is a row dimension with explicit style, assign it to the cell\n            $cell->setXfIndex($rowDimension->getXfIndex());\n        } elseif ($columnDimension !== null && $columnDimension->getXfIndex() > 0) {\n            // then there is a column dimension, assign it to the cell\n            $cell->setXfIndex($columnDimension->getXfIndex());\n        }\n\n        return $cell;\n    }\n\n    /**\n     * Does the cell at a specific coordinate exist?\n     *\n     * @param string $pCoordinate  Coordinate of the cell\n     * @throws PHPExcel_Exception\n     * @return boolean\n     */\n    public function cellExists($pCoordinate = 'A1')\n    {\n       // Worksheet reference?\n        if (strpos($pCoordinate, '!') !== false) {\n            $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true);\n            return $this->parent->getSheetByName($worksheetReference[0])->cellExists(strtoupper($worksheetReference[1]));\n        }\n\n        // Named range?\n        if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) &&\n            (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $pCoordinate, $matches))) {\n            $namedRange = PHPExcel_NamedRange::resolveRange($pCoordinate, $this);\n            if ($namedRange !== null) {\n                $pCoordinate = $namedRange->getRange();\n                if ($this->getHashCode() != $namedRange->getWorksheet()->getHashCode()) {\n                    if (!$namedRange->getLocalOnly()) {\n                        return $namedRange->getWorksheet()->cellExists($pCoordinate);\n                    } else {\n                        throw new PHPExcel_Exception('Named range ' . $namedRange->getName() . ' is not accessible from within sheet ' . $this->getTitle());\n                    }\n                }\n            } else {\n                return false;\n            }\n        }\n\n        // Uppercase coordinate\n        $pCoordinate = strtoupper($pCoordinate);\n\n        if (strpos($pCoordinate, ':') !== false || strpos($pCoordinate, ',') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate can not be a range of cells.');\n        } elseif (strpos($pCoordinate, '$') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate must not be absolute.');\n        } else {\n            // Coordinates\n            $aCoordinates = PHPExcel_Cell::coordinateFromString($pCoordinate);\n\n            // Cell exists?\n            return $this->cellCollection->isDataSet($pCoordinate);\n        }\n    }\n\n    /**\n     * Cell at a specific coordinate by using numeric cell coordinates exists?\n     *\n     * @param string $pColumn Numeric column coordinate of the cell\n     * @param string $pRow Numeric row coordinate of the cell\n     * @return boolean\n     */\n    public function cellExistsByColumnAndRow($pColumn = 0, $pRow = 1)\n    {\n        return $this->cellExists(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow);\n    }\n\n    /**\n     * Get row dimension at a specific row\n     *\n     * @param int $pRow Numeric index of the row\n     * @return PHPExcel_Worksheet_RowDimension\n     */\n    public function getRowDimension($pRow = 1, $create = true)\n    {\n        // Found\n        $found = null;\n\n        // Get row dimension\n        if (!isset($this->rowDimensions[$pRow])) {\n            if (!$create) {\n                return null;\n            }\n            $this->rowDimensions[$pRow] = new PHPExcel_Worksheet_RowDimension($pRow);\n\n            $this->cachedHighestRow = max($this->cachedHighestRow, $pRow);\n        }\n        return $this->rowDimensions[$pRow];\n    }\n\n    /**\n     * Get column dimension at a specific column\n     *\n     * @param string $pColumn String index of the column\n     * @return PHPExcel_Worksheet_ColumnDimension\n     */\n    public function getColumnDimension($pColumn = 'A', $create = true)\n    {\n        // Uppercase coordinate\n        $pColumn = strtoupper($pColumn);\n\n        // Fetch dimensions\n        if (!isset($this->columnDimensions[$pColumn])) {\n            if (!$create) {\n                return null;\n            }\n            $this->columnDimensions[$pColumn] = new PHPExcel_Worksheet_ColumnDimension($pColumn);\n\n            if (PHPExcel_Cell::columnIndexFromString($this->cachedHighestColumn) < PHPExcel_Cell::columnIndexFromString($pColumn)) {\n                $this->cachedHighestColumn = $pColumn;\n            }\n        }\n        return $this->columnDimensions[$pColumn];\n    }\n\n    /**\n     * Get column dimension at a specific column by using numeric cell coordinates\n     *\n     * @param string $pColumn Numeric column coordinate of the cell\n     * @return PHPExcel_Worksheet_ColumnDimension\n     */\n    public function getColumnDimensionByColumn($pColumn = 0)\n    {\n        return $this->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($pColumn));\n    }\n\n    /**\n     * Get styles\n     *\n     * @return PHPExcel_Style[]\n     */\n    public function getStyles()\n    {\n        return $this->styles;\n    }\n\n    /**\n     * Get default style of workbook.\n     *\n     * @deprecated\n     * @return PHPExcel_Style\n     * @throws PHPExcel_Exception\n     */\n    public function getDefaultStyle()\n    {\n        return $this->parent->getDefaultStyle();\n    }\n\n    /**\n     * Set default style - should only be used by PHPExcel_IReader implementations!\n     *\n     * @deprecated\n     * @param PHPExcel_Style $pValue\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function setDefaultStyle(PHPExcel_Style $pValue)\n    {\n        $this->parent->getDefaultStyle()->applyFromArray(array(\n            'font' => array(\n                'name' => $pValue->getFont()->getName(),\n                'size' => $pValue->getFont()->getSize(),\n            ),\n        ));\n        return $this;\n    }\n\n    /**\n     * Get style for cell\n     *\n     * @param string $pCellCoordinate Cell coordinate (or range) to get style for\n     * @return PHPExcel_Style\n     * @throws PHPExcel_Exception\n     */\n    public function getStyle($pCellCoordinate = 'A1')\n    {\n        // set this sheet as active\n        $this->parent->setActiveSheetIndex($this->parent->getIndex($this));\n\n        // set cell coordinate as active\n        $this->setSelectedCells(strtoupper($pCellCoordinate));\n\n        return $this->parent->getCellXfSupervisor();\n    }\n\n    /**\n     * Get conditional styles for a cell\n     *\n     * @param string $pCoordinate\n     * @return PHPExcel_Style_Conditional[]\n     */\n    public function getConditionalStyles($pCoordinate = 'A1')\n    {\n        $pCoordinate = strtoupper($pCoordinate);\n        if (!isset($this->conditionalStylesCollection[$pCoordinate])) {\n            $this->conditionalStylesCollection[$pCoordinate] = array();\n        }\n        return $this->conditionalStylesCollection[$pCoordinate];\n    }\n\n    /**\n     * Do conditional styles exist for this cell?\n     *\n     * @param string $pCoordinate\n     * @return boolean\n     */\n    public function conditionalStylesExists($pCoordinate = 'A1')\n    {\n        if (isset($this->conditionalStylesCollection[strtoupper($pCoordinate)])) {\n            return true;\n        }\n        return false;\n    }\n\n    /**\n     * Removes conditional styles for a cell\n     *\n     * @param string $pCoordinate\n     * @return PHPExcel_Worksheet\n     */\n    public function removeConditionalStyles($pCoordinate = 'A1')\n    {\n        unset($this->conditionalStylesCollection[strtoupper($pCoordinate)]);\n        return $this;\n    }\n\n    /**\n     * Get collection of conditional styles\n     *\n     * @return array\n     */\n    public function getConditionalStylesCollection()\n    {\n        return $this->conditionalStylesCollection;\n    }\n\n    /**\n     * Set conditional styles\n     *\n     * @param $pCoordinate string E.g. 'A1'\n     * @param $pValue PHPExcel_Style_Conditional[]\n     * @return PHPExcel_Worksheet\n     */\n    public function setConditionalStyles($pCoordinate = 'A1', $pValue)\n    {\n        $this->conditionalStylesCollection[strtoupper($pCoordinate)] = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get style for cell by using numeric cell coordinates\n     *\n     * @param int $pColumn  Numeric column coordinate of the cell\n     * @param int $pRow Numeric row coordinate of the cell\n     * @param int pColumn2 Numeric column coordinate of the range cell\n     * @param int pRow2 Numeric row coordinate of the range cell\n     * @return PHPExcel_Style\n     */\n    public function getStyleByColumnAndRow($pColumn = 0, $pRow = 1, $pColumn2 = null, $pRow2 = null)\n    {\n        if (!is_null($pColumn2) && !is_null($pRow2)) {\n            $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2;\n            return $this->getStyle($cellRange);\n        }\n\n        return $this->getStyle(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow);\n    }\n\n    /**\n     * Set shared cell style to a range of cells\n     *\n     * Please note that this will overwrite existing cell styles for cells in range!\n     *\n     * @deprecated\n     * @param PHPExcel_Style $pSharedCellStyle Cell style to share\n     * @param string $pRange Range of cells (i.e. \"A1:B10\"), or just one cell (i.e. \"A1\")\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function setSharedStyle(PHPExcel_Style $pSharedCellStyle = null, $pRange = '')\n    {\n        $this->duplicateStyle($pSharedCellStyle, $pRange);\n        return $this;\n    }\n\n    /**\n     * Duplicate cell style to a range of cells\n     *\n     * Please note that this will overwrite existing cell styles for cells in range!\n     *\n     * @param PHPExcel_Style $pCellStyle Cell style to duplicate\n     * @param string $pRange Range of cells (i.e. \"A1:B10\"), or just one cell (i.e. \"A1\")\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function duplicateStyle(PHPExcel_Style $pCellStyle = null, $pRange = '')\n    {\n        // make sure we have a real style and not supervisor\n        $style = $pCellStyle->getIsSupervisor() ? $pCellStyle->getSharedComponent() : $pCellStyle;\n\n        // Add the style to the workbook if necessary\n        $workbook = $this->parent;\n        if ($existingStyle = $this->parent->getCellXfByHashCode($pCellStyle->getHashCode())) {\n            // there is already such cell Xf in our collection\n            $xfIndex = $existingStyle->getIndex();\n        } else {\n            // we don't have such a cell Xf, need to add\n            $workbook->addCellXf($pCellStyle);\n            $xfIndex = $pCellStyle->getIndex();\n        }\n\n        // Calculate range outer borders\n        list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange . ':' . $pRange);\n\n        // Make sure we can loop upwards on rows and columns\n        if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) {\n            $tmp = $rangeStart;\n            $rangeStart = $rangeEnd;\n            $rangeEnd = $tmp;\n        }\n\n        // Loop through cells and apply styles\n        for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {\n            for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {\n                $this->getCell(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row)->setXfIndex($xfIndex);\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Duplicate conditional style to a range of cells\n     *\n     * Please note that this will overwrite existing cell styles for cells in range!\n     *\n     * @param    array of PHPExcel_Style_Conditional    $pCellStyle    Cell style to duplicate\n     * @param string $pRange Range of cells (i.e. \"A1:B10\"), or just one cell (i.e. \"A1\")\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function duplicateConditionalStyle(array $pCellStyle = null, $pRange = '')\n    {\n        foreach ($pCellStyle as $cellStyle) {\n            if (!($cellStyle instanceof PHPExcel_Style_Conditional)) {\n                throw new PHPExcel_Exception('Style is not a conditional style');\n            }\n        }\n\n        // Calculate range outer borders\n        list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange . ':' . $pRange);\n\n        // Make sure we can loop upwards on rows and columns\n        if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) {\n            $tmp = $rangeStart;\n            $rangeStart = $rangeEnd;\n            $rangeEnd = $tmp;\n        }\n\n        // Loop through cells and apply styles\n        for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {\n            for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {\n                $this->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row, $pCellStyle);\n            }\n        }\n\n        return $this;\n    }\n\n    /**\n     * Duplicate cell style array to a range of cells\n     *\n     * Please note that this will overwrite existing cell styles for cells in range,\n     * if they are in the styles array. For example, if you decide to set a range of\n     * cells to font bold, only include font bold in the styles array.\n     *\n     * @deprecated\n     * @param array $pStyles Array containing style information\n     * @param string $pRange Range of cells (i.e. \"A1:B10\"), or just one cell (i.e. \"A1\")\n     * @param boolean $pAdvanced Advanced mode for setting borders.\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function duplicateStyleArray($pStyles = null, $pRange = '', $pAdvanced = true)\n    {\n        $this->getStyle($pRange)->applyFromArray($pStyles, $pAdvanced);\n        return $this;\n    }\n\n    /**\n     * Set break on a cell\n     *\n     * @param string $pCell Cell coordinate (e.g. A1)\n     * @param int $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*)\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function setBreak($pCell = 'A1', $pBreak = PHPExcel_Worksheet::BREAK_NONE)\n    {\n        // Uppercase coordinate\n        $pCell = strtoupper($pCell);\n\n        if ($pCell != '') {\n            if ($pBreak == PHPExcel_Worksheet::BREAK_NONE) {\n                if (isset($this->breaks[$pCell])) {\n                    unset($this->breaks[$pCell]);\n                }\n            } else {\n                $this->breaks[$pCell] = $pBreak;\n            }\n        } else {\n            throw new PHPExcel_Exception('No cell coordinate specified.');\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set break on a cell by using numeric cell coordinates\n     *\n     * @param integer $pColumn Numeric column coordinate of the cell\n     * @param integer $pRow Numeric row coordinate of the cell\n     * @param  integer $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*)\n     * @return PHPExcel_Worksheet\n     */\n    public function setBreakByColumnAndRow($pColumn = 0, $pRow = 1, $pBreak = PHPExcel_Worksheet::BREAK_NONE)\n    {\n        return $this->setBreak(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow, $pBreak);\n    }\n\n    /**\n     * Get breaks\n     *\n     * @return array[]\n     */\n    public function getBreaks()\n    {\n        return $this->breaks;\n    }\n\n    /**\n     * Set merge on a cell range\n     *\n     * @param string $pRange  Cell range (e.g. A1:E1)\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function mergeCells($pRange = 'A1:A1')\n    {\n        // Uppercase coordinate\n        $pRange = strtoupper($pRange);\n\n        if (strpos($pRange, ':') !== false) {\n            $this->mergeCells[$pRange] = $pRange;\n\n            // make sure cells are created\n\n            // get the cells in the range\n            $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange);\n\n            // create upper left cell if it does not already exist\n            $upperLeft = $aReferences[0];\n            if (!$this->cellExists($upperLeft)) {\n                $this->getCell($upperLeft)->setValueExplicit(null, PHPExcel_Cell_DataType::TYPE_NULL);\n            }\n\n            // Blank out the rest of the cells in the range (if they exist)\n            $count = count($aReferences);\n            for ($i = 1; $i < $count; $i++) {\n                if ($this->cellExists($aReferences[$i])) {\n                    $this->getCell($aReferences[$i])->setValueExplicit(null, PHPExcel_Cell_DataType::TYPE_NULL);\n                }\n            }\n        } else {\n            throw new PHPExcel_Exception('Merge must be set on a range of cells.');\n        }\n\n        return $this;\n    }\n\n    /**\n     * Set merge on a cell range by using numeric cell coordinates\n     *\n     * @param int $pColumn1    Numeric column coordinate of the first cell\n     * @param int $pRow1        Numeric row coordinate of the first cell\n     * @param int $pColumn2    Numeric column coordinate of the last cell\n     * @param int $pRow2        Numeric row coordinate of the last cell\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function mergeCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1)\n    {\n        $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2;\n        return $this->mergeCells($cellRange);\n    }\n\n    /**\n     * Remove merge on a cell range\n     *\n     * @param    string            $pRange        Cell range (e.g. A1:E1)\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function unmergeCells($pRange = 'A1:A1')\n    {\n        // Uppercase coordinate\n        $pRange = strtoupper($pRange);\n\n        if (strpos($pRange, ':') !== false) {\n            if (isset($this->mergeCells[$pRange])) {\n                unset($this->mergeCells[$pRange]);\n            } else {\n                throw new PHPExcel_Exception('Cell range ' . $pRange . ' not known as merged.');\n            }\n        } else {\n            throw new PHPExcel_Exception('Merge can only be removed from a range of cells.');\n        }\n\n        return $this;\n    }\n\n    /**\n     * Remove merge on a cell range by using numeric cell coordinates\n     *\n     * @param int $pColumn1    Numeric column coordinate of the first cell\n     * @param int $pRow1        Numeric row coordinate of the first cell\n     * @param int $pColumn2    Numeric column coordinate of the last cell\n     * @param int $pRow2        Numeric row coordinate of the last cell\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function unmergeCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1)\n    {\n        $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2;\n        return $this->unmergeCells($cellRange);\n    }\n\n    /**\n     * Get merge cells array.\n     *\n     * @return array[]\n     */\n    public function getMergeCells()\n    {\n        return $this->mergeCells;\n    }\n\n    /**\n     * Set merge cells array for the entire sheet. Use instead mergeCells() to merge\n     * a single cell range.\n     *\n     * @param array\n     */\n    public function setMergeCells($pValue = array())\n    {\n        $this->mergeCells = $pValue;\n        return $this;\n    }\n\n    /**\n     * Set protection on a cell range\n     *\n     * @param    string            $pRange                Cell (e.g. A1) or cell range (e.g. A1:E1)\n     * @param    string            $pPassword            Password to unlock the protection\n     * @param    boolean        $pAlreadyHashed    If the password has already been hashed, set this to true\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function protectCells($pRange = 'A1', $pPassword = '', $pAlreadyHashed = false)\n    {\n        // Uppercase coordinate\n        $pRange = strtoupper($pRange);\n\n        if (!$pAlreadyHashed) {\n            $pPassword = PHPExcel_Shared_PasswordHasher::hashPassword($pPassword);\n        }\n        $this->protectedCells[$pRange] = $pPassword;\n\n        return $this;\n    }\n\n    /**\n     * Set protection on a cell range by using numeric cell coordinates\n     *\n     * @param int  $pColumn1            Numeric column coordinate of the first cell\n     * @param int  $pRow1                Numeric row coordinate of the first cell\n     * @param int  $pColumn2            Numeric column coordinate of the last cell\n     * @param int  $pRow2                Numeric row coordinate of the last cell\n     * @param string $pPassword            Password to unlock the protection\n     * @param    boolean $pAlreadyHashed    If the password has already been hashed, set this to true\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function protectCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1, $pPassword = '', $pAlreadyHashed = false)\n    {\n        $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2;\n        return $this->protectCells($cellRange, $pPassword, $pAlreadyHashed);\n    }\n\n    /**\n     * Remove protection on a cell range\n     *\n     * @param    string            $pRange        Cell (e.g. A1) or cell range (e.g. A1:E1)\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function unprotectCells($pRange = 'A1')\n    {\n        // Uppercase coordinate\n        $pRange = strtoupper($pRange);\n\n        if (isset($this->protectedCells[$pRange])) {\n            unset($this->protectedCells[$pRange]);\n        } else {\n            throw new PHPExcel_Exception('Cell range ' . $pRange . ' not known as protected.');\n        }\n        return $this;\n    }\n\n    /**\n     * Remove protection on a cell range by using numeric cell coordinates\n     *\n     * @param int  $pColumn1            Numeric column coordinate of the first cell\n     * @param int  $pRow1                Numeric row coordinate of the first cell\n     * @param int  $pColumn2            Numeric column coordinate of the last cell\n     * @param int $pRow2                Numeric row coordinate of the last cell\n     * @param string $pPassword            Password to unlock the protection\n     * @param    boolean $pAlreadyHashed    If the password has already been hashed, set this to true\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function unprotectCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1, $pPassword = '', $pAlreadyHashed = false)\n    {\n        $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2;\n        return $this->unprotectCells($cellRange, $pPassword, $pAlreadyHashed);\n    }\n\n    /**\n     * Get protected cells\n     *\n     * @return array[]\n     */\n    public function getProtectedCells()\n    {\n        return $this->protectedCells;\n    }\n\n    /**\n     *    Get Autofilter\n     *\n     *    @return PHPExcel_Worksheet_AutoFilter\n     */\n    public function getAutoFilter()\n    {\n        return $this->autoFilter;\n    }\n\n    /**\n     *    Set AutoFilter\n     *\n     *    @param    PHPExcel_Worksheet_AutoFilter|string   $pValue\n     *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet\n     */\n    public function setAutoFilter($pValue)\n    {\n        $pRange = strtoupper($pValue);\n        if (is_string($pValue)) {\n            $this->autoFilter->setRange($pValue);\n        } elseif (is_object($pValue) && ($pValue instanceof PHPExcel_Worksheet_AutoFilter)) {\n            $this->autoFilter = $pValue;\n        }\n        return $this;\n    }\n\n    /**\n     *    Set Autofilter Range by using numeric cell coordinates\n     *\n     *    @param  integer  $pColumn1    Numeric column coordinate of the first cell\n     *    @param  integer  $pRow1       Numeric row coordinate of the first cell\n     *    @param  integer  $pColumn2    Numeric column coordinate of the second cell\n     *    @param  integer  $pRow2       Numeric row coordinate of the second cell\n     *    @throws    PHPExcel_Exception\n     *    @return PHPExcel_Worksheet\n     */\n    public function setAutoFilterByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1)\n    {\n        return $this->setAutoFilter(\n            PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1\n            . ':' .\n            PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2\n        );\n    }\n\n    /**\n     * Remove autofilter\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function removeAutoFilter()\n    {\n        $this->autoFilter->setRange(null);\n        return $this;\n    }\n\n    /**\n     * Get Freeze Pane\n     *\n     * @return string\n     */\n    public function getFreezePane()\n    {\n        return $this->freezePane;\n    }\n\n    /**\n     * Freeze Pane\n     *\n     * @param    string        $pCell        Cell (i.e. A2)\n     *                                    Examples:\n     *                                        A2 will freeze the rows above cell A2 (i.e row 1)\n     *                                        B1 will freeze the columns to the left of cell B1 (i.e column A)\n     *                                        B2 will freeze the rows above and to the left of cell A2\n     *                                            (i.e row 1 and column A)\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function freezePane($pCell = '')\n    {\n        // Uppercase coordinate\n        $pCell = strtoupper($pCell);\n        if (strpos($pCell, ':') === false && strpos($pCell, ',') === false) {\n            $this->freezePane = $pCell;\n        } else {\n            throw new PHPExcel_Exception('Freeze pane can not be set on a range of cells.');\n        }\n        return $this;\n    }\n\n    /**\n     * Freeze Pane by using numeric cell coordinates\n     *\n     * @param int $pColumn    Numeric column coordinate of the cell\n     * @param int $pRow        Numeric row coordinate of the cell\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function freezePaneByColumnAndRow($pColumn = 0, $pRow = 1)\n    {\n        return $this->freezePane(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow);\n    }\n\n    /**\n     * Unfreeze Pane\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function unfreezePane()\n    {\n        return $this->freezePane('');\n    }\n\n    /**\n     * Insert a new row, updating all possible related data\n     *\n     * @param int $pBefore    Insert before this one\n     * @param int $pNumRows    Number of rows to insert\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function insertNewRowBefore($pBefore = 1, $pNumRows = 1)\n    {\n        if ($pBefore >= 1) {\n            $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance();\n            $objReferenceHelper->insertNewBefore('A' . $pBefore, 0, $pNumRows, $this);\n        } else {\n            throw new PHPExcel_Exception(\"Rows can only be inserted before at least row 1.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Insert a new column, updating all possible related data\n     *\n     * @param int $pBefore    Insert before this one\n     * @param int $pNumCols    Number of columns to insert\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function insertNewColumnBefore($pBefore = 'A', $pNumCols = 1)\n    {\n        if (!is_numeric($pBefore)) {\n            $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance();\n            $objReferenceHelper->insertNewBefore($pBefore . '1', $pNumCols, 0, $this);\n        } else {\n            throw new PHPExcel_Exception(\"Column references should not be numeric.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Insert a new column, updating all possible related data\n     *\n     * @param int $pBefore    Insert before this one (numeric column coordinate of the cell)\n     * @param int $pNumCols    Number of columns to insert\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function insertNewColumnBeforeByIndex($pBefore = 0, $pNumCols = 1)\n    {\n        if ($pBefore >= 0) {\n            return $this->insertNewColumnBefore(PHPExcel_Cell::stringFromColumnIndex($pBefore), $pNumCols);\n        } else {\n            throw new PHPExcel_Exception(\"Columns can only be inserted before at least column A (0).\");\n        }\n    }\n\n    /**\n     * Delete a row, updating all possible related data\n     *\n     * @param int $pRow        Remove starting with this one\n     * @param int $pNumRows    Number of rows to remove\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function removeRow($pRow = 1, $pNumRows = 1)\n    {\n        if ($pRow >= 1) {\n            $highestRow = $this->getHighestDataRow();\n            $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance();\n            $objReferenceHelper->insertNewBefore('A' . ($pRow + $pNumRows), 0, -$pNumRows, $this);\n            for ($r = 0; $r < $pNumRows; ++$r) {\n                $this->getCellCacheController()->removeRow($highestRow);\n                --$highestRow;\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Rows to be deleted should at least start from row 1.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Remove a column, updating all possible related data\n     *\n     * @param string    $pColumn     Remove starting with this one\n     * @param int       $pNumCols    Number of columns to remove\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function removeColumn($pColumn = 'A', $pNumCols = 1)\n    {\n        if (!is_numeric($pColumn)) {\n            $highestColumn = $this->getHighestDataColumn();\n            $pColumn = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($pColumn) - 1 + $pNumCols);\n            $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance();\n            $objReferenceHelper->insertNewBefore($pColumn . '1', -$pNumCols, 0, $this);\n            for ($c = 0; $c < $pNumCols; ++$c) {\n                $this->getCellCacheController()->removeColumn($highestColumn);\n                $highestColumn = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($highestColumn) - 2);\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Column references should not be numeric.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Remove a column, updating all possible related data\n     *\n     * @param int $pColumn    Remove starting with this one (numeric column coordinate of the cell)\n     * @param int $pNumCols    Number of columns to remove\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function removeColumnByIndex($pColumn = 0, $pNumCols = 1)\n    {\n        if ($pColumn >= 0) {\n            return $this->removeColumn(PHPExcel_Cell::stringFromColumnIndex($pColumn), $pNumCols);\n        } else {\n            throw new PHPExcel_Exception(\"Columns to be deleted should at least start from column 0\");\n        }\n    }\n\n    /**\n     * Show gridlines?\n     *\n     * @return boolean\n     */\n    public function getShowGridlines()\n    {\n        return $this->showGridlines;\n    }\n\n    /**\n     * Set show gridlines\n     *\n     * @param boolean $pValue    Show gridlines (true/false)\n     * @return PHPExcel_Worksheet\n     */\n    public function setShowGridlines($pValue = false)\n    {\n        $this->showGridlines = $pValue;\n        return $this;\n    }\n\n    /**\n    * Print gridlines?\n    *\n    * @return boolean\n    */\n    public function getPrintGridlines()\n    {\n        return $this->printGridlines;\n    }\n\n    /**\n    * Set print gridlines\n    *\n    * @param boolean $pValue Print gridlines (true/false)\n    * @return PHPExcel_Worksheet\n    */\n    public function setPrintGridlines($pValue = false)\n    {\n        $this->printGridlines = $pValue;\n        return $this;\n    }\n\n    /**\n    * Show row and column headers?\n    *\n    * @return boolean\n    */\n    public function getShowRowColHeaders()\n    {\n        return $this->showRowColHeaders;\n    }\n\n    /**\n    * Set show row and column headers\n    *\n    * @param boolean $pValue Show row and column headers (true/false)\n    * @return PHPExcel_Worksheet\n    */\n    public function setShowRowColHeaders($pValue = false)\n    {\n        $this->showRowColHeaders = $pValue;\n        return $this;\n    }\n\n    /**\n     * Show summary below? (Row/Column outlining)\n     *\n     * @return boolean\n     */\n    public function getShowSummaryBelow()\n    {\n        return $this->showSummaryBelow;\n    }\n\n    /**\n     * Set show summary below\n     *\n     * @param boolean $pValue    Show summary below (true/false)\n     * @return PHPExcel_Worksheet\n     */\n    public function setShowSummaryBelow($pValue = true)\n    {\n        $this->showSummaryBelow = $pValue;\n        return $this;\n    }\n\n    /**\n     * Show summary right? (Row/Column outlining)\n     *\n     * @return boolean\n     */\n    public function getShowSummaryRight()\n    {\n        return $this->showSummaryRight;\n    }\n\n    /**\n     * Set show summary right\n     *\n     * @param boolean $pValue    Show summary right (true/false)\n     * @return PHPExcel_Worksheet\n     */\n    public function setShowSummaryRight($pValue = true)\n    {\n        $this->showSummaryRight = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get comments\n     *\n     * @return PHPExcel_Comment[]\n     */\n    public function getComments()\n    {\n        return $this->comments;\n    }\n\n    /**\n     * Set comments array for the entire sheet.\n     *\n     * @param array of PHPExcel_Comment\n     * @return PHPExcel_Worksheet\n     */\n    public function setComments($pValue = array())\n    {\n        $this->comments = $pValue;\n\n        return $this;\n    }\n\n    /**\n     * Get comment for cell\n     *\n     * @param string $pCellCoordinate    Cell coordinate to get comment for\n     * @return PHPExcel_Comment\n     * @throws PHPExcel_Exception\n     */\n    public function getComment($pCellCoordinate = 'A1')\n    {\n        // Uppercase coordinate\n        $pCellCoordinate = strtoupper($pCellCoordinate);\n\n        if (strpos($pCellCoordinate, ':') !== false || strpos($pCellCoordinate, ',') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells.');\n        } elseif (strpos($pCellCoordinate, '$') !== false) {\n            throw new PHPExcel_Exception('Cell coordinate string must not be absolute.');\n        } elseif ($pCellCoordinate == '') {\n            throw new PHPExcel_Exception('Cell coordinate can not be zero-length string.');\n        } else {\n            // Check if we already have a comment for this cell.\n            // If not, create a new comment.\n            if (isset($this->comments[$pCellCoordinate])) {\n                return $this->comments[$pCellCoordinate];\n            } else {\n                $newComment = new PHPExcel_Comment();\n                $this->comments[$pCellCoordinate] = $newComment;\n                return $newComment;\n            }\n        }\n    }\n\n    /**\n     * Get comment for cell by using numeric cell coordinates\n     *\n     * @param int $pColumn    Numeric column coordinate of the cell\n     * @param int $pRow        Numeric row coordinate of the cell\n     * @return PHPExcel_Comment\n     */\n    public function getCommentByColumnAndRow($pColumn = 0, $pRow = 1)\n    {\n        return $this->getComment(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow);\n    }\n\n    /**\n     * Get selected cell\n     *\n     * @deprecated\n     * @return string\n     */\n    public function getSelectedCell()\n    {\n        return $this->getSelectedCells();\n    }\n\n    /**\n     * Get active cell\n     *\n     * @return string Example: 'A1'\n     */\n    public function getActiveCell()\n    {\n        return $this->activeCell;\n    }\n\n    /**\n     * Get selected cells\n     *\n     * @return string\n     */\n    public function getSelectedCells()\n    {\n        return $this->selectedCells;\n    }\n\n    /**\n     * Selected cell\n     *\n     * @param    string        $pCoordinate    Cell (i.e. A1)\n     * @return PHPExcel_Worksheet\n     */\n    public function setSelectedCell($pCoordinate = 'A1')\n    {\n        return $this->setSelectedCells($pCoordinate);\n    }\n\n    /**\n     * Select a range of cells.\n     *\n     * @param    string        $pCoordinate    Cell range, examples: 'A1', 'B2:G5', 'A:C', '3:6'\n     * @throws    PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function setSelectedCells($pCoordinate = 'A1')\n    {\n        // Uppercase coordinate\n        $pCoordinate = strtoupper($pCoordinate);\n\n        // Convert 'A' to 'A:A'\n        $pCoordinate = preg_replace('/^([A-Z]+)$/', '${1}:${1}', $pCoordinate);\n\n        // Convert '1' to '1:1'\n        $pCoordinate = preg_replace('/^([0-9]+)$/', '${1}:${1}', $pCoordinate);\n\n        // Convert 'A:C' to 'A1:C1048576'\n        $pCoordinate = preg_replace('/^([A-Z]+):([A-Z]+)$/', '${1}1:${2}1048576', $pCoordinate);\n\n        // Convert '1:3' to 'A1:XFD3'\n        $pCoordinate = preg_replace('/^([0-9]+):([0-9]+)$/', 'A${1}:XFD${2}', $pCoordinate);\n\n        if (strpos($pCoordinate, ':') !== false || strpos($pCoordinate, ',') !== false) {\n            list($first, ) = PHPExcel_Cell::splitRange($pCoordinate);\n            $this->activeCell = $first[0];\n        } else {\n            $this->activeCell = $pCoordinate;\n        }\n        $this->selectedCells = $pCoordinate;\n        return $this;\n    }\n\n    /**\n     * Selected cell by using numeric cell coordinates\n     *\n     * @param int $pColumn Numeric column coordinate of the cell\n     * @param int $pRow Numeric row coordinate of the cell\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function setSelectedCellByColumnAndRow($pColumn = 0, $pRow = 1)\n    {\n        return $this->setSelectedCells(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow);\n    }\n\n    /**\n     * Get right-to-left\n     *\n     * @return boolean\n     */\n    public function getRightToLeft()\n    {\n        return $this->rightToLeft;\n    }\n\n    /**\n     * Set right-to-left\n     *\n     * @param boolean $value    Right-to-left true/false\n     * @return PHPExcel_Worksheet\n     */\n    public function setRightToLeft($value = false)\n    {\n        $this->rightToLeft = $value;\n        return $this;\n    }\n\n    /**\n     * Fill worksheet from values in array\n     *\n     * @param array $source Source array\n     * @param mixed $nullValue Value in source array that stands for blank cell\n     * @param string $startCell Insert array starting from this cell address as the top left coordinate\n     * @param boolean $strictNullComparison Apply strict comparison when testing for null values in the array\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function fromArray($source = null, $nullValue = null, $startCell = 'A1', $strictNullComparison = false)\n    {\n        if (is_array($source)) {\n            //    Convert a 1-D array to 2-D (for ease of looping)\n            if (!is_array(end($source))) {\n                $source = array($source);\n            }\n\n            // start coordinate\n            list ($startColumn, $startRow) = PHPExcel_Cell::coordinateFromString($startCell);\n\n            // Loop through $source\n            foreach ($source as $rowData) {\n                $currentColumn = $startColumn;\n                foreach ($rowData as $cellValue) {\n                    if ($strictNullComparison) {\n                        if ($cellValue !== $nullValue) {\n                            // Set cell value\n                            $this->getCell($currentColumn . $startRow)->setValue($cellValue);\n                        }\n                    } else {\n                        if ($cellValue != $nullValue) {\n                            // Set cell value\n                            $this->getCell($currentColumn . $startRow)->setValue($cellValue);\n                        }\n                    }\n                    ++$currentColumn;\n                }\n                ++$startRow;\n            }\n        } else {\n            throw new PHPExcel_Exception(\"Parameter \\$source should be an array.\");\n        }\n        return $this;\n    }\n\n    /**\n     * Create array from a range of cells\n     *\n     * @param string $pRange Range of cells (i.e. \"A1:B10\"), or just one cell (i.e. \"A1\")\n     * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist\n     * @param boolean $calculateFormulas Should formulas be calculated?\n     * @param boolean $formatData Should formatting be applied to cell values?\n     * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero\n     *                               True - Return rows and columns indexed by their actual row and column IDs\n     * @return array\n     */\n    public function rangeToArray($pRange = 'A1', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false)\n    {\n        // Returnvalue\n        $returnValue = array();\n        //    Identify the range that we need to extract from the worksheet\n        list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange);\n        $minCol = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] -1);\n        $minRow = $rangeStart[1];\n        $maxCol = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0] -1);\n        $maxRow = $rangeEnd[1];\n\n        $maxCol++;\n        // Loop through rows\n        $r = -1;\n        for ($row = $minRow; $row <= $maxRow; ++$row) {\n            $rRef = ($returnCellRef) ? $row : ++$r;\n            $c = -1;\n            // Loop through columns in the current row\n            for ($col = $minCol; $col != $maxCol; ++$col) {\n                $cRef = ($returnCellRef) ? $col : ++$c;\n                //    Using getCell() will create a new cell if it doesn't already exist. We don't want that to happen\n                //        so we test and retrieve directly against cellCollection\n                if ($this->cellCollection->isDataSet($col.$row)) {\n                    // Cell exists\n                    $cell = $this->cellCollection->getCacheData($col.$row);\n                    if ($cell->getValue() !== null) {\n                        if ($cell->getValue() instanceof PHPExcel_RichText) {\n                            $returnValue[$rRef][$cRef] = $cell->getValue()->getPlainText();\n                        } else {\n                            if ($calculateFormulas) {\n                                $returnValue[$rRef][$cRef] = $cell->getCalculatedValue();\n                            } else {\n                                $returnValue[$rRef][$cRef] = $cell->getValue();\n                            }\n                        }\n\n                        if ($formatData) {\n                            $style = $this->parent->getCellXfByIndex($cell->getXfIndex());\n                            $returnValue[$rRef][$cRef] = PHPExcel_Style_NumberFormat::toFormattedString(\n                                $returnValue[$rRef][$cRef],\n                                ($style && $style->getNumberFormat()) ? $style->getNumberFormat()->getFormatCode() : PHPExcel_Style_NumberFormat::FORMAT_GENERAL\n                            );\n                        }\n                    } else {\n                        // Cell holds a NULL\n                        $returnValue[$rRef][$cRef] = $nullValue;\n                    }\n                } else {\n                    // Cell doesn't exist\n                    $returnValue[$rRef][$cRef] = $nullValue;\n                }\n            }\n        }\n\n        // Return\n        return $returnValue;\n    }\n\n\n    /**\n     * Create array from a range of cells\n     *\n     * @param  string $pNamedRange Name of the Named Range\n     * @param  mixed  $nullValue Value returned in the array entry if a cell doesn't exist\n     * @param  boolean $calculateFormulas  Should formulas be calculated?\n     * @param  boolean $formatData  Should formatting be applied to cell values?\n     * @param  boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero\n     *                                True - Return rows and columns indexed by their actual row and column IDs\n     * @return array\n     * @throws PHPExcel_Exception\n     */\n    public function namedRangeToArray($pNamedRange = '', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false)\n    {\n        $namedRange = PHPExcel_NamedRange::resolveRange($pNamedRange, $this);\n        if ($namedRange !== null) {\n            $pWorkSheet = $namedRange->getWorksheet();\n            $pCellRange = $namedRange->getRange();\n\n            return $pWorkSheet->rangeToArray($pCellRange, $nullValue, $calculateFormulas, $formatData, $returnCellRef);\n        }\n\n        throw new PHPExcel_Exception('Named Range '.$pNamedRange.' does not exist.');\n    }\n\n\n    /**\n     * Create array from worksheet\n     *\n     * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist\n     * @param boolean $calculateFormulas Should formulas be calculated?\n     * @param boolean $formatData  Should formatting be applied to cell values?\n     * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero\n     *                               True - Return rows and columns indexed by their actual row and column IDs\n     * @return array\n     */\n    public function toArray($nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false)\n    {\n        // Garbage collect...\n        $this->garbageCollect();\n\n        //    Identify the range that we need to extract from the worksheet\n        $maxCol = $this->getHighestColumn();\n        $maxRow = $this->getHighestRow();\n        // Return\n        return $this->rangeToArray('A1:'.$maxCol.$maxRow, $nullValue, $calculateFormulas, $formatData, $returnCellRef);\n    }\n\n    /**\n     * Get row iterator\n     *\n     * @param   integer   $startRow   The row number at which to start iterating\n     * @param   integer   $endRow     The row number at which to stop iterating\n     *\n     * @return PHPExcel_Worksheet_RowIterator\n     */\n    public function getRowIterator($startRow = 1, $endRow = null)\n    {\n        return new PHPExcel_Worksheet_RowIterator($this, $startRow, $endRow);\n    }\n\n    /**\n     * Get column iterator\n     *\n     * @param   string   $startColumn The column address at which to start iterating\n     * @param   string   $endColumn   The column address at which to stop iterating\n     *\n     * @return PHPExcel_Worksheet_ColumnIterator\n     */\n    public function getColumnIterator($startColumn = 'A', $endColumn = null)\n    {\n        return new PHPExcel_Worksheet_ColumnIterator($this, $startColumn, $endColumn);\n    }\n\n    /**\n     * Run PHPExcel garabage collector.\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function garbageCollect()\n    {\n        // Flush cache\n        $this->cellCollection->getCacheData('A1');\n        // Build a reference table from images\n//        $imageCoordinates = array();\n//        $iterator = $this->getDrawingCollection()->getIterator();\n//        while ($iterator->valid()) {\n//            $imageCoordinates[$iterator->current()->getCoordinates()] = true;\n//\n//            $iterator->next();\n//        }\n//\n        // Lookup highest column and highest row if cells are cleaned\n        $colRow = $this->cellCollection->getHighestRowAndColumn();\n        $highestRow = $colRow['row'];\n        $highestColumn = PHPExcel_Cell::columnIndexFromString($colRow['column']);\n\n        // Loop through column dimensions\n        foreach ($this->columnDimensions as $dimension) {\n            $highestColumn = max($highestColumn, PHPExcel_Cell::columnIndexFromString($dimension->getColumnIndex()));\n        }\n\n        // Loop through row dimensions\n        foreach ($this->rowDimensions as $dimension) {\n            $highestRow = max($highestRow, $dimension->getRowIndex());\n        }\n\n        // Cache values\n        if ($highestColumn < 0) {\n            $this->cachedHighestColumn = 'A';\n        } else {\n            $this->cachedHighestColumn = PHPExcel_Cell::stringFromColumnIndex(--$highestColumn);\n        }\n        $this->cachedHighestRow = $highestRow;\n\n        // Return\n        return $this;\n    }\n\n    /**\n     * Get hash code\n     *\n     * @return string    Hash code\n     */\n    public function getHashCode()\n    {\n        if ($this->dirty) {\n            $this->hash = md5($this->title . $this->autoFilter . ($this->protection->isProtectionEnabled() ? 't' : 'f') . __CLASS__);\n            $this->dirty = false;\n        }\n        return $this->hash;\n    }\n\n    /**\n     * Extract worksheet title from range.\n     *\n     * Example: extractSheetTitle(\"testSheet!A1\") ==> 'A1'\n     * Example: extractSheetTitle(\"'testSheet 1'!A1\", true) ==> array('testSheet 1', 'A1');\n     *\n     * @param string $pRange    Range to extract title from\n     * @param bool $returnRange    Return range? (see example)\n     * @return mixed\n     */\n    public static function extractSheetTitle($pRange, $returnRange = false)\n    {\n        // Sheet title included?\n        if (($sep = strpos($pRange, '!')) === false) {\n            return '';\n        }\n\n        if ($returnRange) {\n            return array(trim(substr($pRange, 0, $sep), \"'\"), substr($pRange, $sep + 1));\n        }\n\n        return substr($pRange, $sep + 1);\n    }\n\n    /**\n     * Get hyperlink\n     *\n     * @param string $pCellCoordinate    Cell coordinate to get hyperlink for\n     */\n    public function getHyperlink($pCellCoordinate = 'A1')\n    {\n        // return hyperlink if we already have one\n        if (isset($this->hyperlinkCollection[$pCellCoordinate])) {\n            return $this->hyperlinkCollection[$pCellCoordinate];\n        }\n\n        // else create hyperlink\n        $this->hyperlinkCollection[$pCellCoordinate] = new PHPExcel_Cell_Hyperlink();\n        return $this->hyperlinkCollection[$pCellCoordinate];\n    }\n\n    /**\n     * Set hyperlnk\n     *\n     * @param string $pCellCoordinate    Cell coordinate to insert hyperlink\n     * @param    PHPExcel_Cell_Hyperlink    $pHyperlink\n     * @return PHPExcel_Worksheet\n     */\n    public function setHyperlink($pCellCoordinate = 'A1', PHPExcel_Cell_Hyperlink $pHyperlink = null)\n    {\n        if ($pHyperlink === null) {\n            unset($this->hyperlinkCollection[$pCellCoordinate]);\n        } else {\n            $this->hyperlinkCollection[$pCellCoordinate] = $pHyperlink;\n        }\n        return $this;\n    }\n\n    /**\n     * Hyperlink at a specific coordinate exists?\n     *\n     * @param string $pCoordinate\n     * @return boolean\n     */\n    public function hyperlinkExists($pCoordinate = 'A1')\n    {\n        return isset($this->hyperlinkCollection[$pCoordinate]);\n    }\n\n    /**\n     * Get collection of hyperlinks\n     *\n     * @return PHPExcel_Cell_Hyperlink[]\n     */\n    public function getHyperlinkCollection()\n    {\n        return $this->hyperlinkCollection;\n    }\n\n    /**\n     * Get data validation\n     *\n     * @param string $pCellCoordinate Cell coordinate to get data validation for\n     */\n    public function getDataValidation($pCellCoordinate = 'A1')\n    {\n        // return data validation if we already have one\n        if (isset($this->dataValidationCollection[$pCellCoordinate])) {\n            return $this->dataValidationCollection[$pCellCoordinate];\n        }\n\n        // else create data validation\n        $this->dataValidationCollection[$pCellCoordinate] = new PHPExcel_Cell_DataValidation();\n        return $this->dataValidationCollection[$pCellCoordinate];\n    }\n\n    /**\n     * Set data validation\n     *\n     * @param string $pCellCoordinate    Cell coordinate to insert data validation\n     * @param    PHPExcel_Cell_DataValidation    $pDataValidation\n     * @return PHPExcel_Worksheet\n     */\n    public function setDataValidation($pCellCoordinate = 'A1', PHPExcel_Cell_DataValidation $pDataValidation = null)\n    {\n        if ($pDataValidation === null) {\n            unset($this->dataValidationCollection[$pCellCoordinate]);\n        } else {\n            $this->dataValidationCollection[$pCellCoordinate] = $pDataValidation;\n        }\n        return $this;\n    }\n\n    /**\n     * Data validation at a specific coordinate exists?\n     *\n     * @param string $pCoordinate\n     * @return boolean\n     */\n    public function dataValidationExists($pCoordinate = 'A1')\n    {\n        return isset($this->dataValidationCollection[$pCoordinate]);\n    }\n\n    /**\n     * Get collection of data validations\n     *\n     * @return PHPExcel_Cell_DataValidation[]\n     */\n    public function getDataValidationCollection()\n    {\n        return $this->dataValidationCollection;\n    }\n\n    /**\n     * Accepts a range, returning it as a range that falls within the current highest row and column of the worksheet\n     *\n     * @param string $range\n     * @return string Adjusted range value\n     */\n    public function shrinkRangeToFit($range)\n    {\n        $maxCol = $this->getHighestColumn();\n        $maxRow = $this->getHighestRow();\n        $maxCol = PHPExcel_Cell::columnIndexFromString($maxCol);\n\n        $rangeBlocks = explode(' ', $range);\n        foreach ($rangeBlocks as &$rangeSet) {\n            $rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($rangeSet);\n\n            if (PHPExcel_Cell::columnIndexFromString($rangeBoundaries[0][0]) > $maxCol) {\n                $rangeBoundaries[0][0] = PHPExcel_Cell::stringFromColumnIndex($maxCol);\n            }\n            if ($rangeBoundaries[0][1] > $maxRow) {\n                $rangeBoundaries[0][1] = $maxRow;\n            }\n            if (PHPExcel_Cell::columnIndexFromString($rangeBoundaries[1][0]) > $maxCol) {\n                $rangeBoundaries[1][0] = PHPExcel_Cell::stringFromColumnIndex($maxCol);\n            }\n            if ($rangeBoundaries[1][1] > $maxRow) {\n                $rangeBoundaries[1][1] = $maxRow;\n            }\n            $rangeSet = $rangeBoundaries[0][0].$rangeBoundaries[0][1].':'.$rangeBoundaries[1][0].$rangeBoundaries[1][1];\n        }\n        unset($rangeSet);\n        $stRange = implode(' ', $rangeBlocks);\n\n        return $stRange;\n    }\n\n    /**\n     * Get tab color\n     *\n     * @return PHPExcel_Style_Color\n     */\n    public function getTabColor()\n    {\n        if ($this->tabColor === null) {\n            $this->tabColor = new PHPExcel_Style_Color();\n        }\n        return $this->tabColor;\n    }\n\n    /**\n     * Reset tab color\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function resetTabColor()\n    {\n        $this->tabColor = null;\n        unset($this->tabColor);\n\n        return $this;\n    }\n\n    /**\n     * Tab color set?\n     *\n     * @return boolean\n     */\n    public function isTabColorSet()\n    {\n        return ($this->tabColor !== null);\n    }\n\n    /**\n     * Copy worksheet (!= clone!)\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function copy()\n    {\n        $copied = clone $this;\n\n        return $copied;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        foreach ($this as $key => $val) {\n            if ($key == 'parent') {\n                continue;\n            }\n\n            if (is_object($val) || (is_array($val))) {\n                if ($key == 'cellCollection') {\n                    $newCollection = clone $this->cellCollection;\n                    $newCollection->copyCellCollection($this);\n                    $this->cellCollection = $newCollection;\n                } elseif ($key == 'drawingCollection') {\n                    $newCollection = clone $this->drawingCollection;\n                    $this->drawingCollection = $newCollection;\n                } elseif (($key == 'autoFilter') && ($this->autoFilter instanceof PHPExcel_Worksheet_AutoFilter)) {\n                    $newAutoFilter = clone $this->autoFilter;\n                    $this->autoFilter = $newAutoFilter;\n                    $this->autoFilter->setParent($this);\n                } else {\n                    $this->{$key} = unserialize(serialize($val));\n                }\n            }\n        }\n    }\n/**\n     * Define the code name of the sheet\n     *\n     * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore)\n     * @return objWorksheet\n     * @throws PHPExcel_Exception\n    */\n    public function setCodeName($pValue = null)\n    {\n        // Is this a 'rename' or not?\n        if ($this->getCodeName() == $pValue) {\n            return $this;\n        }\n        $pValue = str_replace(' ', '_', $pValue);//Excel does this automatically without flinching, we are doing the same\n        // Syntax check\n        // throw an exception if not valid\n        self::checkSheetCodeName($pValue);\n\n        // We use the same code that setTitle to find a valid codeName else not using a space (Excel don't like) but a '_'\n\n        if ($this->getParent()) {\n            // Is there already such sheet name?\n            if ($this->getParent()->sheetCodeNameExists($pValue)) {\n                // Use name, but append with lowest possible integer\n\n                if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) {\n                    $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 29);\n                }\n                $i = 1;\n                while ($this->getParent()->sheetCodeNameExists($pValue . '_' . $i)) {\n                    ++$i;\n                    if ($i == 10) {\n                        if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) {\n                            $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 28);\n                        }\n                    } elseif ($i == 100) {\n                        if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) {\n                            $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 27);\n                        }\n                    }\n                }\n\n                $pValue = $pValue . '_' . $i;// ok, we have a valid name\n                //codeName is'nt used in formula : no need to call for an update\n                //return $this->setTitle($altTitle, $updateFormulaCellReferences);\n            }\n        }\n\n        $this->codeName=$pValue;\n        return $this;\n    }\n    /**\n     * Return the code name of the sheet\n     *\n     * @return null|string\n    */\n    public function getCodeName()\n    {\n        return $this->codeName;\n    }\n    /**\n     * Sheet has a code name ?\n     * @return boolean\n    */\n    public function hasCodeName()\n    {\n        return !(is_null($this->codeName));\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/WorksheetIterator.php",
    "content": "<?php\n\n/**\n * PHPExcel_WorksheetIterator\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_WorksheetIterator implements Iterator\n{\n    /**\n     * Spreadsheet to iterate\n     *\n     * @var PHPExcel\n     */\n    private $subject;\n\n    /**\n     * Current iterator position\n     *\n     * @var int\n     */\n    private $position = 0;\n\n    /**\n     * Create a new worksheet iterator\n     *\n     * @param PHPExcel         $subject\n     */\n    public function __construct(PHPExcel $subject = null)\n    {\n        // Set subject\n        $this->subject = $subject;\n    }\n\n    /**\n     * Destructor\n     */\n    public function __destruct()\n    {\n        unset($this->subject);\n    }\n\n    /**\n     * Rewind iterator\n     */\n    public function rewind()\n    {\n        $this->position = 0;\n    }\n\n    /**\n     * Current PHPExcel_Worksheet\n     *\n     * @return PHPExcel_Worksheet\n     */\n    public function current()\n    {\n        return $this->subject->getSheet($this->position);\n    }\n\n    /**\n     * Current key\n     *\n     * @return int\n     */\n    public function key()\n    {\n        return $this->position;\n    }\n\n    /**\n     * Next value\n     */\n    public function next()\n    {\n        ++$this->position;\n    }\n\n    /**\n     * More PHPExcel_Worksheet instances available?\n     *\n     * @return boolean\n     */\n    public function valid()\n    {\n        return $this->position < $this->subject->getSheetCount();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Abstract.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Abstract\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter\n{\n    /**\n     * Write charts that are defined in the workbook?\n     * Identifies whether the Writer should write definitions for any charts that exist in the PHPExcel object;\n     *\n     * @var    boolean\n     */\n    protected $includeCharts = false;\n\n    /**\n     * Pre-calculate formulas\n     * Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are\n     *    immediately available to MS Excel or other office spreadsheet viewer when opening the file\n     *\n     * @var boolean\n     */\n    protected $preCalculateFormulas = true;\n\n    /**\n     * Use disk caching where possible?\n     *\n     * @var boolean\n     */\n    protected $_useDiskCaching = false;\n\n    /**\n     * Disk caching directory\n     *\n     * @var string\n     */\n    protected $_diskCachingDirectory    = './';\n\n    /**\n     * Write charts in workbook?\n     *        If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object.\n     *        If false (the default) it will ignore any charts defined in the PHPExcel object.\n     *\n     * @return    boolean\n     */\n    public function getIncludeCharts()\n    {\n        return $this->includeCharts;\n    }\n\n    /**\n     * Set write charts in workbook\n     *        Set to true, to advise the Writer to include any charts that exist in the PHPExcel object.\n     *        Set to false (the default) to ignore charts.\n     *\n     * @param    boolean    $pValue\n     * @return    PHPExcel_Writer_IWriter\n     */\n    public function setIncludeCharts($pValue = false)\n    {\n        $this->includeCharts = (boolean) $pValue;\n        return $this;\n    }\n\n    /**\n     * Get Pre-Calculate Formulas flag\n     *     If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,\n     *        so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet\n     *        viewer when opening the file\n     *     If false, then formulae are not calculated on save. This is faster for saving in PHPExcel, but slower\n     *        when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself\n     *\n     * @return boolean\n     */\n    public function getPreCalculateFormulas()\n    {\n        return $this->preCalculateFormulas;\n    }\n\n    /**\n     * Set Pre-Calculate Formulas\n     *        Set to true (the default) to advise the Writer to calculate all formulae on save\n     *        Set to false to prevent precalculation of formulae on save.\n     *\n     * @param boolean $pValue    Pre-Calculate Formulas?\n     * @return    PHPExcel_Writer_IWriter\n     */\n    public function setPreCalculateFormulas($pValue = true)\n    {\n        $this->preCalculateFormulas = (boolean) $pValue;\n        return $this;\n    }\n\n    /**\n     * Get use disk caching where possible?\n     *\n     * @return boolean\n     */\n    public function getUseDiskCaching()\n    {\n        return $this->_useDiskCaching;\n    }\n\n    /**\n     * Set use disk caching where possible?\n     *\n     * @param     boolean     $pValue\n     * @param    string        $pDirectory        Disk caching directory\n     * @throws    PHPExcel_Writer_Exception    when directory does not exist\n     * @return PHPExcel_Writer_Excel2007\n     */\n    public function setUseDiskCaching($pValue = false, $pDirectory = null)\n    {\n        $this->_useDiskCaching = $pValue;\n\n        if ($pDirectory !== null) {\n            if (is_dir($pDirectory)) {\n                $this->_diskCachingDirectory = $pDirectory;\n            } else {\n                throw new PHPExcel_Writer_Exception(\"Directory does not exist: $pDirectory\");\n            }\n        }\n        return $this;\n    }\n\n    /**\n     * Get disk caching directory\n     *\n     * @return string\n     */\n    public function getDiskCachingDirectory()\n    {\n        return $this->_diskCachingDirectory;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/CSV.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_CSV\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_CSV\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter\n{\n    /**\n     * PHPExcel object\n     *\n     * @var PHPExcel\n     */\n    private $phpExcel;\n\n    /**\n     * Delimiter\n     *\n     * @var string\n     */\n    private $delimiter    = ',';\n\n    /**\n     * Enclosure\n     *\n     * @var string\n     */\n    private $enclosure    = '\"';\n\n    /**\n     * Line ending\n     *\n     * @var string\n     */\n    private $lineEnding    = PHP_EOL;\n\n    /**\n     * Sheet index to write\n     *\n     * @var int\n     */\n    private $sheetIndex    = 0;\n\n    /**\n     * Whether to write a BOM (for UTF8).\n     *\n     * @var boolean\n     */\n    private $useBOM = false;\n\n    /**\n     * Whether to write a Separator line as the first line of the file\n     *     sep=x\n     *\n     * @var boolean\n     */\n    private $includeSeparatorLine = false;\n\n    /**\n     * Whether to write a fully Excel compatible CSV file.\n     *\n     * @var boolean\n     */\n    private $excelCompatibility = false;\n\n    /**\n     * Create a new PHPExcel_Writer_CSV\n     *\n     * @param    PHPExcel    $phpExcel    PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        $this->phpExcel    = $phpExcel;\n    }\n\n    /**\n     * Save PHPExcel to file\n     *\n     * @param    string        $pFilename\n     * @throws    PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        // Fetch sheet\n        $sheet = $this->phpExcel->getSheet($this->sheetIndex);\n\n        $saveDebugLog = PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->getWriteDebugLog();\n        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog(false);\n        $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType();\n        PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE);\n\n        // Open file\n        $fileHandle = fopen($pFilename, 'wb+');\n        if ($fileHandle === false) {\n            throw new PHPExcel_Writer_Exception(\"Could not open file $pFilename for writing.\");\n        }\n\n        if ($this->excelCompatibility) {\n            $this->setUseBOM(true);                //  Enforce UTF-8 BOM Header\n            $this->setIncludeSeparatorLine(true);  //  Set separator line\n            $this->setEnclosure('\"');              //  Set enclosure to \"\n            $this->setDelimiter(\";\");              //  Set delimiter to a semi-colon\n            $this->setLineEnding(\"\\r\\n\");\n        }\n        if ($this->useBOM) {\n            // Write the UTF-8 BOM code if required\n            fwrite($fileHandle, \"\\xEF\\xBB\\xBF\");\n        }\n        if ($this->includeSeparatorLine) {\n            // Write the separator line if required\n            fwrite($fileHandle, 'sep=' . $this->getDelimiter() . $this->lineEnding);\n        }\n\n        //    Identify the range that we need to extract from the worksheet\n        $maxCol = $sheet->getHighestDataColumn();\n        $maxRow = $sheet->getHighestDataRow();\n\n        // Write rows to file\n        for ($row = 1; $row <= $maxRow; ++$row) {\n            // Convert the row to an array...\n            $cellsArray = $sheet->rangeToArray('A'.$row.':'.$maxCol.$row, '', $this->preCalculateFormulas);\n            // ... and write to the file\n            $this->writeLine($fileHandle, $cellsArray[0]);\n        }\n\n        // Close file\n        fclose($fileHandle);\n\n        PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType);\n        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog);\n    }\n\n    /**\n     * Get delimiter\n     *\n     * @return string\n     */\n    public function getDelimiter()\n    {\n        return $this->delimiter;\n    }\n\n    /**\n     * Set delimiter\n     *\n     * @param    string    $pValue        Delimiter, defaults to ,\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setDelimiter($pValue = ',')\n    {\n        $this->delimiter = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get enclosure\n     *\n     * @return string\n     */\n    public function getEnclosure()\n    {\n        return $this->enclosure;\n    }\n\n    /**\n     * Set enclosure\n     *\n     * @param    string    $pValue        Enclosure, defaults to \"\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setEnclosure($pValue = '\"')\n    {\n        if ($pValue == '') {\n            $pValue = null;\n        }\n        $this->enclosure = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get line ending\n     *\n     * @return string\n     */\n    public function getLineEnding()\n    {\n        return $this->lineEnding;\n    }\n\n    /**\n     * Set line ending\n     *\n     * @param    string    $pValue        Line ending, defaults to OS line ending (PHP_EOL)\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setLineEnding($pValue = PHP_EOL)\n    {\n        $this->lineEnding = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get whether BOM should be used\n     *\n     * @return boolean\n     */\n    public function getUseBOM()\n    {\n        return $this->useBOM;\n    }\n\n    /**\n     * Set whether BOM should be used\n     *\n     * @param    boolean    $pValue        Use UTF-8 byte-order mark? Defaults to false\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setUseBOM($pValue = false)\n    {\n        $this->useBOM = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get whether a separator line should be included\n     *\n     * @return boolean\n     */\n    public function getIncludeSeparatorLine()\n    {\n        return $this->includeSeparatorLine;\n    }\n\n    /**\n     * Set whether a separator line should be included as the first line of the file\n     *\n     * @param    boolean    $pValue        Use separator line? Defaults to false\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setIncludeSeparatorLine($pValue = false)\n    {\n        $this->includeSeparatorLine = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get whether the file should be saved with full Excel Compatibility\n     *\n     * @return boolean\n     */\n    public function getExcelCompatibility()\n    {\n        return $this->excelCompatibility;\n    }\n\n    /**\n     * Set whether the file should be saved with full Excel Compatibility\n     *\n     * @param    boolean    $pValue        Set the file to be written as a fully Excel compatible csv file\n     *                                Note that this overrides other settings such as useBOM, enclosure and delimiter\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setExcelCompatibility($pValue = false)\n    {\n        $this->excelCompatibility = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get sheet index\n     *\n     * @return int\n     */\n    public function getSheetIndex()\n    {\n        return $this->sheetIndex;\n    }\n\n    /**\n     * Set sheet index\n     *\n     * @param    int        $pValue        Sheet index\n     * @return PHPExcel_Writer_CSV\n     */\n    public function setSheetIndex($pValue = 0)\n    {\n        $this->sheetIndex = $pValue;\n        return $this;\n    }\n\n    /**\n     * Write line to CSV file\n     *\n     * @param    mixed    $pFileHandle    PHP filehandle\n     * @param    array    $pValues        Array containing values in a row\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeLine($pFileHandle = null, $pValues = null)\n    {\n        if (is_array($pValues)) {\n            // No leading delimiter\n            $writeDelimiter = false;\n\n            // Build the line\n            $line = '';\n\n            foreach ($pValues as $element) {\n                // Escape enclosures\n                $element = str_replace($this->enclosure, $this->enclosure . $this->enclosure, $element);\n\n                // Add delimiter\n                if ($writeDelimiter) {\n                    $line .= $this->delimiter;\n                } else {\n                    $writeDelimiter = true;\n                }\n\n                // Add enclosed string\n                $line .= $this->enclosure . $element . $this->enclosure;\n            }\n\n            // Add line ending\n            $line .= $this->lineEnding;\n\n            // Write to file\n            fwrite($pFileHandle, $line);\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid data row passed to CSV writer.\");\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Chart.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_Chart\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    protected $calculateCellValues;\n\n    /**\n     * Write charts to XML format\n     *\n     * @param  PHPExcel_Chart $pChart\n     *\n     * @return  string            XML Output\n     * @throws  PHPExcel_Writer_Exception\n     */\n    public function writeChart(PHPExcel_Chart $pChart = null, $calculateCellValues = true)\n    {\n        $this->calculateCellValues = $calculateCellValues;\n\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n        //    Ensure that data series values are up-to-date before we save\n        if ($this->calculateCellValues) {\n            $pChart->refresh();\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // c:chartSpace\n        $objWriter->startElement('c:chartSpace');\n        $objWriter->writeAttribute('xmlns:c', 'http://schemas.openxmlformats.org/drawingml/2006/chart');\n        $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main');\n        $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships');\n\n        $objWriter->startElement('c:date1904');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n        $objWriter->startElement('c:lang');\n        $objWriter->writeAttribute('val', \"en-GB\");\n        $objWriter->endElement();\n        $objWriter->startElement('c:roundedCorners');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n\n        $this->writeAlternateContent($objWriter);\n\n        $objWriter->startElement('c:chart');\n\n        $this->writeTitle($pChart->getTitle(), $objWriter);\n\n        $objWriter->startElement('c:autoTitleDeleted');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n\n        $this->writePlotArea($pChart->getPlotArea(), $pChart->getXAxisLabel(), $pChart->getYAxisLabel(), $objWriter, $pChart->getWorksheet(), $pChart->getChartAxisX(), $pChart->getChartAxisY(), $pChart->getMajorGridlines(), $pChart->getMinorGridlines());\n\n        $this->writeLegend($pChart->getLegend(), $objWriter);\n\n        $objWriter->startElement('c:plotVisOnly');\n        $objWriter->writeAttribute('val', 1);\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:dispBlanksAs');\n        $objWriter->writeAttribute('val', \"gap\");\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showDLblsOverMax');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        $this->writePrintSettings($objWriter);\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write Chart Title\n     *\n     * @param  PHPExcel_Chart_Title $title\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeTitle(PHPExcel_Chart_Title $title = null, $objWriter)\n    {\n        if (is_null($title)) {\n            return;\n        }\n\n        $objWriter->startElement('c:title');\n        $objWriter->startElement('c:tx');\n        $objWriter->startElement('c:rich');\n\n        $objWriter->startElement('a:bodyPr');\n        $objWriter->endElement();\n\n        $objWriter->startElement('a:lstStyle');\n        $objWriter->endElement();\n\n        $objWriter->startElement('a:p');\n\n        $caption = $title->getCaption();\n        if ((is_array($caption)) && (count($caption) > 0)) {\n            $caption = $caption[0];\n        }\n        $this->getParentWriter()->getWriterPart('stringtable')->writeRichTextForCharts($objWriter, $caption, 'a');\n\n        $objWriter->endElement();\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $this->writeLayout($title->getLayout(), $objWriter);\n\n        $objWriter->startElement('c:overlay');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Chart Legend\n     *\n     * @param  PHPExcel_Chart_Legend $legend\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeLegend(PHPExcel_Chart_Legend $legend = null, $objWriter)\n    {\n        if (is_null($legend)) {\n            return;\n        }\n\n        $objWriter->startElement('c:legend');\n\n        $objWriter->startElement('c:legendPos');\n        $objWriter->writeAttribute('val', $legend->getPosition());\n        $objWriter->endElement();\n\n        $this->writeLayout($legend->getLayout(), $objWriter);\n\n        $objWriter->startElement('c:overlay');\n        $objWriter->writeAttribute('val', ($legend->getOverlay()) ? '1' : '0');\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:txPr');\n        $objWriter->startElement('a:bodyPr');\n        $objWriter->endElement();\n\n        $objWriter->startElement('a:lstStyle');\n        $objWriter->endElement();\n\n        $objWriter->startElement('a:p');\n        $objWriter->startElement('a:pPr');\n        $objWriter->writeAttribute('rtl', 0);\n\n        $objWriter->startElement('a:defRPr');\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->startElement('a:endParaRPr');\n        $objWriter->writeAttribute('lang', \"en-US\");\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Chart Plot Area\n     *\n     * @param  PHPExcel_Chart_PlotArea $plotArea\n     * @param  PHPExcel_Chart_Title $xAxisLabel\n     * @param  PHPExcel_Chart_Title $yAxisLabel\n     * @param  PHPExcel_Chart_Axis $xAxis\n     * @param  PHPExcel_Chart_Axis $yAxis\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writePlotArea(PHPExcel_Chart_PlotArea $plotArea, PHPExcel_Chart_Title $xAxisLabel = null, PHPExcel_Chart_Title $yAxisLabel = null, $objWriter, PHPExcel_Worksheet $pSheet, PHPExcel_Chart_Axis $xAxis, PHPExcel_Chart_Axis $yAxis, PHPExcel_Chart_GridLines $majorGridlines, PHPExcel_Chart_GridLines $minorGridlines)\n    {\n        if (is_null($plotArea)) {\n            return;\n        }\n\n        $id1 = $id2 = 0;\n        $this->_seriesIndex = 0;\n        $objWriter->startElement('c:plotArea');\n\n        $layout = $plotArea->getLayout();\n\n        $this->writeLayout($layout, $objWriter);\n\n        $chartTypes = self::getChartType($plotArea);\n        $catIsMultiLevelSeries = $valIsMultiLevelSeries = false;\n        $plotGroupingType = '';\n        foreach ($chartTypes as $chartType) {\n            $objWriter->startElement('c:' . $chartType);\n\n            $groupCount = $plotArea->getPlotGroupCount();\n            for ($i = 0; $i < $groupCount; ++$i) {\n                $plotGroup = $plotArea->getPlotGroupByIndex($i);\n                $groupType = $plotGroup->getPlotType();\n                if ($groupType == $chartType) {\n                    $plotStyle = $plotGroup->getPlotStyle();\n                    if ($groupType === PHPExcel_Chart_DataSeries::TYPE_RADARCHART) {\n                        $objWriter->startElement('c:radarStyle');\n                        $objWriter->writeAttribute('val', $plotStyle);\n                        $objWriter->endElement();\n                    } elseif ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) {\n                        $objWriter->startElement('c:scatterStyle');\n                        $objWriter->writeAttribute('val', $plotStyle);\n                        $objWriter->endElement();\n                    }\n\n                    $this->writePlotGroup($plotGroup, $chartType, $objWriter, $catIsMultiLevelSeries, $valIsMultiLevelSeries, $plotGroupingType, $pSheet);\n                }\n            }\n\n            $this->writeDataLabels($objWriter, $layout);\n\n            if ($chartType === PHPExcel_Chart_DataSeries::TYPE_LINECHART) {\n                //    Line only, Line3D can't be smoothed\n\n                $objWriter->startElement('c:smooth');\n                $objWriter->writeAttribute('val', (integer) $plotGroup->getSmoothLine());\n                $objWriter->endElement();\n            } elseif (($chartType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) ||($chartType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D)) {\n                $objWriter->startElement('c:gapWidth');\n                $objWriter->writeAttribute('val', 150);\n                $objWriter->endElement();\n\n                if ($plotGroupingType == 'percentStacked' || $plotGroupingType == 'stacked') {\n                    $objWriter->startElement('c:overlap');\n                    $objWriter->writeAttribute('val', 100);\n                    $objWriter->endElement();\n                }\n            } elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) {\n                $objWriter->startElement('c:bubbleScale');\n                $objWriter->writeAttribute('val', 25);\n                $objWriter->endElement();\n\n                $objWriter->startElement('c:showNegBubbles');\n                $objWriter->writeAttribute('val', 0);\n                $objWriter->endElement();\n            } elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) {\n                $objWriter->startElement('c:hiLowLines');\n                $objWriter->endElement();\n\n                $objWriter->startElement('c:upDownBars');\n\n                $objWriter->startElement('c:gapWidth');\n                $objWriter->writeAttribute('val', 300);\n                $objWriter->endElement();\n\n                $objWriter->startElement('c:upBars');\n                $objWriter->endElement();\n\n                $objWriter->startElement('c:downBars');\n                $objWriter->endElement();\n\n                $objWriter->endElement();\n            }\n\n            //    Generate 2 unique numbers to use for axId values\n            //                    $id1 = $id2 = rand(10000000,99999999);\n            //                    do {\n            //                        $id2 = rand(10000000,99999999);\n            //                    } while ($id1 == $id2);\n            $id1 = '75091328';\n            $id2 = '75089408';\n\n            if (($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART) && ($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && ($chartType !== PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {\n                $objWriter->startElement('c:axId');\n                $objWriter->writeAttribute('val', $id1);\n                $objWriter->endElement();\n                $objWriter->startElement('c:axId');\n                $objWriter->writeAttribute('val', $id2);\n                $objWriter->endElement();\n            } else {\n                $objWriter->startElement('c:firstSliceAng');\n                $objWriter->writeAttribute('val', 0);\n                $objWriter->endElement();\n\n                if ($chartType === PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) {\n                    $objWriter->startElement('c:holeSize');\n                    $objWriter->writeAttribute('val', 50);\n                    $objWriter->endElement();\n                }\n            }\n\n            $objWriter->endElement();\n        }\n\n        if (($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART) && ($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && ($chartType !== PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {\n            if ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) {\n                $this->writeValueAxis($objWriter, $plotArea, $xAxisLabel, $chartType, $id1, $id2, $catIsMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines);\n            } else {\n                $this->writeCategoryAxis($objWriter, $plotArea, $xAxisLabel, $chartType, $id1, $id2, $catIsMultiLevelSeries, $xAxis, $yAxis);\n            }\n\n            $this->writeValueAxis($objWriter, $plotArea, $yAxisLabel, $chartType, $id1, $id2, $valIsMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines);\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Data Labels\n     *\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     * @param  PHPExcel_Chart_Layout $chartLayout Chart layout\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeDataLabels($objWriter, $chartLayout)\n    {\n        $objWriter->startElement('c:dLbls');\n\n        $objWriter->startElement('c:showLegendKey');\n        $showLegendKey = (empty($chartLayout)) ? 0 : $chartLayout->getShowLegendKey();\n        $objWriter->writeAttribute('val', ((empty($showLegendKey)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showVal');\n        $showVal = (empty($chartLayout)) ? 0 : $chartLayout->getShowVal();\n        $objWriter->writeAttribute('val', ((empty($showVal)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showCatName');\n        $showCatName = (empty($chartLayout)) ? 0 : $chartLayout->getShowCatName();\n        $objWriter->writeAttribute('val', ((empty($showCatName)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showSerName');\n        $showSerName = (empty($chartLayout)) ? 0 : $chartLayout->getShowSerName();\n        $objWriter->writeAttribute('val', ((empty($showSerName)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showPercent');\n        $showPercent = (empty($chartLayout)) ? 0 : $chartLayout->getShowPercent();\n        $objWriter->writeAttribute('val', ((empty($showPercent)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showBubbleSize');\n        $showBubbleSize = (empty($chartLayout)) ? 0 : $chartLayout->getShowBubbleSize();\n        $objWriter->writeAttribute('val', ((empty($showBubbleSize)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:showLeaderLines');\n        $showLeaderLines = (empty($chartLayout)) ? 1 : $chartLayout->getShowLeaderLines();\n        $objWriter->writeAttribute('val', ((empty($showLeaderLines)) ? 0 : 1));\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Category Axis\n     *\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     * @param  PHPExcel_Chart_PlotArea $plotArea\n     * @param  PHPExcel_Chart_Title $xAxisLabel\n     * @param  string $groupType Chart type\n     * @param  string $id1\n     * @param  string $id2\n     * @param  boolean $isMultiLevelSeries\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeCategoryAxis($objWriter, PHPExcel_Chart_PlotArea $plotArea, $xAxisLabel, $groupType, $id1, $id2, $isMultiLevelSeries, $xAxis, $yAxis)\n    {\n        $objWriter->startElement('c:catAx');\n\n        if ($id1 > 0) {\n            $objWriter->startElement('c:axId');\n            $objWriter->writeAttribute('val', $id1);\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('c:scaling');\n        $objWriter->startElement('c:orientation');\n        $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('orientation'));\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:delete');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:axPos');\n        $objWriter->writeAttribute('val', \"b\");\n        $objWriter->endElement();\n\n        if (!is_null($xAxisLabel)) {\n            $objWriter->startElement('c:title');\n            $objWriter->startElement('c:tx');\n            $objWriter->startElement('c:rich');\n\n            $objWriter->startElement('a:bodyPr');\n            $objWriter->endElement();\n\n            $objWriter->startElement('a:lstStyle');\n            $objWriter->endElement();\n\n            $objWriter->startElement('a:p');\n            $objWriter->startElement('a:r');\n\n            $caption = $xAxisLabel->getCaption();\n            if (is_array($caption)) {\n                $caption = $caption[0];\n            }\n            $objWriter->startElement('a:t');\n            //                                        $objWriter->writeAttribute('xml:space', 'preserve');\n            $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($caption));\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n\n            $layout = $xAxisLabel->getLayout();\n            $this->writeLayout($layout, $objWriter);\n\n            $objWriter->startElement('c:overlay');\n            $objWriter->writeAttribute('val', 0);\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('c:numFmt');\n        $objWriter->writeAttribute('formatCode', $yAxis->getAxisNumberFormat());\n        $objWriter->writeAttribute('sourceLinked', $yAxis->getAxisNumberSourceLinked());\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:majorTickMark');\n        $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('major_tick_mark'));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:minorTickMark');\n        $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('minor_tick_mark'));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:tickLblPos');\n        $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('axis_labels'));\n        $objWriter->endElement();\n\n        if ($id2 > 0) {\n            $objWriter->startElement('c:crossAx');\n            $objWriter->writeAttribute('val', $id2);\n            $objWriter->endElement();\n\n            $objWriter->startElement('c:crosses');\n            $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('horizontal_crosses'));\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('c:auto');\n        $objWriter->writeAttribute('val', 1);\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:lblAlgn');\n        $objWriter->writeAttribute('val', \"ctr\");\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:lblOffset');\n        $objWriter->writeAttribute('val', 100);\n        $objWriter->endElement();\n\n        if ($isMultiLevelSeries) {\n            $objWriter->startElement('c:noMultiLvlLbl');\n            $objWriter->writeAttribute('val', 0);\n            $objWriter->endElement();\n        }\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Value Axis\n     *\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     * @param  PHPExcel_Chart_PlotArea $plotArea\n     * @param  PHPExcel_Chart_Title $yAxisLabel\n     * @param  string $groupType Chart type\n     * @param  string $id1\n     * @param  string $id2\n     * @param  boolean $isMultiLevelSeries\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeValueAxis($objWriter, PHPExcel_Chart_PlotArea $plotArea, $yAxisLabel, $groupType, $id1, $id2, $isMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines)\n    {\n        $objWriter->startElement('c:valAx');\n\n        if ($id2 > 0) {\n            $objWriter->startElement('c:axId');\n            $objWriter->writeAttribute('val', $id2);\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('c:scaling');\n\n        if (!is_null($xAxis->getAxisOptionsProperty('maximum'))) {\n            $objWriter->startElement('c:max');\n            $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('maximum'));\n            $objWriter->endElement();\n        }\n\n        if (!is_null($xAxis->getAxisOptionsProperty('minimum'))) {\n            $objWriter->startElement('c:min');\n            $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minimum'));\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('c:orientation');\n        $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('orientation'));\n\n\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:delete');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:axPos');\n        $objWriter->writeAttribute('val', \"l\");\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:majorGridlines');\n        $objWriter->startElement('c:spPr');\n\n        if (!is_null($majorGridlines->getLineColorProperty('value'))) {\n            $objWriter->startElement('a:ln');\n            $objWriter->writeAttribute('w', $majorGridlines->getLineStyleProperty('width'));\n            $objWriter->startElement('a:solidFill');\n            $objWriter->startElement(\"a:{$majorGridlines->getLineColorProperty('type')}\");\n            $objWriter->writeAttribute('val', $majorGridlines->getLineColorProperty('value'));\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $majorGridlines->getLineColorProperty('alpha'));\n            $objWriter->endElement(); //end alpha\n            $objWriter->endElement(); //end srgbClr\n            $objWriter->endElement(); //end solidFill\n\n            $objWriter->startElement('a:prstDash');\n            $objWriter->writeAttribute('val', $majorGridlines->getLineStyleProperty('dash'));\n            $objWriter->endElement();\n\n            if ($majorGridlines->getLineStyleProperty('join') == 'miter') {\n                $objWriter->startElement('a:miter');\n                $objWriter->writeAttribute('lim', '800000');\n                $objWriter->endElement();\n            } else {\n                $objWriter->startElement('a:bevel');\n                $objWriter->endElement();\n            }\n\n            if (!is_null($majorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')))) {\n                $objWriter->startElement('a:headEnd');\n                $objWriter->writeAttribute('type', $majorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')));\n                $objWriter->writeAttribute('w', $majorGridlines->getLineStyleArrowParameters('head', 'w'));\n                $objWriter->writeAttribute('len', $majorGridlines->getLineStyleArrowParameters('head', 'len'));\n                $objWriter->endElement();\n            }\n\n            if (!is_null($majorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')))) {\n                $objWriter->startElement('a:tailEnd');\n                $objWriter->writeAttribute('type', $majorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')));\n                $objWriter->writeAttribute('w', $majorGridlines->getLineStyleArrowParameters('end', 'w'));\n                $objWriter->writeAttribute('len', $majorGridlines->getLineStyleArrowParameters('end', 'len'));\n                $objWriter->endElement();\n            }\n            $objWriter->endElement(); //end ln\n        }\n        $objWriter->startElement('a:effectLst');\n\n        if (!is_null($majorGridlines->getGlowSize())) {\n            $objWriter->startElement('a:glow');\n            $objWriter->writeAttribute('rad', $majorGridlines->getGlowSize());\n            $objWriter->startElement(\"a:{$majorGridlines->getGlowColor('type')}\");\n            $objWriter->writeAttribute('val', $majorGridlines->getGlowColor('value'));\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $majorGridlines->getGlowColor('alpha'));\n            $objWriter->endElement(); //end alpha\n            $objWriter->endElement(); //end schemeClr\n            $objWriter->endElement(); //end glow\n        }\n\n        if (!is_null($majorGridlines->getShadowProperty('presets'))) {\n            $objWriter->startElement(\"a:{$majorGridlines->getShadowProperty('effect')}\");\n            if (!is_null($majorGridlines->getShadowProperty('blur'))) {\n                $objWriter->writeAttribute('blurRad', $majorGridlines->getShadowProperty('blur'));\n            }\n            if (!is_null($majorGridlines->getShadowProperty('distance'))) {\n                $objWriter->writeAttribute('dist', $majorGridlines->getShadowProperty('distance'));\n            }\n            if (!is_null($majorGridlines->getShadowProperty('direction'))) {\n                $objWriter->writeAttribute('dir', $majorGridlines->getShadowProperty('direction'));\n            }\n            if (!is_null($majorGridlines->getShadowProperty('algn'))) {\n                $objWriter->writeAttribute('algn', $majorGridlines->getShadowProperty('algn'));\n            }\n            if (!is_null($majorGridlines->getShadowProperty(array('size', 'sx')))) {\n                $objWriter->writeAttribute('sx', $majorGridlines->getShadowProperty(array('size', 'sx')));\n            }\n            if (!is_null($majorGridlines->getShadowProperty(array('size', 'sy')))) {\n                $objWriter->writeAttribute('sy', $majorGridlines->getShadowProperty(array('size', 'sy')));\n            }\n            if (!is_null($majorGridlines->getShadowProperty(array('size', 'kx')))) {\n                $objWriter->writeAttribute('kx', $majorGridlines->getShadowProperty(array('size', 'kx')));\n            }\n            if (!is_null($majorGridlines->getShadowProperty('rotWithShape'))) {\n                $objWriter->writeAttribute('rotWithShape', $majorGridlines->getShadowProperty('rotWithShape'));\n            }\n            $objWriter->startElement(\"a:{$majorGridlines->getShadowProperty(array('color', 'type'))}\");\n            $objWriter->writeAttribute('val', $majorGridlines->getShadowProperty(array('color', 'value')));\n\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $majorGridlines->getShadowProperty(array('color', 'alpha')));\n            $objWriter->endElement(); //end alpha\n\n            $objWriter->endElement(); //end color:type\n            $objWriter->endElement(); //end shadow\n        }\n\n        if (!is_null($majorGridlines->getSoftEdgesSize())) {\n            $objWriter->startElement('a:softEdge');\n            $objWriter->writeAttribute('rad', $majorGridlines->getSoftEdgesSize());\n            $objWriter->endElement(); //end softEdge\n        }\n\n        $objWriter->endElement(); //end effectLst\n        $objWriter->endElement(); //end spPr\n        $objWriter->endElement(); //end majorGridLines\n\n        if ($minorGridlines->getObjectState()) {\n            $objWriter->startElement('c:minorGridlines');\n            $objWriter->startElement('c:spPr');\n\n            if (!is_null($minorGridlines->getLineColorProperty('value'))) {\n                $objWriter->startElement('a:ln');\n                $objWriter->writeAttribute('w', $minorGridlines->getLineStyleProperty('width'));\n                $objWriter->startElement('a:solidFill');\n                $objWriter->startElement(\"a:{$minorGridlines->getLineColorProperty('type')}\");\n                $objWriter->writeAttribute('val', $minorGridlines->getLineColorProperty('value'));\n                $objWriter->startElement('a:alpha');\n                $objWriter->writeAttribute('val', $minorGridlines->getLineColorProperty('alpha'));\n                $objWriter->endElement(); //end alpha\n                $objWriter->endElement(); //end srgbClr\n                $objWriter->endElement(); //end solidFill\n\n                $objWriter->startElement('a:prstDash');\n                $objWriter->writeAttribute('val', $minorGridlines->getLineStyleProperty('dash'));\n                $objWriter->endElement();\n\n                if ($minorGridlines->getLineStyleProperty('join') == 'miter') {\n                    $objWriter->startElement('a:miter');\n                    $objWriter->writeAttribute('lim', '800000');\n                    $objWriter->endElement();\n                } else {\n                    $objWriter->startElement('a:bevel');\n                    $objWriter->endElement();\n                }\n\n                if (!is_null($minorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')))) {\n                    $objWriter->startElement('a:headEnd');\n                    $objWriter->writeAttribute('type', $minorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')));\n                    $objWriter->writeAttribute('w', $minorGridlines->getLineStyleArrowParameters('head', 'w'));\n                    $objWriter->writeAttribute('len', $minorGridlines->getLineStyleArrowParameters('head', 'len'));\n                    $objWriter->endElement();\n                }\n\n                if (!is_null($minorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')))) {\n                    $objWriter->startElement('a:tailEnd');\n                    $objWriter->writeAttribute('type', $minorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')));\n                    $objWriter->writeAttribute('w', $minorGridlines->getLineStyleArrowParameters('end', 'w'));\n                    $objWriter->writeAttribute('len', $minorGridlines->getLineStyleArrowParameters('end', 'len'));\n                    $objWriter->endElement();\n                }\n                $objWriter->endElement(); //end ln\n            }\n\n            $objWriter->startElement('a:effectLst');\n\n            if (!is_null($minorGridlines->getGlowSize())) {\n                $objWriter->startElement('a:glow');\n                $objWriter->writeAttribute('rad', $minorGridlines->getGlowSize());\n                $objWriter->startElement(\"a:{$minorGridlines->getGlowColor('type')}\");\n                $objWriter->writeAttribute('val', $minorGridlines->getGlowColor('value'));\n                $objWriter->startElement('a:alpha');\n                $objWriter->writeAttribute('val', $minorGridlines->getGlowColor('alpha'));\n                $objWriter->endElement(); //end alpha\n                $objWriter->endElement(); //end schemeClr\n                $objWriter->endElement(); //end glow\n            }\n\n            if (!is_null($minorGridlines->getShadowProperty('presets'))) {\n                $objWriter->startElement(\"a:{$minorGridlines->getShadowProperty('effect')}\");\n                if (!is_null($minorGridlines->getShadowProperty('blur'))) {\n                    $objWriter->writeAttribute('blurRad', $minorGridlines->getShadowProperty('blur'));\n                }\n                if (!is_null($minorGridlines->getShadowProperty('distance'))) {\n                    $objWriter->writeAttribute('dist', $minorGridlines->getShadowProperty('distance'));\n                }\n                if (!is_null($minorGridlines->getShadowProperty('direction'))) {\n                    $objWriter->writeAttribute('dir', $minorGridlines->getShadowProperty('direction'));\n                }\n                if (!is_null($minorGridlines->getShadowProperty('algn'))) {\n                    $objWriter->writeAttribute('algn', $minorGridlines->getShadowProperty('algn'));\n                }\n                if (!is_null($minorGridlines->getShadowProperty(array('size', 'sx')))) {\n                    $objWriter->writeAttribute('sx', $minorGridlines->getShadowProperty(array('size', 'sx')));\n                }\n                if (!is_null($minorGridlines->getShadowProperty(array('size', 'sy')))) {\n                    $objWriter->writeAttribute('sy', $minorGridlines->getShadowProperty(array('size', 'sy')));\n                }\n                if (!is_null($minorGridlines->getShadowProperty(array('size', 'kx')))) {\n                    $objWriter->writeAttribute('kx', $minorGridlines->getShadowProperty(array('size', 'kx')));\n                }\n                if (!is_null($minorGridlines->getShadowProperty('rotWithShape'))) {\n                    $objWriter->writeAttribute('rotWithShape', $minorGridlines->getShadowProperty('rotWithShape'));\n                }\n                $objWriter->startElement(\"a:{$minorGridlines->getShadowProperty(array('color', 'type'))}\");\n                $objWriter->writeAttribute('val', $minorGridlines->getShadowProperty(array('color', 'value')));\n                $objWriter->startElement('a:alpha');\n                $objWriter->writeAttribute('val', $minorGridlines->getShadowProperty(array('color', 'alpha')));\n                $objWriter->endElement(); //end alpha\n                $objWriter->endElement(); //end color:type\n                $objWriter->endElement(); //end shadow\n            }\n\n            if (!is_null($minorGridlines->getSoftEdgesSize())) {\n                $objWriter->startElement('a:softEdge');\n                $objWriter->writeAttribute('rad', $minorGridlines->getSoftEdgesSize());\n                $objWriter->endElement(); //end softEdge\n            }\n\n            $objWriter->endElement(); //end effectLst\n            $objWriter->endElement(); //end spPr\n            $objWriter->endElement(); //end minorGridLines\n        }\n\n        if (!is_null($yAxisLabel)) {\n            $objWriter->startElement('c:title');\n            $objWriter->startElement('c:tx');\n            $objWriter->startElement('c:rich');\n\n            $objWriter->startElement('a:bodyPr');\n            $objWriter->endElement();\n\n            $objWriter->startElement('a:lstStyle');\n            $objWriter->endElement();\n\n            $objWriter->startElement('a:p');\n            $objWriter->startElement('a:r');\n\n            $caption = $yAxisLabel->getCaption();\n            if (is_array($caption)) {\n                $caption = $caption[0];\n            }\n\n            $objWriter->startElement('a:t');\n            //                                        $objWriter->writeAttribute('xml:space', 'preserve');\n            $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($caption));\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n\n            if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) {\n                $layout = $yAxisLabel->getLayout();\n                $this->writeLayout($layout, $objWriter);\n            }\n\n            $objWriter->startElement('c:overlay');\n            $objWriter->writeAttribute('val', 0);\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('c:numFmt');\n        $objWriter->writeAttribute('formatCode', $xAxis->getAxisNumberFormat());\n        $objWriter->writeAttribute('sourceLinked', $xAxis->getAxisNumberSourceLinked());\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:majorTickMark');\n        $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('major_tick_mark'));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:minorTickMark');\n        $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minor_tick_mark'));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:tickLblPos');\n        $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('axis_labels'));\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:spPr');\n\n        if (!is_null($xAxis->getFillProperty('value'))) {\n            $objWriter->startElement('a:solidFill');\n            $objWriter->startElement(\"a:\" . $xAxis->getFillProperty('type'));\n            $objWriter->writeAttribute('val', $xAxis->getFillProperty('value'));\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $xAxis->getFillProperty('alpha'));\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('a:ln');\n\n        $objWriter->writeAttribute('w', $xAxis->getLineStyleProperty('width'));\n        $objWriter->writeAttribute('cap', $xAxis->getLineStyleProperty('cap'));\n        $objWriter->writeAttribute('cmpd', $xAxis->getLineStyleProperty('compound'));\n\n        if (!is_null($xAxis->getLineProperty('value'))) {\n            $objWriter->startElement('a:solidFill');\n            $objWriter->startElement(\"a:\" . $xAxis->getLineProperty('type'));\n            $objWriter->writeAttribute('val', $xAxis->getLineProperty('value'));\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $xAxis->getLineProperty('alpha'));\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n        }\n\n        $objWriter->startElement('a:prstDash');\n        $objWriter->writeAttribute('val', $xAxis->getLineStyleProperty('dash'));\n        $objWriter->endElement();\n\n        if ($xAxis->getLineStyleProperty('join') == 'miter') {\n            $objWriter->startElement('a:miter');\n            $objWriter->writeAttribute('lim', '800000');\n            $objWriter->endElement();\n        } else {\n            $objWriter->startElement('a:bevel');\n            $objWriter->endElement();\n        }\n\n        if (!is_null($xAxis->getLineStyleProperty(array('arrow', 'head', 'type')))) {\n            $objWriter->startElement('a:headEnd');\n            $objWriter->writeAttribute('type', $xAxis->getLineStyleProperty(array('arrow', 'head', 'type')));\n            $objWriter->writeAttribute('w', $xAxis->getLineStyleArrowWidth('head'));\n            $objWriter->writeAttribute('len', $xAxis->getLineStyleArrowLength('head'));\n            $objWriter->endElement();\n        }\n\n        if (!is_null($xAxis->getLineStyleProperty(array('arrow', 'end', 'type')))) {\n            $objWriter->startElement('a:tailEnd');\n            $objWriter->writeAttribute('type', $xAxis->getLineStyleProperty(array('arrow', 'end', 'type')));\n            $objWriter->writeAttribute('w', $xAxis->getLineStyleArrowWidth('end'));\n            $objWriter->writeAttribute('len', $xAxis->getLineStyleArrowLength('end'));\n            $objWriter->endElement();\n        }\n\n        $objWriter->endElement();\n\n        $objWriter->startElement('a:effectLst');\n\n        if (!is_null($xAxis->getGlowProperty('size'))) {\n            $objWriter->startElement('a:glow');\n            $objWriter->writeAttribute('rad', $xAxis->getGlowProperty('size'));\n            $objWriter->startElement(\"a:{$xAxis->getGlowProperty(array('color','type'))}\");\n            $objWriter->writeAttribute('val', $xAxis->getGlowProperty(array('color','value')));\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $xAxis->getGlowProperty(array('color','alpha')));\n            $objWriter->endElement();\n            $objWriter->endElement();\n            $objWriter->endElement();\n        }\n\n        if (!is_null($xAxis->getShadowProperty('presets'))) {\n            $objWriter->startElement(\"a:{$xAxis->getShadowProperty('effect')}\");\n\n            if (!is_null($xAxis->getShadowProperty('blur'))) {\n                $objWriter->writeAttribute('blurRad', $xAxis->getShadowProperty('blur'));\n            }\n            if (!is_null($xAxis->getShadowProperty('distance'))) {\n                $objWriter->writeAttribute('dist', $xAxis->getShadowProperty('distance'));\n            }\n            if (!is_null($xAxis->getShadowProperty('direction'))) {\n                $objWriter->writeAttribute('dir', $xAxis->getShadowProperty('direction'));\n            }\n            if (!is_null($xAxis->getShadowProperty('algn'))) {\n                $objWriter->writeAttribute('algn', $xAxis->getShadowProperty('algn'));\n            }\n            if (!is_null($xAxis->getShadowProperty(array('size','sx')))) {\n                $objWriter->writeAttribute('sx', $xAxis->getShadowProperty(array('size','sx')));\n            }\n            if (!is_null($xAxis->getShadowProperty(array('size','sy')))) {\n                $objWriter->writeAttribute('sy', $xAxis->getShadowProperty(array('size','sy')));\n            }\n            if (!is_null($xAxis->getShadowProperty(array('size','kx')))) {\n                $objWriter->writeAttribute('kx', $xAxis->getShadowProperty(array('size','kx')));\n            }\n            if (!is_null($xAxis->getShadowProperty('rotWithShape'))) {\n                $objWriter->writeAttribute('rotWithShape', $xAxis->getShadowProperty('rotWithShape'));\n            }\n\n            $objWriter->startElement(\"a:{$xAxis->getShadowProperty(array('color','type'))}\");\n            $objWriter->writeAttribute('val', $xAxis->getShadowProperty(array('color','value')));\n            $objWriter->startElement('a:alpha');\n            $objWriter->writeAttribute('val', $xAxis->getShadowProperty(array('color','alpha')));\n            $objWriter->endElement();\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n\n        if (!is_null($xAxis->getSoftEdgesSize())) {\n            $objWriter->startElement('a:softEdge');\n            $objWriter->writeAttribute('rad', $xAxis->getSoftEdgesSize());\n            $objWriter->endElement();\n        }\n\n        $objWriter->endElement(); //effectList\n        $objWriter->endElement(); //end spPr\n\n        if ($id1 > 0) {\n            $objWriter->startElement('c:crossAx');\n            $objWriter->writeAttribute('val', $id2);\n            $objWriter->endElement();\n\n            if (!is_null($xAxis->getAxisOptionsProperty('horizontal_crosses_value'))) {\n                $objWriter->startElement('c:crossesAt');\n                $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('horizontal_crosses_value'));\n                $objWriter->endElement();\n            } else {\n                $objWriter->startElement('c:crosses');\n                $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('horizontal_crosses'));\n                $objWriter->endElement();\n            }\n\n            $objWriter->startElement('c:crossBetween');\n            $objWriter->writeAttribute('val', \"midCat\");\n            $objWriter->endElement();\n\n            if (!is_null($xAxis->getAxisOptionsProperty('major_unit'))) {\n                $objWriter->startElement('c:majorUnit');\n                $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('major_unit'));\n                $objWriter->endElement();\n            }\n\n            if (!is_null($xAxis->getAxisOptionsProperty('minor_unit'))) {\n                $objWriter->startElement('c:minorUnit');\n                $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minor_unit'));\n                $objWriter->endElement();\n            }\n        }\n\n        if ($isMultiLevelSeries) {\n            if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) {\n                $objWriter->startElement('c:noMultiLvlLbl');\n                $objWriter->writeAttribute('val', 0);\n                $objWriter->endElement();\n            }\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Get the data series type(s) for a chart plot series\n     *\n     * @param  PHPExcel_Chart_PlotArea $plotArea\n     *\n     * @return  string|array\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private static function getChartType($plotArea)\n    {\n        $groupCount = $plotArea->getPlotGroupCount();\n\n        if ($groupCount == 1) {\n            $chartType = array($plotArea->getPlotGroupByIndex(0)->getPlotType());\n        } else {\n            $chartTypes = array();\n            for ($i = 0; $i < $groupCount; ++$i) {\n                $chartTypes[] = $plotArea->getPlotGroupByIndex($i)->getPlotType();\n            }\n            $chartType = array_unique($chartTypes);\n            if (count($chartTypes) == 0) {\n                throw new PHPExcel_Writer_Exception('Chart is not yet implemented');\n            }\n        }\n\n        return $chartType;\n    }\n\n    /**\n     * Write Plot Group (series of related plots)\n     *\n     * @param  PHPExcel_Chart_DataSeries $plotGroup\n     * @param  string $groupType Type of plot for dataseries\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     * @param  boolean &$catIsMultiLevelSeries Is category a multi-series category\n     * @param  boolean &$valIsMultiLevelSeries Is value set a multi-series set\n     * @param  string &$plotGroupingType Type of grouping for multi-series values\n     * @param  PHPExcel_Worksheet $pSheet\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writePlotGroup($plotGroup, $groupType, $objWriter, &$catIsMultiLevelSeries, &$valIsMultiLevelSeries, &$plotGroupingType, PHPExcel_Worksheet $pSheet)\n    {\n        if (is_null($plotGroup)) {\n            return;\n        }\n\n        if (($groupType == PHPExcel_Chart_DataSeries::TYPE_BARCHART) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D)) {\n            $objWriter->startElement('c:barDir');\n            $objWriter->writeAttribute('val', $plotGroup->getPlotDirection());\n            $objWriter->endElement();\n        }\n\n        if (!is_null($plotGroup->getPlotGrouping())) {\n            $plotGroupingType = $plotGroup->getPlotGrouping();\n            $objWriter->startElement('c:grouping');\n            $objWriter->writeAttribute('val', $plotGroupingType);\n            $objWriter->endElement();\n        }\n\n        //    Get these details before the loop, because we can use the count to check for varyColors\n        $plotSeriesOrder = $plotGroup->getPlotOrder();\n        $plotSeriesCount = count($plotSeriesOrder);\n\n        if (($groupType !== PHPExcel_Chart_DataSeries::TYPE_RADARCHART) && ($groupType !== PHPExcel_Chart_DataSeries::TYPE_STOCKCHART)) {\n            if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_LINECHART) {\n                if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) || ($plotSeriesCount > 1)) {\n                    $objWriter->startElement('c:varyColors');\n                    $objWriter->writeAttribute('val', 1);\n                    $objWriter->endElement();\n                } else {\n                    $objWriter->startElement('c:varyColors');\n                    $objWriter->writeAttribute('val', 0);\n                    $objWriter->endElement();\n                }\n            }\n        }\n\n        foreach ($plotSeriesOrder as $plotSeriesIdx => $plotSeriesRef) {\n            $objWriter->startElement('c:ser');\n\n            $objWriter->startElement('c:idx');\n            $objWriter->writeAttribute('val', $this->_seriesIndex + $plotSeriesIdx);\n            $objWriter->endElement();\n\n            $objWriter->startElement('c:order');\n            $objWriter->writeAttribute('val', $this->_seriesIndex + $plotSeriesRef);\n            $objWriter->endElement();\n\n            if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {\n                $objWriter->startElement('c:dPt');\n                $objWriter->startElement('c:idx');\n                $objWriter->writeAttribute('val', 3);\n                $objWriter->endElement();\n\n                $objWriter->startElement('c:bubble3D');\n                $objWriter->writeAttribute('val', 0);\n                $objWriter->endElement();\n\n                $objWriter->startElement('c:spPr');\n                $objWriter->startElement('a:solidFill');\n                $objWriter->startElement('a:srgbClr');\n                $objWriter->writeAttribute('val', 'FF9900');\n                $objWriter->endElement();\n                $objWriter->endElement();\n                $objWriter->endElement();\n                $objWriter->endElement();\n            }\n\n            //    Labels\n            $plotSeriesLabel = $plotGroup->getPlotLabelByIndex($plotSeriesRef);\n            if ($plotSeriesLabel && ($plotSeriesLabel->getPointCount() > 0)) {\n                $objWriter->startElement('c:tx');\n                $objWriter->startElement('c:strRef');\n                $this->writePlotSeriesLabel($plotSeriesLabel, $objWriter);\n                $objWriter->endElement();\n                $objWriter->endElement();\n            }\n\n            //    Formatting for the points\n            if (($groupType == PHPExcel_Chart_DataSeries::TYPE_LINECHART) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_STOCKCHART)) {\n                $objWriter->startElement('c:spPr');\n                $objWriter->startElement('a:ln');\n                $objWriter->writeAttribute('w', 12700);\n                if ($groupType == PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) {\n                    $objWriter->startElement('a:noFill');\n                    $objWriter->endElement();\n                }\n                $objWriter->endElement();\n                $objWriter->endElement();\n            }\n\n            $plotSeriesValues = $plotGroup->getPlotValuesByIndex($plotSeriesRef);\n            if ($plotSeriesValues) {\n                $plotSeriesMarker = $plotSeriesValues->getPointMarker();\n                if ($plotSeriesMarker) {\n                    $objWriter->startElement('c:marker');\n                    $objWriter->startElement('c:symbol');\n                    $objWriter->writeAttribute('val', $plotSeriesMarker);\n                    $objWriter->endElement();\n\n                    if ($plotSeriesMarker !== 'none') {\n                        $objWriter->startElement('c:size');\n                        $objWriter->writeAttribute('val', 3);\n                        $objWriter->endElement();\n                    }\n\n                    $objWriter->endElement();\n                }\n            }\n\n            if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) || ($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) || ($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART)) {\n                $objWriter->startElement('c:invertIfNegative');\n                $objWriter->writeAttribute('val', 0);\n                $objWriter->endElement();\n            }\n\n            //    Category Labels\n            $plotSeriesCategory = $plotGroup->getPlotCategoryByIndex($plotSeriesRef);\n            if ($plotSeriesCategory && ($plotSeriesCategory->getPointCount() > 0)) {\n                $catIsMultiLevelSeries = $catIsMultiLevelSeries || $plotSeriesCategory->isMultiLevelSeries();\n\n                if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {\n                    if (!is_null($plotGroup->getPlotStyle())) {\n                        $plotStyle = $plotGroup->getPlotStyle();\n                        if ($plotStyle) {\n                            $objWriter->startElement('c:explosion');\n                            $objWriter->writeAttribute('val', 25);\n                            $objWriter->endElement();\n                        }\n                    }\n                }\n\n                if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) || ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART)) {\n                    $objWriter->startElement('c:xVal');\n                } else {\n                    $objWriter->startElement('c:cat');\n                }\n\n                $this->writePlotSeriesValues($plotSeriesCategory, $objWriter, $groupType, 'str', $pSheet);\n                $objWriter->endElement();\n            }\n\n            //    Values\n            if ($plotSeriesValues) {\n                $valIsMultiLevelSeries = $valIsMultiLevelSeries || $plotSeriesValues->isMultiLevelSeries();\n\n                if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) || ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART)) {\n                    $objWriter->startElement('c:yVal');\n                } else {\n                    $objWriter->startElement('c:val');\n                }\n\n                $this->writePlotSeriesValues($plotSeriesValues, $objWriter, $groupType, 'num', $pSheet);\n                $objWriter->endElement();\n            }\n\n            if ($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) {\n                $this->writeBubbles($plotSeriesValues, $objWriter, $pSheet);\n            }\n\n            $objWriter->endElement();\n        }\n\n        $this->_seriesIndex += $plotSeriesIdx + 1;\n    }\n\n    /**\n     * Write Plot Series Label\n     *\n     * @param  PHPExcel_Chart_DataSeriesValues $plotSeriesLabel\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writePlotSeriesLabel($plotSeriesLabel, $objWriter)\n    {\n        if (is_null($plotSeriesLabel)) {\n            return;\n        }\n\n        $objWriter->startElement('c:f');\n        $objWriter->writeRawData($plotSeriesLabel->getDataSource());\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:strCache');\n        $objWriter->startElement('c:ptCount');\n        $objWriter->writeAttribute('val', $plotSeriesLabel->getPointCount());\n        $objWriter->endElement();\n\n        foreach ($plotSeriesLabel->getDataValues() as $plotLabelKey => $plotLabelValue) {\n            $objWriter->startElement('c:pt');\n            $objWriter->writeAttribute('idx', $plotLabelKey);\n\n            $objWriter->startElement('c:v');\n            $objWriter->writeRawData($plotLabelValue);\n            $objWriter->endElement();\n            $objWriter->endElement();\n        }\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Plot Series Values\n     *\n     * @param  PHPExcel_Chart_DataSeriesValues $plotSeriesValues\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     * @param  string $groupType Type of plot for dataseries\n     * @param  string $dataType Datatype of series values\n     * @param  PHPExcel_Worksheet $pSheet\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writePlotSeriesValues($plotSeriesValues, $objWriter, $groupType, $dataType = 'str', PHPExcel_Worksheet $pSheet)\n    {\n        if (is_null($plotSeriesValues)) {\n            return;\n        }\n\n        if ($plotSeriesValues->isMultiLevelSeries()) {\n            $levelCount = $plotSeriesValues->multiLevelCount();\n\n            $objWriter->startElement('c:multiLvlStrRef');\n\n            $objWriter->startElement('c:f');\n            $objWriter->writeRawData($plotSeriesValues->getDataSource());\n            $objWriter->endElement();\n\n            $objWriter->startElement('c:multiLvlStrCache');\n\n            $objWriter->startElement('c:ptCount');\n            $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount());\n            $objWriter->endElement();\n\n            for ($level = 0; $level < $levelCount; ++$level) {\n                $objWriter->startElement('c:lvl');\n\n                foreach ($plotSeriesValues->getDataValues() as $plotSeriesKey => $plotSeriesValue) {\n                    if (isset($plotSeriesValue[$level])) {\n                        $objWriter->startElement('c:pt');\n                        $objWriter->writeAttribute('idx', $plotSeriesKey);\n\n                        $objWriter->startElement('c:v');\n                        $objWriter->writeRawData($plotSeriesValue[$level]);\n                        $objWriter->endElement();\n                        $objWriter->endElement();\n                    }\n                }\n\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        } else {\n            $objWriter->startElement('c:' . $dataType . 'Ref');\n\n            $objWriter->startElement('c:f');\n            $objWriter->writeRawData($plotSeriesValues->getDataSource());\n            $objWriter->endElement();\n\n            $objWriter->startElement('c:' . $dataType . 'Cache');\n\n            if (($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART) && ($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && ($groupType != PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {\n                if (($plotSeriesValues->getFormatCode() !== null) && ($plotSeriesValues->getFormatCode() !== '')) {\n                    $objWriter->startElement('c:formatCode');\n                    $objWriter->writeRawData($plotSeriesValues->getFormatCode());\n                    $objWriter->endElement();\n                }\n            }\n\n            $objWriter->startElement('c:ptCount');\n            $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount());\n            $objWriter->endElement();\n\n            $dataValues = $plotSeriesValues->getDataValues();\n            if (!empty($dataValues)) {\n                if (is_array($dataValues)) {\n                    foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) {\n                        $objWriter->startElement('c:pt');\n                        $objWriter->writeAttribute('idx', $plotSeriesKey);\n\n                        $objWriter->startElement('c:v');\n                        $objWriter->writeRawData($plotSeriesValue);\n                        $objWriter->endElement();\n                        $objWriter->endElement();\n                    }\n                }\n            }\n\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write Bubble Chart Details\n     *\n     * @param  PHPExcel_Chart_DataSeriesValues $plotSeriesValues\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeBubbles($plotSeriesValues, $objWriter, PHPExcel_Worksheet $pSheet)\n    {\n        if (is_null($plotSeriesValues)) {\n            return;\n        }\n\n        $objWriter->startElement('c:bubbleSize');\n        $objWriter->startElement('c:numLit');\n\n        $objWriter->startElement('c:formatCode');\n        $objWriter->writeRawData('General');\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:ptCount');\n        $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount());\n        $objWriter->endElement();\n\n        $dataValues = $plotSeriesValues->getDataValues();\n        if (!empty($dataValues)) {\n            if (is_array($dataValues)) {\n                foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) {\n                    $objWriter->startElement('c:pt');\n                    $objWriter->writeAttribute('idx', $plotSeriesKey);\n                    $objWriter->startElement('c:v');\n                    $objWriter->writeRawData(1);\n                    $objWriter->endElement();\n                    $objWriter->endElement();\n                }\n            }\n        }\n\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:bubble3D');\n        $objWriter->writeAttribute('val', 0);\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Layout\n     *\n     * @param  PHPExcel_Chart_Layout $layout\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeLayout(PHPExcel_Chart_Layout $layout = null, $objWriter)\n    {\n        $objWriter->startElement('c:layout');\n\n        if (!is_null($layout)) {\n            $objWriter->startElement('c:manualLayout');\n\n            $layoutTarget = $layout->getLayoutTarget();\n            if (!is_null($layoutTarget)) {\n                $objWriter->startElement('c:layoutTarget');\n                $objWriter->writeAttribute('val', $layoutTarget);\n                $objWriter->endElement();\n            }\n\n            $xMode = $layout->getXMode();\n            if (!is_null($xMode)) {\n                $objWriter->startElement('c:xMode');\n                $objWriter->writeAttribute('val', $xMode);\n                $objWriter->endElement();\n            }\n\n            $yMode = $layout->getYMode();\n            if (!is_null($yMode)) {\n                $objWriter->startElement('c:yMode');\n                $objWriter->writeAttribute('val', $yMode);\n                $objWriter->endElement();\n            }\n\n            $x = $layout->getXPosition();\n            if (!is_null($x)) {\n                $objWriter->startElement('c:x');\n                $objWriter->writeAttribute('val', $x);\n                $objWriter->endElement();\n            }\n\n            $y = $layout->getYPosition();\n            if (!is_null($y)) {\n                $objWriter->startElement('c:y');\n                $objWriter->writeAttribute('val', $y);\n                $objWriter->endElement();\n            }\n\n            $w = $layout->getWidth();\n            if (!is_null($w)) {\n                $objWriter->startElement('c:w');\n                $objWriter->writeAttribute('val', $w);\n                $objWriter->endElement();\n            }\n\n            $h = $layout->getHeight();\n            if (!is_null($h)) {\n                $objWriter->startElement('c:h');\n                $objWriter->writeAttribute('val', $h);\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Alternate Content block\n     *\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writeAlternateContent($objWriter)\n    {\n        $objWriter->startElement('mc:AlternateContent');\n        $objWriter->writeAttribute('xmlns:mc', 'http://schemas.openxmlformats.org/markup-compatibility/2006');\n\n        $objWriter->startElement('mc:Choice');\n        $objWriter->writeAttribute('xmlns:c14', 'http://schemas.microsoft.com/office/drawing/2007/8/2/chart');\n        $objWriter->writeAttribute('Requires', 'c14');\n\n        $objWriter->startElement('c14:style');\n        $objWriter->writeAttribute('val', '102');\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->startElement('mc:Fallback');\n        $objWriter->startElement('c:style');\n        $objWriter->writeAttribute('val', '2');\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Printer Settings\n     *\n     * @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     *\n     * @throws  PHPExcel_Writer_Exception\n     */\n    private function writePrintSettings($objWriter)\n    {\n        $objWriter->startElement('c:printSettings');\n\n        $objWriter->startElement('c:headerFooter');\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:pageMargins');\n        $objWriter->writeAttribute('footer', 0.3);\n        $objWriter->writeAttribute('header', 0.3);\n        $objWriter->writeAttribute('r', 0.7);\n        $objWriter->writeAttribute('l', 0.7);\n        $objWriter->writeAttribute('t', 0.75);\n        $objWriter->writeAttribute('b', 0.75);\n        $objWriter->endElement();\n\n        $objWriter->startElement('c:pageSetup');\n        $objWriter->writeAttribute('orientation', \"portrait\");\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Comments.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_Comments\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_Comments extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write comments to XML format\n     *\n     * @param     PHPExcel_Worksheet                $pWorksheet\n     * @return     string                                 XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeComments(PHPExcel_Worksheet $pWorksheet = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n          // Comments cache\n          $comments    = $pWorksheet->getComments();\n\n          // Authors cache\n          $authors    = array();\n          $authorId    = 0;\n        foreach ($comments as $comment) {\n            if (!isset($authors[$comment->getAuthor()])) {\n                $authors[$comment->getAuthor()] = $authorId++;\n            }\n        }\n\n        // comments\n        $objWriter->startElement('comments');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main');\n\n        // Loop through authors\n        $objWriter->startElement('authors');\n        foreach ($authors as $author => $index) {\n            $objWriter->writeElement('author', $author);\n        }\n        $objWriter->endElement();\n\n        // Loop through comments\n        $objWriter->startElement('commentList');\n        foreach ($comments as $key => $value) {\n            $this->writeComment($objWriter, $key, $value, $authors);\n        }\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write comment to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter        $objWriter             XML Writer\n     * @param    string                            $pCellReference        Cell reference\n     * @param     PHPExcel_Comment                $pComment            Comment\n     * @param    array                            $pAuthors            Array of authors\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeComment(PHPExcel_Shared_XMLWriter $objWriter = null, $pCellReference = 'A1', PHPExcel_Comment $pComment = null, $pAuthors = null)\n    {\n        // comment\n        $objWriter->startElement('comment');\n        $objWriter->writeAttribute('ref', $pCellReference);\n        $objWriter->writeAttribute('authorId', $pAuthors[$pComment->getAuthor()]);\n\n        // text\n        $objWriter->startElement('text');\n        $this->getParentWriter()->getWriterPart('stringtable')->writeRichText($objWriter, $pComment->getText());\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write VML comments to XML format\n     *\n     * @param     PHPExcel_Worksheet                $pWorksheet\n     * @return     string                                 XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeVMLComments(PHPExcel_Worksheet $pWorksheet = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n          // Comments cache\n          $comments    = $pWorksheet->getComments();\n\n        // xml\n        $objWriter->startElement('xml');\n        $objWriter->writeAttribute('xmlns:v', 'urn:schemas-microsoft-com:vml');\n        $objWriter->writeAttribute('xmlns:o', 'urn:schemas-microsoft-com:office:office');\n        $objWriter->writeAttribute('xmlns:x', 'urn:schemas-microsoft-com:office:excel');\n\n        // o:shapelayout\n        $objWriter->startElement('o:shapelayout');\n        $objWriter->writeAttribute('v:ext', 'edit');\n\n            // o:idmap\n            $objWriter->startElement('o:idmap');\n            $objWriter->writeAttribute('v:ext', 'edit');\n            $objWriter->writeAttribute('data', '1');\n            $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // v:shapetype\n        $objWriter->startElement('v:shapetype');\n        $objWriter->writeAttribute('id', '_x0000_t202');\n        $objWriter->writeAttribute('coordsize', '21600,21600');\n        $objWriter->writeAttribute('o:spt', '202');\n        $objWriter->writeAttribute('path', 'm,l,21600r21600,l21600,xe');\n\n            // v:stroke\n            $objWriter->startElement('v:stroke');\n            $objWriter->writeAttribute('joinstyle', 'miter');\n            $objWriter->endElement();\n\n            // v:path\n            $objWriter->startElement('v:path');\n            $objWriter->writeAttribute('gradientshapeok', 't');\n            $objWriter->writeAttribute('o:connecttype', 'rect');\n            $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // Loop through comments\n        foreach ($comments as $key => $value) {\n            $this->writeVMLComment($objWriter, $key, $value);\n        }\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write VML comment to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter        $objWriter             XML Writer\n     * @param    string                            $pCellReference        Cell reference\n     * @param     PHPExcel_Comment                $pComment            Comment\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeVMLComment(PHPExcel_Shared_XMLWriter $objWriter = null, $pCellReference = 'A1', PHPExcel_Comment $pComment = null)\n    {\n         // Metadata\n         list($column, $row) = PHPExcel_Cell::coordinateFromString($pCellReference);\n         $column = PHPExcel_Cell::columnIndexFromString($column);\n         $id = 1024 + $column + $row;\n         $id = substr($id, 0, 4);\n\n        // v:shape\n        $objWriter->startElement('v:shape');\n        $objWriter->writeAttribute('id', '_x0000_s' . $id);\n        $objWriter->writeAttribute('type', '#_x0000_t202');\n        $objWriter->writeAttribute('style', 'position:absolute;margin-left:' . $pComment->getMarginLeft() . ';margin-top:' . $pComment->getMarginTop() . ';width:' . $pComment->getWidth() . ';height:' . $pComment->getHeight() . ';z-index:1;visibility:' . ($pComment->getVisible() ? 'visible' : 'hidden'));\n        $objWriter->writeAttribute('fillcolor', '#' . $pComment->getFillColor()->getRGB());\n        $objWriter->writeAttribute('o:insetmode', 'auto');\n\n            // v:fill\n            $objWriter->startElement('v:fill');\n            $objWriter->writeAttribute('color2', '#' . $pComment->getFillColor()->getRGB());\n            $objWriter->endElement();\n\n            // v:shadow\n            $objWriter->startElement('v:shadow');\n            $objWriter->writeAttribute('on', 't');\n            $objWriter->writeAttribute('color', 'black');\n            $objWriter->writeAttribute('obscured', 't');\n            $objWriter->endElement();\n\n            // v:path\n            $objWriter->startElement('v:path');\n            $objWriter->writeAttribute('o:connecttype', 'none');\n            $objWriter->endElement();\n\n            // v:textbox\n            $objWriter->startElement('v:textbox');\n            $objWriter->writeAttribute('style', 'mso-direction-alt:auto');\n\n                // div\n                $objWriter->startElement('div');\n                $objWriter->writeAttribute('style', 'text-align:left');\n                $objWriter->endElement();\n\n            $objWriter->endElement();\n\n            // x:ClientData\n            $objWriter->startElement('x:ClientData');\n            $objWriter->writeAttribute('ObjectType', 'Note');\n\n                // x:MoveWithCells\n                $objWriter->writeElement('x:MoveWithCells', '');\n\n                // x:SizeWithCells\n                $objWriter->writeElement('x:SizeWithCells', '');\n\n                // x:Anchor\n                //$objWriter->writeElement('x:Anchor', $column . ', 15, ' . ($row - 2) . ', 10, ' . ($column + 4) . ', 15, ' . ($row + 5) . ', 18');\n\n                // x:AutoFill\n                $objWriter->writeElement('x:AutoFill', 'False');\n\n                // x:Row\n                $objWriter->writeElement('x:Row', ($row - 1));\n\n                // x:Column\n                $objWriter->writeElement('x:Column', ($column - 1));\n\n            $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/ContentTypes.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_ContentTypes\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_ContentTypes extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write content types to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @param    boolean        $includeCharts    Flag indicating if we should include drawing details for charts\n     * @return     string                         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeContentTypes(PHPExcel $pPHPExcel = null, $includeCharts = false)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Types\n        $objWriter->startElement('Types');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/content-types');\n\n        // Theme\n        $this->writeOverrideContentType($objWriter, '/xl/theme/theme1.xml', 'application/vnd.openxmlformats-officedocument.theme+xml');\n\n        // Styles\n        $this->writeOverrideContentType($objWriter, '/xl/styles.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml');\n\n        // Rels\n        $this->writeDefaultContentType($objWriter, 'rels', 'application/vnd.openxmlformats-package.relationships+xml');\n\n        // XML\n        $this->writeDefaultContentType($objWriter, 'xml', 'application/xml');\n\n        // VML\n        $this->writeDefaultContentType($objWriter, 'vml', 'application/vnd.openxmlformats-officedocument.vmlDrawing');\n\n        // Workbook\n        if ($pPHPExcel->hasMacros()) { //Macros in workbook ?\n            // Yes : not standard content but \"macroEnabled\"\n            $this->writeOverrideContentType($objWriter, '/xl/workbook.xml', 'application/vnd.ms-excel.sheet.macroEnabled.main+xml');\n            //... and define a new type for the VBA project\n            $this->writeDefaultContentType($objWriter, 'bin', 'application/vnd.ms-office.vbaProject');\n            if ($pPHPExcel->hasMacrosCertificate()) {// signed macros ?\n                // Yes : add needed information\n                $this->writeOverrideContentType($objWriter, '/xl/vbaProjectSignature.bin', 'application/vnd.ms-office.vbaProjectSignature');\n            }\n        } else {// no macros in workbook, so standard type\n            $this->writeOverrideContentType($objWriter, '/xl/workbook.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml');\n        }\n\n        // DocProps\n        $this->writeOverrideContentType($objWriter, '/docProps/app.xml', 'application/vnd.openxmlformats-officedocument.extended-properties+xml');\n\n        $this->writeOverrideContentType($objWriter, '/docProps/core.xml', 'application/vnd.openxmlformats-package.core-properties+xml');\n\n        $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties();\n        if (!empty($customPropertyList)) {\n            $this->writeOverrideContentType($objWriter, '/docProps/custom.xml', 'application/vnd.openxmlformats-officedocument.custom-properties+xml');\n        }\n\n        // Worksheets\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            $this->writeOverrideContentType($objWriter, '/xl/worksheets/sheet' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml');\n        }\n\n        // Shared strings\n        $this->writeOverrideContentType($objWriter, '/xl/sharedStrings.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml');\n\n        // Add worksheet relationship content types\n        $chart = 1;\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            $drawings = $pPHPExcel->getSheet($i)->getDrawingCollection();\n            $drawingCount = count($drawings);\n            $chartCount = ($includeCharts) ? $pPHPExcel->getSheet($i)->getChartCount() : 0;\n\n            //    We need a drawing relationship for the worksheet if we have either drawings or charts\n            if (($drawingCount > 0) || ($chartCount > 0)) {\n                $this->writeOverrideContentType($objWriter, '/xl/drawings/drawing' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.drawing+xml');\n            }\n\n            //    If we have charts, then we need a chart relationship for every individual chart\n            if ($chartCount > 0) {\n                for ($c = 0; $c < $chartCount; ++$c) {\n                    $this->writeOverrideContentType($objWriter, '/xl/charts/chart' . $chart++ . '.xml', 'application/vnd.openxmlformats-officedocument.drawingml.chart+xml');\n                }\n            }\n        }\n\n        // Comments\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            if (count($pPHPExcel->getSheet($i)->getComments()) > 0) {\n                $this->writeOverrideContentType($objWriter, '/xl/comments' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml');\n            }\n        }\n\n        // Add media content-types\n        $aMediaContentTypes = array();\n        $mediaCount = $this->getParentWriter()->getDrawingHashTable()->count();\n        for ($i = 0; $i < $mediaCount; ++$i) {\n            $extension     = '';\n            $mimeType     = '';\n\n            if ($this->getParentWriter()->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) {\n                $extension = strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getExtension());\n                $mimeType = $this->getImageMimeType($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getPath());\n            } elseif ($this->getParentWriter()->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) {\n                $extension = strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getMimeType());\n                $extension = explode('/', $extension);\n                $extension = $extension[1];\n\n                $mimeType = $this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getMimeType();\n            }\n\n            if (!isset( $aMediaContentTypes[$extension])) {\n                $aMediaContentTypes[$extension] = $mimeType;\n\n                $this->writeDefaultContentType($objWriter, $extension, $mimeType);\n            }\n        }\n        if ($pPHPExcel->hasRibbonBinObjects()) {\n            // Some additional objects in the ribbon ?\n            // we need to write \"Extension\" but not already write for media content\n            $tabRibbonTypes=array_diff($pPHPExcel->getRibbonBinObjects('types'), array_keys($aMediaContentTypes));\n            foreach ($tabRibbonTypes as $aRibbonType) {\n                $mimeType='image/.'.$aRibbonType;//we wrote $mimeType like customUI Editor\n                $this->writeDefaultContentType($objWriter, $aRibbonType, $mimeType);\n            }\n        }\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            if (count($pPHPExcel->getSheet()->getHeaderFooter()->getImages()) > 0) {\n                foreach ($pPHPExcel->getSheet()->getHeaderFooter()->getImages() as $image) {\n                    if (!isset( $aMediaContentTypes[strtolower($image->getExtension())])) {\n                        $aMediaContentTypes[strtolower($image->getExtension())] = $this->getImageMimeType($image->getPath());\n\n                        $this->writeDefaultContentType($objWriter, strtolower($image->getExtension()), $aMediaContentTypes[strtolower($image->getExtension())]);\n                    }\n                }\n            }\n        }\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Get image mime type\n     *\n     * @param     string    $pFile    Filename\n     * @return     string    Mime Type\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function getImageMimeType($pFile = '')\n    {\n        if (PHPExcel_Shared_File::file_exists($pFile)) {\n            $image = getimagesize($pFile);\n            return image_type_to_mime_type($image[2]);\n        } else {\n            throw new PHPExcel_Writer_Exception(\"File $pFile does not exist\");\n        }\n    }\n\n    /**\n     * Write Default content type\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     string                         $pPartname         Part name\n     * @param     string                         $pContentType     Content type\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeDefaultContentType(PHPExcel_Shared_XMLWriter $objWriter = null, $pPartname = '', $pContentType = '')\n    {\n        if ($pPartname != '' && $pContentType != '') {\n            // Write content type\n            $objWriter->startElement('Default');\n            $objWriter->writeAttribute('Extension', $pPartname);\n            $objWriter->writeAttribute('ContentType', $pContentType);\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Write Override content type\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     string                         $pPartname         Part name\n     * @param     string                         $pContentType     Content type\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeOverrideContentType(PHPExcel_Shared_XMLWriter $objWriter = null, $pPartname = '', $pContentType = '')\n    {\n        if ($pPartname != '' && $pContentType != '') {\n            // Write content type\n            $objWriter->startElement('Override');\n            $objWriter->writeAttribute('PartName', $pPartname);\n            $objWriter->writeAttribute('ContentType', $pContentType);\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/DocProps.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_DocProps\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_DocProps extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write docProps/app.xml to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeDocPropsApp(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Properties\n        $objWriter->startElement('Properties');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/officeDocument/2006/extended-properties');\n        $objWriter->writeAttribute('xmlns:vt', 'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes');\n\n        // Application\n        $objWriter->writeElement('Application', 'Microsoft Excel');\n\n        // DocSecurity\n        $objWriter->writeElement('DocSecurity', '0');\n\n        // ScaleCrop\n        $objWriter->writeElement('ScaleCrop', 'false');\n\n        // HeadingPairs\n        $objWriter->startElement('HeadingPairs');\n\n        // Vector\n        $objWriter->startElement('vt:vector');\n        $objWriter->writeAttribute('size', '2');\n        $objWriter->writeAttribute('baseType', 'variant');\n\n        // Variant\n        $objWriter->startElement('vt:variant');\n        $objWriter->writeElement('vt:lpstr', 'Worksheets');\n        $objWriter->endElement();\n\n        // Variant\n        $objWriter->startElement('vt:variant');\n        $objWriter->writeElement('vt:i4', $pPHPExcel->getSheetCount());\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // TitlesOfParts\n        $objWriter->startElement('TitlesOfParts');\n\n        // Vector\n        $objWriter->startElement('vt:vector');\n        $objWriter->writeAttribute('size', $pPHPExcel->getSheetCount());\n        $objWriter->writeAttribute('baseType', 'lpstr');\n\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            $objWriter->writeElement('vt:lpstr', $pPHPExcel->getSheet($i)->getTitle());\n        }\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // Company\n        $objWriter->writeElement('Company', $pPHPExcel->getProperties()->getCompany());\n\n        // Company\n        $objWriter->writeElement('Manager', $pPHPExcel->getProperties()->getManager());\n\n        // LinksUpToDate\n        $objWriter->writeElement('LinksUpToDate', 'false');\n\n        // SharedDoc\n        $objWriter->writeElement('SharedDoc', 'false');\n\n        // HyperlinksChanged\n        $objWriter->writeElement('HyperlinksChanged', 'false');\n\n        // AppVersion\n        $objWriter->writeElement('AppVersion', '12.0000');\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write docProps/core.xml to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeDocPropsCore(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // cp:coreProperties\n        $objWriter->startElement('cp:coreProperties');\n        $objWriter->writeAttribute('xmlns:cp', 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties');\n        $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/');\n        $objWriter->writeAttribute('xmlns:dcterms', 'http://purl.org/dc/terms/');\n        $objWriter->writeAttribute('xmlns:dcmitype', 'http://purl.org/dc/dcmitype/');\n        $objWriter->writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance');\n\n        // dc:creator\n        $objWriter->writeElement('dc:creator', $pPHPExcel->getProperties()->getCreator());\n\n        // cp:lastModifiedBy\n        $objWriter->writeElement('cp:lastModifiedBy', $pPHPExcel->getProperties()->getLastModifiedBy());\n\n        // dcterms:created\n        $objWriter->startElement('dcterms:created');\n        $objWriter->writeAttribute('xsi:type', 'dcterms:W3CDTF');\n        $objWriter->writeRawData(date(DATE_W3C, $pPHPExcel->getProperties()->getCreated()));\n        $objWriter->endElement();\n\n        // dcterms:modified\n        $objWriter->startElement('dcterms:modified');\n        $objWriter->writeAttribute('xsi:type', 'dcterms:W3CDTF');\n        $objWriter->writeRawData(date(DATE_W3C, $pPHPExcel->getProperties()->getModified()));\n        $objWriter->endElement();\n\n        // dc:title\n        $objWriter->writeElement('dc:title', $pPHPExcel->getProperties()->getTitle());\n\n        // dc:description\n        $objWriter->writeElement('dc:description', $pPHPExcel->getProperties()->getDescription());\n\n        // dc:subject\n        $objWriter->writeElement('dc:subject', $pPHPExcel->getProperties()->getSubject());\n\n        // cp:keywords\n        $objWriter->writeElement('cp:keywords', $pPHPExcel->getProperties()->getKeywords());\n\n        // cp:category\n        $objWriter->writeElement('cp:category', $pPHPExcel->getProperties()->getCategory());\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write docProps/custom.xml to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeDocPropsCustom(PHPExcel $pPHPExcel = null)\n    {\n        $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties();\n        if (empty($customPropertyList)) {\n            return;\n        }\n\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // cp:coreProperties\n        $objWriter->startElement('Properties');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/officeDocument/2006/custom-properties');\n        $objWriter->writeAttribute('xmlns:vt', 'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes');\n\n\n        foreach ($customPropertyList as $key => $customProperty) {\n            $propertyValue = $pPHPExcel->getProperties()->getCustomPropertyValue($customProperty);\n            $propertyType = $pPHPExcel->getProperties()->getCustomPropertyType($customProperty);\n\n            $objWriter->startElement('property');\n            $objWriter->writeAttribute('fmtid', '{D5CDD505-2E9C-101B-9397-08002B2CF9AE}');\n            $objWriter->writeAttribute('pid', $key+2);\n            $objWriter->writeAttribute('name', $customProperty);\n\n            switch ($propertyType) {\n                case 'i':\n                    $objWriter->writeElement('vt:i4', $propertyValue);\n                    break;\n                case 'f':\n                    $objWriter->writeElement('vt:r8', $propertyValue);\n                    break;\n                case 'b':\n                    $objWriter->writeElement('vt:bool', ($propertyValue) ? 'true' : 'false');\n                    break;\n                case 'd':\n                    $objWriter->startElement('vt:filetime');\n                    $objWriter->writeRawData(date(DATE_W3C, $propertyValue));\n                    $objWriter->endElement();\n                    break;\n                default:\n                    $objWriter->writeElement('vt:lpwstr', $propertyValue);\n                    break;\n            }\n\n            $objWriter->endElement();\n        }\n\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Drawing.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_Drawing\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_Drawing extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write drawings to XML format\n     *\n     * @param     PHPExcel_Worksheet    $pWorksheet\n     * @param    int                    &$chartRef        Chart ID\n     * @param    boolean                $includeCharts    Flag indicating if we should include drawing details for charts\n     * @return     string                 XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeDrawings(PHPExcel_Worksheet $pWorksheet = null, &$chartRef, $includeCharts = false)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // xdr:wsDr\n        $objWriter->startElement('xdr:wsDr');\n        $objWriter->writeAttribute('xmlns:xdr', 'http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing');\n        $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main');\n\n        // Loop through images and write drawings\n        $i = 1;\n        $iterator = $pWorksheet->getDrawingCollection()->getIterator();\n        while ($iterator->valid()) {\n            $this->writeDrawing($objWriter, $iterator->current(), $i);\n\n            $iterator->next();\n            ++$i;\n        }\n\n        if ($includeCharts) {\n            $chartCount = $pWorksheet->getChartCount();\n            // Loop through charts and write the chart position\n            if ($chartCount > 0) {\n                for ($c = 0; $c < $chartCount; ++$c) {\n                    $this->writeChart($objWriter, $pWorksheet->getChartByIndex($c), $c+$i);\n                }\n            }\n        }\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write drawings to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel_Chart                $pChart\n     * @param     int                            $pRelationId\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeChart(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Chart $pChart = null, $pRelationId = -1)\n    {\n        $tl = $pChart->getTopLeftPosition();\n        $tl['colRow'] = PHPExcel_Cell::coordinateFromString($tl['cell']);\n        $br = $pChart->getBottomRightPosition();\n        $br['colRow'] = PHPExcel_Cell::coordinateFromString($br['cell']);\n\n        $objWriter->startElement('xdr:twoCellAnchor');\n\n            $objWriter->startElement('xdr:from');\n                $objWriter->writeElement('xdr:col', PHPExcel_Cell::columnIndexFromString($tl['colRow'][0]) - 1);\n                $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($tl['xOffset']));\n                $objWriter->writeElement('xdr:row', $tl['colRow'][1] - 1);\n                $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($tl['yOffset']));\n            $objWriter->endElement();\n            $objWriter->startElement('xdr:to');\n                $objWriter->writeElement('xdr:col', PHPExcel_Cell::columnIndexFromString($br['colRow'][0]) - 1);\n                $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($br['xOffset']));\n                $objWriter->writeElement('xdr:row', $br['colRow'][1] - 1);\n                $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($br['yOffset']));\n            $objWriter->endElement();\n\n            $objWriter->startElement('xdr:graphicFrame');\n                $objWriter->writeAttribute('macro', '');\n                $objWriter->startElement('xdr:nvGraphicFramePr');\n                    $objWriter->startElement('xdr:cNvPr');\n                        $objWriter->writeAttribute('name', 'Chart '.$pRelationId);\n                        $objWriter->writeAttribute('id', 1025 * $pRelationId);\n                    $objWriter->endElement();\n                    $objWriter->startElement('xdr:cNvGraphicFramePr');\n                        $objWriter->startElement('a:graphicFrameLocks');\n                        $objWriter->endElement();\n                    $objWriter->endElement();\n                $objWriter->endElement();\n\n                $objWriter->startElement('xdr:xfrm');\n                    $objWriter->startElement('a:off');\n                        $objWriter->writeAttribute('x', '0');\n                        $objWriter->writeAttribute('y', '0');\n                    $objWriter->endElement();\n                    $objWriter->startElement('a:ext');\n                        $objWriter->writeAttribute('cx', '0');\n                        $objWriter->writeAttribute('cy', '0');\n                    $objWriter->endElement();\n                $objWriter->endElement();\n\n                $objWriter->startElement('a:graphic');\n                    $objWriter->startElement('a:graphicData');\n                        $objWriter->writeAttribute('uri', 'http://schemas.openxmlformats.org/drawingml/2006/chart');\n                        $objWriter->startElement('c:chart');\n                            $objWriter->writeAttribute('xmlns:c', 'http://schemas.openxmlformats.org/drawingml/2006/chart');\n                            $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships');\n                            $objWriter->writeAttribute('r:id', 'rId'.$pRelationId);\n                        $objWriter->endElement();\n                    $objWriter->endElement();\n                $objWriter->endElement();\n            $objWriter->endElement();\n\n            $objWriter->startElement('xdr:clientData');\n            $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write drawings to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter            $objWriter         XML Writer\n     * @param     PHPExcel_Worksheet_BaseDrawing        $pDrawing\n     * @param     int                                    $pRelationId\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeDrawing(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet_BaseDrawing $pDrawing = null, $pRelationId = -1)\n    {\n        if ($pRelationId >= 0) {\n            // xdr:oneCellAnchor\n            $objWriter->startElement('xdr:oneCellAnchor');\n            // Image location\n            $aCoordinates         = PHPExcel_Cell::coordinateFromString($pDrawing->getCoordinates());\n            $aCoordinates[0]     = PHPExcel_Cell::columnIndexFromString($aCoordinates[0]);\n\n            // xdr:from\n            $objWriter->startElement('xdr:from');\n            $objWriter->writeElement('xdr:col', $aCoordinates[0] - 1);\n            $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getOffsetX()));\n            $objWriter->writeElement('xdr:row', $aCoordinates[1] - 1);\n            $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getOffsetY()));\n            $objWriter->endElement();\n\n            // xdr:ext\n            $objWriter->startElement('xdr:ext');\n            $objWriter->writeAttribute('cx', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getWidth()));\n            $objWriter->writeAttribute('cy', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getHeight()));\n            $objWriter->endElement();\n\n            // xdr:pic\n            $objWriter->startElement('xdr:pic');\n\n            // xdr:nvPicPr\n            $objWriter->startElement('xdr:nvPicPr');\n\n            // xdr:cNvPr\n            $objWriter->startElement('xdr:cNvPr');\n            $objWriter->writeAttribute('id', $pRelationId);\n            $objWriter->writeAttribute('name', $pDrawing->getName());\n            $objWriter->writeAttribute('descr', $pDrawing->getDescription());\n            $objWriter->endElement();\n\n            // xdr:cNvPicPr\n            $objWriter->startElement('xdr:cNvPicPr');\n\n            // a:picLocks\n            $objWriter->startElement('a:picLocks');\n            $objWriter->writeAttribute('noChangeAspect', '1');\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n\n            // xdr:blipFill\n            $objWriter->startElement('xdr:blipFill');\n\n            // a:blip\n            $objWriter->startElement('a:blip');\n            $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships');\n            $objWriter->writeAttribute('r:embed', 'rId' . $pRelationId);\n            $objWriter->endElement();\n\n            // a:stretch\n            $objWriter->startElement('a:stretch');\n                $objWriter->writeElement('a:fillRect', null);\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n\n            // xdr:spPr\n            $objWriter->startElement('xdr:spPr');\n\n            // a:xfrm\n            $objWriter->startElement('a:xfrm');\n            $objWriter->writeAttribute('rot', PHPExcel_Shared_Drawing::degreesToAngle($pDrawing->getRotation()));\n            $objWriter->endElement();\n\n            // a:prstGeom\n            $objWriter->startElement('a:prstGeom');\n            $objWriter->writeAttribute('prst', 'rect');\n\n            // a:avLst\n            $objWriter->writeElement('a:avLst', null);\n\n            $objWriter->endElement();\n\n//                        // a:solidFill\n//                        $objWriter->startElement('a:solidFill');\n\n//                            // a:srgbClr\n//                            $objWriter->startElement('a:srgbClr');\n//                            $objWriter->writeAttribute('val', 'FFFFFF');\n\n///* SHADE\n//                                // a:shade\n//                                $objWriter->startElement('a:shade');\n//                                $objWriter->writeAttribute('val', '85000');\n//                                $objWriter->endElement();\n//*/\n\n//                            $objWriter->endElement();\n\n//                        $objWriter->endElement();\n/*\n            // a:ln\n            $objWriter->startElement('a:ln');\n            $objWriter->writeAttribute('w', '88900');\n            $objWriter->writeAttribute('cap', 'sq');\n\n                // a:solidFill\n                $objWriter->startElement('a:solidFill');\n\n                    // a:srgbClr\n                    $objWriter->startElement('a:srgbClr');\n                    $objWriter->writeAttribute('val', 'FFFFFF');\n                    $objWriter->endElement();\n\n                $objWriter->endElement();\n\n                // a:miter\n                $objWriter->startElement('a:miter');\n                $objWriter->writeAttribute('lim', '800000');\n                $objWriter->endElement();\n\n            $objWriter->endElement();\n*/\n\n            if ($pDrawing->getShadow()->getVisible()) {\n                // a:effectLst\n                $objWriter->startElement('a:effectLst');\n\n                // a:outerShdw\n                $objWriter->startElement('a:outerShdw');\n                $objWriter->writeAttribute('blurRad', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getShadow()->getBlurRadius()));\n                $objWriter->writeAttribute('dist', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getShadow()->getDistance()));\n                $objWriter->writeAttribute('dir', PHPExcel_Shared_Drawing::degreesToAngle($pDrawing->getShadow()->getDirection()));\n                $objWriter->writeAttribute('algn', $pDrawing->getShadow()->getAlignment());\n                $objWriter->writeAttribute('rotWithShape', '0');\n\n                // a:srgbClr\n                $objWriter->startElement('a:srgbClr');\n                $objWriter->writeAttribute('val', $pDrawing->getShadow()->getColor()->getRGB());\n\n                // a:alpha\n                $objWriter->startElement('a:alpha');\n                $objWriter->writeAttribute('val', $pDrawing->getShadow()->getAlpha() * 1000);\n                $objWriter->endElement();\n\n                $objWriter->endElement();\n\n                $objWriter->endElement();\n\n                $objWriter->endElement();\n            }\n/*\n\n                // a:scene3d\n                $objWriter->startElement('a:scene3d');\n\n                    // a:camera\n                    $objWriter->startElement('a:camera');\n                    $objWriter->writeAttribute('prst', 'orthographicFront');\n                    $objWriter->endElement();\n\n                    // a:lightRig\n                    $objWriter->startElement('a:lightRig');\n                    $objWriter->writeAttribute('rig', 'twoPt');\n                    $objWriter->writeAttribute('dir', 't');\n\n                        // a:rot\n                        $objWriter->startElement('a:rot');\n                        $objWriter->writeAttribute('lat', '0');\n                        $objWriter->writeAttribute('lon', '0');\n                        $objWriter->writeAttribute('rev', '0');\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                $objWriter->endElement();\n*/\n/*\n                // a:sp3d\n                $objWriter->startElement('a:sp3d');\n\n                    // a:bevelT\n                    $objWriter->startElement('a:bevelT');\n                    $objWriter->writeAttribute('w', '25400');\n                    $objWriter->writeAttribute('h', '19050');\n                    $objWriter->endElement();\n\n                    // a:contourClr\n                    $objWriter->startElement('a:contourClr');\n\n                        // a:srgbClr\n                        $objWriter->startElement('a:srgbClr');\n                        $objWriter->writeAttribute('val', 'FFFFFF');\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                $objWriter->endElement();\n*/\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n\n            // xdr:clientData\n            $objWriter->writeElement('xdr:clientData', null);\n\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Write VML header/footer images to XML format\n     *\n     * @param     PHPExcel_Worksheet                $pWorksheet\n     * @return     string                                 XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeVMLHeaderFooterImages(PHPExcel_Worksheet $pWorksheet = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Header/footer images\n        $images = $pWorksheet->getHeaderFooter()->getImages();\n\n        // xml\n        $objWriter->startElement('xml');\n        $objWriter->writeAttribute('xmlns:v', 'urn:schemas-microsoft-com:vml');\n        $objWriter->writeAttribute('xmlns:o', 'urn:schemas-microsoft-com:office:office');\n        $objWriter->writeAttribute('xmlns:x', 'urn:schemas-microsoft-com:office:excel');\n\n        // o:shapelayout\n        $objWriter->startElement('o:shapelayout');\n        $objWriter->writeAttribute('v:ext', 'edit');\n\n        // o:idmap\n        $objWriter->startElement('o:idmap');\n        $objWriter->writeAttribute('v:ext', 'edit');\n        $objWriter->writeAttribute('data', '1');\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // v:shapetype\n        $objWriter->startElement('v:shapetype');\n        $objWriter->writeAttribute('id', '_x0000_t75');\n        $objWriter->writeAttribute('coordsize', '21600,21600');\n        $objWriter->writeAttribute('o:spt', '75');\n        $objWriter->writeAttribute('o:preferrelative', 't');\n        $objWriter->writeAttribute('path', 'm@4@5l@4@11@9@11@9@5xe');\n        $objWriter->writeAttribute('filled', 'f');\n        $objWriter->writeAttribute('stroked', 'f');\n\n        // v:stroke\n        $objWriter->startElement('v:stroke');\n        $objWriter->writeAttribute('joinstyle', 'miter');\n        $objWriter->endElement();\n\n        // v:formulas\n        $objWriter->startElement('v:formulas');\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'if lineDrawn pixelLineWidth 0');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'sum @0 1 0');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'sum 0 0 @1');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'prod @2 1 2');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'prod @3 21600 pixelWidth');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'prod @3 21600 pixelHeight');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'sum @0 0 1');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'prod @6 1 2');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'prod @7 21600 pixelWidth');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'sum @8 21600 0');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'prod @7 21600 pixelHeight');\n        $objWriter->endElement();\n\n        // v:f\n        $objWriter->startElement('v:f');\n        $objWriter->writeAttribute('eqn', 'sum @10 21600 0');\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // v:path\n        $objWriter->startElement('v:path');\n        $objWriter->writeAttribute('o:extrusionok', 'f');\n        $objWriter->writeAttribute('gradientshapeok', 't');\n        $objWriter->writeAttribute('o:connecttype', 'rect');\n        $objWriter->endElement();\n\n        // o:lock\n        $objWriter->startElement('o:lock');\n        $objWriter->writeAttribute('v:ext', 'edit');\n        $objWriter->writeAttribute('aspectratio', 't');\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // Loop through images\n        foreach ($images as $key => $value) {\n            $this->writeVMLHeaderFooterImage($objWriter, $key, $value);\n        }\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write VML comment to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter        $objWriter             XML Writer\n     * @param    string                            $pReference            Reference\n     * @param     PHPExcel_Worksheet_HeaderFooterDrawing    $pImage        Image\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeVMLHeaderFooterImage(PHPExcel_Shared_XMLWriter $objWriter = null, $pReference = '', PHPExcel_Worksheet_HeaderFooterDrawing $pImage = null)\n    {\n        // Calculate object id\n        preg_match('{(\\d+)}', md5($pReference), $m);\n        $id = 1500 + (substr($m[1], 0, 2) * 1);\n\n        // Calculate offset\n        $width = $pImage->getWidth();\n        $height = $pImage->getHeight();\n        $marginLeft = $pImage->getOffsetX();\n        $marginTop = $pImage->getOffsetY();\n\n        // v:shape\n        $objWriter->startElement('v:shape');\n        $objWriter->writeAttribute('id', $pReference);\n        $objWriter->writeAttribute('o:spid', '_x0000_s' . $id);\n        $objWriter->writeAttribute('type', '#_x0000_t75');\n        $objWriter->writeAttribute('style', \"position:absolute;margin-left:{$marginLeft}px;margin-top:{$marginTop}px;width:{$width}px;height:{$height}px;z-index:1\");\n\n        // v:imagedata\n        $objWriter->startElement('v:imagedata');\n        $objWriter->writeAttribute('o:relid', 'rId' . $pReference);\n        $objWriter->writeAttribute('o:title', $pImage->getName());\n        $objWriter->endElement();\n\n        // o:lock\n        $objWriter->startElement('o:lock');\n        $objWriter->writeAttribute('v:ext', 'edit');\n        $objWriter->writeAttribute('rotation', 't');\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n\n    /**\n     * Get an array of all drawings\n     *\n     * @param     PHPExcel                            $pPHPExcel\n     * @return     PHPExcel_Worksheet_Drawing[]        All drawings in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allDrawings(PHPExcel $pPHPExcel = null)\n    {\n        // Get an array of all drawings\n        $aDrawings    = array();\n\n        // Loop through PHPExcel\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            // Loop through images and add to array\n            $iterator = $pPHPExcel->getSheet($i)->getDrawingCollection()->getIterator();\n            while ($iterator->valid()) {\n                $aDrawings[] = $iterator->current();\n\n                  $iterator->next();\n            }\n        }\n\n        return $aDrawings;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Rels.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_Rels\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_Rels extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write relationships to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeRelationships(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n\n        $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties();\n        if (!empty($customPropertyList)) {\n            // Relationship docProps/app.xml\n            $this->writeRelationship(\n                $objWriter,\n                4,\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties',\n                'docProps/custom.xml'\n            );\n\n        }\n\n        // Relationship docProps/app.xml\n        $this->writeRelationship(\n            $objWriter,\n            3,\n            'http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties',\n            'docProps/app.xml'\n        );\n\n        // Relationship docProps/core.xml\n        $this->writeRelationship(\n            $objWriter,\n            2,\n            'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties',\n            'docProps/core.xml'\n        );\n\n        // Relationship xl/workbook.xml\n        $this->writeRelationship(\n            $objWriter,\n            1,\n            'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument',\n            'xl/workbook.xml'\n        );\n        // a custom UI in workbook ?\n        if ($pPHPExcel->hasRibbon()) {\n            $this->writeRelationShip(\n                $objWriter,\n                5,\n                'http://schemas.microsoft.com/office/2006/relationships/ui/extensibility',\n                $pPHPExcel->getRibbonXMLData('target')\n            );\n        }\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write workbook relationships to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeWorkbookRelationships(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n\n        // Relationship styles.xml\n        $this->writeRelationship(\n            $objWriter,\n            1,\n            'http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles',\n            'styles.xml'\n        );\n\n        // Relationship theme/theme1.xml\n        $this->writeRelationship(\n            $objWriter,\n            2,\n            'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme',\n            'theme/theme1.xml'\n        );\n\n        // Relationship sharedStrings.xml\n        $this->writeRelationship(\n            $objWriter,\n            3,\n            'http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings',\n            'sharedStrings.xml'\n        );\n\n        // Relationships with sheets\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            $this->writeRelationship(\n                $objWriter,\n                ($i + 1 + 3),\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet',\n                'worksheets/sheet' . ($i + 1) . '.xml'\n            );\n        }\n        // Relationships for vbaProject if needed\n        // id : just after the last sheet\n        if ($pPHPExcel->hasMacros()) {\n            $this->writeRelationShip(\n                $objWriter,\n                ($i + 1 + 3),\n                'http://schemas.microsoft.com/office/2006/relationships/vbaProject',\n                'vbaProject.bin'\n            );\n            ++$i;//increment i if needed for an another relation\n        }\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write worksheet relationships to XML format\n     *\n     * Numbering is as follows:\n     *     rId1                 - Drawings\n     *  rId_hyperlink_x     - Hyperlinks\n     *\n     * @param     PHPExcel_Worksheet    $pWorksheet\n     * @param     int                    $pWorksheetId\n     * @param    boolean                $includeCharts    Flag indicating if we should write charts\n     * @return     string                 XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeWorksheetRelationships(PHPExcel_Worksheet $pWorksheet = null, $pWorksheetId = 1, $includeCharts = false)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n\n        // Write drawing relationships?\n        $d = 0;\n        if ($includeCharts) {\n            $charts = $pWorksheet->getChartCollection();\n        } else {\n            $charts = array();\n        }\n        if (($pWorksheet->getDrawingCollection()->count() > 0) ||\n            (count($charts) > 0)) {\n            $this->writeRelationship(\n                $objWriter,\n                ++$d,\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing',\n                '../drawings/drawing' . $pWorksheetId . '.xml'\n            );\n        }\n\n        // Write chart relationships?\n//            $chartCount = 0;\n//            $charts = $pWorksheet->getChartCollection();\n//            echo 'Chart Rels: ' , count($charts) , '<br />';\n//            if (count($charts) > 0) {\n//                foreach ($charts as $chart) {\n//                    $this->writeRelationship(\n//                        $objWriter,\n//                        ++$d,\n//                        'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart',\n//                        '../charts/chart' . ++$chartCount . '.xml'\n//                    );\n//                }\n//            }\n//\n        // Write hyperlink relationships?\n        $i = 1;\n        foreach ($pWorksheet->getHyperlinkCollection() as $hyperlink) {\n            if (!$hyperlink->isInternal()) {\n                $this->writeRelationship(\n                    $objWriter,\n                    '_hyperlink_' . $i,\n                    'http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink',\n                    $hyperlink->getUrl(),\n                    'External'\n                );\n\n                ++$i;\n            }\n        }\n\n        // Write comments relationship?\n        $i = 1;\n        if (count($pWorksheet->getComments()) > 0) {\n            $this->writeRelationship(\n                $objWriter,\n                '_comments_vml' . $i,\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing',\n                '../drawings/vmlDrawing' . $pWorksheetId . '.vml'\n            );\n\n            $this->writeRelationship(\n                $objWriter,\n                '_comments' . $i,\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments',\n                '../comments' . $pWorksheetId . '.xml'\n            );\n        }\n\n        // Write header/footer relationship?\n        $i = 1;\n        if (count($pWorksheet->getHeaderFooter()->getImages()) > 0) {\n            $this->writeRelationship(\n                $objWriter,\n                '_headerfooter_vml' . $i,\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing',\n                '../drawings/vmlDrawingHF' . $pWorksheetId . '.vml'\n            );\n        }\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write drawing relationships to XML format\n     *\n     * @param     PHPExcel_Worksheet    $pWorksheet\n     * @param    int                    &$chartRef        Chart ID\n     * @param    boolean                $includeCharts    Flag indicating if we should write charts\n     * @return     string                 XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeDrawingRelationships(PHPExcel_Worksheet $pWorksheet = null, &$chartRef, $includeCharts = false)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n\n        // Loop through images and write relationships\n        $i = 1;\n        $iterator = $pWorksheet->getDrawingCollection()->getIterator();\n        while ($iterator->valid()) {\n            if ($iterator->current() instanceof PHPExcel_Worksheet_Drawing\n                || $iterator->current() instanceof PHPExcel_Worksheet_MemoryDrawing) {\n                // Write relationship for image drawing\n                $this->writeRelationship(\n                    $objWriter,\n                    $i,\n                    'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image',\n                    '../media/' . str_replace(' ', '', $iterator->current()->getIndexedFilename())\n                );\n            }\n\n            $iterator->next();\n            ++$i;\n        }\n\n        if ($includeCharts) {\n            // Loop through charts and write relationships\n            $chartCount = $pWorksheet->getChartCount();\n            if ($chartCount > 0) {\n                for ($c = 0; $c < $chartCount; ++$c) {\n                    $this->writeRelationship(\n                        $objWriter,\n                        $i++,\n                        'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart',\n                        '../charts/chart' . ++$chartRef . '.xml'\n                    );\n                }\n            }\n        }\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write header/footer drawing relationships to XML format\n     *\n     * @param     PHPExcel_Worksheet            $pWorksheet\n     * @return     string                         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeHeaderFooterDrawingRelationships(PHPExcel_Worksheet $pWorksheet = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n\n        // Loop through images and write relationships\n        foreach ($pWorksheet->getHeaderFooter()->getImages() as $key => $value) {\n            // Write relationship for image drawing\n            $this->writeRelationship(\n                $objWriter,\n                $key,\n                'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image',\n                '../media/' . $value->getIndexedFilename()\n            );\n        }\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write Override content type\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     int                            $pId            Relationship ID. rId will be prepended!\n     * @param     string                        $pType            Relationship type\n     * @param     string                         $pTarget        Relationship target\n     * @param     string                         $pTargetMode    Relationship target mode\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeRelationship(PHPExcel_Shared_XMLWriter $objWriter = null, $pId = 1, $pType = '', $pTarget = '', $pTargetMode = '')\n    {\n        if ($pType != '' && $pTarget != '') {\n            // Write relationship\n            $objWriter->startElement('Relationship');\n            $objWriter->writeAttribute('Id', 'rId' . $pId);\n            $objWriter->writeAttribute('Type', $pType);\n            $objWriter->writeAttribute('Target', $pTarget);\n\n            if ($pTargetMode != '') {\n                $objWriter->writeAttribute('TargetMode', $pTargetMode);\n            }\n\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/RelsRibbon.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_RelsRibbon\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version     ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_RelsRibbon extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write relationships for additional objects of custom UI (ribbon)\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeRibbonRelationships(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n        $localRels = $pPHPExcel->getRibbonBinObjects('names');\n        if (is_array($localRels)) {\n            foreach ($localRels as $aId => $aTarget) {\n                $objWriter->startElement('Relationship');\n                $objWriter->writeAttribute('Id', $aId);\n                $objWriter->writeAttribute('Type', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image');\n                $objWriter->writeAttribute('Target', $aTarget);\n                $objWriter->endElement();\n            }\n        }\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/RelsVBA.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_RelsVBA\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version     ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_RelsVBA extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write relationships for a signed VBA Project\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeVBARelationships(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // Relationships\n        $objWriter->startElement('Relationships');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships');\n        $objWriter->startElement('Relationship');\n        $objWriter->writeAttribute('Id', 'rId1');\n        $objWriter->writeAttribute('Type', 'http://schemas.microsoft.com/office/2006/relationships/vbaProjectSignature');\n        $objWriter->writeAttribute('Target', 'vbaProjectSignature.bin');\n        $objWriter->endElement();\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/StringTable.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_StringTable\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_StringTable extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Create worksheet stringtable\n     *\n     * @param     PHPExcel_Worksheet     $pSheet                Worksheet\n     * @param     string[]                 $pExistingTable     Existing table to eventually merge with\n     * @return     string[]                 String table for worksheet\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function createStringTable($pSheet = null, $pExistingTable = null)\n    {\n        if ($pSheet !== null) {\n            // Create string lookup table\n            $aStringTable = array();\n            $cellCollection = null;\n            $aFlippedStringTable = null;    // For faster lookup\n\n            // Is an existing table given?\n            if (($pExistingTable !== null) && is_array($pExistingTable)) {\n                $aStringTable = $pExistingTable;\n            }\n\n            // Fill index array\n            $aFlippedStringTable = $this->flipStringTable($aStringTable);\n\n            // Loop through cells\n            foreach ($pSheet->getCellCollection() as $cellID) {\n                $cell = $pSheet->getCell($cellID);\n                $cellValue = $cell->getValue();\n                if (!is_object($cellValue) &&\n                    ($cellValue !== null) &&\n                    $cellValue !== '' &&\n                    !isset($aFlippedStringTable[$cellValue]) &&\n                    ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING2 || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_NULL)) {\n                        $aStringTable[] = $cellValue;\n                        $aFlippedStringTable[$cellValue] = true;\n                } elseif ($cellValue instanceof PHPExcel_RichText &&\n                          ($cellValue !== null) &&\n                          !isset($aFlippedStringTable[$cellValue->getHashCode()])) {\n                                $aStringTable[] = $cellValue;\n                                $aFlippedStringTable[$cellValue->getHashCode()] = true;\n                }\n            }\n\n            return $aStringTable;\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid PHPExcel_Worksheet object passed.\");\n        }\n    }\n\n    /**\n     * Write string table to XML format\n     *\n     * @param     string[]     $pStringTable\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeStringTable($pStringTable = null)\n    {\n        if ($pStringTable !== null) {\n            // Create XML writer\n            $objWriter = null;\n            if ($this->getParentWriter()->getUseDiskCaching()) {\n                $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n            } else {\n                $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n            }\n\n            // XML header\n            $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n            // String table\n            $objWriter->startElement('sst');\n            $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main');\n            $objWriter->writeAttribute('uniqueCount', count($pStringTable));\n\n            // Loop through string table\n            foreach ($pStringTable as $textElement) {\n                $objWriter->startElement('si');\n\n                if (! $textElement instanceof PHPExcel_RichText) {\n                    $textToWrite = PHPExcel_Shared_String::ControlCharacterPHP2OOXML($textElement);\n                    $objWriter->startElement('t');\n                    if ($textToWrite !== trim($textToWrite)) {\n                        $objWriter->writeAttribute('xml:space', 'preserve');\n                    }\n                    $objWriter->writeRawData($textToWrite);\n                    $objWriter->endElement();\n                } elseif ($textElement instanceof PHPExcel_RichText) {\n                    $this->writeRichText($objWriter, $textElement);\n                }\n\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n\n            return $objWriter->getData();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid string table array passed.\");\n        }\n    }\n\n    /**\n     * Write Rich Text\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel_RichText            $pRichText        Rich text\n     * @param     string                        $prefix            Optional Namespace prefix\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeRichText(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_RichText $pRichText = null, $prefix = null)\n    {\n        if ($prefix !== null) {\n            $prefix .= ':';\n        }\n            \n        // Loop through rich text elements\n        $elements = $pRichText->getRichTextElements();\n        foreach ($elements as $element) {\n            // r\n            $objWriter->startElement($prefix.'r');\n\n            // rPr\n            if ($element instanceof PHPExcel_RichText_Run) {\n                // rPr\n                $objWriter->startElement($prefix.'rPr');\n\n                // rFont\n                $objWriter->startElement($prefix.'rFont');\n                $objWriter->writeAttribute('val', $element->getFont()->getName());\n                $objWriter->endElement();\n\n                // Bold\n                $objWriter->startElement($prefix.'b');\n                $objWriter->writeAttribute('val', ($element->getFont()->getBold() ? 'true' : 'false'));\n                $objWriter->endElement();\n\n                // Italic\n                $objWriter->startElement($prefix.'i');\n                $objWriter->writeAttribute('val', ($element->getFont()->getItalic() ? 'true' : 'false'));\n                $objWriter->endElement();\n\n                // Superscript / subscript\n                if ($element->getFont()->getSuperScript() || $element->getFont()->getSubScript()) {\n                    $objWriter->startElement($prefix.'vertAlign');\n                    if ($element->getFont()->getSuperScript()) {\n                        $objWriter->writeAttribute('val', 'superscript');\n                    } elseif ($element->getFont()->getSubScript()) {\n                        $objWriter->writeAttribute('val', 'subscript');\n                    }\n                    $objWriter->endElement();\n                }\n\n                // Strikethrough\n                $objWriter->startElement($prefix.'strike');\n                $objWriter->writeAttribute('val', ($element->getFont()->getStrikethrough() ? 'true' : 'false'));\n                $objWriter->endElement();\n\n                // Color\n                $objWriter->startElement($prefix.'color');\n                $objWriter->writeAttribute('rgb', $element->getFont()->getColor()->getARGB());\n                $objWriter->endElement();\n\n                // Size\n                $objWriter->startElement($prefix.'sz');\n                $objWriter->writeAttribute('val', $element->getFont()->getSize());\n                $objWriter->endElement();\n\n                // Underline\n                $objWriter->startElement($prefix.'u');\n                $objWriter->writeAttribute('val', $element->getFont()->getUnderline());\n                $objWriter->endElement();\n\n                $objWriter->endElement();\n            }\n\n            // t\n            $objWriter->startElement($prefix.'t');\n            $objWriter->writeAttribute('xml:space', 'preserve');\n            $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($element->getText()));\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write Rich Text\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     string|PHPExcel_RichText    $pRichText        text string or Rich text\n     * @param     string                        $prefix            Optional Namespace prefix\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeRichTextForCharts(PHPExcel_Shared_XMLWriter $objWriter = null, $pRichText = null, $prefix = null)\n    {\n        if (!$pRichText instanceof PHPExcel_RichText) {\n            $textRun = $pRichText;\n            $pRichText = new PHPExcel_RichText();\n            $pRichText->createTextRun($textRun);\n        }\n\n        if ($prefix !== null) {\n            $prefix .= ':';\n        }\n            \n        // Loop through rich text elements\n        $elements = $pRichText->getRichTextElements();\n        foreach ($elements as $element) {\n            // r\n            $objWriter->startElement($prefix.'r');\n\n            // rPr\n            $objWriter->startElement($prefix.'rPr');\n\n            // Bold\n            $objWriter->writeAttribute('b', ($element->getFont()->getBold() ? 1 : 0));\n            // Italic\n            $objWriter->writeAttribute('i', ($element->getFont()->getItalic() ? 1 : 0));\n            // Underline\n            $underlineType = $element->getFont()->getUnderline();\n            switch ($underlineType) {\n                case 'single':\n                    $underlineType = 'sng';\n                    break;\n                case 'double':\n                    $underlineType = 'dbl';\n                    break;\n            }\n            $objWriter->writeAttribute('u', $underlineType);\n            // Strikethrough\n            $objWriter->writeAttribute('strike', ($element->getFont()->getStrikethrough() ? 'sngStrike' : 'noStrike'));\n\n            // rFont\n            $objWriter->startElement($prefix.'latin');\n                $objWriter->writeAttribute('typeface', $element->getFont()->getName());\n            $objWriter->endElement();\n\n                // Superscript / subscript\n//                    if ($element->getFont()->getSuperScript() || $element->getFont()->getSubScript()) {\n//                        $objWriter->startElement($prefix.'vertAlign');\n//                        if ($element->getFont()->getSuperScript()) {\n//                            $objWriter->writeAttribute('val', 'superscript');\n//                        } elseif ($element->getFont()->getSubScript()) {\n//                            $objWriter->writeAttribute('val', 'subscript');\n//                        }\n//                        $objWriter->endElement();\n//                    }\n//\n            $objWriter->endElement();\n\n            // t\n            $objWriter->startElement($prefix.'t');\n//                    $objWriter->writeAttribute('xml:space', 'preserve');    //    Excel2010 accepts, Excel2007 complains\n            $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($element->getText()));\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Flip string table (for index searching)\n     *\n     * @param     array    $stringTable    Stringtable\n     * @return     array\n     */\n    public function flipStringTable($stringTable = array())\n    {\n        // Return value\n        $returnValue = array();\n\n        // Loop through stringtable and add flipped items to $returnValue\n        foreach ($stringTable as $key => $value) {\n            if (! $value instanceof PHPExcel_RichText) {\n                $returnValue[$value] = $key;\n            } elseif ($value instanceof PHPExcel_RichText) {\n                $returnValue[$value->getHashCode()] = $key;\n            }\n        }\n\n        return $returnValue;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Style.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_Style\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_Style extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write styles to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeStyles(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // styleSheet\n        $objWriter->startElement('styleSheet');\n        $objWriter->writeAttribute('xml:space', 'preserve');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main');\n\n        // numFmts\n        $objWriter->startElement('numFmts');\n        $objWriter->writeAttribute('count', $this->getParentWriter()->getNumFmtHashTable()->count());\n\n        // numFmt\n        for ($i = 0; $i < $this->getParentWriter()->getNumFmtHashTable()->count(); ++$i) {\n            $this->writeNumFmt($objWriter, $this->getParentWriter()->getNumFmtHashTable()->getByIndex($i), $i);\n        }\n\n        $objWriter->endElement();\n\n        // fonts\n        $objWriter->startElement('fonts');\n        $objWriter->writeAttribute('count', $this->getParentWriter()->getFontHashTable()->count());\n\n        // font\n        for ($i = 0; $i < $this->getParentWriter()->getFontHashTable()->count(); ++$i) {\n            $this->writeFont($objWriter, $this->getParentWriter()->getFontHashTable()->getByIndex($i));\n        }\n\n        $objWriter->endElement();\n\n        // fills\n        $objWriter->startElement('fills');\n        $objWriter->writeAttribute('count', $this->getParentWriter()->getFillHashTable()->count());\n\n        // fill\n        for ($i = 0; $i < $this->getParentWriter()->getFillHashTable()->count(); ++$i) {\n            $this->writeFill($objWriter, $this->getParentWriter()->getFillHashTable()->getByIndex($i));\n        }\n\n        $objWriter->endElement();\n\n        // borders\n        $objWriter->startElement('borders');\n        $objWriter->writeAttribute('count', $this->getParentWriter()->getBordersHashTable()->count());\n\n        // border\n        for ($i = 0; $i < $this->getParentWriter()->getBordersHashTable()->count(); ++$i) {\n            $this->writeBorder($objWriter, $this->getParentWriter()->getBordersHashTable()->getByIndex($i));\n        }\n\n        $objWriter->endElement();\n\n        // cellStyleXfs\n        $objWriter->startElement('cellStyleXfs');\n        $objWriter->writeAttribute('count', 1);\n\n        // xf\n        $objWriter->startElement('xf');\n        $objWriter->writeAttribute('numFmtId', 0);\n        $objWriter->writeAttribute('fontId', 0);\n        $objWriter->writeAttribute('fillId', 0);\n        $objWriter->writeAttribute('borderId', 0);\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // cellXfs\n        $objWriter->startElement('cellXfs');\n        $objWriter->writeAttribute('count', count($pPHPExcel->getCellXfCollection()));\n\n        // xf\n        foreach ($pPHPExcel->getCellXfCollection() as $cellXf) {\n            $this->writeCellStyleXf($objWriter, $cellXf, $pPHPExcel);\n        }\n\n        $objWriter->endElement();\n\n        // cellStyles\n        $objWriter->startElement('cellStyles');\n        $objWriter->writeAttribute('count', 1);\n\n        // cellStyle\n        $objWriter->startElement('cellStyle');\n        $objWriter->writeAttribute('name', 'Normal');\n        $objWriter->writeAttribute('xfId', 0);\n        $objWriter->writeAttribute('builtinId', 0);\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // dxfs\n        $objWriter->startElement('dxfs');\n        $objWriter->writeAttribute('count', $this->getParentWriter()->getStylesConditionalHashTable()->count());\n\n        // dxf\n        for ($i = 0; $i < $this->getParentWriter()->getStylesConditionalHashTable()->count(); ++$i) {\n            $this->writeCellStyleDxf($objWriter, $this->getParentWriter()->getStylesConditionalHashTable()->getByIndex($i)->getStyle());\n        }\n\n        $objWriter->endElement();\n\n        // tableStyles\n        $objWriter->startElement('tableStyles');\n        $objWriter->writeAttribute('defaultTableStyle', 'TableStyleMedium9');\n        $objWriter->writeAttribute('defaultPivotStyle', 'PivotTableStyle1');\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write Fill\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     PHPExcel_Style_Fill            $pFill            Fill style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null)\n    {\n        // Check if this is a pattern type or gradient type\n        if ($pFill->getFillType() === PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR ||\n            $pFill->getFillType() === PHPExcel_Style_Fill::FILL_GRADIENT_PATH) {\n            // Gradient fill\n            $this->writeGradientFill($objWriter, $pFill);\n        } elseif ($pFill->getFillType() !== null) {\n            // Pattern fill\n            $this->writePatternFill($objWriter, $pFill);\n        }\n    }\n\n    /**\n     * Write Gradient Fill\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     PHPExcel_Style_Fill            $pFill            Fill style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeGradientFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null)\n    {\n        // fill\n        $objWriter->startElement('fill');\n\n        // gradientFill\n        $objWriter->startElement('gradientFill');\n        $objWriter->writeAttribute('type', $pFill->getFillType());\n        $objWriter->writeAttribute('degree', $pFill->getRotation());\n\n        // stop\n        $objWriter->startElement('stop');\n        $objWriter->writeAttribute('position', '0');\n\n        // color\n        $objWriter->startElement('color');\n        $objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB());\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        // stop\n        $objWriter->startElement('stop');\n        $objWriter->writeAttribute('position', '1');\n\n        // color\n        $objWriter->startElement('color');\n        $objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB());\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Pattern Fill\n     *\n     * @param     PHPExcel_Shared_XMLWriter            $objWriter         XML Writer\n     * @param     PHPExcel_Style_Fill                    $pFill            Fill style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writePatternFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null)\n    {\n        // fill\n        $objWriter->startElement('fill');\n\n        // patternFill\n        $objWriter->startElement('patternFill');\n        $objWriter->writeAttribute('patternType', $pFill->getFillType());\n\n        if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) {\n            // fgColor\n            if ($pFill->getStartColor()->getARGB()) {\n                $objWriter->startElement('fgColor');\n                $objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB());\n                $objWriter->endElement();\n            }\n        }\n        if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) {\n            // bgColor\n            if ($pFill->getEndColor()->getARGB()) {\n                $objWriter->startElement('bgColor');\n                $objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB());\n                $objWriter->endElement();\n            }\n        }\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Font\n     *\n     * @param     PHPExcel_Shared_XMLWriter        $objWriter         XML Writer\n     * @param     PHPExcel_Style_Font                $pFont            Font style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeFont(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Font $pFont = null)\n    {\n        // font\n        $objWriter->startElement('font');\n        //    Weird! The order of these elements actually makes a difference when opening Excel2007\n        //        files in Excel2003 with the compatibility pack. It's not documented behaviour,\n        //        and makes for a real WTF!\n\n        // Bold. We explicitly write this element also when false (like MS Office Excel 2007 does\n        // for conditional formatting). Otherwise it will apparently not be picked up in conditional\n        // formatting style dialog\n        if ($pFont->getBold() !== null) {\n            $objWriter->startElement('b');\n            $objWriter->writeAttribute('val', $pFont->getBold() ? '1' : '0');\n            $objWriter->endElement();\n        }\n\n        // Italic\n        if ($pFont->getItalic() !== null) {\n            $objWriter->startElement('i');\n            $objWriter->writeAttribute('val', $pFont->getItalic() ? '1' : '0');\n            $objWriter->endElement();\n        }\n\n        // Strikethrough\n        if ($pFont->getStrikethrough() !== null) {\n            $objWriter->startElement('strike');\n            $objWriter->writeAttribute('val', $pFont->getStrikethrough() ? '1' : '0');\n            $objWriter->endElement();\n        }\n\n        // Underline\n        if ($pFont->getUnderline() !== null) {\n            $objWriter->startElement('u');\n            $objWriter->writeAttribute('val', $pFont->getUnderline());\n            $objWriter->endElement();\n        }\n\n        // Superscript / subscript\n        if ($pFont->getSuperScript() === true || $pFont->getSubScript() === true) {\n            $objWriter->startElement('vertAlign');\n            if ($pFont->getSuperScript() === true) {\n                $objWriter->writeAttribute('val', 'superscript');\n            } elseif ($pFont->getSubScript() === true) {\n                $objWriter->writeAttribute('val', 'subscript');\n            }\n            $objWriter->endElement();\n        }\n\n        // Size\n        if ($pFont->getSize() !== null) {\n            $objWriter->startElement('sz');\n            $objWriter->writeAttribute('val', $pFont->getSize());\n            $objWriter->endElement();\n        }\n\n        // Foreground color\n        if ($pFont->getColor()->getARGB() !== null) {\n            $objWriter->startElement('color');\n            $objWriter->writeAttribute('rgb', $pFont->getColor()->getARGB());\n            $objWriter->endElement();\n        }\n\n        // Name\n        if ($pFont->getName() !== null) {\n            $objWriter->startElement('name');\n            $objWriter->writeAttribute('val', $pFont->getName());\n            $objWriter->endElement();\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Border\n     *\n     * @param     PHPExcel_Shared_XMLWriter            $objWriter         XML Writer\n     * @param     PHPExcel_Style_Borders                $pBorders        Borders style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeBorder(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Borders $pBorders = null)\n    {\n        // Write border\n        $objWriter->startElement('border');\n        // Diagonal?\n        switch ($pBorders->getDiagonalDirection()) {\n            case PHPExcel_Style_Borders::DIAGONAL_UP:\n                $objWriter->writeAttribute('diagonalUp', 'true');\n                $objWriter->writeAttribute('diagonalDown', 'false');\n                break;\n            case PHPExcel_Style_Borders::DIAGONAL_DOWN:\n                $objWriter->writeAttribute('diagonalUp', 'false');\n                $objWriter->writeAttribute('diagonalDown', 'true');\n                break;\n            case PHPExcel_Style_Borders::DIAGONAL_BOTH:\n                $objWriter->writeAttribute('diagonalUp', 'true');\n                $objWriter->writeAttribute('diagonalDown', 'true');\n                break;\n        }\n\n        // BorderPr\n        $this->writeBorderPr($objWriter, 'left', $pBorders->getLeft());\n        $this->writeBorderPr($objWriter, 'right', $pBorders->getRight());\n        $this->writeBorderPr($objWriter, 'top', $pBorders->getTop());\n        $this->writeBorderPr($objWriter, 'bottom', $pBorders->getBottom());\n        $this->writeBorderPr($objWriter, 'diagonal', $pBorders->getDiagonal());\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Cell Style Xf\n     *\n     * @param     PHPExcel_Shared_XMLWriter            $objWriter         XML Writer\n     * @param     PHPExcel_Style                        $pStyle            Style\n     * @param     PHPExcel                            $pPHPExcel        Workbook\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeCellStyleXf(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null, PHPExcel $pPHPExcel = null)\n    {\n        // xf\n        $objWriter->startElement('xf');\n        $objWriter->writeAttribute('xfId', 0);\n        $objWriter->writeAttribute('fontId', (int)$this->getParentWriter()->getFontHashTable()->getIndexForHashCode($pStyle->getFont()->getHashCode()));\n        if ($pStyle->getQuotePrefix()) {\n            $objWriter->writeAttribute('quotePrefix', 1);\n        }\n\n        if ($pStyle->getNumberFormat()->getBuiltInFormatCode() === false) {\n            $objWriter->writeAttribute('numFmtId', (int)($this->getParentWriter()->getNumFmtHashTable()->getIndexForHashCode($pStyle->getNumberFormat()->getHashCode()) + 164));\n        } else {\n            $objWriter->writeAttribute('numFmtId', (int)$pStyle->getNumberFormat()->getBuiltInFormatCode());\n        }\n\n        $objWriter->writeAttribute('fillId', (int)$this->getParentWriter()->getFillHashTable()->getIndexForHashCode($pStyle->getFill()->getHashCode()));\n        $objWriter->writeAttribute('borderId', (int)$this->getParentWriter()->getBordersHashTable()->getIndexForHashCode($pStyle->getBorders()->getHashCode()));\n\n        // Apply styles?\n        $objWriter->writeAttribute('applyFont', ($pPHPExcel->getDefaultStyle()->getFont()->getHashCode() != $pStyle->getFont()->getHashCode()) ? '1' : '0');\n        $objWriter->writeAttribute('applyNumberFormat', ($pPHPExcel->getDefaultStyle()->getNumberFormat()->getHashCode() != $pStyle->getNumberFormat()->getHashCode()) ? '1' : '0');\n        $objWriter->writeAttribute('applyFill', ($pPHPExcel->getDefaultStyle()->getFill()->getHashCode() != $pStyle->getFill()->getHashCode()) ? '1' : '0');\n        $objWriter->writeAttribute('applyBorder', ($pPHPExcel->getDefaultStyle()->getBorders()->getHashCode() != $pStyle->getBorders()->getHashCode()) ? '1' : '0');\n        $objWriter->writeAttribute('applyAlignment', ($pPHPExcel->getDefaultStyle()->getAlignment()->getHashCode() != $pStyle->getAlignment()->getHashCode()) ? '1' : '0');\n        if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT || $pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) {\n            $objWriter->writeAttribute('applyProtection', 'true');\n        }\n\n        // alignment\n        $objWriter->startElement('alignment');\n        $objWriter->writeAttribute('horizontal', $pStyle->getAlignment()->getHorizontal());\n        $objWriter->writeAttribute('vertical', $pStyle->getAlignment()->getVertical());\n\n        $textRotation = 0;\n        if ($pStyle->getAlignment()->getTextRotation() >= 0) {\n            $textRotation = $pStyle->getAlignment()->getTextRotation();\n        } elseif ($pStyle->getAlignment()->getTextRotation() < 0) {\n            $textRotation = 90 - $pStyle->getAlignment()->getTextRotation();\n        }\n        $objWriter->writeAttribute('textRotation', $textRotation);\n\n        $objWriter->writeAttribute('wrapText', ($pStyle->getAlignment()->getWrapText() ? 'true' : 'false'));\n        $objWriter->writeAttribute('shrinkToFit', ($pStyle->getAlignment()->getShrinkToFit() ? 'true' : 'false'));\n\n        if ($pStyle->getAlignment()->getIndent() > 0) {\n            $objWriter->writeAttribute('indent', $pStyle->getAlignment()->getIndent());\n        }\n        if ($pStyle->getAlignment()->getReadorder() > 0) {\n            $objWriter->writeAttribute('readingOrder', $pStyle->getAlignment()->getReadorder());\n        }\n        $objWriter->endElement();\n\n        // protection\n        if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT || $pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) {\n            $objWriter->startElement('protection');\n            if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT) {\n                $objWriter->writeAttribute('locked', ($pStyle->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false'));\n            }\n            if ($pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) {\n                $objWriter->writeAttribute('hidden', ($pStyle->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false'));\n            }\n            $objWriter->endElement();\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Cell Style Dxf\n     *\n     * @param     PHPExcel_Shared_XMLWriter         $objWriter         XML Writer\n     * @param     PHPExcel_Style                    $pStyle            Style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeCellStyleDxf(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null)\n    {\n        // dxf\n        $objWriter->startElement('dxf');\n\n        // font\n        $this->writeFont($objWriter, $pStyle->getFont());\n\n        // numFmt\n        $this->writeNumFmt($objWriter, $pStyle->getNumberFormat());\n\n        // fill\n        $this->writeFill($objWriter, $pStyle->getFill());\n\n        // alignment\n        $objWriter->startElement('alignment');\n        if ($pStyle->getAlignment()->getHorizontal() !== null) {\n            $objWriter->writeAttribute('horizontal', $pStyle->getAlignment()->getHorizontal());\n        }\n        if ($pStyle->getAlignment()->getVertical() !== null) {\n            $objWriter->writeAttribute('vertical', $pStyle->getAlignment()->getVertical());\n        }\n\n        if ($pStyle->getAlignment()->getTextRotation() !== null) {\n            $textRotation = 0;\n            if ($pStyle->getAlignment()->getTextRotation() >= 0) {\n                $textRotation = $pStyle->getAlignment()->getTextRotation();\n            } elseif ($pStyle->getAlignment()->getTextRotation() < 0) {\n                $textRotation = 90 - $pStyle->getAlignment()->getTextRotation();\n            }\n            $objWriter->writeAttribute('textRotation', $textRotation);\n        }\n        $objWriter->endElement();\n\n        // border\n        $this->writeBorder($objWriter, $pStyle->getBorders());\n\n        // protection\n        if (($pStyle->getProtection()->getLocked() !== null) || ($pStyle->getProtection()->getHidden() !== null)) {\n            if ($pStyle->getProtection()->getLocked() !== PHPExcel_Style_Protection::PROTECTION_INHERIT ||\n                $pStyle->getProtection()->getHidden() !== PHPExcel_Style_Protection::PROTECTION_INHERIT) {\n                $objWriter->startElement('protection');\n                if (($pStyle->getProtection()->getLocked() !== null) &&\n                    ($pStyle->getProtection()->getLocked() !== PHPExcel_Style_Protection::PROTECTION_INHERIT)) {\n                    $objWriter->writeAttribute('locked', ($pStyle->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false'));\n                }\n                if (($pStyle->getProtection()->getHidden() !== null) &&\n                    ($pStyle->getProtection()->getHidden() !== PHPExcel_Style_Protection::PROTECTION_INHERIT)) {\n                    $objWriter->writeAttribute('hidden', ($pStyle->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false'));\n                }\n                $objWriter->endElement();\n            }\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write BorderPr\n     *\n     * @param     PHPExcel_Shared_XMLWriter        $objWriter         XML Writer\n     * @param     string                            $pName            Element name\n     * @param     PHPExcel_Style_Border            $pBorder        Border style\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeBorderPr(PHPExcel_Shared_XMLWriter $objWriter = null, $pName = 'left', PHPExcel_Style_Border $pBorder = null)\n    {\n        // Write BorderPr\n        if ($pBorder->getBorderStyle() != PHPExcel_Style_Border::BORDER_NONE) {\n            $objWriter->startElement($pName);\n            $objWriter->writeAttribute('style', $pBorder->getBorderStyle());\n\n            // color\n            $objWriter->startElement('color');\n            $objWriter->writeAttribute('rgb', $pBorder->getColor()->getARGB());\n            $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write NumberFormat\n     *\n     * @param     PHPExcel_Shared_XMLWriter            $objWriter         XML Writer\n     * @param     PHPExcel_Style_NumberFormat            $pNumberFormat    Number Format\n     * @param     int                                    $pId            Number Format identifier\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeNumFmt(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_NumberFormat $pNumberFormat = null, $pId = 0)\n    {\n        // Translate formatcode\n        $formatCode = $pNumberFormat->getFormatCode();\n\n        // numFmt\n        if ($formatCode !== null) {\n            $objWriter->startElement('numFmt');\n            $objWriter->writeAttribute('numFmtId', ($pId + 164));\n            $objWriter->writeAttribute('formatCode', $formatCode);\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Get an array of all styles\n     *\n     * @param     PHPExcel                $pPHPExcel\n     * @return     PHPExcel_Style[]        All styles in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allStyles(PHPExcel $pPHPExcel = null)\n    {\n        return $pPHPExcel->getCellXfCollection();\n    }\n\n    /**\n     * Get an array of all conditional styles\n     *\n     * @param     PHPExcel                            $pPHPExcel\n     * @return     PHPExcel_Style_Conditional[]        All conditional styles in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allConditionalStyles(PHPExcel $pPHPExcel = null)\n    {\n        // Get an array of all styles\n        $aStyles = array();\n\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) {\n                foreach ($conditionalStyles as $conditionalStyle) {\n                    $aStyles[] = $conditionalStyle;\n                }\n            }\n        }\n\n        return $aStyles;\n    }\n\n    /**\n     * Get an array of all fills\n     *\n     * @param     PHPExcel                        $pPHPExcel\n     * @return     PHPExcel_Style_Fill[]        All fills in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allFills(PHPExcel $pPHPExcel = null)\n    {\n        // Get an array of unique fills\n        $aFills = array();\n\n        // Two first fills are predefined\n        $fill0 = new PHPExcel_Style_Fill();\n        $fill0->setFillType(PHPExcel_Style_Fill::FILL_NONE);\n        $aFills[] = $fill0;\n\n        $fill1 = new PHPExcel_Style_Fill();\n        $fill1->setFillType(PHPExcel_Style_Fill::FILL_PATTERN_GRAY125);\n        $aFills[] = $fill1;\n        // The remaining fills\n        $aStyles = $this->allStyles($pPHPExcel);\n        foreach ($aStyles as $style) {\n            if (!array_key_exists($style->getFill()->getHashCode(), $aFills)) {\n                $aFills[ $style->getFill()->getHashCode() ] = $style->getFill();\n            }\n        }\n\n        return $aFills;\n    }\n\n    /**\n     * Get an array of all fonts\n     *\n     * @param     PHPExcel                        $pPHPExcel\n     * @return     PHPExcel_Style_Font[]        All fonts in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allFonts(PHPExcel $pPHPExcel = null)\n    {\n        // Get an array of unique fonts\n        $aFonts = array();\n        $aStyles = $this->allStyles($pPHPExcel);\n\n        foreach ($aStyles as $style) {\n            if (!array_key_exists($style->getFont()->getHashCode(), $aFonts)) {\n                $aFonts[ $style->getFont()->getHashCode() ] = $style->getFont();\n            }\n        }\n\n        return $aFonts;\n    }\n\n    /**\n     * Get an array of all borders\n     *\n     * @param     PHPExcel                        $pPHPExcel\n     * @return     PHPExcel_Style_Borders[]        All borders in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allBorders(PHPExcel $pPHPExcel = null)\n    {\n        // Get an array of unique borders\n        $aBorders = array();\n        $aStyles = $this->allStyles($pPHPExcel);\n\n        foreach ($aStyles as $style) {\n            if (!array_key_exists($style->getBorders()->getHashCode(), $aBorders)) {\n                $aBorders[ $style->getBorders()->getHashCode() ] = $style->getBorders();\n            }\n        }\n\n        return $aBorders;\n    }\n\n    /**\n     * Get an array of all number formats\n     *\n     * @param     PHPExcel                                $pPHPExcel\n     * @return     PHPExcel_Style_NumberFormat[]        All number formats in PHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function allNumberFormats(PHPExcel $pPHPExcel = null)\n    {\n        // Get an array of unique number formats\n        $aNumFmts = array();\n        $aStyles = $this->allStyles($pPHPExcel);\n\n        foreach ($aStyles as $style) {\n            if ($style->getNumberFormat()->getBuiltInFormatCode() === false && !array_key_exists($style->getNumberFormat()->getHashCode(), $aNumFmts)) {\n                $aNumFmts[ $style->getNumberFormat()->getHashCode() ] = $style->getNumberFormat();\n            }\n        }\n\n        return $aNumFmts;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Theme.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Writer_Excel2007_Theme\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Writer_Excel2007_Theme extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Map of Major fonts to write\n     * @static    array of string\n     *\n     */\n    private static $majorFonts = array(\n        'Jpan' => 'ＭＳ Ｐゴシック',\n        'Hang' => '맑은 고딕',\n        'Hans' => '宋体',\n        'Hant' => '新細明體',\n        'Arab' => 'Times New Roman',\n        'Hebr' => 'Times New Roman',\n        'Thai' => 'Tahoma',\n        'Ethi' => 'Nyala',\n        'Beng' => 'Vrinda',\n        'Gujr' => 'Shruti',\n        'Khmr' => 'MoolBoran',\n        'Knda' => 'Tunga',\n        'Guru' => 'Raavi',\n        'Cans' => 'Euphemia',\n        'Cher' => 'Plantagenet Cherokee',\n        'Yiii' => 'Microsoft Yi Baiti',\n        'Tibt' => 'Microsoft Himalaya',\n        'Thaa' => 'MV Boli',\n        'Deva' => 'Mangal',\n        'Telu' => 'Gautami',\n        'Taml' => 'Latha',\n        'Syrc' => 'Estrangelo Edessa',\n        'Orya' => 'Kalinga',\n        'Mlym' => 'Kartika',\n        'Laoo' => 'DokChampa',\n        'Sinh' => 'Iskoola Pota',\n        'Mong' => 'Mongolian Baiti',\n        'Viet' => 'Times New Roman',\n        'Uigh' => 'Microsoft Uighur',\n        'Geor' => 'Sylfaen',\n    );\n\n    /**\n     * Map of Minor fonts to write\n     * @static    array of string\n     *\n     */\n    private static $minorFonts = array(\n        'Jpan' => 'ＭＳ Ｐゴシック',\n        'Hang' => '맑은 고딕',\n        'Hans' => '宋体',\n        'Hant' => '新細明體',\n        'Arab' => 'Arial',\n        'Hebr' => 'Arial',\n        'Thai' => 'Tahoma',\n        'Ethi' => 'Nyala',\n        'Beng' => 'Vrinda',\n        'Gujr' => 'Shruti',\n        'Khmr' => 'DaunPenh',\n        'Knda' => 'Tunga',\n        'Guru' => 'Raavi',\n        'Cans' => 'Euphemia',\n        'Cher' => 'Plantagenet Cherokee',\n        'Yiii' => 'Microsoft Yi Baiti',\n        'Tibt' => 'Microsoft Himalaya',\n        'Thaa' => 'MV Boli',\n        'Deva' => 'Mangal',\n        'Telu' => 'Gautami',\n        'Taml' => 'Latha',\n        'Syrc' => 'Estrangelo Edessa',\n        'Orya' => 'Kalinga',\n        'Mlym' => 'Kartika',\n        'Laoo' => 'DokChampa',\n        'Sinh' => 'Iskoola Pota',\n        'Mong' => 'Mongolian Baiti',\n        'Viet' => 'Arial',\n        'Uigh' => 'Microsoft Uighur',\n        'Geor' => 'Sylfaen',\n    );\n\n    /**\n     * Map of core colours\n     * @static    array of string\n     *\n     */\n    private static $colourScheme = array(\n        'dk2'        => '1F497D',\n        'lt2'        => 'EEECE1',\n        'accent1'    => '4F81BD',\n        'accent2'    => 'C0504D',\n        'accent3'    => '9BBB59',\n        'accent4'    => '8064A2',\n        'accent5'    => '4BACC6',\n        'accent6'    => 'F79646',\n        'hlink'        => '0000FF',\n        'folHlink'    => '800080',\n    );\n            \n    /**\n     * Write theme to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeTheme(PHPExcel $pPHPExcel = null)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // a:theme\n        $objWriter->startElement('a:theme');\n        $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main');\n        $objWriter->writeAttribute('name', 'Office Theme');\n\n            // a:themeElements\n            $objWriter->startElement('a:themeElements');\n\n                // a:clrScheme\n                $objWriter->startElement('a:clrScheme');\n                $objWriter->writeAttribute('name', 'Office');\n\n                    // a:dk1\n                    $objWriter->startElement('a:dk1');\n\n                        // a:sysClr\n                        $objWriter->startElement('a:sysClr');\n                        $objWriter->writeAttribute('val', 'windowText');\n                        $objWriter->writeAttribute('lastClr', '000000');\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                    // a:lt1\n                    $objWriter->startElement('a:lt1');\n\n                        // a:sysClr\n                        $objWriter->startElement('a:sysClr');\n                        $objWriter->writeAttribute('val', 'window');\n                        $objWriter->writeAttribute('lastClr', 'FFFFFF');\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                    // a:dk2\n                    $this->writeColourScheme($objWriter);\n\n                $objWriter->endElement();\n\n                // a:fontScheme\n                $objWriter->startElement('a:fontScheme');\n                $objWriter->writeAttribute('name', 'Office');\n\n                    // a:majorFont\n                    $objWriter->startElement('a:majorFont');\n                        $this->writeFonts($objWriter, 'Cambria', self::$majorFonts);\n                    $objWriter->endElement();\n\n                    // a:minorFont\n                    $objWriter->startElement('a:minorFont');\n                        $this->writeFonts($objWriter, 'Calibri', self::$minorFonts);\n                    $objWriter->endElement();\n\n                $objWriter->endElement();\n\n                // a:fmtScheme\n                $objWriter->startElement('a:fmtScheme');\n                $objWriter->writeAttribute('name', 'Office');\n\n                    // a:fillStyleLst\n                    $objWriter->startElement('a:fillStyleLst');\n\n                        // a:solidFill\n                        $objWriter->startElement('a:solidFill');\n\n                            // a:schemeClr\n                            $objWriter->startElement('a:schemeClr');\n                            $objWriter->writeAttribute('val', 'phClr');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:gradFill\n                        $objWriter->startElement('a:gradFill');\n                        $objWriter->writeAttribute('rotWithShape', '1');\n\n                            // a:gsLst\n                            $objWriter->startElement('a:gsLst');\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '0');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:tint\n                                        $objWriter->startElement('a:tint');\n                                        $objWriter->writeAttribute('val', '50000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '300000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '35000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:tint\n                                        $objWriter->startElement('a:tint');\n                                        $objWriter->writeAttribute('val', '37000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '300000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '100000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:tint\n                                        $objWriter->startElement('a:tint');\n                                        $objWriter->writeAttribute('val', '15000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '350000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:lin\n                            $objWriter->startElement('a:lin');\n                            $objWriter->writeAttribute('ang', '16200000');\n                            $objWriter->writeAttribute('scaled', '1');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:gradFill\n                        $objWriter->startElement('a:gradFill');\n                        $objWriter->writeAttribute('rotWithShape', '1');\n\n                            // a:gsLst\n                            $objWriter->startElement('a:gsLst');\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '0');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '51000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '130000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '80000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '93000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '130000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '100000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '94000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '135000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:lin\n                            $objWriter->startElement('a:lin');\n                            $objWriter->writeAttribute('ang', '16200000');\n                            $objWriter->writeAttribute('scaled', '0');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                    // a:lnStyleLst\n                    $objWriter->startElement('a:lnStyleLst');\n\n                        // a:ln\n                        $objWriter->startElement('a:ln');\n                        $objWriter->writeAttribute('w', '9525');\n                        $objWriter->writeAttribute('cap', 'flat');\n                        $objWriter->writeAttribute('cmpd', 'sng');\n                        $objWriter->writeAttribute('algn', 'ctr');\n\n                            // a:solidFill\n                            $objWriter->startElement('a:solidFill');\n\n                                // a:schemeClr\n                                $objWriter->startElement('a:schemeClr');\n                                $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '95000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '105000');\n                                        $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:prstDash\n                            $objWriter->startElement('a:prstDash');\n                            $objWriter->writeAttribute('val', 'solid');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:ln\n                        $objWriter->startElement('a:ln');\n                        $objWriter->writeAttribute('w', '25400');\n                        $objWriter->writeAttribute('cap', 'flat');\n                        $objWriter->writeAttribute('cmpd', 'sng');\n                        $objWriter->writeAttribute('algn', 'ctr');\n\n                            // a:solidFill\n                            $objWriter->startElement('a:solidFill');\n\n                                // a:schemeClr\n                                $objWriter->startElement('a:schemeClr');\n                                $objWriter->writeAttribute('val', 'phClr');\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:prstDash\n                            $objWriter->startElement('a:prstDash');\n                            $objWriter->writeAttribute('val', 'solid');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:ln\n                        $objWriter->startElement('a:ln');\n                        $objWriter->writeAttribute('w', '38100');\n                        $objWriter->writeAttribute('cap', 'flat');\n                        $objWriter->writeAttribute('cmpd', 'sng');\n                        $objWriter->writeAttribute('algn', 'ctr');\n\n                            // a:solidFill\n                            $objWriter->startElement('a:solidFill');\n\n                                // a:schemeClr\n                                $objWriter->startElement('a:schemeClr');\n                                $objWriter->writeAttribute('val', 'phClr');\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:prstDash\n                            $objWriter->startElement('a:prstDash');\n                            $objWriter->writeAttribute('val', 'solid');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n\n\n                    // a:effectStyleLst\n                    $objWriter->startElement('a:effectStyleLst');\n\n                        // a:effectStyle\n                        $objWriter->startElement('a:effectStyle');\n\n                            // a:effectLst\n                            $objWriter->startElement('a:effectLst');\n\n                                // a:outerShdw\n                                $objWriter->startElement('a:outerShdw');\n                                $objWriter->writeAttribute('blurRad', '40000');\n                                $objWriter->writeAttribute('dist', '20000');\n                                $objWriter->writeAttribute('dir', '5400000');\n                                $objWriter->writeAttribute('rotWithShape', '0');\n\n                                    // a:srgbClr\n                                    $objWriter->startElement('a:srgbClr');\n                                    $objWriter->writeAttribute('val', '000000');\n\n                                        // a:alpha\n                                        $objWriter->startElement('a:alpha');\n                                        $objWriter->writeAttribute('val', '38000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:effectStyle\n                        $objWriter->startElement('a:effectStyle');\n\n                            // a:effectLst\n                            $objWriter->startElement('a:effectLst');\n\n                                // a:outerShdw\n                                $objWriter->startElement('a:outerShdw');\n                                $objWriter->writeAttribute('blurRad', '40000');\n                                $objWriter->writeAttribute('dist', '23000');\n                                $objWriter->writeAttribute('dir', '5400000');\n                                $objWriter->writeAttribute('rotWithShape', '0');\n\n                                    // a:srgbClr\n                                    $objWriter->startElement('a:srgbClr');\n                                    $objWriter->writeAttribute('val', '000000');\n\n                                        // a:alpha\n                                        $objWriter->startElement('a:alpha');\n                                        $objWriter->writeAttribute('val', '35000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:effectStyle\n                        $objWriter->startElement('a:effectStyle');\n\n                            // a:effectLst\n                            $objWriter->startElement('a:effectLst');\n\n                                // a:outerShdw\n                                $objWriter->startElement('a:outerShdw');\n                                $objWriter->writeAttribute('blurRad', '40000');\n                                $objWriter->writeAttribute('dist', '23000');\n                                $objWriter->writeAttribute('dir', '5400000');\n                                $objWriter->writeAttribute('rotWithShape', '0');\n\n                                    // a:srgbClr\n                                    $objWriter->startElement('a:srgbClr');\n                                    $objWriter->writeAttribute('val', '000000');\n\n                                        // a:alpha\n                                        $objWriter->startElement('a:alpha');\n                                        $objWriter->writeAttribute('val', '35000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:scene3d\n                            $objWriter->startElement('a:scene3d');\n\n                                // a:camera\n                                $objWriter->startElement('a:camera');\n                                $objWriter->writeAttribute('prst', 'orthographicFront');\n\n                                    // a:rot\n                                    $objWriter->startElement('a:rot');\n                                    $objWriter->writeAttribute('lat', '0');\n                                    $objWriter->writeAttribute('lon', '0');\n                                    $objWriter->writeAttribute('rev', '0');\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:lightRig\n                                $objWriter->startElement('a:lightRig');\n                                $objWriter->writeAttribute('rig', 'threePt');\n                                $objWriter->writeAttribute('dir', 't');\n\n                                    // a:rot\n                                    $objWriter->startElement('a:rot');\n                                    $objWriter->writeAttribute('lat', '0');\n                                    $objWriter->writeAttribute('lon', '0');\n                                    $objWriter->writeAttribute('rev', '1200000');\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:sp3d\n                            $objWriter->startElement('a:sp3d');\n\n                                // a:bevelT\n                                $objWriter->startElement('a:bevelT');\n                                $objWriter->writeAttribute('w', '63500');\n                                $objWriter->writeAttribute('h', '25400');\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                    // a:bgFillStyleLst\n                    $objWriter->startElement('a:bgFillStyleLst');\n\n                        // a:solidFill\n                        $objWriter->startElement('a:solidFill');\n\n                            // a:schemeClr\n                            $objWriter->startElement('a:schemeClr');\n                            $objWriter->writeAttribute('val', 'phClr');\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:gradFill\n                        $objWriter->startElement('a:gradFill');\n                        $objWriter->writeAttribute('rotWithShape', '1');\n\n                            // a:gsLst\n                            $objWriter->startElement('a:gsLst');\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '0');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:tint\n                                        $objWriter->startElement('a:tint');\n                                        $objWriter->writeAttribute('val', '40000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '350000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '40000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:tint\n                                        $objWriter->startElement('a:tint');\n                                        $objWriter->writeAttribute('val', '45000');\n                                        $objWriter->endElement();\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '99000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '350000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '100000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '20000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '255000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:path\n                            $objWriter->startElement('a:path');\n                            $objWriter->writeAttribute('path', 'circle');\n\n                                // a:fillToRect\n                                $objWriter->startElement('a:fillToRect');\n                                $objWriter->writeAttribute('l', '50000');\n                                $objWriter->writeAttribute('t', '-80000');\n                                $objWriter->writeAttribute('r', '50000');\n                                $objWriter->writeAttribute('b', '180000');\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                        // a:gradFill\n                        $objWriter->startElement('a:gradFill');\n                        $objWriter->writeAttribute('rotWithShape', '1');\n\n                            // a:gsLst\n                            $objWriter->startElement('a:gsLst');\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '0');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:tint\n                                        $objWriter->startElement('a:tint');\n                                        $objWriter->writeAttribute('val', '80000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '300000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                                // a:gs\n                                $objWriter->startElement('a:gs');\n                                $objWriter->writeAttribute('pos', '100000');\n\n                                    // a:schemeClr\n                                    $objWriter->startElement('a:schemeClr');\n                                    $objWriter->writeAttribute('val', 'phClr');\n\n                                        // a:shade\n                                        $objWriter->startElement('a:shade');\n                                        $objWriter->writeAttribute('val', '30000');\n                                        $objWriter->endElement();\n\n                                        // a:satMod\n                                        $objWriter->startElement('a:satMod');\n                                        $objWriter->writeAttribute('val', '200000');\n                                        $objWriter->endElement();\n\n                                    $objWriter->endElement();\n\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                            // a:path\n                            $objWriter->startElement('a:path');\n                            $objWriter->writeAttribute('path', 'circle');\n\n                                // a:fillToRect\n                                $objWriter->startElement('a:fillToRect');\n                                $objWriter->writeAttribute('l', '50000');\n                                $objWriter->writeAttribute('t', '50000');\n                                $objWriter->writeAttribute('r', '50000');\n                                $objWriter->writeAttribute('b', '50000');\n                                $objWriter->endElement();\n\n                            $objWriter->endElement();\n\n                        $objWriter->endElement();\n\n                    $objWriter->endElement();\n\n                $objWriter->endElement();\n\n            $objWriter->endElement();\n\n            // a:objectDefaults\n            $objWriter->writeElement('a:objectDefaults', null);\n\n            // a:extraClrSchemeLst\n            $objWriter->writeElement('a:extraClrSchemeLst', null);\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write fonts to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter\n     * @param     string                        $latinFont\n     * @param     array of string                $fontSet\n     * @return     string                         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeFonts($objWriter, $latinFont, $fontSet)\n    {\n        // a:latin\n        $objWriter->startElement('a:latin');\n        $objWriter->writeAttribute('typeface', $latinFont);\n        $objWriter->endElement();\n\n        // a:ea\n        $objWriter->startElement('a:ea');\n        $objWriter->writeAttribute('typeface', '');\n        $objWriter->endElement();\n\n        // a:cs\n        $objWriter->startElement('a:cs');\n        $objWriter->writeAttribute('typeface', '');\n        $objWriter->endElement();\n\n        foreach ($fontSet as $fontScript => $typeface) {\n            $objWriter->startElement('a:font');\n                $objWriter->writeAttribute('script', $fontScript);\n                $objWriter->writeAttribute('typeface', $typeface);\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write colour scheme to XML format\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter\n     * @return     string                         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeColourScheme($objWriter)\n    {\n        foreach (self::$colourScheme as $colourName => $colourValue) {\n            $objWriter->startElement('a:'.$colourName);\n\n                $objWriter->startElement('a:srgbClr');\n                    $objWriter->writeAttribute('val', $colourValue);\n                $objWriter->endElement();\n\n            $objWriter->endElement();\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Workbook.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_Workbook\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007_Workbook extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write workbook to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @param    boolean        $recalcRequired    Indicate whether formulas should be recalculated before writing\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeWorkbook(PHPExcel $pPHPExcel = null, $recalcRequired = false)\n    {\n        // Create XML writer\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n        // workbook\n        $objWriter->startElement('workbook');\n        $objWriter->writeAttribute('xml:space', 'preserve');\n        $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main');\n        $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships');\n\n        // fileVersion\n        $this->writeFileVersion($objWriter);\n\n        // workbookPr\n        $this->writeWorkbookPr($objWriter);\n\n        // workbookProtection\n        $this->writeWorkbookProtection($objWriter, $pPHPExcel);\n\n        // bookViews\n        if ($this->getParentWriter()->getOffice2003Compatibility() === false) {\n            $this->writeBookViews($objWriter, $pPHPExcel);\n        }\n\n        // sheets\n        $this->writeSheets($objWriter, $pPHPExcel);\n\n        // definedNames\n        $this->writeDefinedNames($objWriter, $pPHPExcel);\n\n        // calcPr\n        $this->writeCalcPr($objWriter, $recalcRequired);\n\n        $objWriter->endElement();\n\n        // Return\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write file version\n     *\n     * @param     PHPExcel_Shared_XMLWriter $objWriter         XML Writer\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeFileVersion(PHPExcel_Shared_XMLWriter $objWriter = null)\n    {\n        $objWriter->startElement('fileVersion');\n        $objWriter->writeAttribute('appName', 'xl');\n        $objWriter->writeAttribute('lastEdited', '4');\n        $objWriter->writeAttribute('lowestEdited', '4');\n        $objWriter->writeAttribute('rupBuild', '4505');\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write WorkbookPr\n     *\n     * @param     PHPExcel_Shared_XMLWriter $objWriter         XML Writer\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeWorkbookPr(PHPExcel_Shared_XMLWriter $objWriter = null)\n    {\n        $objWriter->startElement('workbookPr');\n\n        if (PHPExcel_Shared_Date::getExcelCalendar() == PHPExcel_Shared_Date::CALENDAR_MAC_1904) {\n            $objWriter->writeAttribute('date1904', '1');\n        }\n\n        $objWriter->writeAttribute('codeName', 'ThisWorkbook');\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write BookViews\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     PHPExcel                    $pPHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)\n    {\n        // bookViews\n        $objWriter->startElement('bookViews');\n\n        // workbookView\n        $objWriter->startElement('workbookView');\n\n        $objWriter->writeAttribute('activeTab', $pPHPExcel->getActiveSheetIndex());\n        $objWriter->writeAttribute('autoFilterDateGrouping', '1');\n        $objWriter->writeAttribute('firstSheet', '0');\n        $objWriter->writeAttribute('minimized', '0');\n        $objWriter->writeAttribute('showHorizontalScroll', '1');\n        $objWriter->writeAttribute('showSheetTabs', '1');\n        $objWriter->writeAttribute('showVerticalScroll', '1');\n        $objWriter->writeAttribute('tabRatio', '600');\n        $objWriter->writeAttribute('visibility', 'visible');\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write WorkbookProtection\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     PHPExcel                    $pPHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)\n    {\n        if ($pPHPExcel->getSecurity()->isSecurityEnabled()) {\n            $objWriter->startElement('workbookProtection');\n            $objWriter->writeAttribute('lockRevision', ($pPHPExcel->getSecurity()->getLockRevision() ? 'true' : 'false'));\n            $objWriter->writeAttribute('lockStructure', ($pPHPExcel->getSecurity()->getLockStructure() ? 'true' : 'false'));\n            $objWriter->writeAttribute('lockWindows', ($pPHPExcel->getSecurity()->getLockWindows() ? 'true' : 'false'));\n\n            if ($pPHPExcel->getSecurity()->getRevisionsPassword() != '') {\n                $objWriter->writeAttribute('revisionsPassword', $pPHPExcel->getSecurity()->getRevisionsPassword());\n            }\n\n            if ($pPHPExcel->getSecurity()->getWorkbookPassword() != '') {\n                $objWriter->writeAttribute('workbookPassword', $pPHPExcel->getSecurity()->getWorkbookPassword());\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write calcPr\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter        XML Writer\n     * @param    boolean                        $recalcRequired    Indicate whether formulas should be recalculated before writing\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeCalcPr(PHPExcel_Shared_XMLWriter $objWriter = null, $recalcRequired = true)\n    {\n        $objWriter->startElement('calcPr');\n\n        //    Set the calcid to a higher value than Excel itself will use, otherwise Excel will always recalc\n        //  If MS Excel does do a recalc, then users opening a file in MS Excel will be prompted to save on exit\n        //     because the file has changed\n        $objWriter->writeAttribute('calcId', '999999');\n        $objWriter->writeAttribute('calcMode', 'auto');\n        //    fullCalcOnLoad isn't needed if we've recalculating for the save\n        $objWriter->writeAttribute('calcCompleted', ($recalcRequired) ? 1 : 0);\n        $objWriter->writeAttribute('fullCalcOnLoad', ($recalcRequired) ? 0 : 1);\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write sheets\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     PHPExcel                    $pPHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeSheets(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)\n    {\n        // Write sheets\n        $objWriter->startElement('sheets');\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            // sheet\n            $this->writeSheet(\n                $objWriter,\n                $pPHPExcel->getSheet($i)->getTitle(),\n                ($i + 1),\n                ($i + 1 + 3),\n                $pPHPExcel->getSheet($i)->getSheetState()\n            );\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write sheet\n     *\n     * @param     PHPExcel_Shared_XMLWriter     $objWriter         XML Writer\n     * @param     string                         $pSheetname         Sheet name\n     * @param     int                            $pSheetId             Sheet id\n     * @param     int                            $pRelId                Relationship ID\n     * @param   string                      $sheetState         Sheet state (visible, hidden, veryHidden)\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeSheet(PHPExcel_Shared_XMLWriter $objWriter = null, $pSheetname = '', $pSheetId = 1, $pRelId = 1, $sheetState = 'visible')\n    {\n        if ($pSheetname != '') {\n            // Write sheet\n            $objWriter->startElement('sheet');\n            $objWriter->writeAttribute('name', $pSheetname);\n            $objWriter->writeAttribute('sheetId', $pSheetId);\n            if ($sheetState != 'visible' && $sheetState != '') {\n                $objWriter->writeAttribute('state', $sheetState);\n            }\n            $objWriter->writeAttribute('r:id', 'rId' . $pRelId);\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Write Defined Names\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel                    $pPHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeDefinedNames(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null)\n    {\n        // Write defined names\n        $objWriter->startElement('definedNames');\n\n        // Named ranges\n        if (count($pPHPExcel->getNamedRanges()) > 0) {\n            // Named ranges\n            $this->writeNamedRanges($objWriter, $pPHPExcel);\n        }\n\n        // Other defined names\n        $sheetCount = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheetCount; ++$i) {\n            // definedName for autoFilter\n            $this->writeDefinedNameForAutofilter($objWriter, $pPHPExcel->getSheet($i), $i);\n\n            // definedName for Print_Titles\n            $this->writeDefinedNameForPrintTitles($objWriter, $pPHPExcel->getSheet($i), $i);\n\n            // definedName for Print_Area\n            $this->writeDefinedNameForPrintArea($objWriter, $pPHPExcel->getSheet($i), $i);\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write named ranges\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel                    $pPHPExcel\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeNamedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel)\n    {\n        // Loop named ranges\n        $namedRanges = $pPHPExcel->getNamedRanges();\n        foreach ($namedRanges as $namedRange) {\n            $this->writeDefinedNameForNamedRange($objWriter, $namedRange);\n        }\n    }\n\n    /**\n     * Write Defined Name for named range\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel_NamedRange            $pNamedRange\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeDefinedNameForNamedRange(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_NamedRange $pNamedRange)\n    {\n        // definedName for named range\n        $objWriter->startElement('definedName');\n        $objWriter->writeAttribute('name', $pNamedRange->getName());\n        if ($pNamedRange->getLocalOnly()) {\n            $objWriter->writeAttribute('localSheetId', $pNamedRange->getScope()->getParent()->getIndex($pNamedRange->getScope()));\n        }\n\n        // Create absolute coordinate and write as raw text\n        $range = PHPExcel_Cell::splitRange($pNamedRange->getRange());\n        for ($i = 0; $i < count($range); $i++) {\n            $range[$i][0] = '\\'' . str_replace(\"'\", \"''\", $pNamedRange->getWorksheet()->getTitle()) . '\\'!' . PHPExcel_Cell::absoluteReference($range[$i][0]);\n            if (isset($range[$i][1])) {\n                $range[$i][1] = PHPExcel_Cell::absoluteReference($range[$i][1]);\n            }\n        }\n        $range = PHPExcel_Cell::buildRange($range);\n\n        $objWriter->writeRawData($range);\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Defined Name for autoFilter\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel_Worksheet            $pSheet\n     * @param     int                            $pSheetId\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeDefinedNameForAutofilter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0)\n    {\n        // definedName for autoFilter\n        $autoFilterRange = $pSheet->getAutoFilter()->getRange();\n        if (!empty($autoFilterRange)) {\n            $objWriter->startElement('definedName');\n            $objWriter->writeAttribute('name', '_xlnm._FilterDatabase');\n            $objWriter->writeAttribute('localSheetId', $pSheetId);\n            $objWriter->writeAttribute('hidden', '1');\n\n            // Create absolute coordinate and write as raw text\n            $range = PHPExcel_Cell::splitRange($autoFilterRange);\n            $range = $range[0];\n            //    Strip any worksheet ref so we can make the cell ref absolute\n            if (strpos($range[0], '!') !== false) {\n                list($ws, $range[0]) = explode('!', $range[0]);\n            }\n\n            $range[0] = PHPExcel_Cell::absoluteCoordinate($range[0]);\n            $range[1] = PHPExcel_Cell::absoluteCoordinate($range[1]);\n            $range = implode(':', $range);\n\n            $objWriter->writeRawData('\\'' . str_replace(\"'\", \"''\", $pSheet->getTitle()) . '\\'!' . $range);\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write Defined Name for PrintTitles\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel_Worksheet            $pSheet\n     * @param     int                            $pSheetId\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeDefinedNameForPrintTitles(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0)\n    {\n        // definedName for PrintTitles\n        if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet() || $pSheet->getPageSetup()->isRowsToRepeatAtTopSet()) {\n            $objWriter->startElement('definedName');\n            $objWriter->writeAttribute('name', '_xlnm.Print_Titles');\n            $objWriter->writeAttribute('localSheetId', $pSheetId);\n\n            // Setting string\n            $settingString = '';\n\n            // Columns to repeat\n            if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet()) {\n                $repeat = $pSheet->getPageSetup()->getColumnsToRepeatAtLeft();\n\n                $settingString .= '\\'' . str_replace(\"'\", \"''\", $pSheet->getTitle()) . '\\'!$' . $repeat[0] . ':$' . $repeat[1];\n            }\n\n            // Rows to repeat\n            if ($pSheet->getPageSetup()->isRowsToRepeatAtTopSet()) {\n                if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet()) {\n                    $settingString .= ',';\n                }\n\n                $repeat = $pSheet->getPageSetup()->getRowsToRepeatAtTop();\n\n                $settingString .= '\\'' . str_replace(\"'\", \"''\", $pSheet->getTitle()) . '\\'!$' . $repeat[0] . ':$' . $repeat[1];\n            }\n\n            $objWriter->writeRawData($settingString);\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write Defined Name for PrintTitles\n     *\n     * @param     PHPExcel_Shared_XMLWriter    $objWriter         XML Writer\n     * @param     PHPExcel_Worksheet            $pSheet\n     * @param     int                            $pSheetId\n     * @throws     PHPExcel_Writer_Exception\n     */\n    private function writeDefinedNameForPrintArea(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0)\n    {\n        // definedName for PrintArea\n        if ($pSheet->getPageSetup()->isPrintAreaSet()) {\n            $objWriter->startElement('definedName');\n            $objWriter->writeAttribute('name', '_xlnm.Print_Area');\n            $objWriter->writeAttribute('localSheetId', $pSheetId);\n\n            // Setting string\n            $settingString = '';\n\n            // Print area\n            $printArea = PHPExcel_Cell::splitRange($pSheet->getPageSetup()->getPrintArea());\n\n            $chunks = array();\n            foreach ($printArea as $printAreaRect) {\n                $printAreaRect[0] = PHPExcel_Cell::absoluteReference($printAreaRect[0]);\n                $printAreaRect[1] = PHPExcel_Cell::absoluteReference($printAreaRect[1]);\n                $chunks[] = '\\'' . str_replace(\"'\", \"''\", $pSheet->getTitle()) . '\\'!' . implode(':', $printAreaRect);\n            }\n\n            $objWriter->writeRawData(implode(',', $chunks));\n\n            $objWriter->endElement();\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/Worksheet.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Writer_Excel2007_Worksheet\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Writer_Excel2007_Worksheet extends PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Write worksheet to XML format\n     *\n     * @param    PHPExcel_Worksheet        $pSheet\n     * @param    string[]                $pStringTable\n     * @param    boolean                    $includeCharts    Flag indicating if we should write charts\n     * @return    string                    XML Output\n     * @throws    PHPExcel_Writer_Exception\n     */\n    public function writeWorksheet($pSheet = null, $pStringTable = null, $includeCharts = false)\n    {\n        if (!is_null($pSheet)) {\n            // Create XML writer\n            $objWriter = null;\n            if ($this->getParentWriter()->getUseDiskCaching()) {\n                $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n            } else {\n                $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n            }\n\n            // XML header\n            $objWriter->startDocument('1.0', 'UTF-8', 'yes');\n\n            // Worksheet\n            $objWriter->startElement('worksheet');\n            $objWriter->writeAttribute('xml:space', 'preserve');\n            $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main');\n            $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships');\n\n                // sheetPr\n                $this->writeSheetPr($objWriter, $pSheet);\n\n                // Dimension\n                $this->writeDimension($objWriter, $pSheet);\n\n                // sheetViews\n                $this->writeSheetViews($objWriter, $pSheet);\n\n                // sheetFormatPr\n                $this->writeSheetFormatPr($objWriter, $pSheet);\n\n                // cols\n                $this->writeCols($objWriter, $pSheet);\n\n                // sheetData\n                $this->writeSheetData($objWriter, $pSheet, $pStringTable);\n\n                // sheetProtection\n                $this->writeSheetProtection($objWriter, $pSheet);\n\n                // protectedRanges\n                $this->writeProtectedRanges($objWriter, $pSheet);\n\n                // autoFilter\n                $this->writeAutoFilter($objWriter, $pSheet);\n\n                // mergeCells\n                $this->writeMergeCells($objWriter, $pSheet);\n\n                // conditionalFormatting\n                $this->writeConditionalFormatting($objWriter, $pSheet);\n\n                // dataValidations\n                $this->writeDataValidations($objWriter, $pSheet);\n\n                // hyperlinks\n                $this->writeHyperlinks($objWriter, $pSheet);\n\n                // Print options\n                $this->writePrintOptions($objWriter, $pSheet);\n\n                // Page margins\n                $this->writePageMargins($objWriter, $pSheet);\n\n                // Page setup\n                $this->writePageSetup($objWriter, $pSheet);\n\n                // Header / footer\n                $this->writeHeaderFooter($objWriter, $pSheet);\n\n                // Breaks\n                $this->writeBreaks($objWriter, $pSheet);\n\n                // Drawings and/or Charts\n                $this->writeDrawings($objWriter, $pSheet, $includeCharts);\n\n                // LegacyDrawing\n                $this->writeLegacyDrawing($objWriter, $pSheet);\n\n                // LegacyDrawingHF\n                $this->writeLegacyDrawingHF($objWriter, $pSheet);\n\n            $objWriter->endElement();\n\n            // Return\n            return $objWriter->getData();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid PHPExcel_Worksheet object passed.\");\n        }\n    }\n\n    /**\n     * Write SheetPr\n     *\n     * @param    PHPExcel_Shared_XMLWriter        $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeSheetPr(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // sheetPr\n        $objWriter->startElement('sheetPr');\n        //$objWriter->writeAttribute('codeName',        $pSheet->getTitle());\n        if ($pSheet->getParent()->hasMacros()) {//if the workbook have macros, we need to have codeName for the sheet\n            if ($pSheet->hasCodeName()==false) {\n                $pSheet->setCodeName($pSheet->getTitle());\n            }\n            $objWriter->writeAttribute('codeName', $pSheet->getCodeName());\n        }\n        $autoFilterRange = $pSheet->getAutoFilter()->getRange();\n        if (!empty($autoFilterRange)) {\n            $objWriter->writeAttribute('filterMode', 1);\n            $pSheet->getAutoFilter()->showHideRows();\n        }\n\n        // tabColor\n        if ($pSheet->isTabColorSet()) {\n            $objWriter->startElement('tabColor');\n            $objWriter->writeAttribute('rgb', $pSheet->getTabColor()->getARGB());\n            $objWriter->endElement();\n        }\n\n        // outlinePr\n        $objWriter->startElement('outlinePr');\n        $objWriter->writeAttribute('summaryBelow', ($pSheet->getShowSummaryBelow() ? '1' : '0'));\n        $objWriter->writeAttribute('summaryRight', ($pSheet->getShowSummaryRight() ? '1' : '0'));\n        $objWriter->endElement();\n\n        // pageSetUpPr\n        if ($pSheet->getPageSetup()->getFitToPage()) {\n            $objWriter->startElement('pageSetUpPr');\n            $objWriter->writeAttribute('fitToPage', '1');\n            $objWriter->endElement();\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Dimension\n     *\n     * @param    PHPExcel_Shared_XMLWriter    $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet            $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeDimension(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // dimension\n        $objWriter->startElement('dimension');\n        $objWriter->writeAttribute('ref', $pSheet->calculateWorksheetDimension());\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write SheetViews\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeSheetViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // sheetViews\n        $objWriter->startElement('sheetViews');\n\n        // Sheet selected?\n        $sheetSelected = false;\n        if ($this->getParentWriter()->getPHPExcel()->getIndex($pSheet) == $this->getParentWriter()->getPHPExcel()->getActiveSheetIndex()) {\n            $sheetSelected = true;\n        }\n\n        // sheetView\n        $objWriter->startElement('sheetView');\n        $objWriter->writeAttribute('tabSelected', $sheetSelected ? '1' : '0');\n        $objWriter->writeAttribute('workbookViewId', '0');\n\n        // Zoom scales\n        if ($pSheet->getSheetView()->getZoomScale() != 100) {\n            $objWriter->writeAttribute('zoomScale', $pSheet->getSheetView()->getZoomScale());\n        }\n        if ($pSheet->getSheetView()->getZoomScaleNormal() != 100) {\n            $objWriter->writeAttribute('zoomScaleNormal', $pSheet->getSheetView()->getZoomScaleNormal());\n        }\n\n        // View Layout Type\n        if ($pSheet->getSheetView()->getView() !== PHPExcel_Worksheet_SheetView::SHEETVIEW_NORMAL) {\n            $objWriter->writeAttribute('view', $pSheet->getSheetView()->getView());\n        }\n\n        // Gridlines\n        if ($pSheet->getShowGridlines()) {\n            $objWriter->writeAttribute('showGridLines', 'true');\n        } else {\n            $objWriter->writeAttribute('showGridLines', 'false');\n        }\n\n        // Row and column headers\n        if ($pSheet->getShowRowColHeaders()) {\n            $objWriter->writeAttribute('showRowColHeaders', '1');\n        } else {\n            $objWriter->writeAttribute('showRowColHeaders', '0');\n        }\n\n        // Right-to-left\n        if ($pSheet->getRightToLeft()) {\n            $objWriter->writeAttribute('rightToLeft', 'true');\n        }\n\n        $activeCell = $pSheet->getActiveCell();\n\n        // Pane\n        $pane = '';\n        $topLeftCell = $pSheet->getFreezePane();\n        if (($topLeftCell != '') && ($topLeftCell != 'A1')) {\n            $activeCell = empty($activeCell) ? $topLeftCell : $activeCell;\n            // Calculate freeze coordinates\n            $xSplit = $ySplit = 0;\n\n            list($xSplit, $ySplit) = PHPExcel_Cell::coordinateFromString($topLeftCell);\n            $xSplit = PHPExcel_Cell::columnIndexFromString($xSplit);\n\n            // pane\n            $pane = 'topRight';\n            $objWriter->startElement('pane');\n            if ($xSplit > 1) {\n                $objWriter->writeAttribute('xSplit', $xSplit - 1);\n            }\n            if ($ySplit > 1) {\n                $objWriter->writeAttribute('ySplit', $ySplit - 1);\n                $pane = ($xSplit > 1) ? 'bottomRight' : 'bottomLeft';\n            }\n            $objWriter->writeAttribute('topLeftCell', $topLeftCell);\n            $objWriter->writeAttribute('activePane', $pane);\n            $objWriter->writeAttribute('state', 'frozen');\n            $objWriter->endElement();\n\n            if (($xSplit > 1) && ($ySplit > 1)) {\n                //    Write additional selections if more than two panes (ie both an X and a Y split)\n                $objWriter->startElement('selection');\n                $objWriter->writeAttribute('pane', 'topRight');\n                $objWriter->endElement();\n                $objWriter->startElement('selection');\n                $objWriter->writeAttribute('pane', 'bottomLeft');\n                $objWriter->endElement();\n            }\n        }\n\n        // Selection\n//      if ($pane != '') {\n        // Only need to write selection element if we have a split pane\n        // We cheat a little by over-riding the active cell selection, setting it to the split cell\n        $objWriter->startElement('selection');\n        if ($pane != '') {\n            $objWriter->writeAttribute('pane', $pane);\n        }\n        $objWriter->writeAttribute('activeCell', $activeCell);\n        $objWriter->writeAttribute('sqref', $activeCell);\n        $objWriter->endElement();\n//      }\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write SheetFormatPr\n     *\n     * @param    PHPExcel_Shared_XMLWriter $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet          $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeSheetFormatPr(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // sheetFormatPr\n        $objWriter->startElement('sheetFormatPr');\n\n        // Default row height\n        if ($pSheet->getDefaultRowDimension()->getRowHeight() >= 0) {\n            $objWriter->writeAttribute('customHeight', 'true');\n            $objWriter->writeAttribute('defaultRowHeight', PHPExcel_Shared_String::FormatNumber($pSheet->getDefaultRowDimension()->getRowHeight()));\n        } else {\n            $objWriter->writeAttribute('defaultRowHeight', '14.4');\n        }\n\n        // Set Zero Height row\n        if ((string)$pSheet->getDefaultRowDimension()->getZeroHeight()  == '1' ||\n            strtolower((string)$pSheet->getDefaultRowDimension()->getZeroHeight()) == 'true') {\n            $objWriter->writeAttribute('zeroHeight', '1');\n        }\n\n        // Default column width\n        if ($pSheet->getDefaultColumnDimension()->getWidth() >= 0) {\n            $objWriter->writeAttribute('defaultColWidth', PHPExcel_Shared_String::FormatNumber($pSheet->getDefaultColumnDimension()->getWidth()));\n        }\n\n        // Outline level - row\n        $outlineLevelRow = 0;\n        foreach ($pSheet->getRowDimensions() as $dimension) {\n            if ($dimension->getOutlineLevel() > $outlineLevelRow) {\n                $outlineLevelRow = $dimension->getOutlineLevel();\n            }\n        }\n        $objWriter->writeAttribute('outlineLevelRow', (int)$outlineLevelRow);\n\n        // Outline level - column\n        $outlineLevelCol = 0;\n        foreach ($pSheet->getColumnDimensions() as $dimension) {\n            if ($dimension->getOutlineLevel() > $outlineLevelCol) {\n                $outlineLevelCol = $dimension->getOutlineLevel();\n            }\n        }\n        $objWriter->writeAttribute('outlineLevelCol', (int)$outlineLevelCol);\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Cols\n     *\n     * @param    PHPExcel_Shared_XMLWriter $objWriter XML Writer\n     * @param    PHPExcel_Worksheet $pSheet Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeCols(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // cols\n        if (count($pSheet->getColumnDimensions()) > 0) {\n            $objWriter->startElement('cols');\n\n            $pSheet->calculateColumnWidths();\n\n            // Loop through column dimensions\n            foreach ($pSheet->getColumnDimensions() as $colDimension) {\n                // col\n                $objWriter->startElement('col');\n                $objWriter->writeAttribute('min', PHPExcel_Cell::columnIndexFromString($colDimension->getColumnIndex()));\n                $objWriter->writeAttribute('max', PHPExcel_Cell::columnIndexFromString($colDimension->getColumnIndex()));\n\n                if ($colDimension->getWidth() < 0) {\n                    // No width set, apply default of 10\n                    $objWriter->writeAttribute('width', '9.10');\n                } else {\n                    // Width set\n                    $objWriter->writeAttribute('width', PHPExcel_Shared_String::FormatNumber($colDimension->getWidth()));\n                }\n\n                // Column visibility\n                if ($colDimension->getVisible() == false) {\n                    $objWriter->writeAttribute('hidden', 'true');\n                }\n\n                // Auto size?\n                if ($colDimension->getAutoSize()) {\n                    $objWriter->writeAttribute('bestFit', 'true');\n                }\n\n                // Custom width?\n                if ($colDimension->getWidth() != $pSheet->getDefaultColumnDimension()->getWidth()) {\n                    $objWriter->writeAttribute('customWidth', 'true');\n                }\n\n                // Collapsed\n                if ($colDimension->getCollapsed() == true) {\n                    $objWriter->writeAttribute('collapsed', 'true');\n                }\n\n                // Outline level\n                if ($colDimension->getOutlineLevel() > 0) {\n                    $objWriter->writeAttribute('outlineLevel', $colDimension->getOutlineLevel());\n                }\n\n                // Style\n                $objWriter->writeAttribute('style', $colDimension->getXfIndex());\n\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write SheetProtection\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeSheetProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // sheetProtection\n        $objWriter->startElement('sheetProtection');\n\n        if ($pSheet->getProtection()->getPassword() != '') {\n            $objWriter->writeAttribute('password', $pSheet->getProtection()->getPassword());\n        }\n\n        $objWriter->writeAttribute('sheet', ($pSheet->getProtection()->getSheet() ? 'true' : 'false'));\n        $objWriter->writeAttribute('objects', ($pSheet->getProtection()->getObjects() ? 'true' : 'false'));\n        $objWriter->writeAttribute('scenarios', ($pSheet->getProtection()->getScenarios() ? 'true' : 'false'));\n        $objWriter->writeAttribute('formatCells', ($pSheet->getProtection()->getFormatCells() ? 'true' : 'false'));\n        $objWriter->writeAttribute('formatColumns', ($pSheet->getProtection()->getFormatColumns() ? 'true' : 'false'));\n        $objWriter->writeAttribute('formatRows', ($pSheet->getProtection()->getFormatRows() ? 'true' : 'false'));\n        $objWriter->writeAttribute('insertColumns', ($pSheet->getProtection()->getInsertColumns() ? 'true' : 'false'));\n        $objWriter->writeAttribute('insertRows', ($pSheet->getProtection()->getInsertRows() ? 'true' : 'false'));\n        $objWriter->writeAttribute('insertHyperlinks', ($pSheet->getProtection()->getInsertHyperlinks() ? 'true' : 'false'));\n        $objWriter->writeAttribute('deleteColumns', ($pSheet->getProtection()->getDeleteColumns() ? 'true' : 'false'));\n        $objWriter->writeAttribute('deleteRows', ($pSheet->getProtection()->getDeleteRows() ? 'true' : 'false'));\n        $objWriter->writeAttribute('selectLockedCells', ($pSheet->getProtection()->getSelectLockedCells() ? 'true' : 'false'));\n        $objWriter->writeAttribute('sort', ($pSheet->getProtection()->getSort() ? 'true' : 'false'));\n        $objWriter->writeAttribute('autoFilter', ($pSheet->getProtection()->getAutoFilter() ? 'true' : 'false'));\n        $objWriter->writeAttribute('pivotTables', ($pSheet->getProtection()->getPivotTables() ? 'true' : 'false'));\n        $objWriter->writeAttribute('selectUnlockedCells', ($pSheet->getProtection()->getSelectUnlockedCells() ? 'true' : 'false'));\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write ConditionalFormatting\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeConditionalFormatting(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // Conditional id\n        $id = 1;\n\n        // Loop through styles in the current worksheet\n        foreach ($pSheet->getConditionalStylesCollection() as $cellCoordinate => $conditionalStyles) {\n            foreach ($conditionalStyles as $conditional) {\n                // WHY was this again?\n                // if ($this->getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode($conditional->getHashCode()) == '') {\n                //    continue;\n                // }\n                if ($conditional->getConditionType() != PHPExcel_Style_Conditional::CONDITION_NONE) {\n                    // conditionalFormatting\n                    $objWriter->startElement('conditionalFormatting');\n                    $objWriter->writeAttribute('sqref', $cellCoordinate);\n\n                    // cfRule\n                    $objWriter->startElement('cfRule');\n                    $objWriter->writeAttribute('type', $conditional->getConditionType());\n                    $objWriter->writeAttribute('dxfId', $this->getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode($conditional->getHashCode()));\n                    $objWriter->writeAttribute('priority', $id++);\n\n                    if (($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT)\n                        && $conditional->getOperatorType() != PHPExcel_Style_Conditional::OPERATOR_NONE) {\n                        $objWriter->writeAttribute('operator', $conditional->getOperatorType());\n                    }\n\n                    if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT\n                        && !is_null($conditional->getText())) {\n                        $objWriter->writeAttribute('text', $conditional->getText());\n                    }\n\n                    if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT\n                        && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_CONTAINSTEXT\n                        && !is_null($conditional->getText())) {\n                        $objWriter->writeElement('formula', 'NOT(ISERROR(SEARCH(\"' . $conditional->getText() . '\",' . $cellCoordinate . ')))');\n                    } elseif ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT\n                        && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_BEGINSWITH\n                        && !is_null($conditional->getText())) {\n                        $objWriter->writeElement('formula', 'LEFT(' . $cellCoordinate . ',' . strlen($conditional->getText()) . ')=\"' . $conditional->getText() . '\"');\n                    } elseif ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT\n                        && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_ENDSWITH\n                        && !is_null($conditional->getText())) {\n                        $objWriter->writeElement('formula', 'RIGHT(' . $cellCoordinate . ',' . strlen($conditional->getText()) . ')=\"' . $conditional->getText() . '\"');\n                    } elseif ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT\n                        && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_NOTCONTAINS\n                        && !is_null($conditional->getText())) {\n                        $objWriter->writeElement('formula', 'ISERROR(SEARCH(\"' . $conditional->getText() . '\",' . $cellCoordinate . '))');\n                    } elseif ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS\n                        || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT\n                        || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION) {\n                        foreach ($conditional->getConditions() as $formula) {\n                            // Formula\n                            $objWriter->writeElement('formula', $formula);\n                        }\n                    }\n\n                    $objWriter->endElement();\n\n                    $objWriter->endElement();\n                }\n            }\n        }\n    }\n\n    /**\n     * Write DataValidations\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeDataValidations(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // Datavalidation collection\n        $dataValidationCollection = $pSheet->getDataValidationCollection();\n\n        // Write data validations?\n        if (!empty($dataValidationCollection)) {\n            $objWriter->startElement('dataValidations');\n            $objWriter->writeAttribute('count', count($dataValidationCollection));\n\n            foreach ($dataValidationCollection as $coordinate => $dv) {\n                $objWriter->startElement('dataValidation');\n\n                if ($dv->getType() != '') {\n                    $objWriter->writeAttribute('type', $dv->getType());\n                }\n\n                if ($dv->getErrorStyle() != '') {\n                    $objWriter->writeAttribute('errorStyle', $dv->getErrorStyle());\n                }\n\n                if ($dv->getOperator() != '') {\n                    $objWriter->writeAttribute('operator', $dv->getOperator());\n                }\n\n                $objWriter->writeAttribute('allowBlank', ($dv->getAllowBlank() ? '1'  : '0'));\n                $objWriter->writeAttribute('showDropDown', (!$dv->getShowDropDown() ? '1'  : '0'));\n                $objWriter->writeAttribute('showInputMessage', ($dv->getShowInputMessage() ? '1'  : '0'));\n                $objWriter->writeAttribute('showErrorMessage', ($dv->getShowErrorMessage() ? '1'  : '0'));\n\n                if ($dv->getErrorTitle() !== '') {\n                    $objWriter->writeAttribute('errorTitle', $dv->getErrorTitle());\n                }\n                if ($dv->getError() !== '') {\n                    $objWriter->writeAttribute('error', $dv->getError());\n                }\n                if ($dv->getPromptTitle() !== '') {\n                    $objWriter->writeAttribute('promptTitle', $dv->getPromptTitle());\n                }\n                if ($dv->getPrompt() !== '') {\n                    $objWriter->writeAttribute('prompt', $dv->getPrompt());\n                }\n\n                $objWriter->writeAttribute('sqref', $coordinate);\n\n                if ($dv->getFormula1() !== '') {\n                    $objWriter->writeElement('formula1', $dv->getFormula1());\n                }\n                if ($dv->getFormula2() !== '') {\n                    $objWriter->writeElement('formula2', $dv->getFormula2());\n                }\n\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write Hyperlinks\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeHyperlinks(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // Hyperlink collection\n        $hyperlinkCollection = $pSheet->getHyperlinkCollection();\n\n        // Relation ID\n        $relationId = 1;\n\n        // Write hyperlinks?\n        if (!empty($hyperlinkCollection)) {\n            $objWriter->startElement('hyperlinks');\n\n            foreach ($hyperlinkCollection as $coordinate => $hyperlink) {\n                $objWriter->startElement('hyperlink');\n\n                $objWriter->writeAttribute('ref', $coordinate);\n                if (!$hyperlink->isInternal()) {\n                    $objWriter->writeAttribute('r:id', 'rId_hyperlink_' . $relationId);\n                    ++$relationId;\n                } else {\n                    $objWriter->writeAttribute('location', str_replace('sheet://', '', $hyperlink->getUrl()));\n                }\n\n                if ($hyperlink->getTooltip() != '') {\n                    $objWriter->writeAttribute('tooltip', $hyperlink->getTooltip());\n                }\n\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write ProtectedRanges\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeProtectedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        if (count($pSheet->getProtectedCells()) > 0) {\n            // protectedRanges\n            $objWriter->startElement('protectedRanges');\n\n            // Loop protectedRanges\n            foreach ($pSheet->getProtectedCells() as $protectedCell => $passwordHash) {\n                // protectedRange\n                $objWriter->startElement('protectedRange');\n                $objWriter->writeAttribute('name', 'p' . md5($protectedCell));\n                $objWriter->writeAttribute('sqref', $protectedCell);\n                if (!empty($passwordHash)) {\n                    $objWriter->writeAttribute('password', $passwordHash);\n                }\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write MergeCells\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeMergeCells(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        if (count($pSheet->getMergeCells()) > 0) {\n            // mergeCells\n            $objWriter->startElement('mergeCells');\n\n            // Loop mergeCells\n            foreach ($pSheet->getMergeCells() as $mergeCell) {\n                // mergeCell\n                $objWriter->startElement('mergeCell');\n                $objWriter->writeAttribute('ref', $mergeCell);\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write PrintOptions\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writePrintOptions(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // printOptions\n        $objWriter->startElement('printOptions');\n\n        $objWriter->writeAttribute('gridLines', ($pSheet->getPrintGridlines() ? 'true': 'false'));\n        $objWriter->writeAttribute('gridLinesSet', 'true');\n\n        if ($pSheet->getPageSetup()->getHorizontalCentered()) {\n            $objWriter->writeAttribute('horizontalCentered', 'true');\n        }\n\n        if ($pSheet->getPageSetup()->getVerticalCentered()) {\n            $objWriter->writeAttribute('verticalCentered', 'true');\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write PageMargins\n     *\n     * @param    PHPExcel_Shared_XMLWriter                $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                        $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writePageMargins(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // pageMargins\n        $objWriter->startElement('pageMargins');\n        $objWriter->writeAttribute('left', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getLeft()));\n        $objWriter->writeAttribute('right', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getRight()));\n        $objWriter->writeAttribute('top', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getTop()));\n        $objWriter->writeAttribute('bottom', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getBottom()));\n        $objWriter->writeAttribute('header', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getHeader()));\n        $objWriter->writeAttribute('footer', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getFooter()));\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write AutoFilter\n     *\n     * @param    PHPExcel_Shared_XMLWriter                $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                        $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeAutoFilter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        $autoFilterRange = $pSheet->getAutoFilter()->getRange();\n        if (!empty($autoFilterRange)) {\n            // autoFilter\n            $objWriter->startElement('autoFilter');\n\n            // Strip any worksheet reference from the filter coordinates\n            $range = PHPExcel_Cell::splitRange($autoFilterRange);\n            $range = $range[0];\n            //    Strip any worksheet ref\n            if (strpos($range[0], '!') !== false) {\n                list($ws, $range[0]) = explode('!', $range[0]);\n            }\n            $range = implode(':', $range);\n\n            $objWriter->writeAttribute('ref', str_replace('$', '', $range));\n\n            $columns = $pSheet->getAutoFilter()->getColumns();\n            if (count($columns > 0)) {\n                foreach ($columns as $columnID => $column) {\n                    $rules = $column->getRules();\n                    if (count($rules) > 0) {\n                        $objWriter->startElement('filterColumn');\n                        $objWriter->writeAttribute('colId', $pSheet->getAutoFilter()->getColumnOffset($columnID));\n\n                        $objWriter->startElement($column->getFilterType());\n                        if ($column->getJoin() == PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND) {\n                            $objWriter->writeAttribute('and', 1);\n                        }\n\n                        foreach ($rules as $rule) {\n                            if (($column->getFilterType() === PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER) &&\n                                ($rule->getOperator() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL) &&\n                                ($rule->getValue() === '')) {\n                                //    Filter rule for Blanks\n                                $objWriter->writeAttribute('blank', 1);\n                            } elseif ($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER) {\n                                //    Dynamic Filter Rule\n                                $objWriter->writeAttribute('type', $rule->getGrouping());\n                                $val = $column->getAttribute('val');\n                                if ($val !== null) {\n                                    $objWriter->writeAttribute('val', $val);\n                                }\n                                $maxVal = $column->getAttribute('maxVal');\n                                if ($maxVal !== null) {\n                                    $objWriter->writeAttribute('maxVal', $maxVal);\n                                }\n                            } elseif ($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER) {\n                                //    Top 10 Filter Rule\n                                $objWriter->writeAttribute('val', $rule->getValue());\n                                $objWriter->writeAttribute('percent', (($rule->getOperator() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT) ? '1' : '0'));\n                                $objWriter->writeAttribute('top', (($rule->getGrouping() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) ? '1': '0'));\n                            } else {\n                                //    Filter, DateGroupItem or CustomFilter\n                                $objWriter->startElement($rule->getRuleType());\n\n                                if ($rule->getOperator() !== PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL) {\n                                    $objWriter->writeAttribute('operator', $rule->getOperator());\n                                }\n                                if ($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP) {\n                                    // Date Group filters\n                                    foreach ($rule->getValue() as $key => $value) {\n                                        if ($value > '') {\n                                            $objWriter->writeAttribute($key, $value);\n                                        }\n                                    }\n                                    $objWriter->writeAttribute('dateTimeGrouping', $rule->getGrouping());\n                                } else {\n                                    $objWriter->writeAttribute('val', $rule->getValue());\n                                }\n\n                                $objWriter->endElement();\n                            }\n                        }\n\n                        $objWriter->endElement();\n\n                        $objWriter->endElement();\n                    }\n                }\n            }\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write PageSetup\n     *\n     * @param    PHPExcel_Shared_XMLWriter            $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                    $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writePageSetup(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // pageSetup\n        $objWriter->startElement('pageSetup');\n        $objWriter->writeAttribute('paperSize', $pSheet->getPageSetup()->getPaperSize());\n        $objWriter->writeAttribute('orientation', $pSheet->getPageSetup()->getOrientation());\n\n        if (!is_null($pSheet->getPageSetup()->getScale())) {\n            $objWriter->writeAttribute('scale', $pSheet->getPageSetup()->getScale());\n        }\n        if (!is_null($pSheet->getPageSetup()->getFitToHeight())) {\n            $objWriter->writeAttribute('fitToHeight', $pSheet->getPageSetup()->getFitToHeight());\n        } else {\n            $objWriter->writeAttribute('fitToHeight', '0');\n        }\n        if (!is_null($pSheet->getPageSetup()->getFitToWidth())) {\n            $objWriter->writeAttribute('fitToWidth', $pSheet->getPageSetup()->getFitToWidth());\n        } else {\n            $objWriter->writeAttribute('fitToWidth', '0');\n        }\n        if (!is_null($pSheet->getPageSetup()->getFirstPageNumber())) {\n            $objWriter->writeAttribute('firstPageNumber', $pSheet->getPageSetup()->getFirstPageNumber());\n            $objWriter->writeAttribute('useFirstPageNumber', '1');\n        }\n\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Header / Footer\n     *\n     * @param    PHPExcel_Shared_XMLWriter        $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeHeaderFooter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // headerFooter\n        $objWriter->startElement('headerFooter');\n        $objWriter->writeAttribute('differentOddEven', ($pSheet->getHeaderFooter()->getDifferentOddEven() ? 'true' : 'false'));\n        $objWriter->writeAttribute('differentFirst', ($pSheet->getHeaderFooter()->getDifferentFirst() ? 'true' : 'false'));\n        $objWriter->writeAttribute('scaleWithDoc', ($pSheet->getHeaderFooter()->getScaleWithDocument() ? 'true' : 'false'));\n        $objWriter->writeAttribute('alignWithMargins', ($pSheet->getHeaderFooter()->getAlignWithMargins() ? 'true' : 'false'));\n\n        $objWriter->writeElement('oddHeader', $pSheet->getHeaderFooter()->getOddHeader());\n        $objWriter->writeElement('oddFooter', $pSheet->getHeaderFooter()->getOddFooter());\n        $objWriter->writeElement('evenHeader', $pSheet->getHeaderFooter()->getEvenHeader());\n        $objWriter->writeElement('evenFooter', $pSheet->getHeaderFooter()->getEvenFooter());\n        $objWriter->writeElement('firstHeader', $pSheet->getHeaderFooter()->getFirstHeader());\n        $objWriter->writeElement('firstFooter', $pSheet->getHeaderFooter()->getFirstFooter());\n        $objWriter->endElement();\n    }\n\n    /**\n     * Write Breaks\n     *\n     * @param    PHPExcel_Shared_XMLWriter        $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeBreaks(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // Get row and column breaks\n        $aRowBreaks = array();\n        $aColumnBreaks = array();\n        foreach ($pSheet->getBreaks() as $cell => $breakType) {\n            if ($breakType == PHPExcel_Worksheet::BREAK_ROW) {\n                $aRowBreaks[] = $cell;\n            } elseif ($breakType == PHPExcel_Worksheet::BREAK_COLUMN) {\n                $aColumnBreaks[] = $cell;\n            }\n        }\n\n        // rowBreaks\n        if (!empty($aRowBreaks)) {\n            $objWriter->startElement('rowBreaks');\n            $objWriter->writeAttribute('count', count($aRowBreaks));\n            $objWriter->writeAttribute('manualBreakCount', count($aRowBreaks));\n\n            foreach ($aRowBreaks as $cell) {\n                $coords = PHPExcel_Cell::coordinateFromString($cell);\n\n                $objWriter->startElement('brk');\n                $objWriter->writeAttribute('id', $coords[1]);\n                $objWriter->writeAttribute('man', '1');\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n\n        // Second, write column breaks\n        if (!empty($aColumnBreaks)) {\n            $objWriter->startElement('colBreaks');\n            $objWriter->writeAttribute('count', count($aColumnBreaks));\n            $objWriter->writeAttribute('manualBreakCount', count($aColumnBreaks));\n\n            foreach ($aColumnBreaks as $cell) {\n                $coords = PHPExcel_Cell::coordinateFromString($cell);\n\n                $objWriter->startElement('brk');\n                $objWriter->writeAttribute('id', PHPExcel_Cell::columnIndexFromString($coords[0]) - 1);\n                $objWriter->writeAttribute('man', '1');\n                $objWriter->endElement();\n            }\n\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write SheetData\n     *\n     * @param    PHPExcel_Shared_XMLWriter        $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                $pSheet            Worksheet\n     * @param    string[]                        $pStringTable    String table\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeSheetData(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pStringTable = null)\n    {\n        if (is_array($pStringTable)) {\n            // Flipped stringtable, for faster index searching\n            $aFlippedStringTable = $this->getParentWriter()->getWriterPart('stringtable')->flipStringTable($pStringTable);\n\n            // sheetData\n            $objWriter->startElement('sheetData');\n\n            // Get column count\n            $colCount = PHPExcel_Cell::columnIndexFromString($pSheet->getHighestColumn());\n\n            // Highest row number\n            $highestRow = $pSheet->getHighestRow();\n\n            // Loop through cells\n            $cellsByRow = array();\n            foreach ($pSheet->getCellCollection() as $cellID) {\n                $cellAddress = PHPExcel_Cell::coordinateFromString($cellID);\n                $cellsByRow[$cellAddress[1]][] = $cellID;\n            }\n\n            $currentRow = 0;\n            while ($currentRow++ < $highestRow) {\n                // Get row dimension\n                $rowDimension = $pSheet->getRowDimension($currentRow);\n\n                // Write current row?\n                $writeCurrentRow = isset($cellsByRow[$currentRow]) || $rowDimension->getRowHeight() >= 0 || $rowDimension->getVisible() == false || $rowDimension->getCollapsed() == true || $rowDimension->getOutlineLevel() > 0 || $rowDimension->getXfIndex() !== null;\n\n                if ($writeCurrentRow) {\n                    // Start a new row\n                    $objWriter->startElement('row');\n                    $objWriter->writeAttribute('r', $currentRow);\n                    $objWriter->writeAttribute('spans', '1:' . $colCount);\n\n                    // Row dimensions\n                    if ($rowDimension->getRowHeight() >= 0) {\n                        $objWriter->writeAttribute('customHeight', '1');\n                        $objWriter->writeAttribute('ht', PHPExcel_Shared_String::FormatNumber($rowDimension->getRowHeight()));\n                    }\n\n                    // Row visibility\n                    if ($rowDimension->getVisible() == false) {\n                        $objWriter->writeAttribute('hidden', 'true');\n                    }\n\n                    // Collapsed\n                    if ($rowDimension->getCollapsed() == true) {\n                        $objWriter->writeAttribute('collapsed', 'true');\n                    }\n\n                    // Outline level\n                    if ($rowDimension->getOutlineLevel() > 0) {\n                        $objWriter->writeAttribute('outlineLevel', $rowDimension->getOutlineLevel());\n                    }\n\n                    // Style\n                    if ($rowDimension->getXfIndex() !== null) {\n                        $objWriter->writeAttribute('s', $rowDimension->getXfIndex());\n                        $objWriter->writeAttribute('customFormat', '1');\n                    }\n\n                    // Write cells\n                    if (isset($cellsByRow[$currentRow])) {\n                        foreach ($cellsByRow[$currentRow] as $cellAddress) {\n                            // Write cell\n                            $this->writeCell($objWriter, $pSheet, $cellAddress, $pStringTable, $aFlippedStringTable);\n                        }\n                    }\n\n                    // End row\n                    $objWriter->endElement();\n                }\n            }\n\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Write Cell\n     *\n     * @param    PHPExcel_Shared_XMLWriter    $objWriter                XML Writer\n     * @param    PHPExcel_Worksheet            $pSheet                    Worksheet\n     * @param    PHPExcel_Cell                $pCellAddress            Cell Address\n     * @param    string[]                    $pStringTable            String table\n     * @param    string[]                    $pFlippedStringTable    String table (flipped), for faster index searching\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeCell(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pCellAddress = null, $pStringTable = null, $pFlippedStringTable = null)\n    {\n        if (is_array($pStringTable) && is_array($pFlippedStringTable)) {\n            // Cell\n            $pCell = $pSheet->getCell($pCellAddress);\n            $objWriter->startElement('c');\n            $objWriter->writeAttribute('r', $pCellAddress);\n\n            // Sheet styles\n            if ($pCell->getXfIndex() != '') {\n                $objWriter->writeAttribute('s', $pCell->getXfIndex());\n            }\n\n            // If cell value is supplied, write cell value\n            $cellValue = $pCell->getValue();\n            if (is_object($cellValue) || $cellValue !== '') {\n                // Map type\n                $mappedType = $pCell->getDataType();\n\n                // Write data type depending on its type\n                switch (strtolower($mappedType)) {\n                    case 'inlinestr':    // Inline string\n                    case 's':            // String\n                    case 'b':            // Boolean\n                        $objWriter->writeAttribute('t', $mappedType);\n                        break;\n                    case 'f':            // Formula\n                        $calculatedValue = ($this->getParentWriter()->getPreCalculateFormulas()) ?\n                            $pCell->getCalculatedValue() :\n                            $cellValue;\n                        if (is_string($calculatedValue)) {\n                            $objWriter->writeAttribute('t', 'str');\n                        }\n                        break;\n                    case 'e':            // Error\n                        $objWriter->writeAttribute('t', $mappedType);\n                }\n\n                // Write data depending on its type\n                switch (strtolower($mappedType)) {\n                    case 'inlinestr':    // Inline string\n                        if (! $cellValue instanceof PHPExcel_RichText) {\n                            $objWriter->writeElement('t', PHPExcel_Shared_String::ControlCharacterPHP2OOXML(htmlspecialchars($cellValue)));\n                        } elseif ($cellValue instanceof PHPExcel_RichText) {\n                            $objWriter->startElement('is');\n                            $this->getParentWriter()->getWriterPart('stringtable')->writeRichText($objWriter, $cellValue);\n                            $objWriter->endElement();\n                        }\n\n                        break;\n                    case 's':            // String\n                        if (! $cellValue instanceof PHPExcel_RichText) {\n                            if (isset($pFlippedStringTable[$cellValue])) {\n                                $objWriter->writeElement('v', $pFlippedStringTable[$cellValue]);\n                            }\n                        } elseif ($cellValue instanceof PHPExcel_RichText) {\n                            $objWriter->writeElement('v', $pFlippedStringTable[$cellValue->getHashCode()]);\n                        }\n\n                        break;\n                    case 'f':            // Formula\n                        $attributes = $pCell->getFormulaAttributes();\n                        if ($attributes['t'] == 'array') {\n                            $objWriter->startElement('f');\n                            $objWriter->writeAttribute('t', 'array');\n                            $objWriter->writeAttribute('ref', $pCellAddress);\n                            $objWriter->writeAttribute('aca', '1');\n                            $objWriter->writeAttribute('ca', '1');\n                            $objWriter->text(substr($cellValue, 1));\n                            $objWriter->endElement();\n                        } else {\n                            $objWriter->writeElement('f', substr($cellValue, 1));\n                        }\n                        if ($this->getParentWriter()->getOffice2003Compatibility() === false) {\n                            if ($this->getParentWriter()->getPreCalculateFormulas()) {\n//                                $calculatedValue = $pCell->getCalculatedValue();\n                                if (!is_array($calculatedValue) && substr($calculatedValue, 0, 1) != '#') {\n                                    $objWriter->writeElement('v', PHPExcel_Shared_String::FormatNumber($calculatedValue));\n                                } else {\n                                    $objWriter->writeElement('v', '0');\n                                }\n                            } else {\n                                $objWriter->writeElement('v', '0');\n                            }\n                        }\n                        break;\n                    case 'n':            // Numeric\n                        // force point as decimal separator in case current locale uses comma\n                        $objWriter->writeElement('v', str_replace(',', '.', $cellValue));\n                        break;\n                    case 'b':            // Boolean\n                        $objWriter->writeElement('v', ($cellValue ? '1' : '0'));\n                        break;\n                    case 'e':            // Error\n                        if (substr($cellValue, 0, 1) == '=') {\n                            $objWriter->writeElement('f', substr($cellValue, 1));\n                            $objWriter->writeElement('v', substr($cellValue, 1));\n                        } else {\n                            $objWriter->writeElement('v', $cellValue);\n                        }\n\n                        break;\n                }\n            }\n\n            $objWriter->endElement();\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Write Drawings\n     *\n     * @param    PHPExcel_Shared_XMLWriter    $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet            $pSheet            Worksheet\n     * @param    boolean                        $includeCharts    Flag indicating if we should include drawing details for charts\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeDrawings(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $includeCharts = false)\n    {\n        $chartCount = ($includeCharts) ? $pSheet->getChartCollection()->count() : 0;\n        // If sheet contains drawings, add the relationships\n        if (($pSheet->getDrawingCollection()->count() > 0) ||\n            ($chartCount > 0)) {\n            $objWriter->startElement('drawing');\n            $objWriter->writeAttribute('r:id', 'rId1');\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write LegacyDrawing\n     *\n     * @param    PHPExcel_Shared_XMLWriter        $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeLegacyDrawing(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // If sheet contains comments, add the relationships\n        if (count($pSheet->getComments()) > 0) {\n            $objWriter->startElement('legacyDrawing');\n            $objWriter->writeAttribute('r:id', 'rId_comments_vml1');\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write LegacyDrawingHF\n     *\n     * @param    PHPExcel_Shared_XMLWriter        $objWriter        XML Writer\n     * @param    PHPExcel_Worksheet                $pSheet            Worksheet\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeLegacyDrawingHF(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null)\n    {\n        // If sheet contains images, add the relationships\n        if (count($pSheet->getHeaderFooter()->getImages()) > 0) {\n            $objWriter->startElement('legacyDrawingHF');\n            $objWriter->writeAttribute('r:id', 'rId_headerfooter_vml1');\n            $objWriter->endElement();\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007/WriterPart.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007_WriterPart\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Writer_Excel2007_WriterPart\n{\n    /**\n     * Parent IWriter object\n     *\n     * @var PHPExcel_Writer_IWriter\n     */\n    private $parentWriter;\n\n    /**\n     * Set parent IWriter object\n     *\n     * @param PHPExcel_Writer_IWriter    $pWriter\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function setParentWriter(PHPExcel_Writer_IWriter $pWriter = null)\n    {\n        $this->parentWriter = $pWriter;\n    }\n\n    /**\n     * Get parent IWriter object\n     *\n     * @return PHPExcel_Writer_IWriter\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function getParentWriter()\n    {\n        if (!is_null($this->parentWriter)) {\n            return $this->parentWriter;\n        } else {\n            throw new PHPExcel_Writer_Exception(\"No parent PHPExcel_Writer_IWriter assigned.\");\n        }\n    }\n\n    /**\n     * Set parent IWriter object\n     *\n     * @param PHPExcel_Writer_IWriter    $pWriter\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function __construct(PHPExcel_Writer_IWriter $pWriter = null)\n    {\n        if (!is_null($pWriter)) {\n            $this->parentWriter = $pWriter;\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel2007.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel2007\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel2007\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel2007 extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter\n{\n    /**\n     * Pre-calculate formulas\n     * Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are\n     *    immediately available to MS Excel or other office spreadsheet viewer when opening the file\n     *\n     * Overrides the default TRUE for this specific writer for performance reasons\n     *\n     * @var boolean\n     */\n    protected $preCalculateFormulas = false;\n\n    /**\n     * Office2003 compatibility\n     *\n     * @var boolean\n     */\n    private $office2003compatibility = false;\n\n    /**\n     * Private writer parts\n     *\n     * @var PHPExcel_Writer_Excel2007_WriterPart[]\n     */\n    private $writerParts    = array();\n\n    /**\n     * Private PHPExcel\n     *\n     * @var PHPExcel\n     */\n    private $spreadSheet;\n\n    /**\n     * Private string table\n     *\n     * @var string[]\n     */\n    private $stringTable    = array();\n\n    /**\n     * Private unique PHPExcel_Style_Conditional HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $stylesConditionalHashTable;\n\n    /**\n     * Private unique PHPExcel_Style HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $styleHashTable;\n\n    /**\n     * Private unique PHPExcel_Style_Fill HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $fillHashTable;\n\n    /**\n     * Private unique PHPExcel_Style_Font HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $fontHashTable;\n\n    /**\n     * Private unique PHPExcel_Style_Borders HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $bordersHashTable ;\n\n    /**\n     * Private unique PHPExcel_Style_NumberFormat HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $numFmtHashTable;\n\n    /**\n     * Private unique PHPExcel_Worksheet_BaseDrawing HashTable\n     *\n     * @var PHPExcel_HashTable\n     */\n    private $drawingHashTable;\n\n    /**\n     * Create a new PHPExcel_Writer_Excel2007\n     *\n     * @param     PHPExcel    $pPHPExcel\n     */\n    public function __construct(PHPExcel $pPHPExcel = null)\n    {\n        // Assign PHPExcel\n        $this->setPHPExcel($pPHPExcel);\n\n        $writerPartsArray = array(  'stringtable'       => 'PHPExcel_Writer_Excel2007_StringTable',\n                                    'contenttypes'      => 'PHPExcel_Writer_Excel2007_ContentTypes',\n                                    'docprops'          => 'PHPExcel_Writer_Excel2007_DocProps',\n                                    'rels'              => 'PHPExcel_Writer_Excel2007_Rels',\n                                    'theme'             => 'PHPExcel_Writer_Excel2007_Theme',\n                                    'style'             => 'PHPExcel_Writer_Excel2007_Style',\n                                    'workbook'          => 'PHPExcel_Writer_Excel2007_Workbook',\n                                    'worksheet'         => 'PHPExcel_Writer_Excel2007_Worksheet',\n                                    'drawing'           => 'PHPExcel_Writer_Excel2007_Drawing',\n                                    'comments'          => 'PHPExcel_Writer_Excel2007_Comments',\n                                    'chart'             => 'PHPExcel_Writer_Excel2007_Chart',\n                                    'relsvba'           => 'PHPExcel_Writer_Excel2007_RelsVBA',\n                                    'relsribbonobjects' => 'PHPExcel_Writer_Excel2007_RelsRibbon'\n                                 );\n\n        //    Initialise writer parts\n        //        and Assign their parent IWriters\n        foreach ($writerPartsArray as $writer => $class) {\n            $this->writerParts[$writer] = new $class($this);\n        }\n\n        $hashTablesArray = array( 'stylesConditionalHashTable',    'fillHashTable',        'fontHashTable',\n                                  'bordersHashTable',                'numFmtHashTable',        'drawingHashTable',\n                                  'styleHashTable'\n                                );\n\n        // Set HashTable variables\n        foreach ($hashTablesArray as $tableName) {\n            $this->$tableName     = new PHPExcel_HashTable();\n        }\n    }\n\n    /**\n     * Get writer part\n     *\n     * @param     string     $pPartName        Writer part name\n     * @return     PHPExcel_Writer_Excel2007_WriterPart\n     */\n    public function getWriterPart($pPartName = '')\n    {\n        if ($pPartName != '' && isset($this->writerParts[strtolower($pPartName)])) {\n            return $this->writerParts[strtolower($pPartName)];\n        } else {\n            return null;\n        }\n    }\n\n    /**\n     * Save PHPExcel to file\n     *\n     * @param     string         $pFilename\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        if ($this->spreadSheet !== null) {\n            // garbage collect\n            $this->spreadSheet->garbageCollect();\n\n            // If $pFilename is php://output or php://stdout, make it a temporary file...\n            $originalFilename = $pFilename;\n            if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') {\n                $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp');\n                if ($pFilename == '') {\n                    $pFilename = $originalFilename;\n                }\n            }\n\n            $saveDebugLog = PHPExcel_Calculation::getInstance($this->spreadSheet)->getDebugLog()->getWriteDebugLog();\n            PHPExcel_Calculation::getInstance($this->spreadSheet)->getDebugLog()->setWriteDebugLog(false);\n            $saveDateReturnType = PHPExcel_Calculation_Functions::getReturnDateType();\n            PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n\n            // Create string lookup table\n            $this->stringTable = array();\n            for ($i = 0; $i < $this->spreadSheet->getSheetCount(); ++$i) {\n                $this->stringTable = $this->getWriterPart('StringTable')->createStringTable($this->spreadSheet->getSheet($i), $this->stringTable);\n            }\n\n            // Create styles dictionaries\n            $this->styleHashTable->addFromSource($this->getWriterPart('Style')->allStyles($this->spreadSheet));\n            $this->stylesConditionalHashTable->addFromSource($this->getWriterPart('Style')->allConditionalStyles($this->spreadSheet));\n            $this->fillHashTable->addFromSource($this->getWriterPart('Style')->allFills($this->spreadSheet));\n            $this->fontHashTable->addFromSource($this->getWriterPart('Style')->allFonts($this->spreadSheet));\n            $this->bordersHashTable->addFromSource($this->getWriterPart('Style')->allBorders($this->spreadSheet));\n            $this->numFmtHashTable->addFromSource($this->getWriterPart('Style')->allNumberFormats($this->spreadSheet));\n\n            // Create drawing dictionary\n            $this->drawingHashTable->addFromSource($this->getWriterPart('Drawing')->allDrawings($this->spreadSheet));\n\n            // Create new ZIP file and open it for writing\n            $zipClass = PHPExcel_Settings::getZipClass();\n            $objZip = new $zipClass();\n\n            //    Retrieve OVERWRITE and CREATE constants from the instantiated zip class\n            //    This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP\n            $ro = new ReflectionObject($objZip);\n            $zipOverWrite = $ro->getConstant('OVERWRITE');\n            $zipCreate = $ro->getConstant('CREATE');\n\n            if (file_exists($pFilename)) {\n                unlink($pFilename);\n            }\n            // Try opening the ZIP file\n            if ($objZip->open($pFilename, $zipOverWrite) !== true) {\n                if ($objZip->open($pFilename, $zipCreate) !== true) {\n                    throw new PHPExcel_Writer_Exception(\"Could not open \" . $pFilename . \" for writing.\");\n                }\n            }\n\n            // Add [Content_Types].xml to ZIP file\n            $objZip->addFromString('[Content_Types].xml', $this->getWriterPart('ContentTypes')->writeContentTypes($this->spreadSheet, $this->includeCharts));\n\n            //if hasMacros, add the vbaProject.bin file, Certificate file(if exists)\n            if ($this->spreadSheet->hasMacros()) {\n                $macrosCode=$this->spreadSheet->getMacrosCode();\n                if (!is_null($macrosCode)) {// we have the code ?\n                    $objZip->addFromString('xl/vbaProject.bin', $macrosCode);//allways in 'xl', allways named vbaProject.bin\n                    if ($this->spreadSheet->hasMacrosCertificate()) {//signed macros ?\n                        // Yes : add the certificate file and the related rels file\n                        $objZip->addFromString('xl/vbaProjectSignature.bin', $this->spreadSheet->getMacrosCertificate());\n                        $objZip->addFromString('xl/_rels/vbaProject.bin.rels', $this->getWriterPart('RelsVBA')->writeVBARelationships($this->spreadSheet));\n                    }\n                }\n            }\n            //a custom UI in this workbook ? add it (\"base\" xml and additional objects (pictures) and rels)\n            if ($this->spreadSheet->hasRibbon()) {\n                $tmpRibbonTarget=$this->spreadSheet->getRibbonXMLData('target');\n                $objZip->addFromString($tmpRibbonTarget, $this->spreadSheet->getRibbonXMLData('data'));\n                if ($this->spreadSheet->hasRibbonBinObjects()) {\n                    $tmpRootPath=dirname($tmpRibbonTarget).'/';\n                    $ribbonBinObjects=$this->spreadSheet->getRibbonBinObjects('data');//the files to write\n                    foreach ($ribbonBinObjects as $aPath => $aContent) {\n                        $objZip->addFromString($tmpRootPath.$aPath, $aContent);\n                    }\n                    //the rels for files\n                    $objZip->addFromString($tmpRootPath.'_rels/'.basename($tmpRibbonTarget).'.rels', $this->getWriterPart('RelsRibbonObjects')->writeRibbonRelationships($this->spreadSheet));\n                }\n            }\n            \n            // Add relationships to ZIP file\n            $objZip->addFromString('_rels/.rels', $this->getWriterPart('Rels')->writeRelationships($this->spreadSheet));\n            $objZip->addFromString('xl/_rels/workbook.xml.rels', $this->getWriterPart('Rels')->writeWorkbookRelationships($this->spreadSheet));\n\n            // Add document properties to ZIP file\n            $objZip->addFromString('docProps/app.xml', $this->getWriterPart('DocProps')->writeDocPropsApp($this->spreadSheet));\n            $objZip->addFromString('docProps/core.xml', $this->getWriterPart('DocProps')->writeDocPropsCore($this->spreadSheet));\n            $customPropertiesPart = $this->getWriterPart('DocProps')->writeDocPropsCustom($this->spreadSheet);\n            if ($customPropertiesPart !== null) {\n                $objZip->addFromString('docProps/custom.xml', $customPropertiesPart);\n            }\n\n            // Add theme to ZIP file\n            $objZip->addFromString('xl/theme/theme1.xml', $this->getWriterPart('Theme')->writeTheme($this->spreadSheet));\n\n            // Add string table to ZIP file\n            $objZip->addFromString('xl/sharedStrings.xml', $this->getWriterPart('StringTable')->writeStringTable($this->stringTable));\n\n            // Add styles to ZIP file\n            $objZip->addFromString('xl/styles.xml', $this->getWriterPart('Style')->writeStyles($this->spreadSheet));\n\n            // Add workbook to ZIP file\n            $objZip->addFromString('xl/workbook.xml', $this->getWriterPart('Workbook')->writeWorkbook($this->spreadSheet, $this->preCalculateFormulas));\n\n            $chartCount = 0;\n            // Add worksheets\n            for ($i = 0; $i < $this->spreadSheet->getSheetCount(); ++$i) {\n                $objZip->addFromString('xl/worksheets/sheet' . ($i + 1) . '.xml', $this->getWriterPart('Worksheet')->writeWorksheet($this->spreadSheet->getSheet($i), $this->stringTable, $this->includeCharts));\n                if ($this->includeCharts) {\n                    $charts = $this->spreadSheet->getSheet($i)->getChartCollection();\n                    if (count($charts) > 0) {\n                        foreach ($charts as $chart) {\n                            $objZip->addFromString('xl/charts/chart' . ($chartCount + 1) . '.xml', $this->getWriterPart('Chart')->writeChart($chart, $this->preCalculateFormulas));\n                            $chartCount++;\n                        }\n                    }\n                }\n            }\n\n            $chartRef1 = $chartRef2 = 0;\n            // Add worksheet relationships (drawings, ...)\n            for ($i = 0; $i < $this->spreadSheet->getSheetCount(); ++$i) {\n                // Add relationships\n                $objZip->addFromString('xl/worksheets/_rels/sheet' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeWorksheetRelationships($this->spreadSheet->getSheet($i), ($i + 1), $this->includeCharts));\n\n                $drawings = $this->spreadSheet->getSheet($i)->getDrawingCollection();\n                $drawingCount = count($drawings);\n                if ($this->includeCharts) {\n                    $chartCount = $this->spreadSheet->getSheet($i)->getChartCount();\n                }\n\n                // Add drawing and image relationship parts\n                if (($drawingCount > 0) || ($chartCount > 0)) {\n                    // Drawing relationships\n                    $objZip->addFromString('xl/drawings/_rels/drawing' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeDrawingRelationships($this->spreadSheet->getSheet($i), $chartRef1, $this->includeCharts));\n\n                    // Drawings\n                    $objZip->addFromString('xl/drawings/drawing' . ($i + 1) . '.xml', $this->getWriterPart('Drawing')->writeDrawings($this->spreadSheet->getSheet($i), $chartRef2, $this->includeCharts));\n                }\n\n                // Add comment relationship parts\n                if (count($this->spreadSheet->getSheet($i)->getComments()) > 0) {\n                    // VML Comments\n                    $objZip->addFromString('xl/drawings/vmlDrawing' . ($i + 1) . '.vml', $this->getWriterPart('Comments')->writeVMLComments($this->spreadSheet->getSheet($i)));\n\n                    // Comments\n                    $objZip->addFromString('xl/comments' . ($i + 1) . '.xml', $this->getWriterPart('Comments')->writeComments($this->spreadSheet->getSheet($i)));\n                }\n\n                // Add header/footer relationship parts\n                if (count($this->spreadSheet->getSheet($i)->getHeaderFooter()->getImages()) > 0) {\n                    // VML Drawings\n                    $objZip->addFromString('xl/drawings/vmlDrawingHF' . ($i + 1) . '.vml', $this->getWriterPart('Drawing')->writeVMLHeaderFooterImages($this->spreadSheet->getSheet($i)));\n\n                    // VML Drawing relationships\n                    $objZip->addFromString('xl/drawings/_rels/vmlDrawingHF' . ($i + 1) . '.vml.rels', $this->getWriterPart('Rels')->writeHeaderFooterDrawingRelationships($this->spreadSheet->getSheet($i)));\n\n                    // Media\n                    foreach ($this->spreadSheet->getSheet($i)->getHeaderFooter()->getImages() as $image) {\n                        $objZip->addFromString('xl/media/' . $image->getIndexedFilename(), file_get_contents($image->getPath()));\n                    }\n                }\n            }\n\n            // Add media\n            for ($i = 0; $i < $this->getDrawingHashTable()->count(); ++$i) {\n                if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) {\n                    $imageContents = null;\n                    $imagePath = $this->getDrawingHashTable()->getByIndex($i)->getPath();\n                    if (strpos($imagePath, 'zip://') !== false) {\n                        $imagePath = substr($imagePath, 6);\n                        $imagePathSplitted = explode('#', $imagePath);\n\n                        $imageZip = new ZipArchive();\n                        $imageZip->open($imagePathSplitted[0]);\n                        $imageContents = $imageZip->getFromName($imagePathSplitted[1]);\n                        $imageZip->close();\n                        unset($imageZip);\n                    } else {\n                        $imageContents = file_get_contents($imagePath);\n                    }\n\n                    $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents);\n                } elseif ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) {\n                    ob_start();\n                    call_user_func(\n                        $this->getDrawingHashTable()->getByIndex($i)->getRenderingFunction(),\n                        $this->getDrawingHashTable()->getByIndex($i)->getImageResource()\n                    );\n                    $imageContents = ob_get_contents();\n                    ob_end_clean();\n\n                    $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents);\n                }\n            }\n\n            PHPExcel_Calculation_Functions::setReturnDateType($saveDateReturnType);\n            PHPExcel_Calculation::getInstance($this->spreadSheet)->getDebugLog()->setWriteDebugLog($saveDebugLog);\n\n            // Close file\n            if ($objZip->close() === false) {\n                throw new PHPExcel_Writer_Exception(\"Could not close zip file $pFilename.\");\n            }\n\n            // If a temporary file was used, copy it to the correct file stream\n            if ($originalFilename != $pFilename) {\n                if (copy($pFilename, $originalFilename) === false) {\n                    throw new PHPExcel_Writer_Exception(\"Could not copy temporary zip file $pFilename to $originalFilename.\");\n                }\n                @unlink($pFilename);\n            }\n        } else {\n            throw new PHPExcel_Writer_Exception(\"PHPExcel object unassigned.\");\n        }\n    }\n\n    /**\n     * Get PHPExcel object\n     *\n     * @return PHPExcel\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function getPHPExcel()\n    {\n        if ($this->spreadSheet !== null) {\n            return $this->spreadSheet;\n        } else {\n            throw new PHPExcel_Writer_Exception(\"No PHPExcel object assigned.\");\n        }\n    }\n\n    /**\n     * Set PHPExcel object\n     *\n     * @param     PHPExcel     $pPHPExcel    PHPExcel object\n     * @throws    PHPExcel_Writer_Exception\n     * @return PHPExcel_Writer_Excel2007\n     */\n    public function setPHPExcel(PHPExcel $pPHPExcel = null)\n    {\n        $this->spreadSheet = $pPHPExcel;\n        return $this;\n    }\n\n    /**\n     * Get string table\n     *\n     * @return string[]\n     */\n    public function getStringTable()\n    {\n        return $this->stringTable;\n    }\n\n    /**\n     * Get PHPExcel_Style HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getStyleHashTable()\n    {\n        return $this->styleHashTable;\n    }\n\n    /**\n     * Get PHPExcel_Style_Conditional HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getStylesConditionalHashTable()\n    {\n        return $this->stylesConditionalHashTable;\n    }\n\n    /**\n     * Get PHPExcel_Style_Fill HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getFillHashTable()\n    {\n        return $this->fillHashTable;\n    }\n\n    /**\n     * Get PHPExcel_Style_Font HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getFontHashTable()\n    {\n        return $this->fontHashTable;\n    }\n\n    /**\n     * Get PHPExcel_Style_Borders HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getBordersHashTable()\n    {\n        return $this->bordersHashTable;\n    }\n\n    /**\n     * Get PHPExcel_Style_NumberFormat HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getNumFmtHashTable()\n    {\n        return $this->numFmtHashTable;\n    }\n\n    /**\n     * Get PHPExcel_Worksheet_BaseDrawing HashTable\n     *\n     * @return PHPExcel_HashTable\n     */\n    public function getDrawingHashTable()\n    {\n        return $this->drawingHashTable;\n    }\n\n    /**\n     * Get Office2003 compatibility\n     *\n     * @return boolean\n     */\n    public function getOffice2003Compatibility()\n    {\n        return $this->office2003compatibility;\n    }\n\n    /**\n     * Set Office2003 compatibility\n     *\n     * @param boolean $pValue    Office2003 compatibility?\n     * @return PHPExcel_Writer_Excel2007\n     */\n    public function setOffice2003Compatibility($pValue = false)\n    {\n        $this->office2003compatibility = $pValue;\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/BIFFwriter.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5_BIFFwriter\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n// Original file header of PEAR::Spreadsheet_Excel_Writer_BIFFwriter (used as the base for this class):\n// -----------------------------------------------------------------------------------------\n// *  Module written/ported by Xavier Noguer <xnoguer@rezebra.com>\n// *\n// *  The majority of this is _NOT_ my code.  I simply ported it from the\n// *  PERL Spreadsheet::WriteExcel module.\n// *\n// *  The author of the Spreadsheet::WriteExcel module is John McNamara\n// *  <jmcnamara@cpan.org>\n// *\n// *  I _DO_ maintain this code, and John McNamara has nothing to do with the\n// *  porting of this code to PHP.  Any questions directly related to this\n// *  class library should be directed to me.\n// *\n// *  License Information:\n// *\n// *    Spreadsheet_Excel_Writer:  A library for generating Excel Spreadsheets\n// *    Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com\n// *\n// *    This library is free software; you can redistribute it and/or\n// *    modify it under the terms of the GNU Lesser General Public\n// *    License as published by the Free Software Foundation; either\n// *    version 2.1 of the License, or (at your option) any later version.\n// *\n// *    This library is distributed in the hope that it will be useful,\n// *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n// *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n// *    Lesser General Public License for more details.\n// *\n// *    You should have received a copy of the GNU Lesser General Public\n// *    License along with this library; if not, write to the Free Software\n// *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n// */\nclass PHPExcel_Writer_Excel5_BIFFwriter\n{\n    /**\n     * The byte order of this architecture. 0 => little endian, 1 => big endian\n     * @var integer\n     */\n    private static $byteOrder;\n\n    /**\n     * The string containing the data of the BIFF stream\n     * @var string\n     */\n    public $_data;\n\n    /**\n     * The size of the data in bytes. Should be the same as strlen($this->_data)\n     * @var integer\n     */\n    public $_datasize;\n\n    /**\n     * The maximum length for a BIFF record (excluding record header and length field). See addContinue()\n     * @var integer\n     * @see addContinue()\n     */\n    private $limit    = 8224;\n\n    /**\n     * Constructor\n     */\n    public function __construct()\n    {\n        $this->_data       = '';\n        $this->_datasize   = 0;\n//        $this->limit      = 8224;\n    }\n\n    /**\n     * Determine the byte order and store it as class data to avoid\n     * recalculating it for each call to new().\n     *\n     * @return int\n     */\n    public static function getByteOrder()\n    {\n        if (!isset(self::$byteOrder)) {\n            // Check if \"pack\" gives the required IEEE 64bit float\n            $teststr = pack(\"d\", 1.2345);\n            $number  = pack(\"C8\", 0x8D, 0x97, 0x6E, 0x12, 0x83, 0xC0, 0xF3, 0x3F);\n            if ($number == $teststr) {\n                $byte_order = 0;    // Little Endian\n            } elseif ($number == strrev($teststr)) {\n                $byte_order = 1;    // Big Endian\n            } else {\n                // Give up. I'll fix this in a later version.\n                throw new PHPExcel_Writer_Exception(\"Required floating point format not supported on this platform.\");\n            }\n            self::$byteOrder = $byte_order;\n        }\n\n        return self::$byteOrder;\n    }\n\n    /**\n     * General storage function\n     *\n     * @param string $data binary data to append\n     * @access private\n     */\n    protected function append($data)\n    {\n        if (strlen($data) - 4 > $this->limit) {\n            $data = $this->addContinue($data);\n        }\n        $this->_data     .= $data;\n        $this->_datasize += strlen($data);\n    }\n\n    /**\n     * General storage function like append, but returns string instead of modifying $this->_data\n     *\n     * @param string $data binary data to write\n     * @return string\n     */\n    public function writeData($data)\n    {\n        if (strlen($data) - 4 > $this->limit) {\n            $data = $this->addContinue($data);\n        }\n        $this->_datasize += strlen($data);\n\n        return $data;\n    }\n\n    /**\n     * Writes Excel BOF record to indicate the beginning of a stream or\n     * sub-stream in the BIFF file.\n     *\n     * @param  integer $type Type of BIFF file to write: 0x0005 Workbook,\n     *                       0x0010 Worksheet.\n     * @access private\n     */\n    protected function storeBof($type)\n    {\n        $record  = 0x0809;            // Record identifier    (BIFF5-BIFF8)\n        $length  = 0x0010;\n\n        // by inspection of real files, MS Office Excel 2007 writes the following\n        $unknown = pack(\"VV\", 0x000100D1, 0x00000406);\n\n        $build   = 0x0DBB;            //    Excel 97\n        $year    = 0x07CC;            //    Excel 97\n\n        $version = 0x0600;            //    BIFF8\n\n        $header  = pack(\"vv\", $record, $length);\n        $data    = pack(\"vvvv\", $version, $type, $build, $year);\n        $this->append($header . $data . $unknown);\n    }\n\n    /**\n     * Writes Excel EOF record to indicate the end of a BIFF stream.\n     *\n     * @access private\n     */\n    protected function storeEof()\n    {\n        $record    = 0x000A;   // Record identifier\n        $length    = 0x0000;   // Number of bytes to follow\n\n        $header    = pack(\"vv\", $record, $length);\n        $this->append($header);\n    }\n\n    /**\n     * Writes Excel EOF record to indicate the end of a BIFF stream.\n     *\n     * @access private\n     */\n    public function writeEof()\n    {\n        $record    = 0x000A;   // Record identifier\n        $length    = 0x0000;   // Number of bytes to follow\n        $header    = pack(\"vv\", $record, $length);\n        return $this->writeData($header);\n    }\n\n    /**\n     * Excel limits the size of BIFF records. In Excel 5 the limit is 2084 bytes. In\n     * Excel 97 the limit is 8228 bytes. Records that are longer than these limits\n     * must be split up into CONTINUE blocks.\n     *\n     * This function takes a long BIFF record and inserts CONTINUE records as\n     * necessary.\n     *\n     * @param  string  $data The original binary data to be written\n     * @return string        A very convenient string of continue blocks\n     * @access private\n     */\n    private function addContinue($data)\n    {\n        $limit  = $this->limit;\n        $record = 0x003C;         // Record identifier\n\n        // The first 2080/8224 bytes remain intact. However, we have to change\n        // the length field of the record.\n        $tmp = substr($data, 0, 2) . pack(\"v\", $limit) . substr($data, 4, $limit);\n\n        $header = pack(\"vv\", $record, $limit);  // Headers for continue records\n\n        // Retrieve chunks of 2080/8224 bytes +4 for the header.\n        $data_length = strlen($data);\n        for ($i = $limit + 4; $i < ($data_length - $limit); $i += $limit) {\n            $tmp .= $header;\n            $tmp .= substr($data, $i, $limit);\n        }\n\n        // Retrieve the last chunk of data\n        $header  = pack(\"vv\", $record, strlen($data) - $i);\n        $tmp    .= $header;\n        $tmp    .= substr($data, $i, strlen($data) - $i);\n\n        return $tmp;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/Escher.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Shared_Escher_DggContainer_BstoreContainer\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n */\nclass PHPExcel_Writer_Excel5_Escher\n{\n    /**\n     * The object we are writing\n     */\n    private $object;\n\n    /**\n     * The written binary data\n     */\n    private $data;\n\n    /**\n     * Shape offsets. Positions in binary stream where a new shape record begins\n     *\n     * @var array\n     */\n    private $spOffsets;\n\n    /**\n     * Shape types.\n     *\n     * @var array\n     */\n    private $spTypes;\n    \n    /**\n     * Constructor\n     *\n     * @param mixed\n     */\n    public function __construct($object)\n    {\n        $this->object = $object;\n    }\n\n    /**\n     * Process the object to be written\n     */\n    public function close()\n    {\n        // initialize\n        $this->data = '';\n\n        switch (get_class($this->object)) {\n            case 'PHPExcel_Shared_Escher':\n                if ($dggContainer = $this->object->getDggContainer()) {\n                    $writer = new PHPExcel_Writer_Excel5_Escher($dggContainer);\n                    $this->data = $writer->close();\n                } elseif ($dgContainer = $this->object->getDgContainer()) {\n                    $writer = new PHPExcel_Writer_Excel5_Escher($dgContainer);\n                    $this->data = $writer->close();\n                    $this->spOffsets = $writer->getSpOffsets();\n                    $this->spTypes = $writer->getSpTypes();\n                }\n                break;\n            case 'PHPExcel_Shared_Escher_DggContainer':\n                // this is a container record\n\n                // initialize\n                $innerData = '';\n\n                // write the dgg\n                $recVer            = 0x0;\n                $recInstance    = 0x0000;\n                $recType        = 0xF006;\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                // dgg data\n                $dggData =\n                    pack(\n                        'VVVV',\n                        $this->object->getSpIdMax(), // maximum shape identifier increased by one\n                        $this->object->getCDgSaved() + 1, // number of file identifier clusters increased by one\n                        $this->object->getCSpSaved(),\n                        $this->object->getCDgSaved() // count total number of drawings saved\n                    );\n\n                // add file identifier clusters (one per drawing)\n                $IDCLs = $this->object->getIDCLs();\n\n                foreach ($IDCLs as $dgId => $maxReducedSpId) {\n                    $dggData .= pack('VV', $dgId, $maxReducedSpId + 1);\n                }\n\n                $header = pack('vvV', $recVerInstance, $recType, strlen($dggData));\n                $innerData .= $header . $dggData;\n\n                // write the bstoreContainer\n                if ($bstoreContainer = $this->object->getBstoreContainer()) {\n                    $writer = new PHPExcel_Writer_Excel5_Escher($bstoreContainer);\n                    $innerData .= $writer->close();\n                }\n\n                // write the record\n                $recVer            = 0xF;\n                $recInstance    = 0x0000;\n                $recType        = 0xF000;\n                $length            = strlen($innerData);\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $this->data = $header . $innerData;\n                break;\n            case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer':\n                // this is a container record\n\n                // initialize\n                $innerData = '';\n\n                // treat the inner data\n                if ($BSECollection = $this->object->getBSECollection()) {\n                    foreach ($BSECollection as $BSE) {\n                        $writer = new PHPExcel_Writer_Excel5_Escher($BSE);\n                        $innerData .= $writer->close();\n                    }\n                }\n\n                // write the record\n                $recVer            = 0xF;\n                $recInstance    = count($this->object->getBSECollection());\n                $recType        = 0xF001;\n                $length            = strlen($innerData);\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $this->data = $header . $innerData;\n                break;\n            case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE':\n                // this is a semi-container record\n\n                // initialize\n                $innerData = '';\n\n                // here we treat the inner data\n                if ($blip = $this->object->getBlip()) {\n                    $writer = new PHPExcel_Writer_Excel5_Escher($blip);\n                    $innerData .= $writer->close();\n                }\n\n                // initialize\n                $data = '';\n\n                $btWin32 = $this->object->getBlipType();\n                $btMacOS = $this->object->getBlipType();\n                $data .= pack('CC', $btWin32, $btMacOS);\n\n                $rgbUid = pack('VVVV', 0, 0, 0, 0); // todo\n                $data .= $rgbUid;\n\n                $tag = 0;\n                $size = strlen($innerData);\n                $cRef = 1;\n                $foDelay = 0; //todo\n                $unused1 = 0x0;\n                $cbName = 0x0;\n                $unused2 = 0x0;\n                $unused3 = 0x0;\n                $data .= pack('vVVVCCCC', $tag, $size, $cRef, $foDelay, $unused1, $cbName, $unused2, $unused3);\n\n                $data .= $innerData;\n\n                // write the record\n                $recVer            = 0x2;\n                $recInstance    = $this->object->getBlipType();\n                $recType        = 0xF007;\n                $length            = strlen($data);\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |=    $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $this->data = $header;\n\n                $this->data .= $data;\n                break;\n            case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip':\n                // this is an atom record\n\n                // write the record\n                switch ($this->object->getParent()->getBlipType()) {\n                    case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG:\n                        // initialize\n                        $innerData = '';\n\n                        $rgbUid1 = pack('VVVV', 0, 0, 0, 0); // todo\n                        $innerData .= $rgbUid1;\n\n                        $tag = 0xFF; // todo\n                        $innerData .= pack('C', $tag);\n\n                        $innerData .= $this->object->getData();\n\n                        $recVer            = 0x0;\n                        $recInstance    = 0x46A;\n                        $recType        = 0xF01D;\n                        $length            = strlen($innerData);\n\n                        $recVerInstance  = $recVer;\n                        $recVerInstance |=    $recInstance << 4;\n\n                        $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                        $this->data = $header;\n\n                        $this->data .= $innerData;\n                        break;\n\n                    case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG:\n                        // initialize\n                        $innerData = '';\n\n                        $rgbUid1 = pack('VVVV', 0, 0, 0, 0); // todo\n                        $innerData .= $rgbUid1;\n\n                        $tag = 0xFF; // todo\n                        $innerData .= pack('C', $tag);\n\n                        $innerData .= $this->object->getData();\n\n                        $recVer            = 0x0;\n                        $recInstance    = 0x6E0;\n                        $recType        = 0xF01E;\n                        $length            = strlen($innerData);\n\n                        $recVerInstance  = $recVer;\n                        $recVerInstance |=    $recInstance << 4;\n\n                        $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                        $this->data = $header;\n\n                        $this->data .= $innerData;\n                        break;\n                }\n                break;\n            case 'PHPExcel_Shared_Escher_DgContainer':\n                // this is a container record\n\n                // initialize\n                $innerData = '';\n\n                // write the dg\n                $recVer            = 0x0;\n                $recInstance    = $this->object->getDgId();\n                $recType        = 0xF008;\n                $length            = 8;\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                // number of shapes in this drawing (including group shape)\n                $countShapes = count($this->object->getSpgrContainer()->getChildren());\n                $innerData .= $header . pack('VV', $countShapes, $this->object->getLastSpId());\n                //$innerData .= $header . pack('VV', 0, 0);\n\n                // write the spgrContainer\n                if ($spgrContainer = $this->object->getSpgrContainer()) {\n                    $writer = new PHPExcel_Writer_Excel5_Escher($spgrContainer);\n                    $innerData .= $writer->close();\n\n                    // get the shape offsets relative to the spgrContainer record\n                    $spOffsets = $writer->getSpOffsets();\n                    $spTypes   = $writer->getSpTypes();\n                    \n                    // save the shape offsets relative to dgContainer\n                    foreach ($spOffsets as & $spOffset) {\n                        $spOffset += 24; // add length of dgContainer header data (8 bytes) plus dg data (16 bytes)\n                    }\n\n                    $this->spOffsets = $spOffsets;\n                    $this->spTypes = $spTypes;\n                }\n\n                // write the record\n                $recVer            = 0xF;\n                $recInstance    = 0x0000;\n                $recType        = 0xF002;\n                $length            = strlen($innerData);\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $this->data = $header . $innerData;\n                break;\n            case 'PHPExcel_Shared_Escher_DgContainer_SpgrContainer':\n                // this is a container record\n\n                // initialize\n                $innerData = '';\n\n                // initialize spape offsets\n                $totalSize = 8;\n                $spOffsets = array();\n                $spTypes   = array();\n\n                // treat the inner data\n                foreach ($this->object->getChildren() as $spContainer) {\n                    $writer = new PHPExcel_Writer_Excel5_Escher($spContainer);\n                    $spData = $writer->close();\n                    $innerData .= $spData;\n\n                    // save the shape offsets (where new shape records begin)\n                    $totalSize += strlen($spData);\n                    $spOffsets[] = $totalSize;\n                    \n                    $spTypes = array_merge($spTypes, $writer->getSpTypes());\n                }\n\n                // write the record\n                $recVer            = 0xF;\n                $recInstance    = 0x0000;\n                $recType        = 0xF003;\n                $length            = strlen($innerData);\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $this->data = $header . $innerData;\n                $this->spOffsets = $spOffsets;\n                $this->spTypes = $spTypes;\n                break;\n            case 'PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer':\n                // initialize\n                $data = '';\n\n                // build the data\n\n                // write group shape record, if necessary?\n                if ($this->object->getSpgr()) {\n                    $recVer            = 0x1;\n                    $recInstance    = 0x0000;\n                    $recType        = 0xF009;\n                    $length            = 0x00000010;\n\n                    $recVerInstance  = $recVer;\n                    $recVerInstance |= $recInstance << 4;\n\n                    $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                    $data .= $header . pack('VVVV', 0, 0, 0, 0);\n                }\n                $this->spTypes[] = ($this->object->getSpType());\n\n                // write the shape record\n                $recVer            = 0x2;\n                $recInstance    = $this->object->getSpType(); // shape type\n                $recType        = 0xF00A;\n                $length            = 0x00000008;\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $data .= $header . pack('VV', $this->object->getSpId(), $this->object->getSpgr() ? 0x0005 : 0x0A00);\n\n\n                // the options\n                if ($this->object->getOPTCollection()) {\n                    $optData = '';\n\n                    $recVer            = 0x3;\n                    $recInstance    = count($this->object->getOPTCollection());\n                    $recType        = 0xF00B;\n                    foreach ($this->object->getOPTCollection() as $property => $value) {\n                        $optData .= pack('vV', $property, $value);\n                    }\n                    $length            = strlen($optData);\n\n                    $recVerInstance  = $recVer;\n                    $recVerInstance |= $recInstance << 4;\n\n                    $header = pack('vvV', $recVerInstance, $recType, $length);\n                    $data .= $header . $optData;\n                }\n\n                // the client anchor\n                if ($this->object->getStartCoordinates()) {\n                    $clientAnchorData = '';\n\n                    $recVer            = 0x0;\n                    $recInstance    = 0x0;\n                    $recType        = 0xF010;\n\n                    // start coordinates\n                    list($column, $row) = PHPExcel_Cell::coordinateFromString($this->object->getStartCoordinates());\n                    $c1 = PHPExcel_Cell::columnIndexFromString($column) - 1;\n                    $r1 = $row - 1;\n\n                    // start offsetX\n                    $startOffsetX = $this->object->getStartOffsetX();\n\n                    // start offsetY\n                    $startOffsetY = $this->object->getStartOffsetY();\n\n                    // end coordinates\n                    list($column, $row) = PHPExcel_Cell::coordinateFromString($this->object->getEndCoordinates());\n                    $c2 = PHPExcel_Cell::columnIndexFromString($column) - 1;\n                    $r2 = $row - 1;\n\n                    // end offsetX\n                    $endOffsetX = $this->object->getEndOffsetX();\n\n                    // end offsetY\n                    $endOffsetY = $this->object->getEndOffsetY();\n\n                    $clientAnchorData = pack('vvvvvvvvv', $this->object->getSpFlag(), $c1, $startOffsetX, $r1, $startOffsetY, $c2, $endOffsetX, $r2, $endOffsetY);\n                    \n                    $length            = strlen($clientAnchorData);\n\n                    $recVerInstance  = $recVer;\n                    $recVerInstance |= $recInstance << 4;\n\n                    $header = pack('vvV', $recVerInstance, $recType, $length);\n                    $data .= $header . $clientAnchorData;\n                }\n\n                // the client data, just empty for now\n                if (!$this->object->getSpgr()) {\n                    $clientDataData = '';\n\n                    $recVer            = 0x0;\n                    $recInstance    = 0x0;\n                    $recType        = 0xF011;\n\n                    $length = strlen($clientDataData);\n\n                    $recVerInstance  = $recVer;\n                    $recVerInstance |= $recInstance << 4;\n\n                    $header = pack('vvV', $recVerInstance, $recType, $length);\n                    $data .= $header . $clientDataData;\n                }\n\n                // write the record\n                $recVer            = 0xF;\n                $recInstance    = 0x0000;\n                $recType        = 0xF004;\n                $length            = strlen($data);\n\n                $recVerInstance  = $recVer;\n                $recVerInstance |= $recInstance << 4;\n\n                $header = pack('vvV', $recVerInstance, $recType, $length);\n\n                $this->data = $header . $data;\n                break;\n        }\n\n        return $this->data;\n    }\n\n    /**\n     * Gets the shape offsets\n     *\n     * @return array\n     */\n    public function getSpOffsets()\n    {\n        return $this->spOffsets;\n    }\n\n    /**\n     * Gets the shape types\n     *\n     * @return array\n     */\n    public function getSpTypes()\n    {\n        return $this->spTypes;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/Font.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5_Font\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel5_Font\n{\n    /**\n     * Color index\n     *\n     * @var int\n     */\n    private $colorIndex;\n\n    /**\n     * Font\n     *\n     * @var PHPExcel_Style_Font\n     */\n    private $font;\n\n    /**\n     * Constructor\n     *\n     * @param PHPExcel_Style_Font $font\n     */\n    public function __construct(PHPExcel_Style_Font $font = null)\n    {\n        $this->colorIndex = 0x7FFF;\n        $this->font = $font;\n    }\n\n    /**\n     * Set the color index\n     *\n     * @param int $colorIndex\n     */\n    public function setColorIndex($colorIndex)\n    {\n        $this->colorIndex = $colorIndex;\n    }\n\n    /**\n     * Get font record data\n     *\n     * @return string\n     */\n    public function writeFont()\n    {\n        $font_outline = 0;\n        $font_shadow = 0;\n\n        $icv = $this->colorIndex; // Index to color palette\n        if ($this->font->getSuperScript()) {\n            $sss = 1;\n        } elseif ($this->font->getSubScript()) {\n            $sss = 2;\n        } else {\n            $sss = 0;\n        }\n        $bFamily = 0; // Font family\n        $bCharSet = PHPExcel_Shared_Font::getCharsetFromFontName($this->font->getName()); // Character set\n\n        $record = 0x31;        // Record identifier\n        $reserved = 0x00;    // Reserved\n        $grbit = 0x00;        // Font attributes\n        if ($this->font->getItalic()) {\n            $grbit |= 0x02;\n        }\n        if ($this->font->getStrikethrough()) {\n            $grbit |= 0x08;\n        }\n        if ($font_outline) {\n            $grbit |= 0x10;\n        }\n        if ($font_shadow) {\n            $grbit |= 0x20;\n        }\n\n        $data = pack(\n            \"vvvvvCCCC\",\n            // Fontsize (in twips)\n            $this->font->getSize() * 20,\n            $grbit,\n            // Colour\n            $icv,\n            // Font weight\n            self::mapBold($this->font->getBold()),\n            // Superscript/Subscript\n            $sss,\n            self::mapUnderline($this->font->getUnderline()),\n            $bFamily,\n            $bCharSet,\n            $reserved\n        );\n        $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($this->font->getName());\n\n        $length = strlen($data);\n        $header = pack(\"vv\", $record, $length);\n\n        return($header . $data);\n    }\n\n    /**\n     * Map to BIFF5-BIFF8 codes for bold\n     *\n     * @param boolean $bold\n     * @return int\n     */\n    private static function mapBold($bold)\n    {\n        if ($bold) {\n            return 0x2BC;  //  700 = Bold font weight\n        }\n        return 0x190;      //  400 = Normal font weight\n    }\n\n    /**\n     * Map of BIFF2-BIFF8 codes for underline styles\n     * @static    array of int\n     *\n     */\n    private static $mapUnderline = array(\n        PHPExcel_Style_Font::UNDERLINE_NONE              => 0x00,\n        PHPExcel_Style_Font::UNDERLINE_SINGLE            => 0x01,\n        PHPExcel_Style_Font::UNDERLINE_DOUBLE            => 0x02,\n        PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING  => 0x21,\n        PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING  => 0x22,\n    );\n\n    /**\n     * Map underline\n     *\n     * @param string\n     * @return int\n     */\n    private static function mapUnderline($underline)\n    {\n        if (isset(self::$mapUnderline[$underline])) {\n            return self::$mapUnderline[$underline];\n        }\n        return 0x00;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/Parser.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5_Parser\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n// Original file header of PEAR::Spreadsheet_Excel_Writer_Parser (used as the base for this class):\n// -----------------------------------------------------------------------------------------\n// *  Class for parsing Excel formulas\n// *\n// *  License Information:\n// *\n// *    Spreadsheet_Excel_Writer:  A library for generating Excel Spreadsheets\n// *    Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com\n// *\n// *    This library is free software; you can redistribute it and/or\n// *    modify it under the terms of the GNU Lesser General Public\n// *    License as published by the Free Software Foundation; either\n// *    version 2.1 of the License, or (at your option) any later version.\n// *\n// *    This library is distributed in the hope that it will be useful,\n// *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n// *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n// *    Lesser General Public License for more details.\n// *\n// *    You should have received a copy of the GNU Lesser General Public\n// *    License along with this library; if not, write to the Free Software\n// *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n// */\nclass PHPExcel_Writer_Excel5_Parser\n{\n    /**    Constants                */\n    // Sheet title in unquoted form\n    // Invalid sheet title characters cannot occur in the sheet title:\n    //         *:/\\?[]\n    // Moreover, there are valid sheet title characters that cannot occur in unquoted form (there may be more?)\n    // +-% '^&<>=,;#()\"{}\n    const REGEX_SHEET_TITLE_UNQUOTED = '[^\\*\\:\\/\\\\\\\\\\?\\[\\]\\+\\-\\% \\\\\\'\\^\\&\\<\\>\\=\\,\\;\\#\\(\\)\\\"\\{\\}]+';\n\n    // Sheet title in quoted form (without surrounding quotes)\n    // Invalid sheet title characters cannot occur in the sheet title:\n    // *:/\\?[]                    (usual invalid sheet title characters)\n    // Single quote is represented as a pair ''\n    const REGEX_SHEET_TITLE_QUOTED = '(([^\\*\\:\\/\\\\\\\\\\?\\[\\]\\\\\\'])+|(\\\\\\'\\\\\\')+)+';\n\n    /**\n     * The index of the character we are currently looking at\n     * @var integer\n     */\n    public $currentCharacter;\n\n    /**\n     * The token we are working on.\n     * @var string\n     */\n    public $currentToken;\n\n    /**\n     * The formula to parse\n     * @var string\n     */\n    private $formula;\n\n    /**\n     * The character ahead of the current char\n     * @var string\n     */\n    public $lookAhead;\n\n    /**\n     * The parse tree to be generated\n     * @var string\n     */\n    private $parseTree;\n\n    /**\n     * Array of external sheets\n     * @var array\n     */\n    private $externalSheets;\n\n    /**\n     * Array of sheet references in the form of REF structures\n     * @var array\n     */\n    public $references;\n\n    /**\n     * The class constructor\n     *\n     */\n    public function __construct()\n    {\n        $this->currentCharacter  = 0;\n        $this->currentToken = '';       // The token we are working on.\n        $this->formula       = '';       // The formula to parse.\n        $this->lookAhead     = '';       // The character ahead of the current char.\n        $this->parseTree    = '';       // The parse tree to be generated.\n        $this->initializeHashes();      // Initialize the hashes: ptg's and function's ptg's\n        $this->externalSheets = array();\n        $this->references = array();\n    }\n\n    /**\n     * Initialize the ptg and function hashes.\n     *\n     * @access private\n     */\n    private function initializeHashes()\n    {\n        // The Excel ptg indices\n        $this->ptg = array(\n            'ptgExp'       => 0x01,\n            'ptgTbl'       => 0x02,\n            'ptgAdd'       => 0x03,\n            'ptgSub'       => 0x04,\n            'ptgMul'       => 0x05,\n            'ptgDiv'       => 0x06,\n            'ptgPower'     => 0x07,\n            'ptgConcat'    => 0x08,\n            'ptgLT'        => 0x09,\n            'ptgLE'        => 0x0A,\n            'ptgEQ'        => 0x0B,\n            'ptgGE'        => 0x0C,\n            'ptgGT'        => 0x0D,\n            'ptgNE'        => 0x0E,\n            'ptgIsect'     => 0x0F,\n            'ptgUnion'     => 0x10,\n            'ptgRange'     => 0x11,\n            'ptgUplus'     => 0x12,\n            'ptgUminus'    => 0x13,\n            'ptgPercent'   => 0x14,\n            'ptgParen'     => 0x15,\n            'ptgMissArg'   => 0x16,\n            'ptgStr'       => 0x17,\n            'ptgAttr'      => 0x19,\n            'ptgSheet'     => 0x1A,\n            'ptgEndSheet'  => 0x1B,\n            'ptgErr'       => 0x1C,\n            'ptgBool'      => 0x1D,\n            'ptgInt'       => 0x1E,\n            'ptgNum'       => 0x1F,\n            'ptgArray'     => 0x20,\n            'ptgFunc'      => 0x21,\n            'ptgFuncVar'   => 0x22,\n            'ptgName'      => 0x23,\n            'ptgRef'       => 0x24,\n            'ptgArea'      => 0x25,\n            'ptgMemArea'   => 0x26,\n            'ptgMemErr'    => 0x27,\n            'ptgMemNoMem'  => 0x28,\n            'ptgMemFunc'   => 0x29,\n            'ptgRefErr'    => 0x2A,\n            'ptgAreaErr'   => 0x2B,\n            'ptgRefN'      => 0x2C,\n            'ptgAreaN'     => 0x2D,\n            'ptgMemAreaN'  => 0x2E,\n            'ptgMemNoMemN' => 0x2F,\n            'ptgNameX'     => 0x39,\n            'ptgRef3d'     => 0x3A,\n            'ptgArea3d'    => 0x3B,\n            'ptgRefErr3d'  => 0x3C,\n            'ptgAreaErr3d' => 0x3D,\n            'ptgArrayV'    => 0x40,\n            'ptgFuncV'     => 0x41,\n            'ptgFuncVarV'  => 0x42,\n            'ptgNameV'     => 0x43,\n            'ptgRefV'      => 0x44,\n            'ptgAreaV'     => 0x45,\n            'ptgMemAreaV'  => 0x46,\n            'ptgMemErrV'   => 0x47,\n            'ptgMemNoMemV' => 0x48,\n            'ptgMemFuncV'  => 0x49,\n            'ptgRefErrV'   => 0x4A,\n            'ptgAreaErrV'  => 0x4B,\n            'ptgRefNV'     => 0x4C,\n            'ptgAreaNV'    => 0x4D,\n            'ptgMemAreaNV' => 0x4E,\n            'ptgMemNoMemN' => 0x4F,\n            'ptgFuncCEV'   => 0x58,\n            'ptgNameXV'    => 0x59,\n            'ptgRef3dV'    => 0x5A,\n            'ptgArea3dV'   => 0x5B,\n            'ptgRefErr3dV' => 0x5C,\n            'ptgAreaErr3d' => 0x5D,\n            'ptgArrayA'    => 0x60,\n            'ptgFuncA'     => 0x61,\n            'ptgFuncVarA'  => 0x62,\n            'ptgNameA'     => 0x63,\n            'ptgRefA'      => 0x64,\n            'ptgAreaA'     => 0x65,\n            'ptgMemAreaA'  => 0x66,\n            'ptgMemErrA'   => 0x67,\n            'ptgMemNoMemA' => 0x68,\n            'ptgMemFuncA'  => 0x69,\n            'ptgRefErrA'   => 0x6A,\n            'ptgAreaErrA'  => 0x6B,\n            'ptgRefNA'     => 0x6C,\n            'ptgAreaNA'    => 0x6D,\n            'ptgMemAreaNA' => 0x6E,\n            'ptgMemNoMemN' => 0x6F,\n            'ptgFuncCEA'   => 0x78,\n            'ptgNameXA'    => 0x79,\n            'ptgRef3dA'    => 0x7A,\n            'ptgArea3dA'   => 0x7B,\n            'ptgRefErr3dA' => 0x7C,\n            'ptgAreaErr3d' => 0x7D\n        );\n\n        // Thanks to Michael Meeks and Gnumeric for the initial arg values.\n        //\n        // The following hash was generated by \"function_locale.pl\" in the distro.\n        // Refer to function_locale.pl for non-English function names.\n        //\n        // The array elements are as follow:\n        // ptg:   The Excel function ptg code.\n        // args:  The number of arguments that the function takes:\n        //           >=0 is a fixed number of arguments.\n        //           -1  is a variable  number of arguments.\n        // class: The reference, value or array class of the function args.\n        // vol:   The function is volatile.\n        //\n        $this->functions = array(\n            // function                  ptg  args  class  vol\n            'COUNT'           => array(   0,   -1,    0,    0 ),\n            'IF'              => array(   1,   -1,    1,    0 ),\n            'ISNA'            => array(   2,    1,    1,    0 ),\n            'ISERROR'         => array(   3,    1,    1,    0 ),\n            'SUM'             => array(   4,   -1,    0,    0 ),\n            'AVERAGE'         => array(   5,   -1,    0,    0 ),\n            'MIN'             => array(   6,   -1,    0,    0 ),\n            'MAX'             => array(   7,   -1,    0,    0 ),\n            'ROW'             => array(   8,   -1,    0,    0 ),\n            'COLUMN'          => array(   9,   -1,    0,    0 ),\n            'NA'              => array(  10,    0,    0,    0 ),\n            'NPV'             => array(  11,   -1,    1,    0 ),\n            'STDEV'           => array(  12,   -1,    0,    0 ),\n            'DOLLAR'          => array(  13,   -1,    1,    0 ),\n            'FIXED'           => array(  14,   -1,    1,    0 ),\n            'SIN'             => array(  15,    1,    1,    0 ),\n            'COS'             => array(  16,    1,    1,    0 ),\n            'TAN'             => array(  17,    1,    1,    0 ),\n            'ATAN'            => array(  18,    1,    1,    0 ),\n            'PI'              => array(  19,    0,    1,    0 ),\n            'SQRT'            => array(  20,    1,    1,    0 ),\n            'EXP'             => array(  21,    1,    1,    0 ),\n            'LN'              => array(  22,    1,    1,    0 ),\n            'LOG10'           => array(  23,    1,    1,    0 ),\n            'ABS'             => array(  24,    1,    1,    0 ),\n            'INT'             => array(  25,    1,    1,    0 ),\n            'SIGN'            => array(  26,    1,    1,    0 ),\n            'ROUND'           => array(  27,    2,    1,    0 ),\n            'LOOKUP'          => array(  28,   -1,    0,    0 ),\n            'INDEX'           => array(  29,   -1,    0,    1 ),\n            'REPT'            => array(  30,    2,    1,    0 ),\n            'MID'             => array(  31,    3,    1,    0 ),\n            'LEN'             => array(  32,    1,    1,    0 ),\n            'VALUE'           => array(  33,    1,    1,    0 ),\n            'TRUE'            => array(  34,    0,    1,    0 ),\n            'FALSE'           => array(  35,    0,    1,    0 ),\n            'AND'             => array(  36,   -1,    0,    0 ),\n            'OR'              => array(  37,   -1,    0,    0 ),\n            'NOT'             => array(  38,    1,    1,    0 ),\n            'MOD'             => array(  39,    2,    1,    0 ),\n            'DCOUNT'          => array(  40,    3,    0,    0 ),\n            'DSUM'            => array(  41,    3,    0,    0 ),\n            'DAVERAGE'        => array(  42,    3,    0,    0 ),\n            'DMIN'            => array(  43,    3,    0,    0 ),\n            'DMAX'            => array(  44,    3,    0,    0 ),\n            'DSTDEV'          => array(  45,    3,    0,    0 ),\n            'VAR'             => array(  46,   -1,    0,    0 ),\n            'DVAR'            => array(  47,    3,    0,    0 ),\n            'TEXT'            => array(  48,    2,    1,    0 ),\n            'LINEST'          => array(  49,   -1,    0,    0 ),\n            'TREND'           => array(  50,   -1,    0,    0 ),\n            'LOGEST'          => array(  51,   -1,    0,    0 ),\n            'GROWTH'          => array(  52,   -1,    0,    0 ),\n            'PV'              => array(  56,   -1,    1,    0 ),\n            'FV'              => array(  57,   -1,    1,    0 ),\n            'NPER'            => array(  58,   -1,    1,    0 ),\n            'PMT'             => array(  59,   -1,    1,    0 ),\n            'RATE'            => array(  60,   -1,    1,    0 ),\n            'MIRR'            => array(  61,    3,    0,    0 ),\n            'IRR'             => array(  62,   -1,    0,    0 ),\n            'RAND'            => array(  63,    0,    1,    1 ),\n            'MATCH'           => array(  64,   -1,    0,    0 ),\n            'DATE'            => array(  65,    3,    1,    0 ),\n            'TIME'            => array(  66,    3,    1,    0 ),\n            'DAY'             => array(  67,    1,    1,    0 ),\n            'MONTH'           => array(  68,    1,    1,    0 ),\n            'YEAR'            => array(  69,    1,    1,    0 ),\n            'WEEKDAY'         => array(  70,   -1,    1,    0 ),\n            'HOUR'            => array(  71,    1,    1,    0 ),\n            'MINUTE'          => array(  72,    1,    1,    0 ),\n            'SECOND'          => array(  73,    1,    1,    0 ),\n            'NOW'             => array(  74,    0,    1,    1 ),\n            'AREAS'           => array(  75,    1,    0,    1 ),\n            'ROWS'            => array(  76,    1,    0,    1 ),\n            'COLUMNS'         => array(  77,    1,    0,    1 ),\n            'OFFSET'          => array(  78,   -1,    0,    1 ),\n            'SEARCH'          => array(  82,   -1,    1,    0 ),\n            'TRANSPOSE'       => array(  83,    1,    1,    0 ),\n            'TYPE'            => array(  86,    1,    1,    0 ),\n            'ATAN2'           => array(  97,    2,    1,    0 ),\n            'ASIN'            => array(  98,    1,    1,    0 ),\n            'ACOS'            => array(  99,    1,    1,    0 ),\n            'CHOOSE'          => array( 100,   -1,    1,    0 ),\n            'HLOOKUP'         => array( 101,   -1,    0,    0 ),\n            'VLOOKUP'         => array( 102,   -1,    0,    0 ),\n            'ISREF'           => array( 105,    1,    0,    0 ),\n            'LOG'             => array( 109,   -1,    1,    0 ),\n            'CHAR'            => array( 111,    1,    1,    0 ),\n            'LOWER'           => array( 112,    1,    1,    0 ),\n            'UPPER'           => array( 113,    1,    1,    0 ),\n            'PROPER'          => array( 114,    1,    1,    0 ),\n            'LEFT'            => array( 115,   -1,    1,    0 ),\n            'RIGHT'           => array( 116,   -1,    1,    0 ),\n            'EXACT'           => array( 117,    2,    1,    0 ),\n            'TRIM'            => array( 118,    1,    1,    0 ),\n            'REPLACE'         => array( 119,    4,    1,    0 ),\n            'SUBSTITUTE'      => array( 120,   -1,    1,    0 ),\n            'CODE'            => array( 121,    1,    1,    0 ),\n            'FIND'            => array( 124,   -1,    1,    0 ),\n            'CELL'            => array( 125,   -1,    0,    1 ),\n            'ISERR'           => array( 126,    1,    1,    0 ),\n            'ISTEXT'          => array( 127,    1,    1,    0 ),\n            'ISNUMBER'        => array( 128,    1,    1,    0 ),\n            'ISBLANK'         => array( 129,    1,    1,    0 ),\n            'T'               => array( 130,    1,    0,    0 ),\n            'N'               => array( 131,    1,    0,    0 ),\n            'DATEVALUE'       => array( 140,    1,    1,    0 ),\n            'TIMEVALUE'       => array( 141,    1,    1,    0 ),\n            'SLN'             => array( 142,    3,    1,    0 ),\n            'SYD'             => array( 143,    4,    1,    0 ),\n            'DDB'             => array( 144,   -1,    1,    0 ),\n            'INDIRECT'        => array( 148,   -1,    1,    1 ),\n            'CALL'            => array( 150,   -1,    1,    0 ),\n            'CLEAN'           => array( 162,    1,    1,    0 ),\n            'MDETERM'         => array( 163,    1,    2,    0 ),\n            'MINVERSE'        => array( 164,    1,    2,    0 ),\n            'MMULT'           => array( 165,    2,    2,    0 ),\n            'IPMT'            => array( 167,   -1,    1,    0 ),\n            'PPMT'            => array( 168,   -1,    1,    0 ),\n            'COUNTA'          => array( 169,   -1,    0,    0 ),\n            'PRODUCT'         => array( 183,   -1,    0,    0 ),\n            'FACT'            => array( 184,    1,    1,    0 ),\n            'DPRODUCT'        => array( 189,    3,    0,    0 ),\n            'ISNONTEXT'       => array( 190,    1,    1,    0 ),\n            'STDEVP'          => array( 193,   -1,    0,    0 ),\n            'VARP'            => array( 194,   -1,    0,    0 ),\n            'DSTDEVP'         => array( 195,    3,    0,    0 ),\n            'DVARP'           => array( 196,    3,    0,    0 ),\n            'TRUNC'           => array( 197,   -1,    1,    0 ),\n            'ISLOGICAL'       => array( 198,    1,    1,    0 ),\n            'DCOUNTA'         => array( 199,    3,    0,    0 ),\n            'USDOLLAR'        => array( 204,   -1,    1,    0 ),\n            'FINDB'           => array( 205,   -1,    1,    0 ),\n            'SEARCHB'         => array( 206,   -1,    1,    0 ),\n            'REPLACEB'        => array( 207,    4,    1,    0 ),\n            'LEFTB'           => array( 208,   -1,    1,    0 ),\n            'RIGHTB'          => array( 209,   -1,    1,    0 ),\n            'MIDB'            => array( 210,    3,    1,    0 ),\n            'LENB'            => array( 211,    1,    1,    0 ),\n            'ROUNDUP'         => array( 212,    2,    1,    0 ),\n            'ROUNDDOWN'       => array( 213,    2,    1,    0 ),\n            'ASC'             => array( 214,    1,    1,    0 ),\n            'DBCS'            => array( 215,    1,    1,    0 ),\n            'RANK'            => array( 216,   -1,    0,    0 ),\n            'ADDRESS'         => array( 219,   -1,    1,    0 ),\n            'DAYS360'         => array( 220,   -1,    1,    0 ),\n            'TODAY'           => array( 221,    0,    1,    1 ),\n            'VDB'             => array( 222,   -1,    1,    0 ),\n            'MEDIAN'          => array( 227,   -1,    0,    0 ),\n            'SUMPRODUCT'      => array( 228,   -1,    2,    0 ),\n            'SINH'            => array( 229,    1,    1,    0 ),\n            'COSH'            => array( 230,    1,    1,    0 ),\n            'TANH'            => array( 231,    1,    1,    0 ),\n            'ASINH'           => array( 232,    1,    1,    0 ),\n            'ACOSH'           => array( 233,    1,    1,    0 ),\n            'ATANH'           => array( 234,    1,    1,    0 ),\n            'DGET'            => array( 235,    3,    0,    0 ),\n            'INFO'            => array( 244,    1,    1,    1 ),\n            'DB'              => array( 247,   -1,    1,    0 ),\n            'FREQUENCY'       => array( 252,    2,    0,    0 ),\n            'ERROR.TYPE'      => array( 261,    1,    1,    0 ),\n            'REGISTER.ID'     => array( 267,   -1,    1,    0 ),\n            'AVEDEV'          => array( 269,   -1,    0,    0 ),\n            'BETADIST'        => array( 270,   -1,    1,    0 ),\n            'GAMMALN'         => array( 271,    1,    1,    0 ),\n            'BETAINV'         => array( 272,   -1,    1,    0 ),\n            'BINOMDIST'       => array( 273,    4,    1,    0 ),\n            'CHIDIST'         => array( 274,    2,    1,    0 ),\n            'CHIINV'          => array( 275,    2,    1,    0 ),\n            'COMBIN'          => array( 276,    2,    1,    0 ),\n            'CONFIDENCE'      => array( 277,    3,    1,    0 ),\n            'CRITBINOM'       => array( 278,    3,    1,    0 ),\n            'EVEN'            => array( 279,    1,    1,    0 ),\n            'EXPONDIST'       => array( 280,    3,    1,    0 ),\n            'FDIST'           => array( 281,    3,    1,    0 ),\n            'FINV'            => array( 282,    3,    1,    0 ),\n            'FISHER'          => array( 283,    1,    1,    0 ),\n            'FISHERINV'       => array( 284,    1,    1,    0 ),\n            'FLOOR'           => array( 285,    2,    1,    0 ),\n            'GAMMADIST'       => array( 286,    4,    1,    0 ),\n            'GAMMAINV'        => array( 287,    3,    1,    0 ),\n            'CEILING'         => array( 288,    2,    1,    0 ),\n            'HYPGEOMDIST'     => array( 289,    4,    1,    0 ),\n            'LOGNORMDIST'     => array( 290,    3,    1,    0 ),\n            'LOGINV'          => array( 291,    3,    1,    0 ),\n            'NEGBINOMDIST'    => array( 292,    3,    1,    0 ),\n            'NORMDIST'        => array( 293,    4,    1,    0 ),\n            'NORMSDIST'       => array( 294,    1,    1,    0 ),\n            'NORMINV'         => array( 295,    3,    1,    0 ),\n            'NORMSINV'        => array( 296,    1,    1,    0 ),\n            'STANDARDIZE'     => array( 297,    3,    1,    0 ),\n            'ODD'             => array( 298,    1,    1,    0 ),\n            'PERMUT'          => array( 299,    2,    1,    0 ),\n            'POISSON'         => array( 300,    3,    1,    0 ),\n            'TDIST'           => array( 301,    3,    1,    0 ),\n            'WEIBULL'         => array( 302,    4,    1,    0 ),\n            'SUMXMY2'         => array( 303,    2,    2,    0 ),\n            'SUMX2MY2'        => array( 304,    2,    2,    0 ),\n            'SUMX2PY2'        => array( 305,    2,    2,    0 ),\n            'CHITEST'         => array( 306,    2,    2,    0 ),\n            'CORREL'          => array( 307,    2,    2,    0 ),\n            'COVAR'           => array( 308,    2,    2,    0 ),\n            'FORECAST'        => array( 309,    3,    2,    0 ),\n            'FTEST'           => array( 310,    2,    2,    0 ),\n            'INTERCEPT'       => array( 311,    2,    2,    0 ),\n            'PEARSON'         => array( 312,    2,    2,    0 ),\n            'RSQ'             => array( 313,    2,    2,    0 ),\n            'STEYX'           => array( 314,    2,    2,    0 ),\n            'SLOPE'           => array( 315,    2,    2,    0 ),\n            'TTEST'           => array( 316,    4,    2,    0 ),\n            'PROB'            => array( 317,   -1,    2,    0 ),\n            'DEVSQ'           => array( 318,   -1,    0,    0 ),\n            'GEOMEAN'         => array( 319,   -1,    0,    0 ),\n            'HARMEAN'         => array( 320,   -1,    0,    0 ),\n            'SUMSQ'           => array( 321,   -1,    0,    0 ),\n            'KURT'            => array( 322,   -1,    0,    0 ),\n            'SKEW'            => array( 323,   -1,    0,    0 ),\n            'ZTEST'           => array( 324,   -1,    0,    0 ),\n            'LARGE'           => array( 325,    2,    0,    0 ),\n            'SMALL'           => array( 326,    2,    0,    0 ),\n            'QUARTILE'        => array( 327,    2,    0,    0 ),\n            'PERCENTILE'      => array( 328,    2,    0,    0 ),\n            'PERCENTRANK'     => array( 329,   -1,    0,    0 ),\n            'MODE'            => array( 330,   -1,    2,    0 ),\n            'TRIMMEAN'        => array( 331,    2,    0,    0 ),\n            'TINV'            => array( 332,    2,    1,    0 ),\n            'CONCATENATE'     => array( 336,   -1,    1,    0 ),\n            'POWER'           => array( 337,    2,    1,    0 ),\n            'RADIANS'         => array( 342,    1,    1,    0 ),\n            'DEGREES'         => array( 343,    1,    1,    0 ),\n            'SUBTOTAL'        => array( 344,   -1,    0,    0 ),\n            'SUMIF'           => array( 345,   -1,    0,    0 ),\n            'COUNTIF'         => array( 346,    2,    0,    0 ),\n            'COUNTBLANK'      => array( 347,    1,    0,    0 ),\n            'ISPMT'           => array( 350,    4,    1,    0 ),\n            'DATEDIF'         => array( 351,    3,    1,    0 ),\n            'DATESTRING'      => array( 352,    1,    1,    0 ),\n            'NUMBERSTRING'    => array( 353,    2,    1,    0 ),\n            'ROMAN'           => array( 354,   -1,    1,    0 ),\n            'GETPIVOTDATA'    => array( 358,   -1,    0,    0 ),\n            'HYPERLINK'       => array( 359,   -1,    1,    0 ),\n            'PHONETIC'        => array( 360,    1,    0,    0 ),\n            'AVERAGEA'        => array( 361,   -1,    0,    0 ),\n            'MAXA'            => array( 362,   -1,    0,    0 ),\n            'MINA'            => array( 363,   -1,    0,    0 ),\n            'STDEVPA'         => array( 364,   -1,    0,    0 ),\n            'VARPA'           => array( 365,   -1,    0,    0 ),\n            'STDEVA'          => array( 366,   -1,    0,    0 ),\n            'VARA'            => array( 367,   -1,    0,    0 ),\n            'BAHTTEXT'        => array( 368,    1,    0,    0 ),\n        );\n    }\n\n    /**\n     * Convert a token to the proper ptg value.\n     *\n     * @access private\n     * @param mixed $token The token to convert.\n     * @return mixed the converted token on success\n     */\n    private function convert($token)\n    {\n        if (preg_match(\"/\\\"([^\\\"]|\\\"\\\"){0,255}\\\"/\", $token)) {\n            return $this->convertString($token);\n\n        } elseif (is_numeric($token)) {\n            return $this->convertNumber($token);\n\n        // match references like A1 or $A$1\n        } elseif (preg_match('/^\\$?([A-Ia-i]?[A-Za-z])\\$?(\\d+)$/', $token)) {\n            return $this->convertRef2d($token);\n\n        // match external references like Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1\n        } elseif (preg_match(\"/^\" . self::REGEX_SHEET_TITLE_UNQUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_UNQUOTED . \")?\\!\\\\$?[A-Ia-i]?[A-Za-z]\\\\$?(\\d+)$/u\", $token)) {\n            return $this->convertRef3d($token);\n\n        // match external references like 'Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1\n        } elseif (preg_match(\"/^'\" . self::REGEX_SHEET_TITLE_QUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_QUOTED . \")?'\\!\\\\$?[A-Ia-i]?[A-Za-z]\\\\$?(\\d+)$/u\", $token)) {\n            return $this->convertRef3d($token);\n\n        // match ranges like A1:B2 or $A$1:$B$2\n        } elseif (preg_match('/^(\\$)?[A-Ia-i]?[A-Za-z](\\$)?(\\d+)\\:(\\$)?[A-Ia-i]?[A-Za-z](\\$)?(\\d+)$/', $token)) {\n            return $this->convertRange2d($token);\n\n        // match external ranges like Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2\n        } elseif (preg_match(\"/^\" . self::REGEX_SHEET_TITLE_UNQUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_UNQUOTED . \")?\\!\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?(\\d+)\\:\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?(\\d+)$/u\", $token)) {\n            return $this->convertRange3d($token);\n\n        // match external ranges like 'Sheet1'!A1:B2 or 'Sheet1:Sheet2'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1:Sheet2'!$A$1:$B$2\n        } elseif (preg_match(\"/^'\" . self::REGEX_SHEET_TITLE_QUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_QUOTED . \")?'\\!\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?(\\d+)\\:\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?(\\d+)$/u\", $token)) {\n            return $this->convertRange3d($token);\n\n        // operators (including parentheses)\n        } elseif (isset($this->ptg[$token])) {\n            return pack(\"C\", $this->ptg[$token]);\n\n        // match error codes\n        } elseif (preg_match(\"/^#[A-Z0\\/]{3,5}[!?]{1}$/\", $token) or $token == '#N/A') {\n            return $this->convertError($token);\n\n        // commented so argument number can be processed correctly. See toReversePolish().\n        /*elseif (preg_match(\"/[A-Z0-9\\xc0-\\xdc\\.]+/\", $token))\n        {\n            return($this->convertFunction($token, $this->_func_args));\n        }*/\n\n        // if it's an argument, ignore the token (the argument remains)\n        } elseif ($token == 'arg') {\n            return '';\n        }\n\n        // TODO: use real error codes\n        throw new PHPExcel_Writer_Exception(\"Unknown token $token\");\n    }\n\n    /**\n     * Convert a number token to ptgInt or ptgNum\n     *\n     * @access private\n     * @param mixed $num an integer or double for conversion to its ptg value\n     */\n    private function convertNumber($num)\n    {\n        // Integer in the range 0..2**16-1\n        if ((preg_match(\"/^\\d+$/\", $num)) and ($num <= 65535)) {\n            return pack(\"Cv\", $this->ptg['ptgInt'], $num);\n        } else { // A float\n            if (PHPExcel_Writer_Excel5_BIFFwriter::getByteOrder()) { // if it's Big Endian\n                $num = strrev($num);\n            }\n            return pack(\"Cd\", $this->ptg['ptgNum'], $num);\n        }\n    }\n\n    /**\n     * Convert a string token to ptgStr\n     *\n     * @access private\n     * @param string $string A string for conversion to its ptg value.\n     * @return mixed the converted token on success\n     */\n    private function convertString($string)\n    {\n        // chop away beggining and ending quotes\n        $string = substr($string, 1, strlen($string) - 2);\n        if (strlen($string) > 255) {\n            throw new PHPExcel_Writer_Exception(\"String is too long\");\n        }\n\n        return pack('C', $this->ptg['ptgStr']) . PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($string);\n    }\n\n    /**\n     * Convert a function to a ptgFunc or ptgFuncVarV depending on the number of\n     * args that it takes.\n     *\n     * @access private\n     * @param string  $token    The name of the function for convertion to ptg value.\n     * @param integer $num_args The number of arguments the function receives.\n     * @return string The packed ptg for the function\n     */\n    private function convertFunction($token, $num_args)\n    {\n        $args     = $this->functions[$token][1];\n//        $volatile = $this->functions[$token][3];\n\n        // Fixed number of args eg. TIME($i, $j, $k).\n        if ($args >= 0) {\n            return pack(\"Cv\", $this->ptg['ptgFuncV'], $this->functions[$token][0]);\n        }\n        // Variable number of args eg. SUM($i, $j, $k, ..).\n        if ($args == -1) {\n            return pack(\"CCv\", $this->ptg['ptgFuncVarV'], $num_args, $this->functions[$token][0]);\n        }\n    }\n\n    /**\n     * Convert an Excel range such as A1:D4 to a ptgRefV.\n     *\n     * @access private\n     * @param string    $range    An Excel range in the A1:A2\n     * @param int        $class\n     */\n    private function convertRange2d($range, $class = 0)\n    {\n\n        // TODO: possible class value 0,1,2 check Formula.pm\n        // Split the range into 2 cell refs\n        if (preg_match('/^(\\$)?([A-Ia-i]?[A-Za-z])(\\$)?(\\d+)\\:(\\$)?([A-Ia-i]?[A-Za-z])(\\$)?(\\d+)$/', $range)) {\n            list($cell1, $cell2) = explode(':', $range);\n        } else {\n            // TODO: use real error codes\n            throw new PHPExcel_Writer_Exception(\"Unknown range separator\");\n        }\n\n        // Convert the cell references\n        list($row1, $col1) = $this->cellToPackedRowcol($cell1);\n        list($row2, $col2) = $this->cellToPackedRowcol($cell2);\n\n        // The ptg value depends on the class of the ptg.\n        if ($class == 0) {\n            $ptgArea = pack(\"C\", $this->ptg['ptgArea']);\n        } elseif ($class == 1) {\n            $ptgArea = pack(\"C\", $this->ptg['ptgAreaV']);\n        } elseif ($class == 2) {\n            $ptgArea = pack(\"C\", $this->ptg['ptgAreaA']);\n        } else {\n            // TODO: use real error codes\n            throw new PHPExcel_Writer_Exception(\"Unknown class $class\");\n        }\n        return $ptgArea . $row1 . $row2 . $col1. $col2;\n    }\n\n    /**\n     * Convert an Excel 3d range such as \"Sheet1!A1:D4\" or \"Sheet1:Sheet2!A1:D4\" to\n     * a ptgArea3d.\n     *\n     * @access private\n     * @param string $token An Excel range in the Sheet1!A1:A2 format.\n     * @return mixed The packed ptgArea3d token on success.\n     */\n    private function convertRange3d($token)\n    {\n//        $class = 0; // formulas like Sheet1!$A$1:$A$2 in list type data validation need this class (0x3B)\n\n        // Split the ref at the ! symbol\n        list($ext_ref, $range) = explode('!', $token);\n\n        // Convert the external reference part (different for BIFF8)\n        $ext_ref = $this->getRefIndex($ext_ref);\n\n        // Split the range into 2 cell refs\n        list($cell1, $cell2) = explode(':', $range);\n\n        // Convert the cell references\n        if (preg_match(\"/^(\\\\$)?[A-Ia-i]?[A-Za-z](\\\\$)?(\\d+)$/\", $cell1)) {\n            list($row1, $col1) = $this->cellToPackedRowcol($cell1);\n            list($row2, $col2) = $this->cellToPackedRowcol($cell2);\n        } else { // It's a rows range (like 26:27)\n             list($row1, $col1, $row2, $col2) = $this->rangeToPackedRange($cell1.':'.$cell2);\n        }\n\n        // The ptg value depends on the class of the ptg.\n//        if ($class == 0) {\n            $ptgArea = pack(\"C\", $this->ptg['ptgArea3d']);\n//        } elseif ($class == 1) {\n//            $ptgArea = pack(\"C\", $this->ptg['ptgArea3dV']);\n//        } elseif ($class == 2) {\n//            $ptgArea = pack(\"C\", $this->ptg['ptgArea3dA']);\n//        } else {\n//            throw new PHPExcel_Writer_Exception(\"Unknown class $class\");\n//        }\n\n        return $ptgArea . $ext_ref . $row1 . $row2 . $col1. $col2;\n    }\n\n    /**\n     * Convert an Excel reference such as A1, $B2, C$3 or $D$4 to a ptgRefV.\n     *\n     * @access private\n     * @param string $cell An Excel cell reference\n     * @return string The cell in packed() format with the corresponding ptg\n     */\n    private function convertRef2d($cell)\n    {\n//        $class = 2; // as far as I know, this is magick.\n\n        // Convert the cell reference\n        $cell_array = $this->cellToPackedRowcol($cell);\n        list($row, $col) = $cell_array;\n\n        // The ptg value depends on the class of the ptg.\n//        if ($class == 0) {\n//            $ptgRef = pack(\"C\", $this->ptg['ptgRef']);\n//        } elseif ($class == 1) {\n//            $ptgRef = pack(\"C\", $this->ptg['ptgRefV']);\n//        } elseif ($class == 2) {\n            $ptgRef = pack(\"C\", $this->ptg['ptgRefA']);\n//        } else {\n//            // TODO: use real error codes\n//            throw new PHPExcel_Writer_Exception(\"Unknown class $class\");\n//        }\n        return $ptgRef.$row.$col;\n    }\n\n    /**\n     * Convert an Excel 3d reference such as \"Sheet1!A1\" or \"Sheet1:Sheet2!A1\" to a\n     * ptgRef3d.\n     *\n     * @access private\n     * @param string $cell An Excel cell reference\n     * @return mixed The packed ptgRef3d token on success.\n     */\n    private function convertRef3d($cell)\n    {\n//        $class = 2; // as far as I know, this is magick.\n\n        // Split the ref at the ! symbol\n        list($ext_ref, $cell) = explode('!', $cell);\n\n        // Convert the external reference part (different for BIFF8)\n        $ext_ref = $this->getRefIndex($ext_ref);\n\n        // Convert the cell reference part\n        list($row, $col) = $this->cellToPackedRowcol($cell);\n\n        // The ptg value depends on the class of the ptg.\n//        if ($class == 0) {\n//            $ptgRef = pack(\"C\", $this->ptg['ptgRef3d']);\n//        } elseif ($class == 1) {\n//            $ptgRef = pack(\"C\", $this->ptg['ptgRef3dV']);\n//        } elseif ($class == 2) {\n            $ptgRef = pack(\"C\", $this->ptg['ptgRef3dA']);\n//        } else {\n//            throw new PHPExcel_Writer_Exception(\"Unknown class $class\");\n//        }\n\n        return $ptgRef . $ext_ref. $row . $col;\n    }\n\n    /**\n     * Convert an error code to a ptgErr\n     *\n     * @access    private\n     * @param    string    $errorCode    The error code for conversion to its ptg value\n     * @return    string                The error code ptgErr\n     */\n    private function convertError($errorCode)\n    {\n        switch ($errorCode) {\n            case '#NULL!':\n                return pack(\"C\", 0x00);\n            case '#DIV/0!':\n                return pack(\"C\", 0x07);\n            case '#VALUE!':\n                return pack(\"C\", 0x0F);\n            case '#REF!':\n                return pack(\"C\", 0x17);\n            case '#NAME?':\n                return pack(\"C\", 0x1D);\n            case '#NUM!':\n                return pack(\"C\", 0x24);\n            case '#N/A':\n                return pack(\"C\", 0x2A);\n        }\n        return pack(\"C\", 0xFF);\n    }\n\n    /**\n     * Convert the sheet name part of an external reference, for example \"Sheet1\" or\n     * \"Sheet1:Sheet2\", to a packed structure.\n     *\n     * @access    private\n     * @param    string    $ext_ref    The name of the external reference\n     * @return    string                The reference index in packed() format\n     */\n    private function packExtRef($ext_ref)\n    {\n        $ext_ref = preg_replace(\"/^'/\", '', $ext_ref); // Remove leading  ' if any.\n        $ext_ref = preg_replace(\"/'$/\", '', $ext_ref); // Remove trailing ' if any.\n\n        // Check if there is a sheet range eg., Sheet1:Sheet2.\n        if (preg_match(\"/:/\", $ext_ref)) {\n            list($sheet_name1, $sheet_name2) = explode(':', $ext_ref);\n\n            $sheet1 = $this->getSheetIndex($sheet_name1);\n            if ($sheet1 == -1) {\n                throw new PHPExcel_Writer_Exception(\"Unknown sheet name $sheet_name1 in formula\");\n            }\n            $sheet2 = $this->getSheetIndex($sheet_name2);\n            if ($sheet2 == -1) {\n                throw new PHPExcel_Writer_Exception(\"Unknown sheet name $sheet_name2 in formula\");\n            }\n\n            // Reverse max and min sheet numbers if necessary\n            if ($sheet1 > $sheet2) {\n                list($sheet1, $sheet2) = array($sheet2, $sheet1);\n            }\n        } else { // Single sheet name only.\n            $sheet1 = $this->getSheetIndex($ext_ref);\n            if ($sheet1 == -1) {\n                throw new PHPExcel_Writer_Exception(\"Unknown sheet name $ext_ref in formula\");\n            }\n            $sheet2 = $sheet1;\n        }\n\n        // References are stored relative to 0xFFFF.\n        $offset = -1 - $sheet1;\n\n        return pack('vdvv', $offset, 0x00, $sheet1, $sheet2);\n    }\n\n    /**\n     * Look up the REF index that corresponds to an external sheet name\n     * (or range). If it doesn't exist yet add it to the workbook's references\n     * array. It assumes all sheet names given must exist.\n     *\n     * @access private\n     * @param string $ext_ref The name of the external reference\n     * @return mixed The reference index in packed() format on success\n     */\n    private function getRefIndex($ext_ref)\n    {\n        $ext_ref = preg_replace(\"/^'/\", '', $ext_ref); // Remove leading  ' if any.\n        $ext_ref = preg_replace(\"/'$/\", '', $ext_ref); // Remove trailing ' if any.\n        $ext_ref = str_replace('\\'\\'', '\\'', $ext_ref); // Replace escaped '' with '\n\n        // Check if there is a sheet range eg., Sheet1:Sheet2.\n        if (preg_match(\"/:/\", $ext_ref)) {\n            list($sheet_name1, $sheet_name2) = explode(':', $ext_ref);\n\n            $sheet1 = $this->getSheetIndex($sheet_name1);\n            if ($sheet1 == -1) {\n                throw new PHPExcel_Writer_Exception(\"Unknown sheet name $sheet_name1 in formula\");\n            }\n            $sheet2 = $this->getSheetIndex($sheet_name2);\n            if ($sheet2 == -1) {\n                throw new PHPExcel_Writer_Exception(\"Unknown sheet name $sheet_name2 in formula\");\n            }\n\n            // Reverse max and min sheet numbers if necessary\n            if ($sheet1 > $sheet2) {\n                list($sheet1, $sheet2) = array($sheet2, $sheet1);\n            }\n        } else { // Single sheet name only.\n            $sheet1 = $this->getSheetIndex($ext_ref);\n            if ($sheet1 == -1) {\n                throw new PHPExcel_Writer_Exception(\"Unknown sheet name $ext_ref in formula\");\n            }\n            $sheet2 = $sheet1;\n        }\n\n        // assume all references belong to this document\n        $supbook_index = 0x00;\n        $ref = pack('vvv', $supbook_index, $sheet1, $sheet2);\n        $totalreferences = count($this->references);\n        $index = -1;\n        for ($i = 0; $i < $totalreferences; ++$i) {\n            if ($ref == $this->references[$i]) {\n                $index = $i;\n                break;\n            }\n        }\n        // if REF was not found add it to references array\n        if ($index == -1) {\n            $this->references[$totalreferences] = $ref;\n            $index = $totalreferences;\n        }\n\n        return pack('v', $index);\n    }\n\n    /**\n     * Look up the index that corresponds to an external sheet name. The hash of\n     * sheet names is updated by the addworksheet() method of the\n     * PHPExcel_Writer_Excel5_Workbook class.\n     *\n     * @access    private\n     * @param    string    $sheet_name        Sheet name\n     * @return    integer                    The sheet index, -1 if the sheet was not found\n     */\n    private function getSheetIndex($sheet_name)\n    {\n        if (!isset($this->externalSheets[$sheet_name])) {\n            return -1;\n        } else {\n            return $this->externalSheets[$sheet_name];\n        }\n    }\n\n    /**\n     * This method is used to update the array of sheet names. It is\n     * called by the addWorksheet() method of the\n     * PHPExcel_Writer_Excel5_Workbook class.\n     *\n     * @access public\n     * @see PHPExcel_Writer_Excel5_Workbook::addWorksheet()\n     * @param string  $name  The name of the worksheet being added\n     * @param integer $index The index of the worksheet being added\n     */\n    public function setExtSheet($name, $index)\n    {\n        $this->externalSheets[$name] = $index;\n    }\n\n    /**\n     * pack() row and column into the required 3 or 4 byte format.\n     *\n     * @access private\n     * @param string $cell The Excel cell reference to be packed\n     * @return array Array containing the row and column in packed() format\n     */\n    private function cellToPackedRowcol($cell)\n    {\n        $cell = strtoupper($cell);\n        list($row, $col, $row_rel, $col_rel) = $this->cellToRowcol($cell);\n        if ($col >= 256) {\n            throw new PHPExcel_Writer_Exception(\"Column in: $cell greater than 255\");\n        }\n        if ($row >= 65536) {\n            throw new PHPExcel_Writer_Exception(\"Row in: $cell greater than 65536 \");\n        }\n\n        // Set the high bits to indicate if row or col are relative.\n        $col |= $col_rel << 14;\n        $col |= $row_rel << 15;\n        $col = pack('v', $col);\n\n        $row = pack('v', $row);\n\n        return array($row, $col);\n    }\n\n    /**\n     * pack() row range into the required 3 or 4 byte format.\n     * Just using maximum col/rows, which is probably not the correct solution\n     *\n     * @access private\n     * @param string $range The Excel range to be packed\n     * @return array Array containing (row1,col1,row2,col2) in packed() format\n     */\n    private function rangeToPackedRange($range)\n    {\n        preg_match('/(\\$)?(\\d+)\\:(\\$)?(\\d+)/', $range, $match);\n        // return absolute rows if there is a $ in the ref\n        $row1_rel = empty($match[1]) ? 1 : 0;\n        $row1     = $match[2];\n        $row2_rel = empty($match[3]) ? 1 : 0;\n        $row2     = $match[4];\n        // Convert 1-index to zero-index\n        --$row1;\n        --$row2;\n        // Trick poor inocent Excel\n        $col1 = 0;\n        $col2 = 65535; // FIXME: maximum possible value for Excel 5 (change this!!!)\n\n        // FIXME: this changes for BIFF8\n        if (($row1 >= 65536) or ($row2 >= 65536)) {\n            throw new PHPExcel_Writer_Exception(\"Row in: $range greater than 65536 \");\n        }\n\n        // Set the high bits to indicate if rows are relative.\n        $col1 |= $row1_rel << 15;\n        $col2 |= $row2_rel << 15;\n        $col1 = pack('v', $col1);\n        $col2 = pack('v', $col2);\n\n        $row1 = pack('v', $row1);\n        $row2 = pack('v', $row2);\n\n        return array($row1, $col1, $row2, $col2);\n    }\n\n    /**\n     * Convert an Excel cell reference such as A1 or $B2 or C$3 or $D$4 to a zero\n     * indexed row and column number. Also returns two (0,1) values to indicate\n     * whether the row or column are relative references.\n     *\n     * @access private\n     * @param string $cell The Excel cell reference in A1 format.\n     * @return array\n     */\n    private function cellToRowcol($cell)\n    {\n        preg_match('/(\\$)?([A-I]?[A-Z])(\\$)?(\\d+)/', $cell, $match);\n        // return absolute column if there is a $ in the ref\n        $col_rel = empty($match[1]) ? 1 : 0;\n        $col_ref = $match[2];\n        $row_rel = empty($match[3]) ? 1 : 0;\n        $row     = $match[4];\n\n        // Convert base26 column string to a number.\n        $expn = strlen($col_ref) - 1;\n        $col  = 0;\n        $col_ref_length = strlen($col_ref);\n        for ($i = 0; $i < $col_ref_length; ++$i) {\n            $col += (ord($col_ref{$i}) - 64) * pow(26, $expn);\n            --$expn;\n        }\n\n        // Convert 1-index to zero-index\n        --$row;\n        --$col;\n\n        return array($row, $col, $row_rel, $col_rel);\n    }\n\n    /**\n     * Advance to the next valid token.\n     *\n     * @access private\n     */\n    private function advance()\n    {\n        $i = $this->currentCharacter;\n        $formula_length = strlen($this->formula);\n        // eat up white spaces\n        if ($i < $formula_length) {\n            while ($this->formula{$i} == \" \") {\n                ++$i;\n            }\n\n            if ($i < ($formula_length - 1)) {\n                $this->lookAhead = $this->formula{$i+1};\n            }\n            $token = '';\n        }\n\n        while ($i < $formula_length) {\n            $token .= $this->formula{$i};\n\n            if ($i < ($formula_length - 1)) {\n                $this->lookAhead = $this->formula{$i+1};\n            } else {\n                $this->lookAhead = '';\n            }\n\n            if ($this->match($token) != '') {\n                //if ($i < strlen($this->formula) - 1) {\n                //    $this->lookAhead = $this->formula{$i+1};\n                //}\n                $this->currentCharacter = $i + 1;\n                $this->currentToken = $token;\n                return 1;\n            }\n\n            if ($i < ($formula_length - 2)) {\n                $this->lookAhead = $this->formula{$i+2};\n            } else { // if we run out of characters lookAhead becomes empty\n                $this->lookAhead = '';\n            }\n            ++$i;\n        }\n        //die(\"Lexical error \".$this->currentCharacter);\n    }\n\n    /**\n     * Checks if it's a valid token.\n     *\n     * @access private\n     * @param mixed $token The token to check.\n     * @return mixed       The checked token or false on failure\n     */\n    private function match($token)\n    {\n        switch ($token) {\n            case \"+\":\n            case \"-\":\n            case \"*\":\n            case \"/\":\n            case \"(\":\n            case \")\":\n            case \",\":\n            case \";\":\n            case \">=\":\n            case \"<=\":\n            case \"=\":\n            case \"<>\":\n            case \"^\":\n            case \"&\":\n            case \"%\":\n                return $token;\n                break;\n            case \">\":\n                if ($this->lookAhead == '=') { // it's a GE token\n                    break;\n                }\n                return $token;\n                break;\n            case \"<\":\n                // it's a LE or a NE token\n                if (($this->lookAhead == '=') or ($this->lookAhead == '>')) {\n                    break;\n                }\n                return $token;\n                break;\n            default:\n                // if it's a reference A1 or $A$1 or $A1 or A$1\n                if (preg_match('/^\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/', $token) and !preg_match(\"/[0-9]/\", $this->lookAhead) and ($this->lookAhead != ':') and ($this->lookAhead != '.') and ($this->lookAhead != '!')) {\n                    return $token;\n                } elseif (preg_match(\"/^\" . self::REGEX_SHEET_TITLE_UNQUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_UNQUOTED . \")?\\!\\\\$?[A-Ia-i]?[A-Za-z]\\\\$?[0-9]+$/u\", $token) and !preg_match(\"/[0-9]/\", $this->lookAhead) and ($this->lookAhead != ':') and ($this->lookAhead != '.')) {\n                    // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1)\n                    return $token;\n                } elseif (preg_match(\"/^'\" . self::REGEX_SHEET_TITLE_QUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_QUOTED . \")?'\\!\\\\$?[A-Ia-i]?[A-Za-z]\\\\$?[0-9]+$/u\", $token) and !preg_match(\"/[0-9]/\", $this->lookAhead) and ($this->lookAhead != ':') and ($this->lookAhead != '.')) {\n                    // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1)\n                    return $token;\n                } elseif (preg_match('/^(\\$)?[A-Ia-i]?[A-Za-z](\\$)?[0-9]+:(\\$)?[A-Ia-i]?[A-Za-z](\\$)?[0-9]+$/', $token) && !preg_match(\"/[0-9]/\", $this->lookAhead)) {\n                    // if it's a range A1:A2 or $A$1:$A$2\n                    return $token;\n                } elseif (preg_match(\"/^\" . self::REGEX_SHEET_TITLE_UNQUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_UNQUOTED . \")?\\!\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+:\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+$/u\", $token) and !preg_match(\"/[0-9]/\", $this->lookAhead)) {\n                    // If it's an external range like Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2\n                    return $token;\n                } elseif (preg_match(\"/^'\" . self::REGEX_SHEET_TITLE_QUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_QUOTED . \")?'\\!\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+:\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+$/u\", $token) and !preg_match(\"/[0-9]/\", $this->lookAhead)) {\n                    // If it's an external range like 'Sheet1'!A1:B2 or 'Sheet1:Sheet2'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1:Sheet2'!$A$1:$B$2\n                    return $token;\n                } elseif (is_numeric($token) and (!is_numeric($token.$this->lookAhead) or ($this->lookAhead == '')) and ($this->lookAhead != '!') and ($this->lookAhead != ':')) {\n                    // If it's a number (check that it's not a sheet name or range)\n                    return $token;\n                } elseif (preg_match(\"/\\\"([^\\\"]|\\\"\\\"){0,255}\\\"/\", $token) and $this->lookAhead != '\"' and (substr_count($token, '\"')%2 == 0)) {\n                    // If it's a string (of maximum 255 characters)\n                    return $token;\n                } elseif (preg_match(\"/^#[A-Z0\\/]{3,5}[!?]{1}$/\", $token) or $token == '#N/A') {\n                    // If it's an error code\n                    return $token;\n                } elseif (preg_match(\"/^[A-Z0-9\\xc0-\\xdc\\.]+$/i\", $token) and ($this->lookAhead == \"(\")) {\n                    // if it's a function call\n                    return $token;\n                } elseif (substr($token, -1) == ')') {\n                    //    It's an argument of some description (e.g. a named range),\n                    //        precise nature yet to be determined\n                    return $token;\n                }\n                return '';\n        }\n    }\n\n    /**\n     * The parsing method. It parses a formula.\n     *\n     * @access public\n     * @param string $formula The formula to parse, without the initial equal\n     *                        sign (=).\n     * @return mixed true on success\n     */\n    public function parse($formula)\n    {\n        $this->currentCharacter = 0;\n        $this->formula      = $formula;\n        $this->lookAhead    = isset($formula{1}) ? $formula{1} : '';\n        $this->advance();\n        $this->parseTree   = $this->condition();\n        return true;\n    }\n\n    /**\n     * It parses a condition. It assumes the following rule:\n     * Cond -> Expr [(\">\" | \"<\") Expr]\n     *\n     * @access private\n     * @return mixed The parsed ptg'd tree on success\n     */\n    private function condition()\n    {\n        $result = $this->expression();\n        if ($this->currentToken == \"<\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgLT', $result, $result2);\n        } elseif ($this->currentToken == \">\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgGT', $result, $result2);\n        } elseif ($this->currentToken == \"<=\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgLE', $result, $result2);\n        } elseif ($this->currentToken == \">=\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgGE', $result, $result2);\n        } elseif ($this->currentToken == \"=\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgEQ', $result, $result2);\n        } elseif ($this->currentToken == \"<>\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgNE', $result, $result2);\n        } elseif ($this->currentToken == \"&\") {\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgConcat', $result, $result2);\n        }\n        return $result;\n    }\n\n    /**\n     * It parses a expression. It assumes the following rule:\n     * Expr -> Term [(\"+\" | \"-\") Term]\n     *      -> \"string\"\n     *      -> \"-\" Term : Negative value\n     *      -> \"+\" Term : Positive value\n     *      -> Error code\n     *\n     * @access private\n     * @return mixed The parsed ptg'd tree on success\n     */\n    private function expression()\n    {\n        // If it's a string return a string node\n        if (preg_match(\"/\\\"([^\\\"]|\\\"\\\"){0,255}\\\"/\", $this->currentToken)) {\n            $tmp = str_replace('\"\"', '\"', $this->currentToken);\n            if (($tmp == '\"') || ($tmp == '')) {\n                //    Trap for \"\" that has been used for an empty string\n                $tmp = '\"\"';\n            }\n            $result = $this->createTree($tmp, '', '');\n            $this->advance();\n            return $result;\n        // If it's an error code\n        } elseif (preg_match(\"/^#[A-Z0\\/]{3,5}[!?]{1}$/\", $this->currentToken) or $this->currentToken == '#N/A') {\n            $result = $this->createTree($this->currentToken, 'ptgErr', '');\n            $this->advance();\n            return $result;\n        // If it's a negative value\n        } elseif ($this->currentToken == \"-\") {\n            // catch \"-\" Term\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgUminus', $result2, '');\n            return $result;\n        // If it's a positive value\n        } elseif ($this->currentToken == \"+\") {\n            // catch \"+\" Term\n            $this->advance();\n            $result2 = $this->expression();\n            $result = $this->createTree('ptgUplus', $result2, '');\n            return $result;\n        }\n        $result = $this->term();\n        while (($this->currentToken == \"+\") or\n               ($this->currentToken == \"-\") or\n               ($this->currentToken == \"^\")) {\n        /**/\n            if ($this->currentToken == \"+\") {\n                $this->advance();\n                $result2 = $this->term();\n                $result = $this->createTree('ptgAdd', $result, $result2);\n            } elseif ($this->currentToken == \"-\") {\n                $this->advance();\n                $result2 = $this->term();\n                $result = $this->createTree('ptgSub', $result, $result2);\n            } else {\n                $this->advance();\n                $result2 = $this->term();\n                $result = $this->createTree('ptgPower', $result, $result2);\n            }\n        }\n        return $result;\n    }\n\n    /**\n     * This function just introduces a ptgParen element in the tree, so that Excel\n     * doesn't get confused when working with a parenthesized formula afterwards.\n     *\n     * @access private\n     * @see fact()\n     * @return array The parsed ptg'd tree\n     */\n    private function parenthesizedExpression()\n    {\n        $result = $this->createTree('ptgParen', $this->expression(), '');\n        return $result;\n    }\n\n    /**\n     * It parses a term. It assumes the following rule:\n     * Term -> Fact [(\"*\" | \"/\") Fact]\n     *\n     * @access private\n     * @return mixed The parsed ptg'd tree on success\n     */\n    private function term()\n    {\n        $result = $this->fact();\n        while (($this->currentToken == \"*\") or\n               ($this->currentToken == \"/\")) {\n        /**/\n            if ($this->currentToken == \"*\") {\n                $this->advance();\n                $result2 = $this->fact();\n                $result = $this->createTree('ptgMul', $result, $result2);\n            } else {\n                $this->advance();\n                $result2 = $this->fact();\n                $result = $this->createTree('ptgDiv', $result, $result2);\n            }\n        }\n        return $result;\n    }\n\n    /**\n     * It parses a factor. It assumes the following rule:\n     * Fact -> ( Expr )\n     *       | CellRef\n     *       | CellRange\n     *       | Number\n     *       | Function\n     *\n     * @access private\n     * @return mixed The parsed ptg'd tree on success\n     */\n    private function fact()\n    {\n        if ($this->currentToken == \"(\") {\n            $this->advance();         // eat the \"(\"\n            $result = $this->parenthesizedExpression();\n            if ($this->currentToken != \")\") {\n                throw new PHPExcel_Writer_Exception(\"')' token expected.\");\n            }\n            $this->advance();         // eat the \")\"\n            return $result;\n        }\n        // if it's a reference\n        if (preg_match('/^\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/', $this->currentToken)) {\n            $result = $this->createTree($this->currentToken, '', '');\n            $this->advance();\n            return $result;\n        } elseif (preg_match(\"/^\" . self::REGEX_SHEET_TITLE_UNQUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_UNQUOTED . \")?\\!\\\\$?[A-Ia-i]?[A-Za-z]\\\\$?[0-9]+$/u\", $this->currentToken)) {\n            // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1)\n            $result = $this->createTree($this->currentToken, '', '');\n            $this->advance();\n            return $result;\n        } elseif (preg_match(\"/^'\" . self::REGEX_SHEET_TITLE_QUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_QUOTED . \")?'\\!\\\\$?[A-Ia-i]?[A-Za-z]\\\\$?[0-9]+$/u\", $this->currentToken)) {\n            // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1)\n            $result = $this->createTree($this->currentToken, '', '');\n            $this->advance();\n            return $result;\n        } elseif (preg_match('/^(\\$)?[A-Ia-i]?[A-Za-z](\\$)?[0-9]+:(\\$)?[A-Ia-i]?[A-Za-z](\\$)?[0-9]+$/', $this->currentToken) or\n                preg_match('/^(\\$)?[A-Ia-i]?[A-Za-z](\\$)?[0-9]+\\.\\.(\\$)?[A-Ia-i]?[A-Za-z](\\$)?[0-9]+$/', $this->currentToken)) {\n            // if it's a range A1:B2 or $A$1:$B$2\n            // must be an error?\n            $result = $this->createTree($this->currentToken, '', '');\n            $this->advance();\n            return $result;\n        } elseif (preg_match(\"/^\" . self::REGEX_SHEET_TITLE_UNQUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_UNQUOTED . \")?\\!\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+:\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+$/u\", $this->currentToken)) {\n            // If it's an external range (Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2)\n            // must be an error?\n            //$result = $this->currentToken;\n            $result = $this->createTree($this->currentToken, '', '');\n            $this->advance();\n            return $result;\n        } elseif (preg_match(\"/^'\" . self::REGEX_SHEET_TITLE_QUOTED . \"(\\:\" . self::REGEX_SHEET_TITLE_QUOTED . \")?'\\!\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+:\\\\$?([A-Ia-i]?[A-Za-z])?\\\\$?[0-9]+$/u\", $this->currentToken)) {\n            // If it's an external range ('Sheet1'!A1:B2 or 'Sheet1'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1'!$A$1:$B$2)\n            // must be an error?\n            //$result = $this->currentToken;\n            $result = $this->createTree($this->currentToken, '', '');\n            $this->advance();\n            return $result;\n        } elseif (is_numeric($this->currentToken)) {\n            // If it's a number or a percent\n            if ($this->lookAhead == '%') {\n                $result = $this->createTree('ptgPercent', $this->currentToken, '');\n                $this->advance();  // Skip the percentage operator once we've pre-built that tree\n            } else {\n                $result = $this->createTree($this->currentToken, '', '');\n            }\n            $this->advance();\n            return $result;\n        } elseif (preg_match(\"/^[A-Z0-9\\xc0-\\xdc\\.]+$/i\", $this->currentToken)) {\n            // if it's a function call\n            $result = $this->func();\n            return $result;\n        }\n        throw new PHPExcel_Writer_Exception(\"Syntax error: \".$this->currentToken.\", lookahead: \".$this->lookAhead.\", current char: \".$this->currentCharacter);\n    }\n\n    /**\n     * It parses a function call. It assumes the following rule:\n     * Func -> ( Expr [,Expr]* )\n     *\n     * @access private\n     * @return mixed The parsed ptg'd tree on success\n     */\n    private function func()\n    {\n        $num_args = 0; // number of arguments received\n        $function = strtoupper($this->currentToken);\n        $result   = ''; // initialize result\n        $this->advance();\n        $this->advance();         // eat the \"(\"\n        while ($this->currentToken != ')') {\n        /**/\n            if ($num_args > 0) {\n                if ($this->currentToken == \",\" || $this->currentToken == \";\") {\n                    $this->advance();  // eat the \",\" or \";\"\n                } else {\n                    throw new PHPExcel_Writer_Exception(\"Syntax error: comma expected in function $function, arg #{$num_args}\");\n                }\n                $result2 = $this->condition();\n                $result = $this->createTree('arg', $result, $result2);\n            } else { // first argument\n                $result2 = $this->condition();\n                $result = $this->createTree('arg', '', $result2);\n            }\n            ++$num_args;\n        }\n        if (!isset($this->functions[$function])) {\n            throw new PHPExcel_Writer_Exception(\"Function $function() doesn't exist\");\n        }\n        $args = $this->functions[$function][1];\n        // If fixed number of args eg. TIME($i, $j, $k). Check that the number of args is valid.\n        if (($args >= 0) and ($args != $num_args)) {\n            throw new PHPExcel_Writer_Exception(\"Incorrect number of arguments in function $function() \");\n        }\n\n        $result = $this->createTree($function, $result, $num_args);\n        $this->advance();         // eat the \")\"\n        return $result;\n    }\n\n    /**\n     * Creates a tree. In fact an array which may have one or two arrays (sub-trees)\n     * as elements.\n     *\n     * @access private\n     * @param mixed $value The value of this node.\n     * @param mixed $left  The left array (sub-tree) or a final node.\n     * @param mixed $right The right array (sub-tree) or a final node.\n     * @return array A tree\n     */\n    private function createTree($value, $left, $right)\n    {\n        return array('value' => $value, 'left' => $left, 'right' => $right);\n    }\n\n    /**\n     * Builds a string containing the tree in reverse polish notation (What you\n     * would use in a HP calculator stack).\n     * The following tree:\n     *\n     *    +\n     *   / \\\n     *  2   3\n     *\n     * produces: \"23+\"\n     *\n     * The following tree:\n     *\n     *    +\n     *   / \\\n     *  3   *\n     *     / \\\n     *    6   A1\n     *\n     * produces: \"36A1*+\"\n     *\n     * In fact all operands, functions, references, etc... are written as ptg's\n     *\n     * @access public\n     * @param array $tree The optional tree to convert.\n     * @return string The tree in reverse polish notation\n     */\n    public function toReversePolish($tree = array())\n    {\n        $polish = \"\"; // the string we are going to return\n        if (empty($tree)) { // If it's the first call use parseTree\n            $tree = $this->parseTree;\n        }\n\n        if (is_array($tree['left'])) {\n            $converted_tree = $this->toReversePolish($tree['left']);\n            $polish .= $converted_tree;\n        } elseif ($tree['left'] != '') { // It's a final node\n            $converted_tree = $this->convert($tree['left']);\n            $polish .= $converted_tree;\n        }\n        if (is_array($tree['right'])) {\n            $converted_tree = $this->toReversePolish($tree['right']);\n            $polish .= $converted_tree;\n        } elseif ($tree['right'] != '') { // It's a final node\n            $converted_tree = $this->convert($tree['right']);\n            $polish .= $converted_tree;\n        }\n        // if it's a function convert it here (so we can set it's arguments)\n        if (preg_match(\"/^[A-Z0-9\\xc0-\\xdc\\.]+$/\", $tree['value']) and\n            !preg_match('/^([A-Ia-i]?[A-Za-z])(\\d+)$/', $tree['value']) and\n            !preg_match(\"/^[A-Ia-i]?[A-Za-z](\\d+)\\.\\.[A-Ia-i]?[A-Za-z](\\d+)$/\", $tree['value']) and\n            !is_numeric($tree['value']) and\n            !isset($this->ptg[$tree['value']])) {\n            // left subtree for a function is always an array.\n            if ($tree['left'] != '') {\n                $left_tree = $this->toReversePolish($tree['left']);\n            } else {\n                $left_tree = '';\n            }\n            // add it's left subtree and return.\n            return $left_tree.$this->convertFunction($tree['value'], $tree['right']);\n        } else {\n            $converted_tree = $this->convert($tree['value']);\n        }\n        $polish .= $converted_tree;\n        return $polish;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/Workbook.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5_Workbook\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n// Original file header of PEAR::Spreadsheet_Excel_Writer_Workbook (used as the base for this class):\n// -----------------------------------------------------------------------------------------\n// /*\n// *  Module written/ported by Xavier Noguer <xnoguer@rezebra.com>\n// *\n// *  The majority of this is _NOT_ my code.  I simply ported it from the\n// *  PERL Spreadsheet::WriteExcel module.\n// *\n// *  The author of the Spreadsheet::WriteExcel module is John McNamara\n// *  <jmcnamara@cpan.org>\n// *\n// *  I _DO_ maintain this code, and John McNamara has nothing to do with the\n// *  porting of this code to PHP.  Any questions directly related to this\n// *  class library should be directed to me.\n// *\n// *  License Information:\n// *\n// *    Spreadsheet_Excel_Writer:  A library for generating Excel Spreadsheets\n// *    Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com\n// *\n// *    This library is free software; you can redistribute it and/or\n// *    modify it under the terms of the GNU Lesser General Public\n// *    License as published by the Free Software Foundation; either\n// *    version 2.1 of the License, or (at your option) any later version.\n// *\n// *    This library is distributed in the hope that it will be useful,\n// *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n// *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n// *    Lesser General Public License for more details.\n// *\n// *    You should have received a copy of the GNU Lesser General Public\n// *    License along with this library; if not, write to the Free Software\n// *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n// */\nclass PHPExcel_Writer_Excel5_Workbook extends PHPExcel_Writer_Excel5_BIFFwriter\n{\n    /**\n     * Formula parser\n     *\n     * @var PHPExcel_Writer_Excel5_Parser\n     */\n    private $parser;\n\n    /**\n     * The BIFF file size for the workbook.\n     * @var integer\n     * @see calcSheetOffsets()\n     */\n    private $biffSize;\n\n    /**\n     * XF Writers\n     * @var PHPExcel_Writer_Excel5_Xf[]\n     */\n    private $xfWriters = array();\n\n    /**\n     * Array containing the colour palette\n     * @var array\n     */\n    private $palette;\n\n    /**\n     * The codepage indicates the text encoding used for strings\n     * @var integer\n     */\n    private $codepage;\n\n    /**\n     * The country code used for localization\n     * @var integer\n     */\n    private $countryCode;\n\n    /**\n     * Workbook\n     * @var PHPExcel\n     */\n    private $phpExcel;\n\n    /**\n     * Fonts writers\n     *\n     * @var PHPExcel_Writer_Excel5_Font[]\n     */\n    private $fontWriters = array();\n\n    /**\n     * Added fonts. Maps from font's hash => index in workbook\n     *\n     * @var array\n     */\n    private $addedFonts = array();\n\n    /**\n     * Shared number formats\n     *\n     * @var array\n     */\n    private $numberFormats = array();\n\n    /**\n     * Added number formats. Maps from numberFormat's hash => index in workbook\n     *\n     * @var array\n     */\n    private $addedNumberFormats = array();\n\n    /**\n     * Sizes of the binary worksheet streams\n     *\n     * @var array\n     */\n    private $worksheetSizes = array();\n\n    /**\n     * Offsets of the binary worksheet streams relative to the start of the global workbook stream\n     *\n     * @var array\n     */\n    private $worksheetOffsets = array();\n\n    /**\n     * Total number of shared strings in workbook\n     *\n     * @var int\n     */\n    private $stringTotal;\n\n    /**\n     * Number of unique shared strings in workbook\n     *\n     * @var int\n     */\n    private $stringUnique;\n\n    /**\n     * Array of unique shared strings in workbook\n     *\n     * @var array\n     */\n    private $stringTable;\n\n    /**\n     * Color cache\n     */\n    private $colors;\n\n    /**\n     * Escher object corresponding to MSODRAWINGGROUP\n     *\n     * @var PHPExcel_Shared_Escher\n     */\n    private $escher;\n\n\n    /**\n     * Class constructor\n     *\n     * @param PHPExcel    $phpExcel        The Workbook\n     * @param int        &$str_total        Total number of strings\n     * @param int        &$str_unique    Total number of unique strings\n     * @param array        &$str_table        String Table\n     * @param array        &$colors        Colour Table\n     * @param mixed        $parser            The formula parser created for the Workbook\n     */\n    public function __construct(PHPExcel $phpExcel = null, &$str_total, &$str_unique, &$str_table, &$colors, $parser)\n    {\n        // It needs to call its parent's constructor explicitly\n        parent::__construct();\n\n        $this->parser        = $parser;\n        $this->biffSize     = 0;\n        $this->palette      = array();\n        $this->countryCode = -1;\n\n        $this->stringTotal      = &$str_total;\n        $this->stringUnique     = &$str_unique;\n        $this->stringTable      = &$str_table;\n        $this->colors        = &$colors;\n        $this->setPaletteXl97();\n\n        $this->phpExcel = $phpExcel;\n\n        // set BIFFwriter limit for CONTINUE records\n        //        $this->_limit = 8224;\n        $this->codepage = 0x04B0;\n\n        // Add empty sheets and Build color cache\n        $countSheets = $phpExcel->getSheetCount();\n        for ($i = 0; $i < $countSheets; ++$i) {\n            $phpSheet = $phpExcel->getSheet($i);\n\n            $this->parser->setExtSheet($phpSheet->getTitle(), $i);  // Register worksheet name with parser\n\n            $supbook_index = 0x00;\n            $ref = pack('vvv', $supbook_index, $i, $i);\n            $this->parser->references[] = $ref;  // Register reference with parser\n\n            // Sheet tab colors?\n            if ($phpSheet->isTabColorSet()) {\n                $this->addColor($phpSheet->getTabColor()->getRGB());\n            }\n        }\n\n    }\n\n    /**\n     * Add a new XF writer\n     *\n     * @param PHPExcel_Style\n     * @param boolean Is it a style XF?\n     * @return int Index to XF record\n     */\n    public function addXfWriter($style, $isStyleXf = false)\n    {\n        $xfWriter = new PHPExcel_Writer_Excel5_Xf($style);\n        $xfWriter->setIsStyleXf($isStyleXf);\n\n        // Add the font if not already added\n        $fontIndex = $this->addFont($style->getFont());\n\n        // Assign the font index to the xf record\n        $xfWriter->setFontIndex($fontIndex);\n\n        // Background colors, best to treat these after the font so black will come after white in custom palette\n        $xfWriter->setFgColor($this->addColor($style->getFill()->getStartColor()->getRGB()));\n        $xfWriter->setBgColor($this->addColor($style->getFill()->getEndColor()->getRGB()));\n        $xfWriter->setBottomColor($this->addColor($style->getBorders()->getBottom()->getColor()->getRGB()));\n        $xfWriter->setTopColor($this->addColor($style->getBorders()->getTop()->getColor()->getRGB()));\n        $xfWriter->setRightColor($this->addColor($style->getBorders()->getRight()->getColor()->getRGB()));\n        $xfWriter->setLeftColor($this->addColor($style->getBorders()->getLeft()->getColor()->getRGB()));\n        $xfWriter->setDiagColor($this->addColor($style->getBorders()->getDiagonal()->getColor()->getRGB()));\n\n        // Add the number format if it is not a built-in one and not already added\n        if ($style->getNumberFormat()->getBuiltInFormatCode() === false) {\n            $numberFormatHashCode = $style->getNumberFormat()->getHashCode();\n\n            if (isset($this->addedNumberFormats[$numberFormatHashCode])) {\n                $numberFormatIndex = $this->addedNumberFormats[$numberFormatHashCode];\n            } else {\n                $numberFormatIndex = 164 + count($this->numberFormats);\n                $this->numberFormats[$numberFormatIndex] = $style->getNumberFormat();\n                $this->addedNumberFormats[$numberFormatHashCode] = $numberFormatIndex;\n            }\n        } else {\n            $numberFormatIndex = (int) $style->getNumberFormat()->getBuiltInFormatCode();\n        }\n\n        // Assign the number format index to xf record\n        $xfWriter->setNumberFormatIndex($numberFormatIndex);\n\n        $this->xfWriters[] = $xfWriter;\n\n        $xfIndex = count($this->xfWriters) - 1;\n        return $xfIndex;\n    }\n\n    /**\n     * Add a font to added fonts\n     *\n     * @param PHPExcel_Style_Font $font\n     * @return int Index to FONT record\n     */\n    public function addFont(PHPExcel_Style_Font $font)\n    {\n        $fontHashCode = $font->getHashCode();\n        if (isset($this->addedFonts[$fontHashCode])) {\n            $fontIndex = $this->addedFonts[$fontHashCode];\n        } else {\n            $countFonts = count($this->fontWriters);\n            $fontIndex = ($countFonts < 4) ? $countFonts : $countFonts + 1;\n\n            $fontWriter = new PHPExcel_Writer_Excel5_Font($font);\n            $fontWriter->setColorIndex($this->addColor($font->getColor()->getRGB()));\n            $this->fontWriters[] = $fontWriter;\n\n            $this->addedFonts[$fontHashCode] = $fontIndex;\n        }\n        return $fontIndex;\n    }\n\n    /**\n     * Alter color palette adding a custom color\n     *\n     * @param string $rgb E.g. 'FF00AA'\n     * @return int Color index\n     */\n    private function addColor($rgb)\n    {\n        if (!isset($this->colors[$rgb])) {\n            if (count($this->colors) < 57) {\n                // then we add a custom color altering the palette\n                $colorIndex = 8 + count($this->colors);\n                $this->palette[$colorIndex] =\n                    array(\n                        hexdec(substr($rgb, 0, 2)),\n                        hexdec(substr($rgb, 2, 2)),\n                        hexdec(substr($rgb, 4)),\n                        0\n                    );\n                $this->colors[$rgb] = $colorIndex;\n            } else {\n                // no room for more custom colors, just map to black\n                $colorIndex = 0;\n            }\n        } else {\n            // fetch already added custom color\n            $colorIndex = $this->colors[$rgb];\n        }\n\n        return $colorIndex;\n    }\n\n    /**\n     * Sets the colour palette to the Excel 97+ default.\n     *\n     * @access private\n     */\n    private function setPaletteXl97()\n    {\n        $this->palette = array(\n            0x08 => array(0x00, 0x00, 0x00, 0x00),\n            0x09 => array(0xff, 0xff, 0xff, 0x00),\n            0x0A => array(0xff, 0x00, 0x00, 0x00),\n            0x0B => array(0x00, 0xff, 0x00, 0x00),\n            0x0C => array(0x00, 0x00, 0xff, 0x00),\n            0x0D => array(0xff, 0xff, 0x00, 0x00),\n            0x0E => array(0xff, 0x00, 0xff, 0x00),\n            0x0F => array(0x00, 0xff, 0xff, 0x00),\n            0x10 => array(0x80, 0x00, 0x00, 0x00),\n            0x11 => array(0x00, 0x80, 0x00, 0x00),\n            0x12 => array(0x00, 0x00, 0x80, 0x00),\n            0x13 => array(0x80, 0x80, 0x00, 0x00),\n            0x14 => array(0x80, 0x00, 0x80, 0x00),\n            0x15 => array(0x00, 0x80, 0x80, 0x00),\n            0x16 => array(0xc0, 0xc0, 0xc0, 0x00),\n            0x17 => array(0x80, 0x80, 0x80, 0x00),\n            0x18 => array(0x99, 0x99, 0xff, 0x00),\n            0x19 => array(0x99, 0x33, 0x66, 0x00),\n            0x1A => array(0xff, 0xff, 0xcc, 0x00),\n            0x1B => array(0xcc, 0xff, 0xff, 0x00),\n            0x1C => array(0x66, 0x00, 0x66, 0x00),\n            0x1D => array(0xff, 0x80, 0x80, 0x00),\n            0x1E => array(0x00, 0x66, 0xcc, 0x00),\n            0x1F => array(0xcc, 0xcc, 0xff, 0x00),\n            0x20 => array(0x00, 0x00, 0x80, 0x00),\n            0x21 => array(0xff, 0x00, 0xff, 0x00),\n            0x22 => array(0xff, 0xff, 0x00, 0x00),\n            0x23 => array(0x00, 0xff, 0xff, 0x00),\n            0x24 => array(0x80, 0x00, 0x80, 0x00),\n            0x25 => array(0x80, 0x00, 0x00, 0x00),\n            0x26 => array(0x00, 0x80, 0x80, 0x00),\n            0x27 => array(0x00, 0x00, 0xff, 0x00),\n            0x28 => array(0x00, 0xcc, 0xff, 0x00),\n            0x29 => array(0xcc, 0xff, 0xff, 0x00),\n            0x2A => array(0xcc, 0xff, 0xcc, 0x00),\n            0x2B => array(0xff, 0xff, 0x99, 0x00),\n            0x2C => array(0x99, 0xcc, 0xff, 0x00),\n            0x2D => array(0xff, 0x99, 0xcc, 0x00),\n            0x2E => array(0xcc, 0x99, 0xff, 0x00),\n            0x2F => array(0xff, 0xcc, 0x99, 0x00),\n            0x30 => array(0x33, 0x66, 0xff, 0x00),\n            0x31 => array(0x33, 0xcc, 0xcc, 0x00),\n            0x32 => array(0x99, 0xcc, 0x00, 0x00),\n            0x33 => array(0xff, 0xcc, 0x00, 0x00),\n            0x34 => array(0xff, 0x99, 0x00, 0x00),\n            0x35 => array(0xff, 0x66, 0x00, 0x00),\n            0x36 => array(0x66, 0x66, 0x99, 0x00),\n            0x37 => array(0x96, 0x96, 0x96, 0x00),\n            0x38 => array(0x00, 0x33, 0x66, 0x00),\n            0x39 => array(0x33, 0x99, 0x66, 0x00),\n            0x3A => array(0x00, 0x33, 0x00, 0x00),\n            0x3B => array(0x33, 0x33, 0x00, 0x00),\n            0x3C => array(0x99, 0x33, 0x00, 0x00),\n            0x3D => array(0x99, 0x33, 0x66, 0x00),\n            0x3E => array(0x33, 0x33, 0x99, 0x00),\n            0x3F => array(0x33, 0x33, 0x33, 0x00),\n        );\n    }\n\n    /**\n     * Assemble worksheets into a workbook and send the BIFF data to an OLE\n     * storage.\n     *\n     * @param    array    $pWorksheetSizes    The sizes in bytes of the binary worksheet streams\n     * @return    string    Binary data for workbook stream\n     */\n    public function writeWorkbook($pWorksheetSizes = null)\n    {\n        $this->worksheetSizes = $pWorksheetSizes;\n\n        // Calculate the number of selected worksheet tabs and call the finalization\n        // methods for each worksheet\n        $total_worksheets = $this->phpExcel->getSheetCount();\n\n        // Add part 1 of the Workbook globals, what goes before the SHEET records\n        $this->storeBof(0x0005);\n        $this->writeCodepage();\n        $this->writeWindow1();\n\n        $this->writeDateMode();\n        $this->writeAllFonts();\n        $this->writeAllNumberFormats();\n        $this->writeAllXfs();\n        $this->writeAllStyles();\n        $this->writePalette();\n\n        // Prepare part 3 of the workbook global stream, what goes after the SHEET records\n        $part3 = '';\n        if ($this->countryCode != -1) {\n            $part3 .= $this->writeCountry();\n        }\n        $part3 .= $this->writeRecalcId();\n\n        $part3 .= $this->writeSupbookInternal();\n        /* TODO: store external SUPBOOK records and XCT and CRN records\n        in case of external references for BIFF8 */\n        $part3 .= $this->writeExternalsheetBiff8();\n        $part3 .= $this->writeAllDefinedNamesBiff8();\n        $part3 .= $this->writeMsoDrawingGroup();\n        $part3 .= $this->writeSharedStringsTable();\n\n        $part3 .= $this->writeEof();\n\n        // Add part 2 of the Workbook globals, the SHEET records\n        $this->calcSheetOffsets();\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $this->writeBoundSheet($this->phpExcel->getSheet($i), $this->worksheetOffsets[$i]);\n        }\n\n        // Add part 3 of the Workbook globals\n        $this->_data .= $part3;\n\n        return $this->_data;\n    }\n\n    /**\n     * Calculate offsets for Worksheet BOF records.\n     *\n     * @access private\n     */\n    private function calcSheetOffsets()\n    {\n        $boundsheet_length = 10;  // fixed length for a BOUNDSHEET record\n\n        // size of Workbook globals part 1 + 3\n        $offset            = $this->_datasize;\n\n        // add size of Workbook globals part 2, the length of the SHEET records\n        $total_worksheets = count($this->phpExcel->getAllSheets());\n        foreach ($this->phpExcel->getWorksheetIterator() as $sheet) {\n            $offset += $boundsheet_length + strlen(PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($sheet->getTitle()));\n        }\n\n        // add the sizes of each of the Sheet substreams, respectively\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $this->worksheetOffsets[$i] = $offset;\n            $offset += $this->worksheetSizes[$i];\n        }\n        $this->biffSize = $offset;\n    }\n\n    /**\n     * Store the Excel FONT records.\n     */\n    private function writeAllFonts()\n    {\n        foreach ($this->fontWriters as $fontWriter) {\n            $this->append($fontWriter->writeFont());\n        }\n    }\n\n    /**\n     * Store user defined numerical formats i.e. FORMAT records\n     */\n    private function writeAllNumberFormats()\n    {\n        foreach ($this->numberFormats as $numberFormatIndex => $numberFormat) {\n            $this->writeNumberFormat($numberFormat->getFormatCode(), $numberFormatIndex);\n        }\n    }\n\n    /**\n     * Write all XF records.\n     */\n    private function writeAllXfs()\n    {\n        foreach ($this->xfWriters as $xfWriter) {\n            $this->append($xfWriter->writeXf());\n        }\n    }\n\n    /**\n     * Write all STYLE records.\n     */\n    private function writeAllStyles()\n    {\n        $this->writeStyle();\n    }\n\n    /**\n     * Write the EXTERNCOUNT and EXTERNSHEET records. These are used as indexes for\n     * the NAME records.\n     */\n    private function writeExternals()\n    {\n        $countSheets = $this->phpExcel->getSheetCount();\n        // Create EXTERNCOUNT with number of worksheets\n        $this->writeExternalCount($countSheets);\n\n        // Create EXTERNSHEET for each worksheet\n        for ($i = 0; $i < $countSheets; ++$i) {\n            $this->writeExternalSheet($this->phpExcel->getSheet($i)->getTitle());\n        }\n    }\n\n    /**\n     * Write the NAME record to define the print area and the repeat rows and cols.\n     */\n    private function writeNames()\n    {\n        // total number of sheets\n        $total_worksheets = $this->phpExcel->getSheetCount();\n\n        // Create the print area NAME records\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $sheetSetup = $this->phpExcel->getSheet($i)->getPageSetup();\n            // Write a Name record if the print area has been defined\n            if ($sheetSetup->isPrintAreaSet()) {\n                // Print area\n                $printArea = PHPExcel_Cell::splitRange($sheetSetup->getPrintArea());\n                $printArea = $printArea[0];\n                $printArea[0] = PHPExcel_Cell::coordinateFromString($printArea[0]);\n                $printArea[1] = PHPExcel_Cell::coordinateFromString($printArea[1]);\n\n                $print_rowmin = $printArea[0][1] - 1;\n                $print_rowmax = $printArea[1][1] - 1;\n                $print_colmin = PHPExcel_Cell::columnIndexFromString($printArea[0][0]) - 1;\n                $print_colmax = PHPExcel_Cell::columnIndexFromString($printArea[1][0]) - 1;\n\n                $this->writeNameShort(\n                    $i, // sheet index\n                    0x06, // NAME type\n                    $print_rowmin,\n                    $print_rowmax,\n                    $print_colmin,\n                    $print_colmax\n                );\n            }\n        }\n\n        // Create the print title NAME records\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $sheetSetup = $this->phpExcel->getSheet($i)->getPageSetup();\n\n            // simultaneous repeatColumns repeatRows\n            if ($sheetSetup->isColumnsToRepeatAtLeftSet() && $sheetSetup->isRowsToRepeatAtTopSet()) {\n                $repeat = $sheetSetup->getColumnsToRepeatAtLeft();\n                $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1;\n                $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1;\n\n                $repeat = $sheetSetup->getRowsToRepeatAtTop();\n                $rowmin = $repeat[0] - 1;\n                $rowmax = $repeat[1] - 1;\n\n                $this->writeNameLong(\n                    $i, // sheet index\n                    0x07, // NAME type\n                    $rowmin,\n                    $rowmax,\n                    $colmin,\n                    $colmax\n                );\n\n            // (exclusive) either repeatColumns or repeatRows\n            } elseif ($sheetSetup->isColumnsToRepeatAtLeftSet() || $sheetSetup->isRowsToRepeatAtTopSet()) {\n                // Columns to repeat\n                if ($sheetSetup->isColumnsToRepeatAtLeftSet()) {\n                    $repeat = $sheetSetup->getColumnsToRepeatAtLeft();\n                    $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1;\n                    $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1;\n                } else {\n                    $colmin = 0;\n                    $colmax = 255;\n                }\n\n                // Rows to repeat\n                if ($sheetSetup->isRowsToRepeatAtTopSet()) {\n                    $repeat = $sheetSetup->getRowsToRepeatAtTop();\n                    $rowmin = $repeat[0] - 1;\n                    $rowmax = $repeat[1] - 1;\n                } else {\n                    $rowmin = 0;\n                    $rowmax = 65535;\n                }\n\n                $this->writeNameShort(\n                    $i, // sheet index\n                    0x07, // NAME type\n                    $rowmin,\n                    $rowmax,\n                    $colmin,\n                    $colmax\n                );\n            }\n        }\n    }\n\n    /**\n     * Writes all the DEFINEDNAME records (BIFF8).\n     * So far this is only used for repeating rows/columns (print titles) and print areas\n     */\n    private function writeAllDefinedNamesBiff8()\n    {\n        $chunk = '';\n\n        // Named ranges\n        if (count($this->phpExcel->getNamedRanges()) > 0) {\n            // Loop named ranges\n            $namedRanges = $this->phpExcel->getNamedRanges();\n            foreach ($namedRanges as $namedRange) {\n                // Create absolute coordinate\n                $range = PHPExcel_Cell::splitRange($namedRange->getRange());\n                for ($i = 0; $i < count($range); $i++) {\n                    $range[$i][0] = '\\'' . str_replace(\"'\", \"''\", $namedRange->getWorksheet()->getTitle()) . '\\'!' . PHPExcel_Cell::absoluteCoordinate($range[$i][0]);\n                    if (isset($range[$i][1])) {\n                        $range[$i][1] = PHPExcel_Cell::absoluteCoordinate($range[$i][1]);\n                    }\n                }\n                $range = PHPExcel_Cell::buildRange($range); // e.g. Sheet1!$A$1:$B$2\n\n                // parse formula\n                try {\n                    $error = $this->parser->parse($range);\n                    $formulaData = $this->parser->toReversePolish();\n\n                    // make sure tRef3d is of type tRef3dR (0x3A)\n                    if (isset($formulaData{0}) and ($formulaData{0} == \"\\x7A\" or $formulaData{0} == \"\\x5A\")) {\n                        $formulaData = \"\\x3A\" . substr($formulaData, 1);\n                    }\n\n                    if ($namedRange->getLocalOnly()) {\n                        // local scope\n                        $scope = $this->phpExcel->getIndex($namedRange->getScope()) + 1;\n                    } else {\n                        // global scope\n                        $scope = 0;\n                    }\n                    $chunk .= $this->writeData($this->writeDefinedNameBiff8($namedRange->getName(), $formulaData, $scope, false));\n\n                } catch (PHPExcel_Exception $e) {\n                    // do nothing\n                }\n            }\n        }\n\n        // total number of sheets\n        $total_worksheets = $this->phpExcel->getSheetCount();\n\n        // write the print titles (repeating rows, columns), if any\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $sheetSetup = $this->phpExcel->getSheet($i)->getPageSetup();\n            // simultaneous repeatColumns repeatRows\n            if ($sheetSetup->isColumnsToRepeatAtLeftSet() && $sheetSetup->isRowsToRepeatAtTopSet()) {\n                $repeat = $sheetSetup->getColumnsToRepeatAtLeft();\n                $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1;\n                $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1;\n\n                $repeat = $sheetSetup->getRowsToRepeatAtTop();\n                $rowmin = $repeat[0] - 1;\n                $rowmax = $repeat[1] - 1;\n\n                // construct formula data manually\n                $formulaData = pack('Cv', 0x29, 0x17); // tMemFunc\n                $formulaData .= pack('Cvvvvv', 0x3B, $i, 0, 65535, $colmin, $colmax); // tArea3d\n                $formulaData .= pack('Cvvvvv', 0x3B, $i, $rowmin, $rowmax, 0, 255); // tArea3d\n                $formulaData .= pack('C', 0x10); // tList\n\n                // store the DEFINEDNAME record\n                $chunk .= $this->writeData($this->writeDefinedNameBiff8(pack('C', 0x07), $formulaData, $i + 1, true));\n\n            // (exclusive) either repeatColumns or repeatRows\n            } elseif ($sheetSetup->isColumnsToRepeatAtLeftSet() || $sheetSetup->isRowsToRepeatAtTopSet()) {\n                // Columns to repeat\n                if ($sheetSetup->isColumnsToRepeatAtLeftSet()) {\n                    $repeat = $sheetSetup->getColumnsToRepeatAtLeft();\n                    $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1;\n                    $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1;\n                } else {\n                    $colmin = 0;\n                    $colmax = 255;\n                }\n                // Rows to repeat\n                if ($sheetSetup->isRowsToRepeatAtTopSet()) {\n                    $repeat = $sheetSetup->getRowsToRepeatAtTop();\n                    $rowmin = $repeat[0] - 1;\n                    $rowmax = $repeat[1] - 1;\n                } else {\n                    $rowmin = 0;\n                    $rowmax = 65535;\n                }\n\n                // construct formula data manually because parser does not recognize absolute 3d cell references\n                $formulaData = pack('Cvvvvv', 0x3B, $i, $rowmin, $rowmax, $colmin, $colmax);\n\n                // store the DEFINEDNAME record\n                $chunk .= $this->writeData($this->writeDefinedNameBiff8(pack('C', 0x07), $formulaData, $i + 1, true));\n            }\n        }\n\n        // write the print areas, if any\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $sheetSetup = $this->phpExcel->getSheet($i)->getPageSetup();\n            if ($sheetSetup->isPrintAreaSet()) {\n                // Print area, e.g. A3:J6,H1:X20\n                $printArea = PHPExcel_Cell::splitRange($sheetSetup->getPrintArea());\n                $countPrintArea = count($printArea);\n\n                $formulaData = '';\n                for ($j = 0; $j < $countPrintArea; ++$j) {\n                    $printAreaRect = $printArea[$j]; // e.g. A3:J6\n                    $printAreaRect[0] = PHPExcel_Cell::coordinateFromString($printAreaRect[0]);\n                    $printAreaRect[1] = PHPExcel_Cell::coordinateFromString($printAreaRect[1]);\n\n                    $print_rowmin = $printAreaRect[0][1] - 1;\n                    $print_rowmax = $printAreaRect[1][1] - 1;\n                    $print_colmin = PHPExcel_Cell::columnIndexFromString($printAreaRect[0][0]) - 1;\n                    $print_colmax = PHPExcel_Cell::columnIndexFromString($printAreaRect[1][0]) - 1;\n\n                    // construct formula data manually because parser does not recognize absolute 3d cell references\n                    $formulaData .= pack('Cvvvvv', 0x3B, $i, $print_rowmin, $print_rowmax, $print_colmin, $print_colmax);\n\n                    if ($j > 0) {\n                        $formulaData .= pack('C', 0x10); // list operator token ','\n                    }\n                }\n\n                // store the DEFINEDNAME record\n                $chunk .= $this->writeData($this->writeDefinedNameBiff8(pack('C', 0x06), $formulaData, $i + 1, true));\n            }\n        }\n\n        // write autofilters, if any\n        for ($i = 0; $i < $total_worksheets; ++$i) {\n            $sheetAutoFilter = $this->phpExcel->getSheet($i)->getAutoFilter();\n            $autoFilterRange = $sheetAutoFilter->getRange();\n            if (!empty($autoFilterRange)) {\n                $rangeBounds = PHPExcel_Cell::rangeBoundaries($autoFilterRange);\n\n                //Autofilter built in name\n                $name = pack('C', 0x0D);\n\n                $chunk .= $this->writeData($this->writeShortNameBiff8($name, $i + 1, $rangeBounds, true));\n            }\n        }\n\n        return $chunk;\n    }\n\n    /**\n     * Write a DEFINEDNAME record for BIFF8 using explicit binary formula data\n     *\n     * @param    string        $name            The name in UTF-8\n     * @param    string        $formulaData    The binary formula data\n     * @param    string        $sheetIndex        1-based sheet index the defined name applies to. 0 = global\n     * @param    boolean        $isBuiltIn        Built-in name?\n     * @return    string    Complete binary record data\n     */\n    private function writeDefinedNameBiff8($name, $formulaData, $sheetIndex = 0, $isBuiltIn = false)\n    {\n        $record = 0x0018;\n\n        // option flags\n        $options = $isBuiltIn ? 0x20 : 0x00;\n\n        // length of the name, character count\n        $nlen = PHPExcel_Shared_String::CountCharacters($name);\n\n        // name with stripped length field\n        $name = substr(PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($name), 2);\n\n        // size of the formula (in bytes)\n        $sz = strlen($formulaData);\n\n        // combine the parts\n        $data = pack('vCCvvvCCCC', $options, 0, $nlen, $sz, 0, $sheetIndex, 0, 0, 0, 0)\n            . $name . $formulaData;\n        $length = strlen($data);\n\n        $header = pack('vv', $record, $length);\n\n        return $header . $data;\n    }\n\n    /**\n     * Write a short NAME record\n     *\n     * @param    string         $name\n     * @param    string         $sheetIndex        1-based sheet index the defined name applies to. 0 = global\n     * @param    integer[][]  $rangeBounds    range boundaries\n     * @param    boolean      $isHidden\n     * @return    string    Complete binary record data\n     * */\n    private function writeShortNameBiff8($name, $sheetIndex = 0, $rangeBounds, $isHidden = false)\n    {\n        $record = 0x0018;\n\n        // option flags\n        $options = ($isHidden  ? 0x21 : 0x00);\n\n        $extra  = pack(\n            'Cvvvvv',\n            0x3B,\n            $sheetIndex - 1,\n            $rangeBounds[0][1] - 1,\n            $rangeBounds[1][1] - 1,\n            $rangeBounds[0][0] - 1,\n            $rangeBounds[1][0] - 1\n        );\n\n        // size of the formula (in bytes)\n        $sz = strlen($extra);\n\n        // combine the parts\n        $data = pack('vCCvvvCCCCC', $options, 0, 1, $sz, 0, $sheetIndex, 0, 0, 0, 0, 0)\n            . $name . $extra;\n        $length = strlen($data);\n\n        $header = pack('vv', $record, $length);\n\n        return $header . $data;\n    }\n\n    /**\n     * Stores the CODEPAGE biff record.\n     */\n    private function writeCodepage()\n    {\n        $record = 0x0042;             // Record identifier\n        $length = 0x0002;             // Number of bytes to follow\n        $cv  = $this->codepage;   // The code page\n\n        $header = pack('vv', $record, $length);\n        $data   = pack('v', $cv);\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write Excel BIFF WINDOW1 record.\n     */\n    private function writeWindow1()\n    {\n        $record = 0x003D;   // Record identifier\n        $length = 0x0012;   // Number of bytes to follow\n\n        $xWn  = 0x0000;     // Horizontal position of window\n        $yWn  = 0x0000;     // Vertical position of window\n        $dxWn = 0x25BC;     // Width of window\n        $dyWn = 0x1572;     // Height of window\n\n        $grbit = 0x0038;    // Option flags\n\n        // not supported by PHPExcel, so there is only one selected sheet, the active\n        $ctabsel = 1;       // Number of workbook tabs selected\n\n        $wTabRatio = 0x0258;    // Tab to scrollbar ratio\n\n        // not supported by PHPExcel, set to 0\n        $itabFirst = 0;     // 1st displayed worksheet\n        $itabCur   = $this->phpExcel->getActiveSheetIndex();    // Active worksheet\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"vvvvvvvvv\", $xWn, $yWn, $dxWn, $dyWn, $grbit, $itabCur, $itabFirst, $ctabsel, $wTabRatio);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Writes Excel BIFF BOUNDSHEET record.\n     *\n     * @param PHPExcel_Worksheet  $sheet Worksheet name\n     * @param integer $offset    Location of worksheet BOF\n     */\n    private function writeBoundSheet($sheet, $offset)\n    {\n        $sheetname = $sheet->getTitle();\n        $record    = 0x0085;                    // Record identifier\n\n        // sheet state\n        switch ($sheet->getSheetState()) {\n            case PHPExcel_Worksheet::SHEETSTATE_VISIBLE:\n                $ss = 0x00;\n                break;\n            case PHPExcel_Worksheet::SHEETSTATE_HIDDEN:\n                $ss = 0x01;\n                break;\n            case PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN:\n                $ss = 0x02;\n                break;\n            default:\n                $ss = 0x00;\n                break;\n        }\n\n        // sheet type\n        $st = 0x00;\n\n        $grbit = 0x0000;                    // Visibility and sheet type\n\n        $data = pack(\"VCC\", $offset, $ss, $st);\n        $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($sheetname);\n\n        $length = strlen($data);\n        $header = pack(\"vv\", $record, $length);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write Internal SUPBOOK record\n     */\n    private function writeSupbookInternal()\n    {\n        $record    = 0x01AE;   // Record identifier\n        $length    = 0x0004;   // Bytes to follow\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"vv\", $this->phpExcel->getSheetCount(), 0x0401);\n        return $this->writeData($header . $data);\n    }\n\n    /**\n     * Writes the Excel BIFF EXTERNSHEET record. These references are used by\n     * formulas.\n     *\n     */\n    private function writeExternalsheetBiff8()\n    {\n        $totalReferences = count($this->parser->references);\n        $record = 0x0017;                     // Record identifier\n        $length = 2 + 6 * $totalReferences;  // Number of bytes to follow\n\n        $supbook_index = 0;           // FIXME: only using internal SUPBOOK record\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack('v', $totalReferences);\n        for ($i = 0; $i < $totalReferences; ++$i) {\n            $data .= $this->parser->references[$i];\n        }\n        return $this->writeData($header . $data);\n    }\n\n    /**\n     * Write Excel BIFF STYLE records.\n     */\n    private function writeStyle()\n    {\n        $record = 0x0293;   // Record identifier\n        $length = 0x0004;   // Bytes to follow\n\n        $ixfe    = 0x8000;  // Index to cell style XF\n        $BuiltIn = 0x00;     // Built-in style\n        $iLevel  = 0xff;     // Outline style level\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"vCC\", $ixfe, $BuiltIn, $iLevel);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Writes Excel FORMAT record for non \"built-in\" numerical formats.\n     *\n     * @param string  $format Custom format string\n     * @param integer $ifmt   Format index code\n     */\n    private function writeNumberFormat($format, $ifmt)\n    {\n        $record = 0x041E;    // Record identifier\n\n        $numberFormatString = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($format);\n        $length = 2 + strlen($numberFormatString);    // Number of bytes to follow\n\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"v\", $ifmt) .  $numberFormatString;\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write DATEMODE record to indicate the date system in use (1904 or 1900).\n     */\n    private function writeDateMode()\n    {\n        $record = 0x0022;   // Record identifier\n        $length = 0x0002;   // Bytes to follow\n\n        $f1904  = (PHPExcel_Shared_Date::getExcelCalendar() == PHPExcel_Shared_Date::CALENDAR_MAC_1904)\n            ? 1\n            : 0;   // Flag for 1904 date system\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"v\", $f1904);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write BIFF record EXTERNCOUNT to indicate the number of external sheet\n     * references in the workbook.\n     *\n     * Excel only stores references to external sheets that are used in NAME.\n     * The workbook NAME record is required to define the print area and the repeat\n     * rows and columns.\n     *\n     * A similar method is used in Worksheet.php for a slightly different purpose.\n     *\n     * @param integer $cxals Number of external references\n     */\n    private function writeExternalCount($cxals)\n    {\n        $record = 0x0016;   // Record identifier\n        $length = 0x0002;   // Number of bytes to follow\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"v\", $cxals);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Writes the Excel BIFF EXTERNSHEET record. These references are used by\n     * formulas. NAME record is required to define the print area and the repeat\n     * rows and columns.\n     *\n     * A similar method is used in Worksheet.php for a slightly different purpose.\n     *\n     * @param string $sheetname Worksheet name\n     */\n    private function writeExternalSheet($sheetname)\n    {\n        $record = 0x0017;                     // Record identifier\n        $length = 0x02 + strlen($sheetname);  // Number of bytes to follow\n\n        $cch    = strlen($sheetname);         // Length of sheet name\n        $rgch   = 0x03;                       // Filename encoding\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"CC\", $cch, $rgch);\n        $this->append($header . $data . $sheetname);\n    }\n\n    /**\n     * Store the NAME record in the short format that is used for storing the print\n     * area, repeat rows only and repeat columns only.\n     *\n     * @param integer $index  Sheet index\n     * @param integer $type   Built-in name type\n     * @param integer $rowmin Start row\n     * @param integer $rowmax End row\n     * @param integer $colmin Start colum\n     * @param integer $colmax End column\n     */\n    private function writeNameShort($index, $type, $rowmin, $rowmax, $colmin, $colmax)\n    {\n        $record = 0x0018;       // Record identifier\n        $length = 0x0024;       // Number of bytes to follow\n\n        $grbit  = 0x0020;       // Option flags\n        $chKey  = 0x00;         // Keyboard shortcut\n        $cch    = 0x01;         // Length of text name\n        $cce    = 0x0015;       // Length of text definition\n        $ixals  = $index + 1;   // Sheet index\n        $itab   = $ixals;       // Equal to ixals\n        $cchCustMenu    = 0x00;         // Length of cust menu text\n        $cchDescription = 0x00;         // Length of description text\n        $cchHelptopic   = 0x00;         // Length of help topic text\n        $cchStatustext  = 0x00;         // Length of status bar text\n        $rgch           = $type;        // Built-in name type\n\n        $unknown03 = 0x3b;\n        $unknown04 = 0xffff - $index;\n        $unknown05 = 0x0000;\n        $unknown06 = 0x0000;\n        $unknown07 = 0x1087;\n        $unknown08 = 0x8005;\n\n        $header = pack(\"vv\", $record, $length);\n        $data = pack(\"v\", $grbit);\n        $data .= pack(\"C\", $chKey);\n        $data .= pack(\"C\", $cch);\n        $data .= pack(\"v\", $cce);\n        $data .= pack(\"v\", $ixals);\n        $data .= pack(\"v\", $itab);\n        $data .= pack(\"C\", $cchCustMenu);\n        $data .= pack(\"C\", $cchDescription);\n        $data .= pack(\"C\", $cchHelptopic);\n        $data .= pack(\"C\", $cchStatustext);\n        $data .= pack(\"C\", $rgch);\n        $data .= pack(\"C\", $unknown03);\n        $data .= pack(\"v\", $unknown04);\n        $data .= pack(\"v\", $unknown05);\n        $data .= pack(\"v\", $unknown06);\n        $data .= pack(\"v\", $unknown07);\n        $data .= pack(\"v\", $unknown08);\n        $data .= pack(\"v\", $index);\n        $data .= pack(\"v\", $index);\n        $data .= pack(\"v\", $rowmin);\n        $data .= pack(\"v\", $rowmax);\n        $data .= pack(\"C\", $colmin);\n        $data .= pack(\"C\", $colmax);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the NAME record in the long format that is used for storing the repeat\n     * rows and columns when both are specified. This shares a lot of code with\n     * writeNameShort() but we use a separate method to keep the code clean.\n     * Code abstraction for reuse can be carried too far, and I should know. ;-)\n     *\n     * @param integer $index Sheet index\n     * @param integer $type  Built-in name type\n     * @param integer $rowmin Start row\n     * @param integer $rowmax End row\n     * @param integer $colmin Start colum\n     * @param integer $colmax End column\n     */\n    private function writeNameLong($index, $type, $rowmin, $rowmax, $colmin, $colmax)\n    {\n        $record          = 0x0018;       // Record identifier\n        $length          = 0x003d;       // Number of bytes to follow\n        $grbit           = 0x0020;       // Option flags\n        $chKey           = 0x00;         // Keyboard shortcut\n        $cch             = 0x01;         // Length of text name\n        $cce             = 0x002e;       // Length of text definition\n        $ixals           = $index + 1;   // Sheet index\n        $itab            = $ixals;       // Equal to ixals\n        $cchCustMenu     = 0x00;         // Length of cust menu text\n        $cchDescription  = 0x00;         // Length of description text\n        $cchHelptopic    = 0x00;         // Length of help topic text\n        $cchStatustext   = 0x00;         // Length of status bar text\n        $rgch            = $type;        // Built-in name type\n\n        $unknown01       = 0x29;\n        $unknown02       = 0x002b;\n        $unknown03       = 0x3b;\n        $unknown04       = 0xffff-$index;\n        $unknown05       = 0x0000;\n        $unknown06       = 0x0000;\n        $unknown07       = 0x1087;\n        $unknown08       = 0x8008;\n\n        $header = pack(\"vv\", $record, $length);\n        $data = pack(\"v\", $grbit);\n        $data .= pack(\"C\", $chKey);\n        $data .= pack(\"C\", $cch);\n        $data .= pack(\"v\", $cce);\n        $data .= pack(\"v\", $ixals);\n        $data .= pack(\"v\", $itab);\n        $data .= pack(\"C\", $cchCustMenu);\n        $data .= pack(\"C\", $cchDescription);\n        $data .= pack(\"C\", $cchHelptopic);\n        $data .= pack(\"C\", $cchStatustext);\n        $data .= pack(\"C\", $rgch);\n        $data .= pack(\"C\", $unknown01);\n        $data .= pack(\"v\", $unknown02);\n        // Column definition\n        $data .= pack(\"C\", $unknown03);\n        $data .= pack(\"v\", $unknown04);\n        $data .= pack(\"v\", $unknown05);\n        $data .= pack(\"v\", $unknown06);\n        $data .= pack(\"v\", $unknown07);\n        $data .= pack(\"v\", $unknown08);\n        $data .= pack(\"v\", $index);\n        $data .= pack(\"v\", $index);\n        $data .= pack(\"v\", 0x0000);\n        $data .= pack(\"v\", 0x3fff);\n        $data .= pack(\"C\", $colmin);\n        $data .= pack(\"C\", $colmax);\n        // Row definition\n        $data .= pack(\"C\", $unknown03);\n        $data .= pack(\"v\", $unknown04);\n        $data .= pack(\"v\", $unknown05);\n        $data .= pack(\"v\", $unknown06);\n        $data .= pack(\"v\", $unknown07);\n        $data .= pack(\"v\", $unknown08);\n        $data .= pack(\"v\", $index);\n        $data .= pack(\"v\", $index);\n        $data .= pack(\"v\", $rowmin);\n        $data .= pack(\"v\", $rowmax);\n        $data .= pack(\"C\", 0x00);\n        $data .= pack(\"C\", 0xff);\n        // End of data\n        $data .= pack(\"C\", 0x10);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Stores the COUNTRY record for localization\n     *\n     * @return string\n     */\n    private function writeCountry()\n    {\n        $record = 0x008C;    // Record identifier\n        $length = 4;         // Number of bytes to follow\n\n        $header = pack('vv', $record, $length);\n        /* using the same country code always for simplicity */\n        $data = pack('vv', $this->countryCode, $this->countryCode);\n        //$this->append($header . $data);\n        return $this->writeData($header . $data);\n    }\n\n    /**\n     * Write the RECALCID record\n     *\n     * @return string\n     */\n    private function writeRecalcId()\n    {\n        $record = 0x01C1;    // Record identifier\n        $length = 8;         // Number of bytes to follow\n\n        $header = pack('vv', $record, $length);\n\n        // by inspection of real Excel files, MS Office Excel 2007 writes this\n        $data = pack('VV', 0x000001C1, 0x00001E667);\n\n        return $this->writeData($header . $data);\n    }\n\n    /**\n     * Stores the PALETTE biff record.\n     */\n    private function writePalette()\n    {\n        $aref = $this->palette;\n\n        $record = 0x0092;                // Record identifier\n        $length = 2 + 4 * count($aref);  // Number of bytes to follow\n        $ccv    = count($aref);          // Number of RGB values to follow\n        $data = '';                      // The RGB data\n\n        // Pack the RGB data\n        foreach ($aref as $color) {\n            foreach ($color as $byte) {\n                $data .= pack(\"C\", $byte);\n            }\n        }\n\n        $header = pack(\"vvv\", $record, $length, $ccv);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Handling of the SST continue blocks is complicated by the need to include an\n     * additional continuation byte depending on whether the string is split between\n     * blocks or whether it starts at the beginning of the block. (There are also\n     * additional complications that will arise later when/if Rich Strings are\n     * supported).\n     *\n     * The Excel documentation says that the SST record should be followed by an\n     * EXTSST record. The EXTSST record is a hash table that is used to optimise\n     * access to SST. However, despite the documentation it doesn't seem to be\n     * required so we will ignore it.\n     *\n     * @return string Binary data\n     */\n    private function writeSharedStringsTable()\n    {\n        // maximum size of record data (excluding record header)\n        $continue_limit = 8224;\n\n        // initialize array of record data blocks\n        $recordDatas = array();\n\n        // start SST record data block with total number of strings, total number of unique strings\n        $recordData = pack(\"VV\", $this->stringTotal, $this->stringUnique);\n\n        // loop through all (unique) strings in shared strings table\n        foreach (array_keys($this->stringTable) as $string) {\n            // here $string is a BIFF8 encoded string\n\n            // length = character count\n            $headerinfo = unpack(\"vlength/Cencoding\", $string);\n\n            // currently, this is always 1 = uncompressed\n            $encoding = $headerinfo[\"encoding\"];\n\n            // initialize finished writing current $string\n            $finished = false;\n\n            while ($finished === false) {\n                // normally, there will be only one cycle, but if string cannot immediately be written as is\n                // there will be need for more than one cylcle, if string longer than one record data block, there\n                // may be need for even more cycles\n\n                if (strlen($recordData) + strlen($string) <= $continue_limit) {\n                    // then we can write the string (or remainder of string) without any problems\n                    $recordData .= $string;\n\n                    if (strlen($recordData) + strlen($string) == $continue_limit) {\n                        // we close the record data block, and initialize a new one\n                        $recordDatas[] = $recordData;\n                        $recordData = '';\n                    }\n\n                    // we are finished writing this string\n                    $finished = true;\n                } else {\n                    // special treatment writing the string (or remainder of the string)\n                    // If the string is very long it may need to be written in more than one CONTINUE record.\n\n                    // check how many bytes more there is room for in the current record\n                    $space_remaining = $continue_limit - strlen($recordData);\n\n                    // minimum space needed\n                    // uncompressed: 2 byte string length length field + 1 byte option flags + 2 byte character\n                    // compressed:   2 byte string length length field + 1 byte option flags + 1 byte character\n                    $min_space_needed = ($encoding == 1) ? 5 : 4;\n\n                    // We have two cases\n                    // 1. space remaining is less than minimum space needed\n                    //        here we must waste the space remaining and move to next record data block\n                    // 2. space remaining is greater than or equal to minimum space needed\n                    //        here we write as much as we can in the current block, then move to next record data block\n\n                    // 1. space remaining is less than minimum space needed\n                    if ($space_remaining < $min_space_needed) {\n                        // we close the block, store the block data\n                        $recordDatas[] = $recordData;\n\n                        // and start new record data block where we start writing the string\n                        $recordData = '';\n\n                    // 2. space remaining is greater than or equal to minimum space needed\n                    } else {\n                        // initialize effective remaining space, for Unicode strings this may need to be reduced by 1, see below\n                        $effective_space_remaining = $space_remaining;\n\n                        // for uncompressed strings, sometimes effective space remaining is reduced by 1\n                        if ($encoding == 1 && (strlen($string) - $space_remaining) % 2 == 1) {\n                            --$effective_space_remaining;\n                        }\n\n                        // one block fininshed, store the block data\n                        $recordData .= substr($string, 0, $effective_space_remaining);\n\n                        $string = substr($string, $effective_space_remaining); // for next cycle in while loop\n                        $recordDatas[] = $recordData;\n\n                        // start new record data block with the repeated option flags\n                        $recordData = pack('C', $encoding);\n                    }\n                }\n            }\n        }\n\n        // Store the last record data block unless it is empty\n        // if there was no need for any continue records, this will be the for SST record data block itself\n        if (strlen($recordData) > 0) {\n            $recordDatas[] = $recordData;\n        }\n\n        // combine into one chunk with all the blocks SST, CONTINUE,...\n        $chunk = '';\n        foreach ($recordDatas as $i => $recordData) {\n            // first block should have the SST record header, remaing should have CONTINUE header\n            $record = ($i == 0) ? 0x00FC : 0x003C;\n\n            $header = pack(\"vv\", $record, strlen($recordData));\n            $data = $header . $recordData;\n\n            $chunk .= $this->writeData($data);\n        }\n\n        return $chunk;\n    }\n\n    /**\n     * Writes the MSODRAWINGGROUP record if needed. Possibly split using CONTINUE records.\n     */\n    private function writeMsoDrawingGroup()\n    {\n        // write the Escher stream if necessary\n        if (isset($this->escher)) {\n            $writer = new PHPExcel_Writer_Excel5_Escher($this->escher);\n            $data = $writer->close();\n\n            $record = 0x00EB;\n            $length = strlen($data);\n            $header = pack(\"vv\", $record, $length);\n\n            return $this->writeData($header . $data);\n        } else {\n            return '';\n        }\n    }\n\n    /**\n     * Get Escher object\n     *\n     * @return PHPExcel_Shared_Escher\n     */\n    public function getEscher()\n    {\n        return $this->escher;\n    }\n\n    /**\n     * Set Escher object\n     *\n     * @param PHPExcel_Shared_Escher $pValue\n     */\n    public function setEscher(PHPExcel_Shared_Escher $pValue = null)\n    {\n        $this->escher = $pValue;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/Worksheet.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5_Worksheet\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n// Original file header of PEAR::Spreadsheet_Excel_Writer_Worksheet (used as the base for this class):\n// -----------------------------------------------------------------------------------------\n// /*\n// *  Module written/ported by Xavier Noguer <xnoguer@rezebra.com>\n// *\n// *  The majority of this is _NOT_ my code.  I simply ported it from the\n// *  PERL Spreadsheet::WriteExcel module.\n// *\n// *  The author of the Spreadsheet::WriteExcel module is John McNamara\n// *  <jmcnamara@cpan.org>\n// *\n// *  I _DO_ maintain this code, and John McNamara has nothing to do with the\n// *  porting of this code to PHP.  Any questions directly related to this\n// *  class library should be directed to me.\n// *\n// *  License Information:\n// *\n// *    Spreadsheet_Excel_Writer:  A library for generating Excel Spreadsheets\n// *    Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com\n// *\n// *    This library is free software; you can redistribute it and/or\n// *    modify it under the terms of the GNU Lesser General Public\n// *    License as published by the Free Software Foundation; either\n// *    version 2.1 of the License, or (at your option) any later version.\n// *\n// *    This library is distributed in the hope that it will be useful,\n// *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n// *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n// *    Lesser General Public License for more details.\n// *\n// *    You should have received a copy of the GNU Lesser General Public\n// *    License along with this library; if not, write to the Free Software\n// *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n// */\nclass PHPExcel_Writer_Excel5_Worksheet extends PHPExcel_Writer_Excel5_BIFFwriter\n{\n    /**\n     * Formula parser\n     *\n     * @var PHPExcel_Writer_Excel5_Parser\n     */\n    private $parser;\n\n    /**\n     * Maximum number of characters for a string (LABEL record in BIFF5)\n     * @var integer\n     */\n    private $xlsStringMaxLength;\n\n    /**\n     * Array containing format information for columns\n     * @var array\n     */\n    private $columnInfo;\n\n    /**\n     * Array containing the selected area for the worksheet\n     * @var array\n     */\n    private $selection;\n\n    /**\n     * The active pane for the worksheet\n     * @var integer\n     */\n    private $activePane;\n\n    /**\n     * Whether to use outline.\n     * @var integer\n     */\n    private $outlineOn;\n\n    /**\n     * Auto outline styles.\n     * @var bool\n     */\n    private $outlineStyle;\n\n    /**\n     * Whether to have outline summary below.\n     * @var bool\n     */\n    private $outlineBelow;\n\n    /**\n     * Whether to have outline summary at the right.\n     * @var bool\n     */\n    private $outlineRight;\n\n    /**\n     * Reference to the total number of strings in the workbook\n     * @var integer\n     */\n    private $stringTotal;\n\n    /**\n     * Reference to the number of unique strings in the workbook\n     * @var integer\n     */\n    private $stringUnique;\n\n    /**\n     * Reference to the array containing all the unique strings in the workbook\n     * @var array\n     */\n    private $stringTable;\n\n    /**\n     * Color cache\n     */\n    private $colors;\n\n    /**\n     * Index of first used row (at least 0)\n     * @var int\n     */\n    private $firstRowIndex;\n\n    /**\n     * Index of last used row. (no used rows means -1)\n     * @var int\n     */\n    private $lastRowIndex;\n\n    /**\n     * Index of first used column (at least 0)\n     * @var int\n     */\n    private $firstColumnIndex;\n\n    /**\n     * Index of last used column (no used columns means -1)\n     * @var int\n     */\n    private $lastColumnIndex;\n\n    /**\n     * Sheet object\n     * @var PHPExcel_Worksheet\n     */\n    public $phpSheet;\n\n    /**\n     * Count cell style Xfs\n     *\n     * @var int\n     */\n    private $countCellStyleXfs;\n\n    /**\n     * Escher object corresponding to MSODRAWING\n     *\n     * @var PHPExcel_Shared_Escher\n     */\n    private $escher;\n\n    /**\n     * Array of font hashes associated to FONT records index\n     *\n     * @var array\n     */\n    public $fontHashIndex;\n\n    /**\n     * Constructor\n     *\n     * @param int        &$str_total        Total number of strings\n     * @param int        &$str_unique    Total number of unique strings\n     * @param array        &$str_table        String Table\n     * @param array        &$colors        Colour Table\n     * @param mixed        $parser            The formula parser created for the Workbook\n     * @param boolean    $preCalculateFormulas    Flag indicating whether formulas should be calculated or just written\n     * @param string    $phpSheet        The worksheet to write\n     * @param PHPExcel_Worksheet $phpSheet\n     */\n    public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, $parser, $preCalculateFormulas, $phpSheet)\n    {\n        // It needs to call its parent's constructor explicitly\n        parent::__construct();\n\n        // change BIFFwriter limit for CONTINUE records\n//        $this->_limit = 8224;\n\n\n        $this->_preCalculateFormulas = $preCalculateFormulas;\n        $this->stringTotal        = &$str_total;\n        $this->stringUnique        = &$str_unique;\n        $this->stringTable        = &$str_table;\n        $this->colors            = &$colors;\n        $this->parser            = $parser;\n\n        $this->phpSheet = $phpSheet;\n\n        //$this->ext_sheets        = array();\n        //$this->offset            = 0;\n        $this->xlsStringMaxLength = 255;\n        $this->columnInfo  = array();\n        $this->selection   = array(0,0,0,0);\n        $this->activePane  = 3;\n\n        $this->_print_headers = 0;\n\n        $this->outlineStyle  = 0;\n        $this->outlineBelow  = 1;\n        $this->outlineRight  = 1;\n        $this->outlineOn     = 1;\n\n        $this->fontHashIndex = array();\n\n        // calculate values for DIMENSIONS record\n        $minR = 1;\n        $minC = 'A';\n\n        $maxR  = $this->phpSheet->getHighestRow();\n        $maxC = $this->phpSheet->getHighestColumn();\n\n        // Determine lowest and highest column and row\n//        $this->firstRowIndex = ($minR > 65535) ? 65535 : $minR;\n        $this->lastRowIndex = ($maxR > 65535) ? 65535 : $maxR ;\n\n        $this->firstColumnIndex = PHPExcel_Cell::columnIndexFromString($minC);\n        $this->lastColumnIndex  = PHPExcel_Cell::columnIndexFromString($maxC);\n\n//        if ($this->firstColumnIndex > 255) $this->firstColumnIndex = 255;\n        if ($this->lastColumnIndex > 255) {\n            $this->lastColumnIndex = 255;\n        }\n\n        $this->countCellStyleXfs = count($phpSheet->getParent()->getCellStyleXfCollection());\n    }\n\n    /**\n     * Add data to the beginning of the workbook (note the reverse order)\n     * and to the end of the workbook.\n     *\n     * @access public\n     * @see PHPExcel_Writer_Excel5_Workbook::storeWorkbook()\n     */\n    public function close()\n    {\n        $phpSheet = $this->phpSheet;\n\n        $num_sheets = $phpSheet->getParent()->getSheetCount();\n\n        // Write BOF record\n        $this->storeBof(0x0010);\n\n        // Write PRINTHEADERS\n        $this->writePrintHeaders();\n\n        // Write PRINTGRIDLINES\n        $this->writePrintGridlines();\n\n        // Write GRIDSET\n        $this->writeGridset();\n\n        // Calculate column widths\n        $phpSheet->calculateColumnWidths();\n\n        // Column dimensions\n        if (($defaultWidth = $phpSheet->getDefaultColumnDimension()->getWidth()) < 0) {\n            $defaultWidth = PHPExcel_Shared_Font::getDefaultColumnWidthByFont($phpSheet->getParent()->getDefaultStyle()->getFont());\n        }\n\n        $columnDimensions = $phpSheet->getColumnDimensions();\n        $maxCol = $this->lastColumnIndex -1;\n        for ($i = 0; $i <= $maxCol; ++$i) {\n            $hidden = 0;\n            $level = 0;\n            $xfIndex = 15; // there are 15 cell style Xfs\n\n            $width = $defaultWidth;\n\n            $columnLetter = PHPExcel_Cell::stringFromColumnIndex($i);\n            if (isset($columnDimensions[$columnLetter])) {\n                $columnDimension = $columnDimensions[$columnLetter];\n                if ($columnDimension->getWidth() >= 0) {\n                    $width = $columnDimension->getWidth();\n                }\n                $hidden = $columnDimension->getVisible() ? 0 : 1;\n                $level = $columnDimension->getOutlineLevel();\n                $xfIndex = $columnDimension->getXfIndex() + 15; // there are 15 cell style Xfs\n            }\n\n            // Components of columnInfo:\n            // $firstcol first column on the range\n            // $lastcol  last column on the range\n            // $width    width to set\n            // $xfIndex  The optional cell style Xf index to apply to the columns\n            // $hidden   The optional hidden atribute\n            // $level    The optional outline level\n            $this->columnInfo[] = array($i, $i, $width, $xfIndex, $hidden, $level);\n        }\n\n        // Write GUTS\n        $this->writeGuts();\n\n        // Write DEFAULTROWHEIGHT\n        $this->writeDefaultRowHeight();\n        // Write WSBOOL\n        $this->writeWsbool();\n        // Write horizontal and vertical page breaks\n        $this->writeBreaks();\n        // Write page header\n        $this->writeHeader();\n        // Write page footer\n        $this->writeFooter();\n        // Write page horizontal centering\n        $this->writeHcenter();\n        // Write page vertical centering\n        $this->writeVcenter();\n        // Write left margin\n        $this->writeMarginLeft();\n        // Write right margin\n        $this->writeMarginRight();\n        // Write top margin\n        $this->writeMarginTop();\n        // Write bottom margin\n        $this->writeMarginBottom();\n        // Write page setup\n        $this->writeSetup();\n        // Write sheet protection\n        $this->writeProtect();\n        // Write SCENPROTECT\n        $this->writeScenProtect();\n        // Write OBJECTPROTECT\n        $this->writeObjectProtect();\n        // Write sheet password\n        $this->writePassword();\n        // Write DEFCOLWIDTH record\n        $this->writeDefcol();\n\n        // Write the COLINFO records if they exist\n        if (!empty($this->columnInfo)) {\n            $colcount = count($this->columnInfo);\n            for ($i = 0; $i < $colcount; ++$i) {\n                $this->writeColinfo($this->columnInfo[$i]);\n            }\n        }\n        $autoFilterRange = $phpSheet->getAutoFilter()->getRange();\n        if (!empty($autoFilterRange)) {\n            // Write AUTOFILTERINFO\n            $this->writeAutoFilterInfo();\n        }\n\n        // Write sheet dimensions\n        $this->writeDimensions();\n\n        // Row dimensions\n        foreach ($phpSheet->getRowDimensions() as $rowDimension) {\n            $xfIndex = $rowDimension->getXfIndex() + 15; // there are 15 cellXfs\n            $this->writeRow($rowDimension->getRowIndex() - 1, $rowDimension->getRowHeight(), $xfIndex, ($rowDimension->getVisible() ? '0' : '1'), $rowDimension->getOutlineLevel());\n        }\n\n        // Write Cells\n        foreach ($phpSheet->getCellCollection() as $cellID) {\n            $cell = $phpSheet->getCell($cellID);\n            $row = $cell->getRow() - 1;\n            $column = PHPExcel_Cell::columnIndexFromString($cell->getColumn()) - 1;\n\n            // Don't break Excel!\n//            if ($row + 1 > 65536 or $column + 1 > 256) {\n            if ($row > 65535 || $column > 255) {\n                break;\n            }\n\n            // Write cell value\n            $xfIndex = $cell->getXfIndex() + 15; // there are 15 cell style Xfs\n\n            $cVal = $cell->getValue();\n            if ($cVal instanceof PHPExcel_RichText) {\n                // $this->writeString($row, $column, $cVal->getPlainText(), $xfIndex);\n                $arrcRun = array();\n                $str_len = PHPExcel_Shared_String::CountCharacters($cVal->getPlainText(), 'UTF-8');\n                $str_pos = 0;\n                $elements = $cVal->getRichTextElements();\n                foreach ($elements as $element) {\n                    // FONT Index\n                    if ($element instanceof PHPExcel_RichText_Run) {\n                        $str_fontidx = $this->fontHashIndex[$element->getFont()->getHashCode()];\n                    } else {\n                        $str_fontidx = 0;\n                    }\n                    $arrcRun[] = array('strlen' => $str_pos, 'fontidx' => $str_fontidx);\n                    // Position FROM\n                    $str_pos += PHPExcel_Shared_String::CountCharacters($element->getText(), 'UTF-8');\n                }\n                $this->writeRichTextString($row, $column, $cVal->getPlainText(), $xfIndex, $arrcRun);\n            } else {\n                switch ($cell->getDatatype()) {\n                    case PHPExcel_Cell_DataType::TYPE_STRING:\n                    case PHPExcel_Cell_DataType::TYPE_NULL:\n                        if ($cVal === '' || $cVal === null) {\n                            $this->writeBlank($row, $column, $xfIndex);\n                        } else {\n                            $this->writeString($row, $column, $cVal, $xfIndex);\n                        }\n                        break;\n\n                    case PHPExcel_Cell_DataType::TYPE_NUMERIC:\n                        $this->writeNumber($row, $column, $cVal, $xfIndex);\n                        break;\n\n                    case PHPExcel_Cell_DataType::TYPE_FORMULA:\n                        $calculatedValue = $this->_preCalculateFormulas ?\n                            $cell->getCalculatedValue() : null;\n                        $this->writeFormula($row, $column, $cVal, $xfIndex, $calculatedValue);\n                        break;\n\n                    case PHPExcel_Cell_DataType::TYPE_BOOL:\n                        $this->writeBoolErr($row, $column, $cVal, 0, $xfIndex);\n                        break;\n\n                    case PHPExcel_Cell_DataType::TYPE_ERROR:\n                        $this->writeBoolErr($row, $column, self::mapErrorCode($cVal), 1, $xfIndex);\n                        break;\n\n                }\n            }\n        }\n\n        // Append\n        $this->writeMsoDrawing();\n\n        // Write WINDOW2 record\n        $this->writeWindow2();\n\n        // Write PLV record\n        $this->writePageLayoutView();\n\n        // Write ZOOM record\n        $this->writeZoom();\n        if ($phpSheet->getFreezePane()) {\n            $this->writePanes();\n        }\n\n        // Write SELECTION record\n        $this->writeSelection();\n\n        // Write MergedCellsTable Record\n        $this->writeMergedCells();\n\n        // Hyperlinks\n        foreach ($phpSheet->getHyperLinkCollection() as $coordinate => $hyperlink) {\n            list($column, $row) = PHPExcel_Cell::coordinateFromString($coordinate);\n\n            $url = $hyperlink->getUrl();\n\n            if (strpos($url, 'sheet://') !== false) {\n                // internal to current workbook\n                $url = str_replace('sheet://', 'internal:', $url);\n\n            } elseif (preg_match('/^(http:|https:|ftp:|mailto:)/', $url)) {\n                // URL\n                // $url = $url;\n\n            } else {\n                // external (local file)\n                $url = 'external:' . $url;\n            }\n\n            $this->writeUrl($row - 1, PHPExcel_Cell::columnIndexFromString($column) - 1, $url);\n        }\n\n        $this->writeDataValidity();\n        $this->writeSheetLayout();\n\n        // Write SHEETPROTECTION record\n        $this->writeSheetProtection();\n        $this->writeRangeProtection();\n\n        $arrConditionalStyles = $phpSheet->getConditionalStylesCollection();\n        if (!empty($arrConditionalStyles)) {\n            $arrConditional = array();\n            // @todo CFRule & CFHeader\n            // Write CFHEADER record\n            $this->writeCFHeader();\n            // Write ConditionalFormattingTable records\n            foreach ($arrConditionalStyles as $cellCoordinate => $conditionalStyles) {\n                foreach ($conditionalStyles as $conditional) {\n                    if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION\n                        || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS) {\n                        if (!in_array($conditional->getHashCode(), $arrConditional)) {\n                            $arrConditional[] = $conditional->getHashCode();\n                            // Write CFRULE record\n                            $this->writeCFRule($conditional);\n                        }\n                    }\n                }\n            }\n        }\n\n        $this->storeEof();\n    }\n\n    /**\n     * Write a cell range address in BIFF8\n     * always fixed range\n     * See section 2.5.14 in OpenOffice.org's Documentation of the Microsoft Excel File Format\n     *\n     * @param string $range E.g. 'A1' or 'A1:B6'\n     * @return string Binary data\n     */\n    private function writeBIFF8CellRangeAddressFixed($range = 'A1')\n    {\n        $explodes = explode(':', $range);\n\n        // extract first cell, e.g. 'A1'\n        $firstCell = $explodes[0];\n\n        // extract last cell, e.g. 'B6'\n        if (count($explodes) == 1) {\n            $lastCell = $firstCell;\n        } else {\n            $lastCell = $explodes[1];\n        }\n\n        $firstCellCoordinates = PHPExcel_Cell::coordinateFromString($firstCell); // e.g. array(0, 1)\n        $lastCellCoordinates  = PHPExcel_Cell::coordinateFromString($lastCell);  // e.g. array(1, 6)\n\n        return pack('vvvv', $firstCellCoordinates[1] - 1, $lastCellCoordinates[1] - 1, PHPExcel_Cell::columnIndexFromString($firstCellCoordinates[0]) - 1, PHPExcel_Cell::columnIndexFromString($lastCellCoordinates[0]) - 1);\n    }\n\n    /**\n     * Retrieves data from memory in one chunk, or from disk in $buffer\n     * sized chunks.\n     *\n     * @return string The data\n     */\n    public function getData()\n    {\n        $buffer = 4096;\n\n        // Return data stored in memory\n        if (isset($this->_data)) {\n            $tmp   = $this->_data;\n            unset($this->_data);\n            return $tmp;\n        }\n        // No data to return\n        return false;\n    }\n\n    /**\n     * Set the option to print the row and column headers on the printed page.\n     *\n     * @access public\n     * @param integer $print Whether to print the headers or not. Defaults to 1 (print).\n     */\n    public function printRowColHeaders($print = 1)\n    {\n        $this->_print_headers = $print;\n    }\n\n    /**\n     * This method sets the properties for outlining and grouping. The defaults\n     * correspond to Excel's defaults.\n     *\n     * @param bool $visible\n     * @param bool $symbols_below\n     * @param bool $symbols_right\n     * @param bool $auto_style\n     */\n    public function setOutline($visible = true, $symbols_below = true, $symbols_right = true, $auto_style = false)\n    {\n        $this->outlineOn    = $visible;\n        $this->outlineBelow = $symbols_below;\n        $this->outlineRight = $symbols_right;\n        $this->outlineStyle = $auto_style;\n\n        // Ensure this is a boolean vale for Window2\n        if ($this->outlineOn) {\n            $this->outlineOn = 1;\n        }\n    }\n\n    /**\n     * Write a double to the specified row and column (zero indexed).\n     * An integer can be written as a double. Excel will display an\n     * integer. $format is optional.\n     *\n     * Returns  0 : normal termination\n     *         -2 : row or column out of range\n     *\n     * @param integer $row    Zero indexed row\n     * @param integer $col    Zero indexed column\n     * @param float   $num    The number to write\n     * @param mixed   $xfIndex The optional XF format\n     * @return integer\n     */\n    private function writeNumber($row, $col, $num, $xfIndex)\n    {\n        $record    = 0x0203;                 // Record identifier\n        $length    = 0x000E;                 // Number of bytes to follow\n\n        $header        = pack(\"vv\", $record, $length);\n        $data        = pack(\"vvv\", $row, $col, $xfIndex);\n        $xl_double    = pack(\"d\", $num);\n        if (self::getByteOrder()) { // if it's Big Endian\n            $xl_double = strrev($xl_double);\n        }\n\n        $this->append($header.$data.$xl_double);\n        return(0);\n    }\n\n    /**\n     * Write a LABELSST record or a LABEL record. Which one depends on BIFF version\n     *\n     * @param int $row Row index (0-based)\n     * @param int $col Column index (0-based)\n     * @param string $str The string\n     * @param int $xfIndex Index to XF record\n     */\n    private function writeString($row, $col, $str, $xfIndex)\n    {\n        $this->writeLabelSst($row, $col, $str, $xfIndex);\n    }\n\n    /**\n     * Write a LABELSST record or a LABEL record. Which one depends on BIFF version\n     * It differs from writeString by the writing of rich text strings.\n     * @param int $row Row index (0-based)\n     * @param int $col Column index (0-based)\n     * @param string $str The string\n     * @param mixed   $xfIndex The XF format index for the cell\n     * @param array $arrcRun Index to Font record and characters beginning\n     */\n    private function writeRichTextString($row, $col, $str, $xfIndex, $arrcRun)\n    {\n        $record    = 0x00FD;                   // Record identifier\n        $length    = 0x000A;                   // Bytes to follow\n        $str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($str, $arrcRun);\n\n        /* check if string is already present */\n        if (!isset($this->stringTable[$str])) {\n            $this->stringTable[$str] = $this->stringUnique++;\n        }\n        $this->stringTotal++;\n\n        $header    = pack('vv', $record, $length);\n        $data    = pack('vvvV', $row, $col, $xfIndex, $this->stringTable[$str]);\n        $this->append($header.$data);\n    }\n\n    /**\n     * Write a string to the specified row and column (zero indexed).\n     * NOTE: there is an Excel 5 defined limit of 255 characters.\n     * $format is optional.\n     * Returns  0 : normal termination\n     *         -2 : row or column out of range\n     *         -3 : long string truncated to 255 chars\n     *\n     * @access public\n     * @param integer $row    Zero indexed row\n     * @param integer $col    Zero indexed column\n     * @param string  $str    The string to write\n     * @param mixed   $xfIndex The XF format index for the cell\n     * @return integer\n     */\n    private function writeLabel($row, $col, $str, $xfIndex)\n    {\n        $strlen    = strlen($str);\n        $record    = 0x0204;                   // Record identifier\n        $length    = 0x0008 + $strlen;         // Bytes to follow\n\n        $str_error = 0;\n\n        if ($strlen > $this->xlsStringMaxLength) { // LABEL must be < 255 chars\n            $str    = substr($str, 0, $this->xlsStringMaxLength);\n            $length    = 0x0008 + $this->xlsStringMaxLength;\n            $strlen    = $this->xlsStringMaxLength;\n            $str_error = -3;\n        }\n\n        $header    = pack(\"vv\", $record, $length);\n        $data    = pack(\"vvvv\", $row, $col, $xfIndex, $strlen);\n        $this->append($header . $data . $str);\n        return($str_error);\n    }\n\n    /**\n     * Write a string to the specified row and column (zero indexed).\n     * This is the BIFF8 version (no 255 chars limit).\n     * $format is optional.\n     * Returns  0 : normal termination\n     *         -2 : row or column out of range\n     *         -3 : long string truncated to 255 chars\n     *\n     * @access public\n     * @param integer $row    Zero indexed row\n     * @param integer $col    Zero indexed column\n     * @param string  $str    The string to write\n     * @param mixed   $xfIndex The XF format index for the cell\n     * @return integer\n     */\n    private function writeLabelSst($row, $col, $str, $xfIndex)\n    {\n        $record    = 0x00FD;                   // Record identifier\n        $length    = 0x000A;                   // Bytes to follow\n\n        $str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($str);\n\n        /* check if string is already present */\n        if (!isset($this->stringTable[$str])) {\n            $this->stringTable[$str] = $this->stringUnique++;\n        }\n        $this->stringTotal++;\n\n        $header    = pack('vv', $record, $length);\n        $data    = pack('vvvV', $row, $col, $xfIndex, $this->stringTable[$str]);\n        $this->append($header.$data);\n    }\n\n    /**\n     * Writes a note associated with the cell given by the row and column.\n     * NOTE records don't have a length limit.\n     *\n     * @param integer $row    Zero indexed row\n     * @param integer $col    Zero indexed column\n     * @param string  $note   The note to write\n     */\n    private function writeNote($row, $col, $note)\n    {\n        $note_length    = strlen($note);\n        $record            = 0x001C;            // Record identifier\n        $max_length        = 2048;                // Maximun length for a NOTE record\n\n        // Length for this record is no more than 2048 + 6\n        $length    = 0x0006 + min($note_length, 2048);\n        $header    = pack(\"vv\", $record, $length);\n        $data    = pack(\"vvv\", $row, $col, $note_length);\n        $this->append($header . $data . substr($note, 0, 2048));\n\n        for ($i = $max_length; $i < $note_length; $i += $max_length) {\n            $chunk  = substr($note, $i, $max_length);\n            $length = 0x0006 + strlen($chunk);\n            $header = pack(\"vv\", $record, $length);\n            $data   = pack(\"vvv\", -1, 0, strlen($chunk));\n            $this->append($header.$data.$chunk);\n        }\n        return(0);\n    }\n\n    /**\n     * Write a blank cell to the specified row and column (zero indexed).\n     * A blank cell is used to specify formatting without adding a string\n     * or a number.\n     *\n     * A blank cell without a format serves no purpose. Therefore, we don't write\n     * a BLANK record unless a format is specified.\n     *\n     * Returns  0 : normal termination (including no format)\n     *         -1 : insufficient number of arguments\n     *         -2 : row or column out of range\n     *\n     * @param integer $row    Zero indexed row\n     * @param integer $col    Zero indexed column\n     * @param mixed   $xfIndex The XF format index\n     */\n    public function writeBlank($row, $col, $xfIndex)\n    {\n        $record    = 0x0201;                 // Record identifier\n        $length    = 0x0006;                 // Number of bytes to follow\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"vvv\", $row, $col, $xfIndex);\n        $this->append($header . $data);\n        return 0;\n    }\n\n    /**\n     * Write a boolean or an error type to the specified row and column (zero indexed)\n     *\n     * @param int $row Row index (0-based)\n     * @param int $col Column index (0-based)\n     * @param int $value\n     * @param boolean $isError Error or Boolean?\n     * @param int $xfIndex\n     */\n    private function writeBoolErr($row, $col, $value, $isError, $xfIndex)\n    {\n        $record = 0x0205;\n        $length = 8;\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"vvvCC\", $row, $col, $xfIndex, $value, $isError);\n        $this->append($header . $data);\n        return 0;\n    }\n\n    /**\n     * Write a formula to the specified row and column (zero indexed).\n     * The textual representation of the formula is passed to the parser in\n     * Parser.php which returns a packed binary string.\n     *\n     * Returns  0 : normal termination\n     *         -1 : formula errors (bad formula)\n     *         -2 : row or column out of range\n     *\n     * @param integer $row     Zero indexed row\n     * @param integer $col     Zero indexed column\n     * @param string  $formula The formula text string\n     * @param mixed   $xfIndex  The XF format index\n     * @param mixed   $calculatedValue  Calculated value\n     * @return integer\n     */\n    private function writeFormula($row, $col, $formula, $xfIndex, $calculatedValue)\n    {\n        $record    = 0x0006;     // Record identifier\n\n        // Initialize possible additional value for STRING record that should be written after the FORMULA record?\n        $stringValue = null;\n\n        // calculated value\n        if (isset($calculatedValue)) {\n            // Since we can't yet get the data type of the calculated value,\n            // we use best effort to determine data type\n            if (is_bool($calculatedValue)) {\n                // Boolean value\n                $num = pack('CCCvCv', 0x01, 0x00, (int)$calculatedValue, 0x00, 0x00, 0xFFFF);\n            } elseif (is_int($calculatedValue) || is_float($calculatedValue)) {\n                // Numeric value\n                $num = pack('d', $calculatedValue);\n            } elseif (is_string($calculatedValue)) {\n                if (array_key_exists($calculatedValue, PHPExcel_Cell_DataType::getErrorCodes())) {\n                    // Error value\n                    $num = pack('CCCvCv', 0x02, 0x00, self::mapErrorCode($calculatedValue), 0x00, 0x00, 0xFFFF);\n                } elseif ($calculatedValue === '') {\n                    // Empty string (and BIFF8)\n                    $num = pack('CCCvCv', 0x03, 0x00, 0x00, 0x00, 0x00, 0xFFFF);\n                } else {\n                    // Non-empty string value (or empty string BIFF5)\n                    $stringValue = $calculatedValue;\n                    $num = pack('CCCvCv', 0x00, 0x00, 0x00, 0x00, 0x00, 0xFFFF);\n                }\n            } else {\n                // We are really not supposed to reach here\n                $num = pack('d', 0x00);\n            }\n        } else {\n            $num = pack('d', 0x00);\n        }\n\n        $grbit        = 0x03;                // Option flags\n        $unknown    = 0x0000;            // Must be zero\n\n        // Strip the '=' or '@' sign at the beginning of the formula string\n        if ($formula{0} == '=') {\n            $formula = substr($formula, 1);\n        } else {\n            // Error handling\n            $this->writeString($row, $col, 'Unrecognised character for formula');\n            return -1;\n        }\n\n        // Parse the formula using the parser in Parser.php\n        try {\n            $error = $this->parser->parse($formula);\n            $formula = $this->parser->toReversePolish();\n\n            $formlen    = strlen($formula);    // Length of the binary string\n            $length     = 0x16 + $formlen;     // Length of the record data\n\n            $header    = pack(\"vv\", $record, $length);\n\n            $data      = pack(\"vvv\", $row, $col, $xfIndex)\n                        . $num\n                        . pack(\"vVv\", $grbit, $unknown, $formlen);\n            $this->append($header . $data . $formula);\n\n            // Append also a STRING record if necessary\n            if ($stringValue !== null) {\n                $this->writeStringRecord($stringValue);\n            }\n\n            return 0;\n\n        } catch (PHPExcel_Exception $e) {\n            // do nothing\n        }\n\n    }\n\n    /**\n     * Write a STRING record. This\n     *\n     * @param string $stringValue\n     */\n    private function writeStringRecord($stringValue)\n    {\n        $record = 0x0207;     // Record identifier\n        $data = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($stringValue);\n\n        $length = strlen($data);\n        $header = pack('vv', $record, $length);\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write a hyperlink.\n     * This is comprised of two elements: the visible label and\n     * the invisible link. The visible label is the same as the link unless an\n     * alternative string is specified. The label is written using the\n     * writeString() method. Therefore the 255 characters string limit applies.\n     * $string and $format are optional.\n     *\n     * The hyperlink can be to a http, ftp, mail, internal sheet (not yet), or external\n     * directory url.\n     *\n     * Returns  0 : normal termination\n     *         -2 : row or column out of range\n     *         -3 : long string truncated to 255 chars\n     *\n     * @param integer $row    Row\n     * @param integer $col    Column\n     * @param string  $url    URL string\n     * @return integer\n     */\n    private function writeUrl($row, $col, $url)\n    {\n        // Add start row and col to arg list\n        return($this->writeUrlRange($row, $col, $row, $col, $url));\n    }\n\n    /**\n     * This is the more general form of writeUrl(). It allows a hyperlink to be\n     * written to a range of cells. This function also decides the type of hyperlink\n     * to be written. These are either, Web (http, ftp, mailto), Internal\n     * (Sheet1!A1) or external ('c:\\temp\\foo.xls#Sheet1!A1').\n     *\n     * @access private\n     * @see writeUrl()\n     * @param integer $row1   Start row\n     * @param integer $col1   Start column\n     * @param integer $row2   End row\n     * @param integer $col2   End column\n     * @param string  $url    URL string\n     * @return integer\n     */\n    public function writeUrlRange($row1, $col1, $row2, $col2, $url)\n    {\n        // Check for internal/external sheet links or default to web link\n        if (preg_match('[^internal:]', $url)) {\n            return($this->writeUrlInternal($row1, $col1, $row2, $col2, $url));\n        }\n        if (preg_match('[^external:]', $url)) {\n            return($this->writeUrlExternal($row1, $col1, $row2, $col2, $url));\n        }\n        return($this->writeUrlWeb($row1, $col1, $row2, $col2, $url));\n    }\n\n    /**\n     * Used to write http, ftp and mailto hyperlinks.\n     * The link type ($options) is 0x03 is the same as absolute dir ref without\n     * sheet. However it is differentiated by the $unknown2 data stream.\n     *\n     * @access private\n     * @see writeUrl()\n     * @param integer $row1   Start row\n     * @param integer $col1   Start column\n     * @param integer $row2   End row\n     * @param integer $col2   End column\n     * @param string  $url    URL string\n     * @return integer\n     */\n    public function writeUrlWeb($row1, $col1, $row2, $col2, $url)\n    {\n        $record      = 0x01B8;                       // Record identifier\n        $length      = 0x00000;                      // Bytes to follow\n\n        // Pack the undocumented parts of the hyperlink stream\n        $unknown1    = pack(\"H*\", \"D0C9EA79F9BACE118C8200AA004BA90B02000000\");\n        $unknown2    = pack(\"H*\", \"E0C9EA79F9BACE118C8200AA004BA90B\");\n\n        // Pack the option flags\n        $options     = pack(\"V\", 0x03);\n\n        // Convert URL to a null terminated wchar string\n        $url         = join(\"\\0\", preg_split(\"''\", $url, -1, PREG_SPLIT_NO_EMPTY));\n        $url         = $url . \"\\0\\0\\0\";\n\n        // Pack the length of the URL\n        $url_len     = pack(\"V\", strlen($url));\n\n        // Calculate the data length\n        $length      = 0x34 + strlen($url);\n\n        // Pack the header data\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"vvvv\", $row1, $row2, $col1, $col2);\n\n        // Write the packed data\n        $this->append($header . $data .\n                       $unknown1 . $options .\n                       $unknown2 . $url_len . $url);\n        return 0;\n    }\n\n    /**\n     * Used to write internal reference hyperlinks such as \"Sheet1!A1\".\n     *\n     * @access private\n     * @see writeUrl()\n     * @param integer $row1   Start row\n     * @param integer $col1   Start column\n     * @param integer $row2   End row\n     * @param integer $col2   End column\n     * @param string  $url    URL string\n     * @return integer\n     */\n    public function writeUrlInternal($row1, $col1, $row2, $col2, $url)\n    {\n        $record      = 0x01B8;                       // Record identifier\n        $length      = 0x00000;                      // Bytes to follow\n\n        // Strip URL type\n        $url = preg_replace('/^internal:/', '', $url);\n\n        // Pack the undocumented parts of the hyperlink stream\n        $unknown1    = pack(\"H*\", \"D0C9EA79F9BACE118C8200AA004BA90B02000000\");\n\n        // Pack the option flags\n        $options     = pack(\"V\", 0x08);\n\n        // Convert the URL type and to a null terminated wchar string\n        $url .= \"\\0\";\n\n        // character count\n        $url_len = PHPExcel_Shared_String::CountCharacters($url);\n        $url_len = pack('V', $url_len);\n\n        $url = PHPExcel_Shared_String::ConvertEncoding($url, 'UTF-16LE', 'UTF-8');\n\n        // Calculate the data length\n        $length      = 0x24 + strlen($url);\n\n        // Pack the header data\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"vvvv\", $row1, $row2, $col1, $col2);\n\n        // Write the packed data\n        $this->append($header . $data .\n                       $unknown1 . $options .\n                       $url_len . $url);\n        return 0;\n    }\n\n    /**\n     * Write links to external directory names such as 'c:\\foo.xls',\n     * c:\\foo.xls#Sheet1!A1', '../../foo.xls'. and '../../foo.xls#Sheet1!A1'.\n     *\n     * Note: Excel writes some relative links with the $dir_long string. We ignore\n     * these cases for the sake of simpler code.\n     *\n     * @access private\n     * @see writeUrl()\n     * @param integer $row1   Start row\n     * @param integer $col1   Start column\n     * @param integer $row2   End row\n     * @param integer $col2   End column\n     * @param string  $url    URL string\n     * @return integer\n     */\n    public function writeUrlExternal($row1, $col1, $row2, $col2, $url)\n    {\n        // Network drives are different. We will handle them separately\n        // MS/Novell network drives and shares start with \\\\\n        if (preg_match('[^external:\\\\\\\\]', $url)) {\n            return; //($this->writeUrlExternal_net($row1, $col1, $row2, $col2, $url, $str, $format));\n        }\n\n        $record      = 0x01B8;                       // Record identifier\n        $length      = 0x00000;                      // Bytes to follow\n\n        // Strip URL type and change Unix dir separator to Dos style (if needed)\n        //\n        $url = preg_replace('/^external:/', '', $url);\n        $url = preg_replace('/\\//', \"\\\\\", $url);\n\n        // Determine if the link is relative or absolute:\n        //   relative if link contains no dir separator, \"somefile.xls\"\n        //   relative if link starts with up-dir, \"..\\..\\somefile.xls\"\n        //   otherwise, absolute\n\n        $absolute = 0x00; // relative path\n        if (preg_match('/^[A-Z]:/', $url)) {\n            $absolute = 0x02; // absolute path on Windows, e.g. C:\\...\n        }\n        $link_type               = 0x01 | $absolute;\n\n        // Determine if the link contains a sheet reference and change some of the\n        // parameters accordingly.\n        // Split the dir name and sheet name (if it exists)\n        $dir_long = $url;\n        if (preg_match(\"/\\#/\", $url)) {\n            $link_type |= 0x08;\n        }\n\n\n        // Pack the link type\n        $link_type   = pack(\"V\", $link_type);\n\n        // Calculate the up-level dir count e.g.. (..\\..\\..\\ == 3)\n        $up_count    = preg_match_all(\"/\\.\\.\\\\\\/\", $dir_long, $useless);\n        $up_count    = pack(\"v\", $up_count);\n\n        // Store the short dos dir name (null terminated)\n        $dir_short   = preg_replace(\"/\\.\\.\\\\\\/\", '', $dir_long) . \"\\0\";\n\n        // Store the long dir name as a wchar string (non-null terminated)\n        $dir_long       = $dir_long . \"\\0\";\n\n        // Pack the lengths of the dir strings\n        $dir_short_len = pack(\"V\", strlen($dir_short));\n        $dir_long_len  = pack(\"V\", strlen($dir_long));\n        $stream_len    = pack(\"V\", 0); //strlen($dir_long) + 0x06);\n\n        // Pack the undocumented parts of the hyperlink stream\n        $unknown1 = pack(\"H*\", 'D0C9EA79F9BACE118C8200AA004BA90B02000000');\n        $unknown2 = pack(\"H*\", '0303000000000000C000000000000046');\n        $unknown3 = pack(\"H*\", 'FFFFADDE000000000000000000000000000000000000000');\n        $unknown4 = pack(\"v\", 0x03);\n\n        // Pack the main data stream\n        $data        = pack(\"vvvv\", $row1, $row2, $col1, $col2) .\n                          $unknown1     .\n                          $link_type    .\n                          $unknown2     .\n                          $up_count     .\n                          $dir_short_len.\n                          $dir_short    .\n                          $unknown3     .\n                          $stream_len   ;/*.\n                          $dir_long_len .\n                          $unknown4     .\n                          $dir_long     .\n                          $sheet_len    .\n                          $sheet        ;*/\n\n        // Pack the header data\n        $length   = strlen($data);\n        $header   = pack(\"vv\", $record, $length);\n\n        // Write the packed data\n        $this->append($header. $data);\n        return 0;\n    }\n\n    /**\n     * This method is used to set the height and format for a row.\n     *\n     * @param integer $row    The row to set\n     * @param integer $height Height we are giving to the row.\n     *                        Use null to set XF without setting height\n     * @param integer $xfIndex  The optional cell style Xf index to apply to the columns\n     * @param bool    $hidden The optional hidden attribute\n     * @param integer $level  The optional outline level for row, in range [0,7]\n     */\n    private function writeRow($row, $height, $xfIndex, $hidden = false, $level = 0)\n    {\n        $record      = 0x0208;               // Record identifier\n        $length      = 0x0010;               // Number of bytes to follow\n\n        $colMic      = 0x0000;               // First defined column\n        $colMac      = 0x0000;               // Last defined column\n        $irwMac      = 0x0000;               // Used by Excel to optimise loading\n        $reserved    = 0x0000;               // Reserved\n        $grbit       = 0x0000;               // Option flags\n        $ixfe        = $xfIndex;\n\n        if ($height < 0) {\n            $height = null;\n        }\n\n        // Use writeRow($row, null, $XF) to set XF format without setting height\n        if ($height != null) {\n            $miyRw = $height * 20;  // row height\n        } else {\n            $miyRw = 0xff;          // default row height is 256\n        }\n\n        // Set the options flags. fUnsynced is used to show that the font and row\n        // heights are not compatible. This is usually the case for WriteExcel.\n        // The collapsed flag 0x10 doesn't seem to be used to indicate that a row\n        // is collapsed. Instead it is used to indicate that the previous row is\n        // collapsed. The zero height flag, 0x20, is used to collapse a row.\n\n        $grbit |= $level;\n        if ($hidden) {\n            $grbit |= 0x0030;\n        }\n        if ($height !== null) {\n            $grbit |= 0x0040; // fUnsynced\n        }\n        if ($xfIndex !== 0xF) {\n            $grbit |= 0x0080;\n        }\n        $grbit |= 0x0100;\n\n        $header   = pack(\"vv\", $record, $length);\n        $data     = pack(\"vvvvvvvv\", $row, $colMic, $colMac, $miyRw, $irwMac, $reserved, $grbit, $ixfe);\n        $this->append($header.$data);\n    }\n\n    /**\n     * Writes Excel DIMENSIONS to define the area in which there is data.\n     */\n    private function writeDimensions()\n    {\n        $record = 0x0200; // Record identifier\n\n        $length = 0x000E;\n        $data = pack('VVvvv', $this->firstRowIndex, $this->lastRowIndex + 1, $this->firstColumnIndex, $this->lastColumnIndex + 1, 0x0000); // reserved\n\n        $header = pack(\"vv\", $record, $length);\n        $this->append($header.$data);\n    }\n\n    /**\n     * Write BIFF record Window2.\n     */\n    private function writeWindow2()\n    {\n        $record         = 0x023E;     // Record identifier\n        $length         = 0x0012;\n\n        $grbit          = 0x00B6;     // Option flags\n        $rwTop          = 0x0000;     // Top row visible in window\n        $colLeft        = 0x0000;     // Leftmost column visible in window\n\n\n        // The options flags that comprise $grbit\n        $fDspFmla       = 0;                     // 0 - bit\n        $fDspGrid       = $this->phpSheet->getShowGridlines() ? 1 : 0; // 1\n        $fDspRwCol      = $this->phpSheet->getShowRowColHeaders() ? 1 : 0; // 2\n        $fFrozen        = $this->phpSheet->getFreezePane() ? 1 : 0;        // 3\n        $fDspZeros      = 1;                     // 4\n        $fDefaultHdr    = 1;                     // 5\n        $fArabic        = $this->phpSheet->getRightToLeft() ? 1 : 0; // 6\n        $fDspGuts       = $this->outlineOn;    // 7\n        $fFrozenNoSplit = 0;                     // 0 - bit\n        // no support in PHPExcel for selected sheet, therefore sheet is only selected if it is the active sheet\n        $fSelected      = ($this->phpSheet === $this->phpSheet->getParent()->getActiveSheet()) ? 1 : 0;\n        $fPaged         = 1;                     // 2\n        $fPageBreakPreview = $this->phpSheet->getSheetView()->getView() === PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_BREAK_PREVIEW;\n\n        $grbit             = $fDspFmla;\n        $grbit            |= $fDspGrid       << 1;\n        $grbit            |= $fDspRwCol       << 2;\n        $grbit            |= $fFrozen           << 3;\n        $grbit            |= $fDspZeros       << 4;\n        $grbit            |= $fDefaultHdr       << 5;\n        $grbit            |= $fArabic           << 6;\n        $grbit            |= $fDspGuts       << 7;\n        $grbit            |= $fFrozenNoSplit << 8;\n        $grbit            |= $fSelected       << 9;\n        $grbit            |= $fPaged           << 10;\n        $grbit            |= $fPageBreakPreview << 11;\n\n        $header  = pack(\"vv\", $record, $length);\n        $data    = pack(\"vvv\", $grbit, $rwTop, $colLeft);\n\n        // FIXME !!!\n        $rgbHdr       = 0x0040; // Row/column heading and gridline color index\n        $zoom_factor_page_break = ($fPageBreakPreview ? $this->phpSheet->getSheetView()->getZoomScale() : 0x0000);\n        $zoom_factor_normal =  $this->phpSheet->getSheetView()->getZoomScaleNormal();\n\n        $data .= pack(\"vvvvV\", $rgbHdr, 0x0000, $zoom_factor_page_break, $zoom_factor_normal, 0x00000000);\n\n        $this->append($header.$data);\n    }\n\n    /**\n     * Write BIFF record DEFAULTROWHEIGHT.\n     */\n    private function writeDefaultRowHeight()\n    {\n        $defaultRowHeight = $this->phpSheet->getDefaultRowDimension()->getRowHeight();\n\n        if ($defaultRowHeight < 0) {\n            return;\n        }\n\n        // convert to twips\n        $defaultRowHeight = (int) 20 * $defaultRowHeight;\n\n        $record   = 0x0225;      // Record identifier\n        $length   = 0x0004;      // Number of bytes to follow\n\n        $header   = pack(\"vv\", $record, $length);\n        $data     = pack(\"vv\", 1, $defaultRowHeight);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write BIFF record DEFCOLWIDTH if COLINFO records are in use.\n     */\n    private function writeDefcol()\n    {\n        $defaultColWidth = 8;\n\n        $record   = 0x0055;      // Record identifier\n        $length   = 0x0002;      // Number of bytes to follow\n\n        $header = pack(\"vv\", $record, $length);\n        $data = pack(\"v\", $defaultColWidth);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write BIFF record COLINFO to define column widths\n     *\n     * Note: The SDK says the record length is 0x0B but Excel writes a 0x0C\n     * length record.\n     *\n     * @param array $col_array This is the only parameter received and is composed of the following:\n     *                0 => First formatted column,\n     *                1 => Last formatted column,\n     *                2 => Col width (8.43 is Excel default),\n     *                3 => The optional XF format of the column,\n     *                4 => Option flags.\n     *                5 => Optional outline level\n     */\n    private function writeColinfo($col_array)\n    {\n        if (isset($col_array[0])) {\n            $colFirst = $col_array[0];\n        }\n        if (isset($col_array[1])) {\n            $colLast = $col_array[1];\n        }\n        if (isset($col_array[2])) {\n            $coldx = $col_array[2];\n        } else {\n            $coldx = 8.43;\n        }\n        if (isset($col_array[3])) {\n            $xfIndex = $col_array[3];\n        } else {\n            $xfIndex = 15;\n        }\n        if (isset($col_array[4])) {\n            $grbit = $col_array[4];\n        } else {\n            $grbit = 0;\n        }\n        if (isset($col_array[5])) {\n            $level = $col_array[5];\n        } else {\n            $level = 0;\n        }\n        $record   = 0x007D;          // Record identifier\n        $length   = 0x000C;          // Number of bytes to follow\n\n        $coldx   *= 256;             // Convert to units of 1/256 of a char\n\n        $ixfe     = $xfIndex;\n        $reserved = 0x0000;            // Reserved\n\n        $level = max(0, min($level, 7));\n        $grbit |= $level << 8;\n\n        $header   = pack(\"vv\", $record, $length);\n        $data     = pack(\"vvvvvv\", $colFirst, $colLast, $coldx, $ixfe, $grbit, $reserved);\n        $this->append($header.$data);\n    }\n\n    /**\n     * Write BIFF record SELECTION.\n     */\n    private function writeSelection()\n    {\n        // look up the selected cell range\n        $selectedCells = $this->phpSheet->getSelectedCells();\n        $selectedCells = PHPExcel_Cell::splitRange($this->phpSheet->getSelectedCells());\n        $selectedCells = $selectedCells[0];\n        if (count($selectedCells) == 2) {\n            list($first, $last) = $selectedCells;\n        } else {\n            $first = $selectedCells[0];\n            $last  = $selectedCells[0];\n        }\n\n        list($colFirst, $rwFirst) = PHPExcel_Cell::coordinateFromString($first);\n        $colFirst = PHPExcel_Cell::columnIndexFromString($colFirst) - 1; // base 0 column index\n        --$rwFirst; // base 0 row index\n\n        list($colLast, $rwLast) = PHPExcel_Cell::coordinateFromString($last);\n        $colLast = PHPExcel_Cell::columnIndexFromString($colLast) - 1; // base 0 column index\n        --$rwLast; // base 0 row index\n\n        // make sure we are not out of bounds\n        $colFirst = min($colFirst, 255);\n        $colLast  = min($colLast, 255);\n\n        $rwFirst = min($rwFirst, 65535);\n        $rwLast  = min($rwLast, 65535);\n\n        $record   = 0x001D;                  // Record identifier\n        $length   = 0x000F;                  // Number of bytes to follow\n\n        $pnn      = $this->activePane;     // Pane position\n        $rwAct    = $rwFirst;                // Active row\n        $colAct   = $colFirst;               // Active column\n        $irefAct  = 0;                       // Active cell ref\n        $cref     = 1;                       // Number of refs\n\n        if (!isset($rwLast)) {\n            $rwLast   = $rwFirst;       // Last  row in reference\n        }\n        if (!isset($colLast)) {\n            $colLast  = $colFirst;      // Last  col in reference\n        }\n\n        // Swap last row/col for first row/col as necessary\n        if ($rwFirst > $rwLast) {\n            list($rwFirst, $rwLast) = array($rwLast, $rwFirst);\n        }\n\n        if ($colFirst > $colLast) {\n            list($colFirst, $colLast) = array($colLast, $colFirst);\n        }\n\n        $header   = pack(\"vv\", $record, $length);\n        $data     = pack(\"CvvvvvvCC\", $pnn, $rwAct, $colAct, $irefAct, $cref, $rwFirst, $rwLast, $colFirst, $colLast);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the MERGEDCELLS records for all ranges of merged cells\n     */\n    private function writeMergedCells()\n    {\n        $mergeCells = $this->phpSheet->getMergeCells();\n        $countMergeCells = count($mergeCells);\n\n        if ($countMergeCells == 0) {\n            return;\n        }\n\n        // maximum allowed number of merged cells per record\n        $maxCountMergeCellsPerRecord = 1027;\n\n        // record identifier\n        $record = 0x00E5;\n\n        // counter for total number of merged cells treated so far by the writer\n        $i = 0;\n\n        // counter for number of merged cells written in record currently being written\n        $j = 0;\n\n        // initialize record data\n        $recordData = '';\n\n        // loop through the merged cells\n        foreach ($mergeCells as $mergeCell) {\n            ++$i;\n            ++$j;\n\n            // extract the row and column indexes\n            $range = PHPExcel_Cell::splitRange($mergeCell);\n            list($first, $last) = $range[0];\n            list($firstColumn, $firstRow) = PHPExcel_Cell::coordinateFromString($first);\n            list($lastColumn, $lastRow) = PHPExcel_Cell::coordinateFromString($last);\n\n            $recordData .= pack('vvvv', $firstRow - 1, $lastRow - 1, PHPExcel_Cell::columnIndexFromString($firstColumn) - 1, PHPExcel_Cell::columnIndexFromString($lastColumn) - 1);\n\n            // flush record if we have reached limit for number of merged cells, or reached final merged cell\n            if ($j == $maxCountMergeCellsPerRecord or $i == $countMergeCells) {\n                $recordData = pack('v', $j) . $recordData;\n                $length = strlen($recordData);\n                $header = pack('vv', $record, $length);\n                $this->append($header . $recordData);\n\n                // initialize for next record, if any\n                $recordData = '';\n                $j = 0;\n            }\n        }\n    }\n\n    /**\n     * Write SHEETLAYOUT record\n     */\n    private function writeSheetLayout()\n    {\n        if (!$this->phpSheet->isTabColorSet()) {\n            return;\n        }\n\n        $recordData = pack(\n            'vvVVVvv',\n            0x0862,\n            0x0000, // unused\n            0x00000000, // unused\n            0x00000000, // unused\n            0x00000014, // size of record data\n            $this->colors[$this->phpSheet->getTabColor()->getRGB()], // color index\n            0x0000        // unused\n        );\n\n        $length = strlen($recordData);\n\n        $record = 0x0862; // Record identifier\n        $header = pack('vv', $record, $length);\n        $this->append($header . $recordData);\n    }\n\n    /**\n     * Write SHEETPROTECTION\n     */\n    private function writeSheetProtection()\n    {\n        // record identifier\n        $record = 0x0867;\n\n        // prepare options\n        $options  =   (int) !$this->phpSheet->getProtection()->getObjects()\n                    | (int) !$this->phpSheet->getProtection()->getScenarios()           << 1\n                    | (int) !$this->phpSheet->getProtection()->getFormatCells()         << 2\n                    | (int) !$this->phpSheet->getProtection()->getFormatColumns()       << 3\n                    | (int) !$this->phpSheet->getProtection()->getFormatRows()          << 4\n                    | (int) !$this->phpSheet->getProtection()->getInsertColumns()       << 5\n                    | (int) !$this->phpSheet->getProtection()->getInsertRows()          << 6\n                    | (int) !$this->phpSheet->getProtection()->getInsertHyperlinks()    << 7\n                    | (int) !$this->phpSheet->getProtection()->getDeleteColumns()       << 8\n                    | (int) !$this->phpSheet->getProtection()->getDeleteRows()          << 9\n                    | (int) !$this->phpSheet->getProtection()->getSelectLockedCells()   << 10\n                    | (int) !$this->phpSheet->getProtection()->getSort()                << 11\n                    | (int) !$this->phpSheet->getProtection()->getAutoFilter()          << 12\n                    | (int) !$this->phpSheet->getProtection()->getPivotTables()         << 13\n                    | (int) !$this->phpSheet->getProtection()->getSelectUnlockedCells() << 14 ;\n\n        // record data\n        $recordData = pack(\n            'vVVCVVvv',\n            0x0867, // repeated record identifier\n            0x0000, // not used\n            0x0000, // not used\n            0x00, // not used\n            0x01000200, // unknown data\n            0xFFFFFFFF, // unknown data\n            $options, // options\n            0x0000 // not used\n        );\n\n        $length = strlen($recordData);\n        $header = pack('vv', $record, $length);\n\n        $this->append($header . $recordData);\n    }\n\n    /**\n     * Write BIFF record RANGEPROTECTION\n     *\n     * Openoffice.org's Documentaion of the Microsoft Excel File Format uses term RANGEPROTECTION for these records\n     * Microsoft Office Excel 97-2007 Binary File Format Specification uses term FEAT for these records\n     */\n    private function writeRangeProtection()\n    {\n        foreach ($this->phpSheet->getProtectedCells() as $range => $password) {\n            // number of ranges, e.g. 'A1:B3 C20:D25'\n            $cellRanges = explode(' ', $range);\n            $cref = count($cellRanges);\n\n            $recordData = pack(\n                'vvVVvCVvVv',\n                0x0868,\n                0x00,\n                0x0000,\n                0x0000,\n                0x02,\n                0x0,\n                0x0000,\n                $cref,\n                0x0000,\n                0x00\n            );\n\n            foreach ($cellRanges as $cellRange) {\n                $recordData .= $this->writeBIFF8CellRangeAddressFixed($cellRange);\n            }\n\n            // the rgbFeat structure\n            $recordData .= pack(\n                'VV',\n                0x0000,\n                hexdec($password)\n            );\n\n            $recordData .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong('p' . md5($recordData));\n\n            $length = strlen($recordData);\n\n            $record = 0x0868;        // Record identifier\n            $header = pack(\"vv\", $record, $length);\n            $this->append($header . $recordData);\n        }\n    }\n\n    /**\n     * Write BIFF record EXTERNCOUNT to indicate the number of external sheet\n     * references in a worksheet.\n     *\n     * Excel only stores references to external sheets that are used in formulas.\n     * For simplicity we store references to all the sheets in the workbook\n     * regardless of whether they are used or not. This reduces the overall\n     * complexity and eliminates the need for a two way dialogue between the formula\n     * parser the worksheet objects.\n     *\n     * @param integer $count The number of external sheet references in this worksheet\n     */\n    private function writeExterncount($count)\n    {\n        $record = 0x0016;          // Record identifier\n        $length = 0x0002;          // Number of bytes to follow\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"v\", $count);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Writes the Excel BIFF EXTERNSHEET record. These references are used by\n     * formulas. A formula references a sheet name via an index. Since we store a\n     * reference to all of the external worksheets the EXTERNSHEET index is the same\n     * as the worksheet index.\n     *\n     * @param string $sheetname The name of a external worksheet\n     */\n    private function writeExternsheet($sheetname)\n    {\n        $record    = 0x0017;         // Record identifier\n\n        // References to the current sheet are encoded differently to references to\n        // external sheets.\n        //\n        if ($this->phpSheet->getTitle() == $sheetname) {\n            $sheetname = '';\n            $length    = 0x02;  // The following 2 bytes\n            $cch       = 1;     // The following byte\n            $rgch      = 0x02;  // Self reference\n        } else {\n            $length    = 0x02 + strlen($sheetname);\n            $cch       = strlen($sheetname);\n            $rgch      = 0x03;  // Reference to a sheet in the current workbook\n        }\n\n        $header = pack(\"vv\", $record, $length);\n        $data   = pack(\"CC\", $cch, $rgch);\n        $this->append($header . $data . $sheetname);\n    }\n\n    /**\n     * Writes the Excel BIFF PANE record.\n     * The panes can either be frozen or thawed (unfrozen).\n     * Frozen panes are specified in terms of an integer number of rows and columns.\n     * Thawed panes are specified in terms of Excel's units for rows and columns.\n     */\n    private function writePanes()\n    {\n        $panes = array();\n        if ($freezePane = $this->phpSheet->getFreezePane()) {\n            list($column, $row) = PHPExcel_Cell::coordinateFromString($freezePane);\n            $panes[0] = $row - 1;\n            $panes[1] = PHPExcel_Cell::columnIndexFromString($column) - 1;\n        } else {\n            // thaw panes\n            return;\n        }\n\n        $y       = isset($panes[0]) ? $panes[0] : null;\n        $x       = isset($panes[1]) ? $panes[1] : null;\n        $rwTop   = isset($panes[2]) ? $panes[2] : null;\n        $colLeft = isset($panes[3]) ? $panes[3] : null;\n        if (count($panes) > 4) { // if Active pane was received\n            $pnnAct = $panes[4];\n        } else {\n            $pnnAct = null;\n        }\n        $record  = 0x0041;       // Record identifier\n        $length  = 0x000A;       // Number of bytes to follow\n\n        // Code specific to frozen or thawed panes.\n        if ($this->phpSheet->getFreezePane()) {\n            // Set default values for $rwTop and $colLeft\n            if (!isset($rwTop)) {\n                $rwTop   = $y;\n            }\n            if (!isset($colLeft)) {\n                $colLeft = $x;\n            }\n        } else {\n            // Set default values for $rwTop and $colLeft\n            if (!isset($rwTop)) {\n                $rwTop   = 0;\n            }\n            if (!isset($colLeft)) {\n                $colLeft = 0;\n            }\n\n            // Convert Excel's row and column units to the internal units.\n            // The default row height is 12.75\n            // The default column width is 8.43\n            // The following slope and intersection values were interpolated.\n            //\n            $y = 20*$y + 255;\n            $x = 113.879*$x + 390;\n        }\n\n\n        // Determine which pane should be active. There is also the undocumented\n        // option to override this should it be necessary: may be removed later.\n        //\n        if (!isset($pnnAct)) {\n            if ($x != 0 && $y != 0) {\n                $pnnAct = 0; // Bottom right\n            }\n            if ($x != 0 && $y == 0) {\n                $pnnAct = 1; // Top right\n            }\n            if ($x == 0 && $y != 0) {\n                $pnnAct = 2; // Bottom left\n            }\n            if ($x == 0 && $y == 0) {\n                $pnnAct = 3; // Top left\n            }\n        }\n\n        $this->activePane = $pnnAct; // Used in writeSelection\n\n        $header = pack(\"vv\", $record, $length);\n        $data = pack(\"vvvvv\", $x, $y, $rwTop, $colLeft, $pnnAct);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the page setup SETUP BIFF record.\n     */\n    private function writeSetup()\n    {\n        $record       = 0x00A1;                  // Record identifier\n        $length       = 0x0022;                  // Number of bytes to follow\n\n        $iPaperSize   = $this->phpSheet->getPageSetup()->getPaperSize();    // Paper size\n\n        $iScale = $this->phpSheet->getPageSetup()->getScale() ?\n            $this->phpSheet->getPageSetup()->getScale() : 100;   // Print scaling factor\n\n        $iPageStart   = 0x01;                 // Starting page number\n        $iFitWidth    = (int) $this->phpSheet->getPageSetup()->getFitToWidth();    // Fit to number of pages wide\n        $iFitHeight    = (int) $this->phpSheet->getPageSetup()->getFitToHeight();    // Fit to number of pages high\n        $grbit        = 0x00;                 // Option flags\n        $iRes         = 0x0258;               // Print resolution\n        $iVRes        = 0x0258;               // Vertical print resolution\n\n        $numHdr       = $this->phpSheet->getPageMargins()->getHeader();  // Header Margin\n\n        $numFtr       = $this->phpSheet->getPageMargins()->getFooter();   // Footer Margin\n        $iCopies      = 0x01;                 // Number of copies\n\n        $fLeftToRight = 0x0;                     // Print over then down\n\n        // Page orientation\n        $fLandscape = ($this->phpSheet->getPageSetup()->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ?\n            0x0 : 0x1;\n\n        $fNoPls       = 0x0;                     // Setup not read from printer\n        $fNoColor     = 0x0;                     // Print black and white\n        $fDraft       = 0x0;                     // Print draft quality\n        $fNotes       = 0x0;                     // Print notes\n        $fNoOrient    = 0x0;                     // Orientation not set\n        $fUsePage     = 0x0;                     // Use custom starting page\n\n        $grbit           = $fLeftToRight;\n        $grbit          |= $fLandscape    << 1;\n        $grbit          |= $fNoPls        << 2;\n        $grbit          |= $fNoColor      << 3;\n        $grbit          |= $fDraft        << 4;\n        $grbit          |= $fNotes        << 5;\n        $grbit          |= $fNoOrient     << 6;\n        $grbit          |= $fUsePage      << 7;\n\n        $numHdr = pack(\"d\", $numHdr);\n        $numFtr = pack(\"d\", $numFtr);\n        if (self::getByteOrder()) { // if it's Big Endian\n            $numHdr = strrev($numHdr);\n            $numFtr = strrev($numFtr);\n        }\n\n        $header = pack(\"vv\", $record, $length);\n        $data1  = pack(\"vvvvvvvv\", $iPaperSize, $iScale, $iPageStart, $iFitWidth, $iFitHeight, $grbit, $iRes, $iVRes);\n        $data2  = $numHdr.$numFtr;\n        $data3  = pack(\"v\", $iCopies);\n        $this->append($header . $data1 . $data2 . $data3);\n    }\n\n    /**\n     * Store the header caption BIFF record.\n     */\n    private function writeHeader()\n    {\n        $record  = 0x0014;               // Record identifier\n\n        /* removing for now\n        // need to fix character count (multibyte!)\n        if (strlen($this->phpSheet->getHeaderFooter()->getOddHeader()) <= 255) {\n            $str      = $this->phpSheet->getHeaderFooter()->getOddHeader();       // header string\n        } else {\n            $str = '';\n        }\n        */\n\n        $recordData = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($this->phpSheet->getHeaderFooter()->getOddHeader());\n        $length = strlen($recordData);\n\n        $header   = pack(\"vv\", $record, $length);\n\n        $this->append($header . $recordData);\n    }\n\n    /**\n     * Store the footer caption BIFF record.\n     */\n    private function writeFooter()\n    {\n        $record  = 0x0015;               // Record identifier\n\n        /* removing for now\n        // need to fix character count (multibyte!)\n        if (strlen($this->phpSheet->getHeaderFooter()->getOddFooter()) <= 255) {\n            $str = $this->phpSheet->getHeaderFooter()->getOddFooter();\n        } else {\n            $str = '';\n        }\n        */\n\n        $recordData = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($this->phpSheet->getHeaderFooter()->getOddFooter());\n        $length = strlen($recordData);\n\n        $header    = pack(\"vv\", $record, $length);\n\n        $this->append($header . $recordData);\n    }\n\n    /**\n     * Store the horizontal centering HCENTER BIFF record.\n     *\n     * @access private\n     */\n    private function writeHcenter()\n    {\n        $record   = 0x0083;              // Record identifier\n        $length   = 0x0002;              // Bytes to follow\n\n        $fHCenter = $this->phpSheet->getPageSetup()->getHorizontalCentered() ? 1 : 0;     // Horizontal centering\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"v\", $fHCenter);\n\n        $this->append($header.$data);\n    }\n\n    /**\n     * Store the vertical centering VCENTER BIFF record.\n     */\n    private function writeVcenter()\n    {\n        $record   = 0x0084;              // Record identifier\n        $length   = 0x0002;              // Bytes to follow\n\n        $fVCenter = $this->phpSheet->getPageSetup()->getVerticalCentered() ? 1 : 0;     // Horizontal centering\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"v\", $fVCenter);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the LEFTMARGIN BIFF record.\n     */\n    private function writeMarginLeft()\n    {\n        $record  = 0x0026;                   // Record identifier\n        $length  = 0x0008;                   // Bytes to follow\n\n        $margin  = $this->phpSheet->getPageMargins()->getLeft();     // Margin in inches\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"d\", $margin);\n        if (self::getByteOrder()) { // if it's Big Endian\n            $data = strrev($data);\n        }\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the RIGHTMARGIN BIFF record.\n     */\n    private function writeMarginRight()\n    {\n        $record  = 0x0027;                   // Record identifier\n        $length  = 0x0008;                   // Bytes to follow\n\n        $margin  = $this->phpSheet->getPageMargins()->getRight();     // Margin in inches\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"d\", $margin);\n        if (self::getByteOrder()) { // if it's Big Endian\n            $data = strrev($data);\n        }\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the TOPMARGIN BIFF record.\n     */\n    private function writeMarginTop()\n    {\n        $record  = 0x0028;                   // Record identifier\n        $length  = 0x0008;                   // Bytes to follow\n\n        $margin  = $this->phpSheet->getPageMargins()->getTop();     // Margin in inches\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"d\", $margin);\n        if (self::getByteOrder()) { // if it's Big Endian\n            $data = strrev($data);\n        }\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Store the BOTTOMMARGIN BIFF record.\n     */\n    private function writeMarginBottom()\n    {\n        $record  = 0x0029;                   // Record identifier\n        $length  = 0x0008;                   // Bytes to follow\n\n        $margin  = $this->phpSheet->getPageMargins()->getBottom();     // Margin in inches\n\n        $header    = pack(\"vv\", $record, $length);\n        $data      = pack(\"d\", $margin);\n        if (self::getByteOrder()) { // if it's Big Endian\n            $data = strrev($data);\n        }\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the PRINTHEADERS BIFF record.\n     */\n    private function writePrintHeaders()\n    {\n        $record      = 0x002a;                   // Record identifier\n        $length      = 0x0002;                   // Bytes to follow\n\n        $fPrintRwCol = $this->_print_headers;     // Boolean flag\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"v\", $fPrintRwCol);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the PRINTGRIDLINES BIFF record. Must be used in conjunction with the\n     * GRIDSET record.\n     */\n    private function writePrintGridlines()\n    {\n        $record      = 0x002b;                    // Record identifier\n        $length      = 0x0002;                    // Bytes to follow\n\n        $fPrintGrid  = $this->phpSheet->getPrintGridlines() ? 1 : 0;    // Boolean flag\n\n        $header      = pack(\"vv\", $record, $length);\n        $data      = pack(\"v\", $fPrintGrid);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the GRIDSET BIFF record. Must be used in conjunction with the\n     * PRINTGRIDLINES record.\n     */\n    private function writeGridset()\n    {\n        $record      = 0x0082;                        // Record identifier\n        $length      = 0x0002;                        // Bytes to follow\n\n        $fGridSet    = !$this->phpSheet->getPrintGridlines();     // Boolean flag\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"v\", $fGridSet);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the AUTOFILTERINFO BIFF record. This is used to configure the number of autofilter select used in the sheet.\n     */\n    private function writeAutoFilterInfo()\n    {\n        $record      = 0x009D;                        // Record identifier\n        $length      = 0x0002;                        // Bytes to follow\n\n        $rangeBounds = PHPExcel_Cell::rangeBoundaries($this->phpSheet->getAutoFilter()->getRange());\n        $iNumFilters = 1 + $rangeBounds[1][0] - $rangeBounds[0][0];\n\n        $header   = pack(\"vv\", $record, $length);\n        $data     = pack(\"v\", $iNumFilters);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the GUTS BIFF record. This is used to configure the gutter margins\n     * where Excel outline symbols are displayed. The visibility of the gutters is\n     * controlled by a flag in WSBOOL.\n     *\n     * @see writeWsbool()\n     */\n    private function writeGuts()\n    {\n        $record      = 0x0080;   // Record identifier\n        $length      = 0x0008;   // Bytes to follow\n\n        $dxRwGut     = 0x0000;   // Size of row gutter\n        $dxColGut    = 0x0000;   // Size of col gutter\n\n        // determine maximum row outline level\n        $maxRowOutlineLevel = 0;\n        foreach ($this->phpSheet->getRowDimensions() as $rowDimension) {\n            $maxRowOutlineLevel = max($maxRowOutlineLevel, $rowDimension->getOutlineLevel());\n        }\n\n        $col_level   = 0;\n\n        // Calculate the maximum column outline level. The equivalent calculation\n        // for the row outline level is carried out in writeRow().\n        $colcount = count($this->columnInfo);\n        for ($i = 0; $i < $colcount; ++$i) {\n            $col_level = max($this->columnInfo[$i][5], $col_level);\n        }\n\n        // Set the limits for the outline levels (0 <= x <= 7).\n        $col_level = max(0, min($col_level, 7));\n\n        // The displayed level is one greater than the max outline levels\n        if ($maxRowOutlineLevel) {\n            ++$maxRowOutlineLevel;\n        }\n        if ($col_level) {\n            ++$col_level;\n        }\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"vvvv\", $dxRwGut, $dxColGut, $maxRowOutlineLevel, $col_level);\n\n        $this->append($header.$data);\n    }\n\n    /**\n     * Write the WSBOOL BIFF record, mainly for fit-to-page. Used in conjunction\n     * with the SETUP record.\n     */\n    private function writeWsbool()\n    {\n        $record      = 0x0081;   // Record identifier\n        $length      = 0x0002;   // Bytes to follow\n        $grbit       = 0x0000;\n\n        // The only option that is of interest is the flag for fit to page. So we\n        // set all the options in one go.\n        //\n        // Set the option flags\n        $grbit |= 0x0001;                           // Auto page breaks visible\n        if ($this->outlineStyle) {\n            $grbit |= 0x0020; // Auto outline styles\n        }\n        if ($this->phpSheet->getShowSummaryBelow()) {\n            $grbit |= 0x0040; // Outline summary below\n        }\n        if ($this->phpSheet->getShowSummaryRight()) {\n            $grbit |= 0x0080; // Outline summary right\n        }\n        if ($this->phpSheet->getPageSetup()->getFitToPage()) {\n            $grbit |= 0x0100; // Page setup fit to page\n        }\n        if ($this->outlineOn) {\n            $grbit |= 0x0400; // Outline symbols displayed\n        }\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"v\", $grbit);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the HORIZONTALPAGEBREAKS and VERTICALPAGEBREAKS BIFF records.\n     */\n    private function writeBreaks()\n    {\n        // initialize\n        $vbreaks = array();\n        $hbreaks = array();\n\n        foreach ($this->phpSheet->getBreaks() as $cell => $breakType) {\n            // Fetch coordinates\n            $coordinates = PHPExcel_Cell::coordinateFromString($cell);\n\n            // Decide what to do by the type of break\n            switch ($breakType) {\n                case PHPExcel_Worksheet::BREAK_COLUMN:\n                    // Add to list of vertical breaks\n                    $vbreaks[] = PHPExcel_Cell::columnIndexFromString($coordinates[0]) - 1;\n                    break;\n                case PHPExcel_Worksheet::BREAK_ROW:\n                    // Add to list of horizontal breaks\n                    $hbreaks[] = $coordinates[1];\n                    break;\n                case PHPExcel_Worksheet::BREAK_NONE:\n                default:\n                    // Nothing to do\n                    break;\n            }\n        }\n\n        //horizontal page breaks\n        if (!empty($hbreaks)) {\n            // Sort and filter array of page breaks\n            sort($hbreaks, SORT_NUMERIC);\n            if ($hbreaks[0] == 0) { // don't use first break if it's 0\n                array_shift($hbreaks);\n            }\n\n            $record  = 0x001b;               // Record identifier\n            $cbrk    = count($hbreaks);       // Number of page breaks\n            $length  = 2 + 6 * $cbrk;      // Bytes to follow\n\n            $header  = pack(\"vv\", $record, $length);\n            $data    = pack(\"v\", $cbrk);\n\n            // Append each page break\n            foreach ($hbreaks as $hbreak) {\n                $data .= pack(\"vvv\", $hbreak, 0x0000, 0x00ff);\n            }\n\n            $this->append($header . $data);\n        }\n\n        // vertical page breaks\n        if (!empty($vbreaks)) {\n            // 1000 vertical pagebreaks appears to be an internal Excel 5 limit.\n            // It is slightly higher in Excel 97/200, approx. 1026\n            $vbreaks = array_slice($vbreaks, 0, 1000);\n\n            // Sort and filter array of page breaks\n            sort($vbreaks, SORT_NUMERIC);\n            if ($vbreaks[0] == 0) { // don't use first break if it's 0\n                array_shift($vbreaks);\n            }\n\n            $record  = 0x001a;               // Record identifier\n            $cbrk    = count($vbreaks);       // Number of page breaks\n            $length  = 2 + 6 * $cbrk;      // Bytes to follow\n\n            $header  = pack(\"vv\", $record, $length);\n            $data    = pack(\"v\", $cbrk);\n\n            // Append each page break\n            foreach ($vbreaks as $vbreak) {\n                $data .= pack(\"vvv\", $vbreak, 0x0000, 0xffff);\n            }\n\n            $this->append($header . $data);\n        }\n    }\n\n    /**\n     * Set the Biff PROTECT record to indicate that the worksheet is protected.\n     */\n    private function writeProtect()\n    {\n        // Exit unless sheet protection has been specified\n        if (!$this->phpSheet->getProtection()->getSheet()) {\n            return;\n        }\n\n        $record      = 0x0012;             // Record identifier\n        $length      = 0x0002;             // Bytes to follow\n\n        $fLock      = 1;    // Worksheet is protected\n\n        $header      = pack(\"vv\", $record, $length);\n        $data      = pack(\"v\", $fLock);\n\n        $this->append($header.$data);\n    }\n\n    /**\n     * Write SCENPROTECT\n     */\n    private function writeScenProtect()\n    {\n        // Exit if sheet protection is not active\n        if (!$this->phpSheet->getProtection()->getSheet()) {\n            return;\n        }\n\n        // Exit if scenarios are not protected\n        if (!$this->phpSheet->getProtection()->getScenarios()) {\n            return;\n        }\n\n        $record = 0x00DD; // Record identifier\n        $length = 0x0002; // Bytes to follow\n\n        $header = pack('vv', $record, $length);\n        $data = pack('v', 1);\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write OBJECTPROTECT\n     */\n    private function writeObjectProtect()\n    {\n        // Exit if sheet protection is not active\n        if (!$this->phpSheet->getProtection()->getSheet()) {\n            return;\n        }\n\n        // Exit if objects are not protected\n        if (!$this->phpSheet->getProtection()->getObjects()) {\n            return;\n        }\n\n        $record = 0x0063; // Record identifier\n        $length = 0x0002; // Bytes to follow\n\n        $header = pack('vv', $record, $length);\n        $data = pack('v', 1);\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write the worksheet PASSWORD record.\n     */\n    private function writePassword()\n    {\n        // Exit unless sheet protection and password have been specified\n        if (!$this->phpSheet->getProtection()->getSheet() || !$this->phpSheet->getProtection()->getPassword()) {\n            return;\n        }\n\n        $record      = 0x0013;               // Record identifier\n        $length      = 0x0002;               // Bytes to follow\n\n        $wPassword   = hexdec($this->phpSheet->getProtection()->getPassword());     // Encoded password\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"v\", $wPassword);\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Insert a 24bit bitmap image in a worksheet.\n     *\n     * @access public\n     * @param integer $row     The row we are going to insert the bitmap into\n     * @param integer $col     The column we are going to insert the bitmap into\n     * @param mixed   $bitmap  The bitmap filename or GD-image resource\n     * @param integer $x       The horizontal position (offset) of the image inside the cell.\n     * @param integer $y       The vertical position (offset) of the image inside the cell.\n     * @param float   $scale_x The horizontal scale\n     * @param float   $scale_y The vertical scale\n     */\n    public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1)\n    {\n        $bitmap_array = (is_resource($bitmap) ? $this->processBitmapGd($bitmap) : $this->processBitmap($bitmap));\n        list($width, $height, $size, $data) = $bitmap_array; //$this->processBitmap($bitmap);\n\n        // Scale the frame of the image.\n        $width  *= $scale_x;\n        $height *= $scale_y;\n\n        // Calculate the vertices of the image and write the OBJ record\n        $this->positionImage($col, $row, $x, $y, $width, $height);\n\n        // Write the IMDATA record to store the bitmap data\n        $record      = 0x007f;\n        $length      = 8 + $size;\n        $cf          = 0x09;\n        $env         = 0x01;\n        $lcb         = $size;\n\n        $header      = pack(\"vvvvV\", $record, $length, $cf, $env, $lcb);\n        $this->append($header.$data);\n    }\n\n    /**\n     * Calculate the vertices that define the position of the image as required by\n     * the OBJ record.\n     *\n     *         +------------+------------+\n     *         |     A      |      B     |\n     *   +-----+------------+------------+\n     *   |     |(x1,y1)     |            |\n     *   |  1  |(A1)._______|______      |\n     *   |     |    |              |     |\n     *   |     |    |              |     |\n     *   +-----+----|    BITMAP    |-----+\n     *   |     |    |              |     |\n     *   |  2  |    |______________.     |\n     *   |     |            |        (B2)|\n     *   |     |            |     (x2,y2)|\n     *   +---- +------------+------------+\n     *\n     * Example of a bitmap that covers some of the area from cell A1 to cell B2.\n     *\n     * Based on the width and height of the bitmap we need to calculate 8 vars:\n     *     $col_start, $row_start, $col_end, $row_end, $x1, $y1, $x2, $y2.\n     * The width and height of the cells are also variable and have to be taken into\n     * account.\n     * The values of $col_start and $row_start are passed in from the calling\n     * function. The values of $col_end and $row_end are calculated by subtracting\n     * the width and height of the bitmap from the width and height of the\n     * underlying cells.\n     * The vertices are expressed as a percentage of the underlying cell width as\n     * follows (rhs values are in pixels):\n     *\n     *       x1 = X / W *1024\n     *       y1 = Y / H *256\n     *       x2 = (X-1) / W *1024\n     *       y2 = (Y-1) / H *256\n     *\n     *       Where:  X is distance from the left side of the underlying cell\n     *               Y is distance from the top of the underlying cell\n     *               W is the width of the cell\n     *               H is the height of the cell\n     * The SDK incorrectly states that the height should be expressed as a\n     *        percentage of 1024.\n     *\n     * @access private\n     * @param integer $col_start Col containing upper left corner of object\n     * @param integer $row_start Row containing top left corner of object\n     * @param integer $x1        Distance to left side of object\n     * @param integer $y1        Distance to top of object\n     * @param integer $width     Width of image frame\n     * @param integer $height    Height of image frame\n     */\n    public function positionImage($col_start, $row_start, $x1, $y1, $width, $height)\n    {\n        // Initialise end cell to the same as the start cell\n        $col_end    = $col_start;  // Col containing lower right corner of object\n        $row_end    = $row_start;  // Row containing bottom right corner of object\n\n        // Zero the specified offset if greater than the cell dimensions\n        if ($x1 >= PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start))) {\n            $x1 = 0;\n        }\n        if ($y1 >= PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_start + 1)) {\n            $y1 = 0;\n        }\n\n        $width      = $width  + $x1 -1;\n        $height     = $height + $y1 -1;\n\n        // Subtract the underlying cell widths to find the end cell of the image\n        while ($width >= PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end))) {\n            $width -= PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end));\n            ++$col_end;\n        }\n\n        // Subtract the underlying cell heights to find the end cell of the image\n        while ($height >= PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_end + 1)) {\n            $height -= PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_end + 1);\n            ++$row_end;\n        }\n\n        // Bitmap isn't allowed to start or finish in a hidden cell, i.e. a cell\n        // with zero eight or width.\n        //\n        if (PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) == 0) {\n            return;\n        }\n        if (PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end))   == 0) {\n            return;\n        }\n        if (PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_start + 1) == 0) {\n            return;\n        }\n        if (PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_end + 1)   == 0) {\n            return;\n        }\n\n        // Convert the pixel values to the percentage value expected by Excel\n        $x1 = $x1     / PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start))   * 1024;\n        $y1 = $y1     / PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_start + 1)   *  256;\n        $x2 = $width  / PHPExcel_Shared_Excel5::sizeCol($this->phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end))     * 1024; // Distance to right side of object\n        $y2 = $height / PHPExcel_Shared_Excel5::sizeRow($this->phpSheet, $row_end + 1)     *  256; // Distance to bottom of object\n\n        $this->writeObjPicture($col_start, $x1, $row_start, $y1, $col_end, $x2, $row_end, $y2);\n    }\n\n    /**\n     * Store the OBJ record that precedes an IMDATA record. This could be generalise\n     * to support other Excel objects.\n     *\n     * @param integer $colL Column containing upper left corner of object\n     * @param integer $dxL  Distance from left side of cell\n     * @param integer $rwT  Row containing top left corner of object\n     * @param integer $dyT  Distance from top of cell\n     * @param integer $colR Column containing lower right corner of object\n     * @param integer $dxR  Distance from right of cell\n     * @param integer $rwB  Row containing bottom right corner of object\n     * @param integer $dyB  Distance from bottom of cell\n     */\n    private function writeObjPicture($colL, $dxL, $rwT, $dyT, $colR, $dxR, $rwB, $dyB)\n    {\n        $record      = 0x005d;   // Record identifier\n        $length      = 0x003c;   // Bytes to follow\n\n        $cObj        = 0x0001;   // Count of objects in file (set to 1)\n        $OT          = 0x0008;   // Object type. 8 = Picture\n        $id          = 0x0001;   // Object ID\n        $grbit       = 0x0614;   // Option flags\n\n        $cbMacro     = 0x0000;   // Length of FMLA structure\n        $Reserved1   = 0x0000;   // Reserved\n        $Reserved2   = 0x0000;   // Reserved\n\n        $icvBack     = 0x09;     // Background colour\n        $icvFore     = 0x09;     // Foreground colour\n        $fls         = 0x00;     // Fill pattern\n        $fAuto       = 0x00;     // Automatic fill\n        $icv         = 0x08;     // Line colour\n        $lns         = 0xff;     // Line style\n        $lnw         = 0x01;     // Line weight\n        $fAutoB      = 0x00;     // Automatic border\n        $frs         = 0x0000;   // Frame style\n        $cf          = 0x0009;   // Image format, 9 = bitmap\n        $Reserved3   = 0x0000;   // Reserved\n        $cbPictFmla  = 0x0000;   // Length of FMLA structure\n        $Reserved4   = 0x0000;   // Reserved\n        $grbit2      = 0x0001;   // Option flags\n        $Reserved5   = 0x0000;   // Reserved\n\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"V\", $cObj);\n        $data       .= pack(\"v\", $OT);\n        $data       .= pack(\"v\", $id);\n        $data       .= pack(\"v\", $grbit);\n        $data       .= pack(\"v\", $colL);\n        $data       .= pack(\"v\", $dxL);\n        $data       .= pack(\"v\", $rwT);\n        $data       .= pack(\"v\", $dyT);\n        $data       .= pack(\"v\", $colR);\n        $data       .= pack(\"v\", $dxR);\n        $data       .= pack(\"v\", $rwB);\n        $data       .= pack(\"v\", $dyB);\n        $data       .= pack(\"v\", $cbMacro);\n        $data       .= pack(\"V\", $Reserved1);\n        $data       .= pack(\"v\", $Reserved2);\n        $data       .= pack(\"C\", $icvBack);\n        $data       .= pack(\"C\", $icvFore);\n        $data       .= pack(\"C\", $fls);\n        $data       .= pack(\"C\", $fAuto);\n        $data       .= pack(\"C\", $icv);\n        $data       .= pack(\"C\", $lns);\n        $data       .= pack(\"C\", $lnw);\n        $data       .= pack(\"C\", $fAutoB);\n        $data       .= pack(\"v\", $frs);\n        $data       .= pack(\"V\", $cf);\n        $data       .= pack(\"v\", $Reserved3);\n        $data       .= pack(\"v\", $cbPictFmla);\n        $data       .= pack(\"v\", $Reserved4);\n        $data       .= pack(\"v\", $grbit2);\n        $data       .= pack(\"V\", $Reserved5);\n\n        $this->append($header . $data);\n    }\n\n    /**\n     * Convert a GD-image into the internal format.\n     *\n     * @access private\n     * @param resource $image The image to process\n     * @return array Array with data and properties of the bitmap\n     */\n    public function processBitmapGd($image)\n    {\n        $width = imagesx($image);\n        $height = imagesy($image);\n\n        $data = pack(\"Vvvvv\", 0x000c, $width, $height, 0x01, 0x18);\n        for ($j=$height; $j--;) {\n            for ($i=0; $i < $width; ++$i) {\n                $color = imagecolorsforindex($image, imagecolorat($image, $i, $j));\n                foreach (array(\"red\", \"green\", \"blue\") as $key) {\n                    $color[$key] = $color[$key] + round((255 - $color[$key]) * $color[\"alpha\"] / 127);\n                }\n                $data .= chr($color[\"blue\"]) . chr($color[\"green\"]) . chr($color[\"red\"]);\n            }\n            if (3*$width % 4) {\n                $data .= str_repeat(\"\\x00\", 4 - 3*$width % 4);\n            }\n        }\n\n        return array($width, $height, strlen($data), $data);\n    }\n\n    /**\n     * Convert a 24 bit bitmap into the modified internal format used by Windows.\n     * This is described in BITMAPCOREHEADER and BITMAPCOREINFO structures in the\n     * MSDN library.\n     *\n     * @access private\n     * @param string $bitmap The bitmap to process\n     * @return array Array with data and properties of the bitmap\n     */\n    public function processBitmap($bitmap)\n    {\n        // Open file.\n        $bmp_fd = @fopen($bitmap, \"rb\");\n        if (!$bmp_fd) {\n            throw new PHPExcel_Writer_Exception(\"Couldn't import $bitmap\");\n        }\n\n        // Slurp the file into a string.\n        $data = fread($bmp_fd, filesize($bitmap));\n\n        // Check that the file is big enough to be a bitmap.\n        if (strlen($data) <= 0x36) {\n            throw new PHPExcel_Writer_Exception(\"$bitmap doesn't contain enough data.\\n\");\n        }\n\n        // The first 2 bytes are used to identify the bitmap.\n        $identity = unpack(\"A2ident\", $data);\n        if ($identity['ident'] != \"BM\") {\n            throw new PHPExcel_Writer_Exception(\"$bitmap doesn't appear to be a valid bitmap image.\\n\");\n        }\n\n        // Remove bitmap data: ID.\n        $data = substr($data, 2);\n\n        // Read and remove the bitmap size. This is more reliable than reading\n        // the data size at offset 0x22.\n        //\n        $size_array   = unpack(\"Vsa\", substr($data, 0, 4));\n        $size   = $size_array['sa'];\n        $data   = substr($data, 4);\n        $size  -= 0x36; // Subtract size of bitmap header.\n        $size  += 0x0C; // Add size of BIFF header.\n\n        // Remove bitmap data: reserved, offset, header length.\n        $data = substr($data, 12);\n\n        // Read and remove the bitmap width and height. Verify the sizes.\n        $width_and_height = unpack(\"V2\", substr($data, 0, 8));\n        $width  = $width_and_height[1];\n        $height = $width_and_height[2];\n        $data   = substr($data, 8);\n        if ($width > 0xFFFF) {\n            throw new PHPExcel_Writer_Exception(\"$bitmap: largest image width supported is 65k.\\n\");\n        }\n        if ($height > 0xFFFF) {\n            throw new PHPExcel_Writer_Exception(\"$bitmap: largest image height supported is 65k.\\n\");\n        }\n\n        // Read and remove the bitmap planes and bpp data. Verify them.\n        $planes_and_bitcount = unpack(\"v2\", substr($data, 0, 4));\n        $data = substr($data, 4);\n        if ($planes_and_bitcount[2] != 24) { // Bitcount\n            throw new PHPExcel_Writer_Exception(\"$bitmap isn't a 24bit true color bitmap.\\n\");\n        }\n        if ($planes_and_bitcount[1] != 1) {\n            throw new PHPExcel_Writer_Exception(\"$bitmap: only 1 plane supported in bitmap image.\\n\");\n        }\n\n        // Read and remove the bitmap compression. Verify compression.\n        $compression = unpack(\"Vcomp\", substr($data, 0, 4));\n        $data = substr($data, 4);\n\n        //$compression = 0;\n        if ($compression['comp'] != 0) {\n            throw new PHPExcel_Writer_Exception(\"$bitmap: compression not supported in bitmap image.\\n\");\n        }\n\n        // Remove bitmap data: data size, hres, vres, colours, imp. colours.\n        $data = substr($data, 20);\n\n        // Add the BITMAPCOREHEADER data\n        $header  = pack(\"Vvvvv\", 0x000c, $width, $height, 0x01, 0x18);\n        $data    = $header . $data;\n\n        return (array($width, $height, $size, $data));\n    }\n\n    /**\n     * Store the window zoom factor. This should be a reduced fraction but for\n     * simplicity we will store all fractions with a numerator of 100.\n     */\n    private function writeZoom()\n    {\n        // If scale is 100 we don't need to write a record\n        if ($this->phpSheet->getSheetView()->getZoomScale() == 100) {\n            return;\n        }\n\n        $record      = 0x00A0;               // Record identifier\n        $length      = 0x0004;               // Bytes to follow\n\n        $header      = pack(\"vv\", $record, $length);\n        $data        = pack(\"vv\", $this->phpSheet->getSheetView()->getZoomScale(), 100);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Get Escher object\n     *\n     * @return PHPExcel_Shared_Escher\n     */\n    public function getEscher()\n    {\n        return $this->escher;\n    }\n\n    /**\n     * Set Escher object\n     *\n     * @param PHPExcel_Shared_Escher $pValue\n     */\n    public function setEscher(PHPExcel_Shared_Escher $pValue = null)\n    {\n        $this->escher = $pValue;\n    }\n\n    /**\n     * Write MSODRAWING record\n     */\n    private function writeMsoDrawing()\n    {\n        // write the Escher stream if necessary\n        if (isset($this->escher)) {\n            $writer = new PHPExcel_Writer_Excel5_Escher($this->escher);\n            $data = $writer->close();\n            $spOffsets = $writer->getSpOffsets();\n            $spTypes = $writer->getSpTypes();\n            // write the neccesary MSODRAWING, OBJ records\n\n            // split the Escher stream\n            $spOffsets[0] = 0;\n            $nm = count($spOffsets) - 1; // number of shapes excluding first shape\n            for ($i = 1; $i <= $nm; ++$i) {\n                // MSODRAWING record\n                $record = 0x00EC;            // Record identifier\n\n                // chunk of Escher stream for one shape\n                $dataChunk = substr($data, $spOffsets[$i -1], $spOffsets[$i] - $spOffsets[$i - 1]);\n\n                $length = strlen($dataChunk);\n                $header = pack(\"vv\", $record, $length);\n\n                $this->append($header . $dataChunk);\n\n                // OBJ record\n                $record = 0x005D; // record identifier\n                $objData = '';\n\n                // ftCmo\n                if ($spTypes[$i] == 0x00C9) {\n                    // Add ftCmo (common object data) subobject\n                    $objData .=\n                        pack(\n                            'vvvvvVVV',\n                            0x0015, // 0x0015 = ftCmo\n                            0x0012, // length of ftCmo data\n                            0x0014, // object type, 0x0014 = filter\n                            $i, // object id number, Excel seems to use 1-based index, local for the sheet\n                            0x2101, // option flags, 0x2001 is what OpenOffice.org uses\n                            0, // reserved\n                            0, // reserved\n                            0  // reserved\n                        );\n\n                    // Add ftSbs Scroll bar subobject\n                    $objData .= pack('vv', 0x00C, 0x0014);\n                    $objData .= pack('H*', '0000000000000000640001000A00000010000100');\n                    // Add ftLbsData (List box data) subobject\n                    $objData .= pack('vv', 0x0013, 0x1FEE);\n                    $objData .= pack('H*', '00000000010001030000020008005700');\n                } else {\n                    // Add ftCmo (common object data) subobject\n                    $objData .=\n                        pack(\n                            'vvvvvVVV',\n                            0x0015, // 0x0015 = ftCmo\n                            0x0012, // length of ftCmo data\n                            0x0008, // object type, 0x0008 = picture\n                            $i, // object id number, Excel seems to use 1-based index, local for the sheet\n                            0x6011, // option flags, 0x6011 is what OpenOffice.org uses\n                            0, // reserved\n                            0, // reserved\n                            0  // reserved\n                        );\n                }\n\n                // ftEnd\n                $objData .=\n                    pack(\n                        'vv',\n                        0x0000, // 0x0000 = ftEnd\n                        0x0000  // length of ftEnd data\n                    );\n\n                $length = strlen($objData);\n                $header = pack('vv', $record, $length);\n                $this->append($header . $objData);\n            }\n        }\n    }\n\n    /**\n     * Store the DATAVALIDATIONS and DATAVALIDATION records.\n     */\n    private function writeDataValidity()\n    {\n        // Datavalidation collection\n        $dataValidationCollection = $this->phpSheet->getDataValidationCollection();\n\n        // Write data validations?\n        if (!empty($dataValidationCollection)) {\n            // DATAVALIDATIONS record\n            $record = 0x01B2;      // Record identifier\n            $length = 0x0012;      // Bytes to follow\n\n            $grbit  = 0x0000;       // Prompt box at cell, no cached validity data at DV records\n            $horPos = 0x00000000;  // Horizontal position of prompt box, if fixed position\n            $verPos = 0x00000000;  // Vertical position of prompt box, if fixed position\n            $objId  = 0xFFFFFFFF;  // Object identifier of drop down arrow object, or -1 if not visible\n\n            $header = pack('vv', $record, $length);\n            $data   = pack('vVVVV', $grbit, $horPos, $verPos, $objId, count($dataValidationCollection));\n            $this->append($header.$data);\n\n            // DATAVALIDATION records\n            $record = 0x01BE;              // Record identifier\n\n            foreach ($dataValidationCollection as $cellCoordinate => $dataValidation) {\n                // initialize record data\n                $data = '';\n\n                // options\n                $options = 0x00000000;\n\n                // data type\n                $type = $dataValidation->getType();\n                switch ($type) {\n                    case PHPExcel_Cell_DataValidation::TYPE_NONE:\n                        $type = 0x00;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_WHOLE:\n                        $type = 0x01;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_DECIMAL:\n                        $type = 0x02;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_LIST:\n                        $type = 0x03;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_DATE:\n                        $type = 0x04;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_TIME:\n                        $type = 0x05;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH:\n                        $type = 0x06;\n                        break;\n                    case PHPExcel_Cell_DataValidation::TYPE_CUSTOM:\n                        $type = 0x07;\n                        break;\n                }\n                $options |= $type << 0;\n\n                // error style\n                $errorStyle = $dataValidation->getType();\n                switch ($errorStyle) {\n                    case PHPExcel_Cell_DataValidation::STYLE_STOP:\n                        $errorStyle = 0x00;\n                        break;\n                    case PHPExcel_Cell_DataValidation::STYLE_WARNING:\n                        $errorStyle = 0x01;\n                        break;\n                    case PHPExcel_Cell_DataValidation::STYLE_INFORMATION:\n                        $errorStyle = 0x02;\n                        break;\n                }\n                $options |= $errorStyle << 4;\n\n                // explicit formula?\n                if ($type == 0x03 && preg_match('/^\\\".*\\\"$/', $dataValidation->getFormula1())) {\n                    $options |= 0x01 << 7;\n                }\n\n                // empty cells allowed\n                $options |= $dataValidation->getAllowBlank() << 8;\n\n                // show drop down\n                $options |= (!$dataValidation->getShowDropDown()) << 9;\n\n                // show input message\n                $options |= $dataValidation->getShowInputMessage() << 18;\n\n                // show error message\n                $options |= $dataValidation->getShowErrorMessage() << 19;\n\n                // condition operator\n                $operator = $dataValidation->getOperator();\n                switch ($operator) {\n                    case PHPExcel_Cell_DataValidation::OPERATOR_BETWEEN:\n                        $operator = 0x00;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_NOTBETWEEN:\n                        $operator = 0x01;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_EQUAL:\n                        $operator = 0x02;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_NOTEQUAL:\n                        $operator = 0x03;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHAN:\n                        $operator = 0x04;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_LESSTHAN:\n                        $operator = 0x05;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHANOREQUAL:\n                        $operator = 0x06;\n                        break;\n                    case PHPExcel_Cell_DataValidation::OPERATOR_LESSTHANOREQUAL:\n                        $operator = 0x07;\n                        break;\n                }\n                $options |= $operator << 20;\n\n                $data        = pack('V', $options);\n\n                // prompt title\n                $promptTitle = $dataValidation->getPromptTitle() !== '' ?\n                    $dataValidation->getPromptTitle() : chr(0);\n                $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($promptTitle);\n\n                // error title\n                $errorTitle = $dataValidation->getErrorTitle() !== '' ?\n                    $dataValidation->getErrorTitle() : chr(0);\n                $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($errorTitle);\n\n                // prompt text\n                $prompt = $dataValidation->getPrompt() !== '' ?\n                    $dataValidation->getPrompt() : chr(0);\n                $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($prompt);\n\n                // error text\n                $error = $dataValidation->getError() !== '' ?\n                    $dataValidation->getError() : chr(0);\n                $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($error);\n\n                // formula 1\n                try {\n                    $formula1 = $dataValidation->getFormula1();\n                    if ($type == 0x03) { // list type\n                        $formula1 = str_replace(',', chr(0), $formula1);\n                    }\n                    $this->parser->parse($formula1);\n                    $formula1 = $this->parser->toReversePolish();\n                    $sz1 = strlen($formula1);\n                } catch (PHPExcel_Exception $e) {\n                    $sz1 = 0;\n                    $formula1 = '';\n                }\n                $data .= pack('vv', $sz1, 0x0000);\n                $data .= $formula1;\n\n                // formula 2\n                try {\n                    $formula2 = $dataValidation->getFormula2();\n                    if ($formula2 === '') {\n                        throw new PHPExcel_Writer_Exception('No formula2');\n                    }\n                    $this->parser->parse($formula2);\n                    $formula2 = $this->parser->toReversePolish();\n                    $sz2 = strlen($formula2);\n                } catch (PHPExcel_Exception $e) {\n                    $sz2 = 0;\n                    $formula2 = '';\n                }\n                $data .= pack('vv', $sz2, 0x0000);\n                $data .= $formula2;\n\n                // cell range address list\n                $data .= pack('v', 0x0001);\n                $data .= $this->writeBIFF8CellRangeAddressFixed($cellCoordinate);\n\n                $length = strlen($data);\n                $header = pack(\"vv\", $record, $length);\n\n                $this->append($header . $data);\n            }\n        }\n    }\n\n    /**\n     * Map Error code\n     *\n     * @param string $errorCode\n     * @return int\n     */\n    private static function mapErrorCode($errorCode)\n    {\n        switch ($errorCode) {\n            case '#NULL!':\n                return 0x00;\n            case '#DIV/0!':\n                return 0x07;\n            case '#VALUE!':\n                return 0x0F;\n            case '#REF!':\n                return 0x17;\n            case '#NAME?':\n                return 0x1D;\n            case '#NUM!':\n                return 0x24;\n            case '#N/A':\n                return 0x2A;\n        }\n\n        return 0;\n    }\n\n    /**\n     * Write PLV Record\n     */\n    private function writePageLayoutView()\n    {\n        $record      = 0x088B;               // Record identifier\n        $length      = 0x0010;               // Bytes to follow\n\n        $rt         = 0x088B; // 2\n        $grbitFrt   = 0x0000; // 2\n        $reserved   = 0x0000000000000000; // 8\n        $wScalvePLV = $this->phpSheet->getSheetView()->getZoomScale(); // 2\n\n        // The options flags that comprise $grbit\n        if ($this->phpSheet->getSheetView()->getView() == PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT) {\n            $fPageLayoutView   = 1;\n        } else {\n            $fPageLayoutView   = 0;\n        }\n        $fRulerVisible     = 0;\n        $fWhitespaceHidden = 0;\n\n        $grbit      = $fPageLayoutView; // 2\n        $grbit        |= $fRulerVisible       << 1;\n        $grbit        |= $fWhitespaceHidden  << 3;\n\n        $header      = pack(\"vv\", $record, $length);\n        $data      = pack(\"vvVVvv\", $rt, $grbitFrt, 0x00000000, 0x00000000, $wScalvePLV, $grbit);\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write CFRule Record\n     * @param PHPExcel_Style_Conditional $conditional\n     */\n    private function writeCFRule(PHPExcel_Style_Conditional $conditional)\n    {\n        $record      = 0x01B1;               // Record identifier\n\n        // $type : Type of the CF\n        // $operatorType : Comparison operator\n        if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION) {\n            $type = 0x02;\n            $operatorType = 0x00;\n        } elseif ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS) {\n            $type = 0x01;\n\n            switch ($conditional->getOperatorType()) {\n                case PHPExcel_Style_Conditional::OPERATOR_NONE:\n                    $operatorType = 0x00;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_EQUAL:\n                    $operatorType = 0x03;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_GREATERTHAN:\n                    $operatorType = 0x05;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_GREATERTHANOREQUAL:\n                    $operatorType = 0x07;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_LESSTHAN:\n                    $operatorType = 0x06;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_LESSTHANOREQUAL:\n                    $operatorType = 0x08;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_NOTEQUAL:\n                    $operatorType = 0x04;\n                    break;\n                case PHPExcel_Style_Conditional::OPERATOR_BETWEEN:\n                    $operatorType = 0x01;\n                    break;\n                    // not OPERATOR_NOTBETWEEN 0x02\n            }\n        }\n\n        // $szValue1 : size of the formula data for first value or formula\n        // $szValue2 : size of the formula data for second value or formula\n        $arrConditions = $conditional->getConditions();\n        $numConditions = sizeof($arrConditions);\n        if ($numConditions == 1) {\n            $szValue1 = ($arrConditions[0] <= 65535 ? 3 : 0x0000);\n            $szValue2 = 0x0000;\n            $operand1 = pack('Cv', 0x1E, $arrConditions[0]);\n            $operand2 = null;\n        } elseif ($numConditions == 2 && ($conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_BETWEEN)) {\n            $szValue1 = ($arrConditions[0] <= 65535 ? 3 : 0x0000);\n            $szValue2 = ($arrConditions[1] <= 65535 ? 3 : 0x0000);\n            $operand1 = pack('Cv', 0x1E, $arrConditions[0]);\n            $operand2 = pack('Cv', 0x1E, $arrConditions[1]);\n        } else {\n            $szValue1 = 0x0000;\n            $szValue2 = 0x0000;\n            $operand1 = null;\n            $operand2 = null;\n        }\n\n        // $flags : Option flags\n        // Alignment\n        $bAlignHz = ($conditional->getStyle()->getAlignment()->getHorizontal() == null ? 1 : 0);\n        $bAlignVt = ($conditional->getStyle()->getAlignment()->getVertical() == null ? 1 : 0);\n        $bAlignWrapTx = ($conditional->getStyle()->getAlignment()->getWrapText() == false ? 1 : 0);\n        $bTxRotation = ($conditional->getStyle()->getAlignment()->getTextRotation() == null ? 1 : 0);\n        $bIndent = ($conditional->getStyle()->getAlignment()->getIndent() == 0 ? 1 : 0);\n        $bShrinkToFit = ($conditional->getStyle()->getAlignment()->getShrinkToFit() == false ? 1 : 0);\n        if ($bAlignHz == 0 || $bAlignVt == 0 || $bAlignWrapTx == 0 || $bTxRotation == 0 || $bIndent == 0 || $bShrinkToFit == 0) {\n            $bFormatAlign = 1;\n        } else {\n            $bFormatAlign = 0;\n        }\n        // Protection\n        $bProtLocked = ($conditional->getStyle()->getProtection()->getLocked() == null ? 1 : 0);\n        $bProtHidden = ($conditional->getStyle()->getProtection()->getHidden() == null ? 1 : 0);\n        if ($bProtLocked == 0 || $bProtHidden == 0) {\n            $bFormatProt = 1;\n        } else {\n            $bFormatProt = 0;\n        }\n        // Border\n        $bBorderLeft = ($conditional->getStyle()->getBorders()->getLeft()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK\n                        && $conditional->getStyle()->getBorders()->getLeft()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0);\n        $bBorderRight = ($conditional->getStyle()->getBorders()->getRight()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK\n                        && $conditional->getStyle()->getBorders()->getRight()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0);\n        $bBorderTop = ($conditional->getStyle()->getBorders()->getTop()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK\n                        && $conditional->getStyle()->getBorders()->getTop()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0);\n        $bBorderBottom = ($conditional->getStyle()->getBorders()->getBottom()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK\n                        && $conditional->getStyle()->getBorders()->getBottom()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0);\n        if ($bBorderLeft == 0 || $bBorderRight == 0 || $bBorderTop == 0 || $bBorderBottom == 0) {\n            $bFormatBorder = 1;\n        } else {\n            $bFormatBorder = 0;\n        }\n        // Pattern\n        $bFillStyle = ($conditional->getStyle()->getFill()->getFillType() == null ? 0 : 1);\n        $bFillColor = ($conditional->getStyle()->getFill()->getStartColor()->getARGB() == null ? 0 : 1);\n        $bFillColorBg = ($conditional->getStyle()->getFill()->getEndColor()->getARGB() == null ? 0 : 1);\n        if ($bFillStyle == 0 || $bFillColor == 0 || $bFillColorBg == 0) {\n            $bFormatFill = 1;\n        } else {\n            $bFormatFill = 0;\n        }\n        // Font\n        if ($conditional->getStyle()->getFont()->getName() != null\n            || $conditional->getStyle()->getFont()->getSize() != null\n            || $conditional->getStyle()->getFont()->getBold() != null\n            || $conditional->getStyle()->getFont()->getItalic() != null\n            || $conditional->getStyle()->getFont()->getSuperScript() != null\n            || $conditional->getStyle()->getFont()->getSubScript() != null\n            || $conditional->getStyle()->getFont()->getUnderline() != null\n            || $conditional->getStyle()->getFont()->getStrikethrough() != null\n            || $conditional->getStyle()->getFont()->getColor()->getARGB() != null) {\n            $bFormatFont = 1;\n        } else {\n            $bFormatFont = 0;\n        }\n        // Alignment\n        $flags = 0;\n        $flags |= (1 == $bAlignHz      ? 0x00000001 : 0);\n        $flags |= (1 == $bAlignVt      ? 0x00000002 : 0);\n        $flags |= (1 == $bAlignWrapTx  ? 0x00000004 : 0);\n        $flags |= (1 == $bTxRotation   ? 0x00000008 : 0);\n        // Justify last line flag\n        $flags |= (1 == 1              ? 0x00000010 : 0);\n        $flags |= (1 == $bIndent       ? 0x00000020 : 0);\n        $flags |= (1 == $bShrinkToFit  ? 0x00000040 : 0);\n        // Default\n        $flags |= (1 == 1              ? 0x00000080 : 0);\n        // Protection\n        $flags |= (1 == $bProtLocked   ? 0x00000100 : 0);\n        $flags |= (1 == $bProtHidden   ? 0x00000200 : 0);\n        // Border\n        $flags |= (1 == $bBorderLeft   ? 0x00000400 : 0);\n        $flags |= (1 == $bBorderRight  ? 0x00000800 : 0);\n        $flags |= (1 == $bBorderTop    ? 0x00001000 : 0);\n        $flags |= (1 == $bBorderBottom ? 0x00002000 : 0);\n        $flags |= (1 == 1              ? 0x00004000 : 0); // Top left to Bottom right border\n        $flags |= (1 == 1              ? 0x00008000 : 0); // Bottom left to Top right border\n        // Pattern\n        $flags |= (1 == $bFillStyle    ? 0x00010000 : 0);\n        $flags |= (1 == $bFillColor    ? 0x00020000 : 0);\n        $flags |= (1 == $bFillColorBg  ? 0x00040000 : 0);\n        $flags |= (1 == 1              ? 0x00380000 : 0);\n        // Font\n        $flags |= (1 == $bFormatFont   ? 0x04000000 : 0);\n        // Alignment:\n        $flags |= (1 == $bFormatAlign  ? 0x08000000 : 0);\n        // Border\n        $flags |= (1 == $bFormatBorder ? 0x10000000 : 0);\n        // Pattern\n        $flags |= (1 == $bFormatFill   ? 0x20000000 : 0);\n        // Protection\n        $flags |= (1 == $bFormatProt   ? 0x40000000 : 0);\n        // Text direction\n        $flags |= (1 == 0              ? 0x80000000 : 0);\n\n        // Data Blocks\n        if ($bFormatFont == 1) {\n            // Font Name\n            if ($conditional->getStyle()->getFont()->getName() == null) {\n                $dataBlockFont =  pack('VVVVVVVV', 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000);\n                $dataBlockFont .= pack('VVVVVVVV', 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000);\n            } else {\n                $dataBlockFont = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($conditional->getStyle()->getFont()->getName());\n            }\n            // Font Size\n            if ($conditional->getStyle()->getFont()->getSize() == null) {\n                $dataBlockFont .= pack('V', 20 * 11);\n            } else {\n                $dataBlockFont .= pack('V', 20 * $conditional->getStyle()->getFont()->getSize());\n            }\n            // Font Options\n            $dataBlockFont .= pack('V', 0);\n            // Font weight\n            if ($conditional->getStyle()->getFont()->getBold() == true) {\n                $dataBlockFont .= pack('v', 0x02BC);\n            } else {\n                $dataBlockFont .= pack('v', 0x0190);\n            }\n            // Escapement type\n            if ($conditional->getStyle()->getFont()->getSubScript() == true) {\n                $dataBlockFont .= pack('v', 0x02);\n                $fontEscapement = 0;\n            } elseif ($conditional->getStyle()->getFont()->getSuperScript() == true) {\n                $dataBlockFont .= pack('v', 0x01);\n                $fontEscapement = 0;\n            } else {\n                $dataBlockFont .= pack('v', 0x00);\n                $fontEscapement = 1;\n            }\n            // Underline type\n            switch ($conditional->getStyle()->getFont()->getUnderline()) {\n                case PHPExcel_Style_Font::UNDERLINE_NONE:\n                    $dataBlockFont .= pack('C', 0x00);\n                    $fontUnderline = 0;\n                    break;\n                case PHPExcel_Style_Font::UNDERLINE_DOUBLE:\n                    $dataBlockFont .= pack('C', 0x02);\n                    $fontUnderline = 0;\n                    break;\n                case PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING:\n                    $dataBlockFont .= pack('C', 0x22);\n                    $fontUnderline = 0;\n                    break;\n                case PHPExcel_Style_Font::UNDERLINE_SINGLE:\n                    $dataBlockFont .= pack('C', 0x01);\n                    $fontUnderline = 0;\n                    break;\n                case PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING:\n                    $dataBlockFont .= pack('C', 0x21);\n                    $fontUnderline = 0;\n                    break;\n                default: $dataBlockFont .= pack('C', 0x00);\n                    $fontUnderline = 1;\n                    break;\n            }\n            // Not used (3)\n            $dataBlockFont .= pack('vC', 0x0000, 0x00);\n            // Font color index\n            switch ($conditional->getStyle()->getFont()->getColor()->getRGB()) {\n                case '000000':\n                    $colorIdx = 0x08;\n                    break;\n                case 'FFFFFF':\n                    $colorIdx = 0x09;\n                    break;\n                case 'FF0000':\n                    $colorIdx = 0x0A;\n                    break;\n                case '00FF00':\n                    $colorIdx = 0x0B;\n                    break;\n                case '0000FF':\n                    $colorIdx = 0x0C;\n                    break;\n                case 'FFFF00':\n                    $colorIdx = 0x0D;\n                    break;\n                case 'FF00FF':\n                    $colorIdx = 0x0E;\n                    break;\n                case '00FFFF':\n                    $colorIdx = 0x0F;\n                    break;\n                case '800000':\n                    $colorIdx = 0x10;\n                    break;\n                case '008000':\n                    $colorIdx = 0x11;\n                    break;\n                case '000080':\n                    $colorIdx = 0x12;\n                    break;\n                case '808000':\n                    $colorIdx = 0x13;\n                    break;\n                case '800080':\n                    $colorIdx = 0x14;\n                    break;\n                case '008080':\n                    $colorIdx = 0x15;\n                    break;\n                case 'C0C0C0':\n                    $colorIdx = 0x16;\n                    break;\n                case '808080':\n                    $colorIdx = 0x17;\n                    break;\n                case '9999FF':\n                    $colorIdx = 0x18;\n                    break;\n                case '993366':\n                    $colorIdx = 0x19;\n                    break;\n                case 'FFFFCC':\n                    $colorIdx = 0x1A;\n                    break;\n                case 'CCFFFF':\n                    $colorIdx = 0x1B;\n                    break;\n                case '660066':\n                    $colorIdx = 0x1C;\n                    break;\n                case 'FF8080':\n                    $colorIdx = 0x1D;\n                    break;\n                case '0066CC':\n                    $colorIdx = 0x1E;\n                    break;\n                case 'CCCCFF':\n                    $colorIdx = 0x1F;\n                    break;\n                case '000080':\n                    $colorIdx = 0x20;\n                    break;\n                case 'FF00FF':\n                    $colorIdx = 0x21;\n                    break;\n                case 'FFFF00':\n                    $colorIdx = 0x22;\n                    break;\n                case '00FFFF':\n                    $colorIdx = 0x23;\n                    break;\n                case '800080':\n                    $colorIdx = 0x24;\n                    break;\n                case '800000':\n                    $colorIdx = 0x25;\n                    break;\n                case '008080':\n                    $colorIdx = 0x26;\n                    break;\n                case '0000FF':\n                    $colorIdx = 0x27;\n                    break;\n                case '00CCFF':\n                    $colorIdx = 0x28;\n                    break;\n                case 'CCFFFF':\n                    $colorIdx = 0x29;\n                    break;\n                case 'CCFFCC':\n                    $colorIdx = 0x2A;\n                    break;\n                case 'FFFF99':\n                    $colorIdx = 0x2B;\n                    break;\n                case '99CCFF':\n                    $colorIdx = 0x2C;\n                    break;\n                case 'FF99CC':\n                    $colorIdx = 0x2D;\n                    break;\n                case 'CC99FF':\n                    $colorIdx = 0x2E;\n                    break;\n                case 'FFCC99':\n                    $colorIdx = 0x2F;\n                    break;\n                case '3366FF':\n                    $colorIdx = 0x30;\n                    break;\n                case '33CCCC':\n                    $colorIdx = 0x31;\n                    break;\n                case '99CC00':\n                    $colorIdx = 0x32;\n                    break;\n                case 'FFCC00':\n                    $colorIdx = 0x33;\n                    break;\n                case 'FF9900':\n                    $colorIdx = 0x34;\n                    break;\n                case 'FF6600':\n                    $colorIdx = 0x35;\n                    break;\n                case '666699':\n                    $colorIdx = 0x36;\n                    break;\n                case '969696':\n                    $colorIdx = 0x37;\n                    break;\n                case '003366':\n                    $colorIdx = 0x38;\n                    break;\n                case '339966':\n                    $colorIdx = 0x39;\n                    break;\n                case '003300':\n                    $colorIdx = 0x3A;\n                    break;\n                case '333300':\n                    $colorIdx = 0x3B;\n                    break;\n                case '993300':\n                    $colorIdx = 0x3C;\n                    break;\n                case '993366':\n                    $colorIdx = 0x3D;\n                    break;\n                case '333399':\n                    $colorIdx = 0x3E;\n                    break;\n                case '333333':\n                    $colorIdx = 0x3F;\n                    break;\n                default:\n                    $colorIdx = 0x00;\n                    break;\n            }\n            $dataBlockFont .= pack('V', $colorIdx);\n            // Not used (4)\n            $dataBlockFont .= pack('V', 0x00000000);\n            // Options flags for modified font attributes\n            $optionsFlags = 0;\n            $optionsFlagsBold = ($conditional->getStyle()->getFont()->getBold() == null ? 1 : 0);\n            $optionsFlags |= (1 == $optionsFlagsBold  ? 0x00000002 : 0);\n            $optionsFlags |= (1 == 1                  ? 0x00000008 : 0);\n            $optionsFlags |= (1 == 1                  ? 0x00000010 : 0);\n            $optionsFlags |= (1 == 0                  ? 0x00000020 : 0);\n            $optionsFlags |= (1 == 1                  ? 0x00000080 : 0);\n            $dataBlockFont .= pack('V', $optionsFlags);\n            // Escapement type\n            $dataBlockFont .= pack('V', $fontEscapement);\n            // Underline type\n            $dataBlockFont .= pack('V', $fontUnderline);\n            // Always\n            $dataBlockFont .= pack('V', 0x00000000);\n            // Always\n            $dataBlockFont .= pack('V', 0x00000000);\n            // Not used (8)\n            $dataBlockFont .= pack('VV', 0x00000000, 0x00000000);\n            // Always\n            $dataBlockFont .= pack('v', 0x0001);\n        }\n        if ($bFormatAlign == 1) {\n            $blockAlign = 0;\n            // Alignment and text break\n            switch ($conditional->getStyle()->getAlignment()->getHorizontal()) {\n                case PHPExcel_Style_Alignment::HORIZONTAL_GENERAL:\n                    $blockAlign = 0;\n                    break;\n                case PHPExcel_Style_Alignment::HORIZONTAL_LEFT:\n                    $blockAlign = 1;\n                    break;\n                case PHPExcel_Style_Alignment::HORIZONTAL_RIGHT:\n                    $blockAlign = 3;\n                    break;\n                case PHPExcel_Style_Alignment::HORIZONTAL_CENTER:\n                    $blockAlign = 2;\n                    break;\n                case PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS:\n                    $blockAlign = 6;\n                    break;\n                case PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY:\n                    $blockAlign = 5;\n                    break;\n            }\n            if ($conditional->getStyle()->getAlignment()->getWrapText() == true) {\n                $blockAlign |= 1 << 3;\n            } else {\n                $blockAlign |= 0 << 3;\n            }\n            switch ($conditional->getStyle()->getAlignment()->getVertical()) {\n                case PHPExcel_Style_Alignment::VERTICAL_BOTTOM:\n                    $blockAlign = 2 << 4;\n                    break;\n                case PHPExcel_Style_Alignment::VERTICAL_TOP:\n                    $blockAlign = 0 << 4;\n                    break;\n                case PHPExcel_Style_Alignment::VERTICAL_CENTER:\n                    $blockAlign = 1 << 4;\n                    break;\n                case PHPExcel_Style_Alignment::VERTICAL_JUSTIFY:\n                    $blockAlign = 3 << 4;\n                    break;\n            }\n            $blockAlign |= 0 << 7;\n\n            // Text rotation angle\n            $blockRotation = $conditional->getStyle()->getAlignment()->getTextRotation();\n\n            // Indentation\n            $blockIndent = $conditional->getStyle()->getAlignment()->getIndent();\n            if ($conditional->getStyle()->getAlignment()->getShrinkToFit() == true) {\n                $blockIndent |= 1 << 4;\n            } else {\n                $blockIndent |= 0 << 4;\n            }\n            $blockIndent |= 0 << 6;\n\n            // Relative indentation\n            $blockIndentRelative = 255;\n\n            $dataBlockAlign = pack('CCvvv', $blockAlign, $blockRotation, $blockIndent, $blockIndentRelative, 0x0000);\n        }\n        if ($bFormatBorder == 1) {\n            $blockLineStyle = 0;\n            switch ($conditional->getStyle()->getBorders()->getLeft()->getBorderStyle()) {\n                case PHPExcel_Style_Border::BORDER_NONE:\n                    $blockLineStyle |= 0x00;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THIN:\n                    $blockLineStyle |= 0x01;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUM:\n                    $blockLineStyle |= 0x02;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHED:\n                    $blockLineStyle |= 0x03;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOTTED:\n                    $blockLineStyle |= 0x04;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THICK:\n                    $blockLineStyle |= 0x05;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOUBLE:\n                    $blockLineStyle |= 0x06;\n                    break;\n                case PHPExcel_Style_Border::BORDER_HAIR:\n                    $blockLineStyle |= 0x07;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:\n                    $blockLineStyle |= 0x08;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOT:\n                    $blockLineStyle |= 0x09;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:\n                    $blockLineStyle |= 0x0A;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOTDOT:\n                    $blockLineStyle |= 0x0B;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:\n                    $blockLineStyle |= 0x0C;\n                    break;\n                case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:\n                    $blockLineStyle |= 0x0D;\n                    break;\n            }\n            switch ($conditional->getStyle()->getBorders()->getRight()->getBorderStyle()) {\n                case PHPExcel_Style_Border::BORDER_NONE:\n                    $blockLineStyle |= 0x00 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THIN:\n                    $blockLineStyle |= 0x01 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUM:\n                    $blockLineStyle |= 0x02 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHED:\n                    $blockLineStyle |= 0x03 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOTTED:\n                    $blockLineStyle |= 0x04 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THICK:\n                    $blockLineStyle |= 0x05 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOUBLE:\n                    $blockLineStyle |= 0x06 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_HAIR:\n                    $blockLineStyle |= 0x07 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:\n                    $blockLineStyle |= 0x08 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOT:\n                    $blockLineStyle |= 0x09 << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:\n                    $blockLineStyle |= 0x0A << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOTDOT:\n                    $blockLineStyle |= 0x0B << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:\n                    $blockLineStyle |= 0x0C << 4;\n                    break;\n                case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:\n                    $blockLineStyle |= 0x0D << 4;\n                    break;\n            }\n            switch ($conditional->getStyle()->getBorders()->getTop()->getBorderStyle()) {\n                case PHPExcel_Style_Border::BORDER_NONE:\n                    $blockLineStyle |= 0x00 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THIN:\n                    $blockLineStyle |= 0x01 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUM:\n                    $blockLineStyle |= 0x02 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHED:\n                    $blockLineStyle |= 0x03 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOTTED:\n                    $blockLineStyle |= 0x04 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THICK:\n                    $blockLineStyle |= 0x05 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOUBLE:\n                    $blockLineStyle |= 0x06 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_HAIR:\n                    $blockLineStyle |= 0x07 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:\n                    $blockLineStyle |= 0x08 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOT:\n                    $blockLineStyle |= 0x09 << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:\n                    $blockLineStyle |= 0x0A << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOTDOT:\n                    $blockLineStyle |= 0x0B << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:\n                    $blockLineStyle |= 0x0C << 8;\n                    break;\n                case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:\n                    $blockLineStyle |= 0x0D << 8;\n                    break;\n            }\n            switch ($conditional->getStyle()->getBorders()->getBottom()->getBorderStyle()) {\n                case PHPExcel_Style_Border::BORDER_NONE:\n                    $blockLineStyle |= 0x00 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THIN:\n                    $blockLineStyle |= 0x01 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUM:\n                    $blockLineStyle |= 0x02 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHED:\n                    $blockLineStyle |= 0x03 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOTTED:\n                    $blockLineStyle |= 0x04 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THICK:\n                    $blockLineStyle |= 0x05 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOUBLE:\n                    $blockLineStyle |= 0x06 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_HAIR:\n                    $blockLineStyle |= 0x07 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:\n                    $blockLineStyle |= 0x08 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOT:\n                    $blockLineStyle |= 0x09 << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:\n                    $blockLineStyle |= 0x0A << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOTDOT:\n                    $blockLineStyle |= 0x0B << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:\n                    $blockLineStyle |= 0x0C << 12;\n                    break;\n                case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:\n                    $blockLineStyle |= 0x0D << 12;\n                    break;\n            }\n            //@todo writeCFRule() => $blockLineStyle => Index Color for left line\n            //@todo writeCFRule() => $blockLineStyle => Index Color for right line\n            //@todo writeCFRule() => $blockLineStyle => Top-left to bottom-right on/off\n            //@todo writeCFRule() => $blockLineStyle => Bottom-left to top-right on/off\n            $blockColor = 0;\n            //@todo writeCFRule() => $blockColor => Index Color for top line\n            //@todo writeCFRule() => $blockColor => Index Color for bottom line\n            //@todo writeCFRule() => $blockColor => Index Color for diagonal line\n            switch ($conditional->getStyle()->getBorders()->getDiagonal()->getBorderStyle()) {\n                case PHPExcel_Style_Border::BORDER_NONE:\n                    $blockColor |= 0x00 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THIN:\n                    $blockColor |= 0x01 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUM:\n                    $blockColor |= 0x02 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHED:\n                    $blockColor |= 0x03 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOTTED:\n                    $blockColor |= 0x04 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_THICK:\n                    $blockColor |= 0x05 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DOUBLE:\n                    $blockColor |= 0x06 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_HAIR:\n                    $blockColor |= 0x07 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:\n                    $blockColor |= 0x08 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOT:\n                    $blockColor |= 0x09 << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:\n                    $blockColor |= 0x0A << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_DASHDOTDOT:\n                    $blockColor |= 0x0B << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:\n                    $blockColor |= 0x0C << 21;\n                    break;\n                case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:\n                    $blockColor |= 0x0D << 21;\n                    break;\n            }\n            $dataBlockBorder = pack('vv', $blockLineStyle, $blockColor);\n        }\n        if ($bFormatFill == 1) {\n            // Fill Patern Style\n            $blockFillPatternStyle = 0;\n            switch ($conditional->getStyle()->getFill()->getFillType()) {\n                case PHPExcel_Style_Fill::FILL_NONE:\n                    $blockFillPatternStyle = 0x00;\n                    break;\n                case PHPExcel_Style_Fill::FILL_SOLID:\n                    $blockFillPatternStyle = 0x01;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY:\n                    $blockFillPatternStyle = 0x02;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY:\n                    $blockFillPatternStyle = 0x03;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY:\n                    $blockFillPatternStyle = 0x04;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL:\n                    $blockFillPatternStyle = 0x05;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL:\n                    $blockFillPatternStyle = 0x06;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN:\n                    $blockFillPatternStyle = 0x07;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKUP:\n                    $blockFillPatternStyle = 0x08;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID:\n                    $blockFillPatternStyle = 0x09;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS:\n                    $blockFillPatternStyle = 0x0A;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL:\n                    $blockFillPatternStyle = 0x0B;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL:\n                    $blockFillPatternStyle = 0x0C;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN:\n                    $blockFillPatternStyle = 0x0D;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP:\n                    $blockFillPatternStyle = 0x0E;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID:\n                    $blockFillPatternStyle = 0x0F;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS:\n                    $blockFillPatternStyle = 0x10;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_GRAY125:\n                    $blockFillPatternStyle = 0x11;\n                    break;\n                case PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625:\n                    $blockFillPatternStyle = 0x12;\n                    break;\n                case PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR:\n                    $blockFillPatternStyle = 0x00;\n                    break;    // does not exist in BIFF8\n                case PHPExcel_Style_Fill::FILL_GRADIENT_PATH:\n                    $blockFillPatternStyle = 0x00;\n                    break;    // does not exist in BIFF8\n                default:\n                    $blockFillPatternStyle = 0x00;\n                    break;\n            }\n            // Color\n            switch ($conditional->getStyle()->getFill()->getStartColor()->getRGB()) {\n                case '000000':\n                    $colorIdxBg = 0x08;\n                    break;\n                case 'FFFFFF':\n                    $colorIdxBg = 0x09;\n                    break;\n                case 'FF0000':\n                    $colorIdxBg = 0x0A;\n                    break;\n                case '00FF00':\n                    $colorIdxBg = 0x0B;\n                    break;\n                case '0000FF':\n                    $colorIdxBg = 0x0C;\n                    break;\n                case 'FFFF00':\n                    $colorIdxBg = 0x0D;\n                    break;\n                case 'FF00FF':\n                    $colorIdxBg = 0x0E;\n                    break;\n                case '00FFFF':\n                    $colorIdxBg = 0x0F;\n                    break;\n                case '800000':\n                    $colorIdxBg = 0x10;\n                    break;\n                case '008000':\n                    $colorIdxBg = 0x11;\n                    break;\n                case '000080':\n                    $colorIdxBg = 0x12;\n                    break;\n                case '808000':\n                    $colorIdxBg = 0x13;\n                    break;\n                case '800080':\n                    $colorIdxBg = 0x14;\n                    break;\n                case '008080':\n                    $colorIdxBg = 0x15;\n                    break;\n                case 'C0C0C0':\n                    $colorIdxBg = 0x16;\n                    break;\n                case '808080':\n                    $colorIdxBg = 0x17;\n                    break;\n                case '9999FF':\n                    $colorIdxBg = 0x18;\n                    break;\n                case '993366':\n                    $colorIdxBg = 0x19;\n                    break;\n                case 'FFFFCC':\n                    $colorIdxBg = 0x1A;\n                    break;\n                case 'CCFFFF':\n                    $colorIdxBg = 0x1B;\n                    break;\n                case '660066':\n                    $colorIdxBg = 0x1C;\n                    break;\n                case 'FF8080':\n                    $colorIdxBg = 0x1D;\n                    break;\n                case '0066CC':\n                    $colorIdxBg = 0x1E;\n                    break;\n                case 'CCCCFF':\n                    $colorIdxBg = 0x1F;\n                    break;\n                case '000080':\n                    $colorIdxBg = 0x20;\n                    break;\n                case 'FF00FF':\n                    $colorIdxBg = 0x21;\n                    break;\n                case 'FFFF00':\n                    $colorIdxBg = 0x22;\n                    break;\n                case '00FFFF':\n                    $colorIdxBg = 0x23;\n                    break;\n                case '800080':\n                    $colorIdxBg = 0x24;\n                    break;\n                case '800000':\n                    $colorIdxBg = 0x25;\n                    break;\n                case '008080':\n                    $colorIdxBg = 0x26;\n                    break;\n                case '0000FF':\n                    $colorIdxBg = 0x27;\n                    break;\n                case '00CCFF':\n                    $colorIdxBg = 0x28;\n                    break;\n                case 'CCFFFF':\n                    $colorIdxBg = 0x29;\n                    break;\n                case 'CCFFCC':\n                    $colorIdxBg = 0x2A;\n                    break;\n                case 'FFFF99':\n                    $colorIdxBg = 0x2B;\n                    break;\n                case '99CCFF':\n                    $colorIdxBg = 0x2C;\n                    break;\n                case 'FF99CC':\n                    $colorIdxBg = 0x2D;\n                    break;\n                case 'CC99FF':\n                    $colorIdxBg = 0x2E;\n                    break;\n                case 'FFCC99':\n                    $colorIdxBg = 0x2F;\n                    break;\n                case '3366FF':\n                    $colorIdxBg = 0x30;\n                    break;\n                case '33CCCC':\n                    $colorIdxBg = 0x31;\n                    break;\n                case '99CC00':\n                    $colorIdxBg = 0x32;\n                    break;\n                case 'FFCC00':\n                    $colorIdxBg = 0x33;\n                    break;\n                case 'FF9900':\n                    $colorIdxBg = 0x34;\n                    break;\n                case 'FF6600':\n                    $colorIdxBg = 0x35;\n                    break;\n                case '666699':\n                    $colorIdxBg = 0x36;\n                    break;\n                case '969696':\n                    $colorIdxBg = 0x37;\n                    break;\n                case '003366':\n                    $colorIdxBg = 0x38;\n                    break;\n                case '339966':\n                    $colorIdxBg = 0x39;\n                    break;\n                case '003300':\n                    $colorIdxBg = 0x3A;\n                    break;\n                case '333300':\n                    $colorIdxBg = 0x3B;\n                    break;\n                case '993300':\n                    $colorIdxBg = 0x3C;\n                    break;\n                case '993366':\n                    $colorIdxBg = 0x3D;\n                    break;\n                case '333399':\n                    $colorIdxBg = 0x3E;\n                    break;\n                case '333333':\n                    $colorIdxBg = 0x3F;\n                    break;\n                default:\n                          $colorIdxBg = 0x41;\n                    break;\n            }\n            // Fg Color\n            switch ($conditional->getStyle()->getFill()->getEndColor()->getRGB()) {\n                case '000000':\n                    $colorIdxFg = 0x08;\n                    break;\n                case 'FFFFFF':\n                    $colorIdxFg = 0x09;\n                    break;\n                case 'FF0000':\n                    $colorIdxFg = 0x0A;\n                    break;\n                case '00FF00':\n                    $colorIdxFg = 0x0B;\n                    break;\n                case '0000FF':\n                    $colorIdxFg = 0x0C;\n                    break;\n                case 'FFFF00':\n                    $colorIdxFg = 0x0D;\n                    break;\n                case 'FF00FF':\n                    $colorIdxFg = 0x0E;\n                    break;\n                case '00FFFF':\n                    $colorIdxFg = 0x0F;\n                    break;\n                case '800000':\n                    $colorIdxFg = 0x10;\n                    break;\n                case '008000':\n                    $colorIdxFg = 0x11;\n                    break;\n                case '000080':\n                    $colorIdxFg = 0x12;\n                    break;\n                case '808000':\n                    $colorIdxFg = 0x13;\n                    break;\n                case '800080':\n                    $colorIdxFg = 0x14;\n                    break;\n                case '008080':\n                    $colorIdxFg = 0x15;\n                    break;\n                case 'C0C0C0':\n                    $colorIdxFg = 0x16;\n                    break;\n                case '808080':\n                    $colorIdxFg = 0x17;\n                    break;\n                case '9999FF':\n                    $colorIdxFg = 0x18;\n                    break;\n                case '993366':\n                    $colorIdxFg = 0x19;\n                    break;\n                case 'FFFFCC':\n                    $colorIdxFg = 0x1A;\n                    break;\n                case 'CCFFFF':\n                    $colorIdxFg = 0x1B;\n                    break;\n                case '660066':\n                    $colorIdxFg = 0x1C;\n                    break;\n                case 'FF8080':\n                    $colorIdxFg = 0x1D;\n                    break;\n                case '0066CC':\n                    $colorIdxFg = 0x1E;\n                    break;\n                case 'CCCCFF':\n                    $colorIdxFg = 0x1F;\n                    break;\n                case '000080':\n                    $colorIdxFg = 0x20;\n                    break;\n                case 'FF00FF':\n                    $colorIdxFg = 0x21;\n                    break;\n                case 'FFFF00':\n                    $colorIdxFg = 0x22;\n                    break;\n                case '00FFFF':\n                    $colorIdxFg = 0x23;\n                    break;\n                case '800080':\n                    $colorIdxFg = 0x24;\n                    break;\n                case '800000':\n                    $colorIdxFg = 0x25;\n                    break;\n                case '008080':\n                    $colorIdxFg = 0x26;\n                    break;\n                case '0000FF':\n                    $colorIdxFg = 0x27;\n                    break;\n                case '00CCFF':\n                    $colorIdxFg = 0x28;\n                    break;\n                case 'CCFFFF':\n                    $colorIdxFg = 0x29;\n                    break;\n                case 'CCFFCC':\n                    $colorIdxFg = 0x2A;\n                    break;\n                case 'FFFF99':\n                    $colorIdxFg = 0x2B;\n                    break;\n                case '99CCFF':\n                    $colorIdxFg = 0x2C;\n                    break;\n                case 'FF99CC':\n                    $colorIdxFg = 0x2D;\n                    break;\n                case 'CC99FF':\n                    $colorIdxFg = 0x2E;\n                    break;\n                case 'FFCC99':\n                    $colorIdxFg = 0x2F;\n                    break;\n                case '3366FF':\n                    $colorIdxFg = 0x30;\n                    break;\n                case '33CCCC':\n                    $colorIdxFg = 0x31;\n                    break;\n                case '99CC00':\n                    $colorIdxFg = 0x32;\n                    break;\n                case 'FFCC00':\n                    $colorIdxFg = 0x33;\n                    break;\n                case 'FF9900':\n                    $colorIdxFg = 0x34;\n                    break;\n                case 'FF6600':\n                    $colorIdxFg = 0x35;\n                    break;\n                case '666699':\n                    $colorIdxFg = 0x36;\n                    break;\n                case '969696':\n                    $colorIdxFg = 0x37;\n                    break;\n                case '003366':\n                    $colorIdxFg = 0x38;\n                    break;\n                case '339966':\n                    $colorIdxFg = 0x39;\n                    break;\n                case '003300':\n                    $colorIdxFg = 0x3A;\n                    break;\n                case '333300':\n                    $colorIdxFg = 0x3B;\n                    break;\n                case '993300':\n                    $colorIdxFg = 0x3C;\n                    break;\n                case '993366':\n                    $colorIdxFg = 0x3D;\n                    break;\n                case '333399':\n                    $colorIdxFg = 0x3E;\n                    break;\n                case '333333':\n                    $colorIdxFg = 0x3F;\n                    break;\n                default:\n                          $colorIdxFg = 0x40;\n                    break;\n            }\n            $dataBlockFill = pack('v', $blockFillPatternStyle);\n            $dataBlockFill .= pack('v', $colorIdxFg | ($colorIdxBg << 7));\n        }\n        if ($bFormatProt == 1) {\n            $dataBlockProtection = 0;\n            if ($conditional->getStyle()->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED) {\n                $dataBlockProtection = 1;\n            }\n            if ($conditional->getStyle()->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED) {\n                $dataBlockProtection = 1 << 1;\n            }\n        }\n\n        $data      = pack('CCvvVv', $type, $operatorType, $szValue1, $szValue2, $flags, 0x0000);\n        if ($bFormatFont == 1) { // Block Formatting : OK\n            $data .= $dataBlockFont;\n        }\n        if ($bFormatAlign == 1) {\n            $data .= $dataBlockAlign;\n        }\n        if ($bFormatBorder == 1) {\n            $data .= $dataBlockBorder;\n        }\n        if ($bFormatFill == 1) { // Block Formatting : OK\n            $data .= $dataBlockFill;\n        }\n        if ($bFormatProt == 1) {\n            $data .= $dataBlockProtection;\n        }\n        if (!is_null($operand1)) {\n            $data .= $operand1;\n        }\n        if (!is_null($operand2)) {\n            $data .= $operand2;\n        }\n        $header      = pack('vv', $record, strlen($data));\n        $this->append($header . $data);\n    }\n\n    /**\n     * Write CFHeader record\n     */\n    private function writeCFHeader()\n    {\n        $record      = 0x01B0;               // Record identifier\n        $length      = 0x0016;               // Bytes to follow\n\n        $numColumnMin = null;\n        $numColumnMax = null;\n        $numRowMin = null;\n        $numRowMax = null;\n        $arrConditional = array();\n        foreach ($this->phpSheet->getConditionalStylesCollection() as $cellCoordinate => $conditionalStyles) {\n            foreach ($conditionalStyles as $conditional) {\n                if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION\n                        || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS) {\n                    if (!in_array($conditional->getHashCode(), $arrConditional)) {\n                        $arrConditional[] = $conditional->getHashCode();\n                    }\n                    // Cells\n                    $arrCoord = PHPExcel_Cell::coordinateFromString($cellCoordinate);\n                    if (!is_numeric($arrCoord[0])) {\n                        $arrCoord[0] = PHPExcel_Cell::columnIndexFromString($arrCoord[0]);\n                    }\n                    if (is_null($numColumnMin) || ($numColumnMin > $arrCoord[0])) {\n                        $numColumnMin = $arrCoord[0];\n                    }\n                    if (is_null($numColumnMax) || ($numColumnMax < $arrCoord[0])) {\n                        $numColumnMax = $arrCoord[0];\n                    }\n                    if (is_null($numRowMin) || ($numRowMin > $arrCoord[1])) {\n                        $numRowMin = $arrCoord[1];\n                    }\n                    if (is_null($numRowMax) || ($numRowMax < $arrCoord[1])) {\n                        $numRowMax = $arrCoord[1];\n                    }\n                }\n            }\n        }\n        $needRedraw = 1;\n        $cellRange = pack('vvvv', $numRowMin-1, $numRowMax-1, $numColumnMin-1, $numColumnMax-1);\n\n        $header      = pack('vv', $record, $length);\n        $data      = pack('vv', count($arrConditional), $needRedraw);\n        $data     .= $cellRange;\n        $data     .= pack('v', 0x0001);\n        $data     .= $cellRange;\n        $this->append($header . $data);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5/Xf.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5_Xf\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n// Original file header of PEAR::Spreadsheet_Excel_Writer_Format (used as the base for this class):\n// -----------------------------------------------------------------------------------------\n// /*\n// *  Module written/ported by Xavier Noguer <xnoguer@rezebra.com>\n// *\n// *  The majority of this is _NOT_ my code.  I simply ported it from the\n// *  PERL Spreadsheet::WriteExcel module.\n// *\n// *  The author of the Spreadsheet::WriteExcel module is John McNamara\n// *  <jmcnamara@cpan.org>\n// *\n// *  I _DO_ maintain this code, and John McNamara has nothing to do with the\n// *  porting of this code to PHP.  Any questions directly related to this\n// *  class library should be directed to me.\n// *\n// *  License Information:\n// *\n// *    Spreadsheet_Excel_Writer:  A library for generating Excel Spreadsheets\n// *    Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com\n// *\n// *    This library is free software; you can redistribute it and/or\n// *    modify it under the terms of the GNU Lesser General Public\n// *    License as published by the Free Software Foundation; either\n// *    version 2.1 of the License, or (at your option) any later version.\n// *\n// *    This library is distributed in the hope that it will be useful,\n// *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n// *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n// *    Lesser General Public License for more details.\n// *\n// *    You should have received a copy of the GNU Lesser General Public\n// *    License along with this library; if not, write to the Free Software\n// *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n// */\nclass PHPExcel_Writer_Excel5_Xf\n{\n    /**\n     * Style XF or a cell XF ?\n     *\n     * @var boolean\n     */\n    private $isStyleXf;\n\n    /**\n     * Index to the FONT record. Index 4 does not exist\n     * @var integer\n     */\n    private $fontIndex;\n\n    /**\n     * An index (2 bytes) to a FORMAT record (number format).\n     * @var integer\n     */\n    private $numberFormatIndex;\n\n    /**\n     * 1 bit, apparently not used.\n     * @var integer\n     */\n    private $textJustLast;\n\n    /**\n     * The cell's foreground color.\n     * @var integer\n     */\n    private $foregroundColor;\n\n    /**\n     * The cell's background color.\n     * @var integer\n     */\n    private $backgroundColor;\n\n    /**\n     * Color of the bottom border of the cell.\n     * @var integer\n     */\n    private $bottomBorderColor;\n\n    /**\n     * Color of the top border of the cell.\n     * @var integer\n     */\n    private $topBorderColor;\n\n    /**\n    * Color of the left border of the cell.\n    * @var integer\n    */\n    private $leftBorderColor;\n\n    /**\n     * Color of the right border of the cell.\n     * @var integer\n     */\n    private $rightBorderColor;\n\n    /**\n     * Constructor\n     *\n     * @access public\n     * @param PHPExcel_Style    The XF format\n     */\n    public function __construct(PHPExcel_Style $style = null)\n    {\n        $this->isStyleXf =     false;\n        $this->fontIndex = 0;\n\n        $this->numberFormatIndex     = 0;\n\n        $this->textJustLast  = 0;\n\n        $this->foregroundColor       = 0x40;\n        $this->backgroundColor       = 0x41;\n\n        $this->_diag           = 0;\n\n        $this->bottomBorderColor   = 0x40;\n        $this->topBorderColor      = 0x40;\n        $this->leftBorderColor     = 0x40;\n        $this->rightBorderColor    = 0x40;\n        $this->_diag_color     = 0x40;\n        $this->_style = $style;\n\n    }\n\n\n    /**\n     * Generate an Excel BIFF XF record (style or cell).\n     *\n     * @return string The XF record\n     */\n    public function writeXf()\n    {\n        // Set the type of the XF record and some of the attributes.\n        if ($this->isStyleXf) {\n            $style = 0xFFF5;\n        } else {\n            $style   = self::mapLocked($this->_style->getProtection()->getLocked());\n            $style  |= self::mapHidden($this->_style->getProtection()->getHidden()) << 1;\n        }\n\n        // Flags to indicate if attributes have been set.\n        $atr_num     = ($this->numberFormatIndex != 0)?1:0;\n        $atr_fnt     = ($this->fontIndex != 0)?1:0;\n        $atr_alc     = ((int) $this->_style->getAlignment()->getWrapText()) ? 1 : 0;\n        $atr_bdr     = (self::mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle())   ||\n                        self::mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle())      ||\n                        self::mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle())     ||\n                        self::mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()))?1:0;\n        $atr_pat     = (($this->foregroundColor != 0x40) ||\n                        ($this->backgroundColor != 0x41) ||\n                        self::mapFillType($this->_style->getFill()->getFillType()))?1:0;\n        $atr_prot    = self::mapLocked($this->_style->getProtection()->getLocked())\n                        | self::mapHidden($this->_style->getProtection()->getHidden());\n\n        // Zero the default border colour if the border has not been set.\n        if (self::mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) == 0) {\n            $this->bottomBorderColor = 0;\n        }\n        if (self::mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle())  == 0) {\n            $this->topBorderColor = 0;\n        }\n        if (self::mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()) == 0) {\n            $this->rightBorderColor = 0;\n        }\n        if (self::mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()) == 0) {\n            $this->leftBorderColor = 0;\n        }\n        if (self::mapBorderStyle($this->_style->getBorders()->getDiagonal()->getBorderStyle()) == 0) {\n            $this->_diag_color = 0;\n        }\n\n        $record = 0x00E0;              // Record identifier\n        $length = 0x0014;              // Number of bytes to follow\n\n        $ifnt = $this->fontIndex;   // Index to FONT record\n        $ifmt = $this->numberFormatIndex;  // Index to FORMAT record\n\n        $align  = $this->mapHAlign($this->_style->getAlignment()->getHorizontal());       // Alignment\n        $align |= (int) $this->_style->getAlignment()->getWrapText()     << 3;\n        $align |= self::mapVAlign($this->_style->getAlignment()->getVertical())  << 4;\n        $align |= $this->textJustLast << 7;\n\n        $used_attrib  = $atr_num  << 2;\n        $used_attrib |= $atr_fnt  << 3;\n        $used_attrib |= $atr_alc  << 4;\n        $used_attrib |= $atr_bdr  << 5;\n        $used_attrib |= $atr_pat  << 6;\n        $used_attrib |= $atr_prot << 7;\n\n        $icv  = $this->foregroundColor;      // fg and bg pattern colors\n        $icv |= $this->backgroundColor      << 7;\n\n        $border1  = self::mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle());          // Border line style and color\n        $border1 |= self::mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle())         << 4;\n        $border1 |= self::mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle())           << 8;\n        $border1 |= self::mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle())        << 12;\n        $border1 |= $this->leftBorderColor    << 16;\n        $border1 |= $this->rightBorderColor   << 23;\n\n        $diagonalDirection = $this->_style->getBorders()->getDiagonalDirection();\n        $diag_tl_to_rb = $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_BOTH\n                            || $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_DOWN;\n        $diag_tr_to_lb = $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_BOTH\n                            || $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_UP;\n        $border1 |= $diag_tl_to_rb        << 30;\n        $border1 |= $diag_tr_to_lb        << 31;\n\n        $border2  = $this->topBorderColor;    // Border color\n        $border2 |= $this->bottomBorderColor   << 7;\n        $border2 |= $this->_diag_color     << 14;\n        $border2 |= self::mapBorderStyle($this->_style->getBorders()->getDiagonal()->getBorderStyle())           << 21;\n        $border2 |= self::mapFillType($this->_style->getFill()->getFillType())        << 26;\n\n        $header = pack(\"vv\", $record, $length);\n\n        //BIFF8 options: identation, shrinkToFit and  text direction\n        $biff8_options  = $this->_style->getAlignment()->getIndent();\n        $biff8_options |= (int) $this->_style->getAlignment()->getShrinkToFit() << 4;\n\n        $data  = pack(\"vvvC\", $ifnt, $ifmt, $style, $align);\n        $data .= pack(\"CCC\", self::mapTextRotation($this->_style->getAlignment()->getTextRotation()), $biff8_options, $used_attrib);\n        $data .= pack(\"VVv\", $border1, $border2, $icv);\n\n        return($header . $data);\n    }\n\n    /**\n     * Is this a style XF ?\n     *\n     * @param boolean $value\n     */\n    public function setIsStyleXf($value)\n    {\n        $this->isStyleXf = $value;\n    }\n\n    /**\n     * Sets the cell's bottom border color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setBottomColor($colorIndex)\n    {\n        $this->bottomBorderColor = $colorIndex;\n    }\n\n    /**\n     * Sets the cell's top border color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setTopColor($colorIndex)\n    {\n        $this->topBorderColor = $colorIndex;\n    }\n\n    /**\n     * Sets the cell's left border color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setLeftColor($colorIndex)\n    {\n        $this->leftBorderColor = $colorIndex;\n    }\n\n    /**\n     * Sets the cell's right border color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setRightColor($colorIndex)\n    {\n        $this->rightBorderColor = $colorIndex;\n    }\n\n    /**\n     * Sets the cell's diagonal border color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setDiagColor($colorIndex)\n    {\n        $this->_diag_color = $colorIndex;\n    }\n\n\n    /**\n     * Sets the cell's foreground color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setFgColor($colorIndex)\n    {\n        $this->foregroundColor = $colorIndex;\n    }\n\n    /**\n     * Sets the cell's background color\n     *\n     * @access public\n     * @param int $colorIndex Color index\n     */\n    public function setBgColor($colorIndex)\n    {\n        $this->backgroundColor = $colorIndex;\n    }\n\n    /**\n     * Sets the index to the number format record\n     * It can be date, time, currency, etc...\n     *\n     * @access public\n     * @param integer $numberFormatIndex Index to format record\n     */\n    public function setNumberFormatIndex($numberFormatIndex)\n    {\n        $this->numberFormatIndex = $numberFormatIndex;\n    }\n\n    /**\n     * Set the font index.\n     *\n     * @param int $value Font index, note that value 4 does not exist\n     */\n    public function setFontIndex($value)\n    {\n        $this->fontIndex = $value;\n    }\n\n    /**\n     * Map of BIFF2-BIFF8 codes for border styles\n     * @static    array of int\n     *\n     */\n    private static $mapBorderStyles = array(\n        PHPExcel_Style_Border::BORDER_NONE             => 0x00,\n        PHPExcel_Style_Border::BORDER_THIN             => 0x01,\n        PHPExcel_Style_Border::BORDER_MEDIUM           => 0x02,\n        PHPExcel_Style_Border::BORDER_DASHED           => 0x03,\n        PHPExcel_Style_Border::BORDER_DOTTED           => 0x04,\n        PHPExcel_Style_Border::BORDER_THICK            => 0x05,\n        PHPExcel_Style_Border::BORDER_DOUBLE           => 0x06,\n        PHPExcel_Style_Border::BORDER_HAIR             => 0x07,\n        PHPExcel_Style_Border::BORDER_MEDIUMDASHED     => 0x08,\n        PHPExcel_Style_Border::BORDER_DASHDOT          => 0x09,\n        PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT    => 0x0A,\n        PHPExcel_Style_Border::BORDER_DASHDOTDOT       => 0x0B,\n        PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT => 0x0C,\n        PHPExcel_Style_Border::BORDER_SLANTDASHDOT     => 0x0D,\n    );\n\n    /**\n     * Map border style\n     *\n     * @param string $borderStyle\n     * @return int\n     */\n    private static function mapBorderStyle($borderStyle)\n    {\n        if (isset(self::$mapBorderStyles[$borderStyle])) {\n            return self::$mapBorderStyles[$borderStyle];\n        }\n        return 0x00;\n    }\n\n    /**\n     * Map of BIFF2-BIFF8 codes for fill types\n     * @static    array of int\n     *\n     */\n    private static $mapFillTypes = array(\n        PHPExcel_Style_Fill::FILL_NONE                    => 0x00,\n        PHPExcel_Style_Fill::FILL_SOLID                   => 0x01,\n        PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY      => 0x02,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY        => 0x03,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY       => 0x04,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL  => 0x05,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL    => 0x06,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN        => 0x07,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKUP          => 0x08,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID        => 0x09,\n        PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS     => 0x0A,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL => 0x0B,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL   => 0x0C,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN       => 0x0D,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP         => 0x0E,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID       => 0x0F,\n        PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS    => 0x10,\n        PHPExcel_Style_Fill::FILL_PATTERN_GRAY125         => 0x11,\n        PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625        => 0x12,\n        PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR         => 0x00,    // does not exist in BIFF8\n        PHPExcel_Style_Fill::FILL_GRADIENT_PATH           => 0x00,    // does not exist in BIFF8\n    );\n\n    /**\n     * Map fill type\n     *\n     * @param string $fillType\n     * @return int\n     */\n    private static function mapFillType($fillType)\n    {\n        if (isset(self::$mapFillTypes[$fillType])) {\n            return self::$mapFillTypes[$fillType];\n        }\n        return 0x00;\n    }\n\n    /**\n     * Map of BIFF2-BIFF8 codes for horizontal alignment\n     * @static    array of int\n     *\n     */\n    private static $mapHAlignments = array(\n        PHPExcel_Style_Alignment::HORIZONTAL_GENERAL           => 0,\n        PHPExcel_Style_Alignment::HORIZONTAL_LEFT              => 1,\n        PHPExcel_Style_Alignment::HORIZONTAL_CENTER            => 2,\n        PHPExcel_Style_Alignment::HORIZONTAL_RIGHT             => 3,\n        PHPExcel_Style_Alignment::HORIZONTAL_FILL              => 4,\n        PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY           => 5,\n        PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS => 6,\n    );\n\n    /**\n     * Map to BIFF2-BIFF8 codes for horizontal alignment\n     *\n     * @param string $hAlign\n     * @return int\n     */\n    private function mapHAlign($hAlign)\n    {\n        if (isset(self::$mapHAlignments[$hAlign])) {\n            return self::$mapHAlignments[$hAlign];\n        }\n        return 0;\n    }\n\n    /**\n     * Map of BIFF2-BIFF8 codes for vertical alignment\n     * @static    array of int\n     *\n     */\n    private static $mapVAlignments = array(\n        PHPExcel_Style_Alignment::VERTICAL_TOP     => 0,\n        PHPExcel_Style_Alignment::VERTICAL_CENTER  => 1,\n        PHPExcel_Style_Alignment::VERTICAL_BOTTOM  => 2,\n        PHPExcel_Style_Alignment::VERTICAL_JUSTIFY => 3,\n    );\n\n    /**\n     * Map to BIFF2-BIFF8 codes for vertical alignment\n     *\n     * @param string $vAlign\n     * @return int\n     */\n    private static function mapVAlign($vAlign)\n    {\n        if (isset(self::$mapVAlignments[$vAlign])) {\n            return self::$mapVAlignments[$vAlign];\n        }\n        return 2;\n    }\n\n    /**\n     * Map to BIFF8 codes for text rotation angle\n     *\n     * @param int $textRotation\n     * @return int\n     */\n    private static function mapTextRotation($textRotation)\n    {\n        if ($textRotation >= 0) {\n            return $textRotation;\n        } elseif ($textRotation == -165) {\n            return 255;\n        } elseif ($textRotation < 0) {\n            return 90 - $textRotation;\n        }\n    }\n\n    /**\n     * Map locked\n     *\n     * @param string\n     * @return int\n     */\n    private static function mapLocked($locked)\n    {\n        switch ($locked) {\n            case PHPExcel_Style_Protection::PROTECTION_INHERIT:\n                return 1;\n            case PHPExcel_Style_Protection::PROTECTION_PROTECTED:\n                return 1;\n            case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED:\n                return 0;\n            default:\n                return 1;\n        }\n    }\n\n    /**\n     * Map hidden\n     *\n     * @param string\n     * @return int\n     */\n    private static function mapHidden($hidden)\n    {\n        switch ($hidden) {\n            case PHPExcel_Style_Protection::PROTECTION_INHERIT:\n                return 0;\n            case PHPExcel_Style_Protection::PROTECTION_PROTECTED:\n                return 1;\n            case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED:\n                return 0;\n            default:\n                return 0;\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Excel5.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Excel5\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_Excel5\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Excel5 extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter\n{\n    /**\n     * PHPExcel object\n     *\n     * @var PHPExcel\n     */\n    private $phpExcel;\n\n    /**\n     * Total number of shared strings in workbook\n     *\n     * @var int\n     */\n    private $strTotal = 0;\n\n    /**\n     * Number of unique shared strings in workbook\n     *\n     * @var int\n     */\n    private $strUnique = 0;\n\n    /**\n     * Array of unique shared strings in workbook\n     *\n     * @var array\n     */\n    private $strTable = array();\n\n    /**\n     * Color cache. Mapping between RGB value and color index.\n     *\n     * @var array\n     */\n    private $colors;\n\n    /**\n     * Formula parser\n     *\n     * @var PHPExcel_Writer_Excel5_Parser\n     */\n    private $parser;\n\n    /**\n     * Identifier clusters for drawings. Used in MSODRAWINGGROUP record.\n     *\n     * @var array\n     */\n    private $IDCLs;\n\n    /**\n     * Basic OLE object summary information\n     *\n     * @var array\n     */\n    private $summaryInformation;\n\n    /**\n     * Extended OLE object document summary information\n     *\n     * @var array\n     */\n    private $documentSummaryInformation;\n\n    /**\n     * Create a new PHPExcel_Writer_Excel5\n     *\n     * @param    PHPExcel    $phpExcel    PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        $this->phpExcel    = $phpExcel;\n\n        $this->parser        = new PHPExcel_Writer_Excel5_Parser();\n    }\n\n    /**\n     * Save PHPExcel to file\n     *\n     * @param    string        $pFilename\n     * @throws    PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n\n        // garbage collect\n        $this->phpExcel->garbageCollect();\n\n        $saveDebugLog = PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->getWriteDebugLog();\n        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog(false);\n        $saveDateReturnType = PHPExcel_Calculation_Functions::getReturnDateType();\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n\n        // initialize colors array\n        $this->colors = array();\n\n        // Initialise workbook writer\n        $this->writerWorkbook = new PHPExcel_Writer_Excel5_Workbook($this->phpExcel, $this->strTotal, $this->strUnique, $this->strTable, $this->colors, $this->parser);\n\n        // Initialise worksheet writers\n        $countSheets = $this->phpExcel->getSheetCount();\n        for ($i = 0; $i < $countSheets; ++$i) {\n            $this->writerWorksheets[$i] = new PHPExcel_Writer_Excel5_Worksheet($this->strTotal, $this->strUnique, $this->strTable, $this->colors, $this->parser, $this->preCalculateFormulas, $this->phpExcel->getSheet($i));\n        }\n\n        // build Escher objects. Escher objects for workbooks needs to be build before Escher object for workbook.\n        $this->buildWorksheetEschers();\n        $this->buildWorkbookEscher();\n\n        // add 15 identical cell style Xfs\n        // for now, we use the first cellXf instead of cellStyleXf\n        $cellXfCollection = $this->phpExcel->getCellXfCollection();\n        for ($i = 0; $i < 15; ++$i) {\n            $this->writerWorkbook->addXfWriter($cellXfCollection[0], true);\n        }\n\n        // add all the cell Xfs\n        foreach ($this->phpExcel->getCellXfCollection() as $style) {\n            $this->writerWorkbook->addXfWriter($style, false);\n        }\n\n        // add fonts from rich text eleemnts\n        for ($i = 0; $i < $countSheets; ++$i) {\n            foreach ($this->writerWorksheets[$i]->phpSheet->getCellCollection() as $cellID) {\n                $cell = $this->writerWorksheets[$i]->phpSheet->getCell($cellID);\n                $cVal = $cell->getValue();\n                if ($cVal instanceof PHPExcel_RichText) {\n                    $elements = $cVal->getRichTextElements();\n                    foreach ($elements as $element) {\n                        if ($element instanceof PHPExcel_RichText_Run) {\n                            $font = $element->getFont();\n                            $this->writerWorksheets[$i]->fontHashIndex[$font->getHashCode()] = $this->writerWorkbook->addFont($font);\n                        }\n                    }\n                }\n            }\n        }\n\n        // initialize OLE file\n        $workbookStreamName = 'Workbook';\n        $OLE = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs($workbookStreamName));\n\n        // Write the worksheet streams before the global workbook stream,\n        // because the byte sizes of these are needed in the global workbook stream\n        $worksheetSizes = array();\n        for ($i = 0; $i < $countSheets; ++$i) {\n            $this->writerWorksheets[$i]->close();\n            $worksheetSizes[] = $this->writerWorksheets[$i]->_datasize;\n        }\n\n        // add binary data for global workbook stream\n        $OLE->append($this->writerWorkbook->writeWorkbook($worksheetSizes));\n\n        // add binary data for sheet streams\n        for ($i = 0; $i < $countSheets; ++$i) {\n            $OLE->append($this->writerWorksheets[$i]->getData());\n        }\n\n        $this->documentSummaryInformation = $this->writeDocumentSummaryInformation();\n        // initialize OLE Document Summary Information\n        if (isset($this->documentSummaryInformation) && !empty($this->documentSummaryInformation)) {\n            $OLE_DocumentSummaryInformation = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs(chr(5) . 'DocumentSummaryInformation'));\n            $OLE_DocumentSummaryInformation->append($this->documentSummaryInformation);\n        }\n\n        $this->summaryInformation = $this->writeSummaryInformation();\n        // initialize OLE Summary Information\n        if (isset($this->summaryInformation) && !empty($this->summaryInformation)) {\n            $OLE_SummaryInformation = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs(chr(5) . 'SummaryInformation'));\n            $OLE_SummaryInformation->append($this->summaryInformation);\n        }\n\n        // define OLE Parts\n        $arrRootData = array($OLE);\n        // initialize OLE Properties file\n        if (isset($OLE_SummaryInformation)) {\n            $arrRootData[] = $OLE_SummaryInformation;\n        }\n        // initialize OLE Extended Properties file\n        if (isset($OLE_DocumentSummaryInformation)) {\n            $arrRootData[] = $OLE_DocumentSummaryInformation;\n        }\n\n        $root = new PHPExcel_Shared_OLE_PPS_Root(time(), time(), $arrRootData);\n        // save the OLE file\n        $res = $root->save($pFilename);\n\n        PHPExcel_Calculation_Functions::setReturnDateType($saveDateReturnType);\n        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog);\n    }\n\n    /**\n     * Set temporary storage directory\n     *\n     * @deprecated\n     * @param    string    $pValue        Temporary storage directory\n     * @throws    PHPExcel_Writer_Exception    when directory does not exist\n     * @return PHPExcel_Writer_Excel5\n     */\n    public function setTempDir($pValue = '')\n    {\n        return $this;\n    }\n\n    /**\n     * Build the Worksheet Escher objects\n     *\n     */\n    private function buildWorksheetEschers()\n    {\n        // 1-based index to BstoreContainer\n        $blipIndex = 0;\n        $lastReducedSpId = 0;\n        $lastSpId = 0;\n\n        foreach ($this->phpExcel->getAllsheets() as $sheet) {\n            // sheet index\n            $sheetIndex = $sheet->getParent()->getIndex($sheet);\n\n            $escher = null;\n\n            // check if there are any shapes for this sheet\n            $filterRange = $sheet->getAutoFilter()->getRange();\n            if (count($sheet->getDrawingCollection()) == 0 && empty($filterRange)) {\n                continue;\n            }\n\n            // create intermediate Escher object\n            $escher = new PHPExcel_Shared_Escher();\n\n            // dgContainer\n            $dgContainer = new PHPExcel_Shared_Escher_DgContainer();\n\n            // set the drawing index (we use sheet index + 1)\n            $dgId = $sheet->getParent()->getIndex($sheet) + 1;\n            $dgContainer->setDgId($dgId);\n            $escher->setDgContainer($dgContainer);\n\n            // spgrContainer\n            $spgrContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer();\n            $dgContainer->setSpgrContainer($spgrContainer);\n\n            // add one shape which is the group shape\n            $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer();\n            $spContainer->setSpgr(true);\n            $spContainer->setSpType(0);\n            $spContainer->setSpId(($sheet->getParent()->getIndex($sheet) + 1) << 10);\n            $spgrContainer->addChild($spContainer);\n\n            // add the shapes\n\n            $countShapes[$sheetIndex] = 0; // count number of shapes (minus group shape), in sheet\n\n            foreach ($sheet->getDrawingCollection() as $drawing) {\n                ++$blipIndex;\n\n                ++$countShapes[$sheetIndex];\n\n                // add the shape\n                $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer();\n\n                // set the shape type\n                $spContainer->setSpType(0x004B);\n                // set the shape flag\n                $spContainer->setSpFlag(0x02);\n\n                // set the shape index (we combine 1-based sheet index and $countShapes to create unique shape index)\n                $reducedSpId = $countShapes[$sheetIndex];\n                $spId = $reducedSpId\n                    | ($sheet->getParent()->getIndex($sheet) + 1) << 10;\n                $spContainer->setSpId($spId);\n\n                // keep track of last reducedSpId\n                $lastReducedSpId = $reducedSpId;\n\n                // keep track of last spId\n                $lastSpId = $spId;\n\n                // set the BLIP index\n                $spContainer->setOPT(0x4104, $blipIndex);\n\n                // set coordinates and offsets, client anchor\n                $coordinates = $drawing->getCoordinates();\n                $offsetX = $drawing->getOffsetX();\n                $offsetY = $drawing->getOffsetY();\n                $width = $drawing->getWidth();\n                $height = $drawing->getHeight();\n\n                $twoAnchor = PHPExcel_Shared_Excel5::oneAnchor2twoAnchor($sheet, $coordinates, $offsetX, $offsetY, $width, $height);\n\n                $spContainer->setStartCoordinates($twoAnchor['startCoordinates']);\n                $spContainer->setStartOffsetX($twoAnchor['startOffsetX']);\n                $spContainer->setStartOffsetY($twoAnchor['startOffsetY']);\n                $spContainer->setEndCoordinates($twoAnchor['endCoordinates']);\n                $spContainer->setEndOffsetX($twoAnchor['endOffsetX']);\n                $spContainer->setEndOffsetY($twoAnchor['endOffsetY']);\n\n                $spgrContainer->addChild($spContainer);\n            }\n\n            // AutoFilters\n            if (!empty($filterRange)) {\n                $rangeBounds = PHPExcel_Cell::rangeBoundaries($filterRange);\n                $iNumColStart = $rangeBounds[0][0];\n                $iNumColEnd = $rangeBounds[1][0];\n\n                $iInc = $iNumColStart;\n                while ($iInc <= $iNumColEnd) {\n                    ++$countShapes[$sheetIndex];\n\n                    // create an Drawing Object for the dropdown\n                    $oDrawing  = new PHPExcel_Worksheet_BaseDrawing();\n                    // get the coordinates of drawing\n                    $cDrawing   = PHPExcel_Cell::stringFromColumnIndex($iInc - 1) . $rangeBounds[0][1];\n                    $oDrawing->setCoordinates($cDrawing);\n                    $oDrawing->setWorksheet($sheet);\n\n                    // add the shape\n                    $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer();\n                    // set the shape type\n                    $spContainer->setSpType(0x00C9);\n                    // set the shape flag\n                    $spContainer->setSpFlag(0x01);\n\n                    // set the shape index (we combine 1-based sheet index and $countShapes to create unique shape index)\n                    $reducedSpId = $countShapes[$sheetIndex];\n                    $spId = $reducedSpId\n                        | ($sheet->getParent()->getIndex($sheet) + 1) << 10;\n                    $spContainer->setSpId($spId);\n\n                    // keep track of last reducedSpId\n                    $lastReducedSpId = $reducedSpId;\n\n                    // keep track of last spId\n                    $lastSpId = $spId;\n\n                    $spContainer->setOPT(0x007F, 0x01040104); // Protection -> fLockAgainstGrouping\n                    $spContainer->setOPT(0x00BF, 0x00080008); // Text -> fFitTextToShape\n                    $spContainer->setOPT(0x01BF, 0x00010000); // Fill Style -> fNoFillHitTest\n                    $spContainer->setOPT(0x01FF, 0x00080000); // Line Style -> fNoLineDrawDash\n                    $spContainer->setOPT(0x03BF, 0x000A0000); // Group Shape -> fPrint\n\n                    // set coordinates and offsets, client anchor\n                    $endCoordinates = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::stringFromColumnIndex($iInc - 1));\n                    $endCoordinates .= $rangeBounds[0][1] + 1;\n\n                    $spContainer->setStartCoordinates($cDrawing);\n                    $spContainer->setStartOffsetX(0);\n                    $spContainer->setStartOffsetY(0);\n                    $spContainer->setEndCoordinates($endCoordinates);\n                    $spContainer->setEndOffsetX(0);\n                    $spContainer->setEndOffsetY(0);\n\n                    $spgrContainer->addChild($spContainer);\n                    $iInc++;\n                }\n            }\n\n            // identifier clusters, used for workbook Escher object\n            $this->IDCLs[$dgId] = $lastReducedSpId;\n\n            // set last shape index\n            $dgContainer->setLastSpId($lastSpId);\n\n            // set the Escher object\n            $this->writerWorksheets[$sheetIndex]->setEscher($escher);\n        }\n    }\n\n    /**\n     * Build the Escher object corresponding to the MSODRAWINGGROUP record\n     */\n    private function buildWorkbookEscher()\n    {\n        $escher = null;\n\n        // any drawings in this workbook?\n        $found = false;\n        foreach ($this->phpExcel->getAllSheets() as $sheet) {\n            if (count($sheet->getDrawingCollection()) > 0) {\n                $found = true;\n                break;\n            }\n        }\n\n        // nothing to do if there are no drawings\n        if (!$found) {\n            return;\n        }\n\n        // if we reach here, then there are drawings in the workbook\n        $escher = new PHPExcel_Shared_Escher();\n\n        // dggContainer\n        $dggContainer = new PHPExcel_Shared_Escher_DggContainer();\n        $escher->setDggContainer($dggContainer);\n\n        // set IDCLs (identifier clusters)\n        $dggContainer->setIDCLs($this->IDCLs);\n\n        // this loop is for determining maximum shape identifier of all drawing\n        $spIdMax = 0;\n        $totalCountShapes = 0;\n        $countDrawings = 0;\n\n        foreach ($this->phpExcel->getAllsheets() as $sheet) {\n            $sheetCountShapes = 0; // count number of shapes (minus group shape), in sheet\n\n            if (count($sheet->getDrawingCollection()) > 0) {\n                ++$countDrawings;\n\n                foreach ($sheet->getDrawingCollection() as $drawing) {\n                    ++$sheetCountShapes;\n                    ++$totalCountShapes;\n\n                    $spId = $sheetCountShapes | ($this->phpExcel->getIndex($sheet) + 1) << 10;\n                    $spIdMax = max($spId, $spIdMax);\n                }\n            }\n        }\n\n        $dggContainer->setSpIdMax($spIdMax + 1);\n        $dggContainer->setCDgSaved($countDrawings);\n        $dggContainer->setCSpSaved($totalCountShapes + $countDrawings); // total number of shapes incl. one group shapes per drawing\n\n        // bstoreContainer\n        $bstoreContainer = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer();\n        $dggContainer->setBstoreContainer($bstoreContainer);\n\n        // the BSE's (all the images)\n        foreach ($this->phpExcel->getAllsheets() as $sheet) {\n            foreach ($sheet->getDrawingCollection() as $drawing) {\n                if ($drawing instanceof PHPExcel_Worksheet_Drawing) {\n                    $filename = $drawing->getPath();\n\n                    list($imagesx, $imagesy, $imageFormat) = getimagesize($filename);\n\n                    switch ($imageFormat) {\n                        case 1: // GIF, not supported by BIFF8, we convert to PNG\n                            $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG;\n                            ob_start();\n                            imagepng(imagecreatefromgif($filename));\n                            $blipData = ob_get_contents();\n                            ob_end_clean();\n                            break;\n                        case 2: // JPEG\n                            $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG;\n                            $blipData = file_get_contents($filename);\n                            break;\n                        case 3: // PNG\n                            $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG;\n                            $blipData = file_get_contents($filename);\n                            break;\n                        case 6: // Windows DIB (BMP), we convert to PNG\n                            $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG;\n                            ob_start();\n                            imagepng(PHPExcel_Shared_Drawing::imagecreatefrombmp($filename));\n                            $blipData = ob_get_contents();\n                            ob_end_clean();\n                            break;\n                        default:\n                            continue 2;\n                    }\n\n                    $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip();\n                    $blip->setData($blipData);\n\n                    $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE();\n                    $BSE->setBlipType($blipType);\n                    $BSE->setBlip($blip);\n\n                    $bstoreContainer->addBSE($BSE);\n                } elseif ($drawing instanceof PHPExcel_Worksheet_MemoryDrawing) {\n                    switch ($drawing->getRenderingFunction()) {\n                        case PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG:\n                            $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG;\n                            $renderingFunction = 'imagejpeg';\n                            break;\n                        case PHPExcel_Worksheet_MemoryDrawing::RENDERING_GIF:\n                        case PHPExcel_Worksheet_MemoryDrawing::RENDERING_PNG:\n                        case PHPExcel_Worksheet_MemoryDrawing::RENDERING_DEFAULT:\n                            $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG;\n                            $renderingFunction = 'imagepng';\n                            break;\n                    }\n\n                    ob_start();\n                    call_user_func($renderingFunction, $drawing->getImageResource());\n                    $blipData = ob_get_contents();\n                    ob_end_clean();\n\n                    $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip();\n                    $blip->setData($blipData);\n\n                    $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE();\n                    $BSE->setBlipType($blipType);\n                    $BSE->setBlip($blip);\n\n                    $bstoreContainer->addBSE($BSE);\n                }\n            }\n        }\n\n        // Set the Escher object\n        $this->writerWorkbook->setEscher($escher);\n    }\n\n    /**\n     * Build the OLE Part for DocumentSummary Information\n     * @return string\n     */\n    private function writeDocumentSummaryInformation()\n    {\n        // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark)\n        $data = pack('v', 0xFFFE);\n        // offset: 2; size: 2;\n        $data .= pack('v', 0x0000);\n        // offset: 4; size: 2; OS version\n        $data .= pack('v', 0x0106);\n        // offset: 6; size: 2; OS indicator\n        $data .= pack('v', 0x0002);\n        // offset: 8; size: 16\n        $data .= pack('VVVV', 0x00, 0x00, 0x00, 0x00);\n        // offset: 24; size: 4; section count\n        $data .= pack('V', 0x0001);\n\n        // offset: 28; size: 16; first section's class id: 02 d5 cd d5 9c 2e 1b 10 93 97 08 00 2b 2c f9 ae\n        $data .= pack('vvvvvvvv', 0xD502, 0xD5CD, 0x2E9C, 0x101B, 0x9793, 0x0008, 0x2C2B, 0xAEF9);\n        // offset: 44; size: 4; offset of the start\n        $data .= pack('V', 0x30);\n\n        // SECTION\n        $dataSection = array();\n        $dataSection_NumProps = 0;\n        $dataSection_Summary = '';\n        $dataSection_Content = '';\n\n        // GKPIDDSI_CODEPAGE: CodePage\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x01),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x02), // 2 byte signed integer\n                               'data'    => array('data' => 1252));\n        $dataSection_NumProps++;\n\n        // GKPIDDSI_CATEGORY : Category\n        if ($this->phpExcel->getProperties()->getCategory()) {\n            $dataProp = $this->phpExcel->getProperties()->getCategory();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E),\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        // GKPIDDSI_VERSION :Version of the application that wrote the property storage\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x17),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x03),\n                               'data'    => array('pack' => 'V', 'data' => 0x000C0000));\n        $dataSection_NumProps++;\n        // GKPIDDSI_SCALE : FALSE\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0B),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x0B),\n                               'data'    => array('data' => false));\n        $dataSection_NumProps++;\n        // GKPIDDSI_LINKSDIRTY : True if any of the values for the linked properties have changed outside of the application\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x10),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x0B),\n                               'data'    => array('data' => false));\n        $dataSection_NumProps++;\n        // GKPIDDSI_SHAREDOC : FALSE\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x13),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x0B),\n                               'data'    => array('data' => false));\n        $dataSection_NumProps++;\n        // GKPIDDSI_HYPERLINKSCHANGED : True if any of the values for the _PID_LINKS (hyperlink text) have changed outside of the application\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x16),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x0B),\n                               'data'    => array('data' => false));\n        $dataSection_NumProps++;\n\n        // GKPIDDSI_DOCSPARTS\n        // MS-OSHARED p75 (2.3.3.2.2.1)\n        // Structure is VtVecUnalignedLpstrValue (2.3.3.1.9)\n        // cElements\n        $dataProp = pack('v', 0x0001);\n        $dataProp .= pack('v', 0x0000);\n        // array of UnalignedLpstr\n          // cch\n          $dataProp .= pack('v', 0x000A);\n          $dataProp .= pack('v', 0x0000);\n          // value\n          $dataProp .= 'Worksheet'.chr(0);\n\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0D),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x101E),\n                               'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n        $dataSection_NumProps++;\n\n        // GKPIDDSI_HEADINGPAIR\n        // VtVecHeadingPairValue\n          // cElements\n          $dataProp = pack('v', 0x0002);\n          $dataProp .= pack('v', 0x0000);\n          // Array of vtHeadingPair\n            // vtUnalignedString - headingString\n              // stringType\n              $dataProp .= pack('v', 0x001E);\n              // padding\n              $dataProp .= pack('v', 0x0000);\n              // UnalignedLpstr\n                // cch\n                $dataProp .= pack('v', 0x0013);\n                $dataProp .= pack('v', 0x0000);\n                // value\n                $dataProp .= 'Feuilles de calcul';\n            // vtUnalignedString - headingParts\n              // wType : 0x0003 = 32 bit signed integer\n              $dataProp .= pack('v', 0x0300);\n              // padding\n              $dataProp .= pack('v', 0x0000);\n              // value\n              $dataProp .= pack('v', 0x0100);\n              $dataProp .= pack('v', 0x0000);\n              $dataProp .= pack('v', 0x0000);\n              $dataProp .= pack('v', 0x0000);\n\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0C),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x100C),\n                               'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n        $dataSection_NumProps++;\n\n        //         4     Section Length\n        //        4     Property count\n        //        8 * $dataSection_NumProps (8 =  ID (4) + OffSet(4))\n        $dataSection_Content_Offset = 8 + $dataSection_NumProps * 8;\n        foreach ($dataSection as $dataProp) {\n            // Summary\n            $dataSection_Summary .= pack($dataProp['summary']['pack'], $dataProp['summary']['data']);\n            // Offset\n            $dataSection_Summary .= pack($dataProp['offset']['pack'], $dataSection_Content_Offset);\n            // DataType\n            $dataSection_Content .= pack($dataProp['type']['pack'], $dataProp['type']['data']);\n            // Data\n            if ($dataProp['type']['data'] == 0x02) { // 2 byte signed integer\n                $dataSection_Content .= pack('V', $dataProp['data']['data']);\n\n                $dataSection_Content_Offset += 4 + 4;\n            } elseif ($dataProp['type']['data'] == 0x03) { // 4 byte signed integer\n                $dataSection_Content .= pack('V', $dataProp['data']['data']);\n\n                $dataSection_Content_Offset += 4 + 4;\n            } elseif ($dataProp['type']['data'] == 0x0B) { // Boolean\n                if ($dataProp['data']['data'] == false) {\n                    $dataSection_Content .= pack('V', 0x0000);\n                } else {\n                    $dataSection_Content .= pack('V', 0x0001);\n                }\n                $dataSection_Content_Offset += 4 + 4;\n            } elseif ($dataProp['type']['data'] == 0x1E) { // null-terminated string prepended by dword string length\n                // Null-terminated string\n                $dataProp['data']['data'] .= chr(0);\n                $dataProp['data']['length'] += 1;\n                // Complete the string with null string for being a %4\n                $dataProp['data']['length'] = $dataProp['data']['length'] + ((4 - $dataProp['data']['length'] % 4)==4 ? 0 : (4 - $dataProp['data']['length'] % 4));\n                $dataProp['data']['data'] = str_pad($dataProp['data']['data'], $dataProp['data']['length'], chr(0), STR_PAD_RIGHT);\n\n                $dataSection_Content .= pack('V', $dataProp['data']['length']);\n                $dataSection_Content .= $dataProp['data']['data'];\n\n                $dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']);\n            } elseif ($dataProp['type']['data'] == 0x40) { // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)\n                $dataSection_Content .= $dataProp['data']['data'];\n\n                $dataSection_Content_Offset += 4 + 8;\n            } else {\n                // Data Type Not Used at the moment\n                $dataSection_Content .= $dataProp['data']['data'];\n\n                $dataSection_Content_Offset += 4 + $dataProp['data']['length'];\n            }\n        }\n        // Now $dataSection_Content_Offset contains the size of the content\n\n        // section header\n        // offset: $secOffset; size: 4; section length\n        //         + x  Size of the content (summary + content)\n        $data .= pack('V', $dataSection_Content_Offset);\n        // offset: $secOffset+4; size: 4; property count\n        $data .= pack('V', $dataSection_NumProps);\n        // Section Summary\n        $data .= $dataSection_Summary;\n        // Section Content\n        $data .= $dataSection_Content;\n\n        return $data;\n    }\n\n    /**\n     * Build the OLE Part for Summary Information\n     * @return string\n     */\n    private function writeSummaryInformation()\n    {\n        // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark)\n        $data = pack('v', 0xFFFE);\n        // offset: 2; size: 2;\n        $data .= pack('v', 0x0000);\n        // offset: 4; size: 2; OS version\n        $data .= pack('v', 0x0106);\n        // offset: 6; size: 2; OS indicator\n        $data .= pack('v', 0x0002);\n        // offset: 8; size: 16\n        $data .= pack('VVVV', 0x00, 0x00, 0x00, 0x00);\n        // offset: 24; size: 4; section count\n        $data .= pack('V', 0x0001);\n\n        // offset: 28; size: 16; first section's class id: e0 85 9f f2 f9 4f 68 10 ab 91 08 00 2b 27 b3 d9\n        $data .= pack('vvvvvvvv', 0x85E0, 0xF29F, 0x4FF9, 0x1068, 0x91AB, 0x0008, 0x272B, 0xD9B3);\n        // offset: 44; size: 4; offset of the start\n        $data .= pack('V', 0x30);\n\n        // SECTION\n        $dataSection = array();\n        $dataSection_NumProps = 0;\n        $dataSection_Summary = '';\n        $dataSection_Content = '';\n\n        // CodePage : CP-1252\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x01),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x02), // 2 byte signed integer\n                               'data'    => array('data' => 1252));\n        $dataSection_NumProps++;\n\n        //    Title\n        if ($this->phpExcel->getProperties()->getTitle()) {\n            $dataProp = $this->phpExcel->getProperties()->getTitle();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Subject\n        if ($this->phpExcel->getProperties()->getSubject()) {\n            $dataProp = $this->phpExcel->getProperties()->getSubject();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x03),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Author (Creator)\n        if ($this->phpExcel->getProperties()->getCreator()) {\n            $dataProp = $this->phpExcel->getProperties()->getCreator();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x04),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Keywords\n        if ($this->phpExcel->getProperties()->getKeywords()) {\n            $dataProp = $this->phpExcel->getProperties()->getKeywords();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x05),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Comments (Description)\n        if ($this->phpExcel->getProperties()->getDescription()) {\n            $dataProp = $this->phpExcel->getProperties()->getDescription();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x06),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Last Saved By (LastModifiedBy)\n        if ($this->phpExcel->getProperties()->getLastModifiedBy()) {\n            $dataProp = $this->phpExcel->getProperties()->getLastModifiedBy();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x08),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length\n                                   'data'    => array('data' => $dataProp, 'length' => strlen($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Created Date/Time\n        if ($this->phpExcel->getProperties()->getCreated()) {\n            $dataProp = $this->phpExcel->getProperties()->getCreated();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0C),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x40), // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)\n                                   'data'    => array('data' => PHPExcel_Shared_OLE::LocalDate2OLE($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Modified Date/Time\n        if ($this->phpExcel->getProperties()->getModified()) {\n            $dataProp = $this->phpExcel->getProperties()->getModified();\n            $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0D),\n                                   'offset' => array('pack' => 'V'),\n                                   'type'     => array('pack' => 'V', 'data' => 0x40), // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)\n                                   'data'    => array('data' => PHPExcel_Shared_OLE::LocalDate2OLE($dataProp)));\n            $dataSection_NumProps++;\n        }\n        //    Security\n        $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x13),\n                               'offset' => array('pack' => 'V'),\n                               'type'     => array('pack' => 'V', 'data' => 0x03), // 4 byte signed integer\n                               'data'    => array('data' => 0x00));\n        $dataSection_NumProps++;\n\n\n        //         4     Section Length\n        //        4     Property count\n        //        8 * $dataSection_NumProps (8 =  ID (4) + OffSet(4))\n        $dataSection_Content_Offset = 8 + $dataSection_NumProps * 8;\n        foreach ($dataSection as $dataProp) {\n            // Summary\n            $dataSection_Summary .= pack($dataProp['summary']['pack'], $dataProp['summary']['data']);\n            // Offset\n            $dataSection_Summary .= pack($dataProp['offset']['pack'], $dataSection_Content_Offset);\n            // DataType\n            $dataSection_Content .= pack($dataProp['type']['pack'], $dataProp['type']['data']);\n            // Data\n            if ($dataProp['type']['data'] == 0x02) { // 2 byte signed integer\n                $dataSection_Content .= pack('V', $dataProp['data']['data']);\n\n                $dataSection_Content_Offset += 4 + 4;\n            } elseif ($dataProp['type']['data'] == 0x03) { // 4 byte signed integer\n                $dataSection_Content .= pack('V', $dataProp['data']['data']);\n\n                $dataSection_Content_Offset += 4 + 4;\n            } elseif ($dataProp['type']['data'] == 0x1E) { // null-terminated string prepended by dword string length\n                // Null-terminated string\n                $dataProp['data']['data'] .= chr(0);\n                $dataProp['data']['length'] += 1;\n                // Complete the string with null string for being a %4\n                $dataProp['data']['length'] = $dataProp['data']['length'] + ((4 - $dataProp['data']['length'] % 4)==4 ? 0 : (4 - $dataProp['data']['length'] % 4));\n                $dataProp['data']['data'] = str_pad($dataProp['data']['data'], $dataProp['data']['length'], chr(0), STR_PAD_RIGHT);\n\n                $dataSection_Content .= pack('V', $dataProp['data']['length']);\n                $dataSection_Content .= $dataProp['data']['data'];\n\n                $dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']);\n            } elseif ($dataProp['type']['data'] == 0x40) { // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)\n                $dataSection_Content .= $dataProp['data']['data'];\n\n                $dataSection_Content_Offset += 4 + 8;\n            } else {\n                // Data Type Not Used at the moment\n            }\n        }\n        // Now $dataSection_Content_Offset contains the size of the content\n\n        // section header\n        // offset: $secOffset; size: 4; section length\n        //         + x  Size of the content (summary + content)\n        $data .= pack('V', $dataSection_Content_Offset);\n        // offset: $secOffset+4; size: 4; property count\n        $data .= pack('V', $dataSection_NumProps);\n        // Section Summary\n        $data .= $dataSection_Summary;\n        // Section Content\n        $data .= $dataSection_Content;\n\n        return $data;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/Exception.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_Exception\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_Exception extends PHPExcel_Exception\n{\n    /**\n     * Error handler callback\n     *\n     * @param mixed $code\n     * @param mixed $string\n     * @param mixed $file\n     * @param mixed $line\n     * @param mixed $context\n     */\n    public static function errorHandlerCallback($code, $string, $file, $line, $context)\n    {\n        $e = new self($string, $code);\n        $e->line = $line;\n        $e->file = $file;\n        throw $e;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/HTML.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_HTML\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_HTML\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter\n{\n    /**\n     * PHPExcel object\n     *\n     * @var PHPExcel\n     */\n    protected $phpExcel;\n\n    /**\n     * Sheet index to write\n     *\n     * @var int\n     */\n    private $sheetIndex = 0;\n\n    /**\n     * Images root\n     *\n     * @var string\n     */\n    private $imagesRoot = '.';\n\n    /**\n     * embed images, or link to images\n     *\n     * @var boolean\n     */\n    private $embedImages = false;\n\n    /**\n     * Use inline CSS?\n     *\n     * @var boolean\n     */\n    private $useInlineCss = false;\n\n    /**\n     * Array of CSS styles\n     *\n     * @var array\n     */\n    private $cssStyles;\n\n    /**\n     * Array of column widths in points\n     *\n     * @var array\n     */\n    private $columnWidths;\n\n    /**\n     * Default font\n     *\n     * @var PHPExcel_Style_Font\n     */\n    private $defaultFont;\n\n    /**\n     * Flag whether spans have been calculated\n     *\n     * @var boolean\n     */\n    private $spansAreCalculated = false;\n\n    /**\n     * Excel cells that should not be written as HTML cells\n     *\n     * @var array\n     */\n    private $isSpannedCell = array();\n\n    /**\n     * Excel cells that are upper-left corner in a cell merge\n     *\n     * @var array\n     */\n    private $isBaseCell = array();\n\n    /**\n     * Excel rows that should not be written as HTML rows\n     *\n     * @var array\n     */\n    private $isSpannedRow = array();\n\n    /**\n     * Is the current writer creating PDF?\n     *\n     * @var boolean\n     */\n    protected $isPdf = false;\n\n    /**\n     * Generate the Navigation block\n     *\n     * @var boolean\n     */\n    private $generateSheetNavigationBlock = true;\n\n    /**\n     * Create a new PHPExcel_Writer_HTML\n     *\n     * @param    PHPExcel    $phpExcel    PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        $this->phpExcel = $phpExcel;\n        $this->defaultFont = $this->phpExcel->getDefaultStyle()->getFont();\n    }\n\n    /**\n     * Save PHPExcel to file\n     *\n     * @param    string        $pFilename\n     * @throws    PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        // garbage collect\n        $this->phpExcel->garbageCollect();\n\n        $saveDebugLog = PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->getWriteDebugLog();\n        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog(false);\n        $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType();\n        PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE);\n\n        // Build CSS\n        $this->buildCSS(!$this->useInlineCss);\n\n        // Open file\n        $fileHandle = fopen($pFilename, 'wb+');\n        if ($fileHandle === false) {\n            throw new PHPExcel_Writer_Exception(\"Could not open file $pFilename for writing.\");\n        }\n\n        // Write headers\n        fwrite($fileHandle, $this->generateHTMLHeader(!$this->useInlineCss));\n\n        // Write navigation (tabs)\n        if ((!$this->isPdf) && ($this->generateSheetNavigationBlock)) {\n            fwrite($fileHandle, $this->generateNavigation());\n        }\n\n        // Write data\n        fwrite($fileHandle, $this->generateSheetData());\n\n        // Write footer\n        fwrite($fileHandle, $this->generateHTMLFooter());\n\n        // Close file\n        fclose($fileHandle);\n\n        PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType);\n        PHPExcel_Calculation::getInstance($this->phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog);\n    }\n\n    /**\n     * Map VAlign\n     *\n     * @param    string        $vAlign        Vertical alignment\n     * @return string\n     */\n    private function mapVAlign($vAlign)\n    {\n        switch ($vAlign) {\n            case PHPExcel_Style_Alignment::VERTICAL_BOTTOM:\n                return 'bottom';\n            case PHPExcel_Style_Alignment::VERTICAL_TOP:\n                return 'top';\n            case PHPExcel_Style_Alignment::VERTICAL_CENTER:\n            case PHPExcel_Style_Alignment::VERTICAL_JUSTIFY:\n                return 'middle';\n            default:\n                return 'baseline';\n        }\n    }\n\n    /**\n     * Map HAlign\n     *\n     * @param    string        $hAlign        Horizontal alignment\n     * @return string|false\n     */\n    private function mapHAlign($hAlign)\n    {\n        switch ($hAlign) {\n            case PHPExcel_Style_Alignment::HORIZONTAL_GENERAL:\n                return false;\n            case PHPExcel_Style_Alignment::HORIZONTAL_LEFT:\n                return 'left';\n            case PHPExcel_Style_Alignment::HORIZONTAL_RIGHT:\n                return 'right';\n            case PHPExcel_Style_Alignment::HORIZONTAL_CENTER:\n            case PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS:\n                return 'center';\n            case PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY:\n                return 'justify';\n            default:\n                return false;\n        }\n    }\n\n    /**\n     * Map border style\n     *\n     * @param    int        $borderStyle        Sheet index\n     * @return    string\n     */\n    private function mapBorderStyle($borderStyle)\n    {\n        switch ($borderStyle) {\n            case PHPExcel_Style_Border::BORDER_NONE:\n                return 'none';\n            case PHPExcel_Style_Border::BORDER_DASHDOT:\n                return '1px dashed';\n            case PHPExcel_Style_Border::BORDER_DASHDOTDOT:\n                return '1px dotted';\n            case PHPExcel_Style_Border::BORDER_DASHED:\n                return '1px dashed';\n            case PHPExcel_Style_Border::BORDER_DOTTED:\n                return '1px dotted';\n            case PHPExcel_Style_Border::BORDER_DOUBLE:\n                return '3px double';\n            case PHPExcel_Style_Border::BORDER_HAIR:\n                return '1px solid';\n            case PHPExcel_Style_Border::BORDER_MEDIUM:\n                return '2px solid';\n            case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT:\n                return '2px dashed';\n            case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT:\n                return '2px dotted';\n            case PHPExcel_Style_Border::BORDER_MEDIUMDASHED:\n                return '2px dashed';\n            case PHPExcel_Style_Border::BORDER_SLANTDASHDOT:\n                return '2px dashed';\n            case PHPExcel_Style_Border::BORDER_THICK:\n                return '3px solid';\n            case PHPExcel_Style_Border::BORDER_THIN:\n                return '1px solid';\n            default:\n                // map others to thin\n                return '1px solid';\n        }\n    }\n\n    /**\n     * Get sheet index\n     *\n     * @return int\n     */\n    public function getSheetIndex()\n    {\n        return $this->sheetIndex;\n    }\n\n    /**\n     * Set sheet index\n     *\n     * @param    int        $pValue        Sheet index\n     * @return PHPExcel_Writer_HTML\n     */\n    public function setSheetIndex($pValue = 0)\n    {\n        $this->sheetIndex = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get sheet index\n     *\n     * @return boolean\n     */\n    public function getGenerateSheetNavigationBlock()\n    {\n        return $this->generateSheetNavigationBlock;\n    }\n\n    /**\n     * Set sheet index\n     *\n     * @param    boolean        $pValue        Flag indicating whether the sheet navigation block should be generated or not\n     * @return PHPExcel_Writer_HTML\n     */\n    public function setGenerateSheetNavigationBlock($pValue = true)\n    {\n        $this->generateSheetNavigationBlock = (bool) $pValue;\n        return $this;\n    }\n\n    /**\n     * Write all sheets (resets sheetIndex to NULL)\n     */\n    public function writeAllSheets()\n    {\n        $this->sheetIndex = null;\n        return $this;\n    }\n\n    /**\n     * Generate HTML header\n     *\n     * @param    boolean        $pIncludeStyles        Include styles?\n     * @return    string\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function generateHTMLHeader($pIncludeStyles = false)\n    {\n        // PHPExcel object known?\n        if (is_null($this->phpExcel)) {\n            throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.');\n        }\n\n        // Construct HTML\n        $properties = $this->phpExcel->getProperties();\n        $html = '<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">' . PHP_EOL;\n        $html .= '<!-- Generated by PHPExcel - http://www.phpexcel.net -->' . PHP_EOL;\n        $html .= '<html>' . PHP_EOL;\n        $html .= '  <head>' . PHP_EOL;\n        $html .= '      <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">' . PHP_EOL;\n        if ($properties->getTitle() > '') {\n            $html .= '      <title>' . htmlspecialchars($properties->getTitle()) . '</title>' . PHP_EOL;\n        }\n        if ($properties->getCreator() > '') {\n            $html .= '      <meta name=\"author\" content=\"' . htmlspecialchars($properties->getCreator()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getTitle() > '') {\n            $html .= '      <meta name=\"title\" content=\"' . htmlspecialchars($properties->getTitle()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getDescription() > '') {\n            $html .= '      <meta name=\"description\" content=\"' . htmlspecialchars($properties->getDescription()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getSubject() > '') {\n            $html .= '      <meta name=\"subject\" content=\"' . htmlspecialchars($properties->getSubject()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getKeywords() > '') {\n            $html .= '      <meta name=\"keywords\" content=\"' . htmlspecialchars($properties->getKeywords()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getCategory() > '') {\n            $html .= '      <meta name=\"category\" content=\"' . htmlspecialchars($properties->getCategory()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getCompany() > '') {\n            $html .= '      <meta name=\"company\" content=\"' . htmlspecialchars($properties->getCompany()) . '\" />' . PHP_EOL;\n        }\n        if ($properties->getManager() > '') {\n            $html .= '      <meta name=\"manager\" content=\"' . htmlspecialchars($properties->getManager()) . '\" />' . PHP_EOL;\n        }\n\n        if ($pIncludeStyles) {\n            $html .= $this->generateStyles(true);\n        }\n\n        $html .= '  </head>' . PHP_EOL;\n        $html .= '' . PHP_EOL;\n        $html .= '  <body>' . PHP_EOL;\n\n        return $html;\n    }\n\n    /**\n     * Generate sheet data\n     *\n     * @return    string\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function generateSheetData()\n    {\n        // PHPExcel object known?\n        if (is_null($this->phpExcel)) {\n            throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.');\n        }\n\n        // Ensure that Spans have been calculated?\n        if ($this->sheetIndex !== null || !$this->spansAreCalculated) {\n            $this->calculateSpans();\n        }\n\n        // Fetch sheets\n        $sheets = array();\n        if (is_null($this->sheetIndex)) {\n            $sheets = $this->phpExcel->getAllSheets();\n        } else {\n            $sheets[] = $this->phpExcel->getSheet($this->sheetIndex);\n        }\n\n        // Construct HTML\n        $html = '';\n\n        // Loop all sheets\n        $sheetId = 0;\n        foreach ($sheets as $sheet) {\n            // Write table header\n            $html .= $this->generateTableHeader($sheet);\n\n            // Get worksheet dimension\n            $dimension = explode(':', $sheet->calculateWorksheetDimension());\n            $dimension[0] = PHPExcel_Cell::coordinateFromString($dimension[0]);\n            $dimension[0][0] = PHPExcel_Cell::columnIndexFromString($dimension[0][0]) - 1;\n            $dimension[1] = PHPExcel_Cell::coordinateFromString($dimension[1]);\n            $dimension[1][0] = PHPExcel_Cell::columnIndexFromString($dimension[1][0]) - 1;\n\n            // row min,max\n            $rowMin = $dimension[0][1];\n            $rowMax = $dimension[1][1];\n\n            // calculate start of <tbody>, <thead>\n            $tbodyStart = $rowMin;\n            $theadStart = $theadEnd   = 0; // default: no <thead>    no </thead>\n            if ($sheet->getPageSetup()->isRowsToRepeatAtTopSet()) {\n                $rowsToRepeatAtTop = $sheet->getPageSetup()->getRowsToRepeatAtTop();\n\n                // we can only support repeating rows that start at top row\n                if ($rowsToRepeatAtTop[0] == 1) {\n                    $theadStart = $rowsToRepeatAtTop[0];\n                    $theadEnd   = $rowsToRepeatAtTop[1];\n                    $tbodyStart = $rowsToRepeatAtTop[1] + 1;\n                }\n            }\n\n            // Loop through cells\n            $row = $rowMin-1;\n            while ($row++ < $rowMax) {\n                // <thead> ?\n                if ($row == $theadStart) {\n                    $html .= '        <thead>' . PHP_EOL;\n                    $cellType = 'th';\n                }\n\n                // <tbody> ?\n                if ($row == $tbodyStart) {\n                    $html .= '        <tbody>' . PHP_EOL;\n                    $cellType = 'td';\n                }\n\n                // Write row if there are HTML table cells in it\n                if (!isset($this->isSpannedRow[$sheet->getParent()->getIndex($sheet)][$row])) {\n                    // Start a new rowData\n                    $rowData = array();\n                    // Loop through columns\n                    $column = $dimension[0][0] - 1;\n                    while ($column++ < $dimension[1][0]) {\n                        // Cell exists?\n                        if ($sheet->cellExistsByColumnAndRow($column, $row)) {\n                            $rowData[$column] = PHPExcel_Cell::stringFromColumnIndex($column) . $row;\n                        } else {\n                            $rowData[$column] = '';\n                        }\n                    }\n                    $html .= $this->generateRow($sheet, $rowData, $row - 1, $cellType);\n                }\n\n                // </thead> ?\n                if ($row == $theadEnd) {\n                    $html .= '        </thead>' . PHP_EOL;\n                }\n            }\n            $html .= $this->extendRowsForChartsAndImages($sheet, $row);\n\n            // Close table body.\n            $html .= '        </tbody>' . PHP_EOL;\n\n            // Write table footer\n            $html .= $this->generateTableFooter();\n\n            // Writing PDF?\n            if ($this->isPdf) {\n                if (is_null($this->sheetIndex) && $sheetId + 1 < $this->phpExcel->getSheetCount()) {\n                    $html .= '<div style=\"page-break-before:always\" />';\n                }\n            }\n\n            // Next sheet\n            ++$sheetId;\n        }\n\n        return $html;\n    }\n\n    /**\n     * Generate sheet tabs\n     *\n     * @return    string\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function generateNavigation()\n    {\n        // PHPExcel object known?\n        if (is_null($this->phpExcel)) {\n            throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.');\n        }\n\n        // Fetch sheets\n        $sheets = array();\n        if (is_null($this->sheetIndex)) {\n            $sheets = $this->phpExcel->getAllSheets();\n        } else {\n            $sheets[] = $this->phpExcel->getSheet($this->sheetIndex);\n        }\n\n        // Construct HTML\n        $html = '';\n\n        // Only if there are more than 1 sheets\n        if (count($sheets) > 1) {\n            // Loop all sheets\n            $sheetId = 0;\n\n            $html .= '<ul class=\"navigation\">' . PHP_EOL;\n\n            foreach ($sheets as $sheet) {\n                $html .= '  <li class=\"sheet' . $sheetId . '\"><a href=\"#sheet' . $sheetId . '\">' . $sheet->getTitle() . '</a></li>' . PHP_EOL;\n                ++$sheetId;\n            }\n\n            $html .= '</ul>' . PHP_EOL;\n        }\n\n        return $html;\n    }\n\n    private function extendRowsForChartsAndImages(PHPExcel_Worksheet $pSheet, $row)\n    {\n        $rowMax = $row;\n        $colMax = 'A';\n        if ($this->includeCharts) {\n            foreach ($pSheet->getChartCollection() as $chart) {\n                if ($chart instanceof PHPExcel_Chart) {\n                    $chartCoordinates = $chart->getTopLeftPosition();\n                    $chartTL = PHPExcel_Cell::coordinateFromString($chartCoordinates['cell']);\n                    $chartCol = PHPExcel_Cell::columnIndexFromString($chartTL[0]);\n                    if ($chartTL[1] > $rowMax) {\n                        $rowMax = $chartTL[1];\n                        if ($chartCol > PHPExcel_Cell::columnIndexFromString($colMax)) {\n                            $colMax = $chartTL[0];\n                        }\n                    }\n                }\n            }\n        }\n\n        foreach ($pSheet->getDrawingCollection() as $drawing) {\n            if ($drawing instanceof PHPExcel_Worksheet_Drawing) {\n                $imageTL = PHPExcel_Cell::coordinateFromString($drawing->getCoordinates());\n                $imageCol = PHPExcel_Cell::columnIndexFromString($imageTL[0]);\n                if ($imageTL[1] > $rowMax) {\n                    $rowMax = $imageTL[1];\n                    if ($imageCol > PHPExcel_Cell::columnIndexFromString($colMax)) {\n                        $colMax = $imageTL[0];\n                    }\n                }\n            }\n        }\n\n        $html = '';\n        $colMax++;\n        while ($row <= $rowMax) {\n            $html .= '<tr>';\n            for ($col = 'A'; $col != $colMax; ++$col) {\n                $html .= '<td>';\n                $html .= $this->writeImageInCell($pSheet, $col.$row);\n                if ($this->includeCharts) {\n                    $html .= $this->writeChartInCell($pSheet, $col.$row);\n                }\n                $html .= '</td>';\n            }\n            ++$row;\n            $html .= '</tr>';\n        }\n        return $html;\n    }\n\n\n    /**\n     * Generate image tag in cell\n     *\n     * @param    PHPExcel_Worksheet    $pSheet            PHPExcel_Worksheet\n     * @param    string                $coordinates    Cell coordinates\n     * @return    string\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeImageInCell(PHPExcel_Worksheet $pSheet, $coordinates)\n    {\n        // Construct HTML\n        $html = '';\n\n        // Write images\n        foreach ($pSheet->getDrawingCollection() as $drawing) {\n            if ($drawing instanceof PHPExcel_Worksheet_Drawing) {\n                if ($drawing->getCoordinates() == $coordinates) {\n                    $filename = $drawing->getPath();\n\n                    // Strip off eventual '.'\n                    if (substr($filename, 0, 1) == '.') {\n                        $filename = substr($filename, 1);\n                    }\n\n                    // Prepend images root\n                    $filename = $this->getImagesRoot() . $filename;\n\n                    // Strip off eventual '.'\n                    if (substr($filename, 0, 1) == '.' && substr($filename, 0, 2) != './') {\n                        $filename = substr($filename, 1);\n                    }\n\n                    // Convert UTF8 data to PCDATA\n                    $filename = htmlspecialchars($filename);\n\n                    $html .= PHP_EOL;\n                    if ((!$this->embedImages) || ($this->isPdf)) {\n                        $imageData = $filename;\n                    } else {\n                        $imageDetails = getimagesize($filename);\n                        if ($fp = fopen($filename, \"rb\", 0)) {\n                            $picture = fread($fp, filesize($filename));\n                            fclose($fp);\n                            // base64 encode the binary data, then break it\n                            // into chunks according to RFC 2045 semantics\n                            $base64 = chunk_split(base64_encode($picture));\n                            $imageData = 'data:'.$imageDetails['mime'].';base64,' . $base64;\n                        } else {\n                            $imageData = $filename;\n                        }\n                    }\n\n                    $html .= '<div style=\"position: relative;\">';\n                    $html .= '<img style=\"position: absolute; z-index: 1; left: ' .\n                        $drawing->getOffsetX() . 'px; top: ' . $drawing->getOffsetY() . 'px; width: ' .\n                        $drawing->getWidth() . 'px; height: ' . $drawing->getHeight() . 'px;\" src=\"' .\n                        $imageData . '\" border=\"0\" />';\n                    $html .= '</div>';\n                }\n            } elseif ($drawing instanceof PHPExcel_Worksheet_MemoryDrawing) {\n                if ($drawing->getCoordinates() != $coordinates) {\n                    continue;\n                }\n                ob_start();                                //  Let's start output buffering.\n                imagepng($drawing->getImageResource());    //  This will normally output the image, but because of ob_start(), it won't.\n                $contents = ob_get_contents();             //  Instead, output above is saved to $contents\n                ob_end_clean();                            //  End the output buffer.\n\n                $dataUri = \"data:image/jpeg;base64,\" . base64_encode($contents);\n\n                //  Because of the nature of tables, width is more important than height.\n                //  max-width: 100% ensures that image doesnt overflow containing cell\n                //  width: X sets width of supplied image.\n                //  As a result, images bigger than cell will be contained and images smaller will not get stretched\n                $html .= '<img src=\"'.$dataUri.'\" style=\"max-width:100%;width:'.$drawing->getWidth().'px;\" />';\n            }\n        }\n\n        return $html;\n    }\n\n    /**\n     * Generate chart tag in cell\n     *\n     * @param    PHPExcel_Worksheet    $pSheet            PHPExcel_Worksheet\n     * @param    string                $coordinates    Cell coordinates\n     * @return    string\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function writeChartInCell(PHPExcel_Worksheet $pSheet, $coordinates)\n    {\n        // Construct HTML\n        $html = '';\n\n        // Write charts\n        foreach ($pSheet->getChartCollection() as $chart) {\n            if ($chart instanceof PHPExcel_Chart) {\n                $chartCoordinates = $chart->getTopLeftPosition();\n                if ($chartCoordinates['cell'] == $coordinates) {\n                    $chartFileName = PHPExcel_Shared_File::sys_get_temp_dir().'/'.uniqid().'.png';\n                    if (!$chart->render($chartFileName)) {\n                        return;\n                    }\n\n                    $html .= PHP_EOL;\n                    $imageDetails = getimagesize($chartFileName);\n                    if ($fp = fopen($chartFileName, \"rb\", 0)) {\n                        $picture = fread($fp, filesize($chartFileName));\n                        fclose($fp);\n                        // base64 encode the binary data, then break it\n                        // into chunks according to RFC 2045 semantics\n                        $base64 = chunk_split(base64_encode($picture));\n                        $imageData = 'data:'.$imageDetails['mime'].';base64,' . $base64;\n\n                        $html .= '<div style=\"position: relative;\">';\n                        $html .= '<img style=\"position: absolute; z-index: 1; left: ' . $chartCoordinates['xOffset'] . 'px; top: ' . $chartCoordinates['yOffset'] . 'px; width: ' . $imageDetails[0] . 'px; height: ' . $imageDetails[1] . 'px;\" src=\"' . $imageData . '\" border=\"0\" />' . PHP_EOL;\n                        $html .= '</div>';\n\n                        unlink($chartFileName);\n                    }\n                }\n            }\n        }\n\n        // Return\n        return $html;\n    }\n\n    /**\n     * Generate CSS styles\n     *\n     * @param    boolean    $generateSurroundingHTML    Generate surrounding HTML tags? (&lt;style&gt; and &lt;/style&gt;)\n     * @return    string\n     * @throws    PHPExcel_Writer_Exception\n     */\n    public function generateStyles($generateSurroundingHTML = true)\n    {\n        // PHPExcel object known?\n        if (is_null($this->phpExcel)) {\n            throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.');\n        }\n\n        // Build CSS\n        $css = $this->buildCSS($generateSurroundingHTML);\n\n        // Construct HTML\n        $html = '';\n\n        // Start styles\n        if ($generateSurroundingHTML) {\n            $html .= '    <style type=\"text/css\">' . PHP_EOL;\n            $html .= '      html { ' . $this->assembleCSS($css['html']) . ' }' . PHP_EOL;\n        }\n\n        // Write all other styles\n        foreach ($css as $styleName => $styleDefinition) {\n            if ($styleName != 'html') {\n                $html .= '      ' . $styleName . ' { ' . $this->assembleCSS($styleDefinition) . ' }' . PHP_EOL;\n            }\n        }\n\n        // End styles\n        if ($generateSurroundingHTML) {\n            $html .= '    </style>' . PHP_EOL;\n        }\n\n        // Return\n        return $html;\n    }\n\n    /**\n     * Build CSS styles\n     *\n     * @param    boolean    $generateSurroundingHTML    Generate surrounding HTML style? (html { })\n     * @return    array\n     * @throws    PHPExcel_Writer_Exception\n     */\n    public function buildCSS($generateSurroundingHTML = true)\n    {\n        // PHPExcel object known?\n        if (is_null($this->phpExcel)) {\n            throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.');\n        }\n\n        // Cached?\n        if (!is_null($this->cssStyles)) {\n            return $this->cssStyles;\n        }\n\n        // Ensure that spans have been calculated\n        if (!$this->spansAreCalculated) {\n            $this->calculateSpans();\n        }\n\n        // Construct CSS\n        $css = array();\n\n        // Start styles\n        if ($generateSurroundingHTML) {\n            // html { }\n            $css['html']['font-family']      = 'Calibri, Arial, Helvetica, sans-serif';\n            $css['html']['font-size']        = '11pt';\n            $css['html']['background-color'] = 'white';\n        }\n\n\n        // table { }\n        $css['table']['border-collapse']  = 'collapse';\n        if (!$this->isPdf) {\n            $css['table']['page-break-after'] = 'always';\n        }\n\n        // .gridlines td { }\n        $css['.gridlines td']['border'] = '1px dotted black';\n        $css['.gridlines th']['border'] = '1px dotted black';\n\n        // .b {}\n        $css['.b']['text-align'] = 'center'; // BOOL\n\n        // .e {}\n        $css['.e']['text-align'] = 'center'; // ERROR\n\n        // .f {}\n        $css['.f']['text-align'] = 'right'; // FORMULA\n\n        // .inlineStr {}\n        $css['.inlineStr']['text-align'] = 'left'; // INLINE\n\n        // .n {}\n        $css['.n']['text-align'] = 'right'; // NUMERIC\n\n        // .s {}\n        $css['.s']['text-align'] = 'left'; // STRING\n\n        // Calculate cell style hashes\n        foreach ($this->phpExcel->getCellXfCollection() as $index => $style) {\n            $css['td.style' . $index] = $this->createCSSStyle($style);\n            $css['th.style' . $index] = $this->createCSSStyle($style);\n        }\n\n        // Fetch sheets\n        $sheets = array();\n        if (is_null($this->sheetIndex)) {\n            $sheets = $this->phpExcel->getAllSheets();\n        } else {\n            $sheets[] = $this->phpExcel->getSheet($this->sheetIndex);\n        }\n\n        // Build styles per sheet\n        foreach ($sheets as $sheet) {\n            // Calculate hash code\n            $sheetIndex = $sheet->getParent()->getIndex($sheet);\n\n            // Build styles\n            // Calculate column widths\n            $sheet->calculateColumnWidths();\n\n            // col elements, initialize\n            $highestColumnIndex = PHPExcel_Cell::columnIndexFromString($sheet->getHighestColumn()) - 1;\n            $column = -1;\n            while ($column++ < $highestColumnIndex) {\n                $this->columnWidths[$sheetIndex][$column] = 42; // approximation\n                $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = '42pt';\n            }\n\n            // col elements, loop through columnDimensions and set width\n            foreach ($sheet->getColumnDimensions() as $columnDimension) {\n                if (($width = PHPExcel_Shared_Drawing::cellDimensionToPixels($columnDimension->getWidth(), $this->defaultFont)) >= 0) {\n                    $width = PHPExcel_Shared_Drawing::pixelsToPoints($width);\n                    $column = PHPExcel_Cell::columnIndexFromString($columnDimension->getColumnIndex()) - 1;\n                    $this->columnWidths[$sheetIndex][$column] = $width;\n                    $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = $width . 'pt';\n\n                    if ($columnDimension->getVisible() === false) {\n                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['visibility'] = 'collapse';\n                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['*display'] = 'none'; // target IE6+7\n                    }\n                }\n            }\n\n            // Default row height\n            $rowDimension = $sheet->getDefaultRowDimension();\n\n            // table.sheetN tr { }\n            $css['table.sheet' . $sheetIndex . ' tr'] = array();\n\n            if ($rowDimension->getRowHeight() == -1) {\n                $pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->phpExcel->getDefaultStyle()->getFont());\n            } else {\n                $pt_height = $rowDimension->getRowHeight();\n            }\n            $css['table.sheet' . $sheetIndex . ' tr']['height'] = $pt_height . 'pt';\n            if ($rowDimension->getVisible() === false) {\n                $css['table.sheet' . $sheetIndex . ' tr']['display']    = 'none';\n                $css['table.sheet' . $sheetIndex . ' tr']['visibility'] = 'hidden';\n            }\n\n            // Calculate row heights\n            foreach ($sheet->getRowDimensions() as $rowDimension) {\n                $row = $rowDimension->getRowIndex() - 1;\n\n                // table.sheetN tr.rowYYYYYY { }\n                $css['table.sheet' . $sheetIndex . ' tr.row' . $row] = array();\n\n                if ($rowDimension->getRowHeight() == -1) {\n                    $pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->phpExcel->getDefaultStyle()->getFont());\n                } else {\n                    $pt_height = $rowDimension->getRowHeight();\n                }\n                $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt';\n                if ($rowDimension->getVisible() === false) {\n                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none';\n                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['visibility'] = 'hidden';\n                }\n            }\n        }\n\n        // Cache\n        if (is_null($this->cssStyles)) {\n            $this->cssStyles = $css;\n        }\n\n        // Return\n        return $css;\n    }\n\n    /**\n     * Create CSS style\n     *\n     * @param    PHPExcel_Style        $pStyle            PHPExcel_Style\n     * @return    array\n     */\n    private function createCSSStyle(PHPExcel_Style $pStyle)\n    {\n        // Construct CSS\n        $css = '';\n\n        // Create CSS\n        $css = array_merge(\n            $this->createCSSStyleAlignment($pStyle->getAlignment()),\n            $this->createCSSStyleBorders($pStyle->getBorders()),\n            $this->createCSSStyleFont($pStyle->getFont()),\n            $this->createCSSStyleFill($pStyle->getFill())\n        );\n\n        // Return\n        return $css;\n    }\n\n    /**\n     * Create CSS style (PHPExcel_Style_Alignment)\n     *\n     * @param    PHPExcel_Style_Alignment        $pStyle            PHPExcel_Style_Alignment\n     * @return    array\n     */\n    private function createCSSStyleAlignment(PHPExcel_Style_Alignment $pStyle)\n    {\n        // Construct CSS\n        $css = array();\n\n        // Create CSS\n        $css['vertical-align'] = $this->mapVAlign($pStyle->getVertical());\n        if ($textAlign = $this->mapHAlign($pStyle->getHorizontal())) {\n            $css['text-align'] = $textAlign;\n            if (in_array($textAlign, array('left', 'right'))) {\n                $css['padding-'.$textAlign] = (string)((int)$pStyle->getIndent() * 9).'px';\n            }\n        }\n\n        return $css;\n    }\n\n    /**\n     * Create CSS style (PHPExcel_Style_Font)\n     *\n     * @param    PHPExcel_Style_Font        $pStyle            PHPExcel_Style_Font\n     * @return    array\n     */\n    private function createCSSStyleFont(PHPExcel_Style_Font $pStyle)\n    {\n        // Construct CSS\n        $css = array();\n\n        // Create CSS\n        if ($pStyle->getBold()) {\n            $css['font-weight'] = 'bold';\n        }\n        if ($pStyle->getUnderline() != PHPExcel_Style_Font::UNDERLINE_NONE && $pStyle->getStrikethrough()) {\n            $css['text-decoration'] = 'underline line-through';\n        } elseif ($pStyle->getUnderline() != PHPExcel_Style_Font::UNDERLINE_NONE) {\n            $css['text-decoration'] = 'underline';\n        } elseif ($pStyle->getStrikethrough()) {\n            $css['text-decoration'] = 'line-through';\n        }\n        if ($pStyle->getItalic()) {\n            $css['font-style'] = 'italic';\n        }\n\n        $css['color']       = '#' . $pStyle->getColor()->getRGB();\n        $css['font-family'] = '\\'' . $pStyle->getName() . '\\'';\n        $css['font-size']   = $pStyle->getSize() . 'pt';\n\n        return $css;\n    }\n\n    /**\n     * Create CSS style (PHPExcel_Style_Borders)\n     *\n     * @param    PHPExcel_Style_Borders        $pStyle            PHPExcel_Style_Borders\n     * @return    array\n     */\n    private function createCSSStyleBorders(PHPExcel_Style_Borders $pStyle)\n    {\n        // Construct CSS\n        $css = array();\n\n        // Create CSS\n        $css['border-bottom'] = $this->createCSSStyleBorder($pStyle->getBottom());\n        $css['border-top']    = $this->createCSSStyleBorder($pStyle->getTop());\n        $css['border-left']   = $this->createCSSStyleBorder($pStyle->getLeft());\n        $css['border-right']  = $this->createCSSStyleBorder($pStyle->getRight());\n\n        return $css;\n    }\n\n    /**\n     * Create CSS style (PHPExcel_Style_Border)\n     *\n     * @param    PHPExcel_Style_Border        $pStyle            PHPExcel_Style_Border\n     * @return    string\n     */\n    private function createCSSStyleBorder(PHPExcel_Style_Border $pStyle)\n    {\n        // Create CSS\n//        $css = $this->mapBorderStyle($pStyle->getBorderStyle()) . ' #' . $pStyle->getColor()->getRGB();\n        //    Create CSS - add !important to non-none border styles for merged cells\n        $borderStyle = $this->mapBorderStyle($pStyle->getBorderStyle());\n        $css = $borderStyle . ' #' . $pStyle->getColor()->getRGB() . (($borderStyle == 'none') ? '' : ' !important');\n\n        return $css;\n    }\n\n    /**\n     * Create CSS style (PHPExcel_Style_Fill)\n     *\n     * @param    PHPExcel_Style_Fill        $pStyle            PHPExcel_Style_Fill\n     * @return    array\n     */\n    private function createCSSStyleFill(PHPExcel_Style_Fill $pStyle)\n    {\n        // Construct HTML\n        $css = array();\n\n        // Create CSS\n        $value = $pStyle->getFillType() == PHPExcel_Style_Fill::FILL_NONE ?\n            'white' : '#' . $pStyle->getStartColor()->getRGB();\n        $css['background-color'] = $value;\n\n        return $css;\n    }\n\n    /**\n     * Generate HTML footer\n     */\n    public function generateHTMLFooter()\n    {\n        // Construct HTML\n        $html = '';\n        $html .= '  </body>' . PHP_EOL;\n        $html .= '</html>' . PHP_EOL;\n\n        return $html;\n    }\n\n    /**\n     * Generate table header\n     *\n     * @param    PHPExcel_Worksheet    $pSheet        The worksheet for the table we are writing\n     * @return    string\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function generateTableHeader($pSheet)\n    {\n        $sheetIndex = $pSheet->getParent()->getIndex($pSheet);\n\n        // Construct HTML\n        $html = '';\n        $html .= $this->setMargins($pSheet);\n            \n        if (!$this->useInlineCss) {\n            $gridlines = $pSheet->getShowGridlines() ? ' gridlines' : '';\n            $html .= '    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"sheet' . $sheetIndex . '\" class=\"sheet' . $sheetIndex . $gridlines . '\">' . PHP_EOL;\n        } else {\n            $style = isset($this->cssStyles['table']) ?\n                $this->assembleCSS($this->cssStyles['table']) : '';\n\n            if ($this->isPdf && $pSheet->getShowGridlines()) {\n                $html .= '    <table border=\"1\" cellpadding=\"1\" id=\"sheet' . $sheetIndex . '\" cellspacing=\"1\" style=\"' . $style . '\">' . PHP_EOL;\n            } else {\n                $html .= '    <table border=\"0\" cellpadding=\"1\" id=\"sheet' . $sheetIndex . '\" cellspacing=\"0\" style=\"' . $style . '\">' . PHP_EOL;\n            }\n        }\n\n        // Write <col> elements\n        $highestColumnIndex = PHPExcel_Cell::columnIndexFromString($pSheet->getHighestColumn()) - 1;\n        $i = -1;\n        while ($i++ < $highestColumnIndex) {\n            if (!$this->isPdf) {\n                if (!$this->useInlineCss) {\n                    $html .= '        <col class=\"col' . $i . '\">' . PHP_EOL;\n                } else {\n                    $style = isset($this->cssStyles['table.sheet' . $sheetIndex . ' col.col' . $i]) ?\n                        $this->assembleCSS($this->cssStyles['table.sheet' . $sheetIndex . ' col.col' . $i]) : '';\n                    $html .= '        <col style=\"' . $style . '\">' . PHP_EOL;\n                }\n            }\n        }\n\n        return $html;\n    }\n\n    /**\n     * Generate table footer\n     *\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function generateTableFooter()\n    {\n        $html = '    </table>' . PHP_EOL;\n\n        return $html;\n    }\n\n    /**\n     * Generate row\n     *\n     * @param    PHPExcel_Worksheet    $pSheet            PHPExcel_Worksheet\n     * @param    array                $pValues        Array containing cells in a row\n     * @param    int                    $pRow            Row number (0-based)\n     * @return    string\n     * @throws    PHPExcel_Writer_Exception\n     */\n    private function generateRow(PHPExcel_Worksheet $pSheet, $pValues = null, $pRow = 0, $cellType = 'td')\n    {\n        if (is_array($pValues)) {\n            // Construct HTML\n            $html = '';\n\n            // Sheet index\n            $sheetIndex = $pSheet->getParent()->getIndex($pSheet);\n\n            // DomPDF and breaks\n            if ($this->isPdf && count($pSheet->getBreaks()) > 0) {\n                $breaks = $pSheet->getBreaks();\n\n                // check if a break is needed before this row\n                if (isset($breaks['A' . $pRow])) {\n                    // close table: </table>\n                    $html .= $this->generateTableFooter();\n\n                    // insert page break\n                    $html .= '<div style=\"page-break-before:always\" />';\n\n                    // open table again: <table> + <col> etc.\n                    $html .= $this->generateTableHeader($pSheet);\n                }\n            }\n\n            // Write row start\n            if (!$this->useInlineCss) {\n                $html .= '          <tr class=\"row' . $pRow . '\">' . PHP_EOL;\n            } else {\n                $style = isset($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow])\n                    ? $this->assembleCSS($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]) : '';\n\n                $html .= '          <tr style=\"' . $style . '\">' . PHP_EOL;\n            }\n\n            // Write cells\n            $colNum = 0;\n            foreach ($pValues as $cellAddress) {\n                $cell = ($cellAddress > '') ? $pSheet->getCell($cellAddress) : '';\n                $coordinate = PHPExcel_Cell::stringFromColumnIndex($colNum) . ($pRow + 1);\n                if (!$this->useInlineCss) {\n                    $cssClass = '';\n                    $cssClass = 'column' . $colNum;\n                } else {\n                    $cssClass = array();\n                    if ($cellType == 'th') {\n                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum])) {\n                            $this->cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum];\n                        }\n                    } else {\n                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum])) {\n                            $this->cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum];\n                        }\n                    }\n                }\n                $colSpan = 1;\n                $rowSpan = 1;\n\n                // initialize\n                $cellData = '&nbsp;';\n\n                // PHPExcel_Cell\n                if ($cell instanceof PHPExcel_Cell) {\n                    $cellData = '';\n                    if (is_null($cell->getParent())) {\n                        $cell->attach($pSheet);\n                    }\n                    // Value\n                    if ($cell->getValue() instanceof PHPExcel_RichText) {\n                        // Loop through rich text elements\n                        $elements = $cell->getValue()->getRichTextElements();\n                        foreach ($elements as $element) {\n                            // Rich text start?\n                            if ($element instanceof PHPExcel_RichText_Run) {\n                                $cellData .= '<span style=\"' . $this->assembleCSS($this->createCSSStyleFont($element->getFont())) . '\">';\n\n                                if ($element->getFont()->getSuperScript()) {\n                                    $cellData .= '<sup>';\n                                } elseif ($element->getFont()->getSubScript()) {\n                                    $cellData .= '<sub>';\n                                }\n                            }\n\n                            // Convert UTF8 data to PCDATA\n                            $cellText = $element->getText();\n                            $cellData .= htmlspecialchars($cellText);\n\n                            if ($element instanceof PHPExcel_RichText_Run) {\n                                if ($element->getFont()->getSuperScript()) {\n                                    $cellData .= '</sup>';\n                                } elseif ($element->getFont()->getSubScript()) {\n                                    $cellData .= '</sub>';\n                                }\n\n                                $cellData .= '</span>';\n                            }\n                        }\n                    } else {\n                        if ($this->preCalculateFormulas) {\n                            $cellData = PHPExcel_Style_NumberFormat::toFormattedString(\n                                $cell->getCalculatedValue(),\n                                $pSheet->getParent()->getCellXfByIndex($cell->getXfIndex())->getNumberFormat()->getFormatCode(),\n                                array($this, 'formatColor')\n                            );\n                        } else {\n                            $cellData = PHPExcel_Style_NumberFormat::toFormattedString(\n                                $cell->getValue(),\n                                $pSheet->getParent()->getCellXfByIndex($cell->getXfIndex())->getNumberFormat()->getFormatCode(),\n                                array($this, 'formatColor')\n                            );\n                        }\n                        $cellData = htmlspecialchars($cellData);\n                        if ($pSheet->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont()->getSuperScript()) {\n                            $cellData = '<sup>'.$cellData.'</sup>';\n                        } elseif ($pSheet->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont()->getSubScript()) {\n                            $cellData = '<sub>'.$cellData.'</sub>';\n                        }\n                    }\n\n                    // Converts the cell content so that spaces occuring at beginning of each new line are replaced by &nbsp;\n                    // Example: \"  Hello\\n to the world\" is converted to \"&nbsp;&nbsp;Hello\\n&nbsp;to the world\"\n                    $cellData = preg_replace(\"/(?m)(?:^|\\\\G) /\", '&nbsp;', $cellData);\n\n                    // convert newline \"\\n\" to '<br>'\n                    $cellData = nl2br($cellData);\n\n                    // Extend CSS class?\n                    if (!$this->useInlineCss) {\n                        $cssClass .= ' style' . $cell->getXfIndex();\n                        $cssClass .= ' ' . $cell->getDataType();\n                    } else {\n                        if ($cellType == 'th') {\n                            if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) {\n                                $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]);\n                            }\n                        } else {\n                            if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) {\n                                $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]);\n                            }\n                        }\n\n                        // General horizontal alignment: Actual horizontal alignment depends on dataType\n                        $sharedStyle = $pSheet->getParent()->getCellXfByIndex($cell->getXfIndex());\n                        if ($sharedStyle->getAlignment()->getHorizontal() == PHPExcel_Style_Alignment::HORIZONTAL_GENERAL\n                            && isset($this->cssStyles['.' . $cell->getDataType()]['text-align'])) {\n                            $cssClass['text-align'] = $this->cssStyles['.' . $cell->getDataType()]['text-align'];\n                        }\n                    }\n                }\n\n                // Hyperlink?\n                if ($pSheet->hyperlinkExists($coordinate) && !$pSheet->getHyperlink($coordinate)->isInternal()) {\n                    $cellData = '<a href=\"' . htmlspecialchars($pSheet->getHyperlink($coordinate)->getUrl()) . '\" title=\"' . htmlspecialchars($pSheet->getHyperlink($coordinate)->getTooltip()) . '\">' . $cellData . '</a>';\n                }\n\n                // Should the cell be written or is it swallowed by a rowspan or colspan?\n                $writeCell = !(isset($this->isSpannedCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum])\n                            && $this->isSpannedCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum]);\n\n                // Colspan and Rowspan\n                $colspan = 1;\n                $rowspan = 1;\n                if (isset($this->isBaseCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum])) {\n                    $spans = $this->isBaseCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum];\n                    $rowSpan = $spans['rowspan'];\n                    $colSpan = $spans['colspan'];\n\n                    //    Also apply style from last cell in merge to fix borders -\n                    //        relies on !important for non-none border declarations in createCSSStyleBorder\n                    $endCellCoord = PHPExcel_Cell::stringFromColumnIndex($colNum + $colSpan - 1) . ($pRow + $rowSpan);\n                    if (!$this->useInlineCss) {\n                        $cssClass .= ' style' . $pSheet->getCell($endCellCoord)->getXfIndex();\n                    }\n                }\n\n                // Write\n                if ($writeCell) {\n                    // Column start\n                    $html .= '            <' . $cellType;\n                    if (!$this->useInlineCss) {\n                        $html .= ' class=\"' . $cssClass . '\"';\n                    } else {\n                        //** Necessary redundant code for the sake of PHPExcel_Writer_PDF **\n                        // We must explicitly write the width of the <td> element because TCPDF\n                        // does not recognize e.g. <col style=\"width:42pt\">\n                        $width = 0;\n                        $i = $colNum - 1;\n                        $e = $colNum + $colSpan - 1;\n                        while ($i++ < $e) {\n                            if (isset($this->columnWidths[$sheetIndex][$i])) {\n                                $width += $this->columnWidths[$sheetIndex][$i];\n                            }\n                        }\n                        $cssClass['width'] = $width . 'pt';\n\n                        // We must also explicitly write the height of the <td> element because TCPDF\n                        // does not recognize e.g. <tr style=\"height:50pt\">\n                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]['height'])) {\n                            $height = $this->cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]['height'];\n                            $cssClass['height'] = $height;\n                        }\n                        //** end of redundant code **\n\n                        $html .= ' style=\"' . $this->assembleCSS($cssClass) . '\"';\n                    }\n                    if ($colSpan > 1) {\n                        $html .= ' colspan=\"' . $colSpan . '\"';\n                    }\n                    if ($rowSpan > 1) {\n                        $html .= ' rowspan=\"' . $rowSpan . '\"';\n                    }\n                    $html .= '>';\n\n                    // Image?\n                    $html .= $this->writeImageInCell($pSheet, $coordinate);\n\n                    // Chart?\n                    if ($this->includeCharts) {\n                        $html .= $this->writeChartInCell($pSheet, $coordinate);\n                    }\n\n                    // Cell data\n                    $html .= $cellData;\n\n                    // Column end\n                    $html .= '</'.$cellType.'>' . PHP_EOL;\n                }\n\n                // Next column\n                ++$colNum;\n            }\n\n            // Write row end\n            $html .= '          </tr>' . PHP_EOL;\n\n            // Return\n            return $html;\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Invalid parameters passed.\");\n        }\n    }\n\n    /**\n     * Takes array where of CSS properties / values and converts to CSS string\n     *\n     * @param array\n     * @return string\n     */\n    private function assembleCSS($pValue = array())\n    {\n        $pairs = array();\n        foreach ($pValue as $property => $value) {\n            $pairs[] = $property . ':' . $value;\n        }\n        $string = implode('; ', $pairs);\n\n        return $string;\n    }\n\n    /**\n     * Get images root\n     *\n     * @return string\n     */\n    public function getImagesRoot()\n    {\n        return $this->imagesRoot;\n    }\n\n    /**\n     * Set images root\n     *\n     * @param string $pValue\n     * @return PHPExcel_Writer_HTML\n     */\n    public function setImagesRoot($pValue = '.')\n    {\n        $this->imagesRoot = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get embed images\n     *\n     * @return boolean\n     */\n    public function getEmbedImages()\n    {\n        return $this->embedImages;\n    }\n\n    /**\n     * Set embed images\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Writer_HTML\n     */\n    public function setEmbedImages($pValue = '.')\n    {\n        $this->embedImages = $pValue;\n        return $this;\n    }\n\n    /**\n     * Get use inline CSS?\n     *\n     * @return boolean\n     */\n    public function getUseInlineCss()\n    {\n        return $this->useInlineCss;\n    }\n\n    /**\n     * Set use inline CSS?\n     *\n     * @param boolean $pValue\n     * @return PHPExcel_Writer_HTML\n     */\n    public function setUseInlineCss($pValue = false)\n    {\n        $this->useInlineCss = $pValue;\n        return $this;\n    }\n\n    /**\n     * Add color to formatted string as inline style\n     *\n     * @param string $pValue Plain formatted value without color\n     * @param string $pFormat Format code\n     * @return string\n     */\n    public function formatColor($pValue, $pFormat)\n    {\n        // Color information, e.g. [Red] is always at the beginning\n        $color = null; // initialize\n        $matches = array();\n\n        $color_regex = '/^\\\\[[a-zA-Z]+\\\\]/';\n        if (preg_match($color_regex, $pFormat, $matches)) {\n            $color = str_replace('[', '', $matches[0]);\n            $color = str_replace(']', '', $color);\n            $color = strtolower($color);\n        }\n\n        // convert to PCDATA\n        $value = htmlspecialchars($pValue);\n\n        // color span tag\n        if ($color !== null) {\n            $value = '<span style=\"color:' . $color . '\">' . $value . '</span>';\n        }\n\n        return $value;\n    }\n\n    /**\n     * Calculate information about HTML colspan and rowspan which is not always the same as Excel's\n     */\n    private function calculateSpans()\n    {\n        // Identify all cells that should be omitted in HTML due to cell merge.\n        // In HTML only the upper-left cell should be written and it should have\n        //   appropriate rowspan / colspan attribute\n        $sheetIndexes = $this->sheetIndex !== null ?\n            array($this->sheetIndex) : range(0, $this->phpExcel->getSheetCount() - 1);\n\n        foreach ($sheetIndexes as $sheetIndex) {\n            $sheet = $this->phpExcel->getSheet($sheetIndex);\n\n            $candidateSpannedRow  = array();\n\n            // loop through all Excel merged cells\n            foreach ($sheet->getMergeCells() as $cells) {\n                list($cells,) = PHPExcel_Cell::splitRange($cells);\n                $first = $cells[0];\n                $last  = $cells[1];\n\n                list($fc, $fr) = PHPExcel_Cell::coordinateFromString($first);\n                $fc = PHPExcel_Cell::columnIndexFromString($fc) - 1;\n\n                list($lc, $lr) = PHPExcel_Cell::coordinateFromString($last);\n                $lc = PHPExcel_Cell::columnIndexFromString($lc) - 1;\n\n                // loop through the individual cells in the individual merge\n                $r = $fr - 1;\n                while ($r++ < $lr) {\n                    // also, flag this row as a HTML row that is candidate to be omitted\n                    $candidateSpannedRow[$r] = $r;\n\n                    $c = $fc - 1;\n                    while ($c++ < $lc) {\n                        if (!($c == $fc && $r == $fr)) {\n                            // not the upper-left cell (should not be written in HTML)\n                            $this->isSpannedCell[$sheetIndex][$r][$c] = array(\n                                'baseCell' => array($fr, $fc),\n                            );\n                        } else {\n                            // upper-left is the base cell that should hold the colspan/rowspan attribute\n                            $this->isBaseCell[$sheetIndex][$r][$c] = array(\n                                'xlrowspan' => $lr - $fr + 1, // Excel rowspan\n                                'rowspan'   => $lr - $fr + 1, // HTML rowspan, value may change\n                                'xlcolspan' => $lc - $fc + 1, // Excel colspan\n                                'colspan'   => $lc - $fc + 1, // HTML colspan, value may change\n                            );\n                        }\n                    }\n                }\n            }\n\n            // Identify which rows should be omitted in HTML. These are the rows where all the cells\n            //   participate in a merge and the where base cells are somewhere above.\n            $countColumns = PHPExcel_Cell::columnIndexFromString($sheet->getHighestColumn());\n            foreach ($candidateSpannedRow as $rowIndex) {\n                if (isset($this->isSpannedCell[$sheetIndex][$rowIndex])) {\n                    if (count($this->isSpannedCell[$sheetIndex][$rowIndex]) == $countColumns) {\n                        $this->isSpannedRow[$sheetIndex][$rowIndex] = $rowIndex;\n                    };\n                }\n            }\n\n            // For each of the omitted rows we found above, the affected rowspans should be subtracted by 1\n            if (isset($this->isSpannedRow[$sheetIndex])) {\n                foreach ($this->isSpannedRow[$sheetIndex] as $rowIndex) {\n                    $adjustedBaseCells = array();\n                    $c = -1;\n                    $e = $countColumns - 1;\n                    while ($c++ < $e) {\n                        $baseCell = $this->isSpannedCell[$sheetIndex][$rowIndex][$c]['baseCell'];\n\n                        if (!in_array($baseCell, $adjustedBaseCells)) {\n                            // subtract rowspan by 1\n                            --$this->isBaseCell[$sheetIndex][ $baseCell[0] ][ $baseCell[1] ]['rowspan'];\n                            $adjustedBaseCells[] = $baseCell;\n                        }\n                    }\n                }\n            }\n\n            // TODO: Same for columns\n        }\n\n        // We have calculated the spans\n        $this->spansAreCalculated = true;\n    }\n\n    private function setMargins(PHPExcel_Worksheet $pSheet)\n    {\n        $htmlPage = '@page { ';\n        $htmlBody = 'body { ';\n\n        $left = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getLeft()) . 'in; ';\n        $htmlPage .= 'margin-left: ' . $left;\n        $htmlBody .= 'margin-left: ' . $left;\n        $right = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getRight()) . 'in; ';\n        $htmlPage .= 'margin-right: ' . $right;\n        $htmlBody .= 'margin-right: ' . $right;\n        $top = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getTop()) . 'in; ';\n        $htmlPage .= 'margin-top: ' . $top;\n        $htmlBody .= 'margin-top: ' . $top;\n        $bottom = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getBottom()) . 'in; ';\n        $htmlPage .= 'margin-bottom: ' . $bottom;\n        $htmlBody .= 'margin-bottom: ' . $bottom;\n\n        $htmlPage .= \"}\\n\";\n        $htmlBody .= \"}\\n\";\n\n        return \"<style>\\n\" . $htmlPage . $htmlBody . \"</style>\\n\";\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/IWriter.php",
    "content": "<?php\n\n/**\n *  PHPExcel_Writer_IWriter\n *\n *  Copyright (c) 2006 - 2015 PHPExcel\n *\n *  This library is free software; you can redistribute it and/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *  @category   PHPExcel\n *  @package    PHPExcel_Writer\n *  @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *  @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *  @version    ##VERSION##, ##DATE##\n */\ninterface PHPExcel_Writer_IWriter\n{\n    /**\n     *  Save PHPExcel to file\n     *\n     *  @param   string       $pFilename  Name of the file to save\n     *  @throws  PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null);\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Cell/Comment.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Writer_OpenDocument_Cell_Comment\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @author     Alexander Pervakov <frost-nzcr4@jagmort.com>\n */\nclass PHPExcel_Writer_OpenDocument_Cell_Comment\n{\n    public static function write(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Cell $cell)\n    {\n        $comments = $cell->getWorksheet()->getComments();\n        if (!isset($comments[$cell->getCoordinate()])) {\n            return;\n        }\n        $comment = $comments[$cell->getCoordinate()];\n\n        $objWriter->startElement('office:annotation');\n            //$objWriter->writeAttribute('draw:style-name', 'gr1');\n            //$objWriter->writeAttribute('draw:text-style-name', 'P1');\n            $objWriter->writeAttribute('svg:width', $comment->getWidth());\n            $objWriter->writeAttribute('svg:height', $comment->getHeight());\n            $objWriter->writeAttribute('svg:x', $comment->getMarginLeft());\n            $objWriter->writeAttribute('svg:y', $comment->getMarginTop());\n            //$objWriter->writeAttribute('draw:caption-point-x', $comment->getMarginLeft());\n            //$objWriter->writeAttribute('draw:caption-point-y', $comment->getMarginTop());\n                $objWriter->writeElement('dc:creator', $comment->getAuthor());\n                // TODO: Not realized in PHPExcel_Comment yet.\n                //$objWriter->writeElement('dc:date', $comment->getDate());\n                $objWriter->writeElement('text:p', $comment->getText()->getPlainText());\n                    //$objWriter->writeAttribute('draw:text-style-name', 'P1');\n        $objWriter->endElement();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Content.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n\n/**\n * PHPExcel_Writer_OpenDocument_Content\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @author     Alexander Pervakov <frost-nzcr4@jagmort.com>\n */\nclass PHPExcel_Writer_OpenDocument_Content extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    const NUMBER_COLS_REPEATED_MAX = 1024;\n    const NUMBER_ROWS_REPEATED_MAX = 1048576;\n\n    /**\n     * Write content.xml to XML format\n     *\n     * @param   PHPExcel                   $pPHPExcel\n     * @return  string                     XML Output\n     * @throws  PHPExcel_Writer_Exception\n     */\n    public function write(PHPExcel $pPHPExcel = null)\n    {\n        if (!$pPHPExcel) {\n            $pPHPExcel = $this->getParentWriter()->getPHPExcel(); /* @var $pPHPExcel PHPExcel */\n        }\n\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8');\n\n        // Content\n        $objWriter->startElement('office:document-content');\n            $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0');\n            $objWriter->writeAttribute('xmlns:style', 'urn:oasis:names:tc:opendocument:xmlns:style:1.0');\n            $objWriter->writeAttribute('xmlns:text', 'urn:oasis:names:tc:opendocument:xmlns:text:1.0');\n            $objWriter->writeAttribute('xmlns:table', 'urn:oasis:names:tc:opendocument:xmlns:table:1.0');\n            $objWriter->writeAttribute('xmlns:draw', 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0');\n            $objWriter->writeAttribute('xmlns:fo', 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0');\n            $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n            $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/');\n            $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0');\n            $objWriter->writeAttribute('xmlns:number', 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0');\n            $objWriter->writeAttribute('xmlns:presentation', 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0');\n            $objWriter->writeAttribute('xmlns:svg', 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0');\n            $objWriter->writeAttribute('xmlns:chart', 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0');\n            $objWriter->writeAttribute('xmlns:dr3d', 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0');\n            $objWriter->writeAttribute('xmlns:math', 'http://www.w3.org/1998/Math/MathML');\n            $objWriter->writeAttribute('xmlns:form', 'urn:oasis:names:tc:opendocument:xmlns:form:1.0');\n            $objWriter->writeAttribute('xmlns:script', 'urn:oasis:names:tc:opendocument:xmlns:script:1.0');\n            $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office');\n            $objWriter->writeAttribute('xmlns:ooow', 'http://openoffice.org/2004/writer');\n            $objWriter->writeAttribute('xmlns:oooc', 'http://openoffice.org/2004/calc');\n            $objWriter->writeAttribute('xmlns:dom', 'http://www.w3.org/2001/xml-events');\n            $objWriter->writeAttribute('xmlns:xforms', 'http://www.w3.org/2002/xforms');\n            $objWriter->writeAttribute('xmlns:xsd', 'http://www.w3.org/2001/XMLSchema');\n            $objWriter->writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance');\n            $objWriter->writeAttribute('xmlns:rpt', 'http://openoffice.org/2005/report');\n            $objWriter->writeAttribute('xmlns:of', 'urn:oasis:names:tc:opendocument:xmlns:of:1.2');\n            $objWriter->writeAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml');\n            $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#');\n            $objWriter->writeAttribute('xmlns:tableooo', 'http://openoffice.org/2009/table');\n            $objWriter->writeAttribute('xmlns:field', 'urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0');\n            $objWriter->writeAttribute('xmlns:formx', 'urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0');\n            $objWriter->writeAttribute('xmlns:css3t', 'http://www.w3.org/TR/css3-text/');\n            $objWriter->writeAttribute('office:version', '1.2');\n\n            $objWriter->writeElement('office:scripts');\n            $objWriter->writeElement('office:font-face-decls');\n            $objWriter->writeElement('office:automatic-styles');\n\n            $objWriter->startElement('office:body');\n                $objWriter->startElement('office:spreadsheet');\n                    $objWriter->writeElement('table:calculation-settings');\n                    $this->writeSheets($objWriter);\n                    $objWriter->writeElement('table:named-expressions');\n                $objWriter->endElement();\n            $objWriter->endElement();\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n\n    /**\n     * Write sheets\n     *\n     * @param PHPExcel_Shared_XMLWriter $objWriter\n     */\n    private function writeSheets(PHPExcel_Shared_XMLWriter $objWriter)\n    {\n        $pPHPExcel = $this->getParentWriter()->getPHPExcel(); /* @var $pPHPExcel PHPExcel */\n\n        $sheet_count = $pPHPExcel->getSheetCount();\n        for ($i = 0; $i < $sheet_count; $i++) {\n            //$this->getWriterPart('Worksheet')->writeWorksheet());\n            $objWriter->startElement('table:table');\n                $objWriter->writeAttribute('table:name', $pPHPExcel->getSheet($i)->getTitle());\n                $objWriter->writeElement('office:forms');\n                $objWriter->startElement('table:table-column');\n                    $objWriter->writeAttribute('table:number-columns-repeated', self::NUMBER_COLS_REPEATED_MAX);\n                $objWriter->endElement();\n                $this->writeRows($objWriter, $pPHPExcel->getSheet($i));\n            $objWriter->endElement();\n        }\n    }\n\n    /**\n     * Write rows of the specified sheet\n     *\n     * @param PHPExcel_Shared_XMLWriter $objWriter\n     * @param PHPExcel_Worksheet $sheet\n     */\n    private function writeRows(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Worksheet $sheet)\n    {\n        $number_rows_repeated = self::NUMBER_ROWS_REPEATED_MAX;\n        $span_row = 0;\n        $rows = $sheet->getRowIterator();\n        while ($rows->valid()) {\n            $number_rows_repeated--;\n            $row = $rows->current();\n            if ($row->getCellIterator()->valid()) {\n                if ($span_row) {\n                    $objWriter->startElement('table:table-row');\n                    if ($span_row > 1) {\n                        $objWriter->writeAttribute('table:number-rows-repeated', $span_row);\n                    }\n                    $objWriter->startElement('table:table-cell');\n                        $objWriter->writeAttribute('table:number-columns-repeated', self::NUMBER_COLS_REPEATED_MAX);\n                    $objWriter->endElement();\n                    $objWriter->endElement();\n                    $span_row = 0;\n                }\n                $objWriter->startElement('table:table-row');\n                $this->writeCells($objWriter, $row);\n                $objWriter->endElement();\n            } else {\n                $span_row++;\n            }\n            $rows->next();\n        }\n    }\n\n    /**\n     * Write cells of the specified row\n     *\n     * @param PHPExcel_Shared_XMLWriter $objWriter\n     * @param PHPExcel_Worksheet_Row $row\n     * @throws PHPExcel_Writer_Exception\n     */\n    private function writeCells(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Worksheet_Row $row)\n    {\n        $number_cols_repeated = self::NUMBER_COLS_REPEATED_MAX;\n        $prev_column = -1;\n        $cells = $row->getCellIterator();\n        while ($cells->valid()) {\n            $cell = $cells->current();\n            $column = PHPExcel_Cell::columnIndexFromString($cell->getColumn()) - 1;\n\n            $this->writeCellSpan($objWriter, $column, $prev_column);\n            $objWriter->startElement('table:table-cell');\n\n            switch ($cell->getDataType()) {\n                case PHPExcel_Cell_DataType::TYPE_BOOL:\n                    $objWriter->writeAttribute('office:value-type', 'boolean');\n                    $objWriter->writeAttribute('office:value', $cell->getValue());\n                    $objWriter->writeElement('text:p', $cell->getValue());\n                    break;\n\n                case PHPExcel_Cell_DataType::TYPE_ERROR:\n                    throw new PHPExcel_Writer_Exception('Writing of error not implemented yet.');\n                    break;\n\n                case PHPExcel_Cell_DataType::TYPE_FORMULA:\n                    try {\n                        $formula_value = $cell->getCalculatedValue();\n                    } catch (Exception $e) {\n                        $formula_value = $cell->getValue();\n                    }\n                    $objWriter->writeAttribute('table:formula', 'of:' . $cell->getValue());\n                    if (is_numeric($formula_value)) {\n                        $objWriter->writeAttribute('office:value-type', 'float');\n                    } else {\n                        $objWriter->writeAttribute('office:value-type', 'string');\n                    }\n                    $objWriter->writeAttribute('office:value', $formula_value);\n                    $objWriter->writeElement('text:p', $formula_value);\n                    break;\n\n                case PHPExcel_Cell_DataType::TYPE_INLINE:\n                    throw new PHPExcel_Writer_Exception('Writing of inline not implemented yet.');\n                    break;\n\n                case PHPExcel_Cell_DataType::TYPE_NUMERIC:\n                    $objWriter->writeAttribute('office:value-type', 'float');\n                    $objWriter->writeAttribute('office:value', $cell->getValue());\n                    $objWriter->writeElement('text:p', $cell->getValue());\n                    break;\n\n                case PHPExcel_Cell_DataType::TYPE_STRING:\n                    $objWriter->writeAttribute('office:value-type', 'string');\n                    $objWriter->writeElement('text:p', $cell->getValue());\n                    break;\n            }\n            PHPExcel_Writer_OpenDocument_Cell_Comment::write($objWriter, $cell);\n            $objWriter->endElement();\n            $prev_column = $column;\n            $cells->next();\n        }\n        $number_cols_repeated = $number_cols_repeated - $prev_column - 1;\n        if ($number_cols_repeated > 0) {\n            if ($number_cols_repeated > 1) {\n                $objWriter->startElement('table:table-cell');\n                $objWriter->writeAttribute('table:number-columns-repeated', $number_cols_repeated);\n                $objWriter->endElement();\n            } else {\n                $objWriter->writeElement('table:table-cell');\n            }\n        }\n    }\n\n    /**\n     * Write span\n     *\n     * @param PHPExcel_Shared_XMLWriter $objWriter\n     * @param integer $curColumn\n     * @param integer $prevColumn\n     */\n    private function writeCellSpan(PHPExcel_Shared_XMLWriter $objWriter, $curColumn, $prevColumn)\n    {\n        $diff = $curColumn - $prevColumn - 1;\n        if (1 === $diff) {\n            $objWriter->writeElement('table:table-cell');\n        } elseif ($diff > 1) {\n            $objWriter->startElement('table:table-cell');\n                $objWriter->writeAttribute('table:number-columns-repeated', $diff);\n            $objWriter->endElement();\n        }\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Meta.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument_Meta\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument_Meta extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    /**\n     * Write meta.xml to XML format\n     *\n     * @param   PHPExcel                   $pPHPExcel\n     * @return  string                     XML Output\n     * @throws  PHPExcel_Writer_Exception\n     */\n    public function write(PHPExcel $pPHPExcel = null)\n    {\n        if (!$pPHPExcel) {\n            $pPHPExcel = $this->getParentWriter()->getPHPExcel();\n        }\n\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8');\n\n        // Meta\n        $objWriter->startElement('office:document-meta');\n\n        $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0');\n        $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n        $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/');\n        $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0');\n        $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office');\n        $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#');\n        $objWriter->writeAttribute('office:version', '1.2');\n\n        $objWriter->startElement('office:meta');\n\n        $objWriter->writeElement('meta:initial-creator', $pPHPExcel->getProperties()->getCreator());\n        $objWriter->writeElement('dc:creator', $pPHPExcel->getProperties()->getCreator());\n        $objWriter->writeElement('meta:creation-date', date(DATE_W3C, $pPHPExcel->getProperties()->getCreated()));\n        $objWriter->writeElement('dc:date', date(DATE_W3C, $pPHPExcel->getProperties()->getCreated()));\n        $objWriter->writeElement('dc:title', $pPHPExcel->getProperties()->getTitle());\n        $objWriter->writeElement('dc:description', $pPHPExcel->getProperties()->getDescription());\n        $objWriter->writeElement('dc:subject', $pPHPExcel->getProperties()->getSubject());\n        $keywords = explode(' ', $pPHPExcel->getProperties()->getKeywords());\n        foreach ($keywords as $keyword) {\n            $objWriter->writeElement('meta:keyword', $keyword);\n        }\n\n        //<meta:document-statistic meta:table-count=\"XXX\" meta:cell-count=\"XXX\" meta:object-count=\"XXX\"/>\n        $objWriter->startElement('meta:user-defined');\n        $objWriter->writeAttribute('meta:name', 'Company');\n        $objWriter->writeRaw($pPHPExcel->getProperties()->getCompany());\n        $objWriter->endElement();\n \n        $objWriter->startElement('meta:user-defined');\n        $objWriter->writeAttribute('meta:name', 'category');\n        $objWriter->writeRaw($pPHPExcel->getProperties()->getCategory());\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/MetaInf.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument_MetaInf\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument_MetaInf extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    /**\n     * Write META-INF/manifest.xml to XML format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function writeManifest(PHPExcel $pPHPExcel = null)\n    {\n        if (!$pPHPExcel) {\n            $pPHPExcel = $this->getParentWriter()->getPHPExcel();\n        }\n\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8');\n\n        // Manifest\n        $objWriter->startElement('manifest:manifest');\n            $objWriter->writeAttribute('xmlns:manifest', 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0');\n            $objWriter->writeAttribute('manifest:version', '1.2');\n\n            $objWriter->startElement('manifest:file-entry');\n                $objWriter->writeAttribute('manifest:full-path', '/');\n                $objWriter->writeAttribute('manifest:version', '1.2');\n                $objWriter->writeAttribute('manifest:media-type', 'application/vnd.oasis.opendocument.spreadsheet');\n            $objWriter->endElement();\n            $objWriter->startElement('manifest:file-entry');\n                $objWriter->writeAttribute('manifest:full-path', 'meta.xml');\n                $objWriter->writeAttribute('manifest:media-type', 'text/xml');\n            $objWriter->endElement();\n            $objWriter->startElement('manifest:file-entry');\n                $objWriter->writeAttribute('manifest:full-path', 'settings.xml');\n                $objWriter->writeAttribute('manifest:media-type', 'text/xml');\n            $objWriter->endElement();\n            $objWriter->startElement('manifest:file-entry');\n                $objWriter->writeAttribute('manifest:full-path', 'content.xml');\n                $objWriter->writeAttribute('manifest:media-type', 'text/xml');\n            $objWriter->endElement();\n            $objWriter->startElement('manifest:file-entry');\n                $objWriter->writeAttribute('manifest:full-path', 'Thumbnails/thumbnail.png');\n                $objWriter->writeAttribute('manifest:media-type', 'image/png');\n            $objWriter->endElement();\n            $objWriter->startElement('manifest:file-entry');\n                $objWriter->writeAttribute('manifest:full-path', 'styles.xml');\n                $objWriter->writeAttribute('manifest:media-type', 'text/xml');\n            $objWriter->endElement();\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Mimetype.php",
    "content": "<?php\n\n/**\n * PHPExcel\n *\n * PHPExcel_Writer_OpenDocument_Mimetype\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument_Mimetype extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    /**\n     * Write mimetype to plain text format\n     *\n     * @param     PHPExcel    $pPHPExcel\n     * @return     string         XML Output\n     * @throws     PHPExcel_Writer_Exception\n     */\n    public function write(PHPExcel $pPHPExcel = null)\n    {\n        return 'application/vnd.oasis.opendocument.spreadsheet';\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Settings.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument_Settings\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument_Settings extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    /**\n     * Write settings.xml to XML format\n     *\n     * @param   PHPExcel                   $pPHPExcel\n     * @return  string                     XML Output\n     * @throws  PHPExcel_Writer_Exception\n     */\n    public function write(PHPExcel $pPHPExcel = null)\n    {\n        if (!$pPHPExcel) {\n            $pPHPExcel = $this->getParentWriter()->getPHPExcel();\n        }\n\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8');\n\n        // Settings\n        $objWriter->startElement('office:document-settings');\n            $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0');\n            $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n            $objWriter->writeAttribute('xmlns:config', 'urn:oasis:names:tc:opendocument:xmlns:config:1.0');\n            $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office');\n            $objWriter->writeAttribute('office:version', '1.2');\n\n            $objWriter->startElement('office:settings');\n                $objWriter->startElement('config:config-item-set');\n                    $objWriter->writeAttribute('config:name', 'ooo:view-settings');\n                    $objWriter->startElement('config:config-item-map-indexed');\n                        $objWriter->writeAttribute('config:name', 'Views');\n                    $objWriter->endElement();\n                $objWriter->endElement();\n                $objWriter->startElement('config:config-item-set');\n                    $objWriter->writeAttribute('config:name', 'ooo:configuration-settings');\n                $objWriter->endElement();\n            $objWriter->endElement();\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Styles.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument_Styles\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument_Styles extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    /**\n     * Write styles.xml to XML format\n     *\n     * @param   PHPExcel                   $pPHPExcel\n     * @return  string                     XML Output\n     * @throws  PHPExcel_Writer_Exception\n     */\n    public function write(PHPExcel $pPHPExcel = null)\n    {\n        if (!$pPHPExcel) {\n            $pPHPExcel = $this->getParentWriter()->getPHPExcel();\n        }\n\n        $objWriter = null;\n        if ($this->getParentWriter()->getUseDiskCaching()) {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory());\n        } else {\n            $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY);\n        }\n\n        // XML header\n        $objWriter->startDocument('1.0', 'UTF-8');\n\n        // Content\n        $objWriter->startElement('office:document-styles');\n            $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0');\n            $objWriter->writeAttribute('xmlns:style', 'urn:oasis:names:tc:opendocument:xmlns:style:1.0');\n            $objWriter->writeAttribute('xmlns:text', 'urn:oasis:names:tc:opendocument:xmlns:text:1.0');\n            $objWriter->writeAttribute('xmlns:table', 'urn:oasis:names:tc:opendocument:xmlns:table:1.0');\n            $objWriter->writeAttribute('xmlns:draw', 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0');\n            $objWriter->writeAttribute('xmlns:fo', 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0');\n            $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n            $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/');\n            $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0');\n            $objWriter->writeAttribute('xmlns:number', 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0');\n            $objWriter->writeAttribute('xmlns:presentation', 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0');\n            $objWriter->writeAttribute('xmlns:svg', 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0');\n            $objWriter->writeAttribute('xmlns:chart', 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0');\n            $objWriter->writeAttribute('xmlns:dr3d', 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0');\n            $objWriter->writeAttribute('xmlns:math', 'http://www.w3.org/1998/Math/MathML');\n            $objWriter->writeAttribute('xmlns:form', 'urn:oasis:names:tc:opendocument:xmlns:form:1.0');\n            $objWriter->writeAttribute('xmlns:script', 'urn:oasis:names:tc:opendocument:xmlns:script:1.0');\n            $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office');\n            $objWriter->writeAttribute('xmlns:ooow', 'http://openoffice.org/2004/writer');\n            $objWriter->writeAttribute('xmlns:oooc', 'http://openoffice.org/2004/calc');\n            $objWriter->writeAttribute('xmlns:dom', 'http://www.w3.org/2001/xml-events');\n            $objWriter->writeAttribute('xmlns:rpt', 'http://openoffice.org/2005/report');\n            $objWriter->writeAttribute('xmlns:of', 'urn:oasis:names:tc:opendocument:xmlns:of:1.2');\n            $objWriter->writeAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml');\n            $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#');\n            $objWriter->writeAttribute('xmlns:tableooo', 'http://openoffice.org/2009/table');\n            $objWriter->writeAttribute('xmlns:css3t', 'http://www.w3.org/TR/css3-text/');\n            $objWriter->writeAttribute('office:version', '1.2');\n\n            $objWriter->writeElement('office:font-face-decls');\n            $objWriter->writeElement('office:styles');\n            $objWriter->writeElement('office:automatic-styles');\n            $objWriter->writeElement('office:master-styles');\n        $objWriter->endElement();\n\n        return $objWriter->getData();\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/Thumbnails.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument_Thumbnails\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument_Thumbnails extends PHPExcel_Writer_OpenDocument_WriterPart\n{\n    /**\n     * Write Thumbnails/thumbnail.png to PNG format\n     *\n     * @param   PHPExcel                   $pPHPExcel\n     * @return  string                     XML Output\n     * @throws  PHPExcel_Writer_Exception\n     */\n    public function writeThumbnail(PHPExcel $pPHPExcel = null)\n    {\n        return '';\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument/WriterPart.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument_WriterPart\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Writer_OpenDocument_WriterPart extends PHPExcel_Writer_Excel2007_WriterPart\n{\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/OpenDocument.php",
    "content": "<?php\n\n/**\n * PHPExcel_Writer_OpenDocument\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel_Writer_OpenDocument\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_OpenDocument extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter\n{\n    /**\n     * Private writer parts\n     *\n     * @var PHPExcel_Writer_OpenDocument_WriterPart[]\n     */\n    private $writerParts = array();\n\n    /**\n     * Private PHPExcel\n     *\n     * @var PHPExcel\n     */\n    private $spreadSheet;\n\n    /**\n     * Create a new PHPExcel_Writer_OpenDocument\n     *\n     * @param PHPExcel $pPHPExcel\n     */\n    public function __construct(PHPExcel $pPHPExcel = null)\n    {\n        $this->setPHPExcel($pPHPExcel);\n\n        $writerPartsArray = array(\n            'content'    => 'PHPExcel_Writer_OpenDocument_Content',\n            'meta'       => 'PHPExcel_Writer_OpenDocument_Meta',\n            'meta_inf'   => 'PHPExcel_Writer_OpenDocument_MetaInf',\n            'mimetype'   => 'PHPExcel_Writer_OpenDocument_Mimetype',\n            'settings'   => 'PHPExcel_Writer_OpenDocument_Settings',\n            'styles'     => 'PHPExcel_Writer_OpenDocument_Styles',\n            'thumbnails' => 'PHPExcel_Writer_OpenDocument_Thumbnails'\n        );\n\n        foreach ($writerPartsArray as $writer => $class) {\n            $this->writerParts[$writer] = new $class($this);\n        }\n    }\n\n    /**\n     * Get writer part\n     *\n     * @param  string  $pPartName  Writer part name\n     * @return PHPExcel_Writer_Excel2007_WriterPart\n     */\n    public function getWriterPart($pPartName = '')\n    {\n        if ($pPartName != '' && isset($this->writerParts[strtolower($pPartName)])) {\n            return $this->writerParts[strtolower($pPartName)];\n        } else {\n            return null;\n        }\n    }\n\n    /**\n     * Save PHPExcel to file\n     *\n     * @param  string  $pFilename\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        if (!$this->spreadSheet) {\n            throw new PHPExcel_Writer_Exception('PHPExcel object unassigned.');\n        }\n\n        // garbage collect\n        $this->spreadSheet->garbageCollect();\n\n        // If $pFilename is php://output or php://stdout, make it a temporary file...\n        $originalFilename = $pFilename;\n        if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') {\n            $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp');\n            if ($pFilename == '') {\n                $pFilename = $originalFilename;\n            }\n        }\n\n        $objZip = $this->createZip($pFilename);\n\n        $objZip->addFromString('META-INF/manifest.xml', $this->getWriterPart('meta_inf')->writeManifest());\n        $objZip->addFromString('Thumbnails/thumbnail.png', $this->getWriterPart('thumbnails')->writeThumbnail());\n        $objZip->addFromString('content.xml', $this->getWriterPart('content')->write());\n        $objZip->addFromString('meta.xml', $this->getWriterPart('meta')->write());\n        $objZip->addFromString('mimetype', $this->getWriterPart('mimetype')->write());\n        $objZip->addFromString('settings.xml', $this->getWriterPart('settings')->write());\n        $objZip->addFromString('styles.xml', $this->getWriterPart('styles')->write());\n\n        // Close file\n        if ($objZip->close() === false) {\n            throw new PHPExcel_Writer_Exception(\"Could not close zip file $pFilename.\");\n        }\n\n        // If a temporary file was used, copy it to the correct file stream\n        if ($originalFilename != $pFilename) {\n            if (copy($pFilename, $originalFilename) === false) {\n                throw new PHPExcel_Writer_Exception(\"Could not copy temporary zip file $pFilename to $originalFilename.\");\n            }\n            @unlink($pFilename);\n        }\n    }\n\n    /**\n     * Create zip object\n     *\n     * @param string $pFilename\n     * @throws PHPExcel_Writer_Exception\n     * @return ZipArchive\n     */\n    private function createZip($pFilename)\n    {\n        // Create new ZIP file and open it for writing\n        $zipClass = PHPExcel_Settings::getZipClass();\n        $objZip = new $zipClass();\n\n        // Retrieve OVERWRITE and CREATE constants from the instantiated zip class\n        // This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP\n        $ro = new ReflectionObject($objZip);\n        $zipOverWrite = $ro->getConstant('OVERWRITE');\n        $zipCreate = $ro->getConstant('CREATE');\n\n        if (file_exists($pFilename)) {\n            unlink($pFilename);\n        }\n        // Try opening the ZIP file\n        if ($objZip->open($pFilename, $zipOverWrite) !== true) {\n            if ($objZip->open($pFilename, $zipCreate) !== true) {\n                throw new PHPExcel_Writer_Exception(\"Could not open $pFilename for writing.\");\n            }\n        }\n\n        return $objZip;\n    }\n\n    /**\n     * Get PHPExcel object\n     *\n     * @return PHPExcel\n     * @throws PHPExcel_Writer_Exception\n     */\n    public function getPHPExcel()\n    {\n        if ($this->spreadSheet !== null) {\n            return $this->spreadSheet;\n        } else {\n            throw new PHPExcel_Writer_Exception('No PHPExcel assigned.');\n        }\n    }\n\n    /**\n     * Set PHPExcel object\n     *\n     * @param  PHPExcel  $pPHPExcel  PHPExcel object\n     * @throws PHPExcel_Writer_Exception\n     * @return PHPExcel_Writer_Excel2007\n     */\n    public function setPHPExcel(PHPExcel $pPHPExcel = null)\n    {\n        $this->spreadSheet = $pPHPExcel;\n        return $this;\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/PDF/Core.php",
    "content": "<?php\n\n/**\n *  PHPExcel_Writer_PDF_Core\n *\n *  Copyright (c) 2006 - 2015 PHPExcel\n *\n *  This library is free software; you can redistribute it and/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *  @category    PHPExcel\n *  @package     PHPExcel_Writer_PDF\n *  @copyright   Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *  @license     http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *  @version     ##VERSION##, ##DATE##\n */\nabstract class PHPExcel_Writer_PDF_Core extends PHPExcel_Writer_HTML\n{\n    /**\n     * Temporary storage directory\n     *\n     * @var string\n     */\n    protected $tempDir = '';\n\n    /**\n     * Font\n     *\n     * @var string\n     */\n    protected $font = 'freesans';\n\n    /**\n     * Orientation (Over-ride)\n     *\n     * @var string\n     */\n    protected $orientation;\n\n    /**\n     * Paper size (Over-ride)\n     *\n     * @var int\n     */\n    protected $paperSize;\n\n\n    /**\n     * Temporary storage for Save Array Return type\n     *\n     * @var string\n     */\n    private $saveArrayReturnType;\n\n    /**\n     * Paper Sizes xRef List\n     *\n     * @var array\n     */\n    protected static $paperSizes = array(\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER\n            => 'LETTER',                 //    (8.5 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_SMALL\n            => 'LETTER',                 //    (8.5 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_TABLOID\n            => array(792.00, 1224.00),   //    (11 in. by 17 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEDGER\n            => array(1224.00, 792.00),   //    (17 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEGAL\n            => 'LEGAL',                  //    (8.5 in. by 14 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_STATEMENT\n            => array(396.00, 612.00),    //    (5.5 in. by 8.5 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_EXECUTIVE\n            => 'EXECUTIVE',              //    (7.25 in. by 10.5 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3\n            => 'A3',                     //    (297 mm by 420 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4\n            => 'A4',                     //    (210 mm by 297 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_SMALL\n            => 'A4',                     //    (210 mm by 297 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5\n            => 'A5',                     //    (148 mm by 210 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_B4\n            => 'B4',                     //    (250 mm by 353 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_B5\n            => 'B5',                     //    (176 mm by 250 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_FOLIO\n            => 'FOLIO',                  //    (8.5 in. by 13 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_QUARTO\n            => array(609.45, 779.53),    //    (215 mm by 275 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_1\n            => array(720.00, 1008.00),   //    (10 in. by 14 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_2\n            => array(792.00, 1224.00),   //    (11 in. by 17 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_NOTE\n            => 'LETTER',                 //    (8.5 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO9_ENVELOPE\n            => array(279.00, 639.00),    //    (3.875 in. by 8.875 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO10_ENVELOPE\n            => array(297.00, 684.00),    //    (4.125 in. by 9.5 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO11_ENVELOPE\n            => array(324.00, 747.00),    //    (4.5 in. by 10.375 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO12_ENVELOPE\n            => array(342.00, 792.00),    //    (4.75 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO14_ENVELOPE\n            => array(360.00, 828.00),    //    (5 in. by 11.5 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_C\n            => array(1224.00, 1584.00),  //    (17 in. by 22 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_D\n            => array(1584.00, 2448.00),  //    (22 in. by 34 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_E\n            => array(2448.00, 3168.00),  //    (34 in. by 44 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_DL_ENVELOPE\n            => array(311.81, 623.62),    //    (110 mm by 220 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_C5_ENVELOPE\n            => 'C5',                     //    (162 mm by 229 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_C3_ENVELOPE\n            => 'C3',                     //    (324 mm by 458 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_C4_ENVELOPE\n            => 'C4',                     //    (229 mm by 324 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_C6_ENVELOPE\n            => 'C6',                     //    (114 mm by 162 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_C65_ENVELOPE\n            => array(323.15, 649.13),    //    (114 mm by 229 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_B4_ENVELOPE\n            => 'B4',                     //    (250 mm by 353 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_B5_ENVELOPE\n            => 'B5',                     //    (176 mm by 250 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_B6_ENVELOPE\n            => array(498.90, 354.33),    //    (176 mm by 125 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_ITALY_ENVELOPE\n            => array(311.81, 651.97),    //    (110 mm by 230 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_MONARCH_ENVELOPE\n            => array(279.00, 540.00),    //    (3.875 in. by 7.5 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_6_3_4_ENVELOPE\n            => array(261.00, 468.00),    //    (3.625 in. by 6.5 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_US_STANDARD_FANFOLD\n            => array(1071.00, 792.00),   //    (14.875 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_GERMAN_STANDARD_FANFOLD\n            => array(612.00, 864.00),    //    (8.5 in. by 12 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_GERMAN_LEGAL_FANFOLD\n            => 'FOLIO',                  //    (8.5 in. by 13 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_ISO_B4\n            => 'B4',                     //    (250 mm by 353 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_JAPANESE_DOUBLE_POSTCARD\n            => array(566.93, 419.53),    //    (200 mm by 148 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_1\n            => array(648.00, 792.00),    //    (9 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_2\n            => array(720.00, 792.00),    //    (10 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_3\n            => array(1080.00, 792.00),   //    (15 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_INVITE_ENVELOPE\n            => array(623.62, 623.62),    //    (220 mm by 220 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_EXTRA_PAPER\n            => array(667.80, 864.00),    //    (9.275 in. by 12 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEGAL_EXTRA_PAPER\n            => array(667.80, 1080.00),   //    (9.275 in. by 15 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_TABLOID_EXTRA_PAPER\n            => array(841.68, 1296.00),   //    (11.69 in. by 18 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_EXTRA_PAPER\n            => array(668.98, 912.76),    //    (236 mm by 322 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_TRANSVERSE_PAPER\n            => array(595.80, 792.00),    //    (8.275 in. by 11 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_TRANSVERSE_PAPER\n            => 'A4',                     //    (210 mm by 297 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_EXTRA_TRANSVERSE_PAPER\n            => array(667.80, 864.00),    //    (9.275 in. by 12 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_SUPERA_SUPERA_A4_PAPER\n            => array(643.46, 1009.13),   //    (227 mm by 356 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_SUPERB_SUPERB_A3_PAPER\n            => array(864.57, 1380.47),   //    (305 mm by 487 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_PLUS_PAPER\n            => array(612.00, 913.68),    //    (8.5 in. by 12.69 in.)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_PLUS_PAPER\n            => array(595.28, 935.43),    //    (210 mm by 330 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5_TRANSVERSE_PAPER\n            => 'A5',                     //    (148 mm by 210 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_JIS_B5_TRANSVERSE_PAPER\n            => array(515.91, 728.50),    //    (182 mm by 257 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_EXTRA_PAPER\n            => array(912.76, 1261.42),   //    (322 mm by 445 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5_EXTRA_PAPER\n            => array(493.23, 666.14),    //    (174 mm by 235 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_ISO_B5_EXTRA_PAPER\n            => array(569.76, 782.36),    //    (201 mm by 276 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A2_PAPER\n            => 'A2',                     //    (420 mm by 594 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_TRANSVERSE_PAPER\n            => 'A3',                     //    (297 mm by 420 mm)\n        PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_EXTRA_TRANSVERSE_PAPER\n            => array(912.76, 1261.42)    //    (322 mm by 445 mm)\n    );\n\n    /**\n     *  Create a new PHPExcel_Writer_PDF\n     *\n     *  @param     PHPExcel    $phpExcel    PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        parent::__construct($phpExcel);\n        $this->setUseInlineCss(true);\n        $this->tempDir = PHPExcel_Shared_File::sys_get_temp_dir();\n    }\n\n    /**\n     *  Get Font\n     *\n     *  @return string\n     */\n    public function getFont()\n    {\n        return $this->font;\n    }\n\n    /**\n     *  Set font. Examples:\n     *      'arialunicid0-chinese-simplified'\n     *      'arialunicid0-chinese-traditional'\n     *      'arialunicid0-korean'\n     *      'arialunicid0-japanese'\n     *\n     *  @param    string    $fontName\n     */\n    public function setFont($fontName)\n    {\n        $this->font = $fontName;\n        return $this;\n    }\n\n    /**\n     *  Get Paper Size\n     *\n     *  @return int\n     */\n    public function getPaperSize()\n    {\n        return $this->paperSize;\n    }\n\n    /**\n     *  Set Paper Size\n     *\n     *  @param  string  $pValue Paper size\n     *  @return PHPExcel_Writer_PDF\n     */\n    public function setPaperSize($pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER)\n    {\n        $this->paperSize = $pValue;\n        return $this;\n    }\n\n    /**\n     *  Get Orientation\n     *\n     *  @return string\n     */\n    public function getOrientation()\n    {\n        return $this->orientation;\n    }\n\n    /**\n     *  Set Orientation\n     *\n     *  @param string $pValue  Page orientation\n     *  @return PHPExcel_Writer_PDF\n     */\n    public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT)\n    {\n        $this->orientation = $pValue;\n        return $this;\n    }\n\n    /**\n     *  Get temporary storage directory\n     *\n     *  @return string\n     */\n    public function getTempDir()\n    {\n        return $this->tempDir;\n    }\n\n    /**\n     *  Set temporary storage directory\n     *\n     *  @param     string        $pValue        Temporary storage directory\n     *  @throws    PHPExcel_Writer_Exception    when directory does not exist\n     *  @return    PHPExcel_Writer_PDF\n     */\n    public function setTempDir($pValue = '')\n    {\n        if (is_dir($pValue)) {\n            $this->tempDir = $pValue;\n        } else {\n            throw new PHPExcel_Writer_Exception(\"Directory does not exist: $pValue\");\n        }\n        return $this;\n    }\n\n    /**\n     *  Save PHPExcel to PDF file, pre-save\n     *\n     *  @param     string     $pFilename   Name of the file to save as\n     *  @throws    PHPExcel_Writer_Exception\n     */\n    protected function prepareForSave($pFilename = null)\n    {\n        //  garbage collect\n        $this->phpExcel->garbageCollect();\n\n        $this->saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType();\n        PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE);\n\n        //  Open file\n        $fileHandle = fopen($pFilename, 'w');\n        if ($fileHandle === false) {\n            throw new PHPExcel_Writer_Exception(\"Could not open file $pFilename for writing.\");\n        }\n\n        //  Set PDF\n        $this->isPdf = true;\n        //  Build CSS\n        $this->buildCSS(true);\n\n        return $fileHandle;\n    }\n\n    /**\n     *  Save PHPExcel to PDF file, post-save\n     *\n     *  @param     resource      $fileHandle\n     *  @throws    PHPExcel_Writer_Exception\n     */\n    protected function restoreStateAfterSave($fileHandle)\n    {\n        //  Close file\n        fclose($fileHandle);\n\n        PHPExcel_Calculation::setArrayReturnType($this->saveArrayReturnType);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/PDF/DomPDF.php",
    "content": "<?php\n\n/**  Require DomPDF library */\n$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/dompdf_config.inc.php';\nif (file_exists($pdfRendererClassFile)) {\n    require_once $pdfRendererClassFile;\n} else {\n    throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library');\n}\n\n/**\n *  PHPExcel_Writer_PDF_DomPDF\n *\n *  Copyright (c) 2006 - 2015 PHPExcel\n *\n *  This library is free software; you can redistribute it and/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *  @category    PHPExcel\n *  @package     PHPExcel_Writer_PDF\n *  @copyright   Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *  @license     http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *  @version     ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_PDF_DomPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter\n{\n    /**\n     *  Create a new PHPExcel_Writer_PDF\n     *\n     *  @param   PHPExcel    $phpExcel    PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        parent::__construct($phpExcel);\n    }\n\n    /**\n     *  Save PHPExcel to file\n     *\n     *  @param   string     $pFilename   Name of the file to save as\n     *  @throws  PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        $fileHandle = parent::prepareForSave($pFilename);\n\n        //  Default PDF paper size\n        $paperSize = 'LETTER';    //    Letter    (8.5 in. by 11 in.)\n\n        //  Check for paper size and page orientation\n        if (is_null($this->getSheetIndex())) {\n            $orientation = ($this->phpExcel->getSheet(0)->getPageSetup()->getOrientation()\n                == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? 'L' : 'P';\n            $printPaperSize = $this->phpExcel->getSheet(0)->getPageSetup()->getPaperSize();\n            $printMargins = $this->phpExcel->getSheet(0)->getPageMargins();\n        } else {\n            $orientation = ($this->phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation()\n                == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? 'L' : 'P';\n            $printPaperSize = $this->phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize();\n            $printMargins = $this->phpExcel->getSheet($this->getSheetIndex())->getPageMargins();\n        }\n        \n        $orientation = ($orientation == 'L') ? 'landscape' : 'portrait';\n\n        //  Override Page Orientation\n        if (!is_null($this->getOrientation())) {\n            $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT)\n                ? PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT\n                : $this->getOrientation();\n        }\n        //  Override Paper Size\n        if (!is_null($this->getPaperSize())) {\n            $printPaperSize = $this->getPaperSize();\n        }\n\n        if (isset(self::$paperSizes[$printPaperSize])) {\n            $paperSize = self::$paperSizes[$printPaperSize];\n        }\n\n\n        //  Create PDF\n        $pdf = new DOMPDF();\n        $pdf->set_paper(strtolower($paperSize), $orientation);\n\n        $pdf->load_html(\n            $this->generateHTMLHeader(false) .\n            $this->generateSheetData() .\n            $this->generateHTMLFooter()\n        );\n        $pdf->render();\n\n        //  Write to file\n        fwrite($fileHandle, $pdf->output());\n\n        parent::restoreStateAfterSave($fileHandle);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/PDF/mPDF.php",
    "content": "<?php\n\n/**  Require mPDF library */\n$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/mpdf.php';\nif (file_exists($pdfRendererClassFile)) {\n    require_once $pdfRendererClassFile;\n} else {\n    throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library');\n}\n\n/**\n *  PHPExcel_Writer_PDF_mPDF\n *\n *  Copyright (c) 2006 - 2015 PHPExcel\n *\n *  This library is free software; you can redistribute it and/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *  @category    PHPExcel\n *  @package     PHPExcel_Writer_PDF\n *  @copyright   Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *  @license     http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *  @version     ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_PDF_mPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter\n{\n    /**\n     *  Create a new PHPExcel_Writer_PDF\n     *\n     *  @param  PHPExcel  $phpExcel  PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        parent::__construct($phpExcel);\n    }\n\n    /**\n     *  Save PHPExcel to file\n     *\n     *  @param     string     $pFilename   Name of the file to save as\n     *  @throws    PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        $fileHandle = parent::prepareForSave($pFilename);\n\n        //  Default PDF paper size\n        $paperSize = 'LETTER';    //    Letter    (8.5 in. by 11 in.)\n\n        //  Check for paper size and page orientation\n        if (is_null($this->getSheetIndex())) {\n            $orientation = ($this->phpExcel->getSheet(0)->getPageSetup()->getOrientation()\n                == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? 'L' : 'P';\n            $printPaperSize = $this->phpExcel->getSheet(0)->getPageSetup()->getPaperSize();\n            $printMargins = $this->phpExcel->getSheet(0)->getPageMargins();\n        } else {\n            $orientation = ($this->phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation()\n                == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? 'L' : 'P';\n            $printPaperSize = $this->phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize();\n            $printMargins = $this->phpExcel->getSheet($this->getSheetIndex())->getPageMargins();\n        }\n        $this->setOrientation($orientation);\n\n        //  Override Page Orientation\n        if (!is_null($this->getOrientation())) {\n            $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT)\n                ? PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT\n                : $this->getOrientation();\n        }\n        $orientation = strtoupper($orientation);\n\n        //  Override Paper Size\n        if (!is_null($this->getPaperSize())) {\n            $printPaperSize = $this->getPaperSize();\n        }\n\n        if (isset(self::$paperSizes[$printPaperSize])) {\n            $paperSize = self::$paperSizes[$printPaperSize];\n        }\n\n\n        //  Create PDF\n        $pdf = new mpdf();\n        $ortmp = $orientation;\n        $pdf->_setPageSize(strtoupper($paperSize), $ortmp);\n        $pdf->DefOrientation = $orientation;\n        $pdf->AddPage($orientation);\n\n        //  Document info\n        $pdf->SetTitle($this->phpExcel->getProperties()->getTitle());\n        $pdf->SetAuthor($this->phpExcel->getProperties()->getCreator());\n        $pdf->SetSubject($this->phpExcel->getProperties()->getSubject());\n        $pdf->SetKeywords($this->phpExcel->getProperties()->getKeywords());\n        $pdf->SetCreator($this->phpExcel->getProperties()->getCreator());\n\n        $pdf->WriteHTML(\n            $this->generateHTMLHeader(false) .\n            $this->generateSheetData() .\n            $this->generateHTMLFooter()\n        );\n\n        //  Write to file\n        fwrite($fileHandle, $pdf->Output('', 'S'));\n\n        parent::restoreStateAfterSave($fileHandle);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/PDF/tcPDF.php",
    "content": "<?php\n\n/**  Require tcPDF library */\n$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/tcpdf.php';\nif (file_exists($pdfRendererClassFile)) {\n    $k_path_url = PHPExcel_Settings::getPdfRendererPath();\n    require_once $pdfRendererClassFile;\n} else {\n    throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library');\n}\n\n/**\n *  PHPExcel_Writer_PDF_tcPDF\n *\n *  Copyright (c) 2006 - 2015 PHPExcel\n *\n *  This library is free software; you can redistribute it and/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *  @category    PHPExcel\n *  @package     PHPExcel_Writer_PDF\n *  @copyright   Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *  @license     http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *  @version     ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_PDF_tcPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter\n{\n    /**\n     *  Create a new PHPExcel_Writer_PDF\n     *\n     *  @param  PHPExcel  $phpExcel  PHPExcel object\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        parent::__construct($phpExcel);\n    }\n\n    /**\n     *  Save PHPExcel to file\n     *\n     *  @param     string     $pFilename   Name of the file to save as\n     *  @throws    PHPExcel_Writer_Exception\n     */\n    public function save($pFilename = null)\n    {\n        $fileHandle = parent::prepareForSave($pFilename);\n\n        //  Default PDF paper size\n        $paperSize = 'LETTER';    //    Letter    (8.5 in. by 11 in.)\n\n        //  Check for paper size and page orientation\n        if (is_null($this->getSheetIndex())) {\n            $orientation = ($this->phpExcel->getSheet(0)->getPageSetup()->getOrientation()\n                == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? 'L' : 'P';\n            $printPaperSize = $this->phpExcel->getSheet(0)->getPageSetup()->getPaperSize();\n            $printMargins = $this->phpExcel->getSheet(0)->getPageMargins();\n        } else {\n            $orientation = ($this->phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation()\n                == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? 'L' : 'P';\n            $printPaperSize = $this->phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize();\n            $printMargins = $this->phpExcel->getSheet($this->getSheetIndex())->getPageMargins();\n        }\n\n        //  Override Page Orientation\n        if (!is_null($this->getOrientation())) {\n            $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE)\n                ? 'L'\n                : 'P';\n        }\n        //  Override Paper Size\n        if (!is_null($this->getPaperSize())) {\n            $printPaperSize = $this->getPaperSize();\n        }\n\n        if (isset(self::$paperSizes[$printPaperSize])) {\n            $paperSize = self::$paperSizes[$printPaperSize];\n        }\n\n\n        //  Create PDF\n        $pdf = new TCPDF($orientation, 'pt', $paperSize);\n        $pdf->setFontSubsetting(false);\n        //    Set margins, converting inches to points (using 72 dpi)\n        $pdf->SetMargins($printMargins->getLeft() * 72, $printMargins->getTop() * 72, $printMargins->getRight() * 72);\n        $pdf->SetAutoPageBreak(true, $printMargins->getBottom() * 72);\n\n        $pdf->setPrintHeader(false);\n        $pdf->setPrintFooter(false);\n\n        $pdf->AddPage();\n\n        //  Set the appropriate font\n        $pdf->SetFont($this->getFont());\n        $pdf->writeHTML(\n            $this->generateHTMLHeader(false) .\n            $this->generateSheetData() .\n            $this->generateHTMLFooter()\n        );\n\n        //  Document info\n        $pdf->SetTitle($this->phpExcel->getProperties()->getTitle());\n        $pdf->SetAuthor($this->phpExcel->getProperties()->getCreator());\n        $pdf->SetSubject($this->phpExcel->getProperties()->getSubject());\n        $pdf->SetKeywords($this->phpExcel->getProperties()->getKeywords());\n        $pdf->SetCreator($this->phpExcel->getProperties()->getCreator());\n\n        //  Write to file\n        fwrite($fileHandle, $pdf->output($pFilename, 'S'));\n\n        parent::restoreStateAfterSave($fileHandle);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/Writer/PDF.php",
    "content": "<?php\n\n/**\n *  PHPExcel_Writer_PDF\n *\n *  Copyright (c) 2006 - 2015 PHPExcel\n *\n *  This library is free software; you can redistribute it and/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *  @category    PHPExcel\n *  @package     PHPExcel_Writer_PDF\n *  @copyright   Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n *  @license     http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n *  @version     ##VERSION##, ##DATE##\n */\nclass PHPExcel_Writer_PDF implements PHPExcel_Writer_IWriter\n{\n\n    /**\n     * The wrapper for the requested PDF rendering engine\n     *\n     * @var PHPExcel_Writer_PDF_Core\n     */\n    private $renderer = null;\n\n    /**\n     *  Instantiate a new renderer of the configured type within this container class\n     *\n     *  @param  PHPExcel   $phpExcel         PHPExcel object\n     *  @throws PHPExcel_Writer_Exception    when PDF library is not configured\n     */\n    public function __construct(PHPExcel $phpExcel)\n    {\n        $pdfLibraryName = PHPExcel_Settings::getPdfRendererName();\n        if (is_null($pdfLibraryName)) {\n            throw new PHPExcel_Writer_Exception(\"PDF Rendering library has not been defined.\");\n        }\n\n        $pdfLibraryPath = PHPExcel_Settings::getPdfRendererPath();\n        if (is_null($pdfLibraryName)) {\n            throw new PHPExcel_Writer_Exception(\"PDF Rendering library path has not been defined.\");\n        }\n        $includePath = str_replace('\\\\', '/', get_include_path());\n        $rendererPath = str_replace('\\\\', '/', $pdfLibraryPath);\n        if (strpos($rendererPath, $includePath) === false) {\n            set_include_path(get_include_path() . PATH_SEPARATOR . $pdfLibraryPath);\n        }\n\n        $rendererName = 'PHPExcel_Writer_PDF_' . $pdfLibraryName;\n        $this->renderer = new $rendererName($phpExcel);\n    }\n\n\n    /**\n     *  Magic method to handle direct calls to the configured PDF renderer wrapper class.\n     *\n     *  @param   string   $name        Renderer library method name\n     *  @param   mixed[]  $arguments   Array of arguments to pass to the renderer method\n     *  @return  mixed    Returned data from the PDF renderer wrapper method\n     */\n    public function __call($name, $arguments)\n    {\n        if ($this->renderer === null) {\n            throw new PHPExcel_Writer_Exception(\"PDF Rendering library has not been defined.\");\n        }\n\n        return call_user_func_array(array($this->renderer, $name), $arguments);\n    }\n\n    /**\n     * {@inheritdoc}\n     */\n    public function save($pFilename = null)\n    {\n        $this->renderer->save($pFilename);\n    }\n}\n"
  },
  {
    "path": "Classes/PHPExcel/locale/bg/config",
    "content": "##\n## PHPExcel\n##\n\n## Copyright (c) 2006 - 2013 PHPExcel\n##\n## This library is free software; you can redistribute it and/or\n## modify it under the terms of the GNU Lesser General Public\n## License as published by the Free Software Foundation; either\n## version 2.1 of the License, or (at your option) any later version.\n##\n## This library is distributed in the hope that it will be useful,\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n## Lesser General Public License for more details.\n##\n## You should have received a copy of the GNU Lesser General Public\n## License along with this library; if not, write to the Free Software\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n##\n## @category   PHPExcel\n## @package    PHPExcel_Settings\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt  LGPL\n## @version    ##VERSION##, ##DATE##\n##\n##\n\n\nArgumentSeparator\t= ;\n\n\n##\n##\t(For future use)\n##\ncurrencySymbol\t= лв\n\n\n##\n##\tExcel Error Codes\t(For future use)\n\n##\nNULL\t= #ПРАЗНО!\nDIV0\t= #ДЕЛ/0!\nVALUE\t= #СТОЙНОСТ!\nREF\t= #РЕФ!\nNAME\t= #ИМЕ?\nNUM\t= #ЧИСЛО!\nNA\t= #Н/Д\n"
  },
  {
    "path": "Classes/PHPExcel/locale/cs/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= Kč\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\n##\r\nNULL\t= #NULL!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #HODNOTA!\r\nREF\t= #REF!\r\nNAME\t= #NÁZEV?\r\nNUM\t= #NUM!\r\nNA\t= #N/A\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/cs/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\tFunkce doplňků a automatizace\r\n##\r\nGETPIVOTDATA\t\t= ZÍSKATKONTDATA\t##\tVrátí data uložená v kontingenční tabulce. Pomocí funkce ZÍSKATKONTDATA můžete načíst souhrnná data z kontingenční tabulky, pokud jsou tato data v kontingenční sestavě zobrazena.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\tFunkce pro práci s krychlemi\r\n##\r\nCUBEKPIMEMBER\t\t= CUBEKPIMEMBER\t\t##\tVrátí název, vlastnost a velikost klíčového ukazatele výkonu (KUV) a zobrazí v buňce název a vlastnost. Klíčový ukazatel výkonu je kvantifikovatelná veličina, například hrubý měsíční zisk nebo čtvrtletní obrat na zaměstnance, která se používá pro sledování výkonnosti organizace.\r\nCUBEMEMBER\t\t= CUBEMEMBER\t\t##\tVrátí člen nebo n-tici v hierarchii krychle. Slouží k ověření, zda v krychli existuje člen nebo n-tice.\r\nCUBEMEMBERPROPERTY\t= CUBEMEMBERPROPERTY\t##\tVrátí hodnotu vlastnosti člena v krychli. Slouží k ověření, zda v krychli existuje člen s daným názvem, a k vrácení konkrétní vlastnosti tohoto člena.\r\nCUBERANKEDMEMBER\t= CUBERANKEDMEMBER\t##\tVrátí n-tý nebo pořadový člen sady. Použijte ji pro vrácení jednoho nebo více prvků sady, například obchodníka s nejvyšším obratem nebo deseti nejlepších studentů.\r\nCUBESET\t\t\t= CUBESET\t\t##\tDefinuje vypočtenou sadu členů nebo n-tic odesláním výrazu sady do krychle na serveru, který vytvoří sadu a potom ji vrátí do aplikace Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= CUBESETCOUNT\t\t##\tVrátí počet položek v množině\r\nCUBEVALUE\t\t= CUBEVALUE\t\t##\tVrátí úhrnnou hodnotu z krychle.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\tFunkce databáze\r\n##\r\nDAVERAGE\t\t= DPRŮMĚR\t\t##\tVrátí průměr vybraných položek databáze.\r\nDCOUNT\t\t\t= DPOČET\t\t##\tSpočítá buňky databáze obsahující čísla.\r\nDCOUNTA\t\t\t= DPOČET2\t\t##\tSpočítá buňky databáze, které nejsou prázdné.\r\nDGET\t\t\t= DZÍSKAT\t\t##\tExtrahuje z databáze jeden záznam splňující zadaná kritéria.\r\nDMAX\t\t\t= DMAX\t\t\t##\tVrátí maximální hodnotu z vybraných položek databáze.\r\nDMIN\t\t\t= DMIN\t\t\t##\tVrátí minimální hodnotu z vybraných položek databáze.\r\nDPRODUCT\t\t= DSOUČIN\t\t##\tVynásobí hodnoty určitého pole záznamů v databázi, které splňují daná kritéria.\r\nDSTDEV\t\t\t= DSMODCH.VÝBĚR\t\t##\tOdhadne směrodatnou odchylku výběru vybraných položek databáze.\r\nDSTDEVP\t\t\t= DSMODCH\t\t##\tVypočte směrodatnou odchylku základního souboru vybraných položek databáze.\r\nDSUM\t\t\t= DSUMA\t\t\t##\tSečte čísla ve sloupcovém poli záznamů databáze, která splňují daná kritéria.\r\nDVAR\t\t\t= DVAR.VÝBĚR\t\t##\tOdhadne rozptyl výběru vybraných položek databáze.\r\nDVARP\t\t\t= DVAR\t\t\t##\tVypočte rozptyl základního souboru vybraných položek databáze.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\tFunkce data a času\r\n##\r\nDATE\t\t\t= DATUM\t\t\t##\tVrátí pořadové číslo určitého data.\r\nDATEVALUE\t\t= DATUMHODN\t\t##\tPřevede datum ve formě textu na pořadové číslo.\r\nDAY\t\t\t= DEN\t\t\t##\tPřevede pořadové číslo na den v měsíci.\r\nDAYS360\t\t\t= ROK360\t\t##\tVrátí počet dní mezi dvěma daty na základě roku s 360 dny.\r\nEDATE\t\t\t= EDATE\t\t\t##\tVrátí pořadové číslo data, které označuje určený počet měsíců před nebo po počátečním datu.\r\nEOMONTH\t\t\t= EOMONTH\t\t##\tVrátí pořadové číslo posledního dne měsíce před nebo po zadaném počtu měsíců.\r\nHOUR\t\t\t= HODINA\t\t##\tPřevede pořadové číslo na hodinu.\r\nMINUTE\t\t\t= MINUTA\t\t##\tPřevede pořadové číslo na minutu.\r\nMONTH\t\t\t= MĚSÍC\t\t\t##\tPřevede pořadové číslo na měsíc.\r\nNETWORKDAYS\t\t= NETWORKDAYS\t\t##\tVrátí počet celých pracovních dní mezi dvěma daty.\r\nNOW\t\t\t= NYNÍ\t\t\t##\tVrátí pořadové číslo aktuálního data a času.\r\nSECOND\t\t\t= SEKUNDA\t\t##\tPřevede pořadové číslo na sekundu.\r\nTIME\t\t\t= ČAS\t\t\t##\tVrátí pořadové číslo určitého času.\r\nTIMEVALUE\t\t= ČASHODN\t\t##\tPřevede čas ve formě textu na pořadové číslo.\r\nTODAY\t\t\t= DNES\t\t\t##\tVrátí pořadové číslo dnešního data.\r\nWEEKDAY\t\t\t= DENTÝDNE\t\t##\tPřevede pořadové číslo na den v týdnu.\r\nWEEKNUM\t\t\t= WEEKNUM\t\t##\tPřevede pořadové číslo na číslo představující číselnou pozici týdne v roce.\r\nWORKDAY\t\t\t= WORKDAY\t\t##\tVrátí pořadové číslo data před nebo po zadaném počtu pracovních dní.\r\nYEAR\t\t\t= ROK\t\t\t##\tPřevede pořadové číslo na rok.\r\nYEARFRAC\t\t= YEARFRAC\t\t##\tVrátí část roku vyjádřenou zlomkem a představující počet celých dní mezi počátečním a koncovým datem.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\tInženýrské funkce (Technické funkce)\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t##\tVrátí modifikovanou Besselovu funkci In(x).\r\nBESSELJ\t\t\t= BESSELJ\t\t##\tVrátí modifikovanou Besselovu funkci Jn(x).\r\nBESSELK\t\t\t= BESSELK\t\t##\tVrátí modifikovanou Besselovu funkci Kn(x).\r\nBESSELY\t\t\t= BESSELY\t\t##\tVrátí Besselovu funkci Yn(x).\r\nBIN2DEC\t\t\t= BIN2DEC\t\t##\tPřevede binární číslo na desítkové.\r\nBIN2HEX\t\t\t= BIN2HEX\t\t##\tPřevede binární číslo na šestnáctkové.\r\nBIN2OCT\t\t\t= BIN2OCT\t\t##\tPřevede binární číslo na osmičkové.\r\nCOMPLEX\t\t\t= COMPLEX\t\t##\tPřevede reálnou a imaginární část na komplexní číslo.\r\nCONVERT\t\t\t= CONVERT\t\t##\tPřevede číslo do jiného jednotkového měrného systému.\r\nDEC2BIN\t\t\t= DEC2BIN\t\t##\tPřevede desítkového čísla na dvojkové\r\nDEC2HEX\t\t\t= DEC2HEX\t\t##\tPřevede desítkové číslo na šestnáctkové.\r\nDEC2OCT\t\t\t= DEC2OCT\t\t##\tPřevede desítkové číslo na osmičkové.\r\nDELTA\t\t\t= DELTA\t\t\t##\tTestuje rovnost dvou hodnot.\r\nERF\t\t\t= ERF\t\t\t##\tVrátí chybovou funkci.\r\nERFC\t\t\t= ERFC\t\t\t##\tVrátí doplňkovou chybovou funkci.\r\nGESTEP\t\t\t= GESTEP\t\t##\tTestuje, zda je číslo větší než mezní hodnota.\r\nHEX2BIN\t\t\t= HEX2BIN\t\t##\tPřevede šestnáctkové číslo na binární.\r\nHEX2DEC\t\t\t= HEX2DEC\t\t##\tPřevede šestnáctkové číslo na desítkové.\r\nHEX2OCT\t\t\t= HEX2OCT\t\t##\tPřevede šestnáctkové číslo na osmičkové.\r\nIMABS\t\t\t= IMABS\t\t\t##\tVrátí absolutní hodnotu (modul) komplexního čísla.\r\nIMAGINARY\t\t= IMAGINARY\t\t##\tVrátí imaginární část komplexního čísla.\r\nIMARGUMENT\t\t= IMARGUMENT\t\t##\tVrátí argument théta, úhel vyjádřený v radiánech.\r\nIMCONJUGATE\t\t= IMCONJUGATE\t\t##\tVrátí komplexně sdružené číslo ke komplexnímu číslu.\r\nIMCOS\t\t\t= IMCOS\t\t\t##\tVrátí kosinus komplexního čísla.\r\nIMDIV\t\t\t= IMDIV\t\t\t##\tVrátí podíl dvou komplexních čísel.\r\nIMEXP\t\t\t= IMEXP\t\t\t##\tVrátí exponenciální tvar komplexního čísla.\r\nIMLN\t\t\t= IMLN\t\t\t##\tVrátí přirozený logaritmus komplexního čísla.\r\nIMLOG10\t\t\t= IMLOG10\t\t##\tVrátí dekadický logaritmus komplexního čísla.\r\nIMLOG2\t\t\t= IMLOG2\t\t##\tVrátí logaritmus komplexního čísla při základu 2.\r\nIMPOWER\t\t\t= IMPOWER\t\t##\tVrátí komplexní číslo umocněné na celé číslo.\r\nIMPRODUCT\t\t= IMPRODUCT\t\t##\tVrátí součin komplexních čísel.\r\nIMREAL\t\t\t= IMREAL\t\t##\tVrátí reálnou část komplexního čísla.\r\nIMSIN\t\t\t= IMSIN\t\t\t##\tVrátí sinus komplexního čísla.\r\nIMSQRT\t\t\t= IMSQRT\t\t##\tVrátí druhou odmocninu komplexního čísla.\r\nIMSUB\t\t\t= IMSUB\t\t\t##\tVrátí rozdíl mezi dvěma komplexními čísly.\r\nIMSUM\t\t\t= IMSUM\t\t\t##\tVrátí součet dvou komplexních čísel.\r\nOCT2BIN\t\t\t= OCT2BIN\t\t##\tPřevede osmičkové číslo na binární.\r\nOCT2DEC\t\t\t= OCT2DEC\t\t##\tPřevede osmičkové číslo na desítkové.\r\nOCT2HEX\t\t\t= OCT2HEX\t\t##\tPřevede osmičkové číslo na šestnáctkové.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\tFinanční funkce\r\n##\r\nACCRINT\t\t\t= ACCRINT\t\t##\tVrátí nahromaděný úrok z cenného papíru, ze kterého je úrok placen v pravidelných termínech.\r\nACCRINTM\t\t= ACCRINTM\t\t##\tVrátí nahromaděný úrok z cenného papíru, ze kterého je úrok placen k datu splatnosti.\r\nAMORDEGRC\t\t= AMORDEGRC\t\t##\tVrátí lineární amortizaci v každém účetním období pomocí koeficientu amortizace.\r\nAMORLINC\t\t= AMORLINC\t\t##\tVrátí lineární amortizaci v každém účetním období.\r\nCOUPDAYBS\t\t= COUPDAYBS\t\t##\tVrátí počet dnů od začátku období placení kupónů do data splatnosti.\r\nCOUPDAYS\t\t= COUPDAYS\t\t##\tVrátí počet dnů v období placení kupónů, které obsahuje den zúčtování.\r\nCOUPDAYSNC\t\t= COUPDAYSNC\t\t##\tVrátí počet dnů od data zúčtování do následujícího data placení kupónu.\r\nCOUPNCD\t\t\t= COUPNCD\t\t##\tVrátí následující datum placení kupónu po datu zúčtování.\r\nCOUPNUM\t\t\t= COUPNUM\t\t##\tVrátí počet kupónů splatných mezi datem zúčtování a datem splatnosti.\r\nCOUPPCD\t\t\t= COUPPCD\t\t##\tVrátí předchozí datum placení kupónu před datem zúčtování.\r\nCUMIPMT\t\t\t= CUMIPMT\t\t##\tVrátí kumulativní úrok splacený mezi dvěma obdobími.\r\nCUMPRINC\t\t= CUMPRINC\t\t##\tVrátí kumulativní jistinu splacenou mezi dvěma obdobími půjčky.\r\nDB\t\t\t= ODPIS.ZRYCH\t\t##\tVrátí odpis aktiva za určité období pomocí degresivní metody odpisu s pevným zůstatkem.\r\nDDB\t\t\t= ODPIS.ZRYCH2\t\t##\tVrátí odpis aktiva za určité období pomocí dvojité degresivní metody odpisu nebo jiné metody, kterou zadáte.\r\nDISC\t\t\t= DISC\t\t\t##\tVrátí diskontní sazbu cenného papíru.\r\nDOLLARDE\t\t= DOLLARDE\t\t##\tPřevede částku v korunách vyjádřenou zlomkem na částku v korunách vyjádřenou desetinným číslem.\r\nDOLLARFR\t\t= DOLLARFR\t\t##\tPřevede částku v korunách vyjádřenou desetinným číslem na částku v korunách vyjádřenou zlomkem.\r\nDURATION\t\t= DURATION\t\t##\tVrátí roční dobu cenného papíru s pravidelnými úrokovými sazbami.\r\nEFFECT\t\t\t= EFFECT\t\t##\tVrátí efektivní roční úrokovou sazbu.\r\nFV\t\t\t= BUDHODNOTA\t\t##\tVrátí budoucí hodnotu investice.\r\nFVSCHEDULE\t\t= FVSCHEDULE\t\t##\tVrátí budoucí hodnotu počáteční jistiny po použití série sazeb složitého úroku.\r\nINTRATE\t\t\t= INTRATE\t\t##\tVrátí úrokovou sazbu plně investovaného cenného papíru.\r\nIPMT\t\t\t= PLATBA.ÚROK\t\t##\tVrátí výšku úroku investice za dané období.\r\nIRR\t\t\t= MÍRA.VÝNOSNOSTI\t##\tVrátí vnitřní výnosové procento série peněžních toků.\r\nISPMT\t\t\t= ISPMT\t\t\t##\tVypočte výši úroku z investice zaplaceného během určitého období.\r\nMDURATION\t\t= MDURATION\t\t##\tVrátí Macauleyho modifikovanou dobu cenného papíru o nominální hodnotě 100 Kč.\r\nMIRR\t\t\t= MOD.MÍRA.VÝNOSNOSTI\t##\tVrátí vnitřní sazbu výnosu, přičemž kladné a záporné hodnoty peněžních prostředků jsou financovány podle různých sazeb.\r\nNOMINAL\t\t\t= NOMINAL\t\t##\tVrátí nominální roční úrokovou sazbu.\r\nNPER\t\t\t= POČET.OBDOBÍ\t\t##\tVrátí počet období pro investici.\r\nNPV\t\t\t= ČISTÁ.SOUČHODNOTA\t##\tVrátí čistou současnou hodnotu investice vypočítanou na základě série pravidelných peněžních toků a diskontní sazby.\r\nODDFPRICE\t\t= ODDFPRICE\t\t##\tVrátí cenu cenného papíru o nominální hodnotě 100 Kč s odlišným prvním obdobím.\r\nODDFYIELD\t\t= ODDFYIELD\t\t##\tVrátí výnos cenného papíru s odlišným prvním obdobím.\r\nODDLPRICE\t\t= ODDLPRICE\t\t##\tVrátí cenu cenného papíru o nominální hodnotě 100 Kč s odlišným posledním obdobím.\r\nODDLYIELD\t\t= ODDLYIELD\t\t##\tVrátí výnos cenného papíru s odlišným posledním obdobím.\r\nPMT\t\t\t= PLATBA\t\t##\tVrátí hodnotu pravidelné splátky anuity.\r\nPPMT\t\t\t= PLATBA.ZÁKLAD\t\t##\tVrátí hodnotu splátky jistiny pro zadanou investici za dané období.\r\nPRICE\t\t\t= PRICE\t\t\t##\tVrátí cenu cenného papíru o nominální hodnotě 100 Kč, ze kterého je úrok placen v pravidelných termínech.\r\nPRICEDISC\t\t= PRICEDISC\t\t##\tVrátí cenu diskontního cenného papíru o nominální hodnotě 100 Kč.\r\nPRICEMAT\t\t= PRICEMAT\t\t##\tVrátí cenu cenného papíru o nominální hodnotě 100 Kč, ze kterého je úrok placen k datu splatnosti.\r\nPV\t\t\t= SOUČHODNOTA\t\t##\tVrátí současnou hodnotu investice.\r\nRATE\t\t\t= ÚROKOVÁ.MÍRA\t\t##\tVrátí úrokovou sazbu vztaženou na období anuity.\r\nRECEIVED\t\t= RECEIVED\t\t##\tVrátí částku obdrženou k datu splatnosti plně investovaného cenného papíru.\r\nSLN\t\t\t= ODPIS.LIN\t\t##\tVrátí přímé odpisy aktiva pro jedno období.\r\nSYD\t\t\t= ODPIS.NELIN\t\t##\tVrátí směrné číslo ročních odpisů aktiva pro zadané období.\r\nTBILLEQ\t\t\t= TBILLEQ\t\t##\tVrátí výnos směnky státní pokladny ekvivalentní výnosu obligace.\r\nTBILLPRICE\t\t= TBILLPRICE\t\t##\tVrátí cenu směnky státní pokladny o nominální hodnotě 100 Kč.\r\nTBILLYIELD\t\t= TBILLYIELD\t\t##\tVrátí výnos směnky státní pokladny.\r\nVDB\t\t\t= ODPIS.ZA.INT\t\t##\tVrátí odpis aktiva pro určité období nebo část období pomocí degresivní metody odpisu.\r\nXIRR\t\t\t= XIRR\t\t\t##\tVrátí vnitřní výnosnost pro harmonogram peněžních toků, který nemusí být nutně periodický.\r\nXNPV\t\t\t= XNPV\t\t\t##\tVrátí čistou současnou hodnotu pro harmonogram peněžních toků, který nemusí být nutně periodický.\r\nYIELD\t\t\t= YIELD\t\t\t##\tVrátí výnos cenného papíru, ze kterého je úrok placen v pravidelných termínech.\r\nYIELDDISC\t\t= YIELDDISC\t\t##\tVrátí roční výnos diskontního cenného papíru, například směnky státní pokladny.\r\nYIELDMAT\t\t= YIELDMAT\t\t##\tVrátí roční výnos cenného papíru, ze kterého je úrok placen k datu splatnosti.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\tInformační funkce\r\n##\r\nCELL\t\t\t= POLÍČKO\t\t##\tVrátí informace o formátování, umístění nebo obsahu buňky.\r\nERROR.TYPE\t\t= CHYBA.TYP\t\t##\tVrátí číslo odpovídající typu chyby.\r\nINFO\t\t\t= O.PROSTŘEDÍ\t\t##\tVrátí informace o aktuálním pracovním prostředí.\r\nISBLANK\t\t\t= JE.PRÁZDNÉ\t\t##\tVrátí hodnotu PRAVDA, pokud se argument hodnota odkazuje na prázdnou buňku.\r\nISERR\t\t\t= JE.CHYBA\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota libovolná chybová hodnota (kromě #N/A).\r\nISERROR\t\t\t= JE.CHYBHODN\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota libovolná chybová hodnota.\r\nISEVEN\t\t\t= ISEVEN\t\t##\tVrátí hodnotu PRAVDA, pokud je číslo sudé.\r\nISLOGICAL\t\t= JE.LOGHODN\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota logická hodnota.\r\nISNA\t\t\t= JE.NEDEF\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota chybová hodnota #N/A.\r\nISNONTEXT\t\t= JE.NETEXT\t\t##\tVrátí hodnotu PRAVDA, pokud argument hodnota není text.\r\nISNUMBER\t\t= JE.ČÍSLO\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota číslo.\r\nISODD\t\t\t= ISODD\t\t\t##\tVrátí hodnotu PRAVDA, pokud je číslo liché.\r\nISREF\t\t\t= JE.ODKAZ\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota odkaz.\r\nISTEXT\t\t\t= JE.TEXT\t\t##\tVrátí hodnotu PRAVDA, pokud je argument hodnota text.\r\nN\t\t\t= N\t\t\t##\tVrátí hodnotu převedenou na číslo.\r\nNA\t\t\t= NEDEF\t\t\t##\tVrátí chybovou hodnotu #N/A.\r\nTYPE\t\t\t= TYP\t\t\t##\tVrátí číslo označující datový typ hodnoty.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\tLogické funkce\r\n##\r\nAND\t\t\t= A\t\t\t##\tVrátí hodnotu PRAVDA, mají-li všechny argumenty hodnotu PRAVDA.\r\nFALSE\t\t\t= NEPRAVDA\t\t##\tVrátí logickou hodnotu NEPRAVDA.\r\nIF\t\t\t= KDYŽ\t\t\t##\tUrčí, který logický test má proběhnout.\r\nIFERROR\t\t\t= IFERROR\t\t##\tPokud je vzorec vyhodnocen jako chyba, vrátí zadanou hodnotu. V opačném případě vrátí výsledek vzorce.\r\nNOT\t\t\t= NE\t\t\t##\tProvede logickou negaci argumentu funkce.\r\nOR\t\t\t= NEBO\t\t\t##\tVrátí hodnotu PRAVDA, je-li alespoň jeden argument roven hodnotě PRAVDA.\r\nTRUE\t\t\t= PRAVDA\t\t##\tVrátí logickou hodnotu PRAVDA.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\tVyhledávací funkce\r\n##\r\nADDRESS\t\t\t= ODKAZ\t\t\t##\tVrátí textový odkaz na jednu buňku listu.\r\nAREAS\t\t\t= POČET.BLOKŮ\t\t##\tVrátí počet oblastí v odkazu.\r\nCHOOSE\t\t\t= ZVOLIT\t\t##\tZvolí hodnotu ze seznamu hodnot.\r\nCOLUMN\t\t\t= SLOUPEC\t\t##\tVrátí číslo sloupce odkazu.\r\nCOLUMNS\t\t\t= SLOUPCE\t\t##\tVrátí počet sloupců v odkazu.\r\nHLOOKUP\t\t\t= VVYHLEDAT\t\t##\tProhledá horní řádek matice a vrátí hodnotu určené buňky.\r\nHYPERLINK\t\t= HYPERTEXTOVÝ.ODKAZ\t##\tVytvoří zástupce nebo odkaz, který otevře dokument uložený na síťovém serveru, v síti intranet nebo Internet.\r\nINDEX\t\t\t= INDEX\t\t\t##\tPomocí rejstříku zvolí hodnotu z odkazu nebo matice.\r\nINDIRECT\t\t= NEPŘÍMÝ.ODKAZ\t\t##\tVrátí odkaz určený textovou hodnotou.\r\nLOOKUP\t\t\t= VYHLEDAT\t\t##\tVyhledá hodnoty ve vektoru nebo matici.\r\nMATCH\t\t\t= POZVYHLEDAT\t\t##\tVyhledá hodnoty v odkazu nebo matici.\r\nOFFSET\t\t\t= POSUN\t\t\t##\tVrátí posun odkazu od zadaného odkazu.\r\nROW\t\t\t= ŘÁDEK\t\t\t##\tVrátí číslo řádku odkazu.\r\nROWS\t\t\t= ŘÁDKY\t\t\t##\tVrátí počet řádků v odkazu.\r\nRTD\t\t\t= RTD\t\t\t##\tNačte data reálného času z programu, který podporuje automatizaci modelu COM (Automatizace: Způsob práce s objekty určité aplikace z jiné aplikace nebo nástroje pro vývoj. Automatizace (dříve nazývaná automatizace OLE) je počítačovým standardem a je funkcí modelu COM (Component Object Model).).\r\nTRANSPOSE\t\t= TRANSPOZICE\t\t##\tVrátí transponovanou matici.\r\nVLOOKUP\t\t\t= SVYHLEDAT\t\t##\tProhledá první sloupec matice, přesune kurzor v řádku a vrátí hodnotu buňky.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\tMatematické a trigonometrické funkce\r\n##\r\nABS\t\t\t= ABS\t\t\t##\tVrátí absolutní hodnotu čísla.\r\nACOS\t\t\t= ARCCOS\t\t##\tVrátí arkuskosinus čísla.\r\nACOSH\t\t\t= ARCCOSH\t\t##\tVrátí hyperbolický arkuskosinus čísla.\r\nASIN\t\t\t= ARCSIN\t\t##\tVrátí arkussinus čísla.\r\nASINH\t\t\t= ARCSINH\t\t##\tVrátí hyperbolický arkussinus čísla.\r\nATAN\t\t\t= ARCTG\t\t\t##\tVrátí arkustangens čísla.\r\nATAN2\t\t\t= ARCTG2\t\t##\tVrátí arkustangens x-ové a y-ové souřadnice.\r\nATANH\t\t\t= ARCTGH\t\t##\tVrátí hyperbolický arkustangens čísla.\r\nCEILING\t\t\t= ZAOKR.NAHORU\t\t##\tZaokrouhlí číslo na nejbližší celé číslo nebo na nejbližší násobek zadané hodnoty.\r\nCOMBIN\t\t\t= KOMBINACE\t\t##\tVrátí počet kombinací pro daný počet položek.\r\nCOS\t\t\t= COS\t\t\t##\tVrátí kosinus čísla.\r\nCOSH\t\t\t= COSH\t\t\t##\tVrátí hyperbolický kosinus čísla.\r\nDEGREES\t\t\t= DEGREES\t\t##\tPřevede radiány na stupně.\r\nEVEN\t\t\t= ZAOKROUHLIT.NA.SUDÉ\t##\tZaokrouhlí číslo nahoru na nejbližší celé sudé číslo.\r\nEXP\t\t\t= EXP\t\t\t##\tVrátí základ přirozeného logaritmu e umocněný na zadané číslo.\r\nFACT\t\t\t= FAKTORIÁL\t\t##\tVrátí faktoriál čísla.\r\nFACTDOUBLE\t\t= FACTDOUBLE\t\t##\tVrátí dvojitý faktoriál čísla.\r\nFLOOR\t\t\t= ZAOKR.DOLŮ\t\t##\tZaokrouhlí číslo dolů, směrem k nule.\r\nGCD\t\t\t= GCD\t\t\t##\tVrátí největší společný dělitel.\r\nINT\t\t\t= CELÁ.ČÁST\t\t##\tZaokrouhlí číslo dolů na nejbližší celé číslo.\r\nLCM\t\t\t= LCM\t\t\t##\tVrátí nejmenší společný násobek.\r\nLN\t\t\t= LN\t\t\t##\tVrátí přirozený logaritmus čísla.\r\nLOG\t\t\t= LOGZ\t\t\t##\tVrátí logaritmus čísla při zadaném základu.\r\nLOG10\t\t\t= LOG\t\t\t##\tVrátí dekadický logaritmus čísla.\r\nMDETERM\t\t\t= DETERMINANT\t\t##\tVrátí determinant matice.\r\nMINVERSE\t\t= INVERZE\t\t##\tVrátí inverzní matici.\r\nMMULT\t\t\t= SOUČIN.MATIC\t\t##\tVrátí součin dvou matic.\r\nMOD\t\t\t= MOD\t\t\t##\tVrátí zbytek po dělení.\r\nMROUND\t\t\t= MROUND\t\t##\tVrátí číslo zaokrouhlené na požadovaný násobek.\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t##\tVrátí mnohočlen z množiny čísel.\r\nODD\t\t\t= ZAOKROUHLIT.NA.LICHÉ\t##\tZaokrouhlí číslo nahoru na nejbližší celé liché číslo.\r\nPI\t\t\t= PI\t\t\t##\tVrátí hodnotu čísla pí.\r\nPOWER\t\t\t= POWER\t\t\t##\tUmocní číslo na zadanou mocninu.\r\nPRODUCT\t\t\t= SOUČIN\t\t##\tVynásobí argumenty funkce.\r\nQUOTIENT\t\t= QUOTIENT\t\t##\tVrátí celou část dělení.\r\nRADIANS\t\t\t= RADIANS\t\t##\tPřevede stupně na radiány.\r\nRAND\t\t\t= NÁHČÍSLO\t\t##\tVrátí náhodné číslo mezi 0 a 1.\r\nRANDBETWEEN\t\t= RANDBETWEEN\t\t##\tVrátí náhodné číslo mezi zadanými čísly.\r\nROMAN\t\t\t= ROMAN\t\t\t##\tPřevede arabskou číslici na římskou ve formátu textu.\r\nROUND\t\t\t= ZAOKROUHLIT\t\t##\tZaokrouhlí číslo na zadaný počet číslic.\r\nROUNDDOWN\t\t= ROUNDDOWN\t\t##\tZaokrouhlí číslo dolů, směrem k nule.\r\nROUNDUP\t\t\t= ROUNDUP\t\t##\tZaokrouhlí číslo nahoru, směrem od nuly.\r\nSERIESSUM\t\t= SERIESSUM\t\t##\tVrátí součet mocninné řady určené podle vzorce.\r\nSIGN\t\t\t= SIGN\t\t\t##\tVrátí znaménko čísla.\r\nSIN\t\t\t= SIN\t\t\t##\tVrátí sinus daného úhlu.\r\nSINH\t\t\t= SINH\t\t\t##\tVrátí hyperbolický sinus čísla.\r\nSQRT\t\t\t= ODMOCNINA\t\t##\tVrátí kladnou druhou odmocninu.\r\nSQRTPI\t\t\t= SQRTPI\t\t##\tVrátí druhou odmocninu výrazu (číslo * pí).\r\nSUBTOTAL\t\t= SUBTOTAL\t\t##\tVrátí souhrn v seznamu nebo databázi.\r\nSUM\t\t\t= SUMA\t\t\t##\tSečte argumenty funkce.\r\nSUMIF\t\t\t= SUMIF\t\t\t##\tSečte buňky vybrané podle zadaných kritérií.\r\nSUMIFS\t\t\t= SUMIFS\t\t##\tSečte buňky určené více zadanými podmínkami.\r\nSUMPRODUCT\t\t= SOUČIN.SKALÁRNÍ\t##\tVrátí součet součinů odpovídajících prvků matic.\r\nSUMSQ\t\t\t= SUMA.ČTVERCŮ\t\t##\tVrátí součet čtverců argumentů.\r\nSUMX2MY2\t\t= SUMX2MY2\t\t##\tVrátí součet rozdílu čtverců odpovídajících hodnot ve dvou maticích.\r\nSUMX2PY2\t\t= SUMX2PY2\t\t##\tVrátí součet součtu čtverců odpovídajících hodnot ve dvou maticích.\r\nSUMXMY2\t\t\t= SUMXMY2\t\t##\tVrátí součet čtverců rozdílů odpovídajících hodnot ve dvou maticích.\r\nTAN\t\t\t= TGTG\t\t\t##\tVrátí tangens čísla.\r\nTANH\t\t\t= TGH\t\t\t##\tVrátí hyperbolický tangens čísla.\r\nTRUNC\t\t\t= USEKNOUT\t\t##\tZkrátí číslo na celé číslo.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\tStatistické funkce\r\n##\r\nAVEDEV\t\t\t= PRŮMODCHYLKA\t\t##\tVrátí průměrnou hodnotu absolutních odchylek datových bodů od jejich střední hodnoty.\r\nAVERAGE\t\t\t= PRŮMĚR\t\t##\tVrátí průměrnou hodnotu argumentů.\r\nAVERAGEA\t\t= AVERAGEA\t\t##\tVrátí průměrnou hodnotu argumentů včetně čísel, textu a logických hodnot.\r\nAVERAGEIF\t\t= AVERAGEIF\t\t##\tVrátí průměrnou hodnotu (aritmetický průměr) všech buněk v oblasti, které vyhovují příslušné podmínce.\r\nAVERAGEIFS\t\t= AVERAGEIFS\t\t##\tVrátí průměrnou hodnotu (aritmetický průměr) všech buněk vyhovujících několika podmínkám.\r\nBETADIST\t\t= BETADIST\t\t##\tVrátí hodnotu součtového rozdělení beta.\r\nBETAINV\t\t\t= BETAINV\t\t##\tVrátí inverzní hodnotu součtového rozdělení pro zadané rozdělení beta.\r\nBINOMDIST\t\t= BINOMDIST\t\t##\tVrátí hodnotu binomického rozdělení pravděpodobnosti jednotlivých veličin.\r\nCHIDIST\t\t\t= CHIDIST\t\t##\tVrátí jednostrannou pravděpodobnost rozdělení chí-kvadrát.\r\nCHIINV\t\t\t= CHIINV\t\t##\tVrátí hodnotu funkce inverzní k distribuční funkci jednostranné pravděpodobnosti rozdělení chí-kvadrát.\r\nCHITEST\t\t\t= CHITEST\t\t##\tVrátí test nezávislosti.\r\nCONFIDENCE\t\t= CONFIDENCE\t\t##\tVrátí interval spolehlivosti pro střední hodnotu základního souboru.\r\nCORREL\t\t\t= CORREL\t\t##\tVrátí korelační koeficient mezi dvěma množinami dat.\r\nCOUNT\t\t\t= POČET\t\t\t##\tVrátí počet čísel v seznamu argumentů.\r\nCOUNTA\t\t\t= POČET2\t\t##\tVrátí počet hodnot v seznamu argumentů.\r\nCOUNTBLANK\t\t= COUNTBLANK\t\t##\tSpočítá počet prázdných buněk v oblasti.\r\nCOUNTIF\t\t\t= COUNTIF\t\t##\tSpočítá buňky v oblasti, které odpovídají zadaným kritériím.\r\nCOUNTIFS\t\t= COUNTIFS\t\t##\tSpočítá buňky v oblasti, které odpovídají více kritériím.\r\nCOVAR\t\t\t= COVAR\t\t\t##\tVrátí hodnotu kovariance, průměrnou hodnotu součinů párových odchylek\r\nCRITBINOM\t\t= CRITBINOM\t\t##\tVrátí nejmenší hodnotu, pro kterou má součtové binomické rozdělení hodnotu větší nebo rovnu hodnotě kritéria.\r\nDEVSQ\t\t\t= DEVSQ\t\t\t##\tVrátí součet čtverců odchylek.\r\nEXPONDIST\t\t= EXPONDIST\t\t##\tVrátí hodnotu exponenciálního rozdělení.\r\nFDIST\t\t\t= FDIST\t\t\t##\tVrátí hodnotu rozdělení pravděpodobnosti F.\r\nFINV\t\t\t= FINV\t\t\t##\tVrátí hodnotu inverzní funkce k distribuční funkci rozdělení F.\r\nFISHER\t\t\t= FISHER\t\t##\tVrátí hodnotu Fisherovy transformace.\r\nFISHERINV\t\t= FISHERINV\t\t##\tVrátí hodnotu inverzní funkce k Fisherově transformaci.\r\nFORECAST\t\t= FORECAST\t\t##\tVrátí hodnotu lineárního trendu.\r\nFREQUENCY\t\t= ČETNOSTI\t\t##\tVrátí četnost rozdělení jako svislou matici.\r\nFTEST\t\t\t= FTEST\t\t\t##\tVrátí výsledek F-testu.\r\nGAMMADIST\t\t= GAMMADIST\t\t##\tVrátí hodnotu rozdělení gama.\r\nGAMMAINV\t\t= GAMMAINV\t\t##\tVrátí hodnotu inverzní funkce k distribuční funkci součtového rozdělení gama.\r\nGAMMALN\t\t\t= GAMMALN\t\t##\tVrátí přirozený logaritmus funkce gama, Γ(x).\r\nGEOMEAN\t\t\t= GEOMEAN\t\t##\tVrátí geometrický průměr.\r\nGROWTH\t\t\t= LOGLINTREND\t\t##\tVrátí hodnoty exponenciálního trendu.\r\nHARMEAN\t\t\t= HARMEAN\t\t##\tVrátí harmonický průměr.\r\nHYPGEOMDIST\t\t= HYPGEOMDIST\t\t##\tVrátí hodnotu hypergeometrického rozdělení.\r\nINTERCEPT\t\t= INTERCEPT\t\t##\tVrátí úsek lineární regresní čáry.\r\nKURT\t\t\t= KURT\t\t\t##\tVrátí hodnotu excesu množiny dat.\r\nLARGE\t\t\t= LARGE\t\t\t##\tVrátí k-tou největší hodnotu množiny dat.\r\nLINEST\t\t\t= LINREGRESE\t\t##\tVrátí parametry lineárního trendu.\r\nLOGEST\t\t\t= LOGLINREGRESE\t\t##\tVrátí parametry exponenciálního trendu.\r\nLOGINV\t\t\t= LOGINV\t\t##\tVrátí inverzní funkci k distribuční funkci logaritmicko-normálního rozdělení.\r\nLOGNORMDIST\t\t= LOGNORMDIST\t\t##\tVrátí hodnotu součtového logaritmicko-normálního rozdělení.\r\nMAX\t\t\t= MAX\t\t\t##\tVrátí maximální hodnotu seznamu argumentů.\r\nMAXA\t\t\t= MAXA\t\t\t##\tVrátí maximální hodnotu seznamu argumentů včetně čísel, textu a logických hodnot.\r\nMEDIAN\t\t\t= MEDIAN\t\t##\tVrátí střední hodnotu zadaných čísel.\r\nMIN\t\t\t= MIN\t\t\t##\tVrátí minimální hodnotu seznamu argumentů.\r\nMINA\t\t\t= MINA\t\t\t##\tVrátí nejmenší hodnotu v seznamu argumentů včetně čísel, textu a logických hodnot.\r\nMODE\t\t\t= MODE\t\t\t##\tVrátí hodnotu, která se v množině dat vyskytuje nejčastěji.\r\nNEGBINOMDIST\t\t= NEGBINOMDIST\t\t##\tVrátí hodnotu negativního binomického rozdělení.\r\nNORMDIST\t\t= NORMDIST\t\t##\tVrátí hodnotu normálního součtového rozdělení.\r\nNORMINV\t\t\t= NORMINV\t\t##\tVrátí inverzní funkci k funkci normálního součtového rozdělení.\r\nNORMSDIST\t\t= NORMSDIST\t\t##\tVrátí hodnotu standardního normálního součtového rozdělení.\r\nNORMSINV\t\t= NORMSINV\t\t##\tVrátí inverzní funkci k funkci standardního normálního součtového rozdělení.\r\nPEARSON\t\t\t= PEARSON\t\t##\tVrátí Pearsonův výsledný momentový korelační koeficient.\r\nPERCENTILE\t\t= PERCENTIL\t\t##\tVrátí hodnotu k-tého percentilu hodnot v oblasti.\r\nPERCENTRANK\t\t= PERCENTRANK\t\t##\tVrátí pořadí hodnoty v množině dat vyjádřené procentuální částí množiny dat.\r\nPERMUT\t\t\t= PERMUTACE\t\t##\tVrátí počet permutací pro zadaný počet objektů.\r\nPOISSON\t\t\t= POISSON\t\t##\tVrátí hodnotu distribuční funkce Poissonova rozdělení.\r\nPROB\t\t\t= PROB\t\t\t##\tVrátí pravděpodobnost výskytu hodnot v oblasti mezi dvěma mezními hodnotami.\r\nQUARTILE\t\t= QUARTIL\t\t##\tVrátí hodnotu kvartilu množiny dat.\r\nRANK\t\t\t= RANK\t\t\t##\tVrátí pořadí čísla v seznamu čísel.\r\nRSQ\t\t\t= RKQ\t\t\t##\tVrátí druhou mocninu Pearsonova výsledného momentového korelačního koeficientu.\r\nSKEW\t\t\t= SKEW\t\t\t##\tVrátí zešikmení rozdělení.\r\nSLOPE\t\t\t= SLOPE\t\t\t##\tVrátí směrnici lineární regresní čáry.\r\nSMALL\t\t\t= SMALL\t\t\t##\tVrátí k-tou nejmenší hodnotu množiny dat.\r\nSTANDARDIZE\t\t= STANDARDIZE\t\t##\tVrátí normalizovanou hodnotu.\r\nSTDEV\t\t\t= SMODCH.VÝBĚR\t\t##\tVypočte směrodatnou odchylku výběru.\r\nSTDEVA\t\t\t= STDEVA\t\t##\tVypočte směrodatnou odchylku výběru včetně čísel, textu a logických hodnot.\r\nSTDEVP\t\t\t= SMODCH\t\t##\tVypočte směrodatnou odchylku základního souboru.\r\nSTDEVPA\t\t\t= STDEVPA\t\t##\tVypočte směrodatnou odchylku základního souboru včetně čísel, textu a logických hodnot.\r\nSTEYX\t\t\t= STEYX\t\t\t##\tVrátí standardní chybu předpovězené hodnoty y pro každou hodnotu x v regresi.\r\nTDIST\t\t\t= TDIST\t\t\t##\tVrátí hodnotu Studentova t-rozdělení.\r\nTINV\t\t\t= TINV\t\t\t##\tVrátí inverzní funkci k distribuční funkci Studentova t-rozdělení.\r\nTREND\t\t\t= LINTREND\t\t##\tVrátí hodnoty lineárního trendu.\r\nTRIMMEAN\t\t= TRIMMEAN\t\t##\tVrátí střední hodnotu vnitřní části množiny dat.\r\nTTEST\t\t\t= TTEST\t\t\t##\tVrátí pravděpodobnost spojenou se Studentovým t-testem.\r\nVAR\t\t\t= VAR.VÝBĚR\t\t##\tVypočte rozptyl výběru.\r\nVARA\t\t\t= VARA\t\t\t##\tVypočte rozptyl výběru včetně čísel, textu a logických hodnot.\r\nVARP\t\t\t= VAR\t\t\t##\tVypočte rozptyl základního souboru.\r\nVARPA\t\t\t= VARPA\t\t\t##\tVypočte rozptyl základního souboru včetně čísel, textu a logických hodnot.\r\nWEIBULL\t\t\t= WEIBULL\t\t##\tVrátí hodnotu Weibullova rozdělení.\r\nZTEST\t\t\t= ZTEST\t\t\t##\tVrátí jednostrannou P-hodnotu z-testu.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\tTextové funkce\r\n##\r\nASC\t\t\t= ASC\t\t\t##\tZmění znaky s plnou šířkou (dvoubajtové)v řetězci znaků na znaky s poloviční šířkou (jednobajtové).\r\nBAHTTEXT\t\t= BAHTTEXT\t\t##\tPřevede číslo na text ve formátu, měny ß (baht).\r\nCHAR\t\t\t= ZNAK\t\t\t##\tVrátí znak určený číslem kódu.\r\nCLEAN\t\t\t= VYČISTIT\t\t##\tOdebere z textu všechny netisknutelné znaky.\r\nCODE\t\t\t= KÓD\t\t\t##\tVrátí číselný kód prvního znaku zadaného textového řetězce.\r\nCONCATENATE\t\t= CONCATENATE\t\t##\tSpojí několik textových položek do jedné.\r\nDOLLAR\t\t\t= KČ\t\t\t##\tPřevede číslo na text ve formátu měny Kč (česká koruna).\r\nEXACT\t\t\t= STEJNÉ\t\t##\tZkontroluje, zda jsou dvě textové hodnoty shodné.\r\nFIND\t\t\t= NAJÍT\t\t\t##\tNalezne textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena).\r\nFINDB\t\t\t= FINDB\t\t\t##\tNalezne textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena).\r\nFIXED\t\t\t= ZAOKROUHLIT.NA.TEXT\t##\tZformátuje číslo jako text s pevným počtem desetinných míst.\r\nJIS\t\t\t= JIS\t\t\t##\tZmění znaky s poloviční šířkou (jednobajtové) v řetězci znaků na znaky s plnou šířkou (dvoubajtové).\r\nLEFT\t\t\t= ZLEVA\t\t\t##\tVrátí první znaky textové hodnoty umístěné nejvíce vlevo.\r\nLEFTB\t\t\t= LEFTB\t\t\t##\tVrátí první znaky textové hodnoty umístěné nejvíce vlevo.\r\nLEN\t\t\t= DÉLKA\t\t\t##\tVrátí počet znaků textového řetězce.\r\nLENB\t\t\t= LENB\t\t\t##\tVrátí počet znaků textového řetězce.\r\nLOWER\t\t\t= MALÁ\t\t\t##\tPřevede text na malá písmena.\r\nMID\t\t\t= ČÁST\t\t\t##\tVrátí určitý počet znaků textového řetězce počínaje zadaným místem.\r\nMIDB\t\t\t= MIDB\t\t\t##\tVrátí určitý počet znaků textového řetězce počínaje zadaným místem.\r\nPHONETIC\t\t= ZVUKOVÉ\t\t##\tExtrahuje fonetické znaky (furigana) z textového řetězce.\r\nPROPER\t\t\t= VELKÁ2\t\t##\tPřevede první písmeno každého slova textové hodnoty na velké.\r\nREPLACE\t\t\t= NAHRADIT\t\t##\tNahradí znaky uvnitř textu.\r\nREPLACEB\t\t= NAHRADITB\t\t##\tNahradí znaky uvnitř textu.\r\nREPT\t\t\t= OPAKOVAT\t\t##\tZopakuje text podle zadaného počtu opakování.\r\nRIGHT\t\t\t= ZPRAVA\t\t##\tVrátí první znaky textové hodnoty umístěné nejvíce vpravo.\r\nRIGHTB\t\t\t= RIGHTB\t\t##\tVrátí první znaky textové hodnoty umístěné nejvíce vpravo.\r\nSEARCH\t\t\t= HLEDAT\t\t##\tNalezne textovou hodnotu uvnitř jiné (malá a velká písmena nejsou rozlišována).\r\nSEARCHB\t\t\t= SEARCHB\t\t##\tNalezne textovou hodnotu uvnitř jiné (malá a velká písmena nejsou rozlišována).\r\nSUBSTITUTE\t\t= DOSADIT\t\t##\tV textovém řetězci nahradí starý text novým.\r\nT\t\t\t= T\t\t\t##\tPřevede argumenty na text.\r\nTEXT\t\t\t= HODNOTA.NA.TEXT\t##\tZformátuje číslo a převede ho na text.\r\nTRIM\t\t\t= PROČISTIT\t\t##\tOdstraní z textu mezery.\r\nUPPER\t\t\t= VELKÁ\t\t\t##\tPřevede text na velká písmena.\r\nVALUE\t\t\t= HODNOTA\t\t##\tPřevede textový argument na číslo.\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/da/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= kr\n\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NUL!\r\nDIV0\t= #DIVISION/0!\r\nVALUE\t= #VÆRDI!\r\nREF\t= #REFERENCE!\r\nNAME\t= #NAVN?\r\nNUM\t= #NUM!\r\nNA\t= #I/T\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/da/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tTilføjelsesprogram- og automatiseringsfunktioner\r\n##\r\nGETPIVOTDATA\t\t= HENTPIVOTDATA\t\t\t##\tReturnerer data, der er lagret i en pivottabelrapport\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tKubefunktioner\r\n##\r\nCUBEKPIMEMBER\t\t= KUBE.KPI.MEDLEM\t\t##\tReturnerer navn, egenskab og mål for en KPI-indikator og viser navnet og egenskaben i cellen. En KPI-indikator er en målbar størrelse, f.eks. bruttooverskud pr. måned eller personaleudskiftning pr. kvartal, der bruges til at overvåge en organisations præstationer.\r\nCUBEMEMBER\t\t= KUBE.MEDLEM\t\t\t##\tReturnerer et medlem eller en tupel fra kubehierarkiet. Bruges til at validere, om et medlem eller en tupel findes i kuben.\r\nCUBEMEMBERPROPERTY\t= KUBEMEDLEM.EGENSKAB\t\t##\tReturnerer værdien af en egenskab for et medlem i kuben. Bruges til at validere, om et medlemsnavn findes i kuben, og returnere den angivne egenskab for medlemmet.\r\nCUBERANKEDMEMBER\t= KUBEMEDLEM.RANG\t\t##\tReturnerer det n'te eller rangordnede medlem i et sæt. Bruges til at returnere et eller flere elementer i et sæt, f.eks. topsælgere eller de 10 bedste elever.\r\nCUBESET\t\t\t= KUBESÆT\t\t\t##\tDefinerer et beregnet sæt medlemmer eller tupler ved at sende et sætudtryk til kuben på serveren, som opretter sættet og returnerer det til Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= KUBESÆT.TÆL\t\t\t##\tReturnerer antallet af elementer i et sæt.\r\nCUBEVALUE\t\t= KUBEVÆRDI\t\t\t##\tReturnerer en sammenlagt (aggregeret) værdi fra en kube.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tDatabasefunktioner\r\n##\r\nDAVERAGE\t\t= DMIDDEL\t\t\t##\tReturnerer gennemsnittet af markerede databaseposter\r\nDCOUNT\t\t\t= DTÆL\t\t\t\t##\tTæller de celler, der indeholder tal, i en database\r\nDCOUNTA\t\t\t= DTÆLV\t\t\t\t##\tTæller udfyldte celler i en database\r\nDGET\t\t\t= DHENT\t\t\t\t##\tUddrager en enkelt post, der opfylder de angivne kriterier, fra en database\r\nDMAX\t\t\t= DMAKS\t\t\t\t##\tReturnerer den største værdi blandt markerede databaseposter\r\nDMIN\t\t\t= DMIN\t\t\t\t##\tReturnerer den mindste værdi blandt markerede databaseposter\r\nDPRODUCT\t\t= DPRODUKT\t\t\t##\tGanger værdierne i et bestemt felt med poster, der opfylder kriterierne i en database\r\nDSTDEV\t\t\t= DSTDAFV\t\t\t##\tBeregner et skøn over standardafvigelsen baseret på en stikprøve af markerede databaseposter\r\nDSTDEVP\t\t\t= DSTDAFVP\t\t\t##\tBeregner standardafvigelsen baseret på hele populationen af markerede databaseposter\r\nDSUM\t\t\t= DSUM\t\t\t\t##\tSammenlægger de tal i feltkolonnen i databasen, der opfylder kriterierne\r\nDVAR\t\t\t= DVARIANS\t\t\t##\tBeregner varians baseret på en stikprøve af markerede databaseposter\r\nDVARP\t\t\t= DVARIANSP\t\t\t##\tBeregner varians baseret på hele populationen af markerede databaseposter\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tDato- og klokkeslætsfunktioner\r\n##\r\nDATE\t\t\t= DATO\t\t\t\t##\tReturnerer serienummeret for en bestemt dato\r\nDATEVALUE\t\t= DATOVÆRDI\t\t\t##\tKonverterer en dato i form af tekst til et serienummer\r\nDAY\t\t\t= DAG\t\t\t\t##\tKonverterer et serienummer til en dag i måneden\r\nDAYS360\t\t\t= DAGE360\t\t\t##\tBeregner antallet af dage mellem to datoer på grundlag af et år med 360 dage\r\nEDATE\t\t\t= EDATO\t\t\t\t##\tReturnerer serienummeret for den dato, der ligger det angivne antal måneder før eller efter startdatoen\r\nEOMONTH\t\t\t= SLUT.PÅ.MÅNED\t\t\t##\tReturnerer serienummeret på den sidste dag i måneden før eller efter et angivet antal måneder\r\nHOUR\t\t\t= TIME\t\t\t\t##\tKonverterer et serienummer til en time\r\nMINUTE\t\t\t= MINUT\t\t\t\t##\tKonverterer et serienummer til et minut\r\nMONTH\t\t\t= MÅNED\t\t\t\t##\tKonverterer et serienummer til en måned\r\nNETWORKDAYS\t\t= ANTAL.ARBEJDSDAGE\t\t##\tReturnerer antallet af hele arbejdsdage mellem to datoer\r\nNOW\t\t\t= NU\t\t\t\t##\tReturnerer serienummeret for den aktuelle dato eller det aktuelle klokkeslæt\r\nSECOND\t\t\t= SEKUND\t\t\t##\tKonverterer et serienummer til et sekund\r\nTIME\t\t\t= KLOKKESLÆT\t\t\t##\tReturnerer serienummeret for et bestemt klokkeslæt\r\nTIMEVALUE\t\t= TIDSVÆRDI\t\t\t##\tKonverterer et klokkeslæt i form af tekst til et serienummer\r\nTODAY\t\t\t= IDAG\t\t\t\t##\tReturnerer serienummeret for dags dato\r\nWEEKDAY\t\t\t= UGEDAG\t\t\t##\tKonverterer et serienummer til en ugedag\r\nWEEKNUM\t\t\t= UGE.NR\t\t\t##\tKonverterer et serienummer til et tal, der angiver ugenummeret i året\r\nWORKDAY\t\t\t= ARBEJDSDAG\t\t\t##\tReturnerer serienummeret for dagen før eller efter det angivne antal arbejdsdage\r\nYEAR\t\t\t= ÅR\t\t\t\t##\tKonverterer et serienummer til et år\r\nYEARFRAC\t\t= ÅR.BRØK\t\t\t##\tReturnerer årsbrøken, der repræsenterer antallet af hele dage mellem startdato og slutdato\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tTekniske funktioner\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tReturnerer den modificerede Bessel-funktion In(x)\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tReturnerer Bessel-funktionen Jn(x)\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tReturnerer den modificerede Bessel-funktion Kn(x)\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tReturnerer Bessel-funktionen Yn(x)\r\nBIN2DEC\t\t\t= BIN.TIL.DEC\t\t\t##\tKonverterer et binært tal til et decimaltal\r\nBIN2HEX\t\t\t= BIN.TIL.HEX\t\t\t##\tKonverterer et binært tal til et heksadecimalt tal\r\nBIN2OCT\t\t\t= BIN.TIL.OKT\t\t\t##\tKonverterer et binært tal til et oktaltal.\r\nCOMPLEX\t\t\t= KOMPLEKS\t\t\t##\tKonverterer reelle og imaginære koefficienter til et komplekst tal\r\nCONVERT\t\t\t= KONVERTER\t\t\t##\tKonverterer et tal fra én måleenhed til en anden\r\nDEC2BIN\t\t\t= DEC.TIL.BIN\t\t\t##\tKonverterer et decimaltal til et binært tal\r\nDEC2HEX\t\t\t= DEC.TIL.HEX\t\t\t##\tKonverterer et decimaltal til et heksadecimalt tal\r\nDEC2OCT\t\t\t= DEC.TIL.OKT\t\t\t##\tKonverterer et decimaltal til et oktaltal\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tTester, om to værdier er ens\r\nERF\t\t\t= FEJLFUNK\t\t\t##\tReturner fejlfunktionen\r\nERFC\t\t\t= FEJLFUNK.KOMP\t\t\t##\tReturnerer den komplementære fejlfunktion\r\nGESTEP\t\t\t= GETRIN\t\t\t##\tTester, om et tal er større end en grænseværdi\r\nHEX2BIN\t\t\t= HEX.TIL.BIN\t\t\t##\tKonverterer et heksadecimalt tal til et binært tal\r\nHEX2DEC\t\t\t= HEX.TIL.DEC\t\t\t##\tKonverterer et decimaltal til et heksadecimalt tal\r\nHEX2OCT\t\t\t= HEX.TIL.OKT\t\t\t##\tKonverterer et heksadecimalt tal til et oktaltal\r\nIMABS\t\t\t= IMAGABS\t\t\t##\tReturnerer den absolutte værdi (modulus) for et komplekst tal\r\nIMAGINARY\t\t= IMAGINÆR\t\t\t##\tReturnerer den imaginære koefficient for et komplekst tal\r\nIMARGUMENT\t\t= IMAGARGUMENT\t\t\t##\tReturnerer argumentet theta, en vinkel udtrykt i radianer\r\nIMCONJUGATE\t\t= IMAGKONJUGERE\t\t\t##\tReturnerer den komplekse konjugation af et komplekst tal\r\nIMCOS\t\t\t= IMAGCOS\t\t\t##\tReturnerer et komplekst tals cosinus\r\nIMDIV\t\t\t= IMAGDIV\t\t\t##\tReturnerer kvotienten for to komplekse tal\r\nIMEXP\t\t\t= IMAGEKSP\t\t\t##\tReturnerer et komplekst tals eksponentialfunktion\r\nIMLN\t\t\t= IMAGLN\t\t\t##\tReturnerer et komplekst tals naturlige logaritme\r\nIMLOG10\t\t\t= IMAGLOG10\t\t\t##\tReturnerer et komplekst tals sædvanlige logaritme (titalslogaritme)\r\nIMLOG2\t\t\t= IMAGLOG2\t\t\t##\tReturnerer et komplekst tals sædvanlige logaritme (totalslogaritme)\r\nIMPOWER\t\t\t= IMAGPOTENS\t\t\t##\tReturnerer et komplekst tal opløftet i en heltalspotens\r\nIMPRODUCT\t\t= IMAGPRODUKT\t\t\t##\tReturnerer produktet af komplekse tal\r\nIMREAL\t\t\t= IMAGREELT\t\t\t##\tReturnerer den reelle koefficient for et komplekst tal\r\nIMSIN\t\t\t= IMAGSIN\t\t\t##\tReturnerer et komplekst tals sinus\r\nIMSQRT\t\t\t= IMAGKVROD\t\t\t##\tReturnerer et komplekst tals kvadratrod\r\nIMSUB\t\t\t= IMAGSUB\t\t\t##\tReturnerer forskellen mellem to komplekse tal\r\nIMSUM\t\t\t= IMAGSUM\t\t\t##\tReturnerer summen af komplekse tal\r\nOCT2BIN\t\t\t= OKT.TIL.BIN\t\t\t##\tKonverterer et oktaltal til et binært tal\r\nOCT2DEC\t\t\t= OKT.TIL.DEC\t\t\t##\tKonverterer et oktaltal til et decimaltal\r\nOCT2HEX\t\t\t= OKT.TIL.HEX\t\t\t##\tKonverterer et oktaltal til et heksadecimalt tal\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFinansielle funktioner\r\n##\r\nACCRINT\t\t\t= PÅLØBRENTE\t\t\t##\tReturnerer den påløbne rente for et værdipapir med periodiske renteudbetalinger\r\nACCRINTM\t\t= PÅLØBRENTE.UDLØB\t\t##\tReturnerer den påløbne rente for et værdipapir, hvor renteudbetalingen finder sted ved papirets udløb\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tReturnerer afskrivningsbeløbet for hver regnskabsperiode ved hjælp af en afskrivningskoefficient\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tReturnerer afskrivningsbeløbet for hver regnskabsperiode\r\nCOUPDAYBS\t\t= KUPONDAGE.SA\t\t\t##\tReturnerer antallet af dage fra starten af kuponperioden til afregningsdatoen\r\nCOUPDAYS\t\t= KUPONDAGE.A\t\t\t##\tReturnerer antallet af dage fra begyndelsen af kuponperioden til afregningsdatoen\r\nCOUPDAYSNC\t\t= KUPONDAGE.ANK\t\t\t##\tReturnerer antallet af dage i den kuponperiode, der indeholder afregningsdatoen\r\nCOUPNCD\t\t\t= KUPONDAG.NÆSTE\t\t##\tReturnerer den næste kupondato efter afregningsdatoen\r\nCOUPNUM\t\t\t= KUPONBETALINGER\t\t##\tReturnerer antallet af kuponudbetalinger mellem afregnings- og udløbsdatoen\r\nCOUPPCD\t\t\t= KUPONDAG.FORRIGE\t\t##\tReturnerer den forrige kupondato før afregningsdatoen\r\nCUMIPMT\t\t\t= AKKUM.RENTE\t\t\t##\tReturnerer den akkumulerede rente, der betales på et lån mellem to perioder\r\nCUMPRINC\t\t= AKKUM.HOVEDSTOL\t\t##\tReturnerer den akkumulerede nedbringelse af hovedstol mellem to perioder\r\nDB\t\t\t= DB\t\t\t\t##\tReturnerer afskrivningen på et aktiv i en angivet periode ved anvendelse af saldometoden\r\nDDB\t\t\t= DSA\t\t\t\t##\tReturnerer afskrivningsbeløbet for et aktiv over en bestemt periode ved anvendelse af dobbeltsaldometoden eller en anden afskrivningsmetode, som du angiver\r\nDISC\t\t\t= DISKONTO\t\t\t##\tReturnerer et værdipapirs diskonto\r\nDOLLARDE\t\t= KR.DECIMAL\t\t\t##\tKonverterer en kronepris udtrykt som brøk til en kronepris udtrykt som decimaltal\r\nDOLLARFR\t\t= KR.BRØK\t\t\t##\tKonverterer en kronepris udtrykt som decimaltal til en kronepris udtrykt som brøk\r\nDURATION\t\t= VARIGHED\t\t\t##\tReturnerer den årlige løbetid for et værdipapir med periodiske renteudbetalinger\r\nEFFECT\t\t\t= EFFEKTIV.RENTE\t\t##\tReturnerer den årlige effektive rente\r\nFV\t\t\t= FV\t\t\t\t##\tReturnerer fremtidsværdien af en investering\r\nFVSCHEDULE\t\t= FVTABEL\t\t\t##\tReturnerer den fremtidige værdi af en hovedstol, når der er tilskrevet rente og rentes rente efter forskellige rentesatser\r\nINTRATE\t\t\t= RENTEFOD\t\t\t##\tReturnerer renten på et fuldt ud investeret værdipapir\r\nIPMT\t\t\t= R.YDELSE\t\t\t##\tReturnerer renten fra en investering for en given periode\r\nIRR\t\t\t= IA\t\t\t\t##\tReturnerer den interne rente for en række pengestrømme\r\nISPMT\t\t\t= ISPMT\t\t\t\t##\tBeregner den betalte rente i løbet af en bestemt investeringsperiode\r\nMDURATION\t\t= MVARIGHED\t\t\t##\tReturnerer Macauleys modificerede løbetid for et værdipapir med en formodet pari på kr. 100\r\nMIRR\t\t\t= MIA\t\t\t\t##\tReturnerer den interne forrentning, hvor positive og negative pengestrømme finansieres til forskellig rente\r\nNOMINAL\t\t\t= NOMINEL\t\t\t##\tReturnerer den årlige nominelle rente\r\nNPER\t\t\t= NPER\t\t\t\t##\tReturnerer antallet af perioder for en investering\r\nNPV\t\t\t= NUTIDSVÆRDI\t\t\t##\tReturnerer nettonutidsværdien for en investering baseret på en række periodiske pengestrømme og en diskonteringssats\r\nODDFPRICE\t\t= ULIGE.KURS.PÅLYDENDE\t\t##\tReturnerer kursen pr. kr. 100 nominel værdi for et værdipapir med en ulige (kort eller lang) første periode\r\nODDFYIELD\t\t= ULIGE.FØRSTE.AFKAST\t\t##\tReturnerer afkastet for et værdipapir med ulige første periode\r\nODDLPRICE\t\t= ULIGE.SIDSTE.KURS\t\t##\tReturnerer kursen pr. kr. 100 nominel værdi for et værdipapir med ulige sidste periode\r\nODDLYIELD\t\t= ULIGE.SIDSTE.AFKAST\t\t##\tReturnerer afkastet for et værdipapir med ulige sidste periode\r\nPMT\t\t\t= YDELSE\t\t\t##\tReturnerer renten fra en investering for en given periode\r\nPPMT\t\t\t= H.YDELSE\t\t\t##\tReturnerer ydelsen på hovedstolen for en investering i en given periode\r\nPRICE\t\t\t= KURS\t\t\t\t##\tReturnerer kursen pr. kr 100 nominel værdi for et værdipapir med periodiske renteudbetalinger\r\nPRICEDISC\t\t= KURS.DISKONTO\t\t\t##\tReturnerer kursen pr. kr 100 nominel værdi for et diskonteret værdipapir\r\nPRICEMAT\t\t= KURS.UDLØB\t\t\t##\tReturnerer kursen pr. kr 100 nominel værdi for et værdipapir, hvor renten udbetales ved papirets udløb\r\nPV\t\t\t= NV\t\t\t\t##\tReturnerer den nuværende værdi af en investering\r\nRATE\t\t\t= RENTE\t\t\t\t##\tReturnerer renten i hver periode for en annuitet\r\nRECEIVED\t\t= MODTAGET.VED.UDLØB\t\t##\tReturnerer det beløb, der modtages ved udløbet af et fuldt ud investeret værdipapir\r\nSLN\t\t\t= LA\t\t\t\t##\tReturnerer den lineære afskrivning for et aktiv i en enkelt periode\r\nSYD\t\t\t= ÅRSAFSKRIVNING\t\t##\tReturnerer den årlige afskrivning på et aktiv i en bestemt periode\r\nTBILLEQ\t\t\t= STATSOBLIGATION\t\t##\tReturnerer det obligationsækvivalente afkast for en statsobligation\r\nTBILLPRICE\t\t= STATSOBLIGATION.KURS\t\t##\tReturnerer kursen pr. kr 100 nominel værdi for en statsobligation\r\nTBILLYIELD\t\t= STATSOBLIGATION.AFKAST\t##\tReturnerer en afkastet på en statsobligation\r\nVDB\t\t\t= VSA\t\t\t\t##\tReturnerer afskrivningen på et aktiv i en angivet periode, herunder delperioder, ved brug af dobbeltsaldometoden\r\nXIRR\t\t\t= INTERN.RENTE\t\t\t##\tReturnerer den interne rente for en plan over pengestrømme, der ikke behøver at være periodiske\r\nXNPV\t\t\t= NETTO.NUTIDSVÆRDI\t\t##\tReturnerer nutidsværdien for en plan over pengestrømme, der ikke behøver at være periodiske\r\nYIELD\t\t\t= AFKAST\t\t\t##\tReturnerer afkastet for et værdipapir med periodiske renteudbetalinger\r\nYIELDDISC\t\t= AFKAST.DISKONTO\t\t##\tReturnerer det årlige afkast for et diskonteret værdipapir, f.eks. en statsobligation\r\nYIELDMAT\t\t= AFKAST.UDLØBSDATO\t\t##\tReturnerer det årlige afkast for et værdipapir, hvor renten udbetales ved papirets udløb\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tInformationsfunktioner\r\n##\r\nCELL\t\t\t= CELLE\t\t\t\t##\tReturnerer oplysninger om formatering, placering eller indhold af en celle\r\nERROR.TYPE\t\t= FEJLTYPE\t\t\t##\tReturnerer et tal, der svarer til en fejltype\r\nINFO\t\t\t= INFO\t\t\t\t##\tReturnerer oplysninger om det aktuelle operativmiljø\r\nISBLANK\t\t\t= ER.TOM\t\t\t##\tReturnerer SAND, hvis værdien er tom\r\nISERR\t\t\t= ER.FJL\t\t\t##\tReturnerer SAND, hvis værdien er en fejlværdi undtagen #I/T\r\nISERROR\t\t\t= ER.FEJL\t\t\t##\tReturnerer SAND, hvis værdien er en fejlværdi\r\nISEVEN\t\t\t= ER.LIGE\t\t\t##\tReturnerer SAND, hvis tallet er lige\r\nISLOGICAL\t\t= ER.LOGISK\t\t\t##\tReturnerer SAND, hvis værdien er en logisk værdi\r\nISNA\t\t\t= ER.IKKE.TILGÆNGELIG\t\t##\tReturnerer SAND, hvis værdien er fejlværdien #I/T\r\nISNONTEXT\t\t= ER.IKKE.TEKST\t\t\t##\tReturnerer SAND, hvis værdien ikke er tekst\r\nISNUMBER\t\t= ER.TAL\t\t\t##\tReturnerer SAND, hvis værdien er et tal\r\nISODD\t\t\t= ER.ULIGE\t\t\t##\tReturnerer SAND, hvis tallet er ulige\r\nISREF\t\t\t= ER.REFERENCE\t\t\t##\tReturnerer SAND, hvis værdien er en reference\r\nISTEXT\t\t\t= ER.TEKST\t\t\t##\tReturnerer SAND, hvis værdien er tekst\r\nN\t\t\t= TAL\t\t\t\t##\tReturnerer en værdi konverteret til et tal\r\nNA\t\t\t= IKKE.TILGÆNGELIG\t\t##\tReturnerer fejlværdien #I/T\r\nTYPE\t\t\t= VÆRDITYPE\t\t\t##\tReturnerer et tal, der angiver datatypen for en værdi\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tLogiske funktioner\r\n##\r\nAND\t\t\t= OG\t\t\t\t##\tReturnerer SAND, hvis alle argumenterne er sande\r\nFALSE\t\t\t= FALSK\t\t\t\t##\tReturnerer den logiske værdi FALSK\r\nIF\t\t\t= HVIS\t\t\t\t##\tAngiver en logisk test, der skal udføres\r\nIFERROR\t\t\t= HVIS.FEJL\t\t\t##\tReturnerer en værdi, du angiver, hvis en formel evauleres som en fejl. Returnerer i modsat fald resultatet af formlen\r\nNOT\t\t\t= IKKE\t\t\t\t##\tVender argumentets logik om\r\nOR\t\t\t= ELLER\t\t\t\t##\tReturneret værdien SAND, hvis mindst ét argument er sandt\r\nTRUE\t\t\t= SAND\t\t\t\t##\tReturnerer den logiske værdi SAND\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tOpslags- og referencefunktioner\r\n##\r\nADDRESS\t\t\t= ADRESSE\t\t\t##\tReturnerer en reference som tekst til en enkelt celle i et regneark\r\nAREAS\t\t\t= OMRÅDER\t\t\t##\tReturnerer antallet af områder i en reference\r\nCHOOSE\t\t\t= VÆLG\t\t\t\t##\tVælger en værdi på en liste med værdier\r\nCOLUMN\t\t\t= KOLONNE\t\t\t##\tReturnerer kolonnenummeret i en reference\r\nCOLUMNS\t\t\t= KOLONNER\t\t\t##\tReturnerer antallet af kolonner i en reference\r\nHLOOKUP\t\t\t= VOPSLAG\t\t\t##\tSøger i den øverste række af en matrix og returnerer værdien af den angivne celle\r\nHYPERLINK\t\t= HYPERLINK\t\t\t##\tOpretter en genvej kaldet et hyperlink, der åbner et dokument, som er lagret på en netværksserver, på et intranet eller på internettet\r\nINDEX\t\t\t= INDEKS\t\t\t##\tAnvender et indeks til at vælge en værdi fra en reference eller en matrix\r\nINDIRECT\t\t= INDIREKTE\t\t\t##\tReturnerer en reference, der er angivet af en tekstværdi\r\nLOOKUP\t\t\t= SLÅ.OP\t\t\t##\tSøger værdier i en vektor eller en matrix\r\nMATCH\t\t\t= SAMMENLIGN\t\t\t##\tSøger værdier i en reference eller en matrix\r\nOFFSET\t\t\t= FORSKYDNING\t\t\t##\tReturnerer en reference forskudt i forhold til en given reference\r\nROW\t\t\t= RÆKKE\t\t\t\t##\tReturnerer rækkenummeret for en reference\r\nROWS\t\t\t= RÆKKER\t\t\t##\tReturnerer antallet af rækker i en reference\r\nRTD\t\t\t= RTD\t\t\t\t##\tHenter realtidsdata fra et program, der understøtter COM-automatisering (Automation: En metode til at arbejde med objekter fra et andet program eller udviklingsværktøj. Automation, som tidligere blev kaldt OLE Automation, er en industristandard og en funktion i COM (Component Object Model).)\r\nTRANSPOSE\t\t= TRANSPONER\t\t\t##\tReturnerer en transponeret matrix\r\nVLOOKUP\t\t\t= LOPSLAG\t\t\t##\tSøger i øverste række af en matrix og flytter på tværs af rækken for at returnere en celleværdi\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tMatematiske og trigonometriske funktioner\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tReturnerer den absolutte værdi af et tal\r\nACOS\t\t\t= ARCCOS\t\t\t##\tReturnerer et tals arcus cosinus\r\nACOSH\t\t\t= ARCCOSH\t\t\t##\tReturnerer den inverse hyperbolske cosinus af tal\r\nASIN\t\t\t= ARCSIN\t\t\t##\tReturnerer et tals arcus sinus\r\nASINH\t\t\t= ARCSINH\t\t\t##\tReturnerer den inverse hyperbolske sinus for tal\r\nATAN\t\t\t= ARCTAN\t\t\t##\tReturnerer et tals arcus tangens\r\nATAN2\t\t\t= ARCTAN2\t\t\t##\tReturnerer de angivne x- og y-koordinaters arcus tangens\r\nATANH\t\t\t= ARCTANH\t\t\t##\tReturnerer et tals inverse hyperbolske tangens\r\nCEILING\t\t\t= AFRUND.LOFT\t\t\t##\tAfrunder et tal til nærmeste heltal eller til nærmeste multiplum af betydning\r\nCOMBIN\t\t\t= KOMBIN\t\t\t##\tReturnerer antallet af kombinationer for et givet antal objekter\r\nCOS\t\t\t= COS\t\t\t\t##\tReturnerer et tals cosinus\r\nCOSH\t\t\t= COSH\t\t\t\t##\tReturnerer den inverse hyperbolske cosinus af et tal\r\nDEGREES\t\t\t= GRADER\t\t\t##\tKonverterer radianer til grader\r\nEVEN\t\t\t= LIGE\t\t\t\t##\tRunder et tal op til nærmeste lige heltal\r\nEXP\t\t\t= EKSP\t\t\t\t##\tReturnerer e opløftet til en potens af et angivet tal\r\nFACT\t\t\t= FAKULTET\t\t\t##\tReturnerer et tals fakultet\r\nFACTDOUBLE\t\t= DOBBELT.FAKULTET\t\t##\tReturnerer et tals dobbelte fakultet\r\nFLOOR\t\t\t= AFRUND.GULV\t\t\t##\tRunder et tal ned mod nul\r\nGCD\t\t\t= STØRSTE.FÆLLES.DIVISOR\t##\tReturnerer den største fælles divisor\r\nINT\t\t\t= HELTAL\t\t\t##\tNedrunder et tal til det nærmeste heltal\r\nLCM\t\t\t= MINDSTE.FÆLLES.MULTIPLUM\t##\tReturnerer det mindste fælles multiplum\r\nLN\t\t\t= LN\t\t\t\t##\tReturnerer et tals naturlige logaritme\r\nLOG\t\t\t= LOG\t\t\t\t##\tReturnerer logaritmen for et tal på grundlag af et angivet grundtal\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tReturnerer titalslogaritmen af et tal\r\nMDETERM\t\t\t= MDETERM\t\t\t##\tReturnerer determinanten for en matrix\r\nMINVERSE\t\t= MINVERT\t\t\t##\tReturnerer den inverse matrix for en matrix\r\nMMULT\t\t\t= MPRODUKT\t\t\t##\tReturnerer matrixproduktet af to matrixer\r\nMOD\t\t\t= REST\t\t\t\t##\tReturnerer restværdien fra division\r\nMROUND\t\t\t= MAFRUND\t\t\t##\tReturnerer et tal afrundet til det ønskede multiplum\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t\t##\tReturnerer et multinomialt talsæt\r\nODD\t\t\t= ULIGE\t\t\t\t##\tRunder et tal op til nærmeste ulige heltal\r\nPI\t\t\t= PI\t\t\t\t##\tReturnerer værdien af pi\r\nPOWER\t\t\t= POTENS\t\t\t##\tReturnerer resultatet af et tal opløftet til en potens\r\nPRODUCT\t\t\t= PRODUKT\t\t\t##\tMultiplicerer argumenterne\r\nQUOTIENT\t\t= KVOTIENT\t\t\t##\tReturnerer heltalsdelen ved division\r\nRADIANS\t\t\t= RADIANER\t\t\t##\tKonverterer grader til radianer\r\nRAND\t\t\t= SLUMP\t\t\t\t##\tReturnerer et tilfældigt tal mellem 0 og 1\r\nRANDBETWEEN\t\t= SLUMP.MELLEM\t\t\t##\tReturnerer et tilfældigt tal mellem de tal, der angives\r\nROMAN\t\t\t= ROMERTAL\t\t\t##\tKonverterer et arabertal til romertal som tekst\r\nROUND\t\t\t= AFRUND\t\t\t##\tAfrunder et tal til et angivet antal decimaler\r\nROUNDDOWN\t\t= RUND.NED\t\t\t##\tRunder et tal ned mod nul\r\nROUNDUP\t\t\t= RUND.OP\t\t\t##\tRunder et tal op, væk fra 0 (nul)\r\nSERIESSUM\t\t= SERIESUM\t\t\t##\tReturnerer summen af en potensserie baseret på en formel\r\nSIGN\t\t\t= FORTEGN\t\t\t##\tReturnerer et tals fortegn\r\nSIN\t\t\t= SIN\t\t\t\t##\tReturnerer en given vinkels sinusværdi\r\nSINH\t\t\t= SINH\t\t\t\t##\tReturnerer den hyperbolske sinus af et tal\r\nSQRT\t\t\t= KVROD\t\t\t\t##\tReturnerer en positiv kvadratrod\r\nSQRTPI\t\t\t= KVRODPI\t\t\t##\tReturnerer kvadratroden af (tal * pi;)\r\nSUBTOTAL\t\t= SUBTOTAL\t\t\t##\tReturnerer en subtotal på en liste eller i en database\r\nSUM\t\t\t= SUM\t\t\t\t##\tLægger argumenterne sammen\r\nSUMIF\t\t\t= SUM.HVIS\t\t\t##\tLægger de celler sammen, der er specificeret af et givet kriterium.\r\nSUMIFS\t\t\t= SUM.HVISER\t\t\t##\tLægger de celler i et område sammen, der opfylder flere kriterier.\r\nSUMPRODUCT\t\t= SUMPRODUKT\t\t\t##\tReturnerer summen af produkter af ens matrixkomponenter\r\nSUMSQ\t\t\t= SUMKV\t\t\t\t##\tReturnerer summen af argumenternes kvadrater\r\nSUMX2MY2\t\t= SUMX2MY2\t\t\t##\tReturnerer summen af differensen mellem kvadrater af ens værdier i to matrixer\r\nSUMX2PY2\t\t= SUMX2PY2\t\t\t##\tReturnerer summen af summen af kvadrater af tilsvarende værdier i to matrixer\r\nSUMXMY2\t\t\t= SUMXMY2\t\t\t##\tReturnerer summen af kvadrater af differenser mellem ens værdier i to matrixer\r\nTAN\t\t\t= TAN\t\t\t\t##\tReturnerer et tals tangens\r\nTANH\t\t\t= TANH\t\t\t\t##\tReturnerer et tals hyperbolske tangens\r\nTRUNC\t\t\t= AFKORT\t\t\t##\tAfkorter et tal til et heltal\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tStatistiske funktioner\r\n##\r\nAVEDEV\t\t\t= MAD\t\t\t\t##\tReturnerer den gennemsnitlige numeriske afvigelse fra stikprøvens middelværdi\r\nAVERAGE\t\t\t= MIDDEL\t\t\t##\tReturnerer middelværdien af argumenterne\r\nAVERAGEA\t\t= MIDDELV\t\t\t##\tReturnerer middelværdien af argumenterne og medtager tal, tekst og logiske værdier\r\nAVERAGEIF\t\t= MIDDEL.HVIS\t\t\t##\tReturnerer gennemsnittet (den aritmetiske middelværdi) af alle de celler, der opfylder et givet kriterium, i et område\r\nAVERAGEIFS\t\t= MIDDEL.HVISER\t\t\t##\tReturnerer gennemsnittet (den aritmetiske middelværdi) af alle de celler, der opfylder flere kriterier.\r\nBETADIST\t\t= BETAFORDELING\t\t\t##\tReturnerer den kumulative betafordelingsfunktion\r\nBETAINV\t\t\t= BETAINV\t\t\t##\tReturnerer den inverse kumulative fordelingsfunktion for en angivet betafordeling\r\nBINOMDIST\t\t= BINOMIALFORDELING\t\t##\tReturnerer punktsandsynligheden for binomialfordelingen\r\nCHIDIST\t\t\t= CHIFORDELING\t\t\t##\tReturnerer fraktilsandsynligheden for en chi2-fordeling\r\nCHIINV\t\t\t= CHIINV\t\t\t##\tReturnerer den inverse fraktilsandsynlighed for en chi2-fordeling\r\nCHITEST\t\t\t= CHITEST\t\t\t##\tForetager en test for uafhængighed\r\nCONFIDENCE\t\t= KONFIDENSINTERVAL\t\t##\tReturnerer et konfidensinterval for en population\r\nCORREL\t\t\t= KORRELATION\t\t\t##\tReturnerer korrelationskoefficienten mellem to datasæt\r\nCOUNT\t\t\t= TÆL\t\t\t\t##\tTæller antallet af tal på en liste med argumenter\r\nCOUNTA\t\t\t= TÆLV\t\t\t\t##\tTæller antallet af værdier på en liste med argumenter\r\nCOUNTBLANK\t\t= ANTAL.BLANKE\t\t\t##\tTæller antallet af tomme celler i et område\r\nCOUNTIF\t\t\t= TÆLHVIS\t\t\t##\tTæller antallet af celler, som opfylder de givne kriterier, i et område\r\nCOUNTIFS\t\t= TÆL.HVISER\t\t\t##\tTæller antallet af de celler, som opfylder flere kriterier, i et område\r\nCOVAR\t\t\t= KOVARIANS\t\t\t##\tBeregner kovariansen mellem to stokastiske variabler\r\nCRITBINOM\t\t= KRITBINOM\t\t\t##\tReturnerer den mindste værdi for x, for hvilken det gælder, at fordelingsfunktionen er mindre end eller lig med kriterieværdien.\r\nDEVSQ\t\t\t= SAK\t\t\t\t##\tReturnerer summen af de kvadrerede afvigelser fra middelværdien\r\nEXPONDIST\t\t= EKSPFORDELING\t\t\t##\tReturnerer eksponentialfordelingen\r\nFDIST\t\t\t= FFORDELING\t\t\t##\tReturnerer fraktilsandsynligheden for F-fordelingen\r\nFINV\t\t\t= FINV\t\t\t\t##\tReturnerer den inverse fraktilsandsynlighed for F-fordelingen\r\nFISHER\t\t\t= FISHER\t\t\t##\tReturnerer Fisher-transformationen\r\nFISHERINV\t\t= FISHERINV\t\t\t##\tReturnerer den inverse Fisher-transformation\r\nFORECAST\t\t= PROGNOSE\t\t\t##\tReturnerer en prognoseværdi baseret på lineær tendens\r\nFREQUENCY\t\t= FREKVENS\t\t\t##\tReturnerer en frekvensfordeling i en søjlevektor\r\nFTEST\t\t\t= FTEST\t\t\t\t##\tReturnerer resultatet af en F-test til sammenligning af varians\r\nGAMMADIST\t\t= GAMMAFORDELING\t\t##\tReturnerer fordelingsfunktionen for gammafordelingen\r\nGAMMAINV\t\t= GAMMAINV\t\t\t##\tReturnerer den inverse fordelingsfunktion for gammafordelingen\r\nGAMMALN\t\t\t= GAMMALN\t\t\t##\tReturnerer den naturlige logaritme til gammafordelingen, G(x)\r\nGEOMEAN\t\t\t= GEOMIDDELVÆRDI\t\t##\tReturnerer det geometriske gennemsnit\r\nGROWTH\t\t\t= FORØGELSE\t\t\t##\tReturnerer værdier langs en eksponentiel tendens\r\nHARMEAN\t\t\t= HARMIDDELVÆRDI\t\t##\tReturnerer det harmoniske gennemsnit\r\nHYPGEOMDIST\t\t= HYPGEOFORDELING\t\t##\tReturnerer punktsandsynligheden i en hypergeometrisk fordeling\r\nINTERCEPT\t\t= SKÆRING\t\t\t##\tReturnerer afskæringsværdien på y-aksen i en lineær regression\r\nKURT\t\t\t= TOPSTEJL\t\t\t##\tReturnerer kurtosisværdien for en stokastisk variabel\r\nLARGE\t\t\t= STOR\t\t\t\t##\tReturnerer den k'te største værdi i et datasæt\r\nLINEST\t\t\t= LINREGR\t\t\t##\tReturnerer parameterestimaterne for en lineær tendens\r\nLOGEST\t\t\t= LOGREGR\t\t\t##\tReturnerer parameterestimaterne for en eksponentiel tendens\r\nLOGINV\t\t\t= LOGINV\t\t\t##\tReturnerer den inverse fordelingsfunktion for lognormalfordelingen\r\nLOGNORMDIST\t\t= LOGNORMFORDELING\t\t##\tReturnerer fordelingsfunktionen for lognormalfordelingen\r\nMAX\t\t\t= MAKS\t\t\t\t##\tReturnerer den maksimale værdi på en liste med argumenter.\r\nMAXA\t\t\t= MAKSV\t\t\t\t##\tReturnerer den maksimale værdi på en liste med argumenter og medtager tal, tekst og logiske værdier\r\nMEDIAN\t\t\t= MEDIAN\t\t\t##\tReturnerer medianen for de angivne tal\r\nMIN\t\t\t= MIN\t\t\t\t##\tReturnerer den mindste værdi på en liste med argumenter.\r\nMINA\t\t\t= MINV\t\t\t\t##\tReturnerer den mindste værdi på en liste med argumenter og medtager tal, tekst og logiske værdier\r\nMODE\t\t\t= HYPPIGST\t\t\t##\tReturnerer den hyppigste værdi i et datasæt\r\nNEGBINOMDIST\t\t= NEGBINOMFORDELING\t\t##\tReturnerer den negative binomialfordeling\r\nNORMDIST\t\t= NORMFORDELING\t\t\t##\tReturnerer fordelingsfunktionen for normalfordelingen\r\nNORMINV\t\t\t= NORMINV\t\t\t##\tReturnerer den inverse fordelingsfunktion for normalfordelingen\r\nNORMSDIST\t\t= STANDARDNORMFORDELING\t\t##\tReturnerer fordelingsfunktionen for standardnormalfordelingen\r\nNORMSINV\t\t= STANDARDNORMINV\t\t##\tReturnerer den inverse fordelingsfunktion for standardnormalfordelingen\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tReturnerer Pearsons korrelationskoefficient\r\nPERCENTILE\t\t= FRAKTIL\t\t\t##\tReturnerer den k'te fraktil for datasættet\r\nPERCENTRANK\t\t= PROCENTPLADS\t\t\t##\tReturnerer den procentuelle rang for en given værdi i et datasæt\r\nPERMUT\t\t\t= PERMUT\t\t\t##\tReturnerer antallet af permutationer for et givet sæt objekter\r\nPOISSON\t\t\t= POISSON\t\t\t##\tReturnerer fordelingsfunktionen for en Poisson-fordeling\r\nPROB\t\t\t= SANDSYNLIGHED\t\t\t##\tReturnerer intervalsandsynligheden\r\nQUARTILE\t\t= KVARTIL\t\t\t##\tReturnerer kvartilen i et givet datasæt\r\nRANK\t\t\t= PLADS\t\t\t\t##\tReturnerer rangen for et tal på en liste med tal\r\nRSQ\t\t\t= FORKLARINGSGRAD\t\t##\tReturnerer R2-værdien fra en simpel lineær regression\r\nSKEW\t\t\t= SKÆVHED\t\t\t##\tReturnerer skævheden for en stokastisk variabel\r\nSLOPE\t\t\t= HÆLDNING\t\t\t##\tReturnerer estimatet på hældningen fra en simpel lineær regression\r\nSMALL\t\t\t= MINDSTE\t\t\t##\tReturnerer den k'te mindste værdi i datasættet\r\nSTANDARDIZE\t\t= STANDARDISER\t\t\t##\tReturnerer en standardiseret værdi\r\nSTDEV\t\t\t= STDAFV\t\t\t##\tEstimerer standardafvigelsen på basis af en stikprøve\r\nSTDEVA\t\t\t= STDAFVV\t\t\t##\tBeregner standardafvigelsen på basis af en prøve og medtager tal, tekst og logiske værdier\r\nSTDEVP\t\t\t= STDAFVP\t\t\t##\tBeregner standardafvigelsen på basis af en hel population\r\nSTDEVPA\t\t\t= STDAFVPV\t\t\t##\tBeregner standardafvigelsen på basis af en hel population og medtager tal, tekst og logiske værdier\r\nSTEYX\t\t\t= STFYX\t\t\t\t##\tReturnerer standardafvigelsen for de estimerede y-værdier i den simple lineære regression\r\nTDIST\t\t\t= TFORDELING\t\t\t##\tReturnerer fordelingsfunktionen for Student's t-fordeling\r\nTINV\t\t\t= TINV\t\t\t\t##\tReturnerer den inverse fordelingsfunktion for Student's t-fordeling\r\nTREND\t\t\t= TENDENS\t\t\t##\tReturnerer værdi under antagelse af en lineær tendens\r\nTRIMMEAN\t\t= TRIMMIDDELVÆRDI\t\t##\tReturnerer den trimmede middelværdi for datasættet\r\nTTEST\t\t\t= TTEST\t\t\t\t##\tReturnerer den sandsynlighed, der er forbundet med Student's t-test\r\nVAR\t\t\t= VARIANS\t\t\t##\tBeregner variansen på basis af en prøve\r\nVARA\t\t\t= VARIANSV\t\t\t##\tBeregner variansen på basis af en prøve og medtager tal, tekst og logiske værdier\r\nVARP\t\t\t= VARIANSP\t\t\t##\tBeregner variansen på basis af hele populationen\r\nVARPA\t\t\t= VARIANSPV\t\t\t##\tBeregner variansen på basis af hele populationen og medtager tal, tekst og logiske værdier\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tReturnerer fordelingsfunktionen for Weibull-fordelingen\r\nZTEST\t\t\t= ZTEST\t\t\t\t##\tReturnerer sandsynlighedsværdien ved en en-sidet z-test\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tTekstfunktioner\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tÆndrer engelske tegn i fuld bredde (dobbelt-byte) eller katakana i en tegnstreng til tegn i halv bredde (enkelt-byte)\r\nBAHTTEXT\t\t= BAHTTEKST\t\t\t##\tKonverterer et tal til tekst ved hjælp af valutaformatet ß (baht)\r\nCHAR\t\t\t= TEGN\t\t\t\t##\tReturnerer det tegn, der svarer til kodenummeret\r\nCLEAN\t\t\t= RENS\t\t\t\t##\tFjerner alle tegn, der ikke kan udskrives, fra tekst\r\nCODE\t\t\t= KODE\t\t\t\t##\tReturnerer en numerisk kode for det første tegn i en tekststreng\r\nCONCATENATE\t\t= SAMMENKÆDNING\t\t\t##\tSammenkæder adskillige tekstelementer til ét tekstelement\r\nDOLLAR\t\t\t= KR\t\t\t\t##\tKonverterer et tal til tekst ved hjælp af valutaformatet kr. (kroner)\r\nEXACT\t\t\t= EKSAKT\t\t\t##\tKontrollerer, om to tekstværdier er identiske\r\nFIND\t\t\t= FIND\t\t\t\t##\tSøger efter en tekstværdi i en anden tekstværdi (der skelnes mellem store og små bogstaver)\r\nFINDB\t\t\t= FINDB\t\t\t\t##\tSøger efter en tekstværdi i en anden tekstværdi (der skelnes mellem store og små bogstaver)\r\nFIXED\t\t\t= FAST\t\t\t\t##\tFormaterer et tal som tekst med et fast antal decimaler\r\nJIS\t\t\t= JIS\t\t\t\t##\tÆndrer engelske tegn i halv bredde (enkelt-byte) eller katakana i en tegnstreng til tegn i fuld bredde (dobbelt-byte)\r\nLEFT\t\t\t= VENSTRE\t\t\t##\tReturnerer tegnet længst til venstre i en tekstværdi\r\nLEFTB\t\t\t= VENSTREB\t\t\t##\tReturnerer tegnet længst til venstre i en tekstværdi\r\nLEN\t\t\t= LÆNGDE\t\t\t##\tReturnerer antallet af tegn i en tekststreng\r\nLENB\t\t\t= LÆNGDEB\t\t\t##\tReturnerer antallet af tegn i en tekststreng\r\nLOWER\t\t\t= SMÅ.BOGSTAVER\t\t\t##\tKonverterer tekst til små bogstaver\r\nMID\t\t\t= MIDT\t\t\t\t##\tReturnerer et bestemt antal tegn fra en tekststreng fra og med den angivne startposition\r\nMIDB\t\t\t= MIDTB\t\t\t\t##\tReturnerer et bestemt antal tegn fra en tekststreng fra og med den angivne startposition\r\nPHONETIC\t\t= FONETISK\t\t\t##\tUddrager de fonetiske (furigana) tegn fra en tekststreng\r\nPROPER\t\t\t= STORT.FORBOGSTAV\t\t##\tKonverterer første bogstav i hvert ord i teksten til stort bogstav\r\nREPLACE\t\t\t= ERSTAT\t\t\t##\tErstatter tegn i tekst\r\nREPLACEB\t\t= ERSTATB\t\t\t##\tErstatter tegn i tekst\r\nREPT\t\t\t= GENTAG\t\t\t##\tGentager tekst et givet antal gange\r\nRIGHT\t\t\t= HØJRE\t\t\t\t##\tReturnerer tegnet længste til højre i en tekstværdi\r\nRIGHTB\t\t\t= HØJREB\t\t\t##\tReturnerer tegnet længste til højre i en tekstværdi\r\nSEARCH\t\t\t= SØG\t\t\t\t##\tSøger efter en tekstværdi i en anden tekstværdi (der skelnes ikke mellem store og små bogstaver)\r\nSEARCHB\t\t\t= SØGB\t\t\t\t##\tSøger efter en tekstværdi i en anden tekstværdi (der skelnes ikke mellem store og små bogstaver)\r\nSUBSTITUTE\t\t= UDSKIFT\t\t\t##\tUdskifter gammel tekst med ny tekst i en tekststreng\r\nT\t\t\t= T\t\t\t\t##\tKonverterer argumenterne til tekst\r\nTEXT\t\t\t= TEKST\t\t\t\t##\tFormaterer et tal og konverterer det til tekst\r\nTRIM\t\t\t= FJERN.OVERFLØDIGE.BLANKE\t##\tFjerner mellemrum fra tekst\r\nUPPER\t\t\t= STORE.BOGSTAVER\t\t##\tKonverterer tekst til store bogstaver\r\nVALUE\t\t\t= VÆRDI\t\t\t\t##\tKonverterer et tekstargument til et tal\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/de/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= €\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NULL!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #WERT!\r\nREF\t= #BEZUG!\r\nNAME\t= #NAME?\r\nNUM\t= #ZAHL!\r\nNA\t= #NV\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/de/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tAdd-In- und Automatisierungsfunktionen\r\n##\r\nGETPIVOTDATA\t= PIVOTDATENZUORDNEN\t\t\t##\tIn einem PivotTable-Bericht gespeicherte Daten werden zurückgegeben.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tCubefunktionen\r\n##\r\nCUBEKPIMEMBER\t\t= CUBEKPIELEMENT\t\t##\tGibt Name, Eigenschaft und Measure eines Key Performance Indicators (KPI) zurück und zeigt den Namen und die Eigenschaft in der Zelle an. Ein KPI ist ein quantifizierbares Maß, wie z. B. der monatliche Bruttogewinn oder die vierteljährliche Mitarbeiterfluktuation, mit dessen Hilfe das Leistungsverhalten eines Unternehmens überwacht werden kann.\r\nCUBEMEMBER\t\t= CUBEELEMENT\t\t\t##\tGibt ein Element oder ein Tuple in einer Cubehierarchie zurück. Wird verwendet, um zu überprüfen, ob das Element oder Tuple im Cube vorhanden ist.\r\nCUBEMEMBERPROPERTY\t= CUBEELEMENTEIGENSCHAFT\t##\tGibt den Wert einer Elementeigenschaft im Cube zurück. Wird verwendet, um zu überprüfen, ob ein Elementname im Cube vorhanden ist, und um die für dieses Element angegebene Eigenschaft zurückzugeben.\r\nCUBERANKEDMEMBER\t= CUBERANGELEMENT\t\t##\tGibt das n-te oder n-rangige Element in einer Menge zurück. Wird verwendet, um mindestens ein Element in einer Menge zurückzugeben, wie z. B. bester Vertriebsmitarbeiter oder 10 beste Kursteilnehmer.\r\nCUBESET\t\t\t= CUBEMENGE\t\t\t##\tDefiniert eine berechnete Menge Elemente oder Tuples durch Senden eines Mengenausdrucks an den Cube auf dem Server, der die Menge erstellt und an Microsoft Office Excel zurückgibt.\r\nCUBESETCOUNT\t\t= CUBEMENGENANZAHL\t\t##\tGibt die Anzahl der Elemente in einer Menge zurück.\r\nCUBEVALUE\t\t= CUBEWERT\t\t\t##\tGibt einen Aggregatwert aus einem Cube zurück.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tDatenbankfunktionen\r\n##\r\nDAVERAGE\t\t= DBMITTELWERT\t\t\t##\tGibt den Mittelwert der ausgewählten Datenbankeinträge zurück\r\nDCOUNT\t\t\t= DBANZAHL\t\t\t##\tZählt die Zellen mit Zahlen in einer Datenbank\r\nDCOUNTA\t\t\t= DBANZAHL2\t\t\t##\tZählt nicht leere Zellen in einer Datenbank\r\nDGET\t\t\t= DBAUSZUG\t\t\t##\tExtrahiert aus einer Datenbank einen einzelnen Datensatz, der den angegebenen Kriterien entspricht\r\nDMAX\t\t\t= DBMAX\t\t\t\t##\tGibt den größten Wert aus ausgewählten Datenbankeinträgen zurück\r\nDMIN\t\t\t= DBMIN\t\t\t\t##\tGibt den kleinsten Wert aus ausgewählten Datenbankeinträgen zurück\r\nDPRODUCT\t\t= DBPRODUKT\t\t\t##\tMultipliziert die Werte in einem bestimmten Feld mit Datensätzen, die den Kriterien in einer Datenbank entsprechen\r\nDSTDEV\t\t\t= DBSTDABW\t\t\t##\tSchätzt die Standardabweichung auf der Grundlage einer Stichprobe aus ausgewählten Datenbankeinträgen\r\nDSTDEVP\t\t\t= DBSTDABWN\t\t\t##\tBerechnet die Standardabweichung auf der Grundlage der Grundgesamtheit ausgewählter Datenbankeinträge\r\nDSUM\t\t\t= DBSUMME\t\t\t##\tAddiert die Zahlen in der Feldspalte mit Datensätzen in der Datenbank, die den Kriterien entsprechen\r\nDVAR\t\t\t= DBVARIANZ\t\t\t##\tSchätzt die Varianz auf der Grundlage ausgewählter Datenbankeinträge\r\nDVARP\t\t\t= DBVARIANZEN\t\t\t##\tBerechnet die Varianz auf der Grundlage der Grundgesamtheit ausgewählter Datenbankeinträge\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tDatums- und Zeitfunktionen\r\n##\r\nDATE\t\t\t= DATUM\t\t\t\t##\tGibt die fortlaufende Zahl eines bestimmten Datums zurück\r\nDATEVALUE\t\t= DATWERT\t\t\t##\tWandelt ein Datum in Form von Text in eine fortlaufende Zahl um\r\nDAY\t\t\t= TAG\t\t\t\t##\tWandelt eine fortlaufende Zahl in den Tag des Monats um\r\nDAYS360\t\t\t= TAGE360\t\t\t##\tBerechnet die Anzahl der Tage zwischen zwei Datumsangaben ausgehend von einem Jahr, das 360 Tage hat\r\nEDATE\t\t\t= EDATUM\t\t\t##\tGibt die fortlaufende Zahl des Datums zurück, bei dem es sich um die angegebene Anzahl von Monaten vor oder nach dem Anfangstermin handelt\r\nEOMONTH\t\t\t= MONATSENDE\t\t\t##\tGibt die fortlaufende Zahl des letzten Tags des Monats vor oder nach einer festgelegten Anzahl von Monaten zurück\r\nHOUR\t\t\t= STUNDE\t\t\t##\tWandelt eine fortlaufende Zahl in eine Stunde um\r\nMINUTE\t\t\t= MINUTE\t\t\t##\tWandelt eine fortlaufende Zahl in eine Minute um\r\nMONTH\t\t\t= MONAT\t\t\t\t##\tWandelt eine fortlaufende Zahl in einen Monat um\r\nNETWORKDAYS\t\t= NETTOARBEITSTAGE\t\t##\tGibt die Anzahl von ganzen Arbeitstagen zwischen zwei Datumswerten zurück\r\nNOW\t\t\t= JETZT\t\t\t\t##\tGibt die fortlaufende Zahl des aktuellen Datums und der aktuellen Uhrzeit zurück\r\nSECOND\t\t\t= SEKUNDE\t\t\t##\tWandelt eine fortlaufende Zahl in eine Sekunde um\r\nTIME\t\t\t= ZEIT\t\t\t\t##\tGibt die fortlaufende Zahl einer bestimmten Uhrzeit zurück\r\nTIMEVALUE\t\t= ZEITWERT\t\t\t##\tWandelt eine Uhrzeit in Form von Text in eine fortlaufende Zahl um\r\nTODAY\t\t\t= HEUTE\t\t\t\t##\tGibt die fortlaufende Zahl des heutigen Datums zurück\r\nWEEKDAY\t\t\t= WOCHENTAG\t\t\t##\tWandelt eine fortlaufende Zahl in den Wochentag um\r\nWEEKNUM\t\t\t= KALENDERWOCHE\t\t\t##\tWandelt eine fortlaufende Zahl in eine Zahl um, die angibt, in welche Woche eines Jahres das angegebene Datum fällt\r\nWORKDAY\t\t\t= ARBEITSTAG\t\t\t##\tGibt die fortlaufende Zahl des Datums vor oder nach einer bestimmten Anzahl von Arbeitstagen zurück\r\nYEAR\t\t\t= JAHR\t\t\t\t##\tWandelt eine fortlaufende Zahl in ein Jahr um\r\nYEARFRAC\t\t= BRTEILJAHRE\t\t\t##\tGibt die Anzahl der ganzen Tage zwischen Ausgangsdatum und Enddatum in Bruchteilen von Jahren zurück\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tKonstruktionsfunktionen\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tGibt die geänderte Besselfunktion In(x) zurück\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tGibt die Besselfunktion Jn(x) zurück\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tGibt die geänderte Besselfunktion Kn(x) zurück\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tGibt die Besselfunktion Yn(x) zurück\r\nBIN2DEC\t\t\t= BININDEZ\t\t\t##\tWandelt eine binäre Zahl (Dualzahl) in eine dezimale Zahl um\r\nBIN2HEX\t\t\t= BININHEX\t\t\t##\tWandelt eine binäre Zahl (Dualzahl) in eine hexadezimale Zahl um\r\nBIN2OCT\t\t\t= BININOKT\t\t\t##\tWandelt eine binäre Zahl (Dualzahl) in eine oktale Zahl um\r\nCOMPLEX\t\t\t= KOMPLEXE\t\t\t##\tWandelt den Real- und Imaginärteil in eine komplexe Zahl um\r\nCONVERT\t\t\t= UMWANDELN\t\t\t##\tWandelt eine Zahl von einem Maßsystem in ein anderes um\r\nDEC2BIN\t\t\t= DEZINBIN\t\t\t##\tWandelt eine dezimale Zahl in eine binäre Zahl (Dualzahl) um\r\nDEC2HEX\t\t\t= DEZINHEX\t\t\t##\tWandelt eine dezimale Zahl in eine hexadezimale Zahl um\r\nDEC2OCT\t\t\t= DEZINOKT\t\t\t##\tWandelt eine dezimale Zahl in eine oktale Zahl um\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tÜberprüft, ob zwei Werte gleich sind\r\nERF\t\t\t= GAUSSFEHLER\t\t\t##\tGibt die Gauss'sche Fehlerfunktion zurück\r\nERFC\t\t\t= GAUSSFKOMPL\t\t\t##\tGibt das Komplement zur Gauss'schen Fehlerfunktion zurück\r\nGESTEP\t\t\t= GGANZZAHL\t\t\t##\tÜberprüft, ob eine Zahl größer als ein gegebener Schwellenwert ist\r\nHEX2BIN\t\t\t= HEXINBIN\t\t\t##\tWandelt eine hexadezimale Zahl in eine Binärzahl um\r\nHEX2DEC\t\t\t= HEXINDEZ\t\t\t##\tWandelt eine hexadezimale Zahl in eine dezimale Zahl um\r\nHEX2OCT\t\t\t= HEXINOKT\t\t\t##\tWandelt eine hexadezimale Zahl in eine Oktalzahl um\r\nIMABS\t\t\t= IMABS\t\t\t\t##\tGibt den Absolutbetrag (Modulo) einer komplexen Zahl zurück\r\nIMAGINARY\t\t= IMAGINÄRTEIL\t\t\t##\tGibt den Imaginärteil einer komplexen Zahl zurück\r\nIMARGUMENT\t\t= IMARGUMENT\t\t\t##\tGibt das Argument Theta zurück, einen Winkel, der als Bogenmaß ausgedrückt wird\r\nIMCONJUGATE\t\t= IMKONJUGIERTE\t\t\t##\tGibt die konjugierte komplexe Zahl zu einer komplexen Zahl zurück\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tGibt den Kosinus einer komplexen Zahl zurück\r\nIMDIV\t\t\t= IMDIV\t\t\t\t##\tGibt den Quotienten zweier komplexer Zahlen zurück\r\nIMEXP\t\t\t= IMEXP\t\t\t\t##\tGibt die algebraische Form einer in exponentieller Schreibweise vorliegenden komplexen Zahl zurück\r\nIMLN\t\t\t= IMLN\t\t\t\t##\tGibt den natürlichen Logarithmus einer komplexen Zahl zurück\r\nIMLOG10\t\t\t= IMLOG10\t\t\t##\tGibt den Logarithmus einer komplexen Zahl zur Basis 10 zurück\r\nIMLOG2\t\t\t= IMLOG2\t\t\t##\tGibt den Logarithmus einer komplexen Zahl zur Basis 2 zurück\r\nIMPOWER\t\t\t= IMAPOTENZ\t\t\t##\tPotenziert eine komplexe Zahl mit einer ganzen Zahl\r\nIMPRODUCT\t\t= IMPRODUKT\t\t\t##\tGibt das Produkt von komplexen Zahlen zurück\r\nIMREAL\t\t\t= IMREALTEIL\t\t\t##\tGibt den Realteil einer komplexen Zahl zurück\r\nIMSIN\t\t\t= IMSIN\t\t\t\t##\tGibt den Sinus einer komplexen Zahl zurück\r\nIMSQRT\t\t\t= IMWURZEL\t\t\t##\tGibt die Quadratwurzel einer komplexen Zahl zurück\r\nIMSUB\t\t\t= IMSUB\t\t\t\t##\tGibt die Differenz zwischen zwei komplexen Zahlen zurück\r\nIMSUM\t\t\t= IMSUMME\t\t\t##\tGibt die Summe von komplexen Zahlen zurück\r\nOCT2BIN\t\t\t= OKTINBIN\t\t\t##\tWandelt eine oktale Zahl in eine binäre Zahl (Dualzahl) um\r\nOCT2DEC\t\t\t= OKTINDEZ\t\t\t##\tWandelt eine oktale Zahl in eine dezimale Zahl um\r\nOCT2HEX\t\t\t= OKTINHEX\t\t\t##\tWandelt eine oktale Zahl in eine hexadezimale Zahl um\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFinanzmathematische Funktionen\r\n##\r\nACCRINT\t\t\t= AUFGELZINS\t\t\t##\tGibt die aufgelaufenen Zinsen (Stückzinsen) eines Wertpapiers mit periodischen Zinszahlungen zurück\r\nACCRINTM\t\t= AUFGELZINSF\t\t\t##\tGibt die aufgelaufenen Zinsen (Stückzinsen) eines Wertpapiers zurück, die bei Fälligkeit ausgezahlt werden\r\nAMORDEGRC\t\t= AMORDEGRK\t\t\t##\tGibt die Abschreibung für die einzelnen Abschreibungszeiträume mithilfe eines Abschreibungskoeffizienten zurück\r\nAMORLINC\t\t= AMORLINEARK\t\t\t##\tGibt die Abschreibung für die einzelnen Abschreibungszeiträume zurück\r\nCOUPDAYBS\t\t= ZINSTERMTAGVA\t\t\t##\tGibt die Anzahl der Tage vom Anfang des Zinstermins bis zum Abrechnungstermin zurück\r\nCOUPDAYS\t\t= ZINSTERMTAGE\t\t\t##\tGibt die Anzahl der Tage der Zinsperiode zurück, die den Abrechnungstermin einschließt\r\nCOUPDAYSNC\t\t= ZINSTERMTAGNZ\t\t\t##\tGibt die Anzahl der Tage vom Abrechnungstermin bis zum nächsten Zinstermin zurück\r\nCOUPNCD\t\t\t= ZINSTERMNZ\t\t\t##\tGibt das Datum des ersten Zinstermins nach dem Abrechnungstermin zurück\r\nCOUPNUM\t\t\t= ZINSTERMZAHL\t\t\t##\tGibt die Anzahl der Zinstermine zwischen Abrechnungs- und Fälligkeitsdatum zurück\r\nCOUPPCD\t\t\t= ZINSTERMVZ\t\t\t##\tGibt das Datum des letzten Zinstermins vor dem Abrechnungstermin zurück\r\nCUMIPMT\t\t\t= KUMZINSZ\t\t\t##\tBerechnet die kumulierten Zinsen, die zwischen zwei Perioden zu zahlen sind\r\nCUMPRINC\t\t= KUMKAPITAL\t\t\t##\tBerechnet die aufgelaufene Tilgung eines Darlehens, die zwischen zwei Perioden zu zahlen ist\r\nDB\t\t\t= GDA2\t\t\t\t##\tGibt die geometrisch-degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode zurück\r\nDDB\t\t\t= GDA\t\t\t\t##\tGibt die Abschreibung eines Anlageguts für einen angegebenen Zeitraum unter Verwendung der degressiven Doppelraten-Abschreibung oder eines anderen von Ihnen angegebenen Abschreibungsverfahrens zurück\r\nDISC\t\t\t= DISAGIO\t\t\t##\tGibt den in Prozent ausgedrückten Abzinsungssatz eines Wertpapiers zurück\r\nDOLLARDE\t\t= NOTIERUNGDEZ\t\t\t##\tWandelt eine Notierung, die als Dezimalbruch ausgedrückt wurde, in eine Dezimalzahl um\r\nDOLLARFR\t\t= NOTIERUNGBRU\t\t\t##\tWandelt eine Notierung, die als Dezimalzahl ausgedrückt wurde, in einen Dezimalbruch um\r\nDURATION\t\t= DURATION\t\t\t##\tGibt die jährliche Duration eines Wertpapiers mit periodischen Zinszahlungen zurück\r\nEFFECT\t\t\t= EFFEKTIV\t\t\t##\tGibt die jährliche Effektivverzinsung zurück\r\nFV\t\t\t= ZW\t\t\t\t##\tGibt den zukünftigen Wert (Endwert) einer Investition zurück\r\nFVSCHEDULE\t\t= ZW2\t\t\t\t##\tGibt den aufgezinsten Wert des Anfangskapitals für eine Reihe periodisch unterschiedlicher Zinssätze zurück\r\nINTRATE\t\t\t= ZINSSATZ\t\t\t##\tGibt den Zinssatz eines voll investierten Wertpapiers zurück\r\nIPMT\t\t\t= ZINSZ\t\t\t\t##\tGibt die Zinszahlung einer Investition für die angegebene Periode zurück\r\nIRR\t\t\t= IKV\t\t\t\t##\tGibt den internen Zinsfuß einer Investition ohne Finanzierungskosten oder Reinvestitionsgewinne zurück\r\nISPMT\t\t\t= ISPMT\t\t\t\t##\tBerechnet die während eines bestimmten Zeitraums für eine Investition gezahlten Zinsen\r\nMDURATION\t\t= MDURATION\t\t\t##\tGibt die geänderte Dauer für ein Wertpapier mit einem angenommenen Nennwert von 100 € zurück\r\nMIRR\t\t\t= QIKV\t\t\t\t##\tGibt den internen Zinsfuß zurück, wobei positive und negative Zahlungen zu unterschiedlichen Sätzen finanziert werden\r\nNOMINAL\t\t\t= NOMINAL\t\t\t##\tGibt die jährliche Nominalverzinsung zurück\r\nNPER\t\t\t= ZZR\t\t\t\t##\tGibt die Anzahl der Zahlungsperioden einer Investition zurück\r\nNPV\t\t\t= NBW\t\t\t\t##\tGibt den Nettobarwert einer Investition auf Basis periodisch anfallender Zahlungen und eines Abzinsungsfaktors zurück\r\nODDFPRICE\t\t= UNREGER.KURS\t\t\t##\tGibt den Kurs pro 100 € Nennwert eines Wertpapiers mit einem unregelmäßigen ersten Zinstermin zurück\r\nODDFYIELD\t\t= UNREGER.REND\t\t\t##\tGibt die Rendite eines Wertpapiers mit einem unregelmäßigen ersten Zinstermin zurück\r\nODDLPRICE\t\t= UNREGLE.KURS\t\t\t##\tGibt den Kurs pro 100 € Nennwert eines Wertpapiers mit einem unregelmäßigen letzten Zinstermin zurück\r\nODDLYIELD\t\t= UNREGLE.REND\t\t\t##\tGibt die Rendite eines Wertpapiers mit einem unregelmäßigen letzten Zinstermin zurück\r\nPMT\t\t\t= RMZ\t\t\t\t##\tGibt die periodische Zahlung für eine Annuität zurück\r\nPPMT\t\t\t= KAPZ\t\t\t\t##\tGibt die Kapitalrückzahlung einer Investition für eine angegebene Periode zurück\r\nPRICE\t\t\t= KURS\t\t\t\t##\tGibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück, das periodisch Zinsen auszahlt\r\nPRICEDISC\t\t= KURSDISAGIO\t\t\t##\tGibt den Kurs pro 100 € Nennwert eines unverzinslichen Wertpapiers zurück\r\nPRICEMAT\t\t= KURSFÄLLIG\t\t\t##\tGibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück, das Zinsen am Fälligkeitsdatum auszahlt\r\nPV\t\t\t= BW\t\t\t\t##\tGibt den Barwert einer Investition zurück\r\nRATE\t\t\t= ZINS\t\t\t\t##\tGibt den Zinssatz pro Zeitraum einer Annuität zurück\r\nRECEIVED\t\t= AUSZAHLUNG\t\t\t##\tGibt den Auszahlungsbetrag eines voll investierten Wertpapiers am Fälligkeitstermin zurück\r\nSLN\t\t\t= LIA\t\t\t\t##\tGibt die lineare Abschreibung eines Wirtschaftsguts pro Periode zurück\r\nSYD\t\t\t= DIA\t\t\t\t##\tGibt die arithmetisch-degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode zurück\r\nTBILLEQ\t\t\t= TBILLÄQUIV\t\t\t##\tGibt die Rendite für ein Wertpapier zurück\r\nTBILLPRICE\t\t= TBILLKURS\t\t\t##\tGibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück\r\nTBILLYIELD\t\t= TBILLRENDITE\t\t\t##\tGibt die Rendite für ein Wertpapier zurück\r\nVDB\t\t\t= VDB\t\t\t\t##\tGibt die degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode oder Teilperiode zurück\r\nXIRR\t\t\t= XINTZINSFUSS\t\t\t##\tGibt den internen Zinsfuß einer Reihe nicht periodisch anfallender Zahlungen zurück\r\nXNPV\t\t\t= XKAPITALWERT\t\t\t##\tGibt den Nettobarwert (Kapitalwert) einer Reihe nicht periodisch anfallender Zahlungen zurück\r\nYIELD\t\t\t= RENDITE\t\t\t##\tGibt die Rendite eines Wertpapiers zurück, das periodisch Zinsen auszahlt\r\nYIELDDISC\t\t= RENDITEDIS\t\t\t##\tGibt die jährliche Rendite eines unverzinslichen Wertpapiers zurück\r\nYIELDMAT\t\t= RENDITEFÄLL\t\t\t##\tGibt die jährliche Rendite eines Wertpapiers zurück, das Zinsen am Fälligkeitsdatum auszahlt\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tInformationsfunktionen\r\n##\r\nCELL\t\t\t= ZELLE\t\t\t\t##\tGibt Informationen zu Formatierung, Position oder Inhalt einer Zelle zurück\r\nERROR.TYPE\t\t= FEHLER.TYP\t\t\t##\tGibt eine Zahl zurück, die einem Fehlertyp entspricht\r\nINFO\t\t\t= INFO\t\t\t\t##\tGibt Informationen zur aktuellen Betriebssystemumgebung zurück\r\nISBLANK\t\t\t= ISTLEER\t\t\t##\tGibt WAHR zurück, wenn der Wert leer ist\r\nISERR\t\t\t= ISTFEHL\t\t\t##\tGibt WAHR zurück, wenn der Wert ein beliebiger Fehlerwert außer #N/V ist\r\nISERROR\t\t\t= ISTFEHLER\t\t\t##\tGibt WAHR zurück, wenn der Wert ein beliebiger Fehlerwert ist\r\nISEVEN\t\t\t= ISTGERADE\t\t\t##\tGibt WAHR zurück, wenn es sich um eine gerade Zahl handelt\r\nISLOGICAL\t\t= ISTLOG\t\t\t##\tGibt WAHR zurück, wenn der Wert ein Wahrheitswert ist\r\nISNA\t\t\t= ISTNV\t\t\t\t##\tGibt WAHR zurück, wenn der Wert der Fehlerwert #N/V ist\r\nISNONTEXT\t\t= ISTKTEXT\t\t\t##\tGibt WAHR zurück, wenn der Wert ein Element ist, das keinen Text enthält\r\nISNUMBER\t\t= ISTZAHL\t\t\t##\tGibt WAHR zurück, wenn der Wert eine Zahl ist\r\nISODD\t\t\t= ISTUNGERADE\t\t\t##\tGibt WAHR zurück, wenn es sich um eine ungerade Zahl handelt\r\nISREF\t\t\t= ISTBEZUG\t\t\t##\tGibt WAHR zurück, wenn der Wert ein Bezug ist\r\nISTEXT\t\t\t= ISTTEXT\t\t\t##\tGibt WAHR zurück, wenn der Wert ein Element ist, das Text enthält\r\nN\t\t\t= N\t\t\t\t##\tGibt den in eine Zahl umgewandelten Wert zurück\r\nNA\t\t\t= NV\t\t\t\t##\tGibt den Fehlerwert #NV zurück\r\nTYPE\t\t\t= TYP\t\t\t\t##\tGibt eine Zahl zurück, die den Datentyp des angegebenen Werts anzeigt\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tLogische Funktionen\r\n##\r\nAND\t\t\t= UND\t\t\t\t##\tGibt WAHR zurück, wenn alle zugehörigen Argumente WAHR sind\r\nFALSE\t\t\t= FALSCH\t\t\t##\tGibt den Wahrheitswert FALSCH zurück\r\nIF\t\t\t= WENN\t\t\t\t##\tGibt einen logischen Test zum Ausführen an\r\nIFERROR\t\t\t= WENNFEHLER\t\t\t##\tGibt einen von Ihnen festgelegten Wert zurück, wenn die Auswertung der Formel zu einem Fehler führt; andernfalls wird das Ergebnis der Formel zurückgegeben\r\nNOT\t\t\t= NICHT\t\t\t\t##\tKehrt den Wahrheitswert der zugehörigen Argumente um\r\nOR\t\t\t= ODER\t\t\t\t##\tGibt WAHR zurück, wenn ein Argument WAHR ist\r\nTRUE\t\t\t= WAHR\t\t\t\t##\tGibt den Wahrheitswert WAHR zurück\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tNachschlage- und Verweisfunktionen\r\n##\r\nADDRESS\t\t\t= ADRESSE\t\t\t##\tGibt einen Bezug auf eine einzelne Zelle in einem Tabellenblatt als Text zurück\r\nAREAS\t\t\t= BEREICHE\t\t\t##\tGibt die Anzahl der innerhalb eines Bezugs aufgeführten Bereiche zurück\r\nCHOOSE\t\t\t= WAHL\t\t\t\t##\tWählt einen Wert aus eine Liste mit Werten aus\r\nCOLUMN\t\t\t= SPALTE\t\t\t##\tGibt die Spaltennummer eines Bezugs zurück\r\nCOLUMNS\t\t\t= SPALTEN\t\t\t##\tGibt die Anzahl der Spalten in einem Bezug zurück\r\nHLOOKUP\t\t\t= HVERWEIS\t\t\t##\tSucht in der obersten Zeile einer Matrix und gibt den Wert der angegebenen Zelle zurück\r\nHYPERLINK\t\t= HYPERLINK\t\t\t##\tErstellt eine Verknüpfung, über die ein auf einem Netzwerkserver, in einem Intranet oder im Internet gespeichertes Dokument geöffnet wird\r\nINDEX\t\t\t= INDEX\t\t\t\t##\tVerwendet einen Index, um einen Wert aus einem Bezug oder einer Matrix auszuwählen\r\nINDIRECT\t\t= INDIREKT\t\t\t##\tGibt einen Bezug zurück, der von einem Textwert angegeben wird\r\nLOOKUP\t\t\t= LOOKUP\t\t\t##\tSucht Werte in einem Vektor oder einer Matrix\r\nMATCH\t\t\t= VERGLEICH\t\t\t##\tSucht Werte in einem Bezug oder einer Matrix\r\nOFFSET\t\t\t= BEREICH.VERSCHIEBEN\t\t##\tGibt einen Bezugoffset aus einem gegebenen Bezug zurück\r\nROW\t\t\t= ZEILE\t\t\t\t##\tGibt die Zeilennummer eines Bezugs zurück\r\nROWS\t\t\t= ZEILEN\t\t\t##\tGibt die Anzahl der Zeilen in einem Bezug zurück\r\nRTD\t\t\t= RTD\t\t\t\t##\tRuft Echtzeitdaten von einem Programm ab, das die COM-Automatisierung (Automatisierung: Ein Verfahren, bei dem aus einer Anwendung oder einem Entwicklungstool heraus mit den Objekten einer anderen Anwendung gearbeitet wird. Die früher als OLE-Automatisierung bezeichnete Automatisierung ist ein Industriestandard und eine Funktion von COM (Component Object Model).) unterstützt\r\nTRANSPOSE\t\t= MTRANS\t\t\t##\tGibt die transponierte Matrix einer Matrix zurück\r\nVLOOKUP\t\t\t= SVERWEIS\t\t\t##\tSucht in der ersten Spalte einer Matrix und arbeitet sich durch die Zeile, um den Wert einer Zelle zurückzugeben\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tMathematische und trigonometrische Funktionen\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tGibt den Absolutwert einer Zahl zurück\r\nACOS\t\t\t= ARCCOS\t\t\t##\tGibt den Arkuskosinus einer Zahl zurück\r\nACOSH\t\t\t= ARCCOSHYP\t\t\t##\tGibt den umgekehrten hyperbolischen Kosinus einer Zahl zurück\r\nASIN\t\t\t= ARCSIN\t\t\t##\tGibt den Arkussinus einer Zahl zurück\r\nASINH\t\t\t= ARCSINHYP\t\t\t##\tGibt den umgekehrten hyperbolischen Sinus einer Zahl zurück\r\nATAN\t\t\t= ARCTAN\t\t\t##\tGibt den Arkustangens einer Zahl zurück\r\nATAN2\t\t\t= ARCTAN2\t\t\t##\tGibt den Arkustangens einer x- und einer y-Koordinate zurück\r\nATANH\t\t\t= ARCTANHYP\t\t\t##\tGibt den umgekehrten hyperbolischen Tangens einer Zahl zurück\r\nCEILING\t\t\t= OBERGRENZE\t\t\t##\tRundet eine Zahl auf die nächste ganze Zahl oder das nächste Vielfache von Schritt\r\nCOMBIN\t\t\t= KOMBINATIONEN\t\t\t##\tGibt die Anzahl der Kombinationen für eine bestimmte Anzahl von Objekten zurück\r\nCOS\t\t\t= COS\t\t\t\t##\tGibt den Kosinus einer Zahl zurück\r\nCOSH\t\t\t= COSHYP\t\t\t##\tGibt den hyperbolischen Kosinus einer Zahl zurück\r\nDEGREES\t\t\t= GRAD\t\t\t\t##\tWandelt Bogenmaß (Radiant) in Grad um\r\nEVEN\t\t\t= GERADE\t\t\t##\tRundet eine Zahl auf die nächste gerade ganze Zahl auf\r\nEXP\t\t\t= EXP\t\t\t\t##\tPotenziert die Basis e mit der als Argument angegebenen Zahl\r\nFACT\t\t\t= FAKULTÄT\t\t\t##\tGibt die Fakultät einer Zahl zurück\r\nFACTDOUBLE\t\t= ZWEIFAKULTÄT\t\t\t##\tGibt die Fakultät zu Zahl mit Schrittlänge 2 zurück\r\nFLOOR\t\t\t= UNTERGRENZE\t\t\t##\tRundet die Zahl auf Anzahl_Stellen ab\r\nGCD\t\t\t= GGT\t\t\t\t##\tGibt den größten gemeinsamen Teiler zurück\r\nINT\t\t\t= GANZZAHL\t\t\t##\tRundet eine Zahl auf die nächstkleinere ganze Zahl ab\r\nLCM\t\t\t= KGV\t\t\t\t##\tGibt das kleinste gemeinsame Vielfache zurück\r\nLN\t\t\t= LN\t\t\t\t##\tGibt den natürlichen Logarithmus einer Zahl zurück\r\nLOG\t\t\t= LOG\t\t\t\t##\tGibt den Logarithmus einer Zahl zu der angegebenen Basis zurück\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tGibt den Logarithmus einer Zahl zur Basis 10 zurück\r\nMDETERM\t\t\t= MDET\t\t\t\t##\tGibt die Determinante einer Matrix zurück\r\nMINVERSE\t\t= MINV\t\t\t\t##\tGibt die inverse Matrix einer Matrix zurück\r\nMMULT\t\t\t= MMULT\t\t\t\t##\tGibt das Produkt zweier Matrizen zurück\r\nMOD\t\t\t= REST\t\t\t\t##\tGibt den Rest einer Division zurück\r\nMROUND\t\t\t= VRUNDEN\t\t\t##\tGibt eine auf das gewünschte Vielfache gerundete Zahl zurück\r\nMULTINOMIAL\t\t= POLYNOMIAL\t\t\t##\tGibt den Polynomialkoeffizienten einer Gruppe von Zahlen zurück\r\nODD\t\t\t= UNGERADE\t\t\t##\tRundet eine Zahl auf die nächste ungerade ganze Zahl auf\r\nPI\t\t\t= PI\t\t\t\t##\tGibt den Wert Pi zurück\r\nPOWER\t\t\t= POTENZ\t\t\t##\tGibt als Ergebnis eine potenzierte Zahl zurück\r\nPRODUCT\t\t\t= PRODUKT\t\t\t##\tMultipliziert die zugehörigen Argumente\r\nQUOTIENT\t\t= QUOTIENT\t\t\t##\tGibt den ganzzahligen Anteil einer Division zurück\r\nRADIANS\t\t\t= BOGENMASS\t\t\t##\tWandelt Grad in Bogenmaß (Radiant) um\r\nRAND\t\t\t= ZUFALLSZAHL\t\t\t##\tGibt eine Zufallszahl zwischen 0 und 1 zurück\r\nRANDBETWEEN\t\t= ZUFALLSBEREICH\t\t##\tGibt eine Zufallszahl aus dem festgelegten Bereich zurück\r\nROMAN\t\t\t= RÖMISCH\t\t\t##\tWandelt eine arabische Zahl in eine römische Zahl als Text um\r\nROUND\t\t\t= RUNDEN\t\t\t##\tRundet eine Zahl auf eine bestimmte Anzahl von Dezimalstellen\r\nROUNDDOWN\t\t= ABRUNDEN\t\t\t##\tRundet die Zahl auf Anzahl_Stellen ab\r\nROUNDUP\t\t\t= AUFRUNDEN\t\t\t##\tRundet die Zahl auf Anzahl_Stellen auf\r\nSERIESSUM\t\t= POTENZREIHE\t\t\t##\tGibt die Summe von Potenzen (zur Berechnung von Potenzreihen und dichotomen Wahrscheinlichkeiten) zurück\r\nSIGN\t\t\t= VORZEICHEN\t\t\t##\tGibt das Vorzeichen einer Zahl zurück\r\nSIN\t\t\t= SIN\t\t\t\t##\tGibt den Sinus einer Zahl zurück\r\nSINH\t\t\t= SINHYP\t\t\t##\tGibt den hyperbolischen Sinus einer Zahl zurück\r\nSQRT\t\t\t= WURZEL\t\t\t##\tGibt die Quadratwurzel einer Zahl zurück\r\nSQRTPI\t\t\t= WURZELPI\t\t\t##\tGibt die Wurzel aus der mit Pi (pi) multiplizierten Zahl zurück\r\nSUBTOTAL\t\t= TEILERGEBNIS\t\t\t##\tGibt ein Teilergebnis in einer Liste oder Datenbank zurück\r\nSUM\t\t\t= SUMME\t\t\t\t##\tAddiert die zugehörigen Argumente\r\nSUMIF\t\t\t= SUMMEWENN\t\t\t##\tAddiert Zahlen, die mit den Suchkriterien übereinstimmen\r\nSUMIFS\t\t\t= SUMMEWENNS\t\t\t##\tDie Zellen, die mehrere Kriterien erfüllen, werden in einem Bereich hinzugefügt\r\nSUMPRODUCT\t\t= SUMMENPRODUKT\t\t\t##\tGibt die Summe der Produkte zusammengehöriger Matrixkomponenten zurück\r\nSUMSQ\t\t\t= QUADRATESUMME\t\t\t##\tGibt die Summe der quadrierten Argumente zurück\r\nSUMX2MY2\t\t= SUMMEX2MY2\t\t\t##\tGibt die Summe der Differenzen der Quadrate für zusammengehörige Komponenten zweier Matrizen zurück\r\nSUMX2PY2\t\t= SUMMEX2PY2\t\t\t##\tGibt die Summe der Quadrate für zusammengehörige Komponenten zweier Matrizen zurück\r\nSUMXMY2\t\t\t= SUMMEXMY2\t\t\t##\tGibt die Summe der quadrierten Differenzen für zusammengehörige Komponenten zweier Matrizen zurück\r\nTAN\t\t\t= TAN\t\t\t\t##\tGibt den Tangens einer Zahl zurück\r\nTANH\t\t\t= TANHYP\t\t\t##\tGibt den hyperbolischen Tangens einer Zahl zurück\r\nTRUNC\t\t\t= KÜRZEN\t\t\t##\tSchneidet die Kommastellen einer Zahl ab und gibt als Ergebnis eine ganze Zahl zurück\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tStatistische Funktionen\r\n##\r\nAVEDEV\t\t\t= MITTELABW\t\t\t##\tGibt die durchschnittliche absolute Abweichung einer Reihe von Merkmalsausprägungen und ihrem Mittelwert zurück\r\nAVERAGE\t\t\t= MITTELWERT\t\t\t##\tGibt den Mittelwert der zugehörigen Argumente zurück\r\nAVERAGEA\t\t= MITTELWERTA\t\t\t##\tGibt den Mittelwert der zugehörigen Argumente, die Zahlen, Text und Wahrheitswerte enthalten, zurück\r\nAVERAGEIF\t\t= MITTELWERTWENN\t\t##\tDer Durchschnittswert (arithmetisches Mittel) für alle Zellen in einem Bereich, die einem angegebenen Kriterium entsprechen, wird zurückgegeben\r\nAVERAGEIFS\t\t= MITTELWERTWENNS\t\t##\tGibt den Durchschnittswert (arithmetisches Mittel) aller Zellen zurück, die mehreren Kriterien entsprechen\r\nBETADIST\t\t= BETAVERT\t\t\t##\tGibt die Werte der kumulierten Betaverteilungsfunktion zurück\r\nBETAINV\t\t\t= BETAINV\t\t\t##\tGibt das Quantil der angegebenen Betaverteilung zurück\r\nBINOMDIST\t\t= BINOMVERT\t\t\t##\tGibt Wahrscheinlichkeiten einer binomialverteilten Zufallsvariablen zurück\r\nCHIDIST\t\t\t= CHIVERT\t\t\t##\tGibt Werte der Verteilungsfunktion (1-Alpha) einer Chi-Quadrat-verteilten Zufallsgröße zurück\r\nCHIINV\t\t\t= CHIINV\t\t\t##\tGibt Quantile der Verteilungsfunktion (1-Alpha) der Chi-Quadrat-Verteilung zurück\r\nCHITEST\t\t\t= CHITEST\t\t\t##\tGibt die Teststatistik eines Unabhängigkeitstests zurück\r\nCONFIDENCE\t\t= KONFIDENZ\t\t\t##\tErmöglicht die Berechnung des 1-Alpha Konfidenzintervalls für den Erwartungswert einer Zufallsvariablen\r\nCORREL\t\t\t= KORREL\t\t\t##\tGibt den Korrelationskoeffizienten zweier Reihen von Merkmalsausprägungen zurück\r\nCOUNT\t\t\t= ANZAHL\t\t\t##\tGibt die Anzahl der Zahlen in der Liste mit Argumenten an\r\nCOUNTA\t\t\t= ANZAHL2\t\t\t##\tGibt die Anzahl der Werte in der Liste mit Argumenten an\r\nCOUNTBLANK\t\t= ANZAHLLEEREZELLEN\t\t##\tGibt die Anzahl der leeren Zellen in einem Bereich an\r\nCOUNTIF\t\t\t= ZÄHLENWENN\t\t\t##\tGibt die Anzahl der Zellen in einem Bereich an, deren Inhalte mit den Suchkriterien übereinstimmen\r\nCOUNTIFS\t\t= ZÄHLENWENNS\t\t\t##\tGibt die Anzahl der Zellen in einem Bereich an, deren Inhalte mit mehreren Suchkriterien übereinstimmen\r\nCOVAR\t\t\t= KOVAR\t\t\t\t##\tGibt die Kovarianz zurück, den Mittelwert der für alle Datenpunktpaare gebildeten Produkte der Abweichungen\r\nCRITBINOM\t\t= KRITBINOM\t\t\t##\tGibt den kleinsten Wert zurück, für den die kumulierten Wahrscheinlichkeiten der Binomialverteilung kleiner oder gleich einer Grenzwahrscheinlichkeit sind\r\nDEVSQ\t\t\t= SUMQUADABW\t\t\t##\tGibt die Summe der quadrierten Abweichungen der Datenpunkte von ihrem Stichprobenmittelwert zurück\r\nEXPONDIST\t\t= EXPONVERT\t\t\t##\tGibt Wahrscheinlichkeiten einer exponential verteilten Zufallsvariablen zurück\r\nFDIST\t\t\t= FVERT\t\t\t\t##\tGibt Werte der Verteilungsfunktion (1-Alpha) einer F-verteilten Zufallsvariablen zurück\r\nFINV\t\t\t= FINV\t\t\t\t##\tGibt Quantile der F-Verteilung zurück\r\nFISHER\t\t\t= FISHER\t\t\t##\tGibt die Fisher-Transformation zurück\r\nFISHERINV\t\t= FISHERINV\t\t\t##\tGibt die Umkehrung der Fisher-Transformation zurück\r\nFORECAST\t\t= PROGNOSE\t\t\t##\tGibt einen Wert zurück, der sich aus einem linearen Trend ergibt\r\nFREQUENCY\t\t= HÄUFIGKEIT\t\t\t##\tGibt eine Häufigkeitsverteilung als vertikale Matrix zurück\r\nFTEST\t\t\t= FTEST\t\t\t\t##\tGibt die Teststatistik eines F-Tests zurück\r\nGAMMADIST\t\t= GAMMAVERT\t\t\t##\tGibt Wahrscheinlichkeiten einer gammaverteilten Zufallsvariablen zurück\r\nGAMMAINV\t\t= GAMMAINV\t\t\t##\tGibt Quantile der Gammaverteilung zurück\r\nGAMMALN\t\t\t= GAMMALN\t\t\t##\tGibt den natürlichen Logarithmus der Gammafunktion zurück, Γ(x)\r\nGEOMEAN\t\t\t= GEOMITTEL\t\t\t##\tGibt das geometrische Mittel zurück\r\nGROWTH\t\t\t= VARIATION\t\t\t##\tGibt Werte zurück, die sich aus einem exponentiellen Trend ergeben\r\nHARMEAN\t\t\t= HARMITTEL\t\t\t##\tGibt das harmonische Mittel zurück\r\nHYPGEOMDIST\t\t= HYPGEOMVERT\t\t\t##\tGibt Wahrscheinlichkeiten einer hypergeometrisch-verteilten Zufallsvariablen zurück\r\nINTERCEPT\t\t= ACHSENABSCHNITT\t\t##\tGibt den Schnittpunkt der Regressionsgeraden zurück\r\nKURT\t\t\t= KURT\t\t\t\t##\tGibt die Kurtosis (Exzess) einer Datengruppe zurück\r\nLARGE\t\t\t= KGRÖSSTE\t\t\t##\tGibt den k-größten Wert einer Datengruppe zurück\r\nLINEST\t\t\t= RGP\t\t\t\t##\tGibt die Parameter eines linearen Trends zurück\r\nLOGEST\t\t\t= RKP\t\t\t\t##\tGibt die Parameter eines exponentiellen Trends zurück\r\nLOGINV\t\t\t= LOGINV\t\t\t##\tGibt Quantile der Lognormalverteilung zurück\r\nLOGNORMDIST\t\t= LOGNORMVERT\t\t\t##\tGibt Werte der Verteilungsfunktion einer lognormalverteilten Zufallsvariablen zurück\r\nMAX\t\t\t= MAX\t\t\t\t##\tGibt den Maximalwert einer Liste mit Argumenten zurück\r\nMAXA\t\t\t= MAXA\t\t\t\t##\tGibt den Maximalwert einer Liste mit Argumenten zurück, die Zahlen, Text und Wahrheitswerte enthalten\r\nMEDIAN\t\t\t= MEDIAN\t\t\t##\tGibt den Median der angegebenen Zahlen zurück\r\nMIN\t\t\t= MIN\t\t\t\t##\tGibt den Minimalwert einer Liste mit Argumenten zurück\r\nMINA\t\t\t= MINA\t\t\t\t##\tGibt den kleinsten Wert einer Liste mit Argumenten zurück, die Zahlen, Text und Wahrheitswerte enthalten\r\nMODE\t\t\t= MODALWERT\t\t\t##\tGibt den am häufigsten vorkommenden Wert in einer Datengruppe zurück\r\nNEGBINOMDIST\t\t= NEGBINOMVERT\t\t\t##\tGibt Wahrscheinlichkeiten einer negativen, binominal verteilten Zufallsvariablen zurück\r\nNORMDIST\t\t= NORMVERT\t\t\t##\tGibt Wahrscheinlichkeiten einer normal verteilten Zufallsvariablen zurück\r\nNORMINV\t\t\t= NORMINV\t\t\t##\tGibt Quantile der Normalverteilung zurück\r\nNORMSDIST\t\t= STANDNORMVERT\t\t\t##\tGibt Werte der Verteilungsfunktion einer standardnormalverteilten Zufallsvariablen zurück\r\nNORMSINV\t\t= STANDNORMINV\t\t\t##\tGibt Quantile der Standardnormalverteilung zurück\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tGibt den Pearsonschen Korrelationskoeffizienten zurück\r\nPERCENTILE\t\t= QUANTIL\t\t\t##\tGibt das Alpha-Quantil einer Gruppe von Daten zurück\r\nPERCENTRANK\t\t= QUANTILSRANG\t\t\t##\tGibt den prozentualen Rang (Alpha) eines Werts in einer Datengruppe zurück\r\nPERMUT\t\t\t= VARIATIONEN\t\t\t##\tGibt die Anzahl der Möglichkeiten zurück, um k Elemente aus einer Menge von n Elementen ohne Zurücklegen zu ziehen\r\nPOISSON\t\t\t= POISSON\t\t\t##\tGibt Wahrscheinlichkeiten einer poissonverteilten Zufallsvariablen zurück\r\nPROB\t\t\t= WAHRSCHBEREICH\t\t##\tGibt die Wahrscheinlichkeit für ein von zwei Werten eingeschlossenes Intervall zurück\r\nQUARTILE\t\t= QUARTILE\t\t\t##\tGibt die Quartile der Datengruppe zurück\r\nRANK\t\t\t= RANG\t\t\t\t##\tGibt den Rang zurück, den eine Zahl innerhalb einer Liste von Zahlen einnimmt\r\nRSQ\t\t\t= BESTIMMTHEITSMASS\t\t##\tGibt das Quadrat des Pearsonschen Korrelationskoeffizienten zurück\r\nSKEW\t\t\t= SCHIEFE\t\t\t##\tGibt die Schiefe einer Verteilung zurück\r\nSLOPE\t\t\t= STEIGUNG\t\t\t##\tGibt die Steigung der Regressionsgeraden zurück\r\nSMALL\t\t\t= KKLEINSTE\t\t\t##\tGibt den k-kleinsten Wert einer Datengruppe zurück\r\nSTANDARDIZE\t\t= STANDARDISIERUNG\t\t##\tGibt den standardisierten Wert zurück\r\nSTDEV\t\t\t= STABW\t\t\t\t##\tSchätzt die Standardabweichung ausgehend von einer Stichprobe\r\nSTDEVA\t\t\t= STABWA\t\t\t##\tSchätzt die Standardabweichung ausgehend von einer Stichprobe, die Zahlen, Text und Wahrheitswerte enthält\r\nSTDEVP\t\t\t= STABWN\t\t\t##\tBerechnet die Standardabweichung ausgehend von der Grundgesamtheit\r\nSTDEVPA\t\t\t= STABWNA\t\t\t##\tBerechnet die Standardabweichung ausgehend von der Grundgesamtheit, die Zahlen, Text und Wahrheitswerte enthält\r\nSTEYX\t\t\t= STFEHLERYX\t\t\t##\tGibt den Standardfehler der geschätzten y-Werte für alle x-Werte der Regression zurück\r\nTDIST\t\t\t= TVERT\t\t\t\t##\tGibt Werte der Verteilungsfunktion (1-Alpha) einer (Student) t-verteilten Zufallsvariablen zurück\r\nTINV\t\t\t= TINV\t\t\t\t##\tGibt Quantile der t-Verteilung zurück\r\nTREND\t\t\t= TREND\t\t\t\t##\tGibt Werte zurück, die sich aus einem linearen Trend ergeben\r\nTRIMMEAN\t\t= GESTUTZTMITTEL\t\t##\tGibt den Mittelwert einer Datengruppe zurück, ohne die Randwerte zu berücksichtigen\r\nTTEST\t\t\t= TTEST\t\t\t\t##\tGibt die Teststatistik eines Student'schen t-Tests zurück\r\nVAR\t\t\t= VARIANZ\t\t\t##\tSchätzt die Varianz ausgehend von einer Stichprobe\r\nVARA\t\t\t= VARIANZA\t\t\t##\tSchätzt die Varianz ausgehend von einer Stichprobe, die Zahlen, Text und Wahrheitswerte enthält\r\nVARP\t\t\t= VARIANZEN\t\t\t##\tBerechnet die Varianz ausgehend von der Grundgesamtheit\r\nVARPA\t\t\t= VARIANZENA\t\t\t##\tBerechnet die Varianz ausgehend von der Grundgesamtheit, die Zahlen, Text und Wahrheitswerte enthält\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tGibt Wahrscheinlichkeiten einer weibullverteilten Zufallsvariablen zurück\r\nZTEST\t\t\t= GTEST\t\t\t\t##\tGibt den einseitigen Wahrscheinlichkeitswert für einen Gausstest (Normalverteilung) zurück\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tTextfunktionen\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tKonvertiert DB-Text in einer Zeichenfolge (lateinische Buchstaben oder Katakana) in SB-Text\r\nBAHTTEXT\t\t= BAHTTEXT\t\t\t##\tWandelt eine Zahl in Text im Währungsformat ß (Baht) um\r\nCHAR\t\t\t= ZEICHEN\t\t\t##\tGibt das der Codezahl entsprechende Zeichen zurück\r\nCLEAN\t\t\t= SÄUBERN\t\t\t##\tLöscht alle nicht druckbaren Zeichen aus einem Text\r\nCODE\t\t\t= CODE\t\t\t\t##\tGibt die Codezahl des ersten Zeichens in einem Text zurück\r\nCONCATENATE\t\t= VERKETTEN\t\t\t##\tVerknüpft mehrere Textelemente zu einem Textelement\r\nDOLLAR\t\t\t= DM\t\t\t\t##\tWandelt eine Zahl in Text im Währungsformat € (Euro) um\r\nEXACT\t\t\t= IDENTISCH\t\t\t##\tPrüft, ob zwei Textwerte identisch sind\r\nFIND\t\t\t= FINDEN\t\t\t##\tSucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird unterschieden)\r\nFINDB\t\t\t= FINDENB\t\t\t##\tSucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird unterschieden)\r\nFIXED\t\t\t= FEST\t\t\t\t##\tFormatiert eine Zahl als Text mit einer festen Anzahl von Dezimalstellen\r\nJIS\t\t\t= JIS\t\t\t\t##\tKonvertiert SB-Text in einer Zeichenfolge (lateinische Buchstaben oder Katakana) in DB-Text\r\nLEFT\t\t\t= LINKS\t\t\t\t##\tGibt die Zeichen ganz links in einem Textwert zurück\r\nLEFTB\t\t\t= LINKSB\t\t\t##\tGibt die Zeichen ganz links in einem Textwert zurück\r\nLEN\t\t\t= LÄNGE\t\t\t\t##\tGibt die Anzahl der Zeichen in einer Zeichenfolge zurück\r\nLENB\t\t\t= LÄNGEB\t\t\t##\tGibt die Anzahl der Zeichen in einer Zeichenfolge zurück\r\nLOWER\t\t\t= KLEIN\t\t\t\t##\tWandelt Text in Kleinbuchstaben um\r\nMID\t\t\t= TEIL\t\t\t\t##\tGibt eine bestimmte Anzahl Zeichen aus einer Zeichenfolge ab der von Ihnen angegebenen Stelle zurück\r\nMIDB\t\t\t= TEILB\t\t\t\t##\tGibt eine bestimmte Anzahl Zeichen aus einer Zeichenfolge ab der von Ihnen angegebenen Stelle zurück\r\nPHONETIC\t\t= PHONETIC\t\t\t##\tExtrahiert die phonetischen (Furigana-)Zeichen aus einer Textzeichenfolge\r\nPROPER\t\t\t= GROSS2\t\t\t##\tWandelt den ersten Buchstaben aller Wörter eines Textwerts in Großbuchstaben um\r\nREPLACE\t\t\t= ERSETZEN\t\t\t##\tErsetzt Zeichen in Text\r\nREPLACEB\t\t= ERSETZENB\t\t\t##\tErsetzt Zeichen in Text\r\nREPT\t\t\t= WIEDERHOLEN\t\t\t##\tWiederholt einen Text so oft wie angegeben\r\nRIGHT\t\t\t= RECHTS\t\t\t##\tGibt die Zeichen ganz rechts in einem Textwert zurück\r\nRIGHTB\t\t\t= RECHTSB\t\t\t##\tGibt die Zeichen ganz rechts in einem Textwert zurück\r\nSEARCH\t\t\t= SUCHEN\t\t\t##\tSucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird nicht unterschieden)\r\nSEARCHB\t\t\t= SUCHENB\t\t\t##\tSucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird nicht unterschieden)\r\nSUBSTITUTE\t\t= WECHSELN\t\t\t##\tErsetzt in einer Zeichenfolge neuen Text gegen alten\r\nT\t\t\t= T\t\t\t\t##\tWandelt die zugehörigen Argumente in Text um\r\nTEXT\t\t\t= TEXT\t\t\t\t##\tFormatiert eine Zahl und wandelt sie in Text um\r\nTRIM\t\t\t= GLÄTTEN\t\t\t##\tEntfernt Leerzeichen aus Text\r\nUPPER\t\t\t= GROSS\t\t\t\t##\tWandelt Text in Großbuchstaben um\r\nVALUE\t\t\t= WERT\t\t\t\t##\tWandelt ein Textargument in eine Zahl um\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/en/uk/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= £\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/es/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= $\t##\tI'm surprised that the Excel Documentation suggests $ rather than €\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #¡NULO!\r\nDIV0\t= #¡DIV/0!\r\nVALUE\t= #¡VALOR!\r\nREF\t= #¡REF!\r\nNAME\t= #¿NOMBRE?\r\nNUM\t= #¡NÚM!\r\nNA\t= #N/A\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/es/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\t\tFunciones de complementos y automatización\r\n##\r\nGETPIVOTDATA\t\t= IMPORTARDATOSDINAMICOS\t\t##\tDevuelve los datos almacenados en un informe de tabla dinámica.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\t\tFunciones de cubo\r\n##\r\nCUBEKPIMEMBER\t\t= MIEMBROKPICUBO\t\t\t##\tDevuelve un nombre, propiedad y medida de indicador de rendimiento clave (KPI) y muestra el nombre y la propiedad en la celda. Un KPI es una medida cuantificable, como los beneficios brutos mensuales o la facturación trimestral por empleado, que se usa para supervisar el rendimiento de una organización.\r\nCUBEMEMBER\t\t= MIEMBROCUBO\t\t\t\t##\tDevuelve un miembro o tupla en una jerarquía de cubo. Se usa para validar la existencia del miembro o la tupla en el cubo.\r\nCUBEMEMBERPROPERTY\t= PROPIEDADMIEMBROCUBO\t\t\t##\tDevuelve el valor de una propiedad de miembro del cubo Se usa para validar la existencia de un nombre de miembro en el cubo y para devolver la propiedad especificada para este miembro.\r\nCUBERANKEDMEMBER\t= MIEMBRORANGOCUBO\t\t\t##\tDevuelve el miembro n, o clasificado, de un conjunto. Se usa para devolver uno o más elementos de un conjunto, por ejemplo, el representante con mejores ventas o los diez mejores alumnos.\r\nCUBESET\t\t\t= CONJUNTOCUBO\t\t\t\t##\tDefine un conjunto calculado de miembros o tuplas mediante el envío de una expresión de conjunto al cubo en el servidor, lo que crea el conjunto y, después, devuelve dicho conjunto a Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= RECUENTOCONJUNTOCUBO\t\t\t##\tDevuelve el número de elementos de un conjunto.\r\nCUBEVALUE\t\t= VALORCUBO\t\t\t\t##\tDevuelve un valor agregado de un cubo.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\t\tFunciones de base de datos\r\n##\r\nDAVERAGE\t\t= BDPROMEDIO\t\t\t\t##\tDevuelve el promedio de las entradas seleccionadas en la base de datos.\r\nDCOUNT\t\t\t= BDCONTAR\t\t\t\t##\tCuenta el número de celdas que contienen números en una base de datos.\r\nDCOUNTA\t\t\t= BDCONTARA\t\t\t\t##\tCuenta el número de celdas no vacías en una base de datos.\r\nDGET\t\t\t= BDEXTRAER\t\t\t\t##\tExtrae de una base de datos un único registro que cumple los criterios especificados.\r\nDMAX\t\t\t= BDMAX\t\t\t\t\t##\tDevuelve el valor máximo de las entradas seleccionadas de la base de datos.\r\nDMIN\t\t\t= BDMIN\t\t\t\t\t##\tDevuelve el valor mínimo de las entradas seleccionadas de la base de datos.\r\nDPRODUCT\t\t= BDPRODUCTO\t\t\t\t##\tMultiplica los valores de un campo concreto de registros de una base de datos que cumplen los criterios especificados.\r\nDSTDEV\t\t\t= BDDESVEST\t\t\t\t##\tCalcula la desviación estándar a partir de una muestra de entradas seleccionadas en la base de datos.\r\nDSTDEVP\t\t\t= BDDESVESTP\t\t\t\t##\tCalcula la desviación estándar en función de la población total de las entradas seleccionadas de la base de datos.\r\nDSUM\t\t\t= BDSUMA\t\t\t\t##\tSuma los números de la columna de campo de los registros de la base de datos que cumplen los criterios.\r\nDVAR\t\t\t= BDVAR\t\t\t\t\t##\tCalcula la varianza a partir de una muestra de entradas seleccionadas de la base de datos.\r\nDVARP\t\t\t= BDVARP\t\t\t\t##\tCalcula la varianza a partir de la población total de entradas seleccionadas de la base de datos.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\t\tFunciones de fecha y hora\r\n##\r\nDATE\t\t\t= FECHA\t\t\t\t\t##\tDevuelve el número de serie correspondiente a una fecha determinada.\r\nDATEVALUE\t\t= FECHANUMERO\t\t\t\t##\tConvierte una fecha con formato de texto en un valor de número de serie.\r\nDAY\t\t\t= DIA\t\t\t\t\t##\tConvierte un número de serie en un valor de día del mes.\r\nDAYS360\t\t\t= DIAS360\t\t\t\t##\tCalcula el número de días entre dos fechas a partir de un año de 360 días.\r\nEDATE\t\t\t= FECHA.MES\t\t\t\t##\tDevuelve el número de serie de la fecha equivalente al número indicado de meses anteriores o posteriores a la fecha inicial.\r\nEOMONTH\t\t\t= FIN.MES\t\t\t\t##\tDevuelve el número de serie correspondiente al último día del mes anterior o posterior a un número de meses especificado.\r\nHOUR\t\t\t= HORA\t\t\t\t\t##\tConvierte un número de serie en un valor de hora.\r\nMINUTE\t\t\t= MINUTO\t\t\t\t##\tConvierte un número de serie en un valor de minuto.\r\nMONTH\t\t\t= MES\t\t\t\t\t##\tConvierte un número de serie en un valor de mes.\r\nNETWORKDAYS\t\t= DIAS.LAB\t\t\t\t##\tDevuelve el número de todos los días laborables existentes entre dos fechas.\r\nNOW\t\t\t= AHORA\t\t\t\t\t##\tDevuelve el número de serie correspondiente a la fecha y hora actuales.\r\nSECOND\t\t\t= SEGUNDO\t\t\t\t##\tConvierte un número de serie en un valor de segundo.\r\nTIME\t\t\t= HORA\t\t\t\t\t##\tDevuelve el número de serie correspondiente a una hora determinada.\r\nTIMEVALUE\t\t= HORANUMERO\t\t\t\t##\tConvierte una hora con formato de texto en un valor de número de serie.\r\nTODAY\t\t\t= HOY\t\t\t\t\t##\tDevuelve el número de serie correspondiente al día actual.\r\nWEEKDAY\t\t\t= DIASEM\t\t\t\t##\tConvierte un número de serie en un valor de día de la semana.\r\nWEEKNUM\t\t\t= NUM.DE.SEMANA\t\t\t\t##\tConvierte un número de serie en un número que representa el lugar numérico correspondiente a una semana de un año.\r\nWORKDAY\t\t\t= DIA.LAB\t\t\t\t##\tDevuelve el número de serie de la fecha que tiene lugar antes o después de un número determinado de días laborables.\r\nYEAR\t\t\t= AÑO\t\t\t\t\t##\tConvierte un número de serie en un valor de año.\r\nYEARFRAC\t\t= FRAC.AÑO\t\t\t\t##\tDevuelve la fracción de año que representa el número total de días existentes entre el valor de fecha_inicial y el de fecha_final.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\t\tFunciones de ingeniería\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t\t##\tDevuelve la función Bessel In(x) modificada.\r\nBESSELJ\t\t\t= BESSELJ\t\t\t\t##\tDevuelve la función Bessel Jn(x).\r\nBESSELK\t\t\t= BESSELK\t\t\t\t##\tDevuelve la función Bessel Kn(x) modificada.\r\nBESSELY\t\t\t= BESSELY\t\t\t\t##\tDevuelve la función Bessel Yn(x).\r\nBIN2DEC\t\t\t= BIN.A.DEC\t\t\t\t##\tConvierte un número binario en decimal.\r\nBIN2HEX\t\t\t= BIN.A.HEX\t\t\t\t##\tConvierte un número binario en hexadecimal.\r\nBIN2OCT\t\t\t= BIN.A.OCT\t\t\t\t##\tConvierte un número binario en octal.\r\nCOMPLEX\t\t\t= COMPLEJO\t\t\t\t##\tConvierte coeficientes reales e imaginarios en un número complejo.\r\nCONVERT\t\t\t= CONVERTIR\t\t\t\t##\tConvierte un número de un sistema de medida a otro.\r\nDEC2BIN\t\t\t= DEC.A.BIN\t\t\t\t##\tConvierte un número decimal en binario.\r\nDEC2HEX\t\t\t= DEC.A.HEX\t\t\t\t##\tConvierte un número decimal en hexadecimal.\r\nDEC2OCT\t\t\t= DEC.A.OCT\t\t\t\t##\tConvierte un número decimal en octal.\r\nDELTA\t\t\t= DELTA\t\t\t\t\t##\tComprueba si dos valores son iguales.\r\nERF\t\t\t= FUN.ERROR\t\t\t\t##\tDevuelve la función de error.\r\nERFC\t\t\t= FUN.ERROR.COMPL\t\t\t##\tDevuelve la función de error complementario.\r\nGESTEP\t\t\t= MAYOR.O.IGUAL\t\t\t\t##\tComprueba si un número es mayor que un valor de umbral.\r\nHEX2BIN\t\t\t= HEX.A.BIN\t\t\t\t##\tConvierte un número hexadecimal en binario.\r\nHEX2DEC\t\t\t= HEX.A.DEC\t\t\t\t##\tConvierte un número hexadecimal en decimal.\r\nHEX2OCT\t\t\t= HEX.A.OCT\t\t\t\t##\tConvierte un número hexadecimal en octal.\r\nIMABS\t\t\t= IM.ABS\t\t\t\t##\tDevuelve el valor absoluto (módulo) de un número complejo.\r\nIMAGINARY\t\t= IMAGINARIO\t\t\t\t##\tDevuelve el coeficiente imaginario de un número complejo.\r\nIMARGUMENT\t\t= IM.ANGULO\t\t\t\t##\tDevuelve el argumento theta, un ángulo expresado en radianes.\r\nIMCONJUGATE\t\t= IM.CONJUGADA\t\t\t\t##\tDevuelve la conjugada compleja de un número complejo.\r\nIMCOS\t\t\t= IM.COS\t\t\t\t##\tDevuelve el coseno de un número complejo.\r\nIMDIV\t\t\t= IM.DIV\t\t\t\t##\tDevuelve el cociente de dos números complejos.\r\nIMEXP\t\t\t= IM.EXP\t\t\t\t##\tDevuelve el valor exponencial de un número complejo.\r\nIMLN\t\t\t= IM.LN\t\t\t\t\t##\tDevuelve el logaritmo natural (neperiano) de un número complejo.\r\nIMLOG10\t\t\t= IM.LOG10\t\t\t\t##\tDevuelve el logaritmo en base 10 de un número complejo.\r\nIMLOG2\t\t\t= IM.LOG2\t\t\t\t##\tDevuelve el logaritmo en base 2 de un número complejo.\r\nIMPOWER\t\t\t= IM.POT\t\t\t\t##\tDevuelve un número complejo elevado a una potencia entera.\r\nIMPRODUCT\t\t= IM.PRODUCT\t\t\t\t##\tDevuelve el producto de números complejos.\r\nIMREAL\t\t\t= IM.REAL\t\t\t\t##\tDevuelve el coeficiente real de un número complejo.\r\nIMSIN\t\t\t= IM.SENO\t\t\t\t##\tDevuelve el seno de un número complejo.\r\nIMSQRT\t\t\t= IM.RAIZ2\t\t\t\t##\tDevuelve la raíz cuadrada de un número complejo.\r\nIMSUB\t\t\t= IM.SUSTR\t\t\t\t##\tDevuelve la diferencia entre dos números complejos.\r\nIMSUM\t\t\t= IM.SUM\t\t\t\t##\tDevuelve la suma de números complejos.\r\nOCT2BIN\t\t\t= OCT.A.BIN\t\t\t\t##\tConvierte un número octal en binario.\r\nOCT2DEC\t\t\t= OCT.A.DEC\t\t\t\t##\tConvierte un número octal en decimal.\r\nOCT2HEX\t\t\t= OCT.A.HEX\t\t\t\t##\tConvierte un número octal en hexadecimal.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\t\tFunciones financieras\r\n##\r\nACCRINT\t\t\t= INT.ACUM\t\t\t\t##\tDevuelve el interés acumulado de un valor bursátil con pagos de interés periódicos.\r\nACCRINTM\t\t= INT.ACUM.V\t\t\t\t##\tDevuelve el interés acumulado de un valor bursátil con pagos de interés al vencimiento.\r\nAMORDEGRC\t\t= AMORTIZ.PROGRE\t\t\t##\tDevuelve la amortización de cada período contable mediante el uso de un coeficiente de amortización.\r\nAMORLINC\t\t= AMORTIZ.LIN\t\t\t\t##\tDevuelve la amortización de cada uno de los períodos contables.\r\nCOUPDAYBS\t\t= CUPON.DIAS.L1\t\t\t\t##\tDevuelve el número de días desde el principio del período de un cupón hasta la fecha de liquidación.\r\nCOUPDAYS\t\t= CUPON.DIAS\t\t\t\t##\tDevuelve el número de días del período (entre dos cupones) donde se encuentra la fecha de liquidación.\r\nCOUPDAYSNC\t\t= CUPON.DIAS.L2\t\t\t\t##\tDevuelve el número de días desde la fecha de liquidación hasta la fecha del próximo cupón.\r\nCOUPNCD\t\t\t= CUPON.FECHA.L2\t\t\t##\tDevuelve la fecha del próximo cupón después de la fecha de liquidación.\r\nCOUPNUM\t\t\t= CUPON.NUM\t\t\t\t##\tDevuelve el número de pagos de cupón entre la fecha de liquidación y la fecha de vencimiento.\r\nCOUPPCD\t\t\t= CUPON.FECHA.L1\t\t\t##\tDevuelve la fecha de cupón anterior a la fecha de liquidación.\r\nCUMIPMT\t\t\t= PAGO.INT.ENTRE\t\t\t##\tDevuelve el interés acumulado pagado entre dos períodos.\r\nCUMPRINC\t\t= PAGO.PRINC.ENTRE\t\t\t##\tDevuelve el capital acumulado pagado de un préstamo entre dos períodos.\r\nDB\t\t\t= DB\t\t\t\t\t##\tDevuelve la amortización de un bien durante un período específico a través del método de amortización de saldo fijo.\r\nDDB\t\t\t= DDB\t\t\t\t\t##\tDevuelve la amortización de un bien durante un período específico a través del método de amortización por doble disminución de saldo u otro método que se especifique.\r\nDISC\t\t\t= TASA.DESC\t\t\t\t##\tDevuelve la tasa de descuento de un valor bursátil.\r\nDOLLARDE\t\t= MONEDA.DEC\t\t\t\t##\tConvierte una cotización de un valor bursátil expresada en forma fraccionaria en una cotización de un valor bursátil expresada en forma decimal.\r\nDOLLARFR\t\t= MONEDA.FRAC\t\t\t\t##\tConvierte una cotización de un valor bursátil expresada en forma decimal en una cotización de un valor bursátil expresada en forma fraccionaria.\r\nDURATION\t\t= DURACION\t\t\t\t##\tDevuelve la duración anual de un valor bursátil con pagos de interés periódico.\r\nEFFECT\t\t\t= INT.EFECTIVO\t\t\t\t##\tDevuelve la tasa de interés anual efectiva.\r\nFV\t\t\t= VF\t\t\t\t\t##\tDevuelve el valor futuro de una inversión.\r\nFVSCHEDULE\t\t= VF.PLAN\t\t\t\t##\tDevuelve el valor futuro de un capital inicial después de aplicar una serie de tasas de interés compuesto.\r\nINTRATE\t\t\t= TASA.INT\t\t\t\t##\tDevuelve la tasa de interés para la inversión total de un valor bursátil.\r\nIPMT\t\t\t= PAGOINT\t\t\t\t##\tDevuelve el pago de intereses de una inversión durante un período determinado.\r\nIRR\t\t\t= TIR\t\t\t\t\t##\tDevuelve la tasa interna de retorno para una serie de flujos de efectivo periódicos.\r\nISPMT\t\t\t= INT.PAGO.DIR\t\t\t\t##\tCalcula el interés pagado durante un período específico de una inversión.\r\nMDURATION\t\t= DURACION.MODIF\t\t\t##\tDevuelve la duración de Macauley modificada de un valor bursátil con un valor nominal supuesto de 100 $.\r\nMIRR\t\t\t= TIRM\t\t\t\t\t##\tDevuelve la tasa interna de retorno donde se financian flujos de efectivo positivos y negativos a tasas diferentes.\r\nNOMINAL\t\t\t= TASA.NOMINAL\t\t\t\t##\tDevuelve la tasa nominal de interés anual.\r\nNPER\t\t\t= NPER\t\t\t\t\t##\tDevuelve el número de períodos de una inversión.\r\nNPV\t\t\t= VNA\t\t\t\t\t##\tDevuelve el valor neto actual de una inversión en función de una serie de flujos periódicos de efectivo y una tasa de descuento.\r\nODDFPRICE\t\t= PRECIO.PER.IRREGULAR.1\t\t##\tDevuelve el precio por un valor nominal de 100 $ de un valor bursátil con un primer período impar.\r\nODDFYIELD\t\t= RENDTO.PER.IRREGULAR.1\t\t##\tDevuelve el rendimiento de un valor bursátil con un primer período impar.\r\nODDLPRICE\t\t= PRECIO.PER.IRREGULAR.2\t\t##\tDevuelve el precio por un valor nominal de 100 $ de un valor bursátil con un último período impar.\r\nODDLYIELD\t\t= RENDTO.PER.IRREGULAR.2\t\t##\tDevuelve el rendimiento de un valor bursátil con un último período impar.\r\nPMT\t\t\t= PAGO\t\t\t\t\t##\tDevuelve el pago periódico de una anualidad.\r\nPPMT\t\t\t= PAGOPRIN\t\t\t\t##\tDevuelve el pago de capital de una inversión durante un período determinado.\r\nPRICE\t\t\t= PRECIO\t\t\t\t##\tDevuelve el precio por un valor nominal de 100 $ de un valor bursátil que paga una tasa de interés periódico.\r\nPRICEDISC\t\t= PRECIO.DESCUENTO\t\t\t##\tDevuelve el precio por un valor nominal de 100 $ de un valor bursátil con descuento.\r\nPRICEMAT\t\t= PRECIO.VENCIMIENTO\t\t\t##\tDevuelve el precio por un valor nominal de 100 $ de un valor bursátil que paga interés a su vencimiento.\r\nPV\t\t\t= VALACT\t\t\t\t##\tDevuelve el valor actual de una inversión.\r\nRATE\t\t\t= TASA\t\t\t\t\t##\tDevuelve la tasa de interés por período de una anualidad.\r\nRECEIVED\t\t= CANTIDAD.RECIBIDA\t\t\t##\tDevuelve la cantidad recibida al vencimiento de un valor bursátil completamente invertido.\r\nSLN\t\t\t= SLN\t\t\t\t\t##\tDevuelve la amortización por método directo de un bien en un período dado.\r\nSYD\t\t\t= SYD\t\t\t\t\t##\tDevuelve la amortización por suma de dígitos de los años de un bien durante un período especificado.\r\nTBILLEQ\t\t\t= LETRA.DE.TES.EQV.A.BONO\t\t##\tDevuelve el rendimiento de un bono equivalente a una letra del Tesoro (de EE.UU.)\r\nTBILLPRICE\t\t= LETRA.DE.TES.PRECIO\t\t\t##\tDevuelve el precio por un valor nominal de 100 $ de una letra del Tesoro (de EE.UU.)\r\nTBILLYIELD\t\t= LETRA.DE.TES.RENDTO\t\t\t##\tDevuelve el rendimiento de una letra del Tesoro (de EE.UU.)\r\nVDB\t\t\t= DVS\t\t\t\t\t##\tDevuelve la amortización de un bien durante un período específico o parcial a través del método de cálculo del saldo en disminución.\r\nXIRR\t\t\t= TIR.NO.PER\t\t\t\t##\tDevuelve la tasa interna de retorno para un flujo de efectivo que no es necesariamente periódico.\r\nXNPV\t\t\t= VNA.NO.PER\t\t\t\t##\tDevuelve el valor neto actual para un flujo de efectivo que no es necesariamente periódico.\r\nYIELD\t\t\t= RENDTO\t\t\t\t##\tDevuelve el rendimiento de un valor bursátil que paga intereses periódicos.\r\nYIELDDISC\t\t= RENDTO.DESC\t\t\t\t##\tDevuelve el rendimiento anual de un valor bursátil con descuento; por ejemplo, una letra del Tesoro (de EE.UU.)\r\nYIELDMAT\t\t= RENDTO.VENCTO\t\t\t\t##\tDevuelve el rendimiento anual de un valor bursátil que paga intereses al vencimiento.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\t\tFunciones de información\r\n##\r\nCELL\t\t\t= CELDA\t\t\t\t\t##\tDevuelve información acerca del formato, la ubicación o el contenido de una celda.\r\nERROR.TYPE\t\t= TIPO.DE.ERROR\t\t\t\t##\tDevuelve un número que corresponde a un tipo de error.\r\nINFO\t\t\t= INFO\t\t\t\t\t##\tDevuelve información acerca del entorno operativo en uso.\r\nISBLANK\t\t\t= ESBLANCO\t\t\t\t##\tDevuelve VERDADERO si el valor está en blanco.\r\nISERR\t\t\t= ESERR\t\t\t\t\t##\tDevuelve VERDADERO si el valor es cualquier valor de error excepto #N/A.\r\nISERROR\t\t\t= ESERROR\t\t\t\t##\tDevuelve VERDADERO si el valor es cualquier valor de error.\r\nISEVEN\t\t\t= ES.PAR\t\t\t\t##\tDevuelve VERDADERO si el número es par.\r\nISLOGICAL\t\t= ESLOGICO\t\t\t\t##\tDevuelve VERDADERO si el valor es un valor lógico.\r\nISNA\t\t\t= ESNOD\t\t\t\t\t##\tDevuelve VERDADERO si el valor es el valor de error #N/A.\r\nISNONTEXT\t\t= ESNOTEXTO\t\t\t\t##\tDevuelve VERDADERO si el valor no es texto.\r\nISNUMBER\t\t= ESNUMERO\t\t\t\t##\tDevuelve VERDADERO si el valor es un número.\r\nISODD\t\t\t= ES.IMPAR\t\t\t\t##\tDevuelve VERDADERO si el número es impar.\r\nISREF\t\t\t= ESREF\t\t\t\t\t##\tDevuelve VERDADERO si el valor es una referencia.\r\nISTEXT\t\t\t= ESTEXTO\t\t\t\t##\tDevuelve VERDADERO si el valor es texto.\r\nN\t\t\t= N\t\t\t\t\t##\tDevuelve un valor convertido en un número.\r\nNA\t\t\t= ND\t\t\t\t\t##\tDevuelve el valor de error #N/A.\r\nTYPE\t\t\t= TIPO\t\t\t\t\t##\tDevuelve un número que indica el tipo de datos de un valor.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\t\tFunciones lógicas\r\n##\r\nAND\t\t\t= Y\t\t\t\t\t##\tDevuelve VERDADERO si todos sus argumentos son VERDADERO.\r\nFALSE\t\t\t= FALSO\t\t\t\t\t##\tDevuelve el valor lógico FALSO.\r\nIF\t\t\t= SI\t\t\t\t\t##\tEspecifica una prueba lógica que realizar.\r\nIFERROR\t\t\t= SI.ERROR\t\t\t\t##\tDevuelve un valor que se especifica si una fórmula lo evalúa como un error; de lo contrario, devuelve el resultado de la fórmula.\r\nNOT\t\t\t= NO\t\t\t\t\t##\tInvierte el valor lógico del argumento.\r\nOR\t\t\t= O\t\t\t\t\t##\tDevuelve VERDADERO si cualquier argumento es VERDADERO.\r\nTRUE\t\t\t= VERDADERO\t\t\t\t##\tDevuelve el valor lógico VERDADERO.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\t\tFunciones de búsqueda y referencia\r\n##\r\nADDRESS\t\t\t= DIRECCION\t\t\t\t##\tDevuelve una referencia como texto a una sola celda de una hoja de cálculo.\r\nAREAS\t\t\t= AREAS\t\t\t\t\t##\tDevuelve el número de áreas de una referencia.\r\nCHOOSE\t\t\t= ELEGIR\t\t\t\t##\tElige un valor de una lista de valores.\r\nCOLUMN\t\t\t= COLUMNA\t\t\t\t##\tDevuelve el número de columna de una referencia.\r\nCOLUMNS\t\t\t= COLUMNAS\t\t\t\t##\tDevuelve el número de columnas de una referencia.\r\nHLOOKUP\t\t\t= BUSCARH\t\t\t\t##\tBusca en la fila superior de una matriz y devuelve el valor de la celda indicada.\r\nHYPERLINK\t\t= HIPERVINCULO\t\t\t\t##\tCrea un acceso directo o un salto que abre un documento almacenado en un servidor de red, en una intranet o en Internet.\r\nINDEX\t\t\t= INDICE\t\t\t\t##\tUsa un índice para elegir un valor de una referencia o matriz.\r\nINDIRECT\t\t= INDIRECTO\t\t\t\t##\tDevuelve una referencia indicada por un valor de texto.\r\nLOOKUP\t\t\t= BUSCAR\t\t\t\t##\tBusca valores de un vector o una matriz.\r\nMATCH\t\t\t= COINCIDIR\t\t\t\t##\tBusca valores de una referencia o matriz.\r\nOFFSET\t\t\t= DESREF\t\t\t\t##\tDevuelve un desplazamiento de referencia respecto a una referencia dada.\r\nROW\t\t\t= FILA\t\t\t\t\t##\tDevuelve el número de fila de una referencia.\r\nROWS\t\t\t= FILAS\t\t\t\t\t##\tDevuelve el número de filas de una referencia.\r\nRTD\t\t\t= RDTR\t\t\t\t\t##\tRecupera datos en tiempo real desde un programa compatible con la automatización COM (automatización: modo de trabajar con los objetos de una aplicación desde otra aplicación o herramienta de entorno. La automatización, antes denominada automatización OLE, es un estándar de la industria y una función del Modelo de objetos componentes (COM).).\r\nTRANSPOSE\t\t= TRANSPONER\t\t\t\t##\tDevuelve la transposición de una matriz.\r\nVLOOKUP\t\t\t= BUSCARV\t\t\t\t##\tBusca en la primera columna de una matriz y se mueve en horizontal por la fila para devolver el valor de una celda.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\t\tFunciones matemáticas y trigonométricas\r\n##\r\nABS\t\t\t= ABS\t\t\t\t\t##\tDevuelve el valor absoluto de un número.\r\nACOS\t\t\t= ACOS\t\t\t\t\t##\tDevuelve el arcocoseno de un número.\r\nACOSH\t\t\t= ACOSH\t\t\t\t\t##\tDevuelve el coseno hiperbólico inverso de un número.\r\nASIN\t\t\t= ASENO\t\t\t\t\t##\tDevuelve el arcoseno de un número.\r\nASINH\t\t\t= ASENOH\t\t\t\t##\tDevuelve el seno hiperbólico inverso de un número.\r\nATAN\t\t\t= ATAN\t\t\t\t\t##\tDevuelve la arcotangente de un número.\r\nATAN2\t\t\t= ATAN2\t\t\t\t\t##\tDevuelve la arcotangente de las coordenadas \"x\" e \"y\".\r\nATANH\t\t\t= ATANH\t\t\t\t\t##\tDevuelve la tangente hiperbólica inversa de un número.\r\nCEILING\t\t\t= MULTIPLO.SUPERIOR\t\t\t##\tRedondea un número al entero más próximo o al múltiplo significativo más cercano.\r\nCOMBIN\t\t\t= COMBINAT\t\t\t\t##\tDevuelve el número de combinaciones para un número determinado de objetos.\r\nCOS\t\t\t= COS\t\t\t\t\t##\tDevuelve el coseno de un número.\r\nCOSH\t\t\t= COSH\t\t\t\t\t##\tDevuelve el coseno hiperbólico de un número.\r\nDEGREES\t\t\t= GRADOS\t\t\t\t##\tConvierte radianes en grados.\r\nEVEN\t\t\t= REDONDEA.PAR\t\t\t\t##\tRedondea un número hasta el entero par más próximo.\r\nEXP\t\t\t= EXP\t\t\t\t\t##\tDevuelve e elevado a la potencia de un número dado.\r\nFACT\t\t\t= FACT\t\t\t\t\t##\tDevuelve el factorial de un número.\r\nFACTDOUBLE\t\t= FACT.DOBLE\t\t\t\t##\tDevuelve el factorial doble de un número.\r\nFLOOR\t\t\t= MULTIPLO.INFERIOR\t\t\t##\tRedondea un número hacia abajo, en dirección hacia cero.\r\nGCD\t\t\t= M.C.D\t\t\t\t\t##\tDevuelve el máximo común divisor.\r\nINT\t\t\t= ENTERO\t\t\t\t##\tRedondea un número hacia abajo hasta el entero más próximo.\r\nLCM\t\t\t= M.C.M\t\t\t\t\t##\tDevuelve el mínimo común múltiplo.\r\nLN\t\t\t= LN\t\t\t\t\t##\tDevuelve el logaritmo natural (neperiano) de un número.\r\nLOG\t\t\t= LOG\t\t\t\t\t##\tDevuelve el logaritmo de un número en una base especificada.\r\nLOG10\t\t\t= LOG10\t\t\t\t\t##\tDevuelve el logaritmo en base 10 de un número.\r\nMDETERM\t\t\t= MDETERM\t\t\t\t##\tDevuelve la determinante matricial de una matriz.\r\nMINVERSE\t\t= MINVERSA\t\t\t\t##\tDevuelve la matriz inversa de una matriz.\r\nMMULT\t\t\t= MMULT\t\t\t\t\t##\tDevuelve el producto de matriz de dos matrices.\r\nMOD\t\t\t= RESIDUO\t\t\t\t##\tDevuelve el resto de la división.\r\nMROUND\t\t\t= REDOND.MULT\t\t\t\t##\tDevuelve un número redondeado al múltiplo deseado.\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t\t\t##\tDevuelve el polinomio de un conjunto de números.\r\nODD\t\t\t= REDONDEA.IMPAR\t\t\t##\tRedondea un número hacia arriba hasta el entero impar más próximo.\r\nPI\t\t\t= PI\t\t\t\t\t##\tDevuelve el valor de pi.\r\nPOWER\t\t\t= POTENCIA\t\t\t\t##\tDevuelve el resultado de elevar un número a una potencia.\r\nPRODUCT\t\t\t= PRODUCTO\t\t\t\t##\tMultiplica sus argumentos.\r\nQUOTIENT\t\t= COCIENTE\t\t\t\t##\tDevuelve la parte entera de una división.\r\nRADIANS\t\t\t= RADIANES\t\t\t\t##\tConvierte grados en radianes.\r\nRAND\t\t\t= ALEATORIO\t\t\t\t##\tDevuelve un número aleatorio entre 0 y 1.\r\nRANDBETWEEN\t\t= ALEATORIO.ENTRE\t\t\t##\tDevuelve un número aleatorio entre los números que especifique.\r\nROMAN\t\t\t= NUMERO.ROMANO\t\t\t\t##\tConvierte un número arábigo en número romano, con formato de texto.\r\nROUND\t\t\t= REDONDEAR\t\t\t\t##\tRedondea un número al número de decimales especificado.\r\nROUNDDOWN\t\t= REDONDEAR.MENOS\t\t\t##\tRedondea un número hacia abajo, en dirección hacia cero.\r\nROUNDUP\t\t\t= REDONDEAR.MAS\t\t\t\t##\tRedondea un número hacia arriba, en dirección contraria a cero.\r\nSERIESSUM\t\t= SUMA.SERIES\t\t\t\t##\tDevuelve la suma de una serie de potencias en función de la fórmula.\r\nSIGN\t\t\t= SIGNO\t\t\t\t\t##\tDevuelve el signo de un número.\r\nSIN\t\t\t= SENO\t\t\t\t\t##\tDevuelve el seno de un ángulo determinado.\r\nSINH\t\t\t= SENOH\t\t\t\t\t##\tDevuelve el seno hiperbólico de un número.\r\nSQRT\t\t\t= RAIZ\t\t\t\t\t##\tDevuelve la raíz cuadrada positiva de un número.\r\nSQRTPI\t\t\t= RAIZ2PI\t\t\t\t##\tDevuelve la raíz cuadrada de un número multiplicado por PI (número * pi).\r\nSUBTOTAL\t\t= SUBTOTALES\t\t\t\t##\tDevuelve un subtotal en una lista o base de datos.\r\nSUM\t\t\t= SUMA\t\t\t\t\t##\tSuma sus argumentos.\r\nSUMIF\t\t\t= SUMAR.SI\t\t\t\t##\tSuma las celdas especificadas que cumplen unos criterios determinados.\r\nSUMIFS\t\t\t= SUMAR.SI.CONJUNTO\t\t\t##\tSuma las celdas de un rango que cumplen varios criterios.\r\nSUMPRODUCT\t\t= SUMAPRODUCTO\t\t\t\t##\tDevuelve la suma de los productos de los correspondientes componentes de matriz.\r\nSUMSQ\t\t\t= SUMA.CUADRADOS\t\t\t##\tDevuelve la suma de los cuadrados de los argumentos.\r\nSUMX2MY2\t\t= SUMAX2MENOSY2\t\t\t\t##\tDevuelve la suma de la diferencia de los cuadrados de los valores correspondientes de dos matrices.\r\nSUMX2PY2\t\t= SUMAX2MASY2\t\t\t\t##\tDevuelve la suma de la suma de los cuadrados de los valores correspondientes de dos matrices.\r\nSUMXMY2\t\t\t= SUMAXMENOSY2\t\t\t\t##\tDevuelve la suma de los cuadrados de las diferencias de los valores correspondientes de dos matrices.\r\nTAN\t\t\t= TAN\t\t\t\t\t##\tDevuelve la tangente de un número.\r\nTANH\t\t\t= TANH\t\t\t\t\t##\tDevuelve la tangente hiperbólica de un número.\r\nTRUNC\t\t\t= TRUNCAR\t\t\t\t##\tTrunca un número a un entero.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\t\tFunciones estadísticas\r\n##\r\nAVEDEV\t\t\t= DESVPROM\t\t\t\t##\tDevuelve el promedio de las desviaciones absolutas de la media de los puntos de datos.\r\nAVERAGE\t\t\t= PROMEDIO\t\t\t\t##\tDevuelve el promedio de sus argumentos.\r\nAVERAGEA\t\t= PROMEDIOA\t\t\t\t##\tDevuelve el promedio de sus argumentos, incluidos números, texto y valores lógicos.\r\nAVERAGEIF\t\t= PROMEDIO.SI\t\t\t\t##\tDevuelve el promedio (media aritmética) de todas las celdas de un rango que cumplen unos criterios determinados.\r\nAVERAGEIFS\t\t= PROMEDIO.SI.CONJUNTO\t\t\t##\tDevuelve el promedio (media aritmética) de todas las celdas que cumplen múltiples criterios.\r\nBETADIST\t\t= DISTR.BETA\t\t\t\t##\tDevuelve la función de distribución beta acumulativa.\r\nBETAINV\t\t\t= DISTR.BETA.INV\t\t\t##\tDevuelve la función inversa de la función de distribución acumulativa de una distribución beta especificada.\r\nBINOMDIST\t\t= DISTR.BINOM\t\t\t\t##\tDevuelve la probabilidad de una variable aleatoria discreta siguiendo una distribución binomial.\r\nCHIDIST\t\t\t= DISTR.CHI\t\t\t\t##\tDevuelve la probabilidad de una variable aleatoria continua siguiendo una distribución chi cuadrado de una sola cola.\r\nCHIINV\t\t\t= PRUEBA.CHI.INV\t\t\t##\tDevuelve la función inversa de la probabilidad de una variable aleatoria continua siguiendo una distribución chi cuadrado de una sola cola.\r\nCHITEST\t\t\t= PRUEBA.CHI\t\t\t\t##\tDevuelve la prueba de independencia.\r\nCONFIDENCE\t\t= INTERVALO.CONFIANZA\t\t\t##\tDevuelve el intervalo de confianza de la media de una población.\r\nCORREL\t\t\t= COEF.DE.CORREL\t\t\t##\tDevuelve el coeficiente de correlación entre dos conjuntos de datos.\r\nCOUNT\t\t\t= CONTAR\t\t\t\t##\tCuenta cuántos números hay en la lista de argumentos.\r\nCOUNTA\t\t\t= CONTARA\t\t\t\t##\tCuenta cuántos valores hay en la lista de argumentos.\r\nCOUNTBLANK\t\t= CONTAR.BLANCO\t\t\t\t##\tCuenta el número de celdas en blanco de un rango.\r\nCOUNTIF\t\t\t= CONTAR.SI\t\t\t\t##\tCuenta el número de celdas, dentro del rango, que cumplen el criterio especificado.\r\nCOUNTIFS\t\t= CONTAR.SI.CONJUNTO\t\t\t##\tCuenta el número de celdas, dentro del rango, que cumplen varios criterios.\r\nCOVAR\t\t\t= COVAR\t\t\t\t\t##\tDevuelve la covarianza, que es el promedio de los productos de las desviaciones para cada pareja de puntos de datos.\r\nCRITBINOM\t\t= BINOM.CRIT\t\t\t\t##\tDevuelve el menor valor cuya distribución binomial acumulativa es menor o igual a un valor de criterio.\r\nDEVSQ\t\t\t= DESVIA2\t\t\t\t##\tDevuelve la suma de los cuadrados de las desviaciones.\r\nEXPONDIST\t\t= DISTR.EXP\t\t\t\t##\tDevuelve la distribución exponencial.\r\nFDIST\t\t\t= DISTR.F\t\t\t\t##\tDevuelve la distribución de probabilidad F.\r\nFINV\t\t\t= DISTR.F.INV\t\t\t\t##\tDevuelve la función inversa de la distribución de probabilidad F.\r\nFISHER\t\t\t= FISHER\t\t\t\t##\tDevuelve la transformación Fisher.\r\nFISHERINV\t\t= PRUEBA.FISHER.INV\t\t\t##\tDevuelve la función inversa de la transformación Fisher.\r\nFORECAST\t\t= PRONOSTICO\t\t\t\t##\tDevuelve un valor en una tendencia lineal.\r\nFREQUENCY\t\t= FRECUENCIA\t\t\t\t##\tDevuelve una distribución de frecuencia como una matriz vertical.\r\nFTEST\t\t\t= PRUEBA.F\t\t\t\t##\tDevuelve el resultado de una prueba F.\r\nGAMMADIST\t\t= DISTR.GAMMA\t\t\t\t##\tDevuelve la distribución gamma.\r\nGAMMAINV\t\t= DISTR.GAMMA.INV\t\t\t##\tDevuelve la función inversa de la distribución gamma acumulativa.\r\nGAMMALN\t\t\t= GAMMA.LN\t\t\t\t##\tDevuelve el logaritmo natural de la función gamma, G(x).\r\nGEOMEAN\t\t\t= MEDIA.GEOM\t\t\t\t##\tDevuelve la media geométrica.\r\nGROWTH\t\t\t= CRECIMIENTO\t\t\t\t##\tDevuelve valores en una tendencia exponencial.\r\nHARMEAN\t\t\t= MEDIA.ARMO\t\t\t\t##\tDevuelve la media armónica.\r\nHYPGEOMDIST\t\t= DISTR.HIPERGEOM\t\t\t##\tDevuelve la distribución hipergeométrica.\r\nINTERCEPT\t\t= INTERSECCION.EJE\t\t\t##\tDevuelve la intersección de la línea de regresión lineal.\r\nKURT\t\t\t= CURTOSIS\t\t\t\t##\tDevuelve la curtosis de un conjunto de datos.\r\nLARGE\t\t\t= K.ESIMO.MAYOR\t\t\t\t##\tDevuelve el k-ésimo mayor valor de un conjunto de datos.\r\nLINEST\t\t\t= ESTIMACION.LINEAL\t\t\t##\tDevuelve los parámetros de una tendencia lineal.\r\nLOGEST\t\t\t= ESTIMACION.LOGARITMICA\t\t##\tDevuelve los parámetros de una tendencia exponencial.\r\nLOGINV\t\t\t= DISTR.LOG.INV\t\t\t\t##\tDevuelve la función inversa de la distribución logarítmico-normal.\r\nLOGNORMDIST\t\t= DISTR.LOG.NORM\t\t\t##\tDevuelve la distribución logarítmico-normal acumulativa.\r\nMAX\t\t\t= MAX\t\t\t\t\t##\tDevuelve el valor máximo de una lista de argumentos.\r\nMAXA\t\t\t= MAXA\t\t\t\t\t##\tDevuelve el valor máximo de una lista de argumentos, incluidos números, texto y valores lógicos.\r\nMEDIAN\t\t\t= MEDIANA\t\t\t\t##\tDevuelve la mediana de los números dados.\r\nMIN\t\t\t= MIN\t\t\t\t\t##\tDevuelve el valor mínimo de una lista de argumentos.\r\nMINA\t\t\t= MINA\t\t\t\t\t##\tDevuelve el valor mínimo de una lista de argumentos, incluidos números, texto y valores lógicos.\r\nMODE\t\t\t= MODA\t\t\t\t\t##\tDevuelve el valor más común de un conjunto de datos.\r\nNEGBINOMDIST\t\t= NEGBINOMDIST\t\t\t\t##\tDevuelve la distribución binomial negativa.\r\nNORMDIST\t\t= DISTR.NORM\t\t\t\t##\tDevuelve la distribución normal acumulativa.\r\nNORMINV\t\t\t= DISTR.NORM.INV\t\t\t##\tDevuelve la función inversa de la distribución normal acumulativa.\r\nNORMSDIST\t\t= DISTR.NORM.ESTAND\t\t\t##\tDevuelve la distribución normal estándar acumulativa.\r\nNORMSINV\t\t= DISTR.NORM.ESTAND.INV\t\t\t##\tDevuelve la función inversa de la distribución normal estándar acumulativa.\r\nPEARSON\t\t\t= PEARSON\t\t\t\t##\tDevuelve el coeficiente de momento de correlación de producto Pearson.\r\nPERCENTILE\t\t= PERCENTIL\t\t\t\t##\tDevuelve el k-ésimo percentil de los valores de un rango.\r\nPERCENTRANK\t\t= RANGO.PERCENTIL\t\t\t##\tDevuelve el rango porcentual de un valor de un conjunto de datos.\r\nPERMUT\t\t\t= PERMUTACIONES\t\t\t\t##\tDevuelve el número de permutaciones de un número determinado de objetos.\r\nPOISSON\t\t\t= POISSON\t\t\t\t##\tDevuelve la distribución de Poisson.\r\nPROB\t\t\t= PROBABILIDAD\t\t\t\t##\tDevuelve la probabilidad de que los valores de un rango se encuentren entre dos límites.\r\nQUARTILE\t\t= CUARTIL\t\t\t\t##\tDevuelve el cuartil de un conjunto de datos.\r\nRANK\t\t\t= JERARQUIA\t\t\t\t##\tDevuelve la jerarquía de un número en una lista de números.\r\nRSQ\t\t\t= COEFICIENTE.R2\t\t\t##\tDevuelve el cuadrado del coeficiente de momento de correlación de producto Pearson.\r\nSKEW\t\t\t= COEFICIENTE.ASIMETRIA\t\t\t##\tDevuelve la asimetría de una distribución.\r\nSLOPE\t\t\t= PENDIENTE\t\t\t\t##\tDevuelve la pendiente de la línea de regresión lineal.\r\nSMALL\t\t\t= K.ESIMO.MENOR\t\t\t\t##\tDevuelve el k-ésimo menor valor de un conjunto de datos.\r\nSTANDARDIZE\t\t= NORMALIZACION\t\t\t\t##\tDevuelve un valor normalizado.\r\nSTDEV\t\t\t= DESVEST\t\t\t\t##\tCalcula la desviación estándar a partir de una muestra.\r\nSTDEVA\t\t\t= DESVESTA\t\t\t\t##\tCalcula la desviación estándar a partir de una muestra, incluidos números, texto y valores lógicos.\r\nSTDEVP\t\t\t= DESVESTP\t\t\t\t##\tCalcula la desviación estándar en función de toda la población.\r\nSTDEVPA\t\t\t= DESVESTPA\t\t\t\t##\tCalcula la desviación estándar en función de toda la población, incluidos números, texto y valores lógicos.\r\nSTEYX\t\t\t= ERROR.TIPICO.XY\t\t\t##\tDevuelve el error estándar del valor de \"y\" previsto para cada \"x\" de la regresión.\r\nTDIST\t\t\t= DISTR.T\t\t\t\t##\tDevuelve la distribución de t de Student.\r\nTINV\t\t\t= DISTR.T.INV\t\t\t\t##\tDevuelve la función inversa de la distribución de t de Student.\r\nTREND\t\t\t= TENDENCIA\t\t\t\t##\tDevuelve valores en una tendencia lineal.\r\nTRIMMEAN\t\t= MEDIA.ACOTADA\t\t\t\t##\tDevuelve la media del interior de un conjunto de datos.\r\nTTEST\t\t\t= PRUEBA.T\t\t\t\t##\tDevuelve la probabilidad asociada a una prueba t de Student.\r\nVAR\t\t\t= VAR\t\t\t\t\t##\tCalcula la varianza en función de una muestra.\r\nVARA\t\t\t= VARA\t\t\t\t\t##\tCalcula la varianza en función de una muestra, incluidos números, texto y valores lógicos.\r\nVARP\t\t\t= VARP\t\t\t\t\t##\tCalcula la varianza en función de toda la población.\r\nVARPA\t\t\t= VARPA\t\t\t\t\t##\tCalcula la varianza en función de toda la población, incluidos números, texto y valores lógicos.\r\nWEIBULL\t\t\t= DIST.WEIBULL\t\t\t\t##\tDevuelve la distribución de Weibull.\r\nZTEST\t\t\t= PRUEBA.Z\t\t\t\t##\tDevuelve el valor de una probabilidad de una cola de una prueba z.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\t\tFunciones de texto\r\n##\r\nASC\t\t\t= ASC\t\t\t\t\t##\tConvierte las letras inglesas o katakana de ancho completo (de dos bytes) dentro de una cadena de caracteres en caracteres de ancho medio (de un byte).\r\nBAHTTEXT\t\t= TEXTOBAHT\t\t\t\t##\tConvierte un número en texto, con el formato de moneda ß (Baht).\r\nCHAR\t\t\t= CARACTER\t\t\t\t##\tDevuelve el carácter especificado por el número de código.\r\nCLEAN\t\t\t= LIMPIAR\t\t\t\t##\tQuita del texto todos los caracteres no imprimibles.\r\nCODE\t\t\t= CODIGO\t\t\t\t##\tDevuelve un código numérico del primer carácter de una cadena de texto.\r\nCONCATENATE\t\t= CONCATENAR\t\t\t\t##\tConcatena varios elementos de texto en uno solo.\r\nDOLLAR\t\t\t= MONEDA\t\t\t\t##\tConvierte un número en texto, con el formato de moneda $ (dólar).\r\nEXACT\t\t\t= IGUAL\t\t\t\t\t##\tComprueba si dos valores de texto son idénticos.\r\nFIND\t\t\t= ENCONTRAR\t\t\t\t##\tBusca un valor de texto dentro de otro (distingue mayúsculas de minúsculas).\r\nFINDB\t\t\t= ENCONTRARB\t\t\t\t##\tBusca un valor de texto dentro de otro (distingue mayúsculas de minúsculas).\r\nFIXED\t\t\t= DECIMAL\t\t\t\t##\tDa formato a un número como texto con un número fijo de decimales.\r\nJIS\t\t\t= JIS\t\t\t\t\t##\tConvierte las letras inglesas o katakana de ancho medio (de un byte) dentro de una cadena de caracteres en caracteres de ancho completo (de dos bytes).\r\nLEFT\t\t\t= IZQUIERDA\t\t\t\t##\tDevuelve los caracteres del lado izquierdo de un valor de texto.\r\nLEFTB\t\t\t= IZQUIERDAB\t\t\t\t##\tDevuelve los caracteres del lado izquierdo de un valor de texto.\r\nLEN\t\t\t= LARGO\t\t\t\t\t##\tDevuelve el número de caracteres de una cadena de texto.\r\nLENB\t\t\t= LARGOB\t\t\t\t##\tDevuelve el número de caracteres de una cadena de texto.\r\nLOWER\t\t\t= MINUSC\t\t\t\t##\tPone el texto en minúsculas.\r\nMID\t\t\t= EXTRAE\t\t\t\t##\tDevuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique.\r\nMIDB\t\t\t= EXTRAEB\t\t\t\t##\tDevuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique.\r\nPHONETIC\t\t= FONETICO\t\t\t\t##\tExtrae los caracteres fonéticos (furigana) de una cadena de texto.\r\nPROPER\t\t\t= NOMPROPIO\t\t\t\t##\tPone en mayúscula la primera letra de cada palabra de un valor de texto.\r\nREPLACE\t\t\t= REEMPLAZAR\t\t\t\t##\tReemplaza caracteres de texto.\r\nREPLACEB\t\t= REEMPLAZARB\t\t\t\t##\tReemplaza caracteres de texto.\r\nREPT\t\t\t= REPETIR\t\t\t\t##\tRepite el texto un número determinado de veces.\r\nRIGHT\t\t\t= DERECHA\t\t\t\t##\tDevuelve los caracteres del lado derecho de un valor de texto.\r\nRIGHTB\t\t\t= DERECHAB\t\t\t\t##\tDevuelve los caracteres del lado derecho de un valor de texto.\r\nSEARCH\t\t\t= HALLAR\t\t\t\t##\tBusca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas).\r\nSEARCHB\t\t\t= HALLARB\t\t\t\t##\tBusca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas).\r\nSUBSTITUTE\t\t= SUSTITUIR\t\t\t\t##\tSustituye texto nuevo por texto antiguo en una cadena de texto.\r\nT\t\t\t= T\t\t\t\t\t##\tConvierte sus argumentos a texto.\r\nTEXT\t\t\t= TEXTO\t\t\t\t\t##\tDa formato a un número y lo convierte en texto.\r\nTRIM\t\t\t= ESPACIOS\t\t\t\t##\tQuita los espacios del texto.\r\nUPPER\t\t\t= MAYUSC\t\t\t\t##\tPone el texto en mayúsculas.\r\nVALUE\t\t\t= VALOR\t\t\t\t\t##\tConvierte un argumento de texto en un número.\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/fi/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= $\t#\tSymbol not known, should it be a € (Euro)?\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #TYHJÄ!\r\nDIV0\t= #JAKO/0!\r\nVALUE\t= #ARVO!\r\nREF\t= #VIITTAUS!\r\nNAME\t= #NIMI?\r\nNUM\t= #LUKU!\r\nNA\t= #PUUTTUU\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/fi/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tApuohjelma- ja automaatiofunktiot\r\n##\r\nGETPIVOTDATA\t\t= NOUDA.PIVOT.TIEDOT\t\t##\tPalauttaa pivot-taulukkoraporttiin tallennettuja tietoja.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tKuutiofunktiot\r\n##\r\nCUBEKPIMEMBER\t\t= KUUTIOKPIJÄSEN\t\t##\tPalauttaa suorituskykyilmaisimen (KPI) nimen, ominaisuuden sekä mitan ja näyttää nimen sekä ominaisuuden solussa. KPI on mitattavissa oleva suure, kuten kuukauden bruttotuotto tai vuosineljänneksen työntekijäkohtainen liikevaihto, joiden avulla tarkkaillaan organisaation suorituskykyä.\r\nCUBEMEMBER\t\t= KUUTIONJÄSEN\t\t\t##\tPalauttaa kuutiohierarkian jäsenen tai monikon. Tällä funktiolla voit tarkistaa, että jäsen tai monikko on olemassa kuutiossa.\r\nCUBEMEMBERPROPERTY\t= KUUTIONJÄSENENOMINAISUUS\t##\tPalauttaa kuution jäsenominaisuuden arvon. Tällä funktiolla voit tarkistaa, että nimi on olemassa kuutiossa, ja palauttaa tämän jäsenen määritetyn ominaisuuden.\r\nCUBERANKEDMEMBER\t= KUUTIONLUOKITELTUJÄSEN\t##\tPalauttaa joukon n:nnen jäsenen. Tällä funktiolla voit palauttaa joukosta elementtejä, kuten parhaan myyjän tai 10 parasta opiskelijaa.\r\nCUBESET\t\t\t= KUUTIOJOUKKO\t\t\t##\tMäärittää lasketun jäsen- tai monikkojoukon lähettämällä joukon lausekkeita palvelimessa olevalle kuutiolle. Palvelin luo joukon ja palauttaa sen Microsoft Office Excelille.\r\nCUBESETCOUNT\t\t= KUUTIOJOUKKOJENMÄÄRÄ\t\t##\tPalauttaa joukon kohteiden määrän.\r\nCUBEVALUE\t\t= KUUTIONARVO\t\t\t##\tPalauttaa koostetun arvon kuutiosta.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tTietokantafunktiot\r\n##\r\nDAVERAGE\t\t= TKESKIARVO\t\t\t##\tPalauttaa valittujen tietokantamerkintöjen keskiarvon.\r\nDCOUNT\t\t\t= TLASKE\t\t\t##\tLaskee tietokannan lukuja sisältävien solujen määrän.\r\nDCOUNTA\t\t\t= TLASKEA\t\t\t##\tLaskee tietokannan tietoja sisältävien solujen määrän.\r\nDGET\t\t\t= TNOUDA\t\t\t##\tHakee määritettyjä ehtoja vastaavan tietueen tietokannasta.\r\nDMAX\t\t\t= TMAKS\t\t\t\t##\tPalauttaa suurimman arvon tietokannasta valittujen arvojen joukosta.\r\nDMIN\t\t\t= TMIN\t\t\t\t##\tPalauttaa pienimmän arvon tietokannasta valittujen arvojen joukosta.\r\nDPRODUCT\t\t= TTULO\t\t\t\t##\tKertoo määritetyn ehdon täyttävien tietokannan tietueiden tietyssä kentässä olevat arvot.\r\nDSTDEV\t\t\t= TKESKIHAJONTA\t\t\t##\tLaskee keskihajonnan tietokannasta valituista arvoista muodostuvan otoksen perusteella.\r\nDSTDEVP\t\t\t= TKESKIHAJONTAP\t\t##\tLaskee keskihajonnan tietokannasta valittujen arvojen koko populaation perusteella.\r\nDSUM\t\t\t= TSUMMA\t\t\t##\tLisää luvut määritetyn ehdon täyttävien tietokannan tietueiden kenttäsarakkeeseen.\r\nDVAR\t\t\t= TVARIANSSI\t\t\t##\tLaskee varianssin tietokannasta valittujen arvojen otoksen perusteella.\r\nDVARP\t\t\t= TVARIANSSIP\t\t\t##\tLaskee varianssin tietokannasta valittujen arvojen koko populaation perusteella.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tPäivämäärä- ja aikafunktiot\r\n##\r\nDATE\t\t\t= PÄIVÄYS\t\t\t##\tPalauttaa annetun päivämäärän järjestysluvun.\r\nDATEVALUE\t\t= PÄIVÄYSARVO\t\t\t##\tMuuntaa tekstimuodossa olevan päivämäärän järjestysluvuksi.\r\nDAY\t\t\t= PÄIVÄ\t\t\t\t##\tMuuntaa järjestysluvun kuukauden päiväksi.\r\nDAYS360\t\t\t= PÄIVÄT360\t\t\t##\tLaskee kahden päivämäärän välisten päivien määrän käyttäen perustana 360-päiväistä vuotta.\r\nEDATE\t\t\t= PÄIVÄ.KUUKAUSI\t\t##\tPalauttaa järjestyslukuna päivämäärän, joka poikkeaa aloituspäivän päivämäärästä annetun kuukausimäärän verran joko eteen- tai taaksepäin.\r\nEOMONTH\t\t\t= KUUKAUSI.LOPPU\t\t##\tPalauttaa järjestyslukuna sen kuukauden viimeisen päivämäärän, joka poikkeaa annetun kuukausimäärän verran eteen- tai taaksepäin.\r\nHOUR\t\t\t= TUNNIT\t\t\t##\tMuuntaa järjestysluvun tunneiksi.\r\nMINUTE\t\t\t= MINUUTIT\t\t\t##\tMuuntaa järjestysluvun minuuteiksi.\r\nMONTH\t\t\t= KUUKAUSI\t\t\t##\tMuuntaa järjestysluvun kuukausiksi.\r\nNETWORKDAYS\t\t= TYÖPÄIVÄT\t\t\t##\tPalauttaa kahden päivämäärän välissä olevien täysien työpäivien määrän.\r\nNOW\t\t\t= NYT\t\t\t\t##\tPalauttaa kuluvan päivämäärän ja ajan järjestysnumeron.\r\nSECOND\t\t\t= SEKUNNIT\t\t\t##\tMuuntaa järjestysluvun sekunneiksi.\r\nTIME\t\t\t= AIKA\t\t\t\t##\tPalauttaa annetun kellonajan järjestysluvun.\r\nTIMEVALUE\t\t= AIKA_ARVO\t\t\t##\tMuuntaa tekstimuodossa olevan kellonajan järjestysluvuksi.\r\nTODAY\t\t\t= TÄMÄ.PÄIVÄ\t\t\t##\tPalauttaa kuluvan päivän päivämäärän järjestysluvun.\r\nWEEKDAY\t\t\t= VIIKONPÄIVÄ\t\t\t##\tMuuntaa järjestysluvun viikonpäiväksi.\r\nWEEKNUM\t\t\t= VIIKKO.NRO\t\t\t##\tMuuntaa järjestysluvun luvuksi, joka ilmaisee viikon järjestysluvun vuoden alusta laskettuna.\r\nWORKDAY\t\t\t= TYÖPÄIVÄ\t\t\t##\tPalauttaa järjestysluvun päivämäärälle, joka sijaitsee annettujen työpäivien verran eteen tai taaksepäin.\r\nYEAR\t\t\t= VUOSI\t\t\t\t##\tMuuntaa järjestysluvun vuosiksi.\r\nYEARFRAC\t\t= VUOSI.OSA\t\t\t##\tPalauttaa määritettyjen päivämäärien (aloituspäivä ja lopetuspäivä) välisen osan vuodesta.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tTekniset funktiot\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tPalauttaa muunnetun Bessel-funktion In(x).\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tPalauttaa Bessel-funktion Jn(x).\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tPalauttaa muunnetun Bessel-funktion Kn(x).\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tPalauttaa Bessel-funktion Yn(x).\r\nBIN2DEC\t\t\t= BINDES\t\t\t##\tMuuntaa binaariluvun desimaaliluvuksi.\r\nBIN2HEX\t\t\t= BINHEKSA\t\t\t##\tMuuntaa binaariluvun heksadesimaaliluvuksi.\r\nBIN2OCT\t\t\t= BINOKT\t\t\t##\tMuuntaa binaariluvun oktaaliluvuksi.\r\nCOMPLEX\t\t\t= KOMPLEKSI\t\t\t##\tMuuntaa reaali- ja imaginaariosien kertoimet kompleksiluvuksi.\r\nCONVERT\t\t\t= MUUNNA\t\t\t##\tMuuntaa luvun toisen mittajärjestelmän mukaiseksi.\r\nDEC2BIN\t\t\t= DESBIN\t\t\t##\tMuuntaa desimaaliluvun binaariluvuksi.\r\nDEC2HEX\t\t\t= DESHEKSA\t\t\t##\tMuuntaa kymmenjärjestelmän luvun heksadesimaaliluvuksi.\r\nDEC2OCT\t\t\t= DESOKT\t\t\t##\tMuuntaa kymmenjärjestelmän luvun oktaaliluvuksi.\r\nDELTA\t\t\t= SAMA.ARVO\t\t\t##\tTarkistaa, ovatko kaksi arvoa yhtä suuria.\r\nERF\t\t\t= VIRHEFUNKTIO\t\t\t##\tPalauttaa virhefunktion.\r\nERFC\t\t\t= VIRHEFUNKTIO.KOMPLEMENTTI\t##\tPalauttaa komplementtivirhefunktion.\r\nGESTEP\t\t\t= RAJA\t\t\t\t##\tTestaa, onko luku suurempi kuin kynnysarvo.\r\nHEX2BIN\t\t\t= HEKSABIN\t\t\t##\tMuuntaa heksadesimaaliluvun binaariluvuksi.\r\nHEX2DEC\t\t\t= HEKSADES\t\t\t##\tMuuntaa heksadesimaaliluvun desimaaliluvuksi.\r\nHEX2OCT\t\t\t= HEKSAOKT\t\t\t##\tMuuntaa heksadesimaaliluvun oktaaliluvuksi.\r\nIMABS\t\t\t= KOMPLEKSI.ITSEISARVO\t\t##\tPalauttaa kompleksiluvun itseisarvon (moduluksen).\r\nIMAGINARY\t\t= KOMPLEKSI.IMAG\t\t##\tPalauttaa kompleksiluvun imaginaariosan kertoimen.\r\nIMARGUMENT\t\t= KOMPLEKSI.ARG\t\t\t##\tPalauttaa theeta-argumentin, joka on radiaaneina annettu kulma.\r\nIMCONJUGATE\t\t= KOMPLEKSI.KONJ\t\t##\tPalauttaa kompleksiluvun konjugaattiluvun.\r\nIMCOS\t\t\t= KOMPLEKSI.COS\t\t\t##\tPalauttaa kompleksiluvun kosinin.\r\nIMDIV\t\t\t= KOMPLEKSI.OSAM\t\t##\tPalauttaa kahden kompleksiluvun osamäärän.\r\nIMEXP\t\t\t= KOMPLEKSI.EKSP\t\t##\tPalauttaa kompleksiluvun eksponentin.\r\nIMLN\t\t\t= KOMPLEKSI.LN\t\t\t##\tPalauttaa kompleksiluvun luonnollisen logaritmin.\r\nIMLOG10\t\t\t= KOMPLEKSI.LOG10\t\t##\tPalauttaa kompleksiluvun kymmenkantaisen logaritmin.\r\nIMLOG2\t\t\t= KOMPLEKSI.LOG2\t\t##\tPalauttaa kompleksiluvun kaksikantaisen logaritmin.\r\nIMPOWER\t\t\t= KOMPLEKSI.POT\t\t\t##\tPalauttaa kokonaislukupotenssiin korotetun kompleksiluvun.\r\nIMPRODUCT\t\t= KOMPLEKSI.TULO\t\t##\tPalauttaa kompleksilukujen tulon.\r\nIMREAL\t\t\t= KOMPLEKSI.REAALI\t\t##\tPalauttaa kompleksiluvun reaaliosan kertoimen.\r\nIMSIN\t\t\t= KOMPLEKSI.SIN\t\t\t##\tPalauttaa kompleksiluvun sinin.\r\nIMSQRT\t\t\t= KOMPLEKSI.NELIÖJ\t\t##\tPalauttaa kompleksiluvun neliöjuuren.\r\nIMSUB\t\t\t= KOMPLEKSI.EROTUS\t\t##\tPalauttaa kahden kompleksiluvun erotuksen.\r\nIMSUM\t\t\t= KOMPLEKSI.SUM\t\t\t##\tPalauttaa kompleksilukujen summan.\r\nOCT2BIN\t\t\t= OKTBIN\t\t\t##\tMuuntaa oktaaliluvun binaariluvuksi.\r\nOCT2DEC\t\t\t= OKTDES\t\t\t##\tMuuntaa oktaaliluvun desimaaliluvuksi.\r\nOCT2HEX\t\t\t= OKTHEKSA\t\t\t##\tMuuntaa oktaaliluvun heksadesimaaliluvuksi.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tRahoitusfunktiot   \r\n##\r\nACCRINT\t\t\t= KERTYNYT.KORKO\t\t##\tLaskee arvopaperille kertyneen koron, kun korko kertyy säännöllisin väliajoin.\r\nACCRINTM\t\t= KERTYNYT.KORKO.LOPUSSA\t##\tLaskee arvopaperille kertyneen koron, kun korko maksetaan eräpäivänä.\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tLaskee kunkin laskentakauden poiston poistokerrointa käyttämällä.\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tPalauttaa kunkin laskentakauden poiston.\r\nCOUPDAYBS\t\t= KORKOPÄIVÄT.ALUSTA\t\t##\tPalauttaa koronmaksukauden aloituspäivän ja tilityspäivän välisen ajanjakson päivien määrän.\r\nCOUPDAYS\t\t= KORKOPÄIVÄT\t\t\t##\tPalauttaa päivien määrän koronmaksukaudelta, johon tilityspäivä kuuluu.\r\nCOUPDAYSNC\t\t= KORKOPÄIVÄT.SEURAAVA\t\t##\tPalauttaa tilityspäivän ja seuraavan koronmaksupäivän välisen ajanjakson päivien määrän.\r\nCOUPNCD\t\t\t= KORKOMAKSU.SEURAAVA\t\t##\tPalauttaa tilityspäivän jälkeisen seuraavan koronmaksupäivän.\r\nCOUPNUM\t\t\t= KORKOPÄIVÄJAKSOT\t\t##\tPalauttaa arvopaperin ostopäivän ja erääntymispäivän välisten koronmaksupäivien määrän.\r\nCOUPPCD\t\t\t= KORKOPÄIVÄ.EDELLINEN\t\t##\tPalauttaa tilityspäivää edeltävän koronmaksupäivän.\r\nCUMIPMT\t\t\t= MAKSETTU.KORKO\t\t##\tPalauttaa kahden jakson välisenä aikana kertyneen koron.\r\nCUMPRINC\t\t= MAKSETTU.LYHENNYS\t\t##\tPalauttaa lainalle kahden jakson välisenä aikana kertyneen lyhennyksen.\r\nDB\t\t\t= DB\t\t\t\t##\tPalauttaa kauden kirjanpidollisen poiston amerikkalaisen DB-menetelmän (Fixed-declining balance) mukaan.\r\nDDB\t\t\t= DDB\t\t\t\t##\tPalauttaa kauden kirjanpidollisen poiston amerikkalaisen DDB-menetelmän (Double-Declining Balance) tai jonkin muun määrittämäsi menetelmän mukaan.\r\nDISC\t\t\t= DISKONTTOKORKO\t\t##\tPalauttaa arvopaperin diskonttokoron.\r\nDOLLARDE\t\t= VALUUTTA.DES\t\t\t##\tMuuntaa murtolukuna ilmoitetun valuuttamäärän desimaaliluvuksi.\r\nDOLLARFR\t\t= VALUUTTA.MURTO\t\t##\tMuuntaa desimaalilukuna ilmaistun valuuttamäärän murtoluvuksi.\r\nDURATION\t\t= KESTO\t\t\t\t##\tPalauttaa keston arvopaperille, jonka koronmaksu tapahtuu säännöllisesti.\r\nEFFECT\t\t\t= KORKO.EFEKT\t\t\t##\tPalauttaa todellisen vuosikoron.\r\nFV\t\t\t= TULEVA.ARVO\t\t\t##\tPalauttaa sijoituksen tulevan arvon.\r\nFVSCHEDULE\t\t= TULEVA.ARVO.ERIKORKO\t\t##\tPalauttaa pääoman tulevan arvon, kun pääomalle on kertynyt korkoa vaihtelevasti.\r\nINTRATE\t\t\t= KORKO.ARVOPAPERI\t\t##\tPalauttaa arvopaperin korkokannan täysin sijoitetulle arvopaperille.\r\nIPMT\t\t\t= IPMT\t\t\t\t##\tLaskee sijoitukselle tai lainalle tiettynä ajanjaksona kertyvän koron.\r\nIRR\t\t\t= SISÄINEN.KORKO\t\t##\tLaskee sisäisen korkokannan kassavirrasta muodostuvalle sarjalle.\r\nISPMT\t\t\t= ONMAKSU\t\t\t##\tLaskee sijoituksen maksetun koron tietyllä jaksolla.\r\nMDURATION\t\t= KESTO.MUUNN\t\t\t##\tPalauttaa muunnetun Macauley-keston arvopaperille, jonka oletettu nimellisarvo on 100 euroa.\r\nMIRR\t\t\t= MSISÄINEN\t\t\t##\tPalauttaa sisäisen korkokannan, kun positiivisten ja negatiivisten kassavirtojen rahoituskorko on erilainen.\r\nNOMINAL\t\t\t= KORKO.VUOSI\t\t\t##\tPalauttaa vuosittaisen nimelliskoron.\r\nNPER\t\t\t= NJAKSO\t\t\t##\tPalauttaa sijoituksen jaksojen määrän.\r\nNPV\t\t\t= NNA\t\t\t\t##\tPalauttaa sijoituksen nykyarvon toistuvista kassavirroista muodostuvan sarjan ja diskonttokoron perusteella.\r\nODDFPRICE\t\t= PARITON.ENS.NIMELLISARVO\t##\tPalauttaa arvopaperin hinnan tilanteessa, jossa ensimmäinen jakso on pariton.\r\nODDFYIELD\t\t= PARITON.ENS.TUOTTO\t\t##\tPalauttaa arvopaperin tuoton tilanteessa, jossa ensimmäinen jakso on pariton.\r\nODDLPRICE\t\t= PARITON.VIIM.NIMELLISARVO\t##\tPalauttaa arvopaperin hinnan tilanteessa, jossa viimeinen jakso on pariton.\r\nODDLYIELD\t\t= PARITON.VIIM.TUOTTO\t\t##\tPalauttaa arvopaperin tuoton tilanteessa, jossa viimeinen jakso on pariton.\r\nPMT\t\t\t= MAKSU\t\t\t\t##\tPalauttaa annuiteetin kausittaisen maksuerän.\r\nPPMT\t\t\t= PPMT\t\t\t\t##\tLaskee sijoitukselle tai lainalle tiettynä ajanjaksona maksettavan lyhennyksen.\r\nPRICE\t\t\t= HINTA\t\t\t\t##\tPalauttaa hinnan 100 euron nimellisarvoa kohden arvopaperille, jonka korko maksetaan säännöllisin väliajoin.\r\nPRICEDISC\t\t= HINTA.DISK\t\t\t##\tPalauttaa diskontatun arvopaperin hinnan 100 euron nimellisarvoa kohden.\r\nPRICEMAT\t\t= HINTA.LUNASTUS\t\t##\tPalauttaa hinnan 100 euron nimellisarvoa kohden arvopaperille, jonka korko maksetaan erääntymispäivänä.\r\nPV\t\t\t= NA\t\t\t\t##\tPalauttaa sijoituksen nykyarvon.\r\nRATE\t\t\t= KORKO\t\t\t\t##\tPalauttaa annuiteetin kausittaisen korkokannan.\r\nRECEIVED\t\t= SAATU.HINTA\t\t\t##\tPalauttaa arvopaperin tuoton erääntymispäivänä kokonaan maksetulle sijoitukselle.\r\nSLN\t\t\t= STP\t\t\t\t##\tPalauttaa sijoituksen tasapoiston yhdeltä jaksolta.\r\nSYD\t\t\t= VUOSIPOISTO\t\t\t##\tPalauttaa sijoituksen vuosipoiston annettuna kautena amerikkalaisen SYD-menetelmän (Sum-of-Year's Digits) avulla.\r\nTBILLEQ\t\t\t= OBLIG.TUOTTOPROS\t\t##\tPalauttaa valtion obligaation tuoton vastaavana joukkovelkakirjan tuottona.\r\nTBILLPRICE\t\t= OBLIG.HINTA\t\t\t##\tPalauttaa obligaation hinnan 100 euron nimellisarvoa kohden.\r\nTBILLYIELD\t\t= OBLIG.TUOTTO\t\t\t##\tPalauttaa obligaation tuoton.\r\nVDB\t\t\t= VDB\t\t\t\t##\tPalauttaa annetun kauden tai kauden osan kirjanpidollisen poiston amerikkalaisen DB-menetelmän (Fixed-declining balance) mukaan.\r\nXIRR\t\t\t= SISÄINEN.KORKO.JAKSOTON\t##\tPalauttaa sisäisen korkokannan kassavirtojen sarjoille, jotka eivät välttämättä ole säännöllisiä.\r\nXNPV\t\t\t= NNA.JAKSOTON\t\t\t##\tPalauttaa nettonykyarvon kassavirtasarjalle, joka ei välttämättä ole kausittainen.\r\nYIELD\t\t\t= TUOTTO\t\t\t##\tPalauttaa tuoton arvopaperille, jonka korko maksetaan säännöllisin väliajoin.\r\nYIELDDISC\t\t= TUOTTO.DISK\t\t\t##\tPalauttaa diskontatun arvopaperin, kuten obligaation, vuosittaisen tuoton.\r\nYIELDMAT\t\t= TUOTTO.ERÄP\t\t\t##\tPalauttaa erääntymispäivänään korkoa tuottavan arvopaperin vuosittaisen tuoton.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tErikoisfunktiot\r\n##\r\nCELL\t\t\t= SOLU\t\t\t\t##\tPalauttaa tietoja solun muotoilusta, sijainnista ja sisällöstä.\r\nERROR.TYPE\t\t= VIRHEEN.LAJI\t\t\t##\tPalauttaa virhetyyppiä vastaavan luvun.\r\nINFO\t\t\t= KUVAUS\t\t\t##\tPalauttaa tietoja nykyisestä käyttöympäristöstä.\r\nISBLANK\t\t\t= ONTYHJÄ\t\t\t##\tPalauttaa arvon TOSI, jos arvo on tyhjä.\r\nISERR\t\t\t= ONVIRH\t\t\t##\tPalauttaa arvon TOSI, jos arvo on mikä tahansa virhearvo paitsi arvo #PUUTTUU!.\r\nISERROR\t\t\t= ONVIRHE\t\t\t##\tPalauttaa arvon TOSI, jos arvo on mikä tahansa virhearvo.\r\nISEVEN\t\t\t= ONPARILLINEN\t\t\t##\tPalauttaa arvon TOSI, jos arvo on parillinen.\r\nISLOGICAL\t\t= ONTOTUUS\t\t\t##\tPalauttaa arvon TOSI, jos arvo on mikä tahansa looginen arvo.\r\nISNA\t\t\t= ONPUUTTUU\t\t\t##\tPalauttaa arvon TOSI, jos virhearvo on #PUUTTUU!.\r\nISNONTEXT\t\t= ONEI_TEKSTI\t\t\t##\tPalauttaa arvon TOSI, jos arvo ei ole teksti.\r\nISNUMBER\t\t= ONLUKU\t\t\t##\tPalauttaa arvon TOSI, jos arvo on luku.\r\nISODD\t\t\t= ONPARITON\t\t\t##\tPalauttaa arvon TOSI, jos arvo on pariton.\r\nISREF\t\t\t= ONVIITT\t\t\t##\tPalauttaa arvon TOSI, jos arvo on viittaus.\r\nISTEXT\t\t\t= ONTEKSTI\t\t\t##\tPalauttaa arvon TOSI, jos arvo on teksti.\r\nN\t\t\t= N\t\t\t\t##\tPalauttaa arvon luvuksi muunnettuna.\r\nNA\t\t\t= PUUTTUU\t\t\t##\tPalauttaa virhearvon #PUUTTUU!.\r\nTYPE\t\t\t= TYYPPI\t\t\t##\tPalauttaa luvun, joka ilmaisee arvon tietotyypin.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tLoogiset funktiot\r\n##\r\nAND\t\t\t= JA\t\t\t\t##\tPalauttaa arvon TOSI, jos kaikkien argumenttien arvo on TOSI.\r\nFALSE\t\t\t= EPÄTOSI\t\t\t##\tPalauttaa totuusarvon EPÄTOSI.\r\nIF\t\t\t= JOS\t\t\t\t##\tMäärittää suoritettavan loogisen testin.\r\nIFERROR\t\t\t= JOSVIRHE\t\t\t##\tPalauttaa määrittämäsi arvon, jos kaavan tulos on virhe; muussa tapauksessa palauttaa kaavan tuloksen.\r\nNOT\t\t\t= EI\t\t\t\t##\tKääntää argumentin loogisen arvon.\r\nOR\t\t\t= TAI\t\t\t\t##\tPalauttaa arvon TOSI, jos minkä tahansa argumentin arvo on TOSI.\r\nTRUE\t\t\t= TOSI\t\t\t\t##\tPalauttaa totuusarvon TOSI.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tHaku- ja viitefunktiot\r\n##\r\nADDRESS\t\t\t= OSOITE\t\t\t##\tPalauttaa laskentataulukon soluun osoittavan viittauksen tekstinä.\r\nAREAS\t\t\t= ALUEET\t\t\t##\tPalauttaa viittauksessa olevien alueiden määrän.\r\nCHOOSE\t\t\t= VALITSE.INDEKSI\t\t##\tValitsee arvon arvoluettelosta.\r\nCOLUMN\t\t\t= SARAKE\t\t\t##\tPalauttaa viittauksen sarakenumeron.\r\nCOLUMNS\t\t\t= SARAKKEET\t\t\t##\tPalauttaa viittauksessa olevien sarakkeiden määrän.\r\nHLOOKUP\t\t\t= VHAKU\t\t\t\t##\tSuorittaa haun matriisin ylimmältä riviltä ja palauttaa määritetyn solun arvon.\r\nHYPERLINK\t\t= HYPERLINKKI\t\t\t##\tLuo pikakuvakkeen tai tekstin, joka avaa verkkopalvelimeen, intranetiin tai Internetiin tallennetun tiedoston.\r\nINDEX\t\t\t= INDEKSI\t\t\t##\tValitsee arvon viittauksesta tai matriisista indeksin mukaan.\r\nINDIRECT\t\t= EPÄSUORA\t\t\t##\tPalauttaa tekstiarvona ilmaistun viittauksen.\r\nLOOKUP\t\t\t= HAKU\t\t\t\t##\tEtsii arvoja vektorista tai matriisista.\r\nMATCH\t\t\t= VASTINE\t\t\t##\tEtsii arvoja viittauksesta tai matriisista.\r\nOFFSET\t\t\t= SIIRTYMÄ\t\t\t##\tPalauttaa annetun viittauksen siirtymän.\r\nROW\t\t\t= RIVI\t\t\t\t##\tPalauttaa viittauksen rivinumeron.\r\nROWS\t\t\t= RIVIT\t\t\t\t##\tPalauttaa viittauksessa olevien rivien määrän.\r\nRTD\t\t\t= RTD\t\t\t\t##\tNoutaa COM-automaatiota (automaatio: Tapa käsitellä sovelluksen objekteja toisesta sovelluksesta tai kehitystyökalusta. Automaatio, jota aiemmin kutsuttiin OLE-automaatioksi, on teollisuusstandardi ja COM-mallin (Component Object Model) ominaisuus.) tukevasta ohjelmasta reaaliaikaisia tietoja.\r\nTRANSPOSE\t\t= TRANSPONOI\t\t\t##\tPalauttaa matriisin käänteismatriisin.\r\nVLOOKUP\t\t\t= PHAKU\t\t\t\t##\tSuorittaa haun matriisin ensimmäisestä sarakkeesta ja palauttaa rivillä olevan solun arvon.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tMatemaattiset ja trigonometriset funktiot\r\n##\r\nABS\t\t\t= ITSEISARVO\t\t\t##\tPalauttaa luvun itseisarvon.\r\nACOS\t\t\t= ACOS\t\t\t\t##\tPalauttaa luvun arkuskosinin.\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tPalauttaa luvun käänteisen hyperbolisen kosinin.\r\nASIN\t\t\t= ASIN\t\t\t\t##\tPalauttaa luvun arkussinin.\r\nASINH\t\t\t= ASINH\t\t\t\t##\tPalauttaa luvun käänteisen hyperbolisen sinin.\r\nATAN\t\t\t= ATAN\t\t\t\t##\tPalauttaa luvun arkustangentin.\r\nATAN2\t\t\t= ATAN2\t\t\t\t##\tPalauttaa arkustangentin x- ja y-koordinaatin perusteella.\r\nATANH\t\t\t= ATANH\t\t\t\t##\tPalauttaa luvun käänteisen hyperbolisen tangentin.\r\nCEILING\t\t\t= PYÖRISTÄ.KERR.YLÖS\t\t##\tPyöristää luvun lähimpään kokonaislukuun tai tarkkuusargumentin lähimpään kerrannaiseen.\r\nCOMBIN\t\t\t= KOMBINAATIO\t\t\t##\tPalauttaa mahdollisten kombinaatioiden määrän annetulle objektien määrälle.\r\nCOS\t\t\t= COS\t\t\t\t##\tPalauttaa luvun kosinin.\r\nCOSH\t\t\t= COSH\t\t\t\t##\tPalauttaa luvun hyperbolisen kosinin.\r\nDEGREES\t\t\t= ASTEET\t\t\t##\tMuuntaa radiaanit asteiksi.\r\nEVEN\t\t\t= PARILLINEN\t\t\t##\tPyöristää luvun ylöspäin lähimpään parilliseen kokonaislukuun.\r\nEXP\t\t\t= EKSPONENTTI\t\t\t##\tPalauttaa e:n korotettuna annetun luvun osoittamaan potenssiin.\r\nFACT\t\t\t= KERTOMA\t\t\t##\tPalauttaa luvun kertoman.\r\nFACTDOUBLE\t\t= KERTOMA.OSA\t\t\t##\tPalauttaa luvun osakertoman.\r\nFLOOR\t\t\t= PYÖRISTÄ.KERR.ALAS\t\t##\tPyöristää luvun alaspäin (nollaa kohti).\r\nGCD\t\t\t= SUURIN.YHT.TEKIJÄ\t\t##\tPalauttaa suurimman yhteisen tekijän.\r\nINT\t\t\t= KOKONAISLUKU\t\t\t##\tPyöristää luvun alaspäin lähimpään kokonaislukuun.\r\nLCM\t\t\t= PIENIN.YHT.JAETTAVA\t\t##\tPalauttaa pienimmän yhteisen tekijän.\r\nLN\t\t\t= LUONNLOG\t\t\t##\tPalauttaa luvun luonnollisen logaritmin.\r\nLOG\t\t\t= LOG\t\t\t\t##\tLaskee luvun logaritmin käyttämällä annettua kantalukua.\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tPalauttaa luvun kymmenkantaisen logaritmin.\r\nMDETERM\t\t\t= MDETERM\t\t\t##\tPalauttaa matriisin matriisideterminantin.\r\nMINVERSE\t\t= MKÄÄNTEINEN\t\t\t##\tPalauttaa matriisin käänteismatriisin.\r\nMMULT\t\t\t= MKERRO\t\t\t##\tPalauttaa kahden matriisin tulon.\r\nMOD\t\t\t= JAKOJ\t\t\t\t##\tPalauttaa jakolaskun jäännöksen.\r\nMROUND\t\t\t= PYÖRISTÄ.KERR\t\t\t##\tPalauttaa luvun pyöristettynä annetun luvun kerrannaiseen.\r\nMULTINOMIAL\t\t= MULTINOMI\t\t\t##\tPalauttaa lukujoukon multinomin.\r\nODD\t\t\t= PARITON\t\t\t##\tPyöristää luvun ylöspäin lähimpään parittomaan kokonaislukuun.\r\nPI\t\t\t= PII\t\t\t\t##\tPalauttaa piin arvon.\r\nPOWER\t\t\t= POTENSSI\t\t\t##\tPalauttaa luvun korotettuna haluttuun potenssiin.\r\nPRODUCT\t\t\t= TULO\t\t\t\t##\tKertoo annetut argumentit.\r\nQUOTIENT\t\t= OSAMÄÄRÄ\t\t\t##\tPalauttaa osamäärän kokonaislukuosan.\r\nRADIANS\t\t\t= RADIAANIT\t\t\t##\tMuuntaa asteet radiaaneiksi.\r\nRAND\t\t\t= SATUNNAISLUKU\t\t\t##\tPalauttaa satunnaisluvun väliltä 0–1.\r\nRANDBETWEEN\t\t= SATUNNAISLUKU.VÄLILTÄ\t\t##\tPalauttaa satunnaisluvun määritettyjen lukujen väliltä.\r\nROMAN\t\t\t= ROMAN\t\t\t\t##\tMuuntaa arabialaisen numeron tekstimuotoiseksi roomalaiseksi numeroksi.\r\nROUND\t\t\t= PYÖRISTÄ\t\t\t##\tPyöristää luvun annettuun määrään desimaaleja.\r\nROUNDDOWN\t\t= PYÖRISTÄ.DES.ALAS\t\t##\tPyöristää luvun alaspäin (nollaa kohti).\r\nROUNDUP\t\t\t= PYÖRISTÄ.DES.YLÖS\t\t##\tPyöristää luvun ylöspäin (poispäin nollasta).\r\nSERIESSUM\t\t= SARJA.SUMMA\t\t\t##\tPalauttaa kaavaan perustuvan potenssisarjan arvon.\r\nSIGN\t\t\t= ETUMERKKI\t\t\t##\tPalauttaa luvun etumerkin.\r\nSIN\t\t\t= SIN\t\t\t\t##\tPalauttaa annetun kulman sinin.\r\nSINH\t\t\t= SINH\t\t\t\t##\tPalauttaa luvun hyperbolisen sinin.\r\nSQRT\t\t\t= NELIÖJUURI\t\t\t##\tPalauttaa positiivisen neliöjuuren.\r\nSQRTPI\t\t\t= NELIÖJUURI.PII\t\t##\tPalauttaa tulon (luku * pii) neliöjuuren.\r\nSUBTOTAL\t\t= VÄLISUMMA\t\t\t##\tPalauttaa luettelon tai tietokannan välisumman.\r\nSUM\t\t\t= SUMMA\t\t\t\t##\tLaskee yhteen annetut argumentit.\r\nSUMIF\t\t\t= SUMMA.JOS\t\t\t##\tLaskee ehdot täyttävien solujen summan.\r\nSUMIFS\t\t\t= SUMMA.JOS.JOUKKO\t\t##\tLaskee yhteen solualueen useita ehtoja vastaavat solut.\r\nSUMPRODUCT\t\t= TULOJEN.SUMMA\t\t\t##\tPalauttaa matriisin toisiaan vastaavien osien tulojen summan.\r\nSUMSQ\t\t\t= NELIÖSUMMA\t\t\t##\tPalauttaa argumenttien neliöiden summan.\r\nSUMX2MY2\t\t= NELIÖSUMMIEN.EROTUS\t\t##\tPalauttaa kahden matriisin toisiaan vastaavien arvojen laskettujen neliösummien erotuksen.\r\nSUMX2PY2\t\t= NELIÖSUMMIEN.SUMMA\t\t##\tPalauttaa kahden matriisin toisiaan vastaavien arvojen neliösummien summan.\r\nSUMXMY2\t\t\t= EROTUSTEN.NELIÖSUMMA\t\t##\tPalauttaa kahden matriisin toisiaan vastaavien arvojen erotusten neliösumman.\r\nTAN\t\t\t= TAN\t\t\t\t##\tPalauttaa luvun tangentin.\r\nTANH\t\t\t= TANH\t\t\t\t##\tPalauttaa luvun hyperbolisen tangentin.\r\nTRUNC\t\t\t= KATKAISE\t\t\t##\tKatkaisee luvun kokonaisluvuksi.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tTilastolliset funktiot\r\n##\r\nAVEDEV\t\t\t= KESKIPOIKKEAMA\t\t##\tPalauttaa hajontojen itseisarvojen keskiarvon.\r\nAVERAGE\t\t\t= KESKIARVO\t\t\t##\tPalauttaa argumenttien keskiarvon.\r\nAVERAGEA\t\t= KESKIARVOA\t\t\t##\tPalauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, keskiarvon.\r\nAVERAGEIF\t\t= KESKIARVO.JOS\t\t\t##\tPalauttaa alueen niiden solujen keskiarvon (aritmeettisen keskiarvon), jotka täyttävät annetut ehdot.\r\nAVERAGEIFS\t\t= KESKIARVO.JOS.JOUKKO\t\t##\tPalauttaa niiden solujen keskiarvon (aritmeettisen keskiarvon), jotka vastaavat useita ehtoja.\r\nBETADIST\t\t= BEETAJAKAUMA\t\t\t##\tPalauttaa kumulatiivisen beetajakaumafunktion arvon.\r\nBETAINV\t\t\t= BEETAJAKAUMA.KÄÄNT\t\t##\tPalauttaa määritetyn beetajakauman käänteisen kumulatiivisen jakaumafunktion arvon.\r\nBINOMDIST\t\t= BINOMIJAKAUMA\t\t\t##\tPalauttaa yksittäisen termin binomijakaumatodennäköisyyden.\r\nCHIDIST\t\t\t= CHIJAKAUMA\t\t\t##\tPalauttaa yksisuuntaisen chi-neliön jakauman todennäköisyyden.\r\nCHIINV\t\t\t= CHIJAKAUMA.KÄÄNT\t\t##\tPalauttaa yksisuuntaisen chi-neliön jakauman todennäköisyyden käänteisarvon.\r\nCHITEST\t\t\t= CHITESTI\t\t\t##\tPalauttaa riippumattomuustestin tuloksen.\r\nCONFIDENCE\t\t= LUOTTAMUSVÄLI\t\t\t##\tPalauttaa luottamusvälin populaation keskiarvolle.\r\nCORREL\t\t\t= KORRELAATIO\t\t\t##\tPalauttaa kahden arvojoukon korrelaatiokertoimen.\r\nCOUNT\t\t\t= LASKE\t\t\t\t##\tLaskee argumenttiluettelossa olevien lukujen määrän.\r\nCOUNTA\t\t\t= LASKE.A\t\t\t##\tLaskee argumenttiluettelossa olevien arvojen määrän.\r\nCOUNTBLANK\t\t= LASKE.TYHJÄT\t\t\t##\tLaskee alueella olevien tyhjien solujen määrän.\r\nCOUNTIF\t\t\t= LASKE.JOS\t\t\t##\tLaskee alueella olevien sellaisten solujen määrän, joiden sisältö vastaa annettuja ehtoja.\r\nCOUNTIFS\t\t= LASKE.JOS.JOUKKO\t\t##\tLaskee alueella olevien sellaisten solujen määrän, joiden sisältö vastaa useita ehtoja.\r\nCOVAR\t\t\t= KOVARIANSSI\t\t\t##\tPalauttaa kovarianssin, joka on keskiarvo havaintoaineiston kunkin pisteparin poikkeamien tuloista.\r\nCRITBINOM\t\t= BINOMIJAKAUMA.KRIT\t\t##\tPalauttaa pienimmän arvon, jossa binomijakauman kertymäfunktion arvo on pienempi tai yhtä suuri kuin vertailuarvo.\r\nDEVSQ\t\t\t= OIKAISTU.NELIÖSUMMA\t\t##\tPalauttaa keskipoikkeamien neliösumman.\r\nEXPONDIST\t\t= EKSPONENTIAALIJAKAUMA\t\t##\tPalauttaa eksponentiaalijakauman.\r\nFDIST\t\t\t= FJAKAUMA\t\t\t##\tPalauttaa F-todennäköisyysjakauman.\r\nFINV\t\t\t= FJAKAUMA.KÄÄNT\t\t##\tPalauttaa F-todennäköisyysjakauman käänteisfunktion.\r\nFISHER\t\t\t= FISHER\t\t\t##\tPalauttaa Fisher-muunnoksen.\r\nFISHERINV\t\t= FISHER.KÄÄNT\t\t\t##\tPalauttaa käänteisen Fisher-muunnoksen.\r\nFORECAST\t\t= ENNUSTE\t\t\t##\tPalauttaa lineaarisen trendin arvon.\r\nFREQUENCY\t\t= TAAJUUS\t\t\t##\tPalauttaa frekvenssijakautuman pystysuuntaisena matriisina.\r\nFTEST\t\t\t= FTESTI\t\t\t##\tPalauttaa F-testin tuloksen.\r\nGAMMADIST\t\t= GAMMAJAKAUMA\t\t\t##\tPalauttaa gammajakauman.\r\nGAMMAINV\t\t= GAMMAJAKAUMA.KÄÄNT\t\t##\tPalauttaa käänteisen gammajakauman kertymäfunktion.\r\nGAMMALN\t\t\t= GAMMALN\t\t\t##\tPalauttaa gammafunktion luonnollisen logaritmin G(x).\r\nGEOMEAN\t\t\t= KESKIARVO.GEOM\t\t##\tPalauttaa geometrisen keskiarvon.\r\nGROWTH\t\t\t= KASVU\t\t\t\t##\tPalauttaa eksponentiaalisen trendin arvon.\r\nHARMEAN\t\t\t= KESKIARVO.HARM\t\t##\tPalauttaa harmonisen keskiarvon.\r\nHYPGEOMDIST\t\t= HYPERGEOM.JAKAUMA\t\t##\tPalauttaa hypergeometrisen jakauman.\r\nINTERCEPT\t\t= LEIKKAUSPISTE\t\t\t##\tPalauttaa lineaarisen regressiosuoran leikkauspisteen.\r\nKURT\t\t\t= KURT\t\t\t\t##\tPalauttaa tietoalueen vinous-arvon eli huipukkuuden.\r\nLARGE\t\t\t= SUURI\t\t\t\t##\tPalauttaa tietojoukon k:nneksi suurimman arvon.\r\nLINEST\t\t\t= LINREGR\t\t\t##\tPalauttaa lineaarisen trendin parametrit.\r\nLOGEST\t\t\t= LOGREGR\t\t\t##\tPalauttaa eksponentiaalisen trendin parametrit.\r\nLOGINV\t\t\t= LOGNORM.JAKAUMA.KÄÄNT\t\t##\tPalauttaa lognormeeratun jakauman käänteisfunktion.\r\nLOGNORMDIST\t\t= LOGNORM.JAKAUMA\t\t##\tPalauttaa lognormaalisen jakauman kertymäfunktion.\r\nMAX\t\t\t= MAKS\t\t\t\t##\tPalauttaa suurimman arvon argumenttiluettelosta.\r\nMAXA\t\t\t= MAKSA\t\t\t\t##\tPalauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, suurimman arvon.\r\nMEDIAN\t\t\t= MEDIAANI\t\t\t##\tPalauttaa annettujen lukujen mediaanin.\r\nMIN\t\t\t= MIN\t\t\t\t##\tPalauttaa pienimmän arvon argumenttiluettelosta.\r\nMINA\t\t\t= MINA\t\t\t\t##\tPalauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, pienimmän arvon.\r\nMODE\t\t\t= MOODI\t\t\t\t##\tPalauttaa tietojoukossa useimmin esiintyvän arvon.\r\nNEGBINOMDIST\t\t= BINOMIJAKAUMA.NEG\t\t##\tPalauttaa negatiivisen binomijakauman.\r\nNORMDIST\t\t= NORM.JAKAUMA\t\t\t##\tPalauttaa normaalijakauman kertymäfunktion.\r\nNORMINV\t\t\t= NORM.JAKAUMA.KÄÄNT\t\t##\tPalauttaa käänteisen normaalijakauman kertymäfunktion.\r\nNORMSDIST\t\t= NORM.JAKAUMA.NORMIT\t\t##\tPalauttaa normitetun normaalijakauman kertymäfunktion.\r\nNORMSINV\t\t= NORM.JAKAUMA.NORMIT.KÄÄNT\t##\tPalauttaa normitetun normaalijakauman kertymäfunktion käänteisarvon.\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tPalauttaa Pearsonin tulomomenttikorrelaatiokertoimen.\r\nPERCENTILE\t\t= PROSENTTIPISTE\t\t##\tPalauttaa alueen arvojen k:nnen prosenttipisteen.\r\nPERCENTRANK\t\t= PROSENTTIJÄRJESTYS\t\t##\tPalauttaa tietojoukon arvon prosentuaalisen järjestysluvun.\r\nPERMUT\t\t\t= PERMUTAATIO\t\t\t##\tPalauttaa mahdollisten permutaatioiden määrän annetulle objektien määrälle.\r\nPOISSON\t\t\t= POISSON\t\t\t##\tPalauttaa Poissonin todennäköisyysjakauman.\r\nPROB\t\t\t= TODENNÄKÖISYYS\t\t##\tPalauttaa todennäköisyyden sille, että arvot ovat tietyltä väliltä.\r\nQUARTILE\t\t= NELJÄNNES\t\t\t##\tPalauttaa tietoalueen neljänneksen.\r\nRANK\t\t\t= ARVON.MUKAAN\t\t\t##\tPalauttaa luvun paikan lukuarvoluettelossa.\r\nRSQ\t\t\t= PEARSON.NELIÖ\t\t\t##\tPalauttaa Pearsonin tulomomenttikorrelaatiokertoimen neliön.\r\nSKEW\t\t\t= JAKAUMAN.VINOUS\t\t##\tPalauttaa jakauman vinouden.\r\nSLOPE\t\t\t= KULMAKERROIN\t\t\t##\tPalauttaa lineaarisen regressiosuoran kulmakertoimen.\r\nSMALL\t\t\t= PIENI\t\t\t\t##\tPalauttaa tietojoukon k:nneksi pienimmän arvon.\r\nSTANDARDIZE\t\t= NORMITA\t\t\t##\tPalauttaa normitetun arvon.\r\nSTDEV\t\t\t= KESKIHAJONTA\t\t\t##\tLaskee populaation keskihajonnan otoksen perusteella.\r\nSTDEVA\t\t\t= KESKIHAJONTAA\t\t\t##\tLaskee populaation keskihajonnan otoksen perusteella, mukaan lukien luvut, tekstin ja loogiset arvot.\r\nSTDEVP\t\t\t= KESKIHAJONTAP\t\t\t##\tLaskee normaalijakautuman koko populaation perusteella.\r\nSTDEVPA\t\t\t= KESKIHAJONTAPA\t\t##\tLaskee populaation keskihajonnan koko populaation perusteella, mukaan lukien luvut, tekstin ja totuusarvot.\r\nSTEYX\t\t\t= KESKIVIRHE\t\t\t##\tPalauttaa regression kutakin x-arvoa vastaavan ennustetun y-arvon keskivirheen.\r\nTDIST\t\t\t= TJAKAUMA\t\t\t##\tPalauttaa t-jakautuman.\r\nTINV\t\t\t= TJAKAUMA.KÄÄNT\t\t##\tPalauttaa käänteisen t-jakauman.\r\nTREND\t\t\t= SUUNTAUS\t\t\t##\tPalauttaa lineaarisen trendin arvoja.\r\nTRIMMEAN\t\t= KESKIARVO.TASATTU\t\t##\tPalauttaa tietojoukon tasatun keskiarvon.\r\nTTEST\t\t\t= TTESTI\t\t\t##\tPalauttaa t-testiin liittyvän todennäköisyyden.\r\nVAR\t\t\t= VAR\t\t\t\t##\tArvioi populaation varianssia otoksen perusteella.\r\nVARA\t\t\t= VARA\t\t\t\t##\tLaskee populaation varianssin otoksen perusteella, mukaan lukien luvut, tekstin ja loogiset arvot.\r\nVARP\t\t\t= VARP\t\t\t\t##\tLaskee varianssin koko populaation perusteella.\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tLaskee populaation varianssin koko populaation perusteella, mukaan lukien luvut, tekstin ja totuusarvot.\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tPalauttaa Weibullin jakauman.\r\nZTEST\t\t\t= ZTESTI\t\t\t##\tPalauttaa z-testin yksisuuntaisen todennäköisyysarvon.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tTekstifunktiot\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tMuuntaa merkkijonossa olevat englanninkieliset DBCS- tai katakana-merkit SBCS-merkeiksi.\r\nBAHTTEXT\t\t= BAHTTEKSTI\t\t\t##\tMuuntaa luvun tekstiksi ß (baht) -valuuttamuotoa käyttämällä.\r\nCHAR\t\t\t= MERKKI\t\t\t##\tPalauttaa koodin lukua vastaavan merkin.\r\nCLEAN\t\t\t= SIIVOA\t\t\t##\tPoistaa tekstistä kaikki tulostumattomat merkit.\r\nCODE\t\t\t= KOODI\t\t\t\t##\tPalauttaa tekstimerkkijonon ensimmäisen merkin numerokoodin.\r\nCONCATENATE\t\t= KETJUTA\t\t\t##\tYhdistää useat merkkijonot yhdeksi merkkijonoksi.\r\nDOLLAR\t\t\t= VALUUTTA\t\t\t##\tMuuntaa luvun tekstiksi $ (dollari) -valuuttamuotoa käyttämällä.\r\nEXACT\t\t\t= VERTAA\t\t\t##\tTarkistaa, ovatko kaksi tekstiarvoa samanlaiset.\r\nFIND\t\t\t= ETSI\t\t\t\t##\tEtsii tekstiarvon toisen tekstin sisältä (tunnistaa isot ja pienet kirjaimet).\r\nFINDB\t\t\t= ETSIB\t\t\t\t##\tEtsii tekstiarvon toisen tekstin sisältä (tunnistaa isot ja pienet kirjaimet).\r\nFIXED\t\t\t= KIINTEÄ\t\t\t##\tMuotoilee luvun tekstiksi, jossa on kiinteä määrä desimaaleja.\r\nJIS\t\t\t= JIS\t\t\t\t##\tMuuntaa merkkijonossa olevat englanninkieliset SBCS- tai katakana-merkit DBCS-merkeiksi.\r\nLEFT\t\t\t= VASEN\t\t\t\t##\tPalauttaa tekstiarvon vasemmanpuoliset merkit.\r\nLEFTB\t\t\t= VASENB\t\t\t##\tPalauttaa tekstiarvon vasemmanpuoliset merkit.\r\nLEN\t\t\t= PITUUS\t\t\t##\tPalauttaa tekstimerkkijonon merkkien määrän.\r\nLENB\t\t\t= PITUUSB\t\t\t##\tPalauttaa tekstimerkkijonon merkkien määrän.\r\nLOWER\t\t\t= PIENET\t\t\t##\tMuuntaa tekstin pieniksi kirjaimiksi.\r\nMID\t\t\t= POIMI.TEKSTI\t\t\t##\tPalauttaa määritetyn määrän merkkejä merkkijonosta alkaen annetusta kohdasta.\r\nMIDB\t\t\t= POIMI.TEKSTIB\t\t\t##\tPalauttaa määritetyn määrän merkkejä merkkijonosta alkaen annetusta kohdasta.\r\nPHONETIC\t\t= FONEETTINEN\t\t\t##\tHakee foneettiset (furigana) merkit merkkijonosta.\r\nPROPER\t\t\t= ERISNIMI\t\t\t##\tMuuttaa merkkijonon kunkin sanan ensimmäisen kirjaimen isoksi.\r\nREPLACE\t\t\t= KORVAA\t\t\t##\tKorvaa tekstissä olevat merkit.\r\nREPLACEB\t\t= KORVAAB\t\t\t##\tKorvaa tekstissä olevat merkit.\r\nREPT\t\t\t= TOISTA\t\t\t##\tToistaa tekstin annetun määrän kertoja.\r\nRIGHT\t\t\t= OIKEA\t\t\t\t##\tPalauttaa tekstiarvon oikeanpuoliset merkit.\r\nRIGHTB\t\t\t= OIKEAB\t\t\t##\tPalauttaa tekstiarvon oikeanpuoliset merkit.\r\nSEARCH\t\t\t= KÄY.LÄPI\t\t\t##\tEtsii tekstiarvon toisen tekstin sisältä (isot ja pienet kirjaimet tulkitaan samoiksi merkeiksi).\r\nSEARCHB\t\t\t= KÄY.LÄPIB\t\t\t##\tEtsii tekstiarvon toisen tekstin sisältä (isot ja pienet kirjaimet tulkitaan samoiksi merkeiksi).\r\nSUBSTITUTE\t\t= VAIHDA\t\t\t##\tKorvaa merkkijonossa olevan tekstin toisella.\r\nT\t\t\t= T\t\t\t\t##\tMuuntaa argumentit tekstiksi.\r\nTEXT\t\t\t= TEKSTI\t\t\t##\tMuotoilee luvun ja muuntaa sen tekstiksi.\r\nTRIM\t\t\t= POISTA.VÄLIT\t\t\t##\tPoistaa välilyönnit tekstistä.\r\nUPPER\t\t\t= ISOT\t\t\t\t##\tMuuntaa tekstin isoiksi kirjaimiksi.\r\nVALUE\t\t\t= ARVO\t\t\t\t##\tMuuntaa tekstiargumentin luvuksi.\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/fr/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= €\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NUL!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #VALEUR!\r\nREF\t= #REF!\r\nNAME\t= #NOM?\r\nNUM\t= #NOMBRE!\r\nNA\t= #N/A\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/fr/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tFonctions de complément et d’automatisation\r\n##\r\nGETPIVOTDATA\t\t= LIREDONNEESTABCROISDYNAMIQUE\t##\tRenvoie les données stockées dans un rapport de tableau croisé dynamique.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tFonctions Cube\r\n##\r\nCUBEKPIMEMBER\t\t= MEMBREKPICUBE\t\t\t##\tRenvoie un nom, une propriété et une mesure d’indicateur de performance clé et affiche le nom et la propriété dans la cellule. Un indicateur de performance clé est une mesure quantifiable, telle que la marge bénéficiaire brute mensuelle ou la rotation trimestrielle du personnel, utilisée pour évaluer les performances d’une entreprise.\r\nCUBEMEMBER\t\t= MEMBRECUBE\t\t\t##\tRenvoie un membre ou un uplet dans une hiérarchie de cubes. Utilisez cette fonction pour valider l’existence du membre ou de l’uplet dans le cube.\r\nCUBEMEMBERPROPERTY\t= PROPRIETEMEMBRECUBE\t\t##\tRenvoie la valeur d’une propriété de membre du cube. Utilisez cette fonction pour valider l’existence d’un nom de membre dans le cube et pour renvoyer la propriété spécifiée pour ce membre.\r\nCUBERANKEDMEMBER\t= RANGMEMBRECUBE\t\t##\tRenvoie le nième membre ou le membre placé à un certain rang dans un ensemble. Utilisez cette fonction pour renvoyer un ou plusieurs éléments d’un ensemble, tels que les meilleurs vendeurs ou les 10 meilleurs étudiants.\r\nCUBESET\t\t\t= JEUCUBE\t\t\t##\tDéfinit un ensemble calculé de membres ou d’uplets en envoyant une expression définie au cube sur le serveur qui crée l’ensemble et le renvoie à Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= NBJEUCUBE\t\t\t##\tRenvoie le nombre d’éléments dans un jeu.\r\nCUBEVALUE\t\t= VALEURCUBE\t\t\t##\tRenvoie une valeur d’agrégation issue d’un cube.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tFonctions de base de données\r\n##\r\nDAVERAGE\t\t= BDMOYENNE\t\t\t##\tRenvoie la moyenne des entrées de base de données sélectionnées.\r\nDCOUNT\t\t\t= BCOMPTE\t\t\t##\tCompte le nombre de cellules d’une base de données qui contiennent des nombres.\r\nDCOUNTA\t\t\t= BDNBVAL\t\t\t##\tCompte les cellules non vides d’une base de données.\r\nDGET\t\t\t= BDLIRE\t\t\t##\tExtrait d’une base de données un enregistrement unique répondant aux critères spécifiés.\r\nDMAX\t\t\t= BDMAX\t\t\t\t##\tRenvoie la valeur maximale des entrées de base de données sélectionnées.\r\nDMIN\t\t\t= BDMIN\t\t\t\t##\tRenvoie la valeur minimale des entrées de base de données sélectionnées.\r\nDPRODUCT\t\t= BDPRODUIT\t\t\t##\tMultiplie les valeurs d’un champ particulier des enregistrements d’une base de données, qui répondent aux critères spécifiés.\r\nDSTDEV\t\t\t= BDECARTYPE\t\t\t##\tCalcule l’écart type pour un échantillon d’entrées de base de données sélectionnées.\r\nDSTDEVP\t\t\t= BDECARTYPEP\t\t\t##\tCalcule l’écart type pour l’ensemble d’une population d’entrées de base de données sélectionnées.\r\nDSUM\t\t\t= BDSOMME\t\t\t##\tAjoute les nombres dans la colonne de champ des enregistrements de la base de données, qui répondent aux critères.\r\nDVAR\t\t\t= BDVAR\t\t\t\t##\tCalcule la variance pour un échantillon d’entrées de base de données sélectionnées.\r\nDVARP\t\t\t= BDVARP\t\t\t##\tCalcule la variance pour l’ensemble d’une population d’entrées de base de données sélectionnées.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tFonctions de date et d’heure\r\n##\r\nDATE\t\t\t= DATE\t\t\t\t##\tRenvoie le numéro de série d’une date précise.\r\nDATEVALUE\t\t= DATEVAL\t\t\t##\tConvertit une date représentée sous forme de texte en numéro de série.\r\nDAY\t\t\t= JOUR\t\t\t\t##\tConvertit un numéro de série en jour du mois.\r\nDAYS360\t\t\t= JOURS360\t\t\t##\tCalcule le nombre de jours qui séparent deux dates sur la base d’une année de 360 jours.\r\nEDATE\t\t\t= MOIS.DECALER\t\t\t##\tRenvoie le numéro séquentiel de la date qui représente une date spécifiée (l’argument date_départ), corrigée en plus ou en moins du nombre de mois indiqué.\r\nEOMONTH\t\t\t= FIN.MOIS\t\t\t##\tRenvoie le numéro séquentiel de la date du dernier jour du mois précédant ou suivant la date_départ du nombre de mois indiqué.\r\nHOUR\t\t\t= HEURE\t\t\t\t##\tConvertit un numéro de série en heure.\r\nMINUTE\t\t\t= MINUTE\t\t\t##\tConvertit un numéro de série en minute.\r\nMONTH\t\t\t= MOIS\t\t\t\t##\tConvertit un numéro de série en mois.\r\nNETWORKDAYS\t\t= NB.JOURS.OUVRES\t\t##\tRenvoie le nombre de jours ouvrés entiers compris entre deux dates.\r\nNOW\t\t\t= MAINTENANT\t\t\t##\tRenvoie le numéro de série de la date et de l’heure du jour.\r\nSECOND\t\t\t= SECONDE\t\t\t##\tConvertit un numéro de série en seconde.\r\nTIME\t\t\t= TEMPS\t\t\t\t##\tRenvoie le numéro de série d’une heure précise.\r\nTIMEVALUE\t\t= TEMPSVAL\t\t\t##\tConvertit une date représentée sous forme de texte en numéro de série.\r\nTODAY\t\t\t= AUJOURDHUI\t\t\t##\tRenvoie le numéro de série de la date du jour.\r\nWEEKDAY\t\t\t= JOURSEM\t\t\t##\tConvertit un numéro de série en jour de la semaine.\r\nWEEKNUM\t\t\t= NO.SEMAINE\t\t\t##\tConvertit un numéro de série en un numéro représentant l’ordre de la semaine dans l’année.\r\nWORKDAY\t\t\t= SERIE.JOUR.OUVRE\t\t##\tRenvoie le numéro de série de la date avant ou après le nombre de jours ouvrés spécifiés.\r\nYEAR\t\t\t= ANNEE\t\t\t\t##\tConvertit un numéro de série en année.\r\nYEARFRAC\t\t= FRACTION.ANNEE\t\t##\tRenvoie la fraction de l’année représentant le nombre de jours entre la date de début et la date de fin.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tFonctions d’ingénierie\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tRenvoie la fonction Bessel modifiée In(x).\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tRenvoie la fonction Bessel Jn(x).\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tRenvoie la fonction Bessel modifiée Kn(x).\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tRenvoie la fonction Bessel Yn(x).\r\nBIN2DEC\t\t\t= BINDEC\t\t\t##\tConvertit un nombre binaire en nombre décimal.\r\nBIN2HEX\t\t\t= BINHEX\t\t\t##\tConvertit un nombre binaire en nombre hexadécimal.\r\nBIN2OCT\t\t\t= BINOCT\t\t\t##\tConvertit un nombre binaire en nombre octal.\r\nCOMPLEX\t\t\t= COMPLEXE\t\t\t##\tConvertit des coefficients réel et imaginaire en un nombre complexe.\r\nCONVERT\t\t\t= CONVERT\t\t\t##\tConvertit un nombre d’une unité de mesure à une autre.\r\nDEC2BIN\t\t\t= DECBIN\t\t\t##\tConvertit un nombre décimal en nombre binaire.\r\nDEC2HEX\t\t\t= DECHEX\t\t\t##\tConvertit un nombre décimal en nombre hexadécimal.\r\nDEC2OCT\t\t\t= DECOCT\t\t\t##\tConvertit un nombre décimal en nombre octal.\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tTeste l’égalité de deux nombres.\r\nERF\t\t\t= ERF\t\t\t\t##\tRenvoie la valeur de la fonction d’erreur.\r\nERFC\t\t\t= ERFC\t\t\t\t##\tRenvoie la valeur de la fonction d’erreur complémentaire.\r\nGESTEP\t\t\t= SUP.SEUIL\t\t\t##\tTeste si un nombre est supérieur à une valeur de seuil.\r\nHEX2BIN\t\t\t= HEXBIN\t\t\t##\tConvertit un nombre hexadécimal en nombre binaire.\r\nHEX2DEC\t\t\t= HEXDEC\t\t\t##\tConvertit un nombre hexadécimal en nombre décimal.\r\nHEX2OCT\t\t\t= HEXOCT\t\t\t##\tConvertit un nombre hexadécimal en nombre octal.\r\nIMABS\t\t\t= COMPLEXE.MODULE\t\t##\tRenvoie la valeur absolue (module) d’un nombre complexe.\r\nIMAGINARY\t\t= COMPLEXE.IMAGINAIRE\t\t##\tRenvoie le coefficient imaginaire d’un nombre complexe.\r\nIMARGUMENT\t\t= COMPLEXE.ARGUMENT\t\t##\tRenvoie l’argument thêta, un angle exprimé en radians.\r\nIMCONJUGATE\t\t= COMPLEXE.CONJUGUE\t\t##\tRenvoie le nombre complexe conjugué d’un nombre complexe.\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tRenvoie le cosinus d’un nombre complexe.\r\nIMDIV\t\t\t= COMPLEXE.DIV\t\t\t##\tRenvoie le quotient de deux nombres complexes.\r\nIMEXP\t\t\t= COMPLEXE.EXP\t\t\t##\tRenvoie la fonction exponentielle d’un nombre complexe.\r\nIMLN\t\t\t= COMPLEXE.LN\t\t\t##\tRenvoie le logarithme népérien d’un nombre complexe.\r\nIMLOG10\t\t\t= COMPLEXE.LOG10\t\t##\tCalcule le logarithme en base 10 d’un nombre complexe.\r\nIMLOG2\t\t\t= COMPLEXE.LOG2\t\t\t##\tCalcule le logarithme en base 2 d’un nombre complexe.\r\nIMPOWER\t\t\t= COMPLEXE.PUISSANCE\t\t##\tRenvoie un nombre complexe élevé à une puissance entière.\r\nIMPRODUCT\t\t= COMPLEXE.PRODUIT\t\t##\tRenvoie le produit de plusieurs nombres complexes.\r\nIMREAL\t\t\t= COMPLEXE.REEL\t\t\t##\tRenvoie le coefficient réel d’un nombre complexe.\r\nIMSIN\t\t\t= COMPLEXE.SIN\t\t\t##\tRenvoie le sinus d’un nombre complexe.\r\nIMSQRT\t\t\t= COMPLEXE.RACINE\t\t##\tRenvoie la racine carrée d’un nombre complexe.\r\nIMSUB\t\t\t= COMPLEXE.DIFFERENCE\t\t##\tRenvoie la différence entre deux nombres complexes.\r\nIMSUM\t\t\t= COMPLEXE.SOMME\t\t##\tRenvoie la somme de plusieurs nombres complexes.\r\nOCT2BIN\t\t\t= OCTBIN\t\t\t##\tConvertit un nombre octal en nombre binaire.\r\nOCT2DEC\t\t\t= OCTDEC\t\t\t##\tConvertit un nombre octal en nombre décimal.\r\nOCT2HEX\t\t\t= OCTHEX\t\t\t##\tConvertit un nombre octal en nombre hexadécimal.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFonctions financières\r\n##\r\nACCRINT\t\t\t= INTERET.ACC\t\t\t##\tRenvoie l’intérêt couru non échu d’un titre dont l’intérêt est perçu périodiquement.\r\nACCRINTM\t\t= INTERET.ACC.MAT\t\t##\tRenvoie l’intérêt couru non échu d’un titre dont l’intérêt est perçu à l’échéance.\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tRenvoie l’amortissement correspondant à chaque période comptable en utilisant un coefficient d’amortissement.\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tRenvoie l’amortissement d’un bien à la fin d’une période fiscale donnée.\r\nCOUPDAYBS\t\t= NB.JOURS.COUPON.PREC\t\t##\tRenvoie le nombre de jours entre le début de la période de coupon et la date de liquidation.\r\nCOUPDAYS\t\t= NB.JOURS.COUPONS\t\t##\tRenvoie le nombre de jours pour la période du coupon contenant la date de liquidation.\r\nCOUPDAYSNC\t\t= NB.JOURS.COUPON.SUIV\t\t##\tRenvoie le nombre de jours entre la date de liquidation et la date du coupon suivant la date de liquidation.\r\nCOUPNCD\t\t\t= DATE.COUPON.SUIV\t\t##\tRenvoie la première date de coupon ultérieure à la date de règlement.\r\nCOUPNUM\t\t\t= NB.COUPONS\t\t\t##\tRenvoie le nombre de coupons dus entre la date de règlement et la date d’échéance.\r\nCOUPPCD\t\t\t= DATE.COUPON.PREC\t\t##\tRenvoie la date de coupon précédant la date de règlement.\r\nCUMIPMT\t\t\t= CUMUL.INTER\t\t\t##\tRenvoie l’intérêt cumulé payé sur un emprunt entre deux périodes.\r\nCUMPRINC\t\t= CUMUL.PRINCPER\t\t##\tRenvoie le montant cumulé des remboursements du capital d’un emprunt effectués entre deux périodes.\r\nDB\t\t\t= DB\t\t\t\t##\tRenvoie l’amortissement d’un bien pour une période spécifiée en utilisant la méthode de l’amortissement dégressif à taux fixe.\r\nDDB\t\t\t= DDB\t\t\t\t##\tRenvoie l’amortissement d’un bien pour toute période spécifiée, en utilisant la méthode de l’amortissement dégressif à taux double ou selon un coefficient à spécifier.\r\nDISC\t\t\t= TAUX.ESCOMPTE\t\t\t##\tCalcule le taux d’escompte d’une transaction.\r\nDOLLARDE\t\t= PRIX.DEC\t\t\t##\tConvertit un prix en euros, exprimé sous forme de fraction, en un prix en euros exprimé sous forme de nombre décimal.\r\nDOLLARFR\t\t= PRIX.FRAC\t\t\t##\tConvertit un prix en euros, exprimé sous forme de nombre décimal, en un prix en euros exprimé sous forme de fraction.\r\nDURATION\t\t= DUREE\t\t\t\t##\tRenvoie la durée, en années, d’un titre dont l’intérêt est perçu périodiquement.\r\nEFFECT\t\t\t= TAUX.EFFECTIF\t\t\t##\tRenvoie le taux d’intérêt annuel effectif.\r\nFV\t\t\t= VC\t\t\t\t##\tRenvoie la valeur future d’un investissement.\r\nFVSCHEDULE\t\t= VC.PAIEMENTS\t\t\t##\tCalcule la valeur future d’un investissement en appliquant une série de taux d’intérêt composites.\r\nINTRATE\t\t\t= TAUX.INTERET\t\t\t##\tAffiche le taux d’intérêt d’un titre totalement investi.\r\nIPMT\t\t\t= INTPER\t\t\t##\tCalcule le montant des intérêts d’un investissement pour une période donnée.\r\nIRR\t\t\t= TRI\t\t\t\t##\tCalcule le taux de rentabilité interne d’un investissement pour une succession de trésoreries.\r\nISPMT\t\t\t= ISPMT\t\t\t\t##\tCalcule le montant des intérêts d’un investissement pour une période donnée.\r\nMDURATION\t\t= DUREE.MODIFIEE\t\t##\tRenvoie la durée de Macauley modifiée pour un titre ayant une valeur nominale hypothétique de 100_euros.\r\nMIRR\t\t\t= TRIM\t\t\t\t##\tCalcule le taux de rentabilité interne lorsque les paiements positifs et négatifs sont financés à des taux différents.\r\nNOMINAL\t\t\t= TAUX.NOMINAL\t\t\t##\tCalcule le taux d’intérêt nominal annuel.\r\nNPER\t\t\t= NPM\t\t\t\t##\tRenvoie le nombre de versements nécessaires pour rembourser un emprunt.\r\nNPV\t\t\t= VAN\t\t\t\t##\tCalcule la valeur actuelle nette d’un investissement basé sur une série de décaissements et un taux d’escompte.\r\nODDFPRICE\t\t= PRIX.PCOUPON.IRREG\t\t##\tRenvoie le prix par tranche de valeur nominale de 100 euros d’un titre dont la première période de coupon est irrégulière.\r\nODDFYIELD\t\t= REND.PCOUPON.IRREG\t\t##\tRenvoie le taux de rendement d’un titre dont la première période de coupon est irrégulière.\r\nODDLPRICE\t\t= PRIX.DCOUPON.IRREG\t\t##\tRenvoie le prix par tranche de valeur nominale de 100 euros d’un titre dont la première période de coupon est irrégulière.\r\nODDLYIELD\t\t= REND.DCOUPON.IRREG\t\t##\tRenvoie le taux de rendement d’un titre dont la dernière période de coupon est irrégulière.\r\nPMT\t\t\t= VPM\t\t\t\t##\tCalcule le paiement périodique d’un investissement donné.\r\nPPMT\t\t\t= PRINCPER\t\t\t##\tCalcule, pour une période donnée, la part de remboursement du principal d’un investissement.\r\nPRICE\t\t\t= PRIX.TITRE\t\t\t##\tRenvoie le prix d’un titre rapportant des intérêts périodiques, pour une valeur nominale de 100 euros.\r\nPRICEDISC\t\t= VALEUR.ENCAISSEMENT\t\t##\tRenvoie la valeur d’encaissement d’un escompte commercial, pour une valeur nominale de 100 euros.\r\nPRICEMAT\t\t= PRIX.TITRE.ECHEANCE\t\t##\tRenvoie le prix d’un titre dont la valeur nominale est 100 euros et qui rapporte des intérêts à l’échéance.\r\nPV\t\t\t= PV\t\t\t\t##\tCalcule la valeur actuelle d’un investissement.\r\nRATE\t\t\t= TAUX\t\t\t\t##\tCalcule le taux d’intérêt par période pour une annuité.\r\nRECEIVED\t\t= VALEUR.NOMINALE\t\t##\tRenvoie la valeur nominale à échéance d’un effet de commerce.\r\nSLN\t\t\t= AMORLIN\t\t\t##\tCalcule l’amortissement linéaire d’un bien pour une période donnée.\r\nSYD\t\t\t= SYD\t\t\t\t##\tCalcule l’amortissement d’un bien pour une période donnée sur la base de la méthode américaine Sum-of-Years Digits (amortissement dégressif à taux décroissant appliqué à une valeur constante).\r\nTBILLEQ\t\t\t= TAUX.ESCOMPTE.R\t\t##\tRenvoie le taux d’escompte rationnel d’un bon du Trésor.\r\nTBILLPRICE\t\t= PRIX.BON.TRESOR\t\t##\tRenvoie le prix d’un bon du Trésor d’une valeur nominale de 100 euros.\r\nTBILLYIELD\t\t= RENDEMENT.BON.TRESOR\t\t##\tCalcule le taux de rendement d’un bon du Trésor.\r\nVDB\t\t\t= VDB\t\t\t\t##\tRenvoie l’amortissement d’un bien pour une période spécifiée ou partielle en utilisant une méthode de l’amortissement dégressif à taux fixe.\r\nXIRR\t\t\t= TRI.PAIEMENTS\t\t\t##\tCalcule le taux de rentabilité interne d’un ensemble de paiements non périodiques.\r\nXNPV\t\t\t= VAN.PAIEMENTS\t\t\t##\tRenvoie la valeur actuelle nette d’un ensemble de paiements non périodiques.\r\nYIELD\t\t\t= RENDEMENT.TITRE\t\t##\tCalcule le rendement d’un titre rapportant des intérêts périodiquement.\r\nYIELDDISC\t\t= RENDEMENT.SIMPLE\t\t##\tCalcule le taux de rendement d’un emprunt à intérêt simple (par exemple, un bon du Trésor).\r\nYIELDMAT\t\t= RENDEMENT.TITRE.ECHEANCE\t##\tRenvoie le rendement annuel d’un titre qui rapporte des intérêts à l’échéance.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tFonctions d’information\r\n##\r\nCELL\t\t\t= CELLULE\t\t\t##\tRenvoie des informations sur la mise en forme, l’emplacement et le contenu d’une cellule.\r\nERROR.TYPE\t\t= TYPE.ERREUR\t\t\t##\tRenvoie un nombre correspondant à un type d’erreur.\r\nINFO\t\t\t= INFORMATIONS\t\t\t##\tRenvoie des informations sur l’environnement d’exploitation actuel.\r\nISBLANK\t\t\t= ESTVIDE\t\t\t##\tRenvoie VRAI si l’argument valeur est vide.\r\nISERR\t\t\t= ESTERR\t\t\t##\tRenvoie VRAI si l’argument valeur fait référence à une valeur d’erreur, sauf #N/A.\r\nISERROR\t\t\t= ESTERREUR\t\t\t##\tRenvoie VRAI si l’argument valeur fait référence à une valeur d’erreur.\r\nISEVEN\t\t\t= EST.PAIR\t\t\t##\tRenvoie VRAI si le chiffre est pair.\r\nISLOGICAL\t\t= ESTLOGIQUE\t\t\t##\tRenvoie VRAI si l’argument valeur fait référence à une valeur logique.\r\nISNA\t\t\t= ESTNA\t\t\t\t##\tRenvoie VRAI si l’argument valeur fait référence à la valeur d’erreur #N/A.\r\nISNONTEXT\t\t= ESTNONTEXTE\t\t\t##\tRenvoie VRAI si l’argument valeur ne se présente pas sous forme de texte.\r\nISNUMBER\t\t= ESTNUM\t\t\t##\tRenvoie VRAI si l’argument valeur représente un nombre.\r\nISODD\t\t\t= EST.IMPAIR\t\t\t##\tRenvoie VRAI si le chiffre est impair.\r\nISREF\t\t\t= ESTREF\t\t\t##\tRenvoie VRAI si l’argument valeur est une référence.\r\nISTEXT\t\t\t= ESTTEXTE\t\t\t##\tRenvoie VRAI si l’argument valeur se présente sous forme de texte.\r\nN\t\t\t= N\t\t\t\t##\tRenvoie une valeur convertie en nombre.\r\nNA\t\t\t= NA\t\t\t\t##\tRenvoie la valeur d’erreur #N/A.\r\nTYPE\t\t\t= TYPE\t\t\t\t##\tRenvoie un nombre indiquant le type de données d’une valeur.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tFonctions logiques\r\n##\r\nAND\t\t\t= ET\t\t\t\t##\tRenvoie VRAI si tous ses arguments sont VRAI.\r\nFALSE\t\t\t= FAUX\t\t\t\t##\tRenvoie la valeur logique FAUX.\r\nIF\t\t\t= SI\t\t\t\t##\tSpécifie un test logique à effectuer.\r\nIFERROR\t\t\t= SIERREUR\t\t\t##\tRenvoie une valeur que vous spécifiez si une formule génère une erreur ; sinon, elle renvoie le résultat de la formule.\r\nNOT\t\t\t= NON\t\t\t\t##\tInverse la logique de cet argument.\r\nOR\t\t\t= OU\t\t\t\t##\tRenvoie VRAI si un des arguments est VRAI.\r\nTRUE\t\t\t= VRAI\t\t\t\t##\tRenvoie la valeur logique VRAI.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tFonctions de recherche et de référence\r\n##\r\nADDRESS\t\t\t= ADRESSE\t\t\t##\tRenvoie une référence sous forme de texte à une seule cellule d’une feuille de calcul.\r\nAREAS\t\t\t= ZONES\t\t\t\t##\tRenvoie le nombre de zones dans une référence.\r\nCHOOSE\t\t\t= CHOISIR\t\t\t##\tChoisit une valeur dans une liste.\r\nCOLUMN\t\t\t= COLONNE\t\t\t##\tRenvoie le numéro de colonne d’une référence.\r\nCOLUMNS\t\t\t= COLONNES\t\t\t##\tRenvoie le nombre de colonnes dans une référence.\r\nHLOOKUP\t\t\t= RECHERCHEH\t\t\t##\tEffectue une recherche dans la première ligne d’une matrice et renvoie la valeur de la cellule indiquée.\r\nHYPERLINK\t\t= LIEN_HYPERTEXTE\t\t##\tCrée un raccourci ou un renvoi qui ouvre un document stocké sur un serveur réseau, sur un réseau Intranet ou sur Internet.\r\nINDEX\t\t\t= INDEX\t\t\t\t##\tUtilise un index pour choisir une valeur provenant d’une référence ou d’une matrice.\r\nINDIRECT\t\t= INDIRECT\t\t\t##\tRenvoie une référence indiquée par une valeur de texte.\r\nLOOKUP\t\t\t= RECHERCHE\t\t\t##\tRecherche des valeurs dans un vecteur ou une matrice.\r\nMATCH\t\t\t= EQUIV\t\t\t\t##\tRecherche des valeurs dans une référence ou une matrice.\r\nOFFSET\t\t\t= DECALER\t\t\t##\tRenvoie une référence décalée par rapport à une référence donnée.\r\nROW\t\t\t= LIGNE\t\t\t\t##\tRenvoie le numéro de ligne d’une référence.\r\nROWS\t\t\t= LIGNES\t\t\t##\tRenvoie le nombre de lignes dans une référence.\r\nRTD\t\t\t= RTD\t\t\t\t##\tExtrait les données en temps réel à partir d’un programme prenant en charge l’automation COM (Automation : utilisation des objets d'une application à partir d'une autre application ou d'un autre outil de développement. Autrefois appelée OLE Automation, Automation est une norme industrielle et une fonctionnalité du modèle d'objet COM (Component Object Model).).\r\nTRANSPOSE\t\t= TRANSPOSE\t\t\t##\tRenvoie la transposition d’une matrice.\r\nVLOOKUP\t\t\t= RECHERCHEV\t\t\t##\tEffectue une recherche dans la première colonne d’une matrice et se déplace sur la ligne pour renvoyer la valeur d’une cellule.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tFonctions mathématiques et trigonométriques\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tRenvoie la valeur absolue d’un nombre.\r\nACOS\t\t\t= ACOS\t\t\t\t##\tRenvoie l’arccosinus d’un nombre.\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tRenvoie le cosinus hyperbolique inverse d’un nombre.\r\nASIN\t\t\t= ASIN\t\t\t\t##\tRenvoie l’arcsinus d’un nombre.\r\nASINH\t\t\t= ASINH\t\t\t\t##\tRenvoie le sinus hyperbolique inverse d’un nombre.\r\nATAN\t\t\t= ATAN\t\t\t\t##\tRenvoie l’arctangente d’un nombre.\r\nATAN2\t\t\t= ATAN2\t\t\t\t##\tRenvoie l’arctangente des coordonnées x et y.\r\nATANH\t\t\t= ATANH\t\t\t\t##\tRenvoie la tangente hyperbolique inverse d’un nombre.\r\nCEILING\t\t\t= PLAFOND\t\t\t##\tArrondit un nombre au nombre entier le plus proche ou au multiple le plus proche de l’argument précision en s’éloignant de zéro.\r\nCOMBIN\t\t\t= COMBIN\t\t\t##\tRenvoie le nombre de combinaisons que l’on peut former avec un nombre donné d’objets.\r\nCOS\t\t\t= COS\t\t\t\t##\tRenvoie le cosinus d’un nombre.\r\nCOSH\t\t\t= COSH\t\t\t\t##\tRenvoie le cosinus hyperbolique d’un nombre.\r\nDEGREES\t\t\t= DEGRES\t\t\t##\tConvertit des radians en degrés.\r\nEVEN\t\t\t= PAIR\t\t\t\t##\tArrondit un nombre au nombre entier pair le plus proche en s’éloignant de zéro.\r\nEXP\t\t\t= EXP\t\t\t\t##\tRenvoie e élevé à la puissance d’un nombre donné.\r\nFACT\t\t\t= FACT\t\t\t\t##\tRenvoie la factorielle d’un nombre.\r\nFACTDOUBLE\t\t= FACTDOUBLE\t\t\t##\tRenvoie la factorielle double d’un nombre.\r\nFLOOR\t\t\t= PLANCHER\t\t\t##\tArrondit un nombre en tendant vers 0 (zéro).\r\nGCD\t\t\t= PGCD\t\t\t\t##\tRenvoie le plus grand commun diviseur.\r\nINT\t\t\t= ENT\t\t\t\t##\tArrondit un nombre à l’entier immédiatement inférieur.\r\nLCM\t\t\t= PPCM\t\t\t\t##\tRenvoie le plus petit commun multiple.\r\nLN\t\t\t= LN\t\t\t\t##\tRenvoie le logarithme népérien d’un nombre.\r\nLOG\t\t\t= LOG\t\t\t\t##\tRenvoie le logarithme d’un nombre dans la base spécifiée.\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tCalcule le logarithme en base 10 d’un nombre.\r\nMDETERM\t\t\t= DETERMAT\t\t\t##\tRenvoie le déterminant d’une matrice.\r\nMINVERSE\t\t= INVERSEMAT\t\t\t##\tRenvoie la matrice inverse d’une matrice.\r\nMMULT\t\t\t= PRODUITMAT\t\t\t##\tRenvoie le produit de deux matrices.\r\nMOD\t\t\t= MOD\t\t\t\t##\tRenvoie le reste d’une division.\r\nMROUND\t\t\t= ARRONDI.AU.MULTIPLE\t\t##\tDonne l’arrondi d’un nombre au multiple spécifié.\r\nMULTINOMIAL\t\t= MULTINOMIALE\t\t\t##\tCalcule la multinomiale d’un ensemble de nombres.\r\nODD\t\t\t= IMPAIR\t\t\t##\tRenvoie le nombre, arrondi à la valeur du nombre entier impair le plus proche en s’éloignant de zéro.\r\nPI\t\t\t= PI\t\t\t\t##\tRenvoie la valeur de pi.\r\nPOWER\t\t\t= PUISSANCE\t\t\t##\tRenvoie la valeur du nombre élevé à une puissance.\r\nPRODUCT\t\t\t= PRODUIT\t\t\t##\tMultiplie ses arguments.\r\nQUOTIENT\t\t= QUOTIENT\t\t\t##\tRenvoie la partie entière du résultat d’une division.\r\nRADIANS\t\t\t= RADIANS\t\t\t##\tConvertit des degrés en radians.\r\nRAND\t\t\t= ALEA\t\t\t\t##\tRenvoie un nombre aléatoire compris entre 0 et 1.\r\nRANDBETWEEN\t\t= ALEA.ENTRE.BORNES\t\t##\tRenvoie un nombre aléatoire entre les nombres que vous spécifiez.\r\nROMAN\t\t\t= ROMAIN\t\t\t##\tConvertit des chiffres arabes en chiffres romains, sous forme de texte.\r\nROUND\t\t\t= ARRONDI\t\t\t##\tArrondit un nombre au nombre de chiffres indiqué.\r\nROUNDDOWN\t\t= ARRONDI.INF\t\t\t##\tArrondit un nombre en tendant vers 0 (zéro).\r\nROUNDUP\t\t\t= ARRONDI.SUP\t\t\t##\tArrondit un nombre à l’entier supérieur, en s’éloignant de zéro.\r\nSERIESSUM\t\t= SOMME.SERIES\t\t\t##\tRenvoie la somme d’une série géométrique en s’appuyant sur la formule suivante :\r\nSIGN\t\t\t= SIGNE\t\t\t\t##\tRenvoie le signe d’un nombre.\r\nSIN\t\t\t= SIN\t\t\t\t##\tRenvoie le sinus d’un angle donné.\r\nSINH\t\t\t= SINH\t\t\t\t##\tRenvoie le sinus hyperbolique d’un nombre.\r\nSQRT\t\t\t= RACINE\t\t\t##\tRenvoie la racine carrée d’un nombre.\r\nSQRTPI\t\t\t= RACINE.PI\t\t\t##\tRenvoie la racine carrée de (nombre * pi).\r\nSUBTOTAL\t\t= SOUS.TOTAL\t\t\t##\tRenvoie un sous-total dans une liste ou une base de données.\r\nSUM\t\t\t= SOMME\t\t\t\t##\tCalcule la somme de ses arguments.\r\nSUMIF\t\t\t= SOMME.SI\t\t\t##\tAdditionne les cellules spécifiées si elles répondent à un critère donné.\r\nSUMIFS\t\t\t= SOMME.SI.ENS\t\t\t##\tAjoute les cellules d’une plage qui répondent à plusieurs critères.\r\nSUMPRODUCT\t\t= SOMMEPROD\t\t\t##\tMultiplie les valeurs correspondantes des matrices spécifiées et calcule la somme de ces produits.\r\nSUMSQ\t\t\t= SOMME.CARRES\t\t\t##\tRenvoie la somme des carrés des arguments.\r\nSUMX2MY2\t\t= SOMME.X2MY2\t\t\t##\tRenvoie la somme de la différence des carrés des valeurs correspondantes de deux matrices.\r\nSUMX2PY2\t\t= SOMME.X2PY2\t\t\t##\tRenvoie la somme de la somme des carrés des valeurs correspondantes de deux matrices.\r\nSUMXMY2\t\t\t= SOMME.XMY2\t\t\t##\tRenvoie la somme des carrés des différences entre les valeurs correspondantes de deux matrices.\r\nTAN\t\t\t= TAN\t\t\t\t##\tRenvoie la tangente d’un nombre.\r\nTANH\t\t\t= TANH\t\t\t\t##\tRenvoie la tangente hyperbolique d’un nombre.\r\nTRUNC\t\t\t= TRONQUE\t\t\t##\tRenvoie la partie entière d’un nombre.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tFonctions statistiques\r\n##\r\nAVEDEV\t\t\t= ECART.MOYEN\t\t\t##\tRenvoie la moyenne des écarts absolus observés dans la moyenne des points de données.\r\nAVERAGE\t\t\t= MOYENNE\t\t\t##\tRenvoie la moyenne de ses arguments.\r\nAVERAGEA\t\t= AVERAGEA\t\t\t##\tRenvoie la moyenne de ses arguments, nombres, texte et valeurs logiques inclus.\r\nAVERAGEIF\t\t= MOYENNE.SI\t\t\t##\tRenvoie la moyenne (arithmétique) de toutes les cellules d’une plage qui répondent à des critères donnés.\r\nAVERAGEIFS\t\t= MOYENNE.SI.ENS\t\t##\tRenvoie la moyenne (arithmétique) de toutes les cellules qui répondent à plusieurs critères.\r\nBETADIST\t\t= LOI.BETA\t\t\t##\tRenvoie la fonction de distribution cumulée.\r\nBETAINV\t\t\t= BETA.INVERSE\t\t\t##\tRenvoie l’inverse de la fonction de distribution cumulée pour une distribution bêta spécifiée.\r\nBINOMDIST\t\t= LOI.BINOMIALE\t\t\t##\tRenvoie la probabilité d’une variable aléatoire discrète suivant la loi binomiale.\r\nCHIDIST\t\t\t= LOI.KHIDEUX\t\t\t##\tRenvoie la probabilité unilatérale de la distribution khi-deux.\r\nCHIINV\t\t\t= KHIDEUX.INVERSE\t\t##\tRenvoie l’inverse de la probabilité unilatérale de la distribution khi-deux.\r\nCHITEST\t\t\t= TEST.KHIDEUX\t\t\t##\tRenvoie le test d’indépendance.\r\nCONFIDENCE\t\t= INTERVALLE.CONFIANCE\t\t##\tRenvoie l’intervalle de confiance pour une moyenne de population.\r\nCORREL\t\t\t= COEFFICIENT.CORRELATION\t##\tRenvoie le coefficient de corrélation entre deux séries de données.\r\nCOUNT\t\t\t= NB\t\t\t\t##\tDétermine les nombres compris dans la liste des arguments.\r\nCOUNTA\t\t\t= NBVAL\t\t\t\t##\tDétermine le nombre de valeurs comprises dans la liste des arguments.\r\nCOUNTBLANK\t\t= NB.VIDE\t\t\t##\tCompte le nombre de cellules vides dans une plage.\r\nCOUNTIF\t\t\t= NB.SI\t\t\t\t##\tCompte le nombre de cellules qui répondent à un critère donné dans une plage.\r\nCOUNTIFS\t\t= NB.SI.ENS\t\t\t##\tCompte le nombre de cellules à l’intérieur d’une plage qui répondent à plusieurs critères.\r\nCOVAR\t\t\t= COVARIANCE\t\t\t##\tRenvoie la covariance, moyenne des produits des écarts pour chaque série d’observations.\r\nCRITBINOM\t\t= CRITERE.LOI.BINOMIALE\t\t##\tRenvoie la plus petite valeur pour laquelle la distribution binomiale cumulée est inférieure ou égale à une valeur de critère.\r\nDEVSQ\t\t\t= SOMME.CARRES.ECARTS\t\t##\tRenvoie la somme des carrés des écarts.\r\nEXPONDIST\t\t= LOI.EXPONENTIELLE\t\t##\tRenvoie la distribution exponentielle.\r\nFDIST\t\t\t= LOI.F\t\t\t\t##\tRenvoie la distribution de probabilité F.\r\nFINV\t\t\t= INVERSE.LOI.F\t\t\t##\tRenvoie l’inverse de la distribution de probabilité F.\r\nFISHER\t\t\t= FISHER\t\t\t##\tRenvoie la transformation de Fisher.\r\nFISHERINV\t\t= FISHER.INVERSE\t\t##\tRenvoie l’inverse de la transformation de Fisher.\r\nFORECAST\t\t= PREVISION\t\t\t##\tCalcule une valeur par rapport à une tendance linéaire.\r\nFREQUENCY\t\t= FREQUENCE\t\t\t##\tCalcule la fréquence d’apparition des valeurs dans une plage de valeurs, puis renvoie des nombres sous forme de matrice verticale.\r\nFTEST\t\t\t= TEST.F\t\t\t##\tRenvoie le résultat d’un test F.\r\nGAMMADIST\t\t= LOI.GAMMA\t\t\t##\tRenvoie la probabilité d’une variable aléatoire suivant une loi Gamma.\r\nGAMMAINV\t\t= LOI.GAMMA.INVERSE\t\t##\tRenvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi Gamma.\r\nGAMMALN\t\t\t= LNGAMMA\t\t\t##\tRenvoie le logarithme népérien de la fonction Gamma, G(x)\r\nGEOMEAN\t\t\t= MOYENNE.GEOMETRIQUE\t\t##\tRenvoie la moyenne géométrique.\r\nGROWTH\t\t\t= CROISSANCE\t\t\t##\tCalcule des valeurs par rapport à une tendance exponentielle.\r\nHARMEAN\t\t\t= MOYENNE.HARMONIQUE\t\t##\tRenvoie la moyenne harmonique.\r\nHYPGEOMDIST\t\t= LOI.HYPERGEOMETRIQUE\t\t##\tRenvoie la probabilité d’une variable aléatoire discrète suivant une loi hypergéométrique.\r\nINTERCEPT\t\t= ORDONNEE.ORIGINE\t\t##\tRenvoie l’ordonnée à l’origine d’une droite de régression linéaire.\r\nKURT\t\t\t= KURTOSIS\t\t\t##\tRenvoie le kurtosis d’une série de données.\r\nLARGE\t\t\t= GRANDE.VALEUR\t\t\t##\tRenvoie la k-ième plus grande valeur d’une série de données.\r\nLINEST\t\t\t= DROITEREG\t\t\t##\tRenvoie les paramètres d’une tendance linéaire.\r\nLOGEST\t\t\t= LOGREG\t\t\t##\tRenvoie les paramètres d’une tendance exponentielle.\r\nLOGINV\t\t\t= LOI.LOGNORMALE.INVERSE\t##\tRenvoie l’inverse de la probabilité pour une variable aléatoire suivant la loi lognormale.\r\nLOGNORMDIST\t\t= LOI.LOGNORMALE\t\t##\tRenvoie la probabilité d’une variable aléatoire continue suivant une loi lognormale.\r\nMAX\t\t\t= MAX\t\t\t\t##\tRenvoie la valeur maximale contenue dans une liste d’arguments.\r\nMAXA\t\t\t= MAXA\t\t\t\t##\tRenvoie la valeur maximale d’une liste d’arguments, nombres, texte et valeurs logiques inclus.\r\nMEDIAN\t\t\t= MEDIANE\t\t\t##\tRenvoie la valeur médiane des nombres donnés.\r\nMIN\t\t\t= MIN\t\t\t\t##\tRenvoie la valeur minimale contenue dans une liste d’arguments.\r\nMINA\t\t\t= MINA\t\t\t\t##\tRenvoie la plus petite valeur d’une liste d’arguments, nombres, texte et valeurs logiques inclus.\r\nMODE\t\t\t= MODE\t\t\t\t##\tRenvoie la valeur la plus courante d’une série de données.\r\nNEGBINOMDIST\t\t= LOI.BINOMIALE.NEG\t\t##\tRenvoie la probabilité d’une variable aléatoire discrète suivant une loi binomiale négative.\r\nNORMDIST\t\t= LOI.NORMALE\t\t\t##\tRenvoie la probabilité d’une variable aléatoire continue suivant une loi normale.\r\nNORMINV\t\t\t= LOI.NORMALE.INVERSE\t\t##\tRenvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi normale standard.\r\nNORMSDIST\t\t= LOI.NORMALE.STANDARD\t\t##\tRenvoie la probabilité d’une variable aléatoire continue suivant une loi normale standard.\r\nNORMSINV\t\t= LOI.NORMALE.STANDARD.INVERSE\t##\tRenvoie l’inverse de la distribution cumulée normale standard.\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tRenvoie le coefficient de corrélation d’échantillonnage de Pearson.\r\nPERCENTILE\t\t= CENTILE\t\t\t##\tRenvoie le k-ième centile des valeurs d’une plage.\r\nPERCENTRANK\t\t= RANG.POURCENTAGE\t\t##\tRenvoie le rang en pourcentage d’une valeur d’une série de données.\r\nPERMUT\t\t\t= PERMUTATION\t\t\t##\tRenvoie le nombre de permutations pour un nombre donné d’objets.\r\nPOISSON\t\t\t= LOI.POISSON\t\t\t##\tRenvoie la probabilité d’une variable aléatoire suivant une loi de Poisson.\r\nPROB\t\t\t= PROBABILITE\t\t\t##\tRenvoie la probabilité que des valeurs d’une plage soient comprises entre deux limites.\r\nQUARTILE\t\t= QUARTILE\t\t\t##\tRenvoie le quartile d’une série de données.\r\nRANK\t\t\t= RANG\t\t\t\t##\tRenvoie le rang d’un nombre contenu dans une liste.\r\nRSQ\t\t\t= COEFFICIENT.DETERMINATION\t##\tRenvoie la valeur du coefficient de détermination R^2 d’une régression linéaire.\r\nSKEW\t\t\t= COEFFICIENT.ASYMETRIE\t\t##\tRenvoie l’asymétrie d’une distribution.\r\nSLOPE\t\t\t= PENTE\t\t\t\t##\tRenvoie la pente d’une droite de régression linéaire.\r\nSMALL\t\t\t= PETITE.VALEUR\t\t\t##\tRenvoie la k-ième plus petite valeur d’une série de données.\r\nSTANDARDIZE\t\t= CENTREE.REDUITE\t\t##\tRenvoie une valeur centrée réduite.\r\nSTDEV\t\t\t= ECARTYPE\t\t\t##\tÉvalue l’écart type d’une population en se basant sur un échantillon de cette population.\r\nSTDEVA\t\t\t= STDEVA\t\t\t##\tÉvalue l’écart type d’une population en se basant sur un échantillon de cette population, nombres, texte et valeurs logiques inclus.\r\nSTDEVP\t\t\t= ECARTYPEP\t\t\t##\tCalcule l’écart type d’une population à partir de la population entière.\r\nSTDEVPA\t\t\t= STDEVPA\t\t\t##\tCalcule l’écart type d’une population à partir de l’ensemble de la population, nombres, texte et valeurs logiques inclus.\r\nSTEYX\t\t\t= ERREUR.TYPE.XY\t\t##\tRenvoie l’erreur type de la valeur y prévue pour chaque x de la régression.\r\nTDIST\t\t\t= LOI.STUDENT\t\t\t##\tRenvoie la probabilité d’une variable aléatoire suivant une loi T de Student.\r\nTINV\t\t\t= LOI.STUDENT.INVERSE\t\t##\tRenvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi T de Student.\r\nTREND\t\t\t= TENDANCE\t\t\t##\tRenvoie des valeurs par rapport à une tendance linéaire.\r\nTRIMMEAN\t\t= MOYENNE.REDUITE\t\t##\tRenvoie la moyenne de l’intérieur d’une série de données.\r\nTTEST\t\t\t= TEST.STUDENT\t\t\t##\tRenvoie la probabilité associée à un test T de Student.\r\nVAR\t\t\t= VAR\t\t\t\t##\tCalcule la variance sur la base d’un échantillon.\r\nVARA\t\t\t= VARA\t\t\t\t##\tEstime la variance d’une population en se basant sur un échantillon de cette population, nombres, texte et valeurs logiques incluses.\r\nVARP\t\t\t= VAR.P\t\t\t\t##\tCalcule la variance sur la base de l’ensemble de la population.\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tCalcule la variance d’une population en se basant sur la population entière, nombres, texte et valeurs logiques inclus.\r\nWEIBULL\t\t\t= LOI.WEIBULL\t\t\t##\tRenvoie la probabilité d’une variable aléatoire suivant une loi de Weibull.\r\nZTEST\t\t\t= TEST.Z\t\t\t##\tRenvoie la valeur de probabilité unilatérale d’un test z.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tFonctions de texte\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tChange les caractères anglais ou katakana à pleine chasse (codés sur deux octets) à l’intérieur d’une chaîne de caractères en caractères à demi-chasse (codés sur un octet).\r\nBAHTTEXT\t\t= BAHTTEXT\t\t\t##\tConvertit un nombre en texte en utilisant le format monétaire ß (baht).\r\nCHAR\t\t\t= CAR\t\t\t\t##\tRenvoie le caractère spécifié par le code numérique.\r\nCLEAN\t\t\t= EPURAGE\t\t\t##\tSupprime tous les caractères de contrôle du texte.\r\nCODE\t\t\t= CODE\t\t\t\t##\tRenvoie le numéro de code du premier caractère du texte.\r\nCONCATENATE\t\t= CONCATENER\t\t\t##\tAssemble plusieurs éléments textuels de façon à n’en former qu’un seul.\r\nDOLLAR\t\t\t= EURO\t\t\t\t##\tConvertit un nombre en texte en utilisant le format monétaire € (euro).\r\nEXACT\t\t\t= EXACT\t\t\t\t##\tVérifie si deux valeurs de texte sont identiques.\r\nFIND\t\t\t= TROUVE\t\t\t##\tTrouve un valeur textuelle dans une autre, en respectant la casse.\r\nFINDB\t\t\t= TROUVERB\t\t\t##\tTrouve un valeur textuelle dans une autre, en respectant la casse.\r\nFIXED\t\t\t= CTXT\t\t\t\t##\tConvertit un nombre au format texte avec un nombre de décimales spécifié.\r\nJIS\t\t\t= JIS\t\t\t\t##\tChange les caractères anglais ou katakana à demi-chasse (codés sur un octet) à l’intérieur d’une chaîne de caractères en caractères à à pleine chasse (codés sur deux octets).\r\nLEFT\t\t\t= GAUCHE\t\t\t##\tRenvoie des caractères situés à l’extrême gauche d’une chaîne de caractères.\r\nLEFTB\t\t\t= GAUCHEB\t\t\t##\tRenvoie des caractères situés à l’extrême gauche d’une chaîne de caractères.\r\nLEN\t\t\t= NBCAR\t\t\t\t##\tRenvoie le nombre de caractères contenus dans une chaîne de texte.\r\nLENB\t\t\t= LENB\t\t\t\t##\tRenvoie le nombre de caractères contenus dans une chaîne de texte.\r\nLOWER\t\t\t= MINUSCULE\t\t\t##\tConvertit le texte en minuscules.\r\nMID\t\t\t= STXT\t\t\t\t##\tRenvoie un nombre déterminé de caractères d’une chaîne de texte à partir de la position que vous indiquez.\r\nMIDB\t\t\t= STXTB\t\t\t\t##\tRenvoie un nombre déterminé de caractères d’une chaîne de texte à partir de la position que vous indiquez.\r\nPHONETIC\t\t= PHONETIQUE\t\t\t##\tExtrait les caractères phonétiques (furigana) d’une chaîne de texte.\r\nPROPER\t\t\t= NOMPROPRE\t\t\t##\tMet en majuscules la première lettre de chaque mot dans une chaîne textuelle.\r\nREPLACE\t\t\t= REMPLACER\t\t\t##\tRemplace des caractères dans un texte.\r\nREPLACEB\t\t= REMPLACERB\t\t\t##\tRemplace des caractères dans un texte.\r\nREPT\t\t\t= REPT\t\t\t\t##\tRépète un texte un certain nombre de fois.\r\nRIGHT\t\t\t= DROITE\t\t\t##\tRenvoie des caractères situés à l’extrême droite d’une chaîne de caractères.\r\nRIGHTB\t\t\t= DROITEB\t\t\t##\tRenvoie des caractères situés à l’extrême droite d’une chaîne de caractères.\r\nSEARCH\t\t\t= CHERCHE\t\t\t##\tTrouve un texte dans un autre texte (sans respecter la casse).\r\nSEARCHB\t\t\t= CHERCHERB\t\t\t##\tTrouve un texte dans un autre texte (sans respecter la casse).\r\nSUBSTITUTE\t\t= SUBSTITUE\t\t\t##\tRemplace l’ancien texte d’une chaîne de caractères par un nouveau.\r\nT\t\t\t= T\t\t\t\t##\tConvertit ses arguments en texte.\r\nTEXT\t\t\t= TEXTE\t\t\t\t##\tConvertit un nombre au format texte.\r\nTRIM\t\t\t= SUPPRESPACE\t\t\t##\tSupprime les espaces du texte.\r\nUPPER\t\t\t= MAJUSCULE\t\t\t##\tConvertit le texte en majuscules.\r\nVALUE\t\t\t= CNUM\t\t\t\t##\tConvertit un argument textuel en nombre\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/hu/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= Ft\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\n##\r\nNULL\t= #NULLA!\r\nDIV0\t= #ZÉRÓOSZTÓ!\r\nVALUE\t= #ÉRTÉK!\r\nREF\t= #HIV!\r\nNAME\t= #NÉV?\r\nNUM\t= #SZÁM!\r\nNA\t= #HIÁNYZIK\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/hu/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tBővítmények és automatizálási függvények\r\n##\r\nGETPIVOTDATA\t\t= KIMUTATÁSADATOT.VESZ\t\t##\tA kimutatásokban tárolt adatok visszaadására használható.\r\n\r\n\r\n##\r\n##\tCube functions Kockafüggvények   \r\n##\r\nCUBEKPIMEMBER\t\t= KOCKA.FŐTELJMUT\t\t##\tEgy fő teljesítménymutató (KPI) nevét, tulajdonságát és mértékegységét adja eredményül, a nevet és a tulajdonságot megjeleníti a cellában. A KPI-k számszerűsíthető mérési lehetőséget jelentenek – ilyen mutató például a havi bruttó nyereség vagy az egy alkalmazottra jutó negyedéves forgalom –, egy szervezet teljesítményének nyomonkövetésére használhatók.\r\nCUBEMEMBER\t\t= KOCKA.TAG\t\t\t##\tKockahierachia tagját vagy rekordját adja eredményül. Ellenőrizhető vele, hogy szerepel-e a kockában az adott tag vagy rekord.\r\nCUBEMEMBERPROPERTY\t= KOCKA.TAG.TUL\t\t\t##\tA kocka egyik tagtulajdonságának értékét adja eredményül. Használatával ellenőrizhető, hogy szerepel-e egy tagnév a kockában, eredménye pedig az erre a tagra vonatkozó, megadott tulajdonság.\r\nCUBERANKEDMEMBER\t= KOCKA.HALM.ELEM\t\t##\tEgy halmaz rangsor szerinti n-edik tagját adja eredményül. Használatával egy halmaz egy vagy több elemét kaphatja meg, például a legnagyobb teljesítményű üzletkötőt vagy a 10 legjobb tanulót.\r\nCUBESET\t\t\t= KOCKA.HALM\t\t\t##\tSzámított tagok vagy rekordok halmazát adja eredményül, ehhez egy beállított kifejezést elküld a kiszolgálón található kockának, majd ezt a halmazt adja vissza a Microsoft Office Excel alkalmazásnak.\r\nCUBESETCOUNT\t\t= KOCKA.HALM.DB\t\t\t##\tEgy halmaz elemszámát adja eredményül.\r\nCUBEVALUE\t\t= KOCKA.ÉRTÉK\t\t\t##\tKockából összesített értéket ad eredményül.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tAdatbázis-kezelő függvények\r\n##\r\nDAVERAGE\t\t= AB.ÁTLAG\t\t\t##\tA kijelölt adatbáziselemek átlagát számítja ki.\r\nDCOUNT\t\t\t= AB.DARAB\t\t\t##\tMegszámolja, hogy az adatbázisban hány cella tartalmaz számokat.\r\nDCOUNTA\t\t\t= AB.DARAB2\t\t\t##\tMegszámolja az adatbázisban lévő nem üres cellákat.\r\nDGET\t\t\t= AB.MEZŐ\t\t\t##\tEgy adatbázisból egyetlen olyan rekordot ad vissza, amely megfelel a megadott feltételeknek.\r\nDMAX\t\t\t= AB.MAX\t\t\t##\tA kiválasztott adatbáziselemek közül a legnagyobb értéket adja eredményül.\r\nDMIN\t\t\t= AB.MIN\t\t\t##\tA kijelölt adatbáziselemek közül a legkisebb értéket adja eredményül.\r\nDPRODUCT\t\t= AB.SZORZAT\t\t\t##\tAz adatbázis megadott feltételeknek eleget tevő rekordjaira összeszorozza a megadott mezőben található számértékeket, és eredményül ezt a szorzatot adja.\r\nDSTDEV\t\t\t= AB.SZÓRÁS\t\t\t##\tA kijelölt adatbáziselemek egy mintája alapján megbecsüli a szórást.\r\nDSTDEVP\t\t\t= AB.SZÓRÁS2\t\t\t##\tA kijelölt adatbáziselemek teljes sokasága alapján kiszámítja a szórást.\r\nDSUM\t\t\t= AB.SZUM\t\t\t##\tÖsszeadja a feltételnek megfelelő adatbázisrekordok mezőoszlopában a számokat.\r\nDVAR\t\t\t= AB.VAR\t\t\t##\tA kijelölt adatbáziselemek mintája alapján becslést ad a szórásnégyzetre.\r\nDVARP\t\t\t= AB.VAR2\t\t\t##\tA kijelölt adatbáziselemek teljes sokasága alapján kiszámítja a szórásnégyzetet.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tDátumfüggvények\r\n##\r\nDATE\t\t\t= DÁTUM\t\t\t\t##\tAdott dátum dátumértékét adja eredményül.\r\nDATEVALUE\t\t= DÁTUMÉRTÉK\t\t\t##\tSzövegként megadott dátumot dátumértékké alakít át.\r\nDAY\t\t\t= NAP\t\t\t\t##\tDátumértéket a hónap egy napjává (0-31) alakít.\r\nDAYS360\t\t\t= NAP360\t\t\t##\tKét dátum közé eső napok számát számítja ki a 360 napos év alapján.\r\nEDATE\t\t\t= EDATE\t\t\t\t##\tAdott dátumnál adott számú hónappal korábbi vagy későbbi dátum dátumértékét adja eredményül.\r\nEOMONTH\t\t\t= EOMONTH\t\t\t##\tAdott dátumnál adott számú hónappal korábbi vagy későbbi hónap utolsó napjának dátumértékét adja eredményül.\r\nHOUR\t\t\t= ÓRA\t\t\t\t##\tIdőértéket órákká alakít.\r\nMINUTE\t\t\t= PERC\t\t\t\t##\tIdőértéket percekké alakít.\r\nMONTH\t\t\t= HÓNAP\t\t\t\t##\tIdőértéket hónapokká alakít.\r\nNETWORKDAYS\t\t= NETWORKDAYS\t\t\t##\tKét dátum között a teljes munkanapok számát adja meg.\r\nNOW\t\t\t= MOST\t\t\t\t##\tA napi dátum dátumértékét és a pontos idő időértékét adja eredményül.\r\nSECOND\t\t\t= MPERC\t\t\t\t##\tIdőértéket másodpercekké alakít át.\r\nTIME\t\t\t= IDŐ\t\t\t\t##\tAdott időpont időértékét adja meg.\r\nTIMEVALUE\t\t= IDŐÉRTÉK\t\t\t##\tSzövegként megadott időpontot időértékké alakít át.\r\nTODAY\t\t\t= MA\t\t\t\t##\tA napi dátum dátumértékét adja eredményül.\r\nWEEKDAY\t\t\t= HÉT.NAPJA\t\t\t##\tDátumértéket a hét napjává alakítja át.\r\nWEEKNUM\t\t\t= WEEKNUM\t\t\t##\tVisszatérési értéke egy szám, amely azt mutatja meg, hogy a megadott dátum az év hányadik hetére esik.\r\nWORKDAY\t\t\t= WORKDAY\t\t\t##\tAdott dátumnál adott munkanappal korábbi vagy későbbi dátum dátumértékét adja eredményül.\r\nYEAR\t\t\t= ÉV\t\t\t\t##\tSorszámot évvé alakít át.\r\nYEARFRAC\t\t= YEARFRAC\t\t\t##\tAz adott dátumok közötti teljes napok számát törtévként adja meg.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tMérnöki függvények\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tAz In(x) módosított Bessel-függvény értékét adja eredményül.\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tA Jn(x) Bessel-függvény értékét adja eredményül.\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tA Kn(x) módosított Bessel-függvény értékét adja eredményül.\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tAz Yn(x) módosított Bessel-függvény értékét adja eredményül.\r\nBIN2DEC\t\t\t= BIN2DEC\t\t\t##\tBináris számot decimálissá alakít át.\r\nBIN2HEX\t\t\t= BIN2HEX\t\t\t##\tBináris számot hexadecimálissá alakít át.\r\nBIN2OCT\t\t\t= BIN2OCT\t\t\t##\tBináris számot oktálissá alakít át.\r\nCOMPLEX\t\t\t= COMPLEX\t\t\t##\tValós és képzetes részből komplex számot képez.\r\nCONVERT\t\t\t= CONVERT\t\t\t##\tMértékegységeket vált át.\r\nDEC2BIN\t\t\t= DEC2BIN\t\t\t##\tDecimális számot binárissá alakít át.\r\nDEC2HEX\t\t\t= DEC2HEX\t\t\t##\tDecimális számot hexadecimálissá alakít át.\r\nDEC2OCT\t\t\t= DEC2OCT\t\t\t##\tDecimális számot oktálissá alakít át.\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tAzt vizsgálja, hogy két érték egyenlő-e.\r\nERF\t\t\t= ERF\t\t\t\t##\tA hibafüggvény értékét adja eredményül.\r\nERFC\t\t\t= ERFC\t\t\t\t##\tA kiegészített hibafüggvény értékét adja eredményül.\r\nGESTEP\t\t\t= GESTEP\t\t\t##\tAzt vizsgálja, hogy egy szám nagyobb-e adott küszöbértéknél.\r\nHEX2BIN\t\t\t= HEX2BIN\t\t\t##\tHexadecimális számot binárissá alakít át.\r\nHEX2DEC\t\t\t= HEX2DEC\t\t\t##\tHexadecimális számot decimálissá alakít át.\r\nHEX2OCT\t\t\t= HEX2OCT\t\t\t##\tHexadecimális számot oktálissá alakít át.\r\nIMABS\t\t\t= IMABS\t\t\t\t##\tKomplex szám abszolút értékét (modulusát) adja eredményül.\r\nIMAGINARY\t\t= IMAGINARY\t\t\t##\tKomplex szám képzetes részét adja eredményül.\r\nIMARGUMENT\t\t= IMARGUMENT\t\t\t##\tA komplex szám radiánban kifejezett théta argumentumát adja eredményül.\r\nIMCONJUGATE\t\t= IMCONJUGATE\t\t\t##\tKomplex szám komplex konjugáltját adja eredményül.\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tKomplex szám koszinuszát adja eredményül.\r\nIMDIV\t\t\t= IMDIV\t\t\t\t##\tKét komplex szám hányadosát adja eredményül.\r\nIMEXP\t\t\t= IMEXP\t\t\t\t##\tAz e szám komplex kitevőjű hatványát adja eredményül.\r\nIMLN\t\t\t= IMLN\t\t\t\t##\tKomplex szám természetes logaritmusát adja eredményül.\r\nIMLOG10\t\t\t= IMLOG10\t\t\t##\tKomplex szám tízes alapú logaritmusát adja eredményül.\r\nIMLOG2\t\t\t= IMLOG2\t\t\t##\tKomplex szám kettes alapú logaritmusát adja eredményül.\r\nIMPOWER\t\t\t= IMPOWER\t\t\t##\tKomplex szám hatványát adja eredményül.\r\nIMPRODUCT\t\t= IMPRODUCT\t\t\t##\tKomplex számok szorzatát adja eredményül.\r\nIMREAL\t\t\t= IMREAL\t\t\t##\tKomplex szám valós részét adja eredményül.\r\nIMSIN\t\t\t= IMSIN\t\t\t\t##\tKomplex szám szinuszát adja eredményül.\r\nIMSQRT\t\t\t= IMSQRT\t\t\t##\tKomplex szám négyzetgyökét adja eredményül.\r\nIMSUB\t\t\t= IMSUB\t\t\t\t##\tKét komplex szám különbségét adja eredményül.\r\nIMSUM\t\t\t= IMSUM\t\t\t\t##\tKomplex számok összegét adja eredményül.\r\nOCT2BIN\t\t\t= OCT2BIN\t\t\t##\tOktális számot binárissá alakít át.\r\nOCT2DEC\t\t\t= OCT2DEC\t\t\t##\tOktális számot decimálissá alakít át.\r\nOCT2HEX\t\t\t= OCT2HEX\t\t\t##\tOktális számot hexadecimálissá alakít át.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tPénzügyi függvények\r\n##\r\nACCRINT\t\t\t= ACCRINT\t\t\t##\tPeriodikusan kamatozó értékpapír felszaporodott kamatát adja eredményül.\r\nACCRINTM\t\t= ACCRINTM\t\t\t##\tLejáratkor kamatozó értékpapír felszaporodott kamatát adja eredményül.\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tÁllóeszköz lineáris értékcsökkenését adja meg az egyes könyvelési időszakokra vonatkozóan.\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tAz egyes könyvelési időszakokban az értékcsökkenést adja meg.\r\nCOUPDAYBS\t\t= COUPDAYBS\t\t\t##\tA szelvényidőszak kezdetétől a kifizetés időpontjáig eltelt napokat adja vissza.\r\nCOUPDAYS\t\t= COUPDAYS\t\t\t##\tA kifizetés időpontját magában foglaló szelvényperiódus hosszát adja meg napokban.\r\nCOUPDAYSNC\t\t= COUPDAYSNC\t\t\t##\tA kifizetés időpontja és a legközelebbi szelvénydátum közötti napok számát adja meg.\r\nCOUPNCD\t\t\t= COUPNCD\t\t\t##\tA kifizetést követő legelső szelvénydátumot adja eredményül.\r\nCOUPNUM\t\t\t= COUPNUM\t\t\t##\tA kifizetés és a lejárat időpontja között kifizetendő szelvények számát adja eredményül.\r\nCOUPPCD\t\t\t= COUPPCD\t\t\t##\tA kifizetés előtti utolsó szelvénydátumot adja eredményül.\r\nCUMIPMT\t\t\t= CUMIPMT\t\t\t##\tKét fizetési időszak között kifizetett kamat halmozott értékét adja eredményül.\r\nCUMPRINC\t\t= CUMPRINC\t\t\t##\tKét fizetési időszak között kifizetett részletek halmozott (kamatot nem tartalmazó) értékét adja eredményül.\r\nDB\t\t\t= KCS2\t\t\t\t##\tEszköz adott időszak alatti értékcsökkenését számítja ki a lineáris leírási modell alkalmazásával.\r\nDDB\t\t\t= KCSA\t\t\t\t##\tEszköz értékcsökkenését számítja ki adott időszakra vonatkozóan a progresszív vagy egyéb megadott leírási modell alkalmazásával.\r\nDISC\t\t\t= DISC\t\t\t\t##\tÉrtékpapír leszámítolási kamatlábát adja eredményül.\r\nDOLLARDE\t\t= DOLLARDE\t\t\t##\tEgy közönséges törtként megadott számot tizedes törtté alakít át.\r\nDOLLARFR\t\t= DOLLARFR\t\t\t##\tTizedes törtként megadott számot közönséges törtté alakít át.\r\nDURATION\t\t= DURATION\t\t\t##\tPeriodikus kamatfizetésű értékpapír éves kamatérzékenységét adja eredményül.\r\nEFFECT\t\t\t= EFFECT\t\t\t##\tAz éves tényleges kamatláb értékét adja eredményül.\r\nFV\t\t\t= JBÉ\t\t\t\t##\tBefektetés jövőbeli értékét számítja ki.\r\nFVSCHEDULE\t\t= FVSCHEDULE\t\t\t##\tA kezdőtőke adott kamatlábak szerint megnövelt jövőbeli értékét adja eredményül.\r\nINTRATE\t\t\t= INTRATE\t\t\t##\tA lejáratig teljesen lekötött értékpapír kamatrátáját adja eredményül.\r\nIPMT\t\t\t= RRÉSZLET\t\t\t##\tHiteltörlesztésen belül a tőketörlesztés nagyságát számítja ki adott időszakra.\r\nIRR\t\t\t= BMR\t\t\t\t##\tA befektetés belső megtérülési rátáját számítja ki pénzáramláshoz.\r\nISPMT\t\t\t= LRÉSZLETKAMAT\t\t\t##\tA befektetés adott időszakára fizetett kamatot számítja ki.\r\nMDURATION\t\t= MDURATION\t\t\t##\tEgy 100 Ft névértékű értékpapír Macauley-féle módosított kamatérzékenységét adja eredményül.\r\nMIRR\t\t\t= MEGTÉRÜLÉS\t\t\t##\tA befektetés belső megtérülési rátáját számítja ki a költségek és a bevételek különböző kamatlába mellett.\r\nNOMINAL\t\t\t= NOMINAL\t\t\t##\tAz éves névleges kamatláb értékét adja eredményül.\r\nNPER\t\t\t= PER.SZÁM\t\t\t##\tA törlesztési időszakok számát adja meg.\r\nNPV\t\t\t= NMÉ\t\t\t\t##\tBefektetéshez kapcsolódó pénzáramlás nettó jelenértékét számítja ki ismert pénzáramlás és kamatláb mellett.\r\nODDFPRICE\t\t= ODDFPRICE\t\t\t##\tEgy 100 Ft névértékű, a futamidő elején töredék-időszakos értékpapír árát adja eredményül.\r\nODDFYIELD\t\t= ODDFYIELD\t\t\t##\tA futamidő elején töredék-időszakos értékpapír hozamát adja eredményül.\r\nODDLPRICE\t\t= ODDLPRICE\t\t\t##\tEgy 100 Ft névértékű, a futamidő végén töredék-időszakos értékpapír árát adja eredményül.\r\nODDLYIELD\t\t= ODDLYIELD\t\t\t##\tA futamidő végén töredék-időszakos értékpapír hozamát adja eredményül.\r\nPMT\t\t\t= RÉSZLET\t\t\t##\tA törlesztési időszakra vonatkozó törlesztési összeget számítja ki.\r\nPPMT\t\t\t= PRÉSZLET\t\t\t##\tHiteltörlesztésen belül a tőketörlesztés nagyságát számítja ki adott időszakra.\r\nPRICE\t\t\t= PRICE\t\t\t\t##\tEgy 100 Ft névértékű, periodikusan kamatozó értékpapír árát adja eredményül.\r\nPRICEDISC\t\t= PRICEDISC\t\t\t##\tEgy 100 Ft névértékű leszámítolt értékpapír árát adja eredményül.\r\nPRICEMAT\t\t= PRICEMAT\t\t\t##\tEgy 100 Ft névértékű, a lejáratkor kamatozó értékpapír árát adja eredményül.\r\nPV\t\t\t= MÉ\t\t\t\t##\tBefektetés jelenlegi értékét számítja ki.\r\nRATE\t\t\t= RÁTA\t\t\t\t##\tEgy törlesztési időszakban az egy időszakra eső kamatláb nagyságát számítja ki.\r\nRECEIVED\t\t= RECEIVED\t\t\t##\tA lejáratig teljesen lekötött értékpapír lejáratakor kapott összegét adja eredményül.\r\nSLN\t\t\t= LCSA\t\t\t\t##\tTárgyi eszköz egy időszakra eső amortizációját adja meg bruttó érték szerinti lineáris leírási kulcsot alkalmazva.\r\nSYD\t\t\t= SYD\t\t\t\t##\tTárgyi eszköz értékcsökkenését számítja ki adott időszakra az évek számjegyösszegével dolgozó módszer alapján.\r\nTBILLEQ\t\t\t= TBILLEQ\t\t\t##\tKincstárjegy kötvény-egyenértékű hozamát adja eredményül.\r\nTBILLPRICE\t\t= TBILLPRICE\t\t\t##\tEgy 100 Ft névértékű kincstárjegy árát adja eredményül.\r\nTBILLYIELD\t\t= TBILLYIELD\t\t\t##\tKincstárjegy hozamát adja eredményül.\r\nVDB\t\t\t= ÉCSRI\t\t\t\t##\tTárgyi eszköz amortizációját számítja ki megadott vagy részidőszakra a csökkenő egyenleg módszerének alkalmazásával.\r\nXIRR\t\t\t= XIRR\t\t\t\t##\tÜtemezett készpénzforgalom (cash flow) belső megtérülési kamatrátáját adja eredményül.\r\nXNPV\t\t\t= XNPV\t\t\t\t##\tÜtemezett készpénzforgalom (cash flow) nettó jelenlegi értékét adja eredményül.\r\nYIELD\t\t\t= YIELD\t\t\t\t##\tPeriodikusan kamatozó értékpapír hozamát adja eredményül.\r\nYIELDDISC\t\t= YIELDDISC\t\t\t##\tLeszámítolt értékpapír (például kincstárjegy) éves hozamát adja eredményül.\r\nYIELDMAT\t\t= YIELDMAT\t\t\t##\tLejáratkor kamatozó értékpapír éves hozamát adja eredményül.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tInformációs függvények\r\n##\r\nCELL\t\t\t= CELLA\t\t\t\t##\tEgy cella formátumára, elhelyezkedésére vagy tartalmára vonatkozó adatokat ad eredményül.\r\nERROR.TYPE\t\t= HIBA.TÍPUS\t\t\t##\tEgy hibatípushoz tartozó számot ad eredményül.\r\nINFO\t\t\t= INFÓ\t\t\t\t##\tA rendszer- és munkakörnyezet pillanatnyi állapotáról ad felvilágosítást.\r\nISBLANK\t\t\t= ÜRES\t\t\t\t##\tEredménye IGAZ, ha az érték üres.\r\nISERR\t\t\t= HIBA\t\t\t\t##\tEredménye IGAZ, ha az érték valamelyik hibaérték a #HIÁNYZIK kivételével.\r\nISERROR\t\t\t= HIBÁS\t\t\t\t##\tEredménye IGAZ, ha az érték valamelyik hibaérték.\r\nISEVEN\t\t\t= ISEVEN\t\t\t##\tEredménye IGAZ, ha argumentuma páros szám.\r\nISLOGICAL\t\t= LOGIKAI\t\t\t##\tEredménye IGAZ, ha az érték logikai érték.\r\nISNA\t\t\t= NINCS\t\t\t\t##\tEredménye IGAZ, ha az érték a #HIÁNYZIK hibaérték.\r\nISNONTEXT\t\t= NEM.SZÖVEG\t\t\t##\tEredménye IGAZ, ha az érték nem szöveg.\r\nISNUMBER\t\t= SZÁM\t\t\t\t##\tEredménye IGAZ, ha az érték szám.\r\nISODD\t\t\t= ISODD\t\t\t\t##\tEredménye IGAZ, ha argumentuma páratlan szám.\r\nISREF\t\t\t= HIVATKOZÁS\t\t\t##\tEredménye IGAZ, ha az érték hivatkozás.\r\nISTEXT\t\t\t= SZÖVEG.E\t\t\t##\tEredménye IGAZ, ha az érték szöveg.\r\nN\t\t\t= N\t\t\t\t##\tArgumentumának értékét számmá alakítja.\r\nNA\t\t\t= HIÁNYZIK\t\t\t##\tEredménye a #HIÁNYZIK hibaérték.\r\nTYPE\t\t\t= TÍPUS\t\t\t\t##\tÉrték adattípusának azonosítószámát adja eredményül.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tLogikai függvények\r\n##\r\nAND\t\t\t= ÉS\t\t\t\t##\tEredménye IGAZ, ha minden argumentuma IGAZ.\r\nFALSE\t\t\t= HAMIS\t\t\t\t##\tA HAMIS logikai értéket adja eredményül.\r\nIF\t\t\t= HA\t\t\t\t##\tLogikai vizsgálatot hajt végre.\r\nIFERROR\t\t\t= HAHIBA\t\t\t##\tA megadott értéket adja vissza, ha egy képlet hibához vezet; más esetben a képlet értékét adja eredményül.\r\nNOT\t\t\t= NEM\t\t\t\t##\tArgumentuma értékének ellentettjét adja eredményül.\r\nOR\t\t\t= VAGY\t\t\t\t##\tEredménye IGAZ, ha bármely argumentuma IGAZ.\r\nTRUE\t\t\t= IGAZ\t\t\t\t##\tAz IGAZ logikai értéket adja eredményül.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tKeresési és hivatkozási függvények\r\n##\r\nADDRESS\t\t\t= CÍM\t\t\t\t##\tA munkalap egy cellájára való hivatkozást adja szövegként eredményül.\r\nAREAS\t\t\t= TERÜLET\t\t\t##\tHivatkozásban a területek számát adja eredményül.\r\nCHOOSE\t\t\t= VÁLASZT\t\t\t##\tÉrtékek listájából választ ki egy elemet.\r\nCOLUMN\t\t\t= OSZLOP\t\t\t##\tEgy hivatkozás oszlopszámát adja eredményül.\r\nCOLUMNS\t\t\t= OSZLOPOK\t\t\t##\tA hivatkozásban található oszlopok számát adja eredményül.\r\nHLOOKUP\t\t\t= VKERES\t\t\t##\tA megadott tömb felső sorában adott értékű elemet keres, és a megtalált elem oszlopából adott sorban elhelyezkedő értékkel tér vissza.\r\nHYPERLINK\t\t= HIPERHIVATKOZÁS\t\t##\tHálózati kiszolgálón, intraneten vagy az interneten tárolt dokumentumot megnyitó parancsikont vagy hivatkozást hoz létre.\r\nINDEX\t\t\t= INDEX\t\t\t\t##\tTömb- vagy hivatkozás indexszel megadott értékét adja vissza.\r\nINDIRECT\t\t= INDIREKT\t\t\t##\tSzöveg megadott hivatkozást ad eredményül.\r\nLOOKUP\t\t\t= KERES\t\t\t\t##\tVektorban vagy tömbben keres meg értékeket.\r\nMATCH\t\t\t= HOL.VAN\t\t\t##\tHivatkozásban vagy tömbben értékeket keres.\r\nOFFSET\t\t\t= OFSZET\t\t\t##\tHivatkozás egy másik hivatkozástól számított távolságát adja meg.\r\nROW\t\t\t= SOR\t\t\t\t##\tEgy hivatkozás sorának számát adja meg.\r\nROWS\t\t\t= SOROK\t\t\t\t##\tEgy hivatkozás sorainak számát adja meg.\r\nRTD\t\t\t= RTD\t\t\t\t##\tValós idejű adatokat keres vissza a COM automatizmust (automatizálás: Egy alkalmazás objektumaival való munka másik alkalmazásból vagy fejlesztőeszközből. A korábban OLE automatizmusnak nevezett automatizálás iparági szabvány, a Component Object Model (COM) szolgáltatása.) támogató programból.\r\nTRANSPOSE\t\t= TRANSZPONÁLÁS\t\t\t##\tEgy tömb transzponáltját adja eredményül.\r\nVLOOKUP\t\t\t= FKERES\t\t\t##\tA megadott tömb bal szélső oszlopában megkeres egy értéket, majd annak sora és a megadott oszlop metszéspontjában levő értéked adja eredményül.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tMatematikai és trigonometrikus függvények\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tEgy szám abszolút értékét adja eredményül.\r\nACOS\t\t\t= ARCCOS\t\t\t##\tEgy szám arkusz koszinuszát számítja ki.\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tEgy szám inverz koszinusz hiperbolikuszát számítja ki.\r\nASIN\t\t\t= ARCSIN\t\t\t##\tEgy szám arkusz szinuszát számítja ki.\r\nASINH\t\t\t= ASINH\t\t\t\t##\tEgy szám inverz szinusz hiperbolikuszát számítja ki.\r\nATAN\t\t\t= ARCTAN\t\t\t##\tEgy szám arkusz tangensét számítja ki.\r\nATAN2\t\t\t= ARCTAN2\t\t\t##\tX és y koordináták alapján számítja ki az arkusz tangens értéket.\r\nATANH\t\t\t= ATANH\t\t\t\t##\tA szám inverz tangens hiperbolikuszát számítja ki.\r\nCEILING\t\t\t= PLAFON\t\t\t##\tEgy számot a legközelebbi egészre vagy a pontosságként megadott érték legközelebb eső többszörösére kerekít.\r\nCOMBIN\t\t\t= KOMBINÁCIÓK\t\t\t##\tAdott számú objektum összes lehetséges kombinációinak számát számítja ki.\r\nCOS\t\t\t= COS\t\t\t\t##\tEgy szám koszinuszát számítja ki.\r\nCOSH\t\t\t= COSH\t\t\t\t##\tEgy szám koszinusz hiperbolikuszát számítja ki.\r\nDEGREES\t\t\t= FOK\t\t\t\t##\tRadiánt fokká alakít át.\r\nEVEN\t\t\t= PÁROS\t\t\t\t##\tEgy számot a legközelebbi páros egész számra kerekít.\r\nEXP\t\t\t= KITEVŐ\t\t\t##\tAz e adott kitevőjű hatványát adja eredményül.\r\nFACT\t\t\t= FAKT\t\t\t\t##\tEgy szám faktoriálisát számítja ki.\r\nFACTDOUBLE\t\t= FACTDOUBLE\t\t\t##\tEgy szám dupla faktoriálisát adja eredményül.\r\nFLOOR\t\t\t= PADLÓ\t\t\t\t##\tEgy számot lefelé, a nulla felé kerekít.\r\nGCD\t\t\t= GCD\t\t\t\t##\tA legnagyobb közös osztót adja eredményül.\r\nINT\t\t\t= INT\t\t\t\t##\tEgy számot lefelé kerekít a legközelebbi egészre.\r\nLCM\t\t\t= LCM\t\t\t\t##\tA legkisebb közös többszöröst adja eredményül.\r\nLN\t\t\t= LN\t\t\t\t##\tEgy szám természetes logaritmusát számítja ki.\r\nLOG\t\t\t= LOG\t\t\t\t##\tEgy szám adott alapú logaritmusát számítja ki.\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tEgy szám 10-es alapú logaritmusát számítja ki.\r\nMDETERM\t\t\t= MDETERM\t\t\t##\tEgy tömb mátrix-determinánsát számítja ki.\r\nMINVERSE\t\t= INVERZ.MÁTRIX\t\t\t##\tEgy tömb mátrix inverzét adja eredményül.\r\nMMULT\t\t\t= MSZORZAT\t\t\t##\tKét tömb mátrix-szorzatát adja meg.\r\nMOD\t\t\t= MARADÉK\t\t\t##\tEgy szám osztási maradékát adja eredményül.\r\nMROUND\t\t\t= MROUND\t\t\t##\tA kívánt többszörösére kerekített értéket ad eredményül.\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t\t##\tSzámhalmaz multinomiálisát adja eredményül.\r\nODD\t\t\t= PÁRATLAN\t\t\t##\tEgy számot a legközelebbi páratlan számra kerekít.\r\nPI\t\t\t= PI\t\t\t\t##\tA pi matematikai állandót adja vissza.\r\nPOWER\t\t\t= HATVÁNY\t\t\t##\tEgy szám adott kitevőjű hatványát számítja ki.\r\nPRODUCT\t\t\t= SZORZAT\t\t\t##\tArgumentumai szorzatát számítja ki.\r\nQUOTIENT\t\t= QUOTIENT\t\t\t##\tEgy hányados egész részét adja eredményül.\r\nRADIANS\t\t\t= RADIÁN\t\t\t##\tFokot radiánná alakít át.\r\nRAND\t\t\t= VÉL\t\t\t\t##\tEgy 0 és 1 közötti véletlen számot ad eredményül.\r\nRANDBETWEEN\t\t= RANDBETWEEN\t\t\t##\tMegadott számok közé eső véletlen számot állít elő.\r\nROMAN\t\t\t= RÓMAI\t\t\t\t##\tEgy számot római számokkal kifejezve szövegként ad eredményül.\r\nROUND\t\t\t= KEREKÍTÉS\t\t\t##\tEgy számot adott számú számjegyre kerekít.\r\nROUNDDOWN\t\t= KEREKÍTÉS.LE\t\t\t##\tEgy számot lefelé, a nulla felé kerekít.\r\nROUNDUP\t\t\t= KEREKÍTÉS.FEL\t\t\t##\tEgy számot felfelé, a nullától távolabbra kerekít.\r\nSERIESSUM\t\t= SERIESSUM\t\t\t##\tHatványsor összegét adja eredményül.\r\nSIGN\t\t\t= ELŐJEL\t\t\t##\tEgy szám előjelét adja meg.\r\nSIN\t\t\t= SIN\t\t\t\t##\tEgy szög szinuszát számítja ki.\r\nSINH\t\t\t= SINH\t\t\t\t##\tEgy szám szinusz hiperbolikuszát számítja ki.\r\nSQRT\t\t\t= GYÖK\t\t\t\t##\tEgy szám pozitív négyzetgyökét számítja ki.\r\nSQRTPI\t\t\t= SQRTPI\t\t\t##\tA (szám*pi) négyzetgyökét adja eredményül.\r\nSUBTOTAL\t\t= RÉSZÖSSZEG\t\t\t##\tLista vagy adatbázis részösszegét adja eredményül.\r\nSUM\t\t\t= SZUM\t\t\t\t##\tÖsszeadja az argumentumlistájában lévő számokat.\r\nSUMIF\t\t\t= SZUMHA\t\t\t##\tA megadott feltételeknek eleget tevő cellákban található értékeket adja össze.\r\nSUMIFS\t\t\t= SZUMHATÖBB\t\t\t##\tTöbb megadott feltételnek eleget tévő tartománycellák összegét adja eredményül.\r\nSUMPRODUCT\t\t= SZORZATÖSSZEG\t\t\t##\tA megfelelő tömbelemek szorzatának összegét számítja ki.\r\nSUMSQ\t\t\t= NÉGYZETÖSSZEG\t\t\t##\tArgumentumai négyzetének összegét számítja ki.\r\nSUMX2MY2\t\t= SZUMX2BŐLY2\t\t\t##\tKét tömb megfelelő elemei négyzetének különbségét összegzi.\r\nSUMX2PY2\t\t= SZUMX2MEGY2\t\t\t##\tKét tömb megfelelő elemei négyzetének összegét összegzi.\r\nSUMXMY2\t\t\t= SZUMXBŐLY2\t\t\t##\tKét tömb megfelelő elemei különbségének négyzetösszegét számítja ki.\r\nTAN\t\t\t= TAN\t\t\t\t##\tEgy szám tangensét számítja ki.\r\nTANH\t\t\t= TANH\t\t\t\t##\tEgy szám tangens hiperbolikuszát számítja ki.\r\nTRUNC\t\t\t= CSONK\t\t\t\t##\tEgy számot egésszé csonkít.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tStatisztikai függvények\r\n##\r\nAVEDEV\t\t\t= ÁTL.ELTÉRÉS\t\t\t##\tAz adatpontoknak átlaguktól való átlagos abszolút eltérését számítja ki.\r\nAVERAGE\t\t\t= ÁTLAG\t\t\t\t##\tArgumentumai átlagát számítja ki.\r\nAVERAGEA\t\t= ÁTLAGA\t\t\t##\tArgumentumai átlagát számítja ki (beleértve a számokat, szöveget és logikai értékeket).\r\nAVERAGEIF\t\t= ÁTLAGHA\t\t\t##\tA megadott feltételnek eleget tévő tartomány celláinak átlagát (számtani közepét) adja eredményül.\r\nAVERAGEIFS\t\t= ÁTLAGHATÖBB\t\t\t##\tA megadott feltételeknek eleget tévő cellák átlagát (számtani közepét) adja eredményül.\r\nBETADIST\t\t= BÉTA.ELOSZLÁS\t\t\t##\tA béta-eloszlás függvényt számítja ki.\r\nBETAINV\t\t\t= INVERZ.BÉTA\t\t\t##\tAdott béta-eloszláshoz kiszámítja a béta eloszlásfüggvény inverzét.\r\nBINOMDIST\t\t= BINOM.ELOSZLÁS\t\t##\tA diszkrét binomiális eloszlás valószínűségértékét számítja ki.\r\nCHIDIST\t\t\t= KHI.ELOSZLÁS\t\t\t##\tA khi-négyzet-eloszlás egyszélű valószínűségértékét számítja ki.\r\nCHIINV\t\t\t= INVERZ.KHI\t\t\t##\tA khi-négyzet-eloszlás egyszélű valószínűségértékének inverzét számítja ki.\r\nCHITEST\t\t\t= KHI.PRÓBA\t\t\t##\tFüggetlenségvizsgálatot hajt végre.\r\nCONFIDENCE\t\t= MEGBÍZHATÓSÁG\t\t\t##\tEgy statisztikai sokaság várható értékének megbízhatósági intervallumát adja eredményül.\r\nCORREL\t\t\t= KORREL\t\t\t##\tKét adathalmaz korrelációs együtthatóját számítja ki.\r\nCOUNT\t\t\t= DARAB\t\t\t\t##\tMegszámolja, hogy argumentumlistájában hány szám található.\r\nCOUNTA\t\t\t= DARAB2\t\t\t##\tMegszámolja, hogy argumentumlistájában hány érték található.\r\nCOUNTBLANK\t\t= DARABÜRES\t\t\t##\tEgy tartományban összeszámolja az üres cellákat.\r\nCOUNTIF\t\t\t= DARABTELI\t\t\t##\tEgy tartományban összeszámolja azokat a cellákat, amelyek eleget tesznek a megadott feltételnek.\r\nCOUNTIFS\t\t= DARABHATÖBB\t\t\t##\tEgy tartományban összeszámolja azokat a cellákat, amelyek eleget tesznek több feltételnek.\r\nCOVAR\t\t\t= KOVAR\t\t\t\t##\tA kovarianciát, azaz a páronkénti eltérések szorzatának átlagát számítja ki.\r\nCRITBINOM\t\t= KRITBINOM\t\t\t##\tAzt a legkisebb számot adja eredményül, amelyre a binomiális eloszlásfüggvény értéke nem kisebb egy adott határértéknél.\r\nDEVSQ\t\t\t= SQ\t\t\t\t##\tAz átlagtól való eltérések négyzetének összegét számítja ki.\r\nEXPONDIST\t\t= EXP.ELOSZLÁS\t\t\t##\tAz exponenciális eloszlás értékét számítja ki.\r\nFDIST\t\t\t= F.ELOSZLÁS\t\t\t##\tAz F-eloszlás értékét számítja ki.\r\nFINV\t\t\t= INVERZ.F\t\t\t##\tAz F-eloszlás inverzének értékét számítja ki.\r\nFISHER\t\t\t= FISHER\t\t\t##\tFisher-transzformációt hajt végre.\r\nFISHERINV\t\t= INVERZ.FISHER\t\t\t##\tA Fisher-transzformáció inverzét hajtja végre.\r\nFORECAST\t\t= ELŐREJELZÉS\t\t\t##\tAz ismert értékek alapján lineáris regresszióval becsült értéket ad eredményül.\r\nFREQUENCY\t\t= GYAKORISÁG\t\t\t##\tA gyakorisági vagy empirikus eloszlás értékét függőleges tömbként adja eredményül.\r\nFTEST\t\t\t= F.PRÓBA\t\t\t##\tAz F-próba értékét adja eredményül.\r\nGAMMADIST\t\t= GAMMA.ELOSZLÁS\t\t##\tA gamma-eloszlás értékét számítja ki.\r\nGAMMAINV\t\t= INVERZ.GAMMA\t\t\t##\tA gamma-eloszlás eloszlásfüggvénye inverzének értékét számítja ki.\r\nGAMMALN\t\t\t= GAMMALN\t\t\t##\tA gamma-függvény természetes logaritmusát számítja ki.\r\nGEOMEAN\t\t\t= MÉRTANI.KÖZÉP\t\t\t##\tArgumentumai mértani középértékét számítja ki.\r\nGROWTH\t\t\t= NÖV\t\t\t\t##\tExponenciális regresszió alapján ad becslést.\r\nHARMEAN\t\t\t= HARM.KÖZÉP\t\t\t##\tArgumentumai harmonikus átlagát számítja ki.\r\nHYPGEOMDIST\t\t= HIPERGEOM.ELOSZLÁS\t\t##\tA hipergeometriai eloszlás értékét számítja ki.\r\nINTERCEPT\t\t= METSZ\t\t\t\t##\tA regressziós egyenes y tengellyel való metszéspontját határozza meg.\r\nKURT\t\t\t= CSÚCSOSSÁG\t\t\t##\tEgy adathalmaz csúcsosságát számítja ki.\r\nLARGE\t\t\t= NAGY\t\t\t\t##\tEgy adathalmaz k-adik legnagyobb elemét adja eredményül.\r\nLINEST\t\t\t= LIN.ILL\t\t\t##\tA legkisebb négyzetek módszerével az adatokra illesztett egyenes paramétereit határozza meg.\r\nLOGEST\t\t\t= LOG.ILL\t\t\t##\tAz adatokra illesztett exponenciális görbe paramétereit határozza meg.\r\nLOGINV\t\t\t= INVERZ.LOG.ELOSZLÁS\t\t##\tA lognormális eloszlás inverzét számítja ki.\r\nLOGNORMDIST\t\t= LOG.ELOSZLÁS\t\t\t##\tA lognormális eloszlásfüggvény értékét számítja ki.\r\nMAX\t\t\t= MAX\t\t\t\t##\tAz argumentumai között szereplő legnagyobb számot adja meg.\r\nMAXA\t\t\t= MAX2\t\t\t\t##\tAz argumentumai között szereplő legnagyobb számot adja meg (beleértve a számokat, szöveget és logikai értékeket).\r\nMEDIAN\t\t\t= MEDIÁN\t\t\t##\tAdott számhalmaz mediánját számítja ki.\r\nMIN\t\t\t= MIN\t\t\t\t##\tAz argumentumai között szereplő legkisebb számot adja meg.\r\nMINA\t\t\t= MIN2\t\t\t\t##\tAz argumentumai között szereplő legkisebb számot adja meg, beleértve a számokat, szöveget és logikai értékeket.\r\nMODE\t\t\t= MÓDUSZ\t\t\t##\tEgy adathalmazból kiválasztja a leggyakrabban előforduló számot.\r\nNEGBINOMDIST\t\t= NEGBINOM.ELOSZL\t\t##\tA negatív binomiális eloszlás értékét számítja ki.\r\nNORMDIST\t\t= NORM.ELOSZL\t\t\t##\tA normális eloszlás értékét számítja ki.\r\nNORMINV\t\t\t= INVERZ.NORM\t\t\t##\tA normális eloszlás eloszlásfüggvénye inverzének értékét számítja ki.\r\nNORMSDIST\t\t= STNORMELOSZL\t\t\t##\tA standard normális eloszlás eloszlásfüggvényének értékét számítja ki.\r\nNORMSINV\t\t= INVERZ.STNORM\t\t\t##\tA standard normális eloszlás eloszlásfüggvénye inverzének értékét számítja ki.\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tA Pearson-féle korrelációs együtthatót számítja ki.\r\nPERCENTILE\t\t= PERCENTILIS\t\t\t##\tEgy tartományban található értékek k-adik percentilisét, azaz százalékosztályát adja eredményül.\r\nPERCENTRANK\t\t= SZÁZALÉKRANG\t\t\t##\tEgy értéknek egy adathalmazon belül vett százalékos rangját (elhelyezkedését) számítja ki.\r\nPERMUT\t\t\t= VARIÁCIÓK\t\t\t##\tAdott számú objektum k-ad osztályú ismétlés nélküli variációinak számát számítja ki.\r\nPOISSON\t\t\t= POISSON\t\t\t##\tA Poisson-eloszlás értékét számítja ki.\r\nPROB\t\t\t= VALÓSZÍNŰSÉG\t\t\t##\tAnnak valószínűségét számítja ki, hogy adott értékek két határérték közé esnek.\r\nQUARTILE\t\t= KVARTILIS\t\t\t##\tEgy adathalmaz kvartilisét (negyedszintjét) számítja ki.\r\nRANK\t\t\t= SORSZÁM\t\t\t##\tKiszámítja, hogy egy szám hányadik egy számsorozatban.\r\nRSQ\t\t\t= RNÉGYZET\t\t\t##\tKiszámítja a Pearson-féle szorzatmomentum korrelációs együtthatójának négyzetét.\r\nSKEW\t\t\t= FERDESÉG\t\t\t##\tEgy eloszlás ferdeségét határozza meg.\r\nSLOPE\t\t\t= MEREDEKSÉG\t\t\t##\tEgy lineáris regressziós egyenes meredekségét számítja ki.\r\nSMALL\t\t\t= KICSI\t\t\t\t##\tEgy adathalmaz k-adik legkisebb elemét adja meg.\r\nSTANDARDIZE\t\t= NORMALIZÁLÁS\t\t\t##\tNormalizált értéket ad eredményül.\r\nSTDEV\t\t\t= SZÓRÁS\t\t\t##\tEgy statisztikai sokaság mintájából kiszámítja annak szórását.\r\nSTDEVA\t\t\t= SZÓRÁSA\t\t\t##\tEgy statisztikai sokaság mintájából kiszámítja annak szórását (beleértve a számokat, szöveget és logikai értékeket).\r\nSTDEVP\t\t\t= SZÓRÁSP\t\t\t##\tEgy statisztikai sokaság egészéből kiszámítja annak szórását.\r\nSTDEVPA\t\t\t= SZÓRÁSPA\t\t\t##\tEgy statisztikai sokaság egészéből kiszámítja annak szórását (beleértve számokat, szöveget és logikai értékeket).\r\nSTEYX\t\t\t= STHIBAYX\t\t\t##\tEgy regresszió esetén az egyes x-értékek alapján meghatározott y-értékek standard hibáját számítja ki.\r\nTDIST\t\t\t= T.ELOSZLÁS\t\t\t##\tA Student-féle t-eloszlás értékét számítja ki.\r\nTINV\t\t\t= INVERZ.T\t\t\t##\tA Student-féle t-eloszlás inverzét számítja ki.\r\nTREND\t\t\t= TREND\t\t\t\t##\tLineáris trend értékeit számítja ki.\r\nTRIMMEAN\t\t= RÉSZÁTLAG\t\t\t##\tEgy adathalmaz középső részének átlagát számítja ki.\r\nTTEST\t\t\t= T.PRÓBA\t\t\t##\tA Student-féle t-próbához tartozó valószínűséget számítja ki.\r\nVAR\t\t\t= VAR\t\t\t\t##\tMinta alapján becslést ad a varianciára.\r\nVARA\t\t\t= VARA\t\t\t\t##\tMinta alapján becslést ad a varianciára (beleértve számokat, szöveget és logikai értékeket).\r\nVARP\t\t\t= VARP\t\t\t\t##\tEgy statisztikai sokaság varianciáját számítja ki.\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tEgy statisztikai sokaság varianciáját számítja ki (beleértve számokat, szöveget és logikai értékeket).\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tA Weibull-féle eloszlás értékét számítja ki.\r\nZTEST\t\t\t= Z.PRÓBA\t\t\t##\tAz egyszélű z-próbával kapott valószínűségértéket számítja ki.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tSzövegműveletekhez használható függvények\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tSzöveg teljes szélességű (kétbájtos) latin és katakana karaktereit félszélességű (egybájtos) karakterekké alakítja.\r\nBAHTTEXT\t\t= BAHTSZÖVEG\t\t\t##\tSzámot szöveggé alakít a ß (baht) pénznemformátum használatával.\r\nCHAR\t\t\t= KARAKTER\t\t\t##\tA kódszámmal meghatározott karaktert adja eredményül.\r\nCLEAN\t\t\t= TISZTÍT\t\t\t##\tA szövegből eltávolítja az összes nem nyomtatható karaktert.\r\nCODE\t\t\t= KÓD\t\t\t\t##\tKaraktersorozat első karakterének numerikus kódját adja eredményül.\r\nCONCATENATE\t\t= ÖSSZEFŰZ\t\t\t##\tTöbb szövegelemet egyetlen szöveges elemmé fűz össze.\r\nDOLLAR\t\t\t= FORINT\t\t\t##\tSzámot pénznem formátumú szöveggé alakít át.\r\nEXACT\t\t\t= AZONOS\t\t\t##\tMegvizsgálja, hogy két érték azonos-e.\r\nFIND\t\t\t= SZÖVEG.TALÁL\t\t\t##\tKaraktersorozatot keres egy másikban (a kis- és nagybetűk megkülönböztetésével).\r\nFINDB\t\t\t= SZÖVEG.TALÁL2\t\t\t##\tKaraktersorozatot keres egy másikban (a kis- és nagybetűk megkülönböztetésével).\r\nFIXED\t\t\t= FIX\t\t\t\t##\tSzámot szöveges formátumúra alakít adott számú tizedesjegyre kerekítve.\r\nJIS\t\t\t= JIS\t\t\t\t##\tA félszélességű (egybájtos) latin és a katakana karaktereket teljes szélességű (kétbájtos) karakterekké alakítja.\r\nLEFT\t\t\t= BAL\t\t\t\t##\tSzöveg bal szélső karaktereit adja eredményül.\r\nLEFTB\t\t\t= BAL2\t\t\t\t##\tSzöveg bal szélső karaktereit adja eredményül.\r\nLEN\t\t\t= HOSSZ\t\t\t\t##\tSzöveg karakterekben mért hosszát adja eredményül.\r\nLENB\t\t\t= HOSSZ2\t\t\t##\tSzöveg karakterekben mért hosszát adja eredményül.\r\nLOWER\t\t\t= KISBETŰ\t\t\t##\tSzöveget kisbetűssé alakít át.\r\nMID\t\t\t= KÖZÉP\t\t\t\t##\tA szöveg adott pozíciójától kezdve megadott számú karaktert ad vissza eredményként.\r\nMIDB\t\t\t= KÖZÉP2\t\t\t##\tA szöveg adott pozíciójától kezdve megadott számú karaktert ad vissza eredményként.\r\nPHONETIC\t\t= PHONETIC\t\t\t##\tSzöveg furigana (fonetikus) karaktereit adja vissza.\r\nPROPER\t\t\t= TNÉV\t\t\t\t##\tSzöveg minden szavának kezdőbetűjét nagybetűsre cseréli.\r\nREPLACE\t\t\t= CSERE\t\t\t\t##\tA szövegen belül karaktereket cserél.\r\nREPLACEB\t\t= CSERE2\t\t\t##\tA szövegen belül karaktereket cserél.\r\nREPT\t\t\t= SOKSZOR\t\t\t##\tMegadott számú alkalommal megismétel egy szövegrészt.\r\nRIGHT\t\t\t= JOBB\t\t\t\t##\tSzövegrész jobb szélső karaktereit adja eredményül.\r\nRIGHTB\t\t\t= JOBB2\t\t\t\t##\tSzövegrész jobb szélső karaktereit adja eredményül.\r\nSEARCH\t\t\t= SZÖVEG.KERES\t\t\t##\tKaraktersorozatot keres egy másikban (a kis- és nagybetűk között nem tesz különbséget).\r\nSEARCHB\t\t\t= SZÖVEG.KERES2\t\t\t##\tKaraktersorozatot keres egy másikban (a kis- és nagybetűk között nem tesz különbséget).\r\nSUBSTITUTE\t\t= HELYETTE\t\t\t##\tSzövegben adott karaktereket másikra cserél.\r\nT\t\t\t= T\t\t\t\t##\tArgumentumát szöveggé alakítja át.\r\nTEXT\t\t\t= SZÖVEG\t\t\t##\tSzámértéket alakít át adott számformátumú szöveggé.\r\nTRIM\t\t\t= TRIM\t\t\t\t##\tA szövegből eltávolítja a szóközöket.\r\nUPPER\t\t\t= NAGYBETŰS\t\t\t##\tSzöveget nagybetűssé alakít át.\r\nVALUE\t\t\t= ÉRTÉK\t\t\t\t##\tSzöveget számmá alakít át.\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/it/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= €\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NULLO!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #VALORE!\r\nREF\t= #RIF!\r\nNAME\t= #NOME?\r\nNUM\t= #NUM!\r\nNA\t= #N/D\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/it/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tFunzioni di automazione e dei componenti aggiuntivi\r\n##\r\nGETPIVOTDATA\t\t= INFO.DATI.TAB.PIVOT\t\t##\tRestituisce i dati memorizzati in un rapporto di tabella pivot\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tFunzioni cubo\r\n##\r\nCUBEKPIMEMBER\t\t= MEMBRO.KPI.CUBO\t\t##\tRestituisce il nome, la proprietà e la misura di un indicatore di prestazioni chiave (KPI) e visualizza il nome e la proprietà nella cella. Un KPI è una misura quantificabile, ad esempio l'utile lordo mensile o il fatturato trimestrale dei dipendenti, utilizzata per il monitoraggio delle prestazioni di un'organizzazione.\r\nCUBEMEMBER\t\t= MEMBRO.CUBO\t\t\t##\tRestituisce un membro o una tupla in una gerarchia di cubi. Consente di verificare l'esistenza del membro o della tupla nel cubo.\r\nCUBEMEMBERPROPERTY\t= PROPRIETÀ.MEMBRO.CUBO\t\t##\tRestituisce il valore di una proprietà di un membro del cubo. Consente di verificare l'esistenza di un nome di membro all'interno del cubo e di restituire la proprietà specificata per tale membro.\r\nCUBERANKEDMEMBER\t= MEMBRO.CUBO.CON.RANGO\t\t##\tRestituisce l'n-esimo membro o il membro ordinato di un insieme. Consente di restituire uno o più elementi in un insieme, ad esempio l'agente di vendita migliore o i primi 10 studenti.\r\nCUBESET\t\t\t= SET.CUBO\t\t\t##\tDefinisce un insieme di tuple o membri calcolati mediante l'invio di un'espressione di insieme al cubo sul server. In questo modo l'insieme viene creato e restituito a Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= CONTA.SET.CUBO\t\t##\tRestituisce il numero di elementi di un insieme.\r\nCUBEVALUE\t\t= VALORE.CUBO\t\t\t##\tRestituisce un valore aggregato da un cubo.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tFunzioni di database\r\n##\r\nDAVERAGE\t\t= DB.MEDIA\t\t\t##\tRestituisce la media di voci del database selezionate\r\nDCOUNT\t\t\t= DB.CONTA.NUMERI\t\t##\tConta le celle di un database contenenti numeri\r\nDCOUNTA\t\t\t= DB.CONTA.VALORI\t\t##\tConta le celle non vuote in un database\r\nDGET\t\t\t= DB.VALORI\t\t\t##\tEstrae da un database un singolo record che soddisfa i criteri specificati\r\nDMAX\t\t\t= DB.MAX\t\t\t##\tRestituisce il valore massimo dalle voci selezionate in un database\r\nDMIN\t\t\t= DB.MIN\t\t\t##\tRestituisce il valore minimo dalle voci di un database selezionate\r\nDPRODUCT\t\t= DB.PRODOTTO\t\t\t##\tMoltiplica i valori in un determinato campo di record che soddisfano i criteri del database\r\nDSTDEV\t\t\t= DB.DEV.ST\t\t\t##\tRestituisce una stima della deviazione standard sulla base di un campione di voci di un database selezionate\r\nDSTDEVP\t\t\t= DB.DEV.ST.POP\t\t\t##\tCalcola la deviazione standard sulla base di tutte le voci di un database selezionate\r\nDSUM\t\t\t= DB.SOMMA\t\t\t##\tAggiunge i numeri nel campo colonna di record del database che soddisfa determinati criteri\r\nDVAR\t\t\t= DB.VAR\t\t\t##\tRestituisce una stima della varianza sulla base di un campione da voci di un database selezionate\r\nDVARP\t\t\t= DB.VAR.POP\t\t\t##\tCalcola la varianza sulla base di tutte le voci di un database selezionate\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tFunzioni data e ora\r\n##\r\nDATE\t\t\t= DATA\t\t\t\t##\tRestituisce il numero seriale di una determinata data\r\nDATEVALUE\t\t= DATA.VALORE\t\t\t##\tConverte una data sotto forma di testo in un numero seriale\r\nDAY\t\t\t= GIORNO\t\t\t##\tConverte un numero seriale in un giorno del mese\r\nDAYS360\t\t\t= GIORNO360\t\t\t##\tCalcola il numero di giorni compreso tra due date basandosi su un anno di 360 giorni\r\nEDATE\t\t\t= DATA.MESE\t\t\t##\tRestituisce il numero seriale della data che rappresenta il numero di mesi prima o dopo la data di inizio\r\nEOMONTH\t\t\t= FINE.MESE\t\t\t##\tRestituisce il numero seriale dell'ultimo giorno del mese, prima o dopo un determinato numero di mesi\r\nHOUR\t\t\t= ORA\t\t\t\t##\tConverte un numero seriale in un'ora\r\nMINUTE\t\t\t= MINUTO\t\t\t##\tConverte un numero seriale in un minuto\r\nMONTH\t\t\t= MESE\t\t\t\t##\tConverte un numero seriale in un mese\r\nNETWORKDAYS\t\t= GIORNI.LAVORATIVI.TOT\t\t##\tRestituisce il numero di tutti i giorni lavorativi compresi fra due date\r\nNOW\t\t\t= ADESSO\t\t\t##\tRestituisce il numero seriale della data e dell'ora corrente\r\nSECOND\t\t\t= SECONDO\t\t\t##\tConverte un numero seriale in un secondo\r\nTIME\t\t\t= ORARIO\t\t\t##\tRestituisce il numero seriale di una determinata ora\r\nTIMEVALUE\t\t= ORARIO.VALORE\t\t\t##\tConverte un orario in forma di testo in un numero seriale\r\nTODAY\t\t\t= OGGI\t\t\t\t##\tRestituisce il numero seriale relativo alla data odierna\r\nWEEKDAY\t\t\t= GIORNO.SETTIMANA\t\t##\tConverte un numero seriale in un giorno della settimana\r\nWEEKNUM\t\t\t= NUM.SETTIMANA\t\t\t##\tConverte un numero seriale in un numero che rappresenta la posizione numerica di una settimana nell'anno\r\nWORKDAY\t\t\t= GIORNO.LAVORATIVO\t\t##\tRestituisce il numero della data prima o dopo un determinato numero di giorni lavorativi\r\nYEAR\t\t\t= ANNO\t\t\t\t##\tConverte un numero seriale in un anno\r\nYEARFRAC\t\t= FRAZIONE.ANNO\t\t\t##\tRestituisce la frazione dell'anno che rappresenta il numero dei giorni compresi tra una data_ iniziale e una data_finale\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tFunzioni ingegneristiche\r\n##\r\nBESSELI\t\t\t= BESSEL.I\t\t\t##\tRestituisce la funzione di Bessel modificata In(x)\r\nBESSELJ\t\t\t= BESSEL.J\t\t\t##\tRestituisce la funzione di Bessel Jn(x)\r\nBESSELK\t\t\t= BESSEL.K\t\t\t##\tRestituisce la funzione di Bessel modificata Kn(x)\r\nBESSELY\t\t\t= BESSEL.Y\t\t\t##\tRestituisce la funzione di Bessel Yn(x)\r\nBIN2DEC\t\t\t= BINARIO.DECIMALE\t\t##\tConverte un numero binario in decimale\r\nBIN2HEX\t\t\t= BINARIO.HEX\t\t\t##\tConverte un numero binario in esadecimale\r\nBIN2OCT\t\t\t= BINARIO.OCT\t\t\t##\tConverte un numero binario in ottale\r\nCOMPLEX\t\t\t= COMPLESSO\t\t\t##\tConverte i coefficienti reali e immaginari in numeri complessi\r\nCONVERT\t\t\t= CONVERTI\t\t\t##\tConverte un numero da un sistema di misura in un altro\r\nDEC2BIN\t\t\t= DECIMALE.BINARIO\t\t##\tConverte un numero decimale in binario\r\nDEC2HEX\t\t\t= DECIMALE.HEX\t\t\t##\tConverte un numero decimale in esadecimale\r\nDEC2OCT\t\t\t= DECIMALE.OCT\t\t\t##\tConverte un numero decimale in ottale\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tVerifica se due valori sono uguali\r\nERF\t\t\t= FUNZ.ERRORE\t\t\t##\tRestituisce la funzione di errore\r\nERFC\t\t\t= FUNZ.ERRORE.COMP\t\t##\tRestituisce la funzione di errore complementare\r\nGESTEP\t\t\t= SOGLIA\t\t\t##\tVerifica se un numero è maggiore del valore di soglia\r\nHEX2BIN\t\t\t= HEX.BINARIO\t\t\t##\tConverte un numero esadecimale in binario\r\nHEX2DEC\t\t\t= HEX.DECIMALE\t\t\t##\tConverte un numero esadecimale in decimale\r\nHEX2OCT\t\t\t= HEX.OCT\t\t\t##\tConverte un numero esadecimale in ottale\r\nIMABS\t\t\t= COMP.MODULO\t\t\t##\tRestituisce il valore assoluto (modulo) di un numero complesso\r\nIMAGINARY\t\t= COMP.IMMAGINARIO\t\t##\tRestituisce il coefficiente immaginario di un numero complesso\r\nIMARGUMENT\t\t= COMP.ARGOMENTO\t\t##\tRestituisce l'argomento theta, un angolo espresso in radianti\r\nIMCONJUGATE\t\t= COMP.CONIUGATO\t\t##\tRestituisce il complesso coniugato del numero complesso\r\nIMCOS\t\t\t= COMP.COS\t\t\t##\tRestituisce il coseno di un numero complesso\r\nIMDIV\t\t\t= COMP.DIV\t\t\t##\tRestituisce il quoziente di due numeri complessi\r\nIMEXP\t\t\t= COMP.EXP\t\t\t##\tRestituisce il valore esponenziale di un numero complesso\r\nIMLN\t\t\t= COMP.LN\t\t\t##\tRestituisce il logaritmo naturale di un numero complesso\r\nIMLOG10\t\t\t= COMP.LOG10\t\t\t##\tRestituisce il logaritmo in base 10 di un numero complesso\r\nIMLOG2\t\t\t= COMP.LOG2\t\t\t##\tRestituisce un logaritmo in base 2 di un numero complesso\r\nIMPOWER\t\t\t= COMP.POTENZA\t\t\t##\tRestituisce il numero complesso elevato a una potenza intera\r\nIMPRODUCT\t\t= COMP.PRODOTTO\t\t\t##\tRestituisce il prodotto di numeri complessi compresi tra 2 e 29\r\nIMREAL\t\t\t= COMP.PARTE.REALE\t\t##\tRestituisce il coefficiente reale di un numero complesso\r\nIMSIN\t\t\t= COMP.SEN\t\t\t##\tRestituisce il seno di un numero complesso\r\nIMSQRT\t\t\t= COMP.RADQ\t\t\t##\tRestituisce la radice quadrata di un numero complesso\r\nIMSUB\t\t\t= COMP.DIFF\t\t\t##\tRestituisce la differenza fra due numeri complessi\r\nIMSUM\t\t\t= COMP.SOMMA\t\t\t##\tRestituisce la somma di numeri complessi\r\nOCT2BIN\t\t\t= OCT.BINARIO\t\t\t##\tConverte un numero ottale in binario\r\nOCT2DEC\t\t\t= OCT.DECIMALE\t\t\t##\tConverte un numero ottale in decimale\r\nOCT2HEX\t\t\t= OCT.HEX\t\t\t##\tConverte un numero ottale in esadecimale\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFunzioni finanziarie\r\n##\r\nACCRINT\t\t\t= INT.MATURATO.PER\t\t##\tRestituisce l'interesse maturato di un titolo che paga interessi periodici\r\nACCRINTM\t\t= INT.MATURATO.SCAD\t\t##\tRestituisce l'interesse maturato di un titolo che paga interessi alla scadenza\r\nAMORDEGRC\t\t= AMMORT.DEGR\t\t\t##\tRestituisce l'ammortamento per ogni periodo contabile utilizzando un coefficiente di ammortamento\r\nAMORLINC\t\t= AMMORT.PER\t\t\t##\tRestituisce l'ammortamento per ogni periodo contabile\r\nCOUPDAYBS\t\t= GIORNI.CED.INIZ.LIQ\t\t##\tRestituisce il numero dei giorni che vanno dall'inizio del periodo di durata della cedola alla data di liquidazione\r\nCOUPDAYS\t\t= GIORNI.CED\t\t\t##\tRestituisce il numero dei giorni relativi al periodo della cedola che contiene la data di liquidazione\r\nCOUPDAYSNC\t\t= GIORNI.CED.NUOVA\t\t##\tRestituisce il numero di giorni che vanno dalla data di liquidazione alla data della cedola successiva\r\nCOUPNCD\t\t\t= DATA.CED.SUCC\t\t\t##\tRestituisce un numero che rappresenta la data della cedola successiva alla data di liquidazione\r\nCOUPNUM\t\t\t= NUM.CED\t\t\t##\tRestituisce il numero di cedole pagabili fra la data di liquidazione e la data di scadenza\r\nCOUPPCD\t\t\t= DATA.CED.PREC\t\t\t##\tRestituisce un numero che rappresenta la data della cedola precedente alla data di liquidazione\r\nCUMIPMT\t\t\t= INT.CUMUL\t\t\t##\tRestituisce l'interesse cumulativo pagato fra due periodi\r\nCUMPRINC\t\t= CAP.CUM\t\t\t##\tRestituisce il capitale cumulativo pagato per estinguere un debito fra due periodi\r\nDB\t\t\t= DB\t\t\t\t##\tRestituisce l'ammortamento di un bene per un periodo specificato utilizzando il metodo di ammortamento a quote fisse decrescenti\r\nDDB\t\t\t= AMMORT\t\t\t##\tRestituisce l'ammortamento di un bene per un periodo specificato utilizzando il metodo di ammortamento a doppie quote decrescenti o altri metodi specificati\r\nDISC\t\t\t= TASSO.SCONTO\t\t\t##\tRestituisce il tasso di sconto per un titolo\r\nDOLLARDE\t\t= VALUTA.DEC\t\t\t##\tConverte un prezzo valuta, espresso come frazione, in prezzo valuta, espresso come numero decimale\r\nDOLLARFR\t\t= VALUTA.FRAZ\t\t\t##\tConverte un prezzo valuta, espresso come numero decimale, in prezzo valuta, espresso come frazione\r\nDURATION\t\t= DURATA\t\t\t##\tRestituisce la durata annuale di un titolo con i pagamenti di interesse periodico\r\nEFFECT\t\t\t= EFFETTIVO\t\t\t##\tRestituisce l'effettivo tasso di interesse annuo\r\nFV\t\t\t= VAL.FUT\t\t\t##\tRestituisce il valore futuro di un investimento\r\nFVSCHEDULE\t\t= VAL.FUT.CAPITALE\t\t##\tRestituisce il valore futuro di un capitale iniziale dopo aver applicato una serie di tassi di interesse composti\r\nINTRATE\t\t\t= TASSO.INT\t\t\t##\tRestituisce il tasso di interesse per un titolo interamente investito\r\nIPMT\t\t\t= INTERESSI\t\t\t##\tRestituisce il valore degli interessi per un investimento relativo a un periodo specifico\r\nIRR\t\t\t= TIR.COST\t\t\t##\tRestituisce il tasso di rendimento interno per una serie di flussi di cassa\r\nISPMT\t\t\t= INTERESSE.RATA\t\t##\tCalcola l'interesse di un investimento pagato durante un periodo specifico\r\nMDURATION\t\t= DURATA.M\t\t\t##\tRestituisce la durata Macauley modificata per un titolo con un valore presunto di € 100\r\nMIRR\t\t\t= TIR.VAR\t\t\t##\tRestituisce il tasso di rendimento interno in cui i flussi di cassa positivi e negativi sono finanziati a tassi differenti\r\nNOMINAL\t\t\t= NOMINALE\t\t\t##\tRestituisce il tasso di interesse nominale annuale\r\nNPER\t\t\t= NUM.RATE\t\t\t##\tRestituisce un numero di periodi relativi a un investimento\r\nNPV\t\t\t= VAN\t\t\t\t##\tRestituisce il valore attuale netto di un investimento basato su una serie di flussi di cassa periodici e sul tasso di sconto\r\nODDFPRICE\t\t= PREZZO.PRIMO.IRR\t\t##\tRestituisce il prezzo di un titolo dal valore nominale di € 100 avente il primo periodo di durata irregolare\r\nODDFYIELD\t\t= REND.PRIMO.IRR\t\t##\tRestituisce il rendimento di un titolo avente il primo periodo di durata irregolare\r\nODDLPRICE\t\t= PREZZO.ULTIMO.IRR\t\t##\tRestituisce il prezzo di un titolo dal valore nominale di € 100 avente l'ultimo periodo di durata irregolare\r\nODDLYIELD\t\t= REND.ULTIMO.IRR\t\t##\tRestituisce il rendimento di un titolo avente l'ultimo periodo di durata irregolare\r\nPMT\t\t\t= RATA\t\t\t\t##\tRestituisce il pagamento periodico di una rendita annua\r\nPPMT\t\t\t= P.RATA\t\t\t##\tRestituisce il pagamento sul capitale di un investimento per un dato periodo\r\nPRICE\t\t\t= PREZZO\t\t\t##\tRestituisce il prezzo di un titolo dal valore nominale di € 100 che paga interessi periodici\r\nPRICEDISC\t\t= PREZZO.SCONT\t\t\t##\tRestituisce il prezzo di un titolo scontato dal valore nominale di € 100\r\nPRICEMAT\t\t= PREZZO.SCAD\t\t\t##\tRestituisce il prezzo di un titolo dal valore nominale di € 100 che paga gli interessi alla scadenza\r\nPV\t\t\t= VA\t\t\t\t##\tRestituisce il valore attuale di un investimento\r\nRATE\t\t\t= TASSO\t\t\t\t##\tRestituisce il tasso di interesse per un periodo di un'annualità\r\nRECEIVED\t\t= RICEV.SCAD\t\t\t##\tRestituisce l'ammontare ricevuto alla scadenza di un titolo interamente investito\r\nSLN\t\t\t= AMMORT.COST\t\t\t##\tRestituisce l'ammortamento a quote costanti di un bene per un singolo periodo\r\nSYD\t\t\t= AMMORT.ANNUO\t\t\t##\tRestituisce l'ammortamento a somma degli anni di un bene per un periodo specificato\r\nTBILLEQ\t\t\t= BOT.EQUIV\t\t\t##\tRestituisce il rendimento equivalente ad un'obbligazione per un Buono ordinario del Tesoro\r\nTBILLPRICE\t\t= BOT.PREZZO\t\t\t##\tRestituisce il prezzo di un Buono del Tesoro dal valore nominale di € 100\r\nTBILLYIELD\t\t= BOT.REND\t\t\t##\tRestituisce il rendimento di un Buono del Tesoro\r\nVDB\t\t\t= AMMORT.VAR\t\t\t##\tRestituisce l'ammortamento di un bene per un periodo specificato o parziale utilizzando il metodo a doppie quote proporzionali ai valori residui\r\nXIRR\t\t\t= TIR.X\t\t\t\t##\tRestituisce il tasso di rendimento interno di un impiego di flussi di cassa\r\nXNPV\t\t\t= VAN.X\t\t\t\t##\tRestituisce il valore attuale netto di un impiego di flussi di cassa non necessariamente periodici\r\nYIELD\t\t\t= REND\t\t\t\t##\tRestituisce il rendimento di un titolo che frutta interessi periodici\r\nYIELDDISC\t\t= REND.TITOLI.SCONT\t\t##\tRestituisce il rendimento annuale di un titolo scontato, ad esempio un Buono del Tesoro\r\nYIELDMAT\t\t= REND.SCAD\t\t\t##\tRestituisce il rendimento annuo di un titolo che paga interessi alla scadenza\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tFunzioni relative alle informazioni\r\n##\r\nCELL\t\t\t= CELLA\t\t\t\t##\tRestituisce le informazioni sulla formattazione, la posizione o i contenuti di una cella\r\nERROR.TYPE\t\t= ERRORE.TIPO\t\t\t##\tRestituisce un numero che corrisponde a un tipo di errore\r\nINFO\t\t\t= INFO\t\t\t\t##\tRestituisce le informazioni sull'ambiente operativo corrente\r\nISBLANK\t\t\t= VAL.VUOTO\t\t\t##\tRestituisce VERO se il valore è vuoto\r\nISERR\t\t\t= VAL.ERR\t\t\t##\tRestituisce VERO se il valore è un valore di errore qualsiasi tranne #N/D\r\nISERROR\t\t\t= VAL.ERRORE\t\t\t##\tRestituisce VERO se il valore è un valore di errore qualsiasi\r\nISEVEN\t\t\t= VAL.PARI\t\t\t##\tRestituisce VERO se il numero è pari\r\nISLOGICAL\t\t= VAL.LOGICO\t\t\t##\tRestituisce VERO se il valore è un valore logico\r\nISNA\t\t\t= VAL.NON.DISP\t\t\t##\tRestituisce VERO se il valore è un valore di errore #N/D\r\nISNONTEXT\t\t= VAL.NON.TESTO\t\t\t##\tRestituisce VERO se il valore non è in formato testo\r\nISNUMBER\t\t= VAL.NUMERO\t\t\t##\tRestituisce VERO se il valore è un numero\r\nISODD\t\t\t= VAL.DISPARI\t\t\t##\tRestituisce VERO se il numero è dispari\r\nISREF\t\t\t= VAL.RIF\t\t\t##\tRestituisce VERO se il valore è un riferimento\r\nISTEXT\t\t\t= VAL.TESTO\t\t\t##\tRestituisce VERO se il valore è in formato testo\r\nN\t\t\t= NUM\t\t\t\t##\tRestituisce un valore convertito in numero\r\nNA\t\t\t= NON.DISP\t\t\t##\tRestituisce il valore di errore #N/D\r\nTYPE\t\t\t= TIPO\t\t\t\t##\tRestituisce un numero che indica il tipo di dati relativi a un valore\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tFunzioni logiche\r\n##\r\nAND\t\t\t= E\t\t\t\t##\tRestituisce VERO se tutti gli argomenti sono VERO\r\nFALSE\t\t\t= FALSO\t\t\t\t##\tRestituisce il valore logico FALSO\r\nIF\t\t\t= SE\t\t\t\t##\tSpecifica un test logico da eseguire\r\nIFERROR\t\t\t= SE.ERRORE\t\t\t##\tRestituisce un valore specificato se una formula fornisce un errore come risultato; in caso contrario, restituisce il risultato della formula\r\nNOT\t\t\t= NON\t\t\t\t##\tInverte la logica degli argomenti\r\nOR\t\t\t= O\t\t\t\t##\tRestituisce VERO se un argomento qualsiasi è VERO\r\nTRUE\t\t\t= VERO\t\t\t\t##\tRestituisce il valore logico VERO\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tFunzioni di ricerca e di riferimento\r\n##\r\nADDRESS\t\t\t= INDIRIZZO\t\t\t##\tRestituisce un riferimento come testo in una singola cella di un foglio di lavoro\r\nAREAS\t\t\t= AREE\t\t\t\t##\tRestituisce il numero di aree in un riferimento\r\nCHOOSE\t\t\t= SCEGLI\t\t\t##\tSceglie un valore da un elenco di valori\r\nCOLUMN\t\t\t= RIF.COLONNA\t\t\t##\tRestituisce il numero di colonna di un riferimento\r\nCOLUMNS\t\t\t= COLONNE\t\t\t##\tRestituisce il numero di colonne in un riferimento\r\nHLOOKUP\t\t\t= CERCA.ORIZZ\t\t\t##\tEffettua una ricerca nella riga superiore di una matrice e restituisce il valore della cella specificata\r\nHYPERLINK\t\t= COLLEG.IPERTESTUALE\t\t##\tCrea un collegamento che apre un documento memorizzato in un server di rete, una rete Intranet o Internet\r\nINDEX\t\t\t= INDICE\t\t\t##\tUtilizza un indice per scegliere un valore da un riferimento o da una matrice\r\nINDIRECT\t\t= INDIRETTO\t\t\t##\tRestituisce un riferimento specificato da un valore testo\r\nLOOKUP\t\t\t= CERCA\t\t\t\t##\tRicerca i valori in un vettore o in una matrice\r\nMATCH\t\t\t= CONFRONTA\t\t\t##\tRicerca i valori in un riferimento o in una matrice\r\nOFFSET\t\t\t= SCARTO\t\t\t##\tRestituisce uno scarto di riferimento da un riferimento dato\r\nROW\t\t\t= RIF.RIGA\t\t\t##\tRestituisce il numero di riga di un riferimento\r\nROWS\t\t\t= RIGHE\t\t\t\t##\tRestituisce il numero delle righe in un riferimento\r\nRTD\t\t\t= DATITEMPOREALE\t\t##\tRecupera dati in tempo reale da un programma che supporta l'automazione COM (automazione: Metodo per utilizzare gli oggetti di un'applicazione da un'altra applicazione o da un altro strumento di sviluppo. Precedentemente nota come automazione OLE, l'automazione è uno standard del settore e una caratteristica del modello COM (Component Object Model).)\r\nTRANSPOSE\t\t= MATR.TRASPOSTA\t\t##\tRestituisce la trasposizione di una matrice\r\nVLOOKUP\t\t\t= CERCA.VERT\t\t\t##\tEffettua una ricerca nella prima colonna di una matrice e si sposta attraverso la riga per restituire il valore di una cella\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tFunzioni matematiche e trigonometriche\r\n##\r\nABS\t\t\t= ASS\t\t\t\t##\tRestituisce il valore assoluto di un numero.\r\nACOS\t\t\t= ARCCOS\t\t\t##\tRestituisce l'arcocoseno di un numero\r\nACOSH\t\t\t= ARCCOSH\t\t\t##\tRestituisce l'inverso del coseno iperbolico di un numero\r\nASIN\t\t\t= ARCSEN\t\t\t##\tRestituisce l'arcoseno di un numero\r\nASINH\t\t\t= ARCSENH\t\t\t##\tRestituisce l'inverso del seno iperbolico di un numero\r\nATAN\t\t\t= ARCTAN\t\t\t##\tRestituisce l'arcotangente di un numero\r\nATAN2\t\t\t= ARCTAN.2\t\t\t##\tRestituisce l'arcotangente delle coordinate x e y specificate\r\nATANH\t\t\t= ARCTANH\t\t\t##\tRestituisce l'inverso della tangente iperbolica di un numero\r\nCEILING\t\t\t= ARROTONDA.ECCESSO\t\t##\tArrotonda un numero per eccesso all'intero più vicino o al multiplo più vicino a peso\r\nCOMBIN\t\t\t= COMBINAZIONE\t\t\t##\tRestituisce il numero di combinazioni possibili per un numero assegnato di elementi\r\nCOS\t\t\t= COS\t\t\t\t##\tRestituisce il coseno dell'angolo specificato\r\nCOSH\t\t\t= COSH\t\t\t\t##\tRestituisce il coseno iperbolico di un numero\r\nDEGREES\t\t\t= GRADI\t\t\t\t##\tConverte i radianti in gradi\r\nEVEN\t\t\t= PARI\t\t\t\t##\tArrotonda il valore assoluto di un numero per eccesso al più vicino intero pari\r\nEXP\t\t\t= ESP\t\t\t\t##\tRestituisce il numero e elevato alla potenza di num\r\nFACT\t\t\t= FATTORIALE\t\t\t##\tRestituisce il fattoriale di un numero\r\nFACTDOUBLE\t\t= FATT.DOPPIO\t\t\t##\tRestituisce il fattoriale doppio di un numero\r\nFLOOR\t\t\t= ARROTONDA.DIFETTO\t\t##\tArrotonda un numero per difetto al multiplo più vicino a zero\r\nGCD\t\t\t= MCD\t\t\t\t##\tRestituisce il massimo comune divisore\r\nINT\t\t\t= INT\t\t\t\t##\tArrotonda un numero per difetto al numero intero più vicino\r\nLCM\t\t\t= MCM\t\t\t\t##\tRestituisce il minimo comune multiplo\r\nLN\t\t\t= LN\t\t\t\t##\tRestituisce il logaritmo naturale di un numero\r\nLOG\t\t\t= LOG\t\t\t\t##\tRestituisce il logaritmo di un numero in una specificata base\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tRestituisce il logaritmo in base 10 di un numero\r\nMDETERM\t\t\t= MATR.DETERM\t\t\t##\tRestituisce il determinante di una matrice\r\nMINVERSE\t\t= MATR.INVERSA\t\t\t##\tRestituisce l'inverso di una matrice\r\nMMULT\t\t\t= MATR.PRODOTTO\t\t\t##\tRestituisce il prodotto di due matrici\r\nMOD\t\t\t= RESTO\t\t\t\t##\tRestituisce il resto della divisione\r\nMROUND\t\t\t= ARROTONDA.MULTIPLO\t\t##\tRestituisce un numero arrotondato al multiplo desiderato\r\nMULTINOMIAL\t\t= MULTINOMIALE\t\t\t##\tRestituisce il multinomiale di un insieme di numeri\r\nODD\t\t\t= DISPARI\t\t\t##\tArrotonda un numero per eccesso al più vicino intero dispari\r\nPI\t\t\t= PI.GRECO\t\t\t##\tRestituisce il valore di pi greco\r\nPOWER\t\t\t= POTENZA\t\t\t##\tRestituisce il risultato di un numero elevato a potenza\r\nPRODUCT\t\t\t= PRODOTTO\t\t\t##\tMoltiplica i suoi argomenti\r\nQUOTIENT\t\t= QUOZIENTE\t\t\t##\tRestituisce la parte intera di una divisione\r\nRADIANS\t\t\t= RADIANTI\t\t\t##\tConverte i gradi in radianti\r\nRAND\t\t\t= CASUALE\t\t\t##\tRestituisce un numero casuale compreso tra 0 e 1\r\nRANDBETWEEN\t\t= CASUALE.TRA\t\t\t##\tRestituisce un numero casuale compreso tra i numeri specificati\r\nROMAN\t\t\t= ROMANO\t\t\t##\tRestituisce il numero come numero romano sotto forma di testo\r\nROUND\t\t\t= ARROTONDA\t\t\t##\tArrotonda il numero al numero di cifre specificato\r\nROUNDDOWN\t\t= ARROTONDA.PER.DIF\t\t##\tArrotonda il valore assoluto di un numero per difetto\r\nROUNDUP\t\t\t= ARROTONDA.PER.ECC\t\t##\tArrotonda il valore assoluto di un numero per eccesso\r\nSERIESSUM\t\t= SOMMA.SERIE\t\t\t##\tRestituisce la somma di una serie di potenze in base alla formula\r\nSIGN\t\t\t= SEGNO\t\t\t\t##\tRestituisce il segno di un numero\r\nSIN\t\t\t= SEN\t\t\t\t##\tRestituisce il seno di un dato angolo\r\nSINH\t\t\t= SENH\t\t\t\t##\tRestituisce il seno iperbolico di un numero\r\nSQRT\t\t\t= RADQ\t\t\t\t##\tRestituisce una radice quadrata\r\nSQRTPI\t\t\t= RADQ.PI.GRECO\t\t\t##\tRestituisce la radice quadrata di un numero (numero * pi greco)\r\nSUBTOTAL\t\t= SUBTOTALE\t\t\t##\tRestituisce un subtotale in un elenco o in un database\r\nSUM\t\t\t= SOMMA\t\t\t\t##\tSomma i suoi argomenti\r\nSUMIF\t\t\t= SOMMA.SE\t\t\t##\tSomma le celle specificate da un dato criterio\r\nSUMIFS\t\t\t= SOMMA.PIÙ.SE\t\t\t##\tSomma le celle in un intervallo che soddisfano più criteri\r\nSUMPRODUCT\t\t= MATR.SOMMA.PRODOTTO\t\t##\tRestituisce la somma dei prodotti dei componenti corrispondenti della matrice\r\nSUMSQ\t\t\t= SOMMA.Q\t\t\t##\tRestituisce la somma dei quadrati degli argomenti\r\nSUMX2MY2\t\t= SOMMA.DIFF.Q\t\t\t##\tRestituisce la somma della differenza dei quadrati dei corrispondenti elementi in due matrici\r\nSUMX2PY2\t\t= SOMMA.SOMMA.Q\t\t\t##\tRestituisce la somma della somma dei quadrati dei corrispondenti elementi in due matrici\r\nSUMXMY2\t\t\t= SOMMA.Q.DIFF\t\t\t##\tRestituisce la somma dei quadrati delle differenze dei corrispondenti elementi in due matrici\r\nTAN\t\t\t= TAN\t\t\t\t##\tRestituisce la tangente di un numero\r\nTANH\t\t\t= TANH\t\t\t\t##\tRestituisce la tangente iperbolica di un numero\r\nTRUNC\t\t\t= TRONCA\t\t\t##\tTronca la parte decimale di un numero\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tFunzioni statistiche\r\n##\r\nAVEDEV\t\t\t= MEDIA.DEV\t\t\t##\tRestituisce la media delle deviazioni assolute delle coordinate rispetto alla loro media\r\nAVERAGE\t\t\t= MEDIA\t\t\t\t##\tRestituisce la media degli argomenti\r\nAVERAGEA\t\t= MEDIA.VALORI\t\t\t##\tRestituisce la media degli argomenti, inclusi i numeri, il testo e i valori logici\r\nAVERAGEIF\t\t= MEDIA.SE\t\t\t##\tRestituisce la media aritmetica di tutte le celle in un intervallo che soddisfano un determinato criterio\r\nAVERAGEIFS\t\t= MEDIA.PIÙ.SE\t\t\t##\tRestituisce la media aritmetica di tutte le celle che soddisfano più criteri\r\nBETADIST\t\t= DISTRIB.BETA\t\t\t##\tRestituisce la funzione di distribuzione cumulativa beta\r\nBETAINV\t\t\t= INV.BETA\t\t\t##\tRestituisce l'inverso della funzione di distribuzione cumulativa per una distribuzione beta specificata\r\nBINOMDIST\t\t= DISTRIB.BINOM\t\t\t##\tRestituisce la distribuzione binomiale per il termine individuale\r\nCHIDIST\t\t\t= DISTRIB.CHI\t\t\t##\tRestituisce la probabilità a una coda per la distribuzione del chi quadrato\r\nCHIINV\t\t\t= INV.CHI\t\t\t##\tRestituisce l'inverso della probabilità ad una coda per la distribuzione del chi quadrato\r\nCHITEST\t\t\t= TEST.CHI\t\t\t##\tRestituisce il test per l'indipendenza\r\nCONFIDENCE\t\t= CONFIDENZA\t\t\t##\tRestituisce l'intervallo di confidenza per una popolazione\r\nCORREL\t\t\t= CORRELAZIONE\t\t\t##\tRestituisce il coefficiente di correlazione tra due insiemi di dati\r\nCOUNT\t\t\t= CONTA.NUMERI\t\t\t##\tConta la quantità di numeri nell'elenco di argomenti\r\nCOUNTA\t\t\t= CONTA.VALORI\t\t\t##\tConta il numero di valori nell'elenco di argomenti\r\nCOUNTBLANK\t\t= CONTA.VUOTE\t\t\t##\tConta il numero di celle vuote all'interno di un intervallo\r\nCOUNTIF\t\t\t= CONTA.SE\t\t\t##\tConta il numero di celle all'interno di un intervallo che soddisfa i criteri specificati\r\nCOUNTIFS\t\t= CONTA.PIÙ.SE\t\t\t##\tConta il numero di celle in un intervallo che soddisfano più criteri.\r\nCOVAR\t\t\t= COVARIANZA\t\t\t##\tCalcola la covarianza, la media dei prodotti delle deviazioni accoppiate\r\nCRITBINOM\t\t= CRIT.BINOM\t\t\t##\tRestituisce il più piccolo valore per il quale la distribuzione cumulativa binomiale risulta maggiore o uguale ad un valore di criterio\r\nDEVSQ\t\t\t= DEV.Q\t\t\t\t##\tRestituisce la somma dei quadrati delle deviazioni\r\nEXPONDIST\t\t= DISTRIB.EXP\t\t\t##\tRestituisce la distribuzione esponenziale\r\nFDIST\t\t\t= DISTRIB.F\t\t\t##\tRestituisce la distribuzione di probabilità F\r\nFINV\t\t\t= INV.F\t\t\t\t##\tRestituisce l'inverso della distribuzione della probabilità F\r\nFISHER\t\t\t= FISHER\t\t\t##\tRestituisce la trasformazione di Fisher\r\nFISHERINV\t\t= INV.FISHER\t\t\t##\tRestituisce l'inverso della trasformazione di Fisher\r\nFORECAST\t\t= PREVISIONE\t\t\t##\tRestituisce i valori lungo una tendenza lineare\r\nFREQUENCY\t\t= FREQUENZA\t\t\t##\tRestituisce la distribuzione di frequenza come matrice verticale\r\nFTEST\t\t\t= TEST.F\t\t\t##\tRestituisce il risultato di un test F\r\nGAMMADIST\t\t= DISTRIB.GAMMA\t\t\t##\tRestituisce la distribuzione gamma\r\nGAMMAINV\t\t= INV.GAMMA\t\t\t##\tRestituisce l'inverso della distribuzione cumulativa gamma\r\nGAMMALN\t\t\t= LN.GAMMA\t\t\t##\tRestituisce il logaritmo naturale della funzione gamma, G(x)\r\nGEOMEAN\t\t\t= MEDIA.GEOMETRICA\t\t##\tRestituisce la media geometrica\r\nGROWTH\t\t\t= CRESCITA\t\t\t##\tRestituisce i valori lungo una linea di tendenza esponenziale\r\nHARMEAN\t\t\t= MEDIA.ARMONICA\t\t##\tRestituisce la media armonica\r\nHYPGEOMDIST\t\t= DISTRIB.IPERGEOM\t\t##\tRestituisce la distribuzione ipergeometrica\r\nINTERCEPT\t\t= INTERCETTA\t\t\t##\tRestituisce l'intercetta della retta di regressione lineare\r\nKURT\t\t\t= CURTOSI\t\t\t##\tRestituisce la curtosi di un insieme di dati\r\nLARGE\t\t\t= GRANDE\t\t\t##\tRestituisce il k-esimo valore più grande in un insieme di dati\r\nLINEST\t\t\t= REGR.LIN\t\t\t##\tRestituisce i parametri di una tendenza lineare\r\nLOGEST\t\t\t= REGR.LOG\t\t\t##\tRestituisce i parametri di una linea di tendenza esponenziale\r\nLOGINV\t\t\t= INV.LOGNORM\t\t\t##\tRestituisce l'inverso di una distribuzione lognormale\r\nLOGNORMDIST\t\t= DISTRIB.LOGNORM\t\t##\tRestituisce la distribuzione lognormale cumulativa\r\nMAX\t\t\t= MAX\t\t\t\t##\tRestituisce il valore massimo in un elenco di argomenti\r\nMAXA\t\t\t= MAX.VALORI\t\t\t##\tRestituisce il valore massimo in un elenco di argomenti, inclusi i numeri, il testo e i valori logici\r\nMEDIAN\t\t\t= MEDIANA\t\t\t##\tRestituisce la mediana dei numeri specificati\r\nMIN\t\t\t= MIN\t\t\t\t##\tRestituisce il valore minimo in un elenco di argomenti\r\nMINA\t\t\t= MIN.VALORI\t\t\t##\tRestituisce il più piccolo valore in un elenco di argomenti, inclusi i numeri, il testo e i valori logici\r\nMODE\t\t\t= MODA\t\t\t\t##\tRestituisce il valore più comune in un insieme di dati\r\nNEGBINOMDIST\t\t= DISTRIB.BINOM.NEG\t\t##\tRestituisce la distribuzione binomiale negativa\r\nNORMDIST\t\t= DISTRIB.NORM\t\t\t##\tRestituisce la distribuzione cumulativa normale\r\nNORMINV\t\t\t= INV.NORM\t\t\t##\tRestituisce l'inverso della distribuzione cumulativa normale standard\r\nNORMSDIST\t\t= DISTRIB.NORM.ST\t\t##\tRestituisce la distribuzione cumulativa normale standard\r\nNORMSINV\t\t= INV.NORM.ST\t\t\t##\tRestituisce l'inverso della distribuzione cumulativa normale\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tRestituisce il coefficiente del momento di correlazione di Pearson\r\nPERCENTILE\t\t= PERCENTILE\t\t\t##\tRestituisce il k-esimo dato percentile di valori in un intervallo\r\nPERCENTRANK\t\t= PERCENT.RANGO\t\t\t##\tRestituisce il rango di un valore in un insieme di dati come percentuale\r\nPERMUT\t\t\t= PERMUTAZIONE\t\t\t##\tRestituisce il numero delle permutazioni per un determinato numero di oggetti\r\nPOISSON\t\t\t= POISSON\t\t\t##\tRestituisce la distribuzione di Poisson\r\nPROB\t\t\t= PROBABILITÀ\t\t\t##\tCalcola la probabilità che dei valori in un intervallo siano compresi tra due limiti\r\nQUARTILE\t\t= QUARTILE\t\t\t##\tRestituisce il quartile di un insieme di dati\r\nRANK\t\t\t= RANGO\t\t\t\t##\tRestituisce il rango di un numero in un elenco di numeri\r\nRSQ\t\t\t= RQ\t\t\t\t##\tRestituisce la radice quadrata del coefficiente di momento di correlazione di Pearson\r\nSKEW\t\t\t= ASIMMETRIA\t\t\t##\tRestituisce il grado di asimmetria di una distribuzione\r\nSLOPE\t\t\t= PENDENZA\t\t\t##\tRestituisce la pendenza di una retta di regressione lineare\r\nSMALL\t\t\t= PICCOLO\t\t\t##\tRestituisce il k-esimo valore più piccolo in un insieme di dati\r\nSTANDARDIZE\t\t= NORMALIZZA\t\t\t##\tRestituisce un valore normalizzato\r\nSTDEV\t\t\t= DEV.ST\t\t\t##\tRestituisce una stima della deviazione standard sulla base di un campione\r\nSTDEVA\t\t\t= DEV.ST.VALORI\t\t\t##\tRestituisce una stima della deviazione standard sulla base di un campione, inclusi i numeri, il testo e i valori logici\r\nSTDEVP\t\t\t= DEV.ST.POP\t\t\t##\tCalcola la deviazione standard sulla base di un'intera popolazione\r\nSTDEVPA\t\t\t= DEV.ST.POP.VALORI\t\t##\tCalcola la deviazione standard sulla base sull'intera popolazione, inclusi i numeri, il testo e i valori logici\r\nSTEYX\t\t\t= ERR.STD.YX\t\t\t##\tRestituisce l'errore standard del valore previsto per y per ogni valore x nella regressione\r\nTDIST\t\t\t= DISTRIB.T\t\t\t##\tRestituisce la distribuzione t di Student\r\nTINV\t\t\t= INV.T\t\t\t\t##\tRestituisce l'inversa della distribuzione t di Student\r\nTREND\t\t\t= TENDENZA\t\t\t##\tRestituisce i valori lungo una linea di tendenza lineare\r\nTRIMMEAN\t\t= MEDIA.TRONCATA\t\t##\tRestituisce la media della parte interna di un insieme di dati\r\nTTEST\t\t\t= TEST.T\t\t\t##\tRestituisce la probabilità associata ad un test t di Student\r\nVAR\t\t\t= VAR\t\t\t\t##\tStima la varianza sulla base di un campione\r\nVARA\t\t\t= VAR.VALORI\t\t\t##\tStima la varianza sulla base di un campione, inclusi i numeri, il testo e i valori logici\r\nVARP\t\t\t= VAR.POP\t\t\t##\tCalcola la varianza sulla base dell'intera popolazione\r\nVARPA\t\t\t= VAR.POP.VALORI\t\t##\tCalcola la deviazione standard sulla base sull'intera popolazione, inclusi i numeri, il testo e i valori logici\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tRestituisce la distribuzione di Weibull\r\nZTEST\t\t\t= TEST.Z\t\t\t##\tRestituisce il valore di probabilità a una coda per un test z\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tFunzioni di testo\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tModifica le lettere inglesi o il katakana a doppio byte all'interno di una stringa di caratteri in caratteri a singolo byte\r\nBAHTTEXT\t\t= BAHTTESTO\t\t\t##\tConverte un numero in testo, utilizzando il formato valuta ß (baht)\r\nCHAR\t\t\t= CODICE.CARATT\t\t\t##\tRestituisce il carattere specificato dal numero di codice\r\nCLEAN\t\t\t= LIBERA\t\t\t##\tElimina dal testo tutti i caratteri che non è possibile stampare\r\nCODE\t\t\t= CODICE\t\t\t##\tRestituisce il codice numerico del primo carattere di una stringa di testo\r\nCONCATENATE\t\t= CONCATENA\t\t\t##\tUnisce diversi elementi di testo in un unico elemento di testo\r\nDOLLAR\t\t\t= VALUTA\t\t\t##\tConverte un numero in testo, utilizzando il formato valuta € (euro)\r\nEXACT\t\t\t= IDENTICO\t\t\t##\tVerifica se due valori di testo sono uguali\r\nFIND\t\t\t= TROVA\t\t\t\t##\tRileva un valore di testo all'interno di un altro (distinzione tra maiuscole e minuscole)\r\nFINDB\t\t\t= TROVA.B\t\t\t##\tRileva un valore di testo all'interno di un altro (distinzione tra maiuscole e minuscole)\r\nFIXED\t\t\t= FISSO\t\t\t\t##\tFormatta un numero come testo con un numero fisso di decimali\r\nJIS\t\t\t= ORDINAMENTO.JIS\t\t##\tModifica le lettere inglesi o i caratteri katakana a byte singolo all'interno di una stringa di caratteri in caratteri a byte doppio.\r\nLEFT\t\t\t= SINISTRA\t\t\t##\tRestituisce il carattere più a sinistra di un valore di testo\r\nLEFTB\t\t\t= SINISTRA.B\t\t\t##\tRestituisce il carattere più a sinistra di un valore di testo\r\nLEN\t\t\t= LUNGHEZZA\t\t\t##\tRestituisce il numero di caratteri di una stringa di testo\r\nLENB\t\t\t= LUNB\t\t\t\t##\tRestituisce il numero di caratteri di una stringa di testo\r\nLOWER\t\t\t= MINUSC\t\t\t##\tConverte il testo in lettere minuscole\r\nMID\t\t\t= MEDIA\t\t\t\t##\tRestituisce un numero specifico di caratteri di una stringa di testo a partire dalla posizione specificata\r\nMIDB\t\t\t= MEDIA.B\t\t\t##\tRestituisce un numero specifico di caratteri di una stringa di testo a partire dalla posizione specificata\r\nPHONETIC\t\t= FURIGANA\t\t\t##\tEstrae i caratteri fonetici (furigana) da una stringa di testo.\r\nPROPER\t\t\t= MAIUSC.INIZ\t\t\t##\tConverte in maiuscolo la prima lettera di ogni parola di un valore di testo\r\nREPLACE\t\t\t= RIMPIAZZA\t\t\t##\tSostituisce i caratteri all'interno di un testo\r\nREPLACEB\t\t= SOSTITUISCI.B\t\t\t##\tSostituisce i caratteri all'interno di un testo\r\nREPT\t\t\t= RIPETI\t\t\t##\tRipete un testo per un dato numero di volte\r\nRIGHT\t\t\t= DESTRA\t\t\t##\tRestituisce il carattere più a destra di un valore di testo\r\nRIGHTB\t\t\t= DESTRA.B\t\t\t##\tRestituisce il carattere più a destra di un valore di testo\r\nSEARCH\t\t\t= RICERCA\t\t\t##\tRileva un valore di testo all'interno di un altro (non è sensibile alle maiuscole e minuscole)\r\nSEARCHB\t\t\t= CERCA.B\t\t\t##\tRileva un valore di testo all'interno di un altro (non è sensibile alle maiuscole e minuscole)\r\nSUBSTITUTE\t\t= SOSTITUISCI\t\t\t##\tSostituisce il nuovo testo al testo contenuto in una stringa\r\nT\t\t\t= T\t\t\t\t##\tConverte gli argomenti in testo\r\nTEXT\t\t\t= TESTO\t\t\t\t##\tFormatta un numero e lo converte in testo\r\nTRIM\t\t\t= ANNULLA.SPAZI\t\t\t##\tElimina gli spazi dal testo\r\nUPPER\t\t\t= MAIUSC\t\t\t##\tConverte il testo in lettere maiuscole\r\nVALUE\t\t\t= VALORE\t\t\t##\tConverte un argomento di testo in numero\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/nl/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= €\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #LEEG!\r\nDIV0\t= #DEEL/0!\r\nVALUE\t= #WAARDE!\r\nREF\t= #VERW!\r\nNAME\t= #NAAM?\r\nNUM\t= #GETAL!\r\nNA\t= #N/B\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/nl/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tAutomatiseringsfuncties en functies in invoegtoepassingen\r\n##\r\nGETPIVOTDATA\t\t= DRAAITABEL.OPHALEN\t\t##\tGeeft gegevens uit een draaitabelrapport als resultaat\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tKubusfuncties\r\n##\r\nCUBEKPIMEMBER\t\t= KUBUSKPILID\t\t\t##\tRetourneert de naam, eigenschap en waarde van een KPI (prestatie-indicator) en geeft de naam en de eigenschap in de cel weer. Een KPI is een meetbare waarde, zoals de maandelijkse brutowinst of de omzet per kwartaal per werknemer, die wordt gebruikt om de prestaties van een organisatie te bewaken\r\nCUBEMEMBER\t\t= KUBUSLID\t\t\t##\tRetourneert een lid of tupel in een kubushiërarchie. Wordt gebruikt om te controleren of het lid of de tupel in de kubus aanwezig is\r\nCUBEMEMBERPROPERTY\t= KUBUSLIDEIGENSCHAP\t\t##\tRetourneert de waarde van een lideigenschap in de kubus. Wordt gebruikt om te controleren of de lidnaam in de kubus bestaat en retourneert de opgegeven eigenschap voor dit lid\r\nCUBERANKEDMEMBER\t= KUBUSGERANGCHIKTLID\t\t##\tRetourneert het zoveelste, gerangschikte lid in een set. Wordt gebruikt om een of meer elementen in een set te retourneren, zoals de tien beste verkopers of de tien beste studenten\r\nCUBESET\t\t\t= KUBUSSET\t\t\t##\tDefinieert een berekende set leden of tupels door een ingestelde expressie naar de kubus op de server te sturen, alwaar de set wordt gemaakt en vervolgens wordt geretourneerd naar Microsoft Office Excel\r\nCUBESETCOUNT\t\t= KUBUSSETAANTAL\t\t##\tRetourneert het aantal onderdelen in een set\r\nCUBEVALUE\t\t= KUBUSWAARDE\t\t\t##\tRetourneert een samengestelde waarde van een kubus\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tDatabasefuncties\r\n##\r\nDAVERAGE\t\t= DBGEMIDDELDE\t\t\t##\tBerekent de gemiddelde waarde in geselecteerde databasegegevens\r\nDCOUNT\t\t\t= DBAANTAL\t\t\t##\tTelt de cellen met getallen in een database\r\nDCOUNTA\t\t\t= DBAANTALC\t\t\t##\tTelt de niet-lege cellen in een database\r\nDGET\t\t\t= DBLEZEN\t\t\t##\tRetourneert één record dat voldoet aan de opgegeven criteria uit een database\r\nDMAX\t\t\t= DBMAX\t\t\t\t##\tRetourneert de maximumwaarde in de geselecteerde databasegegevens\r\nDMIN\t\t\t= DBMIN\t\t\t\t##\tRetourneert de minimumwaarde in de geselecteerde databasegegevens\r\nDPRODUCT\t\t= DBPRODUCT\t\t\t##\tVermenigvuldigt de waarden in een bepaald veld van de records die voldoen aan de criteria in een database\r\nDSTDEV\t\t\t= DBSTDEV\t\t\t##\tMaakt een schatting van de standaarddeviatie op basis van een steekproef uit geselecteerde databasegegevens\r\nDSTDEVP\t\t\t= DBSTDEVP\t\t\t##\tBerekent de standaarddeviatie op basis van de volledige populatie van geselecteerde databasegegevens\r\nDSUM\t\t\t= DBSOM\t\t\t\t##\tTelt de getallen uit een kolom records in de database op die voldoen aan de criteria\r\nDVAR\t\t\t= DBVAR\t\t\t\t##\tMaakt een schatting van de variantie op basis van een steekproef uit geselecteerde databasegegevens\r\nDVARP\t\t\t= DBVARP\t\t\t##\tBerekent de variantie op basis van de volledige populatie van geselecteerde databasegegevens\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tDatum- en tijdfuncties\r\n##\r\nDATE\t\t\t= DATUM\t\t\t\t##\tGeeft als resultaat het seriële getal van een opgegeven datum\r\nDATEVALUE\t\t= DATUMWAARDE\t\t\t##\tConverteert een datum in de vorm van tekst naar een serieel getal\r\nDAY\t\t\t= DAG\t\t\t\t##\tConverteert een serieel getal naar een dag van de maand\r\nDAYS360\t\t\t= DAGEN360\t\t\t##\tBerekent het aantal dagen tussen twee datums op basis van een jaar met 360 dagen\r\nEDATE\t\t\t= ZELFDE.DAG\t\t\t##\tGeeft als resultaat het seriële getal van een datum die het opgegeven aantal maanden voor of na de begindatum ligt\r\nEOMONTH\t\t\t= LAATSTE.DAG\t\t\t##\tGeeft als resultaat het seriële getal van de laatste dag van de maand voor of na het opgegeven aantal maanden\r\nHOUR\t\t\t= UUR\t\t\t\t##\tConverteert een serieel getal naar uren\r\nMINUTE\t\t\t= MINUUT\t\t\t##\tConverteert een serieel naar getal minuten\r\nMONTH\t\t\t= MAAND\t\t\t\t##\tConverteert een serieel getal naar een maand\r\nNETWORKDAYS\t\t= NETTO.WERKDAGEN\t\t##\tGeeft als resultaat het aantal hele werkdagen tussen twee datums\r\nNOW\t\t\t= NU\t\t\t\t##\tGeeft als resultaat het seriële getal van de huidige datum en tijd\r\nSECOND\t\t\t= SECONDE\t\t\t##\tConverteert een serieel getal naar seconden\r\nTIME\t\t\t= TIJD\t\t\t\t##\tGeeft als resultaat het seriële getal van een bepaald tijdstip\r\nTIMEVALUE\t\t= TIJDWAARDE\t\t\t##\tConverteert de tijd in de vorm van tekst naar een serieel getal\r\nTODAY\t\t\t= VANDAAG\t\t\t##\tGeeft als resultaat het seriële getal van de huidige datum\r\nWEEKDAY\t\t\t= WEEKDAG\t\t\t##\tConverteert een serieel getal naar een weekdag\r\nWEEKNUM\t\t\t= WEEKNUMMER\t\t\t##\tConverteert een serieel getal naar een weeknummer\r\nWORKDAY\t\t\t= WERKDAG\t\t\t##\tGeeft als resultaat het seriële getal van de datum voor of na een bepaald aantal werkdagen\r\nYEAR\t\t\t= JAAR\t\t\t\t##\tConverteert een serieel getal naar een jaar\r\nYEARFRAC\t\t= JAAR.DEEL\t\t\t##\tGeeft als resultaat het gedeelte van het jaar, uitgedrukt in het aantal hele dagen tussen begindatum en einddatum\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tTechnische functies\r\n##\r\nBESSELI\t\t\t= BESSEL.Y\t\t\t##\tGeeft als resultaat de gewijzigde Bessel-functie In(x)\r\nBESSELJ\t\t\t= BESSEL.J\t\t\t##\tGeeft als resultaat de Bessel-functie Jn(x)\r\nBESSELK\t\t\t= BESSEL.K\t\t\t##\tGeeft als resultaat de gewijzigde Bessel-functie Kn(x)\r\nBESSELY\t\t\t= BESSEL.Y\t\t\t##\tGeeft als resultaat de gewijzigde Bessel-functie Yn(x)\r\nBIN2DEC\t\t\t= BIN.N.DEC\t\t\t##\tConverteert een binair getal naar een decimaal getal\r\nBIN2HEX\t\t\t= BIN.N.HEX\t\t\t##\tConverteert een binair getal naar een hexadecimaal getal\r\nBIN2OCT\t\t\t= BIN.N.OCT\t\t\t##\tConverteert een binair getal naar een octaal getal\r\nCOMPLEX\t\t\t= COMPLEX\t\t\t##\tConverteert reële en imaginaire coëfficiënten naar een complex getal\r\nCONVERT\t\t\t= CONVERTEREN\t\t\t##\tConverteert een getal in de ene maateenheid naar een getal in een andere maateenheid\r\nDEC2BIN\t\t\t= DEC.N.BIN\t\t\t##\tConverteert een decimaal getal naar een binair getal\r\nDEC2HEX\t\t\t= DEC.N.HEX\t\t\t##\tConverteert een decimaal getal naar een hexadecimaal getal\r\nDEC2OCT\t\t\t= DEC.N.OCT\t\t\t##\tConverteert een decimaal getal naar een octaal getal\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tTest of twee waarden gelijk zijn\r\nERF\t\t\t= FOUTFUNCTIE\t\t\t##\tGeeft als resultaat de foutfunctie\r\nERFC\t\t\t= FOUT.COMPLEMENT\t\t##\tGeeft als resultaat de complementaire foutfunctie\r\nGESTEP\t\t\t= GROTER.DAN\t\t\t##\tTest of een getal groter is dan de drempelwaarde\r\nHEX2BIN\t\t\t= HEX.N.BIN\t\t\t##\tConverteert een hexadecimaal getal naar een binair getal\r\nHEX2DEC\t\t\t= HEX.N.DEC\t\t\t##\tConverteert een hexadecimaal getal naar een decimaal getal\r\nHEX2OCT\t\t\t= HEX.N.OCT\t\t\t##\tConverteert een hexadecimaal getal naar een octaal getal\r\nIMABS\t\t\t= C.ABS\t\t\t\t##\tGeeft als resultaat de absolute waarde (modulus) van een complex getal\r\nIMAGINARY\t\t= C.IM.DEEL\t\t\t##\tGeeft als resultaat de imaginaire coëfficiënt van een complex getal\r\nIMARGUMENT\t\t= C.ARGUMENT\t\t\t##\tGeeft als resultaat het argument thèta, een hoek uitgedrukt in radialen\r\nIMCONJUGATE\t\t= C.TOEGEVOEGD\t\t\t##\tGeeft als resultaat het complexe toegevoegde getal van een complex getal\r\nIMCOS\t\t\t= C.COS\t\t\t\t##\tGeeft als resultaat de cosinus van een complex getal\r\nIMDIV\t\t\t= C.QUOTIENT\t\t\t##\tGeeft als resultaat het quotiënt van twee complexe getallen\r\nIMEXP\t\t\t= C.EXP\t\t\t\t##\tGeeft als resultaat de exponent van een complex getal\r\nIMLN\t\t\t= C.LN\t\t\t\t##\tGeeft als resultaat de natuurlijke logaritme van een complex getal\r\nIMLOG10\t\t\t= C.LOG10\t\t\t##\tGeeft als resultaat de logaritme met grondtal 10 van een complex getal\r\nIMLOG2\t\t\t= C.LOG2\t\t\t##\tGeeft als resultaat de logaritme met grondtal 2 van een complex getal\r\nIMPOWER\t\t\t= C.MACHT\t\t\t##\tGeeft als resultaat een complex getal dat is verheven tot de macht van een geheel getal\r\nIMPRODUCT\t\t= C.PRODUCT\t\t\t##\tGeeft als resultaat het product van complexe getallen\r\nIMREAL\t\t\t= C.REEEL.DEEL\t\t\t##\tGeeft als resultaat de reële coëfficiënt van een complex getal\r\nIMSIN\t\t\t= C.SIN\t\t\t\t##\tGeeft als resultaat de sinus van een complex getal\r\nIMSQRT\t\t\t= C.WORTEL\t\t\t##\tGeeft als resultaat de vierkantswortel van een complex getal\r\nIMSUB\t\t\t= C.VERSCHIL\t\t\t##\tGeeft als resultaat het verschil tussen twee complexe getallen\r\nIMSUM\t\t\t= C.SOM\t\t\t\t##\tGeeft als resultaat de som van complexe getallen\r\nOCT2BIN\t\t\t= OCT.N.BIN\t\t\t##\tConverteert een octaal getal naar een binair getal\r\nOCT2DEC\t\t\t= OCT.N.DEC\t\t\t##\tConverteert een octaal getal naar een decimaal getal\r\nOCT2HEX\t\t\t= OCT.N.HEX\t\t\t##\tConverteert een octaal getal naar een hexadecimaal getal\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFinanciële functies\r\n##\r\nACCRINT\t\t\t= SAMENG.RENTE\t\t\t##\tBerekent de opgelopen rente voor een waardepapier waarvan de rente periodiek wordt uitgekeerd\r\nACCRINTM\t\t= SAMENG.RENTE.V\t\t##\tBerekent de opgelopen rente voor een waardepapier waarvan de rente op de vervaldatum wordt uitgekeerd\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tGeeft als resultaat de afschrijving voor elke boekingsperiode door een afschrijvingscoëfficiënt toe te passen\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tBerekent de afschrijving voor elke boekingsperiode\r\nCOUPDAYBS\t\t= COUP.DAGEN.BB\t\t\t##\tBerekent het aantal dagen vanaf het begin van de coupontermijn tot de stortingsdatum\r\nCOUPDAYS\t\t= COUP.DAGEN\t\t\t##\tGeeft als resultaat het aantal dagen in de coupontermijn waarin de stortingsdatum valt\r\nCOUPDAYSNC\t\t= COUP.DAGEN.VV\t\t\t##\tGeeft als resultaat het aantal dagen vanaf de stortingsdatum tot de volgende couponvervaldatum\r\nCOUPNCD\t\t\t= COUP.DATUM.NB\t\t\t##\tGeeft als resultaat de volgende coupondatum na de stortingsdatum\r\nCOUPNUM\t\t\t= COUP.AANTAL\t\t\t##\tGeeft als resultaat het aantal coupons dat nog moet worden uitbetaald tussen de stortingsdatum en de vervaldatum\r\nCOUPPCD\t\t\t= COUP.DATUM.VB\t\t\t##\tGeeft als resultaat de vorige couponvervaldatum vóór de stortingsdatum\r\nCUMIPMT\t\t\t= CUM.RENTE\t\t\t##\tGeeft als resultaat de cumulatieve rente die tussen twee termijnen is uitgekeerd\r\nCUMPRINC\t\t= CUM.HOOFDSOM\t\t\t##\tGeeft als resultaat de cumulatieve hoofdsom van een lening die tussen twee termijnen is terugbetaald\r\nDB\t\t\t= DB\t\t\t\t##\tGeeft als resultaat de afschrijving van activa voor een bepaalde periode met behulp van de 'fixed declining balance'-methode\r\nDDB\t\t\t= DDB\t\t\t\t##\tGeeft als resultaat de afschrijving van activa over een bepaalde termijn met behulp van de 'double declining balance'-methode of een andere methode die u opgeeft\r\nDISC\t\t\t= DISCONTO\t\t\t##\tGeeft als resultaat het discontopercentage voor een waardepapier\r\nDOLLARDE\t\t= EURO.DE\t\t\t##\tConverteert een prijs in euro's, uitgedrukt in een breuk, naar een prijs in euro's, uitgedrukt in een decimaal getal\r\nDOLLARFR\t\t= EURO.BR\t\t\t##\tConverteert een prijs in euro's, uitgedrukt in een decimaal getal, naar een prijs in euro's, uitgedrukt in een breuk\r\nDURATION\t\t= DUUR\t\t\t\t##\tGeeft als resultaat de gewogen gemiddelde looptijd voor een waardepapier met periodieke rentebetalingen\r\nEFFECT\t\t\t= EFFECT.RENTE\t\t\t##\tGeeft als resultaat het effectieve jaarlijkse rentepercentage\r\nFV\t\t\t= TW\t\t\t\t##\tGeeft als resultaat de toekomstige waarde van een investering\r\nFVSCHEDULE\t\t= TOEK.WAARDE2\t\t\t##\tGeeft als resultaat de toekomstige waarde van een bepaalde hoofdsom na het toepassen van een reeks samengestelde rentepercentages\r\nINTRATE\t\t\t= RENTEPERCENTAGE\t\t##\tGeeft als resultaat het rentepercentage voor een volgestort waardepapier\r\nIPMT\t\t\t= IBET\t\t\t\t##\tGeeft als resultaat de te betalen rente voor een investering over een bepaalde termijn\r\nIRR\t\t\t= IR\t\t\t\t##\tGeeft als resultaat de interne rentabiliteit voor een reeks cashflows\r\nISPMT\t\t\t= ISBET\t\t\t\t##\tGeeft als resultaat de rente die is betaald tijdens een bepaalde termijn van een investering\r\nMDURATION\t\t= AANG.DUUR\t\t\t##\tGeeft als resultaat de aangepaste Macauley-looptijd voor een waardepapier, aangenomen dat de nominale waarde € 100 bedraagt\r\nMIRR\t\t\t= GIR\t\t\t\t##\tGeeft als resultaat de interne rentabiliteit voor een serie cashflows, waarbij voor betalingen een ander rentepercentage geldt dan voor inkomsten\r\nNOMINAL\t\t\t= NOMINALE.RENTE\t\t##\tGeeft als resultaat het nominale jaarlijkse rentepercentage\r\nNPER\t\t\t= NPER\t\t\t\t##\tGeeft als resultaat het aantal termijnen van een investering\r\nNPV\t\t\t= NHW\t\t\t\t##\tGeeft als resultaat de netto huidige waarde van een investering op basis van een reeks periodieke cashflows en een discontopercentage\r\nODDFPRICE\t\t= AFW.ET.PRIJS\t\t\t##\tGeeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier met een afwijkende eerste termijn\r\nODDFYIELD\t\t= AFW.ET.REND\t\t\t##\tGeeft als resultaat het rendement voor een waardepapier met een afwijkende eerste termijn\r\nODDLPRICE\t\t= AFW.LT.PRIJS\t\t\t##\tGeeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier met een afwijkende laatste termijn\r\nODDLYIELD\t\t= AFW.LT.REND\t\t\t##\tGeeft als resultaat het rendement voor een waardepapier met een afwijkende laatste termijn\r\nPMT\t\t\t= BET\t\t\t\t##\tGeeft als resultaat de periodieke betaling voor een annuïteit\r\nPPMT\t\t\t= PBET\t\t\t\t##\tGeeft als resultaat de afbetaling op de hoofdsom voor een bepaalde termijn\r\nPRICE\t\t\t= PRIJS.NOM\t\t\t##\tGeeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier waarvan de rente periodiek wordt uitgekeerd\r\nPRICEDISC\t\t= PRIJS.DISCONTO\t\t##\tGeeft als resultaat de prijs per € 100 nominale waarde voor een verdisconteerd waardepapier\r\nPRICEMAT\t\t= PRIJS.VERVALDAG\t\t##\tGeeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier waarvan de rente wordt uitgekeerd op de vervaldatum\r\nPV\t\t\t= HW\t\t\t\t##\tGeeft als resultaat de huidige waarde van een investering\r\nRATE\t\t\t= RENTE\t\t\t\t##\tGeeft als resultaat het periodieke rentepercentage voor een annuïteit\r\nRECEIVED\t\t= OPBRENGST\t\t\t##\tGeeft als resultaat het bedrag dat op de vervaldatum wordt uitgekeerd voor een volgestort waardepapier\r\nSLN\t\t\t= LIN.AFSCHR\t\t\t##\tGeeft als resultaat de lineaire afschrijving van activa over één termijn\r\nSYD\t\t\t= SYD\t\t\t\t##\tGeeft als resultaat de afschrijving van activa over een bepaalde termijn met behulp van de 'Sum-Of-Years-Digits'-methode\r\nTBILLEQ\t\t\t= SCHATK.OBL\t\t\t##\tGeeft als resultaat het rendement op schatkistpapier, dat op dezelfde manier wordt berekend als het rendement op obligaties\r\nTBILLPRICE\t\t= SCHATK.PRIJS\t\t\t##\tBepaalt de prijs per € 100 nominale waarde voor schatkistpapier\r\nTBILLYIELD\t\t= SCHATK.REND\t\t\t##\tBerekent het rendement voor schatkistpapier\r\nVDB\t\t\t= VDB\t\t\t\t##\tGeeft als resultaat de afschrijving van activa over een gehele of gedeeltelijke termijn met behulp van de 'declining balance'-methode\r\nXIRR\t\t\t= IR.SCHEMA\t\t\t##\tBerekent de interne rentabiliteit voor een betalingsschema van cashflows\r\nXNPV\t\t\t= NHW2\t\t\t\t##\tBerekent de huidige nettowaarde voor een betalingsschema van cashflows\r\nYIELD\t\t\t= RENDEMENT\t\t\t##\tGeeft als resultaat het rendement voor een waardepapier waarvan de rente periodiek wordt uitgekeerd\r\nYIELDDISC\t\t= REND.DISCONTO\t\t\t##\tGeeft als resultaat het jaarlijkse rendement voor een verdisconteerd waardepapier, bijvoorbeeld schatkistpapier\r\nYIELDMAT\t\t= REND.VERVAL\t\t\t##\tGeeft als resultaat het jaarlijkse rendement voor een waardepapier waarvan de rente wordt uitgekeerd op de vervaldatum\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tInformatiefuncties\r\n##\r\nCELL\t\t\t= CEL\t\t\t\t##\tGeeft als resultaat informatie over de opmaak, locatie of inhoud van een cel\r\nERROR.TYPE\t\t= TYPE.FOUT\t\t\t##\tGeeft als resultaat een getal dat overeenkomt met een van de foutwaarden van Microsoft Excel\r\nINFO\t\t\t= INFO\t\t\t\t##\tGeeft als resultaat informatie over de huidige besturingsomgeving\r\nISBLANK\t\t\t= ISLEEG\t\t\t##\tGeeft als resultaat WAAR als de waarde leeg is\r\nISERR\t\t\t= ISFOUT2\t\t\t##\tGeeft als resultaat WAAR als de waarde een foutwaarde is, met uitzondering van #N/B\r\nISERROR\t\t\t= ISFOUT\t\t\t##\tGeeft als resultaat WAAR als de waarde een foutwaarde is\r\nISEVEN\t\t\t= IS.EVEN\t\t\t##\tGeeft als resultaat WAAR als het getal even is\r\nISLOGICAL\t\t= ISLOGISCH\t\t\t##\tGeeft als resultaat WAAR als de waarde een logische waarde is\r\nISNA\t\t\t= ISNB\t\t\t\t##\tGeeft als resultaat WAAR als de waarde de foutwaarde #N/B is\r\nISNONTEXT\t\t= ISGEENTEKST\t\t\t##\tGeeft als resultaat WAAR als de waarde geen tekst is\r\nISNUMBER\t\t= ISGETAL\t\t\t##\tGeeft als resultaat WAAR als de waarde een getal is\r\nISODD\t\t\t= IS.ONEVEN\t\t\t##\tGeeft als resultaat WAAR als het getal oneven is\r\nISREF\t\t\t= ISVERWIJZING\t\t\t##\tGeeft als resultaat WAAR als de waarde een verwijzing is\r\nISTEXT\t\t\t= ISTEKST\t\t\t##\tGeeft als resultaat WAAR als de waarde tekst is\r\nN\t\t\t= N\t\t\t\t##\tGeeft als resultaat een waarde die is geconverteerd naar een getal\r\nNA\t\t\t= NB\t\t\t\t##\tGeeft als resultaat de foutwaarde #N/B\r\nTYPE\t\t\t= TYPE\t\t\t\t##\tGeeft als resultaat een getal dat het gegevenstype van een waarde aangeeft\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tLogische functies\r\n##\r\nAND\t\t\t= EN\t\t\t\t##\tGeeft als resultaat WAAR als alle argumenten WAAR zijn\r\nFALSE\t\t\t= ONWAAR\t\t\t##\tGeeft als resultaat de logische waarde ONWAAR\r\nIF\t\t\t= ALS\t\t\t\t##\tGeeft een logische test aan\r\nIFERROR\t\t\t= ALS.FOUT\t\t\t##\tRetourneert een waarde die u opgeeft als een formule een fout oplevert, anders wordt het resultaat van de formule geretourneerd\r\nNOT\t\t\t= NIET\t\t\t\t##\tKeert de logische waarde van het argument om\r\nOR\t\t\t= OF\t\t\t\t##\tGeeft als resultaat WAAR als minimaal een van de argumenten WAAR is\r\nTRUE\t\t\t= WAAR\t\t\t\t##\tGeeft als resultaat de logische waarde WAAR\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tZoek- en verwijzingsfuncties\r\n##\r\nADDRESS\t\t\t= ADRES\t\t\t\t##\tGeeft als resultaat een verwijzing, in de vorm van tekst, naar één bepaalde cel in een werkblad\r\nAREAS\t\t\t= BEREIKEN\t\t\t##\tGeeft als resultaat het aantal bereiken in een verwijzing\r\nCHOOSE\t\t\t= KIEZEN\t\t\t##\tKiest een waarde uit een lijst met waarden\r\nCOLUMN\t\t\t= KOLOM\t\t\t\t##\tGeeft als resultaat het kolomnummer van een verwijzing\r\nCOLUMNS\t\t\t= KOLOMMEN\t\t\t##\tGeeft als resultaat het aantal kolommen in een verwijzing\r\nHLOOKUP\t\t\t= HORIZ.ZOEKEN\t\t\t##\tZoekt in de bovenste rij van een matrix naar een bepaalde waarde en geeft als resultaat de gevonden waarde in de opgegeven cel\r\nHYPERLINK\t\t= HYPERLINK\t\t\t##\tMaakt een snelkoppeling of een sprong waarmee een document wordt geopend dat is opgeslagen op een netwerkserver, een intranet of op internet\r\nINDEX\t\t\t= INDEX\t\t\t\t##\tKiest met een index een waarde uit een verwijzing of een matrix\r\nINDIRECT\t\t= INDIRECT\t\t\t##\tGeeft als resultaat een verwijzing die wordt aangegeven met een tekstwaarde\r\nLOOKUP\t\t\t= ZOEKEN\t\t\t##\tZoekt naar bepaalde waarden in een vector of een matrix\r\nMATCH\t\t\t= VERGELIJKEN\t\t\t##\tZoekt naar bepaalde waarden in een verwijzing of een matrix\r\nOFFSET\t\t\t= VERSCHUIVING\t\t\t##\tGeeft als resultaat een nieuwe verwijzing die is verschoven ten opzichte van een bepaalde verwijzing\r\nROW\t\t\t= RIJ\t\t\t\t##\tGeeft als resultaat het rijnummer van een verwijzing\r\nROWS\t\t\t= RIJEN\t\t\t\t##\tGeeft als resultaat het aantal rijen in een verwijzing\r\nRTD\t\t\t= RTG\t\t\t\t##\tHaalt realtimegegevens op uit een programma dat COM-automatisering (automatisering: een methode waarmee de ene toepassing objecten van een andere toepassing of ontwikkelprogramma kan besturen. Automatisering werd vroeger OLE-automatisering genoemd. Automatisering is een industrienorm die deel uitmaakt van het Component Object Model (COM).) ondersteunt\r\nTRANSPOSE\t\t= TRANSPONEREN\t\t\t##\tGeeft als resultaat de getransponeerde van een matrix\r\nVLOOKUP\t\t\t= VERT.ZOEKEN\t\t\t##\tZoekt in de meest linkse kolom van een matrix naar een bepaalde waarde en geeft als resultaat de waarde in de opgegeven cel\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tWiskundige en trigonometrische functies\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tGeeft als resultaat de absolute waarde van een getal\r\nACOS\t\t\t= BOOGCOS\t\t\t##\tGeeft als resultaat de boogcosinus van een getal\r\nACOSH\t\t\t= BOOGCOSH\t\t\t##\tGeeft als resultaat de inverse cosinus hyperbolicus van een getal\r\nASIN\t\t\t= BOOGSIN\t\t\t##\tGeeft als resultaat de boogsinus van een getal\r\nASINH\t\t\t= BOOGSINH\t\t\t##\tGeeft als resultaat de inverse sinus hyperbolicus van een getal\r\nATAN\t\t\t= BOOGTAN\t\t\t##\tGeeft als resultaat de boogtangens van een getal\r\nATAN2\t\t\t= BOOGTAN2\t\t\t##\tGeeft als resultaat de boogtangens van de x- en y-coördinaten\r\nATANH\t\t\t= BOOGTANH\t\t\t##\tGeeft als resultaat de inverse tangens hyperbolicus van een getal\r\nCEILING\t\t\t= AFRONDEN.BOVEN\t\t##\tRondt de absolute waarde van een getal naar boven af op het dichtstbijzijnde gehele getal of het dichtstbijzijnde significante veelvoud\r\nCOMBIN\t\t\t= COMBINATIES\t\t\t##\tGeeft als resultaat het aantal combinaties voor een bepaald aantal objecten\r\nCOS\t\t\t= COS\t\t\t\t##\tGeeft als resultaat de cosinus van een getal\r\nCOSH\t\t\t= COSH\t\t\t\t##\tGeeft als resultaat de cosinus hyperbolicus van een getal\r\nDEGREES\t\t\t= GRADEN\t\t\t##\tConverteert radialen naar graden\r\nEVEN\t\t\t= EVEN\t\t\t\t##\tRondt het getal af op het dichtstbijzijnde gehele even getal\r\nEXP\t\t\t= EXP\t\t\t\t##\tVerheft e tot de macht van een bepaald getal\r\nFACT\t\t\t= FACULTEIT\t\t\t##\tGeeft als resultaat de faculteit van een getal\r\nFACTDOUBLE\t\t= DUBBELE.FACULTEIT\t\t##\tGeeft als resultaat de dubbele faculteit van een getal\r\nFLOOR\t\t\t= AFRONDEN.BENEDEN\t\t##\tRondt de absolute waarde van een getal naar beneden af\r\nGCD\t\t\t= GGD\t\t\t\t##\tGeeft als resultaat de grootste gemene deler\r\nINT\t\t\t= INTEGER\t\t\t##\tRondt een getal naar beneden af op het dichtstbijzijnde gehele getal\r\nLCM\t\t\t= KGV\t\t\t\t##\tGeeft als resultaat het kleinste gemene veelvoud\r\nLN\t\t\t= LN\t\t\t\t##\tGeeft als resultaat de natuurlijke logaritme van een getal\r\nLOG\t\t\t= LOG\t\t\t\t##\tGeeft als resultaat de logaritme met het opgegeven grondtal van een getal\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tGeeft als resultaat de logaritme met grondtal 10 van een getal\r\nMDETERM\t\t\t= DETERMINANTMAT\t\t##\tGeeft als resultaat de determinant van een matrix\r\nMINVERSE\t\t= INVERSEMAT\t\t\t##\tGeeft als resultaat de inverse van een matrix\r\nMMULT\t\t\t= PRODUCTMAT\t\t\t##\tGeeft als resultaat het product van twee matrices\r\nMOD\t\t\t= REST\t\t\t\t##\tGeeft als resultaat het restgetal van een deling\r\nMROUND\t\t\t= AFRONDEN.N.VEELVOUD\t\t##\tGeeft als resultaat een getal afgerond op het gewenste veelvoud\r\nMULTINOMIAL\t\t= MULTINOMIAAL\t\t\t##\tGeeft als resultaat de multinomiaalcoëfficiënt van een reeks getallen\r\nODD\t\t\t= ONEVEN\t\t\t##\tRondt de absolute waarde van het getal naar boven af op het dichtstbijzijnde gehele oneven getal\r\nPI\t\t\t= PI\t\t\t\t##\tGeeft als resultaat de waarde van pi\r\nPOWER\t\t\t= MACHT\t\t\t\t##\tVerheft een getal tot een macht\r\nPRODUCT\t\t\t= PRODUCT\t\t\t##\tVermenigvuldigt de argumenten met elkaar\r\nQUOTIENT\t\t= QUOTIENT\t\t\t##\tGeeft als resultaat de uitkomst van een deling als geheel getal\r\nRADIANS\t\t\t= RADIALEN\t\t\t##\tConverteert graden naar radialen\r\nRAND\t\t\t= ASELECT\t\t\t##\tGeeft als resultaat een willekeurig getal tussen 0 en 1\r\nRANDBETWEEN\t\t= ASELECTTUSSEN\t\t\t##\tGeeft een willekeurig getal tussen de getallen die u hebt opgegeven\r\nROMAN\t\t\t= ROMEINS\t\t\t##\tConverteert een Arabisch getal naar een Romeins getal en geeft het resultaat weer in de vorm van tekst\r\nROUND\t\t\t= AFRONDEN\t\t\t##\tRondt een getal af op het opgegeven aantal decimalen\r\nROUNDDOWN\t\t= AFRONDEN.NAAR.BENEDEN\t\t##\tRondt de absolute waarde van een getal naar beneden af\r\nROUNDUP\t\t\t= AFRONDEN.NAAR.BOVEN\t\t##\tRondt de absolute waarde van een getal naar boven af\r\nSERIESSUM\t\t= SOM.MACHTREEKS\t\t##\tGeeft als resultaat de som van een machtreeks die is gebaseerd op de formule\r\nSIGN\t\t\t= POS.NEG\t\t\t##\tGeeft als resultaat het teken van een getal\r\nSIN\t\t\t= SIN\t\t\t\t##\tGeeft als resultaat de sinus van de opgegeven hoek\r\nSINH\t\t\t= SINH\t\t\t\t##\tGeeft als resultaat de sinus hyperbolicus van een getal\r\nSQRT\t\t\t= WORTEL\t\t\t##\tGeeft als resultaat de positieve vierkantswortel van een getal\r\nSQRTPI\t\t\t= WORTEL.PI\t\t\t##\tGeeft als resultaat de vierkantswortel van (getal * pi)\r\nSUBTOTAL\t\t= SUBTOTAAL\t\t\t##\tGeeft als resultaat een subtotaal voor een bereik\r\nSUM\t\t\t= SOM\t\t\t\t##\tTelt de argumenten op\r\nSUMIF\t\t\t= SOM.ALS\t\t\t##\tTelt de getallen bij elkaar op die voldoen aan een bepaald criterium\r\nSUMIFS\t\t\t= SOMMEN.ALS\t\t\t##\tTelt de cellen in een bereik op die aan meerdere criteria voldoen\r\nSUMPRODUCT\t\t= SOMPRODUCT\t\t\t##\tGeeft als resultaat de som van de producten van de corresponderende matrixelementen\r\nSUMSQ\t\t\t= KWADRATENSOM\t\t\t##\tGeeft als resultaat de som van de kwadraten van de argumenten\r\nSUMX2MY2\t\t= SOM.X2MINY2\t\t\t##\tGeeft als resultaat de som van het verschil tussen de kwadraten van corresponderende waarden in twee matrices\r\nSUMX2PY2\t\t= SOM.X2PLUSY2\t\t\t##\tGeeft als resultaat de som van de kwadratensom van corresponderende waarden in twee matrices\r\nSUMXMY2\t\t\t= SOM.XMINY.2\t\t\t##\tGeeft als resultaat de som van de kwadraten van de verschillen tussen de corresponderende waarden in twee matrices\r\nTAN\t\t\t= TAN\t\t\t\t##\tGeeft als resultaat de tangens van een getal\r\nTANH\t\t\t= TANH\t\t\t\t##\tGeeft als resultaat de tangens hyperbolicus van een getal\r\nTRUNC\t\t\t= GEHEEL\t\t\t##\tKapt een getal af tot een geheel getal\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tStatistische functies\r\n##\r\nAVEDEV\t\t\t= GEM.DEVIATIE\t\t\t##\tGeeft als resultaat het gemiddelde van de absolute deviaties van gegevenspunten ten opzichte van hun gemiddelde waarde\r\nAVERAGE\t\t\t= GEMIDDELDE\t\t\t##\tGeeft als resultaat het gemiddelde van de argumenten\r\nAVERAGEA\t\t= GEMIDDELDEA\t\t\t##\tGeeft als resultaat het gemiddelde van de argumenten, inclusief getallen, tekst en logische waarden\r\nAVERAGEIF\t\t= GEMIDDELDE.ALS\t\t##\tGeeft het gemiddelde (rekenkundig gemiddelde) als resultaat van alle cellen in een bereik die voldoen aan de opgegeven criteria\r\nAVERAGEIFS\t\t= GEMIDDELDEN.ALS\t\t##\tGeeft het gemiddelde (rekenkundig gemiddelde) als resultaat van alle cellen die aan meerdere criteria voldoen\r\nBETADIST\t\t= BETA.VERD\t\t\t##\tGeeft als resultaat de cumulatieve bèta-verdelingsfunctie\r\nBETAINV\t\t\t= BETA.INV\t\t\t##\tGeeft als resultaat de inverse van de cumulatieve verdelingsfunctie voor een gegeven bèta-verdeling\r\nBINOMDIST\t\t= BINOMIALE.VERD\t\t##\tGeeft als resultaat de binomiale verdeling\r\nCHIDIST\t\t\t= CHI.KWADRAAT\t\t\t##\tGeeft als resultaat de eenzijdige kans van de chi-kwadraatverdeling\r\nCHIINV\t\t\t= CHI.KWADRAAT.INV\t\t##\tGeeft als resultaat de inverse van een eenzijdige kans van de chi-kwadraatverdeling\r\nCHITEST\t\t\t= CHI.TOETS\t\t\t##\tGeeft als resultaat de onafhankelijkheidstoets\r\nCONFIDENCE\t\t= BETROUWBAARHEID\t\t##\tGeeft als resultaat het betrouwbaarheidsinterval van een gemiddelde waarde voor de elementen van een populatie\r\nCORREL\t\t\t= CORRELATIE\t\t\t##\tGeeft als resultaat de correlatiecoëfficiënt van twee gegevensverzamelingen\r\nCOUNT\t\t\t= AANTAL\t\t\t##\tTelt het aantal getallen in de argumentenlijst\r\nCOUNTA\t\t\t= AANTALARG\t\t\t##\tTelt het aantal waarden in de argumentenlijst\r\nCOUNTBLANK\t\t= AANTAL.LEGE.CELLEN\t\t##\tTelt het aantal lege cellen in een bereik\r\nCOUNTIF\t\t\t= AANTAL.ALS\t\t\t##\tTelt in een bereik het aantal cellen die voldoen aan een bepaald criterium\r\nCOUNTIFS\t\t= AANTALLEN.ALS\t\t\t##\tTelt in een bereik het aantal cellen die voldoen aan meerdere criteria\r\nCOVAR\t\t\t= COVARIANTIE\t\t\t##\tGeeft als resultaat de covariantie, het gemiddelde van de producten van de gepaarde deviaties\r\nCRITBINOM\t\t= CRIT.BINOM\t\t\t##\tGeeft als resultaat de kleinste waarde waarvoor de binomiale verdeling kleiner is dan of gelijk is aan het criterium\r\nDEVSQ\t\t\t= DEV.KWAD\t\t\t##\tGeeft als resultaat de som van de deviaties in het kwadraat\r\nEXPONDIST\t\t= EXPON.VERD\t\t\t##\tGeeft als resultaat de exponentiële verdeling\r\nFDIST\t\t\t= F.VERDELING\t\t\t##\tGeeft als resultaat de F-verdeling\r\nFINV\t\t\t= F.INVERSE\t\t\t##\tGeeft als resultaat de inverse van de F-verdeling\r\nFISHER\t\t\t= FISHER\t\t\t##\tGeeft als resultaat de Fisher-transformatie\r\nFISHERINV\t\t= FISHER.INV\t\t\t##\tGeeft als resultaat de inverse van de Fisher-transformatie\r\nFORECAST\t\t= VOORSPELLEN\t\t\t##\tGeeft als resultaat een waarde op basis van een lineaire trend\r\nFREQUENCY\t\t= FREQUENTIE\t\t\t##\tGeeft als resultaat een frequentieverdeling in de vorm van een verticale matrix\r\nFTEST\t\t\t= F.TOETS\t\t\t##\tGeeft als resultaat een F-toets\r\nGAMMADIST\t\t= GAMMA.VERD\t\t\t##\tGeeft als resultaat de gamma-verdeling\r\nGAMMAINV\t\t= GAMMA.INV\t\t\t##\tGeeft als resultaat de inverse van de cumulatieve gamma-verdeling\r\nGAMMALN\t\t\t= GAMMA.LN\t\t\t##\tGeeft als resultaat de natuurlijke logaritme van de gamma-functie, G(x)\r\nGEOMEAN\t\t\t= MEETK.GEM\t\t\t##\tGeeft als resultaat het meetkundige gemiddelde\r\nGROWTH\t\t\t= GROEI\t\t\t\t##\tGeeft als resultaat de waarden voor een exponentiële trend\r\nHARMEAN\t\t\t= HARM.GEM\t\t\t##\tGeeft als resultaat het harmonische gemiddelde\r\nHYPGEOMDIST\t\t= HYPERGEO.VERD\t\t\t##\tGeeft als resultaat de hypergeometrische verdeling\r\nINTERCEPT\t\t= SNIJPUNT\t\t\t##\tGeeft als resultaat het snijpunt van de lineaire regressielijn met de y-as\r\nKURT\t\t\t= KURTOSIS\t\t\t##\tGeeft als resultaat de kurtosis van een gegevensverzameling\r\nLARGE\t\t\t= GROOTSTE\t\t\t##\tGeeft als resultaat de op k-1 na grootste waarde in een gegevensverzameling\r\nLINEST\t\t\t= LIJNSCH\t\t\t##\tGeeft als resultaat de parameters van een lineaire trend\r\nLOGEST\t\t\t= LOGSCH\t\t\t##\tGeeft als resultaat de parameters van een exponentiële trend\r\nLOGINV\t\t\t= LOG.NORM.INV\t\t\t##\tGeeft als resultaat de inverse van de logaritmische normale verdeling\r\nLOGNORMDIST\t\t= LOG.NORM.VERD\t\t\t##\tGeeft als resultaat de cumulatieve logaritmische normale verdeling\r\nMAX\t\t\t= MAX\t\t\t\t##\tGeeft als resultaat de maximumwaarde in een lijst met argumenten\r\nMAXA\t\t\t= MAXA\t\t\t\t##\tGeeft als resultaat de maximumwaarde in een lijst met argumenten, inclusief getallen, tekst en logische waarden\r\nMEDIAN\t\t\t= MEDIAAN\t\t\t##\tGeeft als resultaat de mediaan van de opgegeven getallen\r\nMIN\t\t\t= MIN\t\t\t\t##\tGeeft als resultaat de minimumwaarde in een lijst met argumenten\r\nMINA\t\t\t= MINA\t\t\t\t##\tGeeft als resultaat de minimumwaarde in een lijst met argumenten, inclusief getallen, tekst en logische waarden\r\nMODE\t\t\t= MODUS\t\t\t\t##\tGeeft als resultaat de meest voorkomende waarde in een gegevensverzameling\r\nNEGBINOMDIST\t\t= NEG.BINOM.VERD\t\t##\tGeeft als resultaat de negatieve binomiaalverdeling\r\nNORMDIST\t\t= NORM.VERD\t\t\t##\tGeeft als resultaat de cumulatieve normale verdeling\r\nNORMINV\t\t\t= NORM.INV\t\t\t##\tGeeft als resultaat de inverse van de cumulatieve standaardnormale verdeling\r\nNORMSDIST\t\t= STAND.NORM.VERD\t\t##\tGeeft als resultaat de cumulatieve standaardnormale verdeling\r\nNORMSINV\t\t= STAND.NORM.INV\t\t##\tGeeft als resultaat de inverse van de cumulatieve normale verdeling\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tGeeft als resultaat de correlatiecoëfficiënt van Pearson\r\nPERCENTILE\t\t= PERCENTIEL\t\t\t##\tGeeft als resultaat het k-de percentiel van waarden in een bereik\r\nPERCENTRANK\t\t= PERCENT.RANG\t\t\t##\tGeeft als resultaat de positie, in procenten uitgedrukt, van een waarde in de rangorde van een gegevensverzameling\r\nPERMUT\t\t\t= PERMUTATIES\t\t\t##\tGeeft als resultaat het aantal permutaties voor een gegeven aantal objecten\r\nPOISSON\t\t\t= POISSON\t\t\t##\tGeeft als resultaat de Poisson-verdeling\r\nPROB\t\t\t= KANS\t\t\t\t##\tGeeft als resultaat de kans dat waarden zich tussen twee grenzen bevinden\r\nQUARTILE\t\t= KWARTIEL\t\t\t##\tGeeft als resultaat het kwartiel van een gegevensverzameling\r\nRANK\t\t\t= RANG\t\t\t\t##\tGeeft als resultaat het rangnummer van een getal in een lijst getallen\r\nRSQ\t\t\t= R.KWADRAAT\t\t\t##\tGeeft als resultaat het kwadraat van de Pearson-correlatiecoëfficiënt\r\nSKEW\t\t\t= SCHEEFHEID\t\t\t##\tGeeft als resultaat de mate van asymmetrie van een verdeling\r\nSLOPE\t\t\t= RICHTING\t\t\t##\tGeeft als resultaat de richtingscoëfficiënt van een lineaire regressielijn\r\nSMALL\t\t\t= KLEINSTE\t\t\t##\tGeeft als resultaat de op k-1 na kleinste waarde in een gegevensverzameling\r\nSTANDARDIZE\t\t= NORMALISEREN\t\t\t##\tGeeft als resultaat een genormaliseerde waarde\r\nSTDEV\t\t\t= STDEV\t\t\t\t##\tMaakt een schatting van de standaarddeviatie op basis van een steekproef\r\nSTDEVA\t\t\t= STDEVA\t\t\t##\tMaakt een schatting van de standaarddeviatie op basis van een steekproef, inclusief getallen, tekst en logische waarden\r\nSTDEVP\t\t\t= STDEVP\t\t\t##\tBerekent de standaarddeviatie op basis van de volledige populatie\r\nSTDEVPA\t\t\t= STDEVPA\t\t\t##\tBerekent de standaarddeviatie op basis van de volledige populatie, inclusief getallen, tekst en logische waarden\r\nSTEYX\t\t\t= STAND.FOUT.YX\t\t\t##\tGeeft als resultaat de standaardfout in de voorspelde y-waarde voor elke x in een regressie\r\nTDIST\t\t\t= T.VERD\t\t\t##\tGeeft als resultaat de Student T-verdeling\r\nTINV\t\t\t= T.INV\t\t\t\t##\tGeeft als resultaat de inverse van de Student T-verdeling\r\nTREND\t\t\t= TREND\t\t\t\t##\tGeeft als resultaat de waarden voor een lineaire trend\r\nTRIMMEAN\t\t= GETRIMD.GEM\t\t\t##\tGeeft als resultaat het gemiddelde van waarden in een gegevensverzameling\r\nTTEST\t\t\t= T.TOETS\t\t\t##\tGeeft als resultaat de kans met behulp van de Student T-toets\r\nVAR\t\t\t= VAR\t\t\t\t##\tMaakt een schatting van de variantie op basis van een steekproef\r\nVARA\t\t\t= VARA\t\t\t\t##\tMaakt een schatting van de variantie op basis van een steekproef, inclusief getallen, tekst en logische waarden\r\nVARP\t\t\t= VARP\t\t\t\t##\tBerekent de variantie op basis van de volledige populatie\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tBerekent de standaarddeviatie op basis van de volledige populatie, inclusief getallen, tekst en logische waarden\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tGeeft als resultaat de Weibull-verdeling\r\nZTEST\t\t\t= Z.TOETS\t\t\t##\tGeeft als resultaat de eenzijdige kanswaarde van een Z-toets\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tTekstfuncties\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tWijzigt Nederlandse letters of katakanatekens over de volle breedte (dubbel-bytetekens) binnen een tekenreeks in tekens over de halve breedte (enkel-bytetekens)\r\nBAHTTEXT\t\t= BAHT.TEKST\t\t\t##\tConverteert een getal naar tekst met de valutanotatie ß (baht)\r\nCHAR\t\t\t= TEKEN\t\t\t\t##\tGeeft als resultaat het teken dat hoort bij de opgegeven code\r\nCLEAN\t\t\t= WISSEN.CONTROL\t\t##\tVerwijdert alle niet-afdrukbare tekens uit een tekst\r\nCODE\t\t\t= CODE\t\t\t\t##\tGeeft als resultaat de numerieke code voor het eerste teken in een tekenreeks\r\nCONCATENATE\t\t= TEKST.SAMENVOEGEN\t\t##\tVoegt verschillende tekstfragmenten samen tot één tekstfragment\r\nDOLLAR\t\t\t= EURO\t\t\t\t##\tConverteert een getal naar tekst met de valutanotatie € (euro)\r\nEXACT\t\t\t= GELIJK\t\t\t##\tControleert of twee tekenreeksen identiek zijn\r\nFIND\t\t\t= VIND.ALLES\t\t\t##\tZoekt een bepaalde tekenreeks in een tekst (waarbij onderscheid wordt gemaakt tussen hoofdletters en kleine letters)\r\nFINDB\t\t\t= VIND.ALLES.B\t\t\t##\tZoekt een bepaalde tekenreeks in een tekst (waarbij onderscheid wordt gemaakt tussen hoofdletters en kleine letters)\r\nFIXED\t\t\t= VAST\t\t\t\t##\tMaakt een getal als tekst met een vast aantal decimalen op\r\nJIS\t\t\t= JIS\t\t\t\t##\tWijzigt Nederlandse letters of katakanatekens over de halve breedte (enkel-bytetekens) binnen een tekenreeks in tekens over de volle breedte (dubbel-bytetekens)\r\nLEFT\t\t\t= LINKS\t\t\t\t##\tGeeft als resultaat de meest linkse tekens in een tekenreeks\r\nLEFTB\t\t\t= LINKSB\t\t\t##\tGeeft als resultaat de meest linkse tekens in een tekenreeks\r\nLEN\t\t\t= LENGTE\t\t\t##\tGeeft als resultaat het aantal tekens in een tekenreeks\r\nLENB\t\t\t= LENGTEB\t\t\t##\tGeeft als resultaat het aantal tekens in een tekenreeks\r\nLOWER\t\t\t= KLEINE.LETTERS\t\t##\tZet tekst om in kleine letters\r\nMID\t\t\t= MIDDEN\t\t\t##\tGeeft als resultaat een bepaald aantal tekens van een tekenreeks vanaf de positie die u opgeeft\r\nMIDB\t\t\t= DEELB\t\t\t\t##\tGeeft als resultaat een bepaald aantal tekens van een tekenreeks vanaf de positie die u opgeeft\r\nPHONETIC\t\t= FONETISCH\t\t\t##\tHaalt de fonetische tekens (furigana) uit een tekenreeks op\r\nPROPER\t\t\t= BEGINLETTERS\t\t\t##\tZet de eerste letter van elk woord in een tekst om in een hoofdletter\r\nREPLACE\t\t\t= VERVANG\t\t\t##\tVervangt tekens binnen een tekst\r\nREPLACEB\t\t= VERVANGENB\t\t\t##\tVervangt tekens binnen een tekst\r\nREPT\t\t\t= HERHALING\t\t\t##\tHerhaalt een tekst een aantal malen\r\nRIGHT\t\t\t= RECHTS\t\t\t##\tGeeft als resultaat de meest rechtse tekens in een tekenreeks\r\nRIGHTB\t\t\t= RECHTSB\t\t\t##\tGeeft als resultaat de meest rechtse tekens in een tekenreeks\r\nSEARCH\t\t\t= VIND.SPEC\t\t\t##\tZoekt een bepaalde tekenreeks in een tekst (waarbij geen onderscheid wordt gemaakt tussen hoofdletters en kleine letters)\r\nSEARCHB\t\t\t= VIND.SPEC.B\t\t\t##\tZoekt een bepaalde tekenreeks in een tekst (waarbij geen onderscheid wordt gemaakt tussen hoofdletters en kleine letters)\r\nSUBSTITUTE\t\t= SUBSTITUEREN\t\t\t##\tVervangt oude tekst door nieuwe tekst in een tekenreeks\r\nT\t\t\t= T\t\t\t\t##\tConverteert de argumenten naar tekst\r\nTEXT\t\t\t= TEKST\t\t\t\t##\tMaakt een getal op en converteert het getal naar tekst\r\nTRIM\t\t\t= SPATIES.WISSEN\t\t##\tVerwijdert de spaties uit een tekst\r\nUPPER\t\t\t= HOOFDLETTERS\t\t\t##\tZet tekst om in hoofdletters\r\nVALUE\t\t\t= WAARDE\t\t\t##\tConverteert tekst naar een getal\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/no/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= kr\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NULL!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #VERDI!\r\nREF\t= #REF!\r\nNAME\t= #NAVN?\r\nNUM\t= #NUM!\r\nNA\t= #I/T\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/no/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\t\tFunksjonene Tillegg og Automatisering\r\n##\r\nGETPIVOTDATA\t\t= HENTPIVOTDATA\t\t\t\t##\tReturnerer data som er lagret i en pivottabellrapport\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\t\tKubefunksjoner\r\n##\r\nCUBEKPIMEMBER\t\t= KUBEKPIMEDLEM\t\t\t\t##\tReturnerer navnet, egenskapen og målet for en viktig ytelsesindikator (KPI), og viser navnet og egenskapen i cellen. En KPI er en målbar enhet, for eksempel månedlig bruttoinntjening eller kvartalsvis inntjening per ansatt, og brukes til å overvåke ytelsen i en organisasjon.\r\nCUBEMEMBER\t\t= KUBEMEDLEM\t\t\t\t##\tReturnerer et medlem eller en tuppel i et kubehierarki. Brukes til å validere at medlemmet eller tuppelen finnes i kuben.\r\nCUBEMEMBERPROPERTY\t= KUBEMEDLEMEGENSKAP\t\t\t##\tReturnerer verdien til en medlemsegenskap i kuben. Brukes til å validere at et medlemsnavn finnes i kuben, og til å returnere den angitte egenskapen for dette medlemmet.\r\nCUBERANKEDMEMBER\t= KUBERANGERTMEDLEM\t\t\t##\tReturnerer det n-te, eller rangerte, medlemmet i et sett. Brukes til å returnere ett eller flere elementer i et sett, for eksempel de 10 beste studentene.\r\nCUBESET\t\t\t= KUBESETT\t\t\t\t##\tDefinerer et beregnet sett av medlemmer eller tuppeler ved å sende et settuttrykk til kuben på serveren, noe som oppretter settet og deretter returnerer dette settet til Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= KUBESETTANTALL\t\t\t##\tReturnerer antallet elementer i et sett.\r\nCUBEVALUE\t\t= KUBEVERDI\t\t\t\t##\tReturnerer en aggregert verdi fra en kube.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\t\tDatabasefunksjoner\r\n##\r\nDAVERAGE\t\t= DGJENNOMSNITT\t\t\t\t##\tReturnerer gjennomsnittet av merkede databaseposter\r\nDCOUNT\t\t\t= DANTALL\t\t\t\t##\tTeller celler som inneholder tall i en database\r\nDCOUNTA\t\t\t= DANTALLA\t\t\t\t##\tTeller celler som ikke er tomme i en database\r\nDGET\t\t\t= DHENT\t\t\t\t\t##\tTrekker ut fra en database en post som oppfyller angitte vilkår\r\nDMAX\t\t\t= DMAKS\t\t\t\t\t##\tReturnerer maksimumsverdien fra merkede databaseposter\r\nDMIN\t\t\t= DMIN\t\t\t\t\t##\tReturnerer minimumsverdien fra merkede databaseposter\r\nDPRODUCT\t\t= DPRODUKT\t\t\t\t##\tMultipliserer verdiene i et bestemt felt med poster som oppfyller vilkårene i en database\r\nDSTDEV\t\t\t= DSTDAV\t\t\t\t##\tEstimerer standardavviket basert på et utvalg av merkede databaseposter\r\nDSTDEVP\t\t\t= DSTAVP\t\t\t\t##\tBeregner standardavviket basert på at merkede databaseposter utgjør hele populasjonen\r\nDSUM\t\t\t= DSUMMER\t\t\t\t##\tLegger til tallene i feltkolonnen med poster, i databasen som oppfyller vilkårene\r\nDVAR\t\t\t= DVARIANS\t\t\t\t##\tEstimerer variansen basert på et utvalg av merkede databaseposter\r\nDVARP\t\t\t= DVARIANSP\t\t\t\t##\tBeregner variansen basert på at merkede databaseposter utgjør hele populasjonen\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\t\tDato- og tidsfunksjoner\r\n##\r\nDATE\t\t\t= DATO\t\t\t\t\t##\tReturnerer serienummeret som svarer til en bestemt dato\r\nDATEVALUE\t\t= DATOVERDI\t\t\t\t##\tKonverterer en dato med tekstformat til et serienummer\r\nDAY\t\t\t= DAG\t\t\t\t\t##\tKonverterer et serienummer til en dag i måneden\r\nDAYS360\t\t\t= DAGER360\t\t\t\t##\tBeregner antall dager mellom to datoer basert på et år med 360 dager\r\nEDATE\t\t\t= DAG.ETTER\t\t\t\t##\tReturnerer serienummeret som svarer til datoen som er det indikerte antall måneder før eller etter startdatoen\r\nEOMONTH\t\t\t= MÅNEDSSLUTT\t\t\t\t##\tReturnerer serienummeret som svarer til siste dag i måneden, før eller etter et angitt antall måneder\r\nHOUR\t\t\t= TIME\t\t\t\t\t##\tKonverterer et serienummer til en time\r\nMINUTE\t\t\t= MINUTT\t\t\t\t##\tKonverterer et serienummer til et minutt\r\nMONTH\t\t\t= MÅNED\t\t\t\t\t##\tKonverterer et serienummer til en måned\r\nNETWORKDAYS\t\t= NETT.ARBEIDSDAGER\t\t\t##\tReturnerer antall hele arbeidsdager mellom to datoer\r\nNOW\t\t\t= NÅ\t\t\t\t\t##\tReturnerer serienummeret som svarer til gjeldende dato og klokkeslett\r\nSECOND\t\t\t= SEKUND\t\t\t\t##\tKonverterer et serienummer til et sekund\r\nTIME\t\t\t= TID\t\t\t\t\t##\tReturnerer serienummeret som svarer til et bestemt klokkeslett\r\nTIMEVALUE\t\t= TIDSVERDI\t\t\t\t##\tKonverterer et klokkeslett i tekstformat til et serienummer\r\nTODAY\t\t\t= IDAG\t\t\t\t\t##\tReturnerer serienummeret som svarer til dagens dato\r\nWEEKDAY\t\t\t= UKEDAG\t\t\t\t##\tKonverterer et serienummer til en ukedag\r\nWEEKNUM\t\t\t= UKENR\t\t\t\t\t##\tKonverterer et serienummer til et tall som representerer hvilket nummer uken har i et år\r\nWORKDAY\t\t\t= ARBEIDSDAG\t\t\t\t##\tReturnerer serienummeret som svarer til datoen før eller etter et angitt antall arbeidsdager\r\nYEAR\t\t\t= ÅR\t\t\t\t\t##\tKonverterer et serienummer til et år\r\nYEARFRAC\t\t= ÅRDEL\t\t\t\t\t##\tReturnerer brøkdelen for året, som svarer til antall hele dager mellom startdato og sluttdato\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\t\tTekniske funksjoner\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t\t##\tReturnerer den endrede Bessel-funksjonen In(x)\r\nBESSELJ\t\t\t= BESSELJ\t\t\t\t##\tReturnerer Bessel-funksjonen Jn(x)\r\nBESSELK\t\t\t= BESSELK\t\t\t\t##\tReturnerer den endrede Bessel-funksjonen Kn(x)\r\nBESSELY\t\t\t= BESSELY\t\t\t\t##\tReturnerer Bessel-funksjonen Yn(x)\r\nBIN2DEC\t\t\t= BINTILDES\t\t\t\t##\tKonverterer et binært tall til et desimaltall\r\nBIN2HEX\t\t\t= BINTILHEKS\t\t\t\t##\tKonverterer et binært tall til et heksadesimaltall\r\nBIN2OCT\t\t\t= BINTILOKT\t\t\t\t##\tKonverterer et binært tall til et oktaltall\r\nCOMPLEX\t\t\t= KOMPLEKS\t\t\t\t##\tKonverterer reelle og imaginære koeffisienter til et komplekst tall\r\nCONVERT\t\t\t= KONVERTER\t\t\t\t##\tKonverterer et tall fra ett målsystem til et annet\r\nDEC2BIN\t\t\t= DESTILBIN\t\t\t\t##\tKonverterer et desimaltall til et binærtall\r\nDEC2HEX\t\t\t= DESTILHEKS\t\t\t\t##\tKonverterer et heltall i 10-tallsystemet til et heksadesimalt tall\r\nDEC2OCT\t\t\t= DESTILOKT\t\t\t\t##\tKonverterer et heltall i 10-tallsystemet til et oktaltall\r\nDELTA\t\t\t= DELTA\t\t\t\t\t##\tUndersøker om to verdier er like\r\nERF\t\t\t= FEILF\t\t\t\t\t##\tReturnerer feilfunksjonen\r\nERFC\t\t\t= FEILFK\t\t\t\t##\tReturnerer den komplementære feilfunksjonen\r\nGESTEP\t\t\t= GRENSEVERDI\t\t\t\t##\tTester om et tall er større enn en terskelverdi\r\nHEX2BIN\t\t\t= HEKSTILBIN\t\t\t\t##\tKonverterer et heksadesimaltall til et binært tall\r\nHEX2DEC\t\t\t= HEKSTILDES\t\t\t\t##\tKonverterer et heksadesimalt tall til et heltall i 10-tallsystemet\r\nHEX2OCT\t\t\t= HEKSTILOKT\t\t\t\t##\tKonverterer et heksadesimalt tall til et oktaltall\r\nIMABS\t\t\t= IMABS\t\t\t\t\t##\tReturnerer absoluttverdien (koeffisienten) til et komplekst tall\r\nIMAGINARY\t\t= IMAGINÆR\t\t\t\t##\tReturnerer den imaginære koeffisienten til et komplekst tall\r\nIMARGUMENT\t\t= IMARGUMENT\t\t\t\t##\tReturnerer argumentet theta, som er en vinkel uttrykt i radianer\r\nIMCONJUGATE\t\t= IMKONJUGERT\t\t\t\t##\tReturnerer den komplekse konjugaten til et komplekst tall\r\nIMCOS\t\t\t= IMCOS\t\t\t\t\t##\tReturnerer cosinus til et komplekst tall\r\nIMDIV\t\t\t= IMDIV\t\t\t\t\t##\tReturnerer kvotienten til to komplekse tall\r\nIMEXP\t\t\t= IMEKSP\t\t\t\t##\tReturnerer eksponenten til et komplekst tall\r\nIMLN\t\t\t= IMLN\t\t\t\t\t##\tReturnerer den naturlige logaritmen for et komplekst tall\r\nIMLOG10\t\t\t= IMLOG10\t\t\t\t##\tReturnerer logaritmen med grunntall 10 for et komplekst tall\r\nIMLOG2\t\t\t= IMLOG2\t\t\t\t##\tReturnerer logaritmen med grunntall 2 for et komplekst tall\r\nIMPOWER\t\t\t= IMOPPHØY\t\t\t\t##\tReturnerer et komplekst tall opphøyd til en heltallspotens\r\nIMPRODUCT\t\t= IMPRODUKT\t\t\t\t##\tReturnerer produktet av komplekse tall\r\nIMREAL\t\t\t= IMREELL\t\t\t\t##\tReturnerer den reelle koeffisienten til et komplekst tall\r\nIMSIN\t\t\t= IMSIN\t\t\t\t\t##\tReturnerer sinus til et komplekst tall\r\nIMSQRT\t\t\t= IMROT\t\t\t\t\t##\tReturnerer kvadratroten av et komplekst tall\r\nIMSUB\t\t\t= IMSUB\t\t\t\t\t##\tReturnerer differansen mellom to komplekse tall\r\nIMSUM\t\t\t= IMSUMMER\t\t\t\t##\tReturnerer summen av komplekse tall\r\nOCT2BIN\t\t\t= OKTTILBIN\t\t\t\t##\tKonverterer et oktaltall til et binært tall\r\nOCT2DEC\t\t\t= OKTTILDES\t\t\t\t##\tKonverterer et oktaltall til et desimaltall\r\nOCT2HEX\t\t\t= OKTTILHEKS\t\t\t\t##\tKonverterer et oktaltall til et heksadesimaltall\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\t\tØkonomiske funksjoner\r\n##\r\nACCRINT\t\t\t= PÅLØPT.PERIODISK.RENTE\t\t##\tReturnerer påløpte renter for et verdipapir som betaler periodisk rente\r\nACCRINTM\t\t= PÅLØPT.FORFALLSRENTE\t\t\t##\tReturnerer den påløpte renten for et verdipapir som betaler rente ved forfall\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t\t##\tReturnerer avskrivningen for hver regnskapsperiode ved hjelp av en avskrivingskoeffisient\r\nAMORLINC\t\t= AMORLINC\t\t\t\t##\tReturnerer avskrivingen for hver regnskapsperiode\r\nCOUPDAYBS\t\t= OBLIG.DAGER.FF\t\t\t##\tReturnerer antall dager fra begynnelsen av den rentebærende perioden til innløsningsdatoen\r\nCOUPDAYS\t\t= OBLIG.DAGER\t\t\t\t##\tReturnerer antall dager i den rentebærende perioden som inneholder innløsningsdatoen\r\nCOUPDAYSNC\t\t= OBLIG.DAGER.NF\t\t\t##\tReturnerer antall dager fra betalingsdato til neste renteinnbetalingsdato\r\nCOUPNCD\t\t\t= OBLIG.DAGER.EF\t\t\t##\tReturnerer obligasjonsdatoen som kommer etter oppgjørsdatoen\r\nCOUPNUM\t\t\t= OBLIG.ANTALL\t\t\t\t##\tReturnerer antall obligasjoner som skal betales mellom oppgjørsdatoen og forfallsdatoen\r\nCOUPPCD\t\t\t= OBLIG.DAG.FORRIGE\t\t\t##\tReturnerer obligasjonsdatoen som kommer før oppgjørsdatoen\r\nCUMIPMT\t\t\t= SAMLET.RENTE\t\t\t\t##\tReturnerer den kumulative renten som er betalt mellom to perioder\r\nCUMPRINC\t\t= SAMLET.HOVEDSTOL\t\t\t##\tReturnerer den kumulative hovedstolen som er betalt for et lån mellom to perioder\r\nDB\t\t\t= DAVSKR\t\t\t\t##\tReturnerer avskrivningen for et aktivum i en angitt periode, foretatt med fast degressiv avskrivning\r\nDDB\t\t\t= DEGRAVS\t\t\t\t##\tReturnerer avskrivningen for et aktivum for en gitt periode, ved hjelp av dobbel degressiv avskrivning eller en metode som du selv angir\r\nDISC\t\t\t= DISKONTERT\t\t\t\t##\tReturnerer diskonteringsraten for et verdipapir\r\nDOLLARDE\t\t= DOLLARDE\t\t\t\t##\tKonverterer en valutapris uttrykt som en brøk, til en valutapris uttrykt som et desimaltall\r\nDOLLARFR\t\t= DOLLARBR\t\t\t\t##\tKonverterer en valutapris uttrykt som et desimaltall, til en valutapris uttrykt som en brøk\r\nDURATION\t\t= VARIGHET\t\t\t\t##\tReturnerer årlig varighet for et verdipapir med renter som betales periodisk\r\nEFFECT\t\t\t= EFFEKTIV.RENTE\t\t\t##\tReturnerer den effektive årlige rentesatsen\r\nFV\t\t\t= SLUTTVERDI\t\t\t\t##\tReturnerer fremtidig verdi for en investering\r\nFVSCHEDULE\t\t= SVPLAN\t\t\t\t##\tReturnerer den fremtidige verdien av en inngående hovedstol etter å ha anvendt en serie med sammensatte rentesatser\r\nINTRATE\t\t\t= RENTESATS\t\t\t\t##\tReturnerer rentefoten av et fullfinansiert verdipapir\r\nIPMT\t\t\t= RAVDRAG\t\t\t\t##\tReturnerer betalte renter på en investering for en gitt periode\r\nIRR\t\t\t= IR\t\t\t\t\t##\tReturnerer internrenten for en serie kontantstrømmer\r\nISPMT\t\t\t= ER.AVDRAG\t\t\t\t##\tBeregner renten som er betalt for en investering i løpet av en bestemt periode\r\nMDURATION\t\t= MVARIGHET\t\t\t\t##\tReturnerer Macauleys modifiserte varighet for et verdipapir med en antatt pålydende verdi på kr 100,00\r\nMIRR\t\t\t= MODIR\t\t\t\t\t##\tReturnerer internrenten der positive og negative kontantstrømmer finansieres med forskjellige satser\r\nNOMINAL\t\t\t= NOMINELL\t\t\t\t##\tReturnerer årlig nominell rentesats\r\nNPER\t\t\t= PERIODER\t\t\t\t##\tReturnerer antall perioder for en investering\r\nNPV\t\t\t= NNV\t\t\t\t\t##\tReturnerer netto nåverdi for en investering, basert på en serie periodiske kontantstrømmer og en rentesats\r\nODDFPRICE\t\t= AVVIKFP.PRIS\t\t\t\t##\tReturnerer pris pålydende kr 100 for et verdipapir med en odde første periode\r\nODDFYIELD\t\t= AVVIKFP.AVKASTNING\t\t\t##\tReturnerer avkastingen for et verdipapir med en odde første periode\r\nODDLPRICE\t\t= AVVIKSP.PRIS\t\t\t\t##\tReturnerer pris pålydende kr 100 for et verdipapir med en odde siste periode\r\nODDLYIELD\t\t= AVVIKSP.AVKASTNING\t\t\t##\tReturnerer avkastingen for et verdipapir med en odde siste periode\r\nPMT\t\t\t= AVDRAG\t\t\t\t##\tReturnerer periodisk betaling for en annuitet\r\nPPMT\t\t\t= AMORT\t\t\t\t\t##\tReturnerer betalingen på hovedstolen for en investering i en gitt periode\r\nPRICE\t\t\t= PRIS\t\t\t\t\t##\tReturnerer prisen per pålydende kr 100 for et verdipapir som gir periodisk avkastning\r\nPRICEDISC\t\t= PRIS.DISKONTERT\t\t\t##\tReturnerer prisen per pålydende kr 100 for et diskontert verdipapir\r\nPRICEMAT\t\t= PRIS.FORFALL\t\t\t\t##\tReturnerer prisen per pålydende kr 100 av et verdipapir som betaler rente ved forfall\r\nPV\t\t\t= NÅVERDI\t\t\t\t##\tReturnerer nåverdien av en investering\r\nRATE\t\t\t= RENTE\t\t\t\t\t##\tReturnerer rentesatsen per periode for en annuitet\r\nRECEIVED\t\t= MOTTATT.AVKAST\t\t\t##\tReturnerer summen som mottas ved forfallsdato for et fullinvestert verdipapir\r\nSLN\t\t\t= LINAVS\t\t\t\t##\tReturnerer den lineære avskrivningen for et aktivum i én periode\r\nSYD\t\t\t= ÅRSAVS\t\t\t\t##\tReturnerer årsavskrivningen for et aktivum i en angitt periode\r\nTBILLEQ\t\t\t= TBILLEKV\t\t\t\t##\tReturnerer den obligasjonsekvivalente avkastningen for en statsobligasjon\r\nTBILLPRICE\t\t= TBILLPRIS\t\t\t\t##\tReturnerer prisen per pålydende kr 100 for en statsobligasjon\r\nTBILLYIELD\t\t= TBILLAVKASTNING\t\t\t##\tReturnerer avkastningen til en statsobligasjon\r\nVDB\t\t\t= VERDIAVS\t\t\t\t##\tReturnerer avskrivningen for et aktivum i en angitt periode eller delperiode, ved hjelp av degressiv avskrivning\r\nXIRR\t\t\t= XIR\t\t\t\t\t##\tReturnerer internrenten for en serie kontantstrømmer som ikke nødvendigvis er periodiske\r\nXNPV\t\t\t= XNNV\t\t\t\t\t##\tReturnerer netto nåverdi for en serie kontantstrømmer som ikke nødvendigvis er periodiske\r\nYIELD\t\t\t= AVKAST\t\t\t\t##\tReturnerer avkastningen på et verdipapir som betaler periodisk rente\r\nYIELDDISC\t\t= AVKAST.DISKONTERT\t\t\t##\tReturnerer årlig avkastning for et diskontert verdipapir, for eksempel en statskasseveksel\r\nYIELDMAT\t\t= AVKAST.FORFALL\t\t\t##\tReturnerer den årlige avkastningen for et verdipapir som betaler rente ved forfallsdato\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\t\tInformasjonsfunksjoner\r\n##\r\nCELL\t\t\t= CELLE\t\t\t\t\t##\tReturnerer informasjon om formatering, plassering eller innholdet til en celle\r\nERROR.TYPE\t\t= FEIL.TYPE\t\t\t\t##\tReturnerer et tall som svarer til en feiltype\r\nINFO\t\t\t= INFO\t\t\t\t\t##\tReturnerer informasjon om gjeldende operativmiljø\r\nISBLANK\t\t\t= ERTOM\t\t\t\t\t##\tReturnerer SANN hvis verdien er tom\r\nISERR\t\t\t= ERFEIL\t\t\t\t##\tReturnerer SANN hvis verdien er en hvilken som helst annen feilverdi enn #I/T\r\nISERROR\t\t\t= ERFEIL\t\t\t\t##\tReturnerer SANN hvis verdien er en hvilken som helst feilverdi\r\nISEVEN\t\t\t= ERPARTALL\t\t\t\t##\tReturnerer SANN hvis tallet er et partall\r\nISLOGICAL\t\t= ERLOGISK\t\t\t\t##\tReturnerer SANN hvis verdien er en logisk verdi\r\nISNA\t\t\t= ERIT\t\t\t\t\t##\tReturnerer SANN hvis verdien er feilverdien #I/T\r\nISNONTEXT\t\t= ERIKKETEKST\t\t\t\t##\tReturnerer SANN hvis verdien ikke er tekst\r\nISNUMBER\t\t= ERTALL\t\t\t\t##\tReturnerer SANN hvis verdien er et tall\r\nISODD\t\t\t= ERODDETALL\t\t\t\t##\tReturnerer SANN hvis tallet er et oddetall\r\nISREF\t\t\t= ERREF\t\t\t\t\t##\tReturnerer SANN hvis verdien er en referanse\r\nISTEXT\t\t\t= ERTEKST\t\t\t\t##\tReturnerer SANN hvis verdien er tekst\r\nN\t\t\t= N\t\t\t\t\t##\tReturnerer en verdi som er konvertert til et tall\r\nNA\t\t\t= IT\t\t\t\t\t##\tReturnerer feilverdien #I/T\r\nTYPE\t\t\t= VERDITYPE\t\t\t\t##\tReturnerer et tall som indikerer datatypen til en verdi\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\t\tLogiske funksjoner\r\n##\r\nAND\t\t\t= OG\t\t\t\t\t##\tReturnerer SANN hvis alle argumentene er lik SANN\r\nFALSE\t\t\t= USANN\t\t\t\t\t##\tReturnerer den logiske verdien USANN\r\nIF\t\t\t= HVIS\t\t\t\t\t##\tAngir en logisk test som skal utføres\r\nIFERROR\t\t\t= HVISFEIL\t\t\t\t##\tReturnerer en verdi du angir hvis en formel evaluerer til en feil. Ellers returnerer den resultatet av formelen.\r\nNOT\t\t\t= IKKE\t\t\t\t\t##\tReverserer logikken til argumentet\r\nOR\t\t\t= ELLER\t\t\t\t\t##\tReturnerer SANN hvis ett eller flere argumenter er lik SANN\r\nTRUE\t\t\t= SANN\t\t\t\t\t##\tReturnerer den logiske verdien SANN\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\t\tOppslag- og referansefunksjoner\r\n##\r\nADDRESS\t\t\t= ADRESSE\t\t\t\t##\tReturnerer en referanse som tekst til en enkelt celle i et regneark\r\nAREAS\t\t\t= OMRÅDER\t\t\t\t##\tReturnerer antall områder i en referanse\r\nCHOOSE\t\t\t= VELG\t\t\t\t\t##\tVelger en verdi fra en liste med verdier\r\nCOLUMN\t\t\t= KOLONNE\t\t\t\t##\tReturnerer kolonnenummeret for en referanse\r\nCOLUMNS\t\t\t= KOLONNER\t\t\t\t##\tReturnerer antall kolonner i en referanse\r\nHLOOKUP\t\t\t= FINN.KOLONNE\t\t\t\t##\tLeter i den øverste raden i en matrise og returnerer verdien for den angitte cellen\r\nHYPERLINK\t\t= HYPERKOBLING\t\t\t\t##\tOppretter en snarvei eller et hopp som åpner et dokument som er lagret på en nettverksserver, et intranett eller Internett\r\nINDEX\t\t\t= INDEKS\t\t\t\t##\tBruker en indeks til å velge en verdi fra en referanse eller matrise\r\nINDIRECT\t\t= INDIREKTE\t\t\t\t##\tReturnerer en referanse angitt av en tekstverdi\r\nLOOKUP\t\t\t= SLÅ.OPP\t\t\t\t##\tSlår opp verdier i en vektor eller matrise\r\nMATCH\t\t\t= SAMMENLIGNE\t\t\t\t##\tSlår opp verdier i en referanse eller matrise\r\nOFFSET\t\t\t= FORSKYVNING\t\t\t\t##\tReturnerer en referanseforskyvning fra en gitt referanse\r\nROW\t\t\t= RAD\t\t\t\t\t##\tReturnerer radnummeret for en referanse\r\nROWS\t\t\t= RADER\t\t\t\t\t##\tReturnerer antall rader i en referanse\r\nRTD\t\t\t= RTD\t\t\t\t\t##\tHenter sanntidsdata fra et program som støtter COM-automatisering (automatisering: En måte å arbeide på med programobjekter fra et annet program- eller utviklingsverktøy. Tidligere kalt OLE-automatisering. Automatisering er en bransjestandard og en funksjon i Component Object Model (COM).)\r\nTRANSPOSE\t\t= TRANSPONER\t\t\t\t##\tReturnerer transponeringen av en matrise\r\nVLOOKUP\t\t\t= FINN.RAD\t\t\t\t##\tLeter i den første kolonnen i en matrise og flytter bortover raden for å returnere verdien til en celle\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\t\tMatematikk- og trigonometrifunksjoner\r\n##\r\nABS\t\t\t= ABS\t\t\t\t\t##\tReturnerer absoluttverdien til et tall\r\nACOS\t\t\t= ARCCOS\t\t\t\t##\tReturnerer arcus cosinus til et tall\r\nACOSH\t\t\t= ARCCOSH\t\t\t\t##\tReturnerer den inverse hyperbolske cosinus til et tall\r\nASIN\t\t\t= ARCSIN\t\t\t\t##\tReturnerer arcus sinus til et tall\r\nASINH\t\t\t= ARCSINH\t\t\t\t##\tReturnerer den inverse hyperbolske sinus til et tall\r\nATAN\t\t\t= ARCTAN\t\t\t\t##\tReturnerer arcus tangens til et tall\r\nATAN2\t\t\t= ARCTAN2\t\t\t\t##\tReturnerer arcus tangens fra x- og y-koordinater\r\nATANH\t\t\t= ARCTANH\t\t\t\t##\tReturnerer den inverse hyperbolske tangens til et tall\r\nCEILING\t\t\t= AVRUND.GJELDENDE.MULTIPLUM\t\t##\tRunder av et tall til nærmeste heltall eller til nærmeste signifikante multiplum\r\nCOMBIN\t\t\t= KOMBINASJON\t\t\t\t##\tReturnerer antall kombinasjoner for ett gitt antall objekter\r\nCOS\t\t\t= COS\t\t\t\t\t##\tReturnerer cosinus til et tall\r\nCOSH\t\t\t= COSH\t\t\t\t\t##\tReturnerer den hyperbolske cosinus til et tall\r\nDEGREES\t\t\t= GRADER\t\t\t\t##\tKonverterer radianer til grader\r\nEVEN\t\t\t= AVRUND.TIL.PARTALL\t\t\t##\tRunder av et tall oppover til nærmeste heltall som er et partall\r\nEXP\t\t\t= EKSP\t\t\t\t\t##\tReturnerer e opphøyd i en angitt potens\r\nFACT\t\t\t= FAKULTET\t\t\t\t##\tReturnerer fakultet til et tall\r\nFACTDOUBLE\t\t= DOBBELFAKT\t\t\t\t##\tReturnerer et talls doble fakultet\r\nFLOOR\t\t\t= AVRUND.GJELDENDE.MULTIPLUM.NED\t##\tAvrunder et tall nedover, mot null\r\nGCD\t\t\t= SFF\t\t\t\t\t##\tReturnerer høyeste felles divisor\r\nINT\t\t\t= HELTALL\t\t\t\t##\tAvrunder et tall nedover til nærmeste heltall\r\nLCM\t\t\t= MFM\t\t\t\t\t##\tReturnerer minste felles multiplum\r\nLN\t\t\t= LN\t\t\t\t\t##\tReturnerer den naturlige logaritmen til et tall\r\nLOG\t\t\t= LOG\t\t\t\t\t##\tReturnerer logaritmen for et tall til et angitt grunntall\r\nLOG10\t\t\t= LOG10\t\t\t\t\t##\tReturnerer logaritmen med grunntall 10 for et tall\r\nMDETERM\t\t\t= MDETERM\t\t\t\t##\tReturnerer matrisedeterminanten til en matrise\r\nMINVERSE\t\t= MINVERS\t\t\t\t##\tReturnerer den inverse matrisen til en matrise\r\nMMULT\t\t\t= MMULT\t\t\t\t\t##\tReturnerer matriseproduktet av to matriser\r\nMOD\t\t\t= REST\t\t\t\t\t##\tReturnerer resten fra en divisjon\r\nMROUND\t\t\t= MRUND\t\t\t\t\t##\tReturnerer et tall avrundet til det ønskede multiplum\r\nMULTINOMIAL\t\t= MULTINOMINELL\t\t\t\t##\tReturnerer det multinominelle for et sett med tall\r\nODD\t\t\t= AVRUND.TIL.ODDETALL\t\t\t##\tRunder av et tall oppover til nærmeste heltall som er et oddetall\r\nPI\t\t\t= PI\t\t\t\t\t##\tReturnerer verdien av pi\r\nPOWER\t\t\t= OPPHØYD.I\t\t\t\t##\tReturnerer resultatet av et tall opphøyd i en potens\r\nPRODUCT\t\t\t= PRODUKT\t\t\t\t##\tMultipliserer argumentene\r\nQUOTIENT\t\t= KVOTIENT\t\t\t\t##\tReturnerer heltallsdelen av en divisjon\r\nRADIANS\t\t\t= RADIANER\t\t\t\t##\tKonverterer grader til radianer\r\nRAND\t\t\t= TILFELDIG\t\t\t\t##\tReturnerer et tilfeldig tall mellom 0 og 1\r\nRANDBETWEEN\t\t= TILFELDIGMELLOM\t\t\t##\tReturnerer et tilfeldig tall innenfor et angitt område\r\nROMAN\t\t\t= ROMERTALL\t\t\t\t##\tKonverterer vanlige tall til romertall, som tekst\r\nROUND\t\t\t= AVRUND\t\t\t\t##\tAvrunder et tall til et angitt antall sifre\r\nROUNDDOWN\t\t= AVRUND.NED\t\t\t\t##\tAvrunder et tall nedover, mot null\r\nROUNDUP\t\t\t= AVRUND.OPP\t\t\t\t##\tRunder av et tall oppover, bort fra null\r\nSERIESSUM\t\t= SUMMER.REKKE\t\t\t\t##\tReturnerer summen av en geometrisk rekke, basert på formelen\r\nSIGN\t\t\t= FORTEGN\t\t\t\t##\tReturnerer fortegnet for et tall\r\nSIN\t\t\t= SIN\t\t\t\t\t##\tReturnerer sinus til en gitt vinkel\r\nSINH\t\t\t= SINH\t\t\t\t\t##\tReturnerer den hyperbolske sinus til et tall\r\nSQRT\t\t\t= ROT\t\t\t\t\t##\tReturnerer en positiv kvadratrot\r\nSQRTPI\t\t\t= ROTPI\t\t\t\t\t##\tReturnerer kvadratroten av (tall * pi)\r\nSUBTOTAL\t\t= DELSUM\t\t\t\t##\tReturnerer en delsum i en liste eller database\r\nSUM\t\t\t= SUMMER\t\t\t\t##\tLegger sammen argumentene\r\nSUMIF\t\t\t= SUMMERHVIS\t\t\t\t##\tLegger sammen cellene angitt ved et gitt vilkår\r\nSUMIFS\t\t\t= SUMMER.HVIS.SETT\t\t\t##\tLegger sammen cellene i et område som oppfyller flere vilkår\r\nSUMPRODUCT\t\t= SUMMERPRODUKT\t\t\t\t##\tReturnerer summen av produktene av tilsvarende matrisekomponenter\r\nSUMSQ\t\t\t= SUMMERKVADRAT\t\t\t\t##\tReturnerer kvadratsummen av argumentene\r\nSUMX2MY2\t\t= SUMMERX2MY2\t\t\t\t##\tReturnerer summen av differansen av kvadratene for tilsvarende verdier i to matriser\r\nSUMX2PY2\t\t= SUMMERX2PY2\t\t\t\t##\tReturnerer summen av kvadratsummene for tilsvarende verdier i to matriser\r\nSUMXMY2\t\t\t= SUMMERXMY2\t\t\t\t##\tReturnerer summen av kvadratene av differansen for tilsvarende verdier i to matriser\r\nTAN\t\t\t= TAN\t\t\t\t\t##\tReturnerer tangens for et tall\r\nTANH\t\t\t= TANH\t\t\t\t\t##\tReturnerer den hyperbolske tangens for et tall\r\nTRUNC\t\t\t= AVKORT\t\t\t\t##\tKorter av et tall til et heltall\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\t\tStatistiske funksjoner\r\n##\r\nAVEDEV\t\t\t= GJENNOMSNITTSAVVIK\t\t\t##\tReturnerer datapunktenes gjennomsnittlige absoluttavvik fra middelverdien\r\nAVERAGE\t\t\t= GJENNOMSNITT\t\t\t\t##\tReturnerer gjennomsnittet for argumentene\r\nAVERAGEA\t\t= GJENNOMSNITTA\t\t\t\t##\tReturnerer gjennomsnittet for argumentene, inkludert tall, tekst og logiske verdier\r\nAVERAGEIF\t\t= GJENNOMSNITTHVIS\t\t\t##\tReturnerer gjennomsnittet (aritmetisk gjennomsnitt) av alle cellene i et område som oppfyller et bestemt vilkår\r\nAVERAGEIFS\t\t= GJENNOMSNITT.HVIS.SETT\t\t##\tReturnerer gjennomsnittet (aritmetisk middelverdi) av alle celler som oppfyller flere vilkår.\r\nBETADIST\t\t= BETA.FORDELING\t\t\t##\tReturnerer den kumulative betafordelingsfunksjonen\r\nBETAINV\t\t\t= INVERS.BETA.FORDELING\t\t\t##\tReturnerer den inverse verdien til fordelingsfunksjonen for en angitt betafordeling\r\nBINOMDIST\t\t= BINOM.FORDELING\t\t\t##\tReturnerer den individuelle binomiske sannsynlighetsfordelingen\r\nCHIDIST\t\t\t= KJI.FORDELING\t\t\t\t##\tReturnerer den ensidige sannsynligheten for en kjikvadrert fordeling\r\nCHIINV\t\t\t= INVERS.KJI.FORDELING\t\t\t##\tReturnerer den inverse av den ensidige sannsynligheten for den kjikvadrerte fordelingen\r\nCHITEST\t\t\t= KJI.TEST\t\t\t\t##\tUtfører testen for uavhengighet\r\nCONFIDENCE\t\t= KONFIDENS\t\t\t\t##\tReturnerer konfidensintervallet til gjennomsnittet for en populasjon\r\nCORREL\t\t\t= KORRELASJON\t\t\t\t##\tReturnerer korrelasjonskoeffisienten mellom to datasett\r\nCOUNT\t\t\t= ANTALL\t\t\t\t##\tTeller hvor mange tall som er i argumentlisten\r\nCOUNTA\t\t\t= ANTALLA\t\t\t\t##\tTeller hvor mange verdier som er i argumentlisten\r\nCOUNTBLANK\t\t= TELLBLANKE\t\t\t\t##\tTeller antall tomme celler i et område.\r\nCOUNTIF\t\t\t= ANTALL.HVIS\t\t\t\t##\tTeller antall celler i et område som oppfyller gitte vilkår\r\nCOUNTIFS\t\t= ANTALL.HVIS.SETT\t\t\t##\tTeller antallet ikke-tomme celler i et område som oppfyller flere vilkår\r\nCOVAR\t\t\t= KOVARIANS\t\t\t\t##\tReturnerer kovariansen, gjennomsnittet av produktene av parvise avvik\r\nCRITBINOM\t\t= GRENSE.BINOM\t\t\t\t##\tReturnerer den minste verdien der den kumulative binomiske fordelingen er mindre enn eller lik en vilkårsverdi\r\nDEVSQ\t\t\t= AVVIK.KVADRERT\t\t\t##\tReturnerer summen av kvadrerte avvik\r\nEXPONDIST\t\t= EKSP.FORDELING\t\t\t##\tReturnerer eksponentialfordelingen\r\nFDIST\t\t\t= FFORDELING\t\t\t\t##\tReturnerer F-sannsynlighetsfordelingen\r\nFINV\t\t\t= FFORDELING.INVERS\t\t\t##\tReturnerer den inverse av den sannsynlige F-fordelingen\r\nFISHER\t\t\t= FISHER\t\t\t\t##\tReturnerer Fisher-transformasjonen\r\nFISHERINV\t\t= FISHERINV\t\t\t\t##\tReturnerer den inverse av Fisher-transformasjonen\r\nFORECAST\t\t= PROGNOSE\t\t\t\t##\tReturnerer en verdi langs en lineær trend\r\nFREQUENCY\t\t= FREKVENS\t\t\t\t##\tReturnerer en frekvensdistribusjon som en loddrett matrise\r\nFTEST\t\t\t= FTEST\t\t\t\t\t##\tReturnerer resultatet av en F-test\r\nGAMMADIST\t\t= GAMMAFORDELING\t\t\t##\tReturnerer gammafordelingen\r\nGAMMAINV\t\t= GAMMAINV\t\t\t\t##\tReturnerer den inverse av den gammakumulative fordelingen\r\nGAMMALN\t\t\t= GAMMALN\t\t\t\t##\tReturnerer den naturlige logaritmen til gammafunksjonen G(x)\r\nGEOMEAN\t\t\t= GJENNOMSNITT.GEOMETRISK\t\t##\tReturnerer den geometriske middelverdien\r\nGROWTH\t\t\t= VEKST\t\t\t\t\t##\tReturnerer verdier langs en eksponentiell trend\r\nHARMEAN\t\t\t= GJENNOMSNITT.HARMONISK\t\t##\tReturnerer den harmoniske middelverdien\r\nHYPGEOMDIST\t\t= HYPGEOM.FORDELING\t\t\t##\tReturnerer den hypergeometriske fordelingen\r\nINTERCEPT\t\t= SKJÆRINGSPUNKT\t\t\t##\tReturnerer skjæringspunktet til den lineære regresjonslinjen\r\nKURT\t\t\t= KURT\t\t\t\t\t##\tReturnerer kurtosen til et datasett\r\nLARGE\t\t\t= N.STØRST\t\t\t\t##\tReturnerer den n-te største verdien i et datasett\r\nLINEST\t\t\t= RETTLINJE\t\t\t\t##\tReturnerer parameterne til en lineær trend\r\nLOGEST\t\t\t= KURVE\t\t\t\t\t##\tReturnerer parameterne til en eksponentiell trend\r\nLOGINV\t\t\t= LOGINV\t\t\t\t##\tReturnerer den inverse lognormale fordelingen\r\nLOGNORMDIST\t\t= LOGNORMFORD\t\t\t\t##\tReturnerer den kumulative lognormale fordelingen\r\nMAX\t\t\t= STØRST\t\t\t\t##\tReturnerer maksimumsverdien i en argumentliste\r\nMAXA\t\t\t= MAKSA\t\t\t\t\t##\tReturnerer maksimumsverdien i en argumentliste, inkludert tall, tekst og logiske verdier\r\nMEDIAN\t\t\t= MEDIAN\t\t\t\t##\tReturnerer medianen til tallene som er gitt\r\nMIN\t\t\t= MIN\t\t\t\t\t##\tReturnerer minimumsverdien i en argumentliste\r\nMINA\t\t\t= MINA\t\t\t\t\t##\tReturnerer den minste verdien i en argumentliste, inkludert tall, tekst og logiske verdier\r\nMODE\t\t\t= MODUS\t\t\t\t\t##\tReturnerer den vanligste verdien i et datasett\r\nNEGBINOMDIST\t\t= NEGBINOM.FORDELING\t\t\t##\tReturnerer den negative binomiske fordelingen\r\nNORMDIST\t\t= NORMALFORDELING\t\t\t##\tReturnerer den kumulative normalfordelingen\r\nNORMINV\t\t\t= NORMINV\t\t\t\t##\tReturnerer den inverse kumulative normalfordelingen\r\nNORMSDIST\t\t= NORMSFORDELING\t\t\t##\tReturnerer standard kumulativ normalfordeling\r\nNORMSINV\t\t= NORMSINV\t\t\t\t##\tReturnerer den inverse av den den kumulative standard normalfordelingen\r\nPEARSON\t\t\t= PEARSON\t\t\t\t##\tReturnerer produktmomentkorrelasjonskoeffisienten, Pearson\r\nPERCENTILE\t\t= PERSENTIL\t\t\t\t##\tReturnerer den n-te persentil av verdiene i et område\r\nPERCENTRANK\t\t= PROSENTDEL\t\t\t\t##\tReturnerer prosentrangeringen av en verdi i et datasett\r\nPERMUT\t\t\t= PERMUTER\t\t\t\t##\tReturnerer antall permutasjoner for et gitt antall objekter\r\nPOISSON\t\t\t= POISSON\t\t\t\t##\tReturnerer Poissons sannsynlighetsfordeling\r\nPROB\t\t\t= SANNSYNLIG\t\t\t\t##\tReturnerer sannsynligheten for at verdier i et område ligger mellom to grenser\r\nQUARTILE\t\t= KVARTIL\t\t\t\t##\tReturnerer kvartilen til et datasett\r\nRANK\t\t\t= RANG\t\t\t\t\t##\tReturnerer rangeringen av et tall, eller plassen tallet har i en rekke\r\nRSQ\t\t\t= RKVADRAT\t\t\t\t##\tReturnerer kvadratet av produktmomentkorrelasjonskoeffisienten (Pearsons r)\r\nSKEW\t\t\t= SKJEVFORDELING\t\t\t##\tReturnerer skjevheten i en fordeling\r\nSLOPE\t\t\t= STIGNINGSTALL\t\t\t\t##\tReturnerer stigningtallet for den lineære regresjonslinjen\r\nSMALL\t\t\t= N.MINST\t\t\t\t##\tReturnerer den n-te minste verdien i et datasett\r\nSTANDARDIZE\t\t= NORMALISER\t\t\t\t##\tReturnerer en normalisert verdi\r\nSTDEV\t\t\t= STDAV\t\t\t\t\t##\tEstimere standardavvik på grunnlag av et utvalg\r\nSTDEVA\t\t\t= STDAVVIKA\t\t\t\t##\tEstimerer standardavvik basert på et utvalg, inkludert tall, tekst og logiske verdier\r\nSTDEVP\t\t\t= STDAVP\t\t\t\t##\tBeregner standardavvik basert på hele populasjonen\r\nSTDEVPA\t\t\t= STDAVVIKPA\t\t\t\t##\tBeregner standardavvik basert på hele populasjonen, inkludert tall, tekst og logiske verdier\r\nSTEYX\t\t\t= STANDARDFEIL\t\t\t\t##\tReturnerer standardfeilen for den predikerte y-verdien for hver x i regresjonen\r\nTDIST\t\t\t= TFORDELING\t\t\t\t##\tReturnerer en Student t-fordeling\r\nTINV\t\t\t= TINV\t\t\t\t\t##\tReturnerer den inverse Student t-fordelingen\r\nTREND\t\t\t= TREND\t\t\t\t\t##\tReturnerer verdier langs en lineær trend\r\nTRIMMEAN\t\t= TRIMMET.GJENNOMSNITT\t\t\t##\tReturnerer den interne middelverdien til et datasett\r\nTTEST\t\t\t= TTEST\t\t\t\t\t##\tReturnerer sannsynligheten assosiert med en Student t-test\r\nVAR\t\t\t= VARIANS\t\t\t\t##\tEstimerer varians basert på et utvalg\r\nVARA\t\t\t= VARIANSA\t\t\t\t##\tEstimerer varians basert på et utvalg, inkludert tall, tekst og logiske verdier\r\nVARP\t\t\t= VARIANSP\t\t\t\t##\tBeregner varians basert på hele populasjonen\r\nVARPA\t\t\t= VARIANSPA\t\t\t\t##\tBeregner varians basert på hele populasjonen, inkludert tall, tekst og logiske verdier\r\nWEIBULL\t\t\t= WEIBULL.FORDELING\t\t\t##\tReturnerer Weibull-fordelingen\r\nZTEST\t\t\t= ZTEST\t\t\t\t\t##\tReturnerer den ensidige sannsynlighetsverdien for en z-test\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\t\tTekstfunksjoner\r\n##\r\nASC\t\t\t= STIGENDE\t\t\t\t##\tEndrer fullbreddes (dobbeltbyte) engelske bokstaver eller katakana i en tegnstreng, til halvbreddes (enkeltbyte) tegn\r\nBAHTTEXT\t\t= BAHTTEKST\t\t\t\t##\tKonverterer et tall til tekst, og bruker valutaformatet ß (baht)\r\nCHAR\t\t\t= TEGNKODE\t\t\t\t##\tReturnerer tegnet som svarer til kodenummeret\r\nCLEAN\t\t\t= RENSK\t\t\t\t\t##\tFjerner alle tegn som ikke kan skrives ut, fra teksten\r\nCODE\t\t\t= KODE\t\t\t\t\t##\tReturnerer en numerisk kode for det første tegnet i en tekststreng\r\nCONCATENATE\t\t= KJEDE.SAMMEN\t\t\t\t##\tSlår sammen flere tekstelementer til ett tekstelement\r\nDOLLAR\t\t\t= VALUTA\t\t\t\t##\tKonverterer et tall til tekst, og bruker valutaformatet $ (dollar)\r\nEXACT\t\t\t= EKSAKT\t\t\t\t##\tKontrollerer om to tekstverdier er like\r\nFIND\t\t\t= FINN\t\t\t\t\t##\tFinner en tekstverdi inne i en annen (skiller mellom store og små bokstaver)\r\nFINDB\t\t\t= FINNB\t\t\t\t\t##\tFinner en tekstverdi inne i en annen (skiller mellom store og små bokstaver)\r\nFIXED\t\t\t= FASTSATT\t\t\t\t##\tFormaterer et tall som tekst med et bestemt antall desimaler\r\nJIS\t\t\t= JIS\t\t\t\t\t##\tEndrer halvbreddes (enkeltbyte) engelske bokstaver eller katakana i en tegnstreng, til fullbreddes (dobbeltbyte) tegn\r\nLEFT\t\t\t= VENSTRE\t\t\t\t##\tReturnerer tegnene lengst til venstre i en tekstverdi\r\nLEFTB\t\t\t= VENSTREB\t\t\t\t##\tReturnerer tegnene lengst til venstre i en tekstverdi\r\nLEN\t\t\t= LENGDE\t\t\t\t##\tReturnerer antall tegn i en tekststreng\r\nLENB\t\t\t= LENGDEB\t\t\t\t##\tReturnerer antall tegn i en tekststreng\r\nLOWER\t\t\t= SMÅ\t\t\t\t\t##\tKonverterer tekst til små bokstaver\r\nMID\t\t\t= DELTEKST\t\t\t\t##\tReturnerer et angitt antall tegn fra en tekststreng, og begynner fra posisjonen du angir\r\nMIDB\t\t\t= DELTEKSTB\t\t\t\t##\tReturnerer et angitt antall tegn fra en tekststreng, og begynner fra posisjonen du angir\r\nPHONETIC\t\t= FURIGANA\t\t\t\t##\tTrekker ut fonetiske tegn (furigana) fra en tekststreng\r\nPROPER\t\t\t= STOR.FORBOKSTAV\t\t\t##\tGir den første bokstaven i hvert ord i en tekstverdi stor forbokstav\r\nREPLACE\t\t\t= ERSTATT\t\t\t\t##\tErstatter tegn i en tekst\r\nREPLACEB\t\t= ERSTATTB\t\t\t\t##\tErstatter tegn i en tekst\r\nREPT\t\t\t= GJENTA\t\t\t\t##\tGjentar tekst et gitt antall ganger\r\nRIGHT\t\t\t= HØYRE\t\t\t\t\t##\tReturnerer tegnene lengst til høyre i en tekstverdi\r\nRIGHTB\t\t\t= HØYREB\t\t\t\t##\tReturnerer tegnene lengst til høyre i en tekstverdi\r\nSEARCH\t\t\t= SØK\t\t\t\t\t##\tFinner en tekstverdi inne i en annen (skiller ikke mellom store og små bokstaver)\r\nSEARCHB\t\t\t= SØKB\t\t\t\t\t##\tFinner en tekstverdi inne i en annen (skiller ikke mellom store og små bokstaver)\r\nSUBSTITUTE\t\t= BYTT.UT\t\t\t\t##\tBytter ut gammel tekst med ny tekst i en tekststreng\r\nT\t\t\t= T\t\t\t\t\t##\tKonverterer argumentene til tekst\r\nTEXT\t\t\t= TEKST\t\t\t\t\t##\tFormaterer et tall og konverterer det til tekst\r\nTRIM\t\t\t= TRIMME\t\t\t\t##\tFjerner mellomrom fra tekst\r\nUPPER\t\t\t= STORE\t\t\t\t\t##\tKonverterer tekst til store bokstaver\r\nVALUE\t\t\t= VERDI\t\t\t\t\t##\tKonverterer et tekstargument til et tall\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/pl/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= zł\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #ZERO!\r\nDIV0\t= #DZIEL/0!\r\nVALUE\t= #ARG!\r\nREF\t= #ADR!\r\nNAME\t= #NAZWA?\r\nNUM\t= #LICZBA!\r\nNA\t= #N/D!\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/pl/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tFunkcje dodatków i automatyzacji\r\n##\r\nGETPIVOTDATA\t\t= WEŹDANETABELI\t\t\t##\tZwraca dane przechowywane w raporcie tabeli przestawnej.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tFunkcje modułów\r\n##\r\nCUBEKPIMEMBER\t\t= ELEMENT.KPI.MODUŁU\t\t##\tZwraca nazwę, właściwość i miarę kluczowego wskaźnika wydajności (KPI) oraz wyświetla nazwę i właściwość w komórce. Wskaźnik KPI jest miarą ilościową, taką jak miesięczny zysk brutto lub kwartalna fluktuacja pracowników, używaną do monitorowania wydajności organizacji.\r\nCUBEMEMBER\t\t= ELEMENT.MODUŁU\t\t##\tZwraca element lub krotkę z hierarchii modułu. Służy do sprawdzania, czy element lub krotka istnieje w module.\r\nCUBEMEMBERPROPERTY\t= WŁAŚCIWOŚĆ.ELEMENTU.MODUŁU\t##\tZwraca wartość właściwości elementu w module. Służy do sprawdzania, czy nazwa elementu istnieje w module, i zwracania określonej właściwości dla tego elementu.\r\nCUBERANKEDMEMBER\t= USZEREGOWANY.ELEMENT.MODUŁU\t##\tZwraca n-ty (albo uszeregowany) element zestawu. Służy do zwracania elementu lub elementów zestawu, na przykład najlepszego sprzedawcy lub 10 najlepszych studentów.\r\nCUBESET\t\t\t= ZESTAW.MODUŁÓW\t\t##\tDefiniuje obliczony zestaw elementów lub krotek, wysyłając wyrażenie zestawu do serwera modułu, który tworzy zestaw i zwraca go do programu Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= LICZNIK.MODUŁÓW.ZESTAWU\t##\tZwraca liczbę elementów zestawu.\r\nCUBEVALUE\t\t= WARTOŚĆ.MODUŁU\t\t##\tZwraca zagregowaną wartość z modułu.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tFunkcje baz danych\r\n##\r\nDAVERAGE\t\t= BD.ŚREDNIA\t\t\t##\tZwraca wartość średniej wybranych wpisów bazy danych.\r\nDCOUNT\t\t\t= BD.ILE.REKORDÓW\t\t##\tZlicza komórki zawierające liczby w bazie danych.\r\nDCOUNTA\t\t\t= BD.ILE.REKORDÓW.A\t\t##\tZlicza niepuste komórki w bazie danych.\r\nDGET\t\t\t= BD.POLE\t\t\t##\tWyodrębnia z bazy danych jeden rekord spełniający określone kryteria.\r\nDMAX\t\t\t= BD.MAX\t\t\t##\tZwraca wartość maksymalną z wybranych wpisów bazy danych.\r\nDMIN\t\t\t= BD.MIN\t\t\t##\tZwraca wartość minimalną z wybranych wpisów bazy danych.\r\nDPRODUCT\t\t= BD.ILOCZYN\t\t\t##\tMnoży wartości w konkretnym, spełniającym kryteria polu rekordów bazy danych.\r\nDSTDEV\t\t\t= BD.ODCH.STANDARD\t\t##\tSzacuje odchylenie standardowe na podstawie próbki z wybranych wpisów bazy danych.\r\nDSTDEVP\t\t\t= BD.ODCH.STANDARD.POPUL\t##\tOblicza odchylenie standardowe na podstawie całej populacji wybranych wpisów bazy danych.\r\nDSUM\t\t\t= BD.SUMA\t\t\t##\tDodaje liczby w kolumnie pól rekordów bazy danych, które spełniają kryteria.\r\nDVAR\t\t\t= BD.WARIANCJA\t\t\t##\tSzacuje wariancję na podstawie próbki z wybranych wpisów bazy danych.\r\nDVARP\t\t\t= BD.WARIANCJA.POPUL\t\t##\tOblicza wariancję na podstawie całej populacji wybranych wpisów bazy danych.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tFunkcje dat, godzin i czasu\r\n##\r\nDATE\t\t\t= DATA\t\t\t\t##\tZwraca liczbę seryjną dla wybranej daty.\r\nDATEVALUE\t\t= DATA.WARTOŚĆ\t\t\t##\tKonwertuje datę w formie tekstu na liczbę seryjną.\r\nDAY\t\t\t= DZIEŃ\t\t\t\t##\tKonwertuje liczbę seryjną na dzień miesiąca.\r\nDAYS360\t\t\t= DNI.360\t\t\t##\tOblicza liczbę dni między dwiema datami na podstawie roku 360-dniowego.\r\nEDATE\t\t\t= UPŁDNI\t\t\t##\tZwraca liczbę seryjną daty jako wskazaną liczbę miesięcy przed określoną datą początkową lub po niej.\r\nEOMONTH\t\t\t= EOMONTH\t\t\t##\tZwraca liczbę seryjną ostatniego dnia miesiąca przed określoną liczbą miesięcy lub po niej.\r\nHOUR\t\t\t= GODZINA\t\t\t##\tKonwertuje liczbę seryjną na godzinę.\r\nMINUTE\t\t\t= MINUTA\t\t\t##\tKonwertuje liczbę seryjną na minutę.\r\nMONTH\t\t\t= MIESIĄC\t\t\t##\tKonwertuje liczbę seryjną na miesiąc.\r\nNETWORKDAYS\t\t= NETWORKDAYS\t\t\t##\tZwraca liczbę pełnych dni roboczych między dwiema datami.\r\nNOW\t\t\t= TERAZ\t\t\t\t##\tZwraca liczbę seryjną bieżącej daty i godziny.\r\nSECOND\t\t\t= SEKUNDA\t\t\t##\tKonwertuje liczbę seryjną na sekundę.\r\nTIME\t\t\t= CZAS\t\t\t\t##\tZwraca liczbę seryjną określonego czasu.\r\nTIMEVALUE\t\t= CZAS.WARTOŚĆ\t\t\t##\tKonwertuje czas w formie tekstu na liczbę seryjną.\r\nTODAY\t\t\t= DZIŚ\t\t\t\t##\tZwraca liczbę seryjną dla daty bieżącej.\r\nWEEKDAY\t\t\t= DZIEŃ.TYG\t\t\t##\tKonwertuje liczbę seryjną na dzień tygodnia.\r\nWEEKNUM\t\t\t= WEEKNUM\t\t\t##\tKonwertuje liczbę seryjną na liczbę reprezentującą numer tygodnia w roku.\r\nWORKDAY\t\t\t= WORKDAY\t\t\t##\tZwraca liczbę seryjną dla daty przed określoną liczbą dni roboczych lub po niej.\r\nYEAR\t\t\t= ROK\t\t\t\t##\tKonwertuje liczbę seryjną na rok.\r\nYEARFRAC\t\t= YEARFRAC\t\t\t##\tZwraca część roku reprezentowaną przez pełną liczbę dni między datą początkową a datą końcową.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tFunkcje inżynierskie\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tZwraca wartość zmodyfikowanej funkcji Bessela In(x).\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tZwraca wartość funkcji Bessela Jn(x).\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tZwraca wartość zmodyfikowanej funkcji Bessela Kn(x).\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tZwraca wartość funkcji Bessela Yn(x).\r\nBIN2DEC\t\t\t= BIN2DEC\t\t\t##\tKonwertuje liczbę w postaci dwójkowej na liczbę w postaci dziesiętnej.\r\nBIN2HEX\t\t\t= BIN2HEX\t\t\t##\tKonwertuje liczbę w postaci dwójkowej na liczbę w postaci szesnastkowej.\r\nBIN2OCT\t\t\t= BIN2OCT\t\t\t##\tKonwertuje liczbę w postaci dwójkowej na liczbę w postaci ósemkowej.\r\nCOMPLEX\t\t\t= COMPLEX\t\t\t##\tKonwertuje część rzeczywistą i urojoną na liczbę zespoloną.\r\nCONVERT\t\t\t= CONVERT\t\t\t##\tKonwertuje liczbę z jednego systemu miar na inny.\r\nDEC2BIN\t\t\t= DEC2BIN\t\t\t##\tKonwertuje liczbę w postaci dziesiętnej na postać dwójkową.\r\nDEC2HEX\t\t\t= DEC2HEX\t\t\t##\tKonwertuje liczbę w postaci dziesiętnej na liczbę w postaci szesnastkowej.\r\nDEC2OCT\t\t\t= DEC2OCT\t\t\t##\tKonwertuje liczbę w postaci dziesiętnej na liczbę w postaci ósemkowej.\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tSprawdza, czy dwie wartości są równe.\r\nERF\t\t\t= ERF\t\t\t\t##\tZwraca wartość funkcji błędu.\r\nERFC\t\t\t= ERFC\t\t\t\t##\tZwraca wartość komplementarnej funkcji błędu.\r\nGESTEP\t\t\t= GESTEP\t\t\t##\tSprawdza, czy liczba jest większa niż wartość progowa.\r\nHEX2BIN\t\t\t= HEX2BIN\t\t\t##\tKonwertuje liczbę w postaci szesnastkowej na liczbę w postaci dwójkowej.\r\nHEX2DEC\t\t\t= HEX2DEC\t\t\t##\tKonwertuje liczbę w postaci szesnastkowej na liczbę w postaci dziesiętnej.\r\nHEX2OCT\t\t\t= HEX2OCT\t\t\t##\tKonwertuje liczbę w postaci szesnastkowej na liczbę w postaci ósemkowej.\r\nIMABS\t\t\t= IMABS\t\t\t\t##\tZwraca wartość bezwzględną (moduł) liczby zespolonej.\r\nIMAGINARY\t\t= IMAGINARY\t\t\t##\tZwraca wartość części urojonej liczby zespolonej.\r\nIMARGUMENT\t\t= IMARGUMENT\t\t\t##\tZwraca wartość argumentu liczby zespolonej, przy czym kąt wyrażony jest w radianach.\r\nIMCONJUGATE\t\t= IMCONJUGATE\t\t\t##\tZwraca wartość liczby sprzężonej danej liczby zespolonej.\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tZwraca wartość cosinusa liczby zespolonej.\r\nIMDIV\t\t\t= IMDIV\t\t\t\t##\tZwraca wartość ilorazu dwóch liczb zespolonych.\r\nIMEXP\t\t\t= IMEXP\t\t\t\t##\tZwraca postać wykładniczą liczby zespolonej.\r\nIMLN\t\t\t= IMLN\t\t\t\t##\tZwraca wartość logarytmu naturalnego liczby zespolonej.\r\nIMLOG10\t\t\t= IMLOG10\t\t\t##\tZwraca wartość logarytmu dziesiętnego liczby zespolonej.\r\nIMLOG2\t\t\t= IMLOG2\t\t\t##\tZwraca wartość logarytmu liczby zespolonej przy podstawie 2.\r\nIMPOWER\t\t\t= IMPOWER\t\t\t##\tZwraca wartość liczby zespolonej podniesionej do potęgi całkowitej.\r\nIMPRODUCT\t\t= IMPRODUCT\t\t\t##\tZwraca wartość iloczynu liczb zespolonych.\r\nIMREAL\t\t\t= IMREAL\t\t\t##\tZwraca wartość części rzeczywistej liczby zespolonej.\r\nIMSIN\t\t\t= IMSIN\t\t\t\t##\tZwraca wartość sinusa liczby zespolonej.\r\nIMSQRT\t\t\t= IMSQRT\t\t\t##\tZwraca wartość pierwiastka kwadratowego z liczby zespolonej.\r\nIMSUB\t\t\t= IMSUB\t\t\t\t##\tZwraca wartość różnicy dwóch liczb zespolonych.\r\nIMSUM\t\t\t= IMSUM\t\t\t\t##\tZwraca wartość sumy liczb zespolonych.\r\nOCT2BIN\t\t\t= OCT2BIN\t\t\t##\tKonwertuje liczbę w postaci ósemkowej na liczbę w postaci dwójkowej.\r\nOCT2DEC\t\t\t= OCT2DEC\t\t\t##\tKonwertuje liczbę w postaci ósemkowej na liczbę w postaci dziesiętnej.\r\nOCT2HEX\t\t\t= OCT2HEX\t\t\t##\tKonwertuje liczbę w postaci ósemkowej na liczbę w postaci szesnastkowej.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFunkcje finansowe\r\n##\r\nACCRINT\t\t\t= ACCRINT\t\t\t##\tZwraca narosłe odsetki dla papieru wartościowego z oprocentowaniem okresowym.\r\nACCRINTM\t\t= ACCRINTM\t\t\t##\tZwraca narosłe odsetki dla papieru wartościowego z oprocentowaniem w terminie wykupu.\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tZwraca amortyzację dla każdego okresu rozliczeniowego z wykorzystaniem współczynnika amortyzacji.\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tZwraca amortyzację dla każdego okresu rozliczeniowego.\r\nCOUPDAYBS\t\t= COUPDAYBS\t\t\t##\tZwraca liczbę dni od początku okresu dywidendy do dnia rozliczeniowego.\r\nCOUPDAYS\t\t= COUPDAYS\t\t\t##\tZwraca liczbę dni w okresie dywidendy, z uwzględnieniem dnia rozliczeniowego.\r\nCOUPDAYSNC\t\t= COUPDAYSNC\t\t\t##\tZwraca liczbę dni od dnia rozliczeniowego do daty następnego dnia dywidendy.\r\nCOUPNCD\t\t\t= COUPNCD\t\t\t##\tZwraca dzień następnej dywidendy po dniu rozliczeniowym.\r\nCOUPNUM\t\t\t= COUPNUM\t\t\t##\tZwraca liczbę dywidend płatnych między dniem rozliczeniowym a dniem wykupu.\r\nCOUPPCD\t\t\t= COUPPCD\t\t\t##\tZwraca dzień poprzedniej dywidendy przed dniem rozliczeniowym.\r\nCUMIPMT\t\t\t= CUMIPMT\t\t\t##\tZwraca wartość procentu składanego płatnego między dwoma okresami.\r\nCUMPRINC\t\t= CUMPRINC\t\t\t##\tZwraca wartość kapitału skumulowanego spłaty pożyczki między dwoma okresami.\r\nDB\t\t\t= DB\t\t\t\t##\tZwraca amortyzację środka trwałego w danym okresie metodą degresywną z zastosowaniem stałej bazowej.\r\nDDB\t\t\t= DDB\t\t\t\t##\tZwraca amortyzację środka trwałego za podany okres metodą degresywną z zastosowaniem podwójnej bazowej lub metodą określoną przez użytkownika.\r\nDISC\t\t\t= DISC\t\t\t\t##\tZwraca wartość stopy dyskontowej papieru wartościowego.\r\nDOLLARDE\t\t= DOLLARDE\t\t\t##\tKonwertuje cenę w postaci ułamkowej na cenę wyrażoną w postaci dziesiętnej.\r\nDOLLARFR\t\t= DOLLARFR\t\t\t##\tKonwertuje cenę wyrażoną w postaci dziesiętnej na cenę wyrażoną w postaci ułamkowej.\r\nDURATION\t\t= DURATION\t\t\t##\tZwraca wartość rocznego przychodu z papieru wartościowego o okresowych wypłatach oprocentowania.\r\nEFFECT\t\t\t= EFFECT\t\t\t##\tZwraca wartość efektywnej rocznej stopy procentowej.\r\nFV\t\t\t= FV\t\t\t\t##\tZwraca przyszłą wartość lokaty.\r\nFVSCHEDULE\t\t= FVSCHEDULE\t\t\t##\tZwraca przyszłą wartość kapitału początkowego wraz z szeregiem procentów składanych.\r\nINTRATE\t\t\t= INTRATE\t\t\t##\tZwraca wartość stopy procentowej papieru wartościowego całkowicie ulokowanego.\r\nIPMT\t\t\t= IPMT\t\t\t\t##\tZwraca wysokość spłaty oprocentowania lokaty za dany okres.\r\nIRR\t\t\t= IRR\t\t\t\t##\tZwraca wartość wewnętrznej stopy zwrotu dla serii przepływów gotówkowych.\r\nISPMT\t\t\t= ISPMT\t\t\t\t##\tOblicza wysokość spłaty oprocentowania za dany okres lokaty.\r\nMDURATION\t\t= MDURATION\t\t\t##\tZwraca wartość zmodyfikowanego okresu Macauleya dla papieru wartościowego o założonej wartości nominalnej 100 zł.\r\nMIRR\t\t\t= MIRR\t\t\t\t##\tZwraca wartość wewnętrznej stopy zwrotu dla przypadku, gdy dodatnie i ujemne przepływy gotówkowe mają różne stopy.\r\nNOMINAL\t\t\t= NOMINAL\t\t\t##\tZwraca wysokość nominalnej rocznej stopy procentowej.\r\nNPER\t\t\t= NPER\t\t\t\t##\tZwraca liczbę okresów dla lokaty.\r\nNPV\t\t\t= NPV\t\t\t\t##\tZwraca wartość bieżącą netto lokaty na podstawie szeregu okresowych przepływów gotówkowych i stopy dyskontowej.\r\nODDFPRICE\t\t= ODDFPRICE\t\t\t##\tZwraca cenę za 100 zł wartości nominalnej papieru wartościowego z nietypowym pierwszym okresem.\r\nODDFYIELD\t\t= ODDFYIELD\t\t\t##\tZwraca rentowność papieru wartościowego z nietypowym pierwszym okresem.\r\nODDLPRICE\t\t= ODDLPRICE\t\t\t##\tZwraca cenę za 100 zł wartości nominalnej papieru wartościowego z nietypowym ostatnim okresem.\r\nODDLYIELD\t\t= ODDLYIELD\t\t\t##\tZwraca rentowność papieru wartościowego z nietypowym ostatnim okresem.\r\nPMT\t\t\t= PMT\t\t\t\t##\tZwraca wartość okresowej płatności raty rocznej.\r\nPPMT\t\t\t= PPMT\t\t\t\t##\tZwraca wysokość spłaty kapitału w przypadku lokaty dla danego okresu.\r\nPRICE\t\t\t= PRICE\t\t\t\t##\tZwraca cenę za 100 zł wartości nominalnej papieru wartościowego z oprocentowaniem okresowym.\r\nPRICEDISC\t\t= PRICEDISC\t\t\t##\tZwraca cenę za 100 zł wartości nominalnej papieru wartościowego zdyskontowanego.\r\nPRICEMAT\t\t= PRICEMAT\t\t\t##\tZwraca cenę za 100 zł wartości nominalnej papieru wartościowego z oprocentowaniem w terminie wykupu.\r\nPV\t\t\t= PV\t\t\t\t##\tZwraca wartość bieżącą lokaty.\r\nRATE\t\t\t= RATE\t\t\t\t##\tZwraca wysokość stopy procentowej w okresie raty rocznej.\r\nRECEIVED\t\t= RECEIVED\t\t\t##\tZwraca wartość kapitału otrzymanego przy wykupie papieru wartościowego całkowicie ulokowanego.\r\nSLN\t\t\t= SLN\t\t\t\t##\tZwraca amortyzację środka trwałego za jeden okres metodą liniową.\r\nSYD\t\t\t= SYD\t\t\t\t##\tZwraca amortyzację środka trwałego za dany okres metodą sumy cyfr lat amortyzacji.\r\nTBILLEQ\t\t\t= TBILLEQ\t\t\t##\tZwraca rentowność ekwiwalentu obligacji dla bonu skarbowego.\r\nTBILLPRICE\t\t= TBILLPRICE\t\t\t##\tZwraca cenę za 100 zł wartości nominalnej bonu skarbowego.\r\nTBILLYIELD\t\t= TBILLYIELD\t\t\t##\tZwraca rentowność bonu skarbowego.\r\nVDB\t\t\t= VDB\t\t\t\t##\tOblicza amortyzację środka trwałego w danym okresie lub jego części metodą degresywną.\r\nXIRR\t\t\t= XIRR\t\t\t\t##\tZwraca wartość wewnętrznej stopy zwrotu dla serii rozłożonych w czasie przepływów gotówkowych, niekoniecznie okresowych.\r\nXNPV\t\t\t= XNPV\t\t\t\t##\tZwraca wartość bieżącą netto dla serii rozłożonych w czasie przepływów gotówkowych, niekoniecznie okresowych.\r\nYIELD\t\t\t= YIELD\t\t\t\t##\tZwraca rentowność papieru wartościowego z oprocentowaniem okresowym.\r\nYIELDDISC\t\t= YIELDDISC\t\t\t##\tZwraca roczną rentowność zdyskontowanego papieru wartościowego, na przykład bonu skarbowego.\r\nYIELDMAT\t\t= YIELDMAT\t\t\t##\tZwraca roczną rentowność papieru wartościowego oprocentowanego przy wykupie.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tFunkcje informacyjne\r\n##\r\nCELL\t\t\t= KOMÓRKA\t\t\t##\tZwraca informacje o formacie, położeniu lub zawartości komórki.\r\nERROR.TYPE\t\t= NR.BŁĘDU\t\t\t##\tZwraca liczbę odpowiadającą typowi błędu.\r\nINFO\t\t\t= INFO\t\t\t\t##\tZwraca informację o aktualnym środowisku pracy.\r\nISBLANK\t\t\t= CZY.PUSTA\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest pusta.\r\nISERR\t\t\t= CZY.BŁ\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest dowolną wartością błędu, z wyjątkiem #N/D!.\r\nISERROR\t\t\t= CZY.BŁĄD\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest dowolną wartością błędu.\r\nISEVEN\t\t\t= ISEVEN\t\t\t##\tZwraca wartość PRAWDA, jeśli liczba jest parzysta.\r\nISLOGICAL\t\t= CZY.LOGICZNA\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest wartością logiczną.\r\nISNA\t\t\t= CZY.BRAK\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest wartością błędu #N/D!.\r\nISNONTEXT\t\t= CZY.NIE.TEKST\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość nie jest tekstem.\r\nISNUMBER\t\t= CZY.LICZBA\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest liczbą.\r\nISODD\t\t\t= ISODD\t\t\t\t##\tZwraca wartość PRAWDA, jeśli liczba jest nieparzysta.\r\nISREF\t\t\t= CZY.ADR\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest odwołaniem.\r\nISTEXT\t\t\t= CZY.TEKST\t\t\t##\tZwraca wartość PRAWDA, jeśli wartość jest tekstem.\r\nN\t\t\t= L\t\t\t\t##\tZwraca wartość przekonwertowaną na postać liczbową.\r\nNA\t\t\t= BRAK\t\t\t\t##\tZwraca wartość błędu #N/D!.\r\nTYPE\t\t\t= TYP\t\t\t\t##\tZwraca liczbę wskazującą typ danych wartości.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tFunkcje logiczne\r\n##\r\nAND\t\t\t= ORAZ\t\t\t\t##\tZwraca wartość PRAWDA, jeśli wszystkie argumenty mają wartość PRAWDA.\r\nFALSE\t\t\t= FAŁSZ\t\t\t\t##\tZwraca wartość logiczną FAŁSZ.\r\nIF\t\t\t= JEŻELI\t\t\t##\tOkreśla warunek logiczny do sprawdzenia.\r\nIFERROR\t\t\t= JEŻELI.BŁĄD\t\t\t##\tZwraca określoną wartość, jeśli wynikiem obliczenia formuły jest błąd; w przeciwnym przypadku zwraca wynik formuły.\r\nNOT\t\t\t= NIE\t\t\t\t##\tOdwraca wartość logiczną argumentu.\r\nOR\t\t\t= LUB\t\t\t\t##\tZwraca wartość PRAWDA, jeśli co najmniej jeden z argumentów ma wartość PRAWDA.\r\nTRUE\t\t\t= PRAWDA\t\t\t##\tZwraca wartość logiczną PRAWDA.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tFunkcje wyszukiwania i odwołań\r\n##\r\nADDRESS\t\t\t= ADRES\t\t\t\t##\tZwraca odwołanie do jednej komórki w arkuszu jako wartość tekstową.\r\nAREAS\t\t\t= OBSZARY\t\t\t##\tZwraca liczbę obszarów występujących w odwołaniu.\r\nCHOOSE\t\t\t= WYBIERZ\t\t\t##\tWybiera wartość z listy wartości.\r\nCOLUMN\t\t\t= NR.KOLUMNY\t\t\t##\tZwraca numer kolumny z odwołania.\r\nCOLUMNS\t\t\t= LICZBA.KOLUMN\t\t\t##\tZwraca liczbę kolumn dla danego odwołania.\r\nHLOOKUP\t\t\t= WYSZUKAJ.POZIOMO\t\t##\tPrzegląda górny wiersz tablicy i zwraca wartość wskazanej komórki.\r\nHYPERLINK\t\t= HIPERŁĄCZE\t\t\t##\tTworzy skrót lub skok, który pozwala otwierać dokument przechowywany na serwerze sieciowym, w sieci intranet lub w Internecie.\r\nINDEX\t\t\t= INDEKS\t\t\t##\tUżywa indeksu do wybierania wartości z odwołania lub tablicy.\r\nINDIRECT\t\t= ADR.POŚR\t\t\t##\tZwraca odwołanie określone przez wartość tekstową.\r\nLOOKUP\t\t\t= WYSZUKAJ\t\t\t##\tWyszukuje wartości w wektorze lub tablicy.\r\nMATCH\t\t\t= PODAJ.POZYCJĘ\t\t\t##\tWyszukuje wartości w odwołaniu lub w tablicy.\r\nOFFSET\t\t\t= PRZESUNIĘCIE\t\t\t##\tZwraca adres przesunięty od danego odwołania.\r\nROW\t\t\t= WIERSZ\t\t\t##\tZwraca numer wiersza odwołania.\r\nROWS\t\t\t= ILE.WIERSZY\t\t\t##\tZwraca liczbę wierszy dla danego odwołania.\r\nRTD\t\t\t= RTD\t\t\t\t##\tPobiera dane w czasie rzeczywistym z programu obsługującego automatyzację COM (Automatyzacja: Sposób pracy z obiektami aplikacji pochodzącymi z innej aplikacji lub narzędzia projektowania. Nazywana wcześniej Automatyzacją OLE, Automatyzacja jest standardem przemysłowym i funkcją obiektowego modelu składników (COM, Component Object Model).).\r\nTRANSPOSE\t\t= TRANSPONUJ\t\t\t##\tZwraca transponowaną tablicę.\r\nVLOOKUP\t\t\t= WYSZUKAJ.PIONOWO\t\t##\tPrzeszukuje pierwszą kolumnę tablicy i przechodzi wzdłuż wiersza, aby zwrócić wartość komórki.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tFunkcje matematyczne i trygonometryczne\r\n##\r\nABS\t\t\t= MODUŁ.LICZBY\t\t\t##\tZwraca wartość absolutną liczby.\r\nACOS\t\t\t= ACOS\t\t\t\t##\tZwraca arcus cosinus liczby.\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tZwraca arcus cosinus hiperboliczny liczby.\r\nASIN\t\t\t= ASIN\t\t\t\t##\tZwraca arcus sinus liczby.\r\nASINH\t\t\t= ASINH\t\t\t\t##\tZwraca arcus sinus hiperboliczny liczby.\r\nATAN\t\t\t= ATAN\t\t\t\t##\tZwraca arcus tangens liczby.\r\nATAN2\t\t\t= ATAN2\t\t\t\t##\tZwraca arcus tangens liczby na podstawie współrzędnych x i y.\r\nATANH\t\t\t= ATANH\t\t\t\t##\tZwraca arcus tangens hiperboliczny liczby.\r\nCEILING\t\t\t= ZAOKR.W.GÓRĘ\t\t\t##\tZaokrągla liczbę do najbliższej liczby całkowitej lub do najbliższej wielokrotności dokładności.\r\nCOMBIN\t\t\t= KOMBINACJE\t\t\t##\tZwraca liczbę kombinacji dla danej liczby obiektów.\r\nCOS\t\t\t= COS\t\t\t\t##\tZwraca cosinus liczby.\r\nCOSH\t\t\t= COSH\t\t\t\t##\tZwraca cosinus hiperboliczny liczby.\r\nDEGREES\t\t\t= STOPNIE\t\t\t##\tKonwertuje radiany na stopnie.\r\nEVEN\t\t\t= ZAOKR.DO.PARZ\t\t\t##\tZaokrągla liczbę w górę do najbliższej liczby parzystej.\r\nEXP\t\t\t= EXP\t\t\t\t##\tZwraca wartość liczby e podniesionej do potęgi określonej przez podaną liczbę.\r\nFACT\t\t\t= SILNIA\t\t\t##\tZwraca silnię liczby.\r\nFACTDOUBLE\t\t= FACTDOUBLE\t\t\t##\tZwraca podwójną silnię liczby.\r\nFLOOR\t\t\t= ZAOKR.W.DÓŁ\t\t\t##\tZaokrągla liczbę w dół, w kierunku zera.\r\nGCD\t\t\t= GCD\t\t\t\t##\tZwraca największy wspólny dzielnik.\r\nINT\t\t\t= ZAOKR.DO.CAŁK\t\t\t##\tZaokrągla liczbę w dół do najbliższej liczby całkowitej.\r\nLCM\t\t\t= LCM\t\t\t\t##\tZwraca najmniejszą wspólną wielokrotność.\r\nLN\t\t\t= LN\t\t\t\t##\tZwraca logarytm naturalny podanej liczby.\r\nLOG\t\t\t= LOG\t\t\t\t##\tZwraca logarytm danej liczby przy zadanej podstawie.\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tZwraca logarytm dziesiętny liczby.\r\nMDETERM\t\t\t= WYZNACZNIK.MACIERZY\t\t##\tZwraca wyznacznik macierzy tablicy.\r\nMINVERSE\t\t= MACIERZ.ODW\t\t\t##\tZwraca odwrotność macierzy tablicy.\r\nMMULT\t\t\t= MACIERZ.ILOCZYN\t\t##\tZwraca iloczyn macierzy dwóch tablic.\r\nMOD\t\t\t= MOD\t\t\t\t##\tZwraca resztę z dzielenia.\r\nMROUND\t\t\t= MROUND\t\t\t##\tZwraca liczbę zaokrągloną do żądanej wielokrotności.\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t\t##\tZwraca wielomian dla zbioru liczb.\r\nODD\t\t\t= ZAOKR.DO.NPARZ\t\t##\tZaokrągla liczbę w górę do najbliższej liczby nieparzystej.\r\nPI\t\t\t= PI\t\t\t\t##\tZwraca wartość liczby Pi.\r\nPOWER\t\t\t= POTĘGA\t\t\t##\tZwraca liczbę podniesioną do potęgi.\r\nPRODUCT\t\t\t= ILOCZYN\t\t\t##\tMnoży argumenty.\r\nQUOTIENT\t\t= QUOTIENT\t\t\t##\tZwraca iloraz (całkowity).\r\nRADIANS\t\t\t= RADIANY\t\t\t##\tKonwertuje stopnie na radiany.\r\nRAND\t\t\t= LOS\t\t\t\t##\tZwraca liczbę pseudolosową z zakresu od 0 do 1.\r\nRANDBETWEEN\t\t= RANDBETWEEN\t\t\t##\tZwraca liczbę pseudolosową z zakresu określonego przez podane argumenty.\r\nROMAN\t\t\t= RZYMSKIE\t\t\t##\tKonwertuje liczbę arabską na rzymską jako tekst.\r\nROUND\t\t\t= ZAOKR\t\t\t\t##\tZaokrągla liczbę do określonej liczby cyfr.\r\nROUNDDOWN\t\t= ZAOKR.DÓŁ\t\t\t##\tZaokrągla liczbę w dół, w kierunku zera.\r\nROUNDUP\t\t\t= ZAOKR.GÓRA\t\t\t##\tZaokrągla liczbę w górę, w kierunku od zera.\r\nSERIESSUM\t\t= SERIESSUM\t\t\t##\tZwraca sumę szeregu potęgowego na podstawie wzoru.\r\nSIGN\t\t\t= ZNAK.LICZBY\t\t\t##\tZwraca znak liczby.\r\nSIN\t\t\t= SIN\t\t\t\t##\tZwraca sinus danego kąta.\r\nSINH\t\t\t= SINH\t\t\t\t##\tZwraca sinus hiperboliczny liczby.\r\nSQRT\t\t\t= PIERWIASTEK\t\t\t##\tZwraca dodatni pierwiastek kwadratowy.\r\nSQRTPI\t\t\t= SQRTPI\t\t\t##\tZwraca pierwiastek kwadratowy iloczynu (liczba * Pi).\r\nSUBTOTAL\t\t= SUMY.POŚREDNIE\t\t##\tZwraca sumę częściową listy lub bazy danych.\r\nSUM\t\t\t= SUMA\t\t\t\t##\tDodaje argumenty.\r\nSUMIF\t\t\t= SUMA.JEŻELI\t\t\t##\tDodaje komórki określone przez podane kryterium.\r\nSUMIFS\t\t\t= SUMA.WARUNKÓW\t\t\t##\tDodaje komórki w zakresie, które spełniają wiele kryteriów.\r\nSUMPRODUCT\t\t= SUMA.ILOCZYNÓW\t\t##\tZwraca sumę iloczynów odpowiednich elementów tablicy.\r\nSUMSQ\t\t\t= SUMA.KWADRATÓW\t\t##\tZwraca sumę kwadratów argumentów.\r\nSUMX2MY2\t\t= SUMA.X2.M.Y2\t\t\t##\tZwraca sumę różnic kwadratów odpowiednich wartości w dwóch tablicach.\r\nSUMX2PY2\t\t= SUMA.X2.P.Y2\t\t\t##\tZwraca sumę sum kwadratów odpowiednich wartości w dwóch tablicach.\r\nSUMXMY2\t\t\t= SUMA.XMY.2\t\t\t##\tZwraca sumę kwadratów różnic odpowiednich wartości w dwóch tablicach.\r\nTAN\t\t\t= TAN\t\t\t\t##\tZwraca tangens liczby.\r\nTANH\t\t\t= TANH\t\t\t\t##\tZwraca tangens hiperboliczny liczby.\r\nTRUNC\t\t\t= LICZBA.CAŁK\t\t\t##\tPrzycina liczbę do wartości całkowitej.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tFunkcje statystyczne\r\n##\r\nAVEDEV\t\t\t= ODCH.ŚREDNIE\t\t\t##\tZwraca średnią wartość odchyleń absolutnych punktów danych od ich wartości średniej.\r\nAVERAGE\t\t\t= ŚREDNIA\t\t\t##\tZwraca wartość średnią argumentów.\r\nAVERAGEA\t\t= ŚREDNIA.A\t\t\t##\tZwraca wartość średnią argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych.\r\nAVERAGEIF\t\t= ŚREDNIA.JEŻELI\t\t##\tZwraca średnią (średnią arytmetyczną) wszystkich komórek w zakresie, które spełniają podane kryteria.\r\nAVERAGEIFS\t\t= ŚREDNIA.WARUNKÓW\t\t##\tZwraca średnią (średnią arytmetyczną) wszystkich komórek, które spełniają jedno lub więcej kryteriów.\r\nBETADIST\t\t= ROZKŁAD.BETA\t\t\t##\tZwraca skumulowaną funkcję gęstości prawdopodobieństwa beta.\r\nBETAINV\t\t\t= ROZKŁAD.BETA.ODW\t\t##\tZwraca odwrotność skumulowanej funkcji gęstości prawdopodobieństwa beta.\r\nBINOMDIST\t\t= ROZKŁAD.DWUM\t\t\t##\tZwraca pojedynczy składnik dwumianowego rozkładu prawdopodobieństwa.\r\nCHIDIST\t\t\t= ROZKŁAD.CHI\t\t\t##\tZwraca wartość jednostronnego prawdopodobieństwa rozkładu chi-kwadrat.\r\nCHIINV\t\t\t= ROZKŁAD.CHI.ODW\t\t##\tZwraca odwrotność wartości jednostronnego prawdopodobieństwa rozkładu chi-kwadrat.\r\nCHITEST\t\t\t= TEST.CHI\t\t\t##\tZwraca test niezależności.\r\nCONFIDENCE\t\t= UFNOŚĆ\t\t\t##\tZwraca interwał ufności dla średniej populacji.\r\nCORREL\t\t\t= WSP.KORELACJI\t\t\t##\tZwraca współczynnik korelacji dwóch zbiorów danych.\r\nCOUNT\t\t\t= ILE.LICZB\t\t\t##\tZlicza liczby znajdujące się na liście argumentów.\r\nCOUNTA\t\t\t= ILE.NIEPUSTYCH\t\t##\tZlicza wartości znajdujące się na liście argumentów.\r\nCOUNTBLANK\t\t= LICZ.PUSTE\t\t\t##\tZwraca liczbę pustych komórek w pewnym zakresie.\r\nCOUNTIF\t\t\t= LICZ.JEŻELI\t\t\t##\tZlicza komórki wewnątrz zakresu, które spełniają podane kryteria.\r\nCOUNTIFS\t\t= LICZ.WARUNKI\t\t\t##\tZlicza komórki wewnątrz zakresu, które spełniają wiele kryteriów.\r\nCOVAR\t\t\t= KOWARIANCJA\t\t\t##\tZwraca kowariancję, czyli średnią wartość iloczynów odpowiednich odchyleń.\r\nCRITBINOM\t\t= PRÓG.ROZKŁAD.DWUM\t\t##\tZwraca najmniejszą wartość, dla której skumulowany rozkład dwumianowy jest mniejszy niż wartość kryterium lub równy jej.\r\nDEVSQ\t\t\t= ODCH.KWADRATOWE\t\t##\tZwraca sumę kwadratów odchyleń.\r\nEXPONDIST\t\t= ROZKŁAD.EXP\t\t\t##\tZwraca rozkład wykładniczy.\r\nFDIST\t\t\t= ROZKŁAD.F\t\t\t##\tZwraca rozkład prawdopodobieństwa F.\r\nFINV\t\t\t= ROZKŁAD.F.ODW\t\t\t##\tZwraca odwrotność rozkładu prawdopodobieństwa F.\r\nFISHER\t\t\t= ROZKŁAD.FISHER\t\t##\tZwraca transformację Fishera.\r\nFISHERINV\t\t= ROZKŁAD.FISHER.ODW\t\t##\tZwraca odwrotność transformacji Fishera.\r\nFORECAST\t\t= REGLINX\t\t\t##\tZwraca wartość trendu liniowego.\r\nFREQUENCY\t\t= CZĘSTOŚĆ\t\t\t##\tZwraca rozkład częstotliwości jako tablicę pionową.\r\nFTEST\t\t\t= TEST.F\t\t\t##\tZwraca wynik testu F.\r\nGAMMADIST\t\t= ROZKŁAD.GAMMA\t\t\t##\tZwraca rozkład gamma.\r\nGAMMAINV\t\t= ROZKŁAD.GAMMA.ODW\t\t##\tZwraca odwrotność skumulowanego rozkładu gamma.\r\nGAMMALN\t\t\t= ROZKŁAD.LIN.GAMMA\t\t##\tZwraca logarytm naturalny funkcji gamma, Γ(x).\r\nGEOMEAN\t\t\t= ŚREDNIA.GEOMETRYCZNA\t\t##\tZwraca średnią geometryczną.\r\nGROWTH\t\t\t= REGEXPW\t\t\t##\tZwraca wartości trendu wykładniczego.\r\nHARMEAN\t\t\t= ŚREDNIA.HARMONICZNA\t\t##\tZwraca średnią harmoniczną.\r\nHYPGEOMDIST\t\t= ROZKŁAD.HIPERGEOM\t\t##\tZwraca rozkład hipergeometryczny.\r\nINTERCEPT\t\t= ODCIĘTA\t\t\t##\tZwraca punkt przecięcia osi pionowej z linią regresji liniowej.\r\nKURT\t\t\t= KURTOZA\t\t\t##\tZwraca kurtozę zbioru danych.\r\nLARGE\t\t\t= MAX.K\t\t\t\t##\tZwraca k-tą największą wartość ze zbioru danych.\r\nLINEST\t\t\t= REGLINP\t\t\t##\tZwraca parametry trendu liniowego.\r\nLOGEST\t\t\t= REGEXPP\t\t\t##\tZwraca parametry trendu wykładniczego.\r\nLOGINV\t\t\t= ROZKŁAD.LOG.ODW\t\t##\tZwraca odwrotność rozkładu logarytmu naturalnego.\r\nLOGNORMDIST\t\t= ROZKŁAD.LOG\t\t\t##\tZwraca skumulowany rozkład logarytmu naturalnego.\r\nMAX\t\t\t= MAX\t\t\t\t##\tZwraca maksymalną wartość listy argumentów.\r\nMAXA\t\t\t= MAX.A\t\t\t\t##\tZwraca maksymalną wartość listy argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych.\r\nMEDIAN\t\t\t= MEDIANA\t\t\t##\tZwraca medianę podanych liczb.\r\nMIN\t\t\t= MIN\t\t\t\t##\tZwraca minimalną wartość listy argumentów.\r\nMINA\t\t\t= MIN.A\t\t\t\t##\tZwraca najmniejszą wartość listy argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych.\r\nMODE\t\t\t= WYST.NAJCZĘŚCIEJ\t\t##\tZwraca wartość najczęściej występującą w zbiorze danych.\r\nNEGBINOMDIST\t\t= ROZKŁAD.DWUM.PRZEC\t\t##\tZwraca ujemny rozkład dwumianowy.\r\nNORMDIST\t\t= ROZKŁAD.NORMALNY\t\t##\tZwraca rozkład normalny skumulowany.\r\nNORMINV\t\t\t= ROZKŁAD.NORMALNY.ODW\t\t##\tZwraca odwrotność rozkładu normalnego skumulowanego.\r\nNORMSDIST\t\t= ROZKŁAD.NORMALNY.S\t\t##\tZwraca standardowy rozkład normalny skumulowany.\r\nNORMSINV\t\t= ROZKŁAD.NORMALNY.S.ODW\t##\tZwraca odwrotność standardowego rozkładu normalnego skumulowanego.\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tZwraca współczynnik korelacji momentu iloczynu Pearsona.\r\nPERCENTILE\t\t= PERCENTYL\t\t\t##\tWyznacza k-ty percentyl wartości w zakresie.\r\nPERCENTRANK\t\t= PROCENT.POZYCJA\t\t##\tZwraca procentową pozycję wartości w zbiorze danych.\r\nPERMUT\t\t\t= PERMUTACJE\t\t\t##\tZwraca liczbę permutacji dla danej liczby obiektów.\r\nPOISSON\t\t\t= ROZKŁAD.POISSON\t\t##\tZwraca rozkład Poissona.\r\nPROB\t\t\t= PRAWDPD\t\t\t##\tZwraca prawdopodobieństwo, że wartości w zakresie leżą pomiędzy dwiema granicami.\r\nQUARTILE\t\t= KWARTYL\t\t\t##\tWyznacza kwartyl zbioru danych.\r\nRANK\t\t\t= POZYCJA\t\t\t##\tZwraca pozycję liczby na liście liczb.\r\nRSQ\t\t\t= R.KWADRAT\t\t\t##\tZwraca kwadrat współczynnika korelacji momentu iloczynu Pearsona.\r\nSKEW\t\t\t= SKOŚNOŚĆ\t\t\t##\tZwraca skośność rozkładu.\r\nSLOPE\t\t\t= NACHYLENIE\t\t\t##\tZwraca nachylenie linii regresji liniowej.\r\nSMALL\t\t\t= MIN.K\t\t\t\t##\tZwraca k-tą najmniejszą wartość ze zbioru danych.\r\nSTANDARDIZE\t\t= NORMALIZUJ\t\t\t##\tZwraca wartość znormalizowaną.\r\nSTDEV\t\t\t= ODCH.STANDARDOWE\t\t##\tSzacuje odchylenie standardowe na podstawie próbki.\r\nSTDEVA\t\t\t= ODCH.STANDARDOWE.A\t\t##\tSzacuje odchylenie standardowe na podstawie próbki, z uwzględnieniem liczb, tekstów i wartości logicznych.\r\nSTDEVP\t\t\t= ODCH.STANDARD.POPUL\t\t##\tOblicza odchylenie standardowe na podstawie całej populacji.\r\nSTDEVPA\t\t\t= ODCH.STANDARD.POPUL.A\t\t##\tOblicza odchylenie standardowe na podstawie całej populacji, z uwzględnieniem liczb, teksów i wartości logicznych.\r\nSTEYX\t\t\t= REGBŁSTD\t\t\t##\tZwraca błąd standardowy przewidzianej wartości y dla każdej wartości x w regresji.\r\nTDIST\t\t\t= ROZKŁAD.T\t\t\t##\tZwraca rozkład t-Studenta.\r\nTINV\t\t\t= ROZKŁAD.T.ODW\t\t\t##\tZwraca odwrotność rozkładu t-Studenta.\r\nTREND\t\t\t= REGLINW\t\t\t##\tZwraca wartości trendu liniowego.\r\nTRIMMEAN\t\t= ŚREDNIA.WEWN\t\t\t##\tZwraca średnią wartość dla wnętrza zbioru danych.\r\nTTEST\t\t\t= TEST.T\t\t\t##\tZwraca prawdopodobieństwo związane z testem t-Studenta.\r\nVAR\t\t\t= WARIANCJA\t\t\t##\tSzacuje wariancję na podstawie próbki.\r\nVARA\t\t\t= WARIANCJA.A\t\t\t##\tSzacuje wariancję na podstawie próbki, z uwzględnieniem liczb, tekstów i wartości logicznych.\r\nVARP\t\t\t= WARIANCJA.POPUL\t\t##\tOblicza wariancję na podstawie całej populacji.\r\nVARPA\t\t\t= WARIANCJA.POPUL.A\t\t##\tOblicza wariancję na podstawie całej populacji, z uwzględnieniem liczb, tekstów i wartości logicznych.\r\nWEIBULL\t\t\t= ROZKŁAD.WEIBULL\t\t##\tZwraca rozkład Weibulla.\r\nZTEST\t\t\t= TEST.Z\t\t\t##\tZwraca wartość jednostronnego prawdopodobieństwa testu z.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tFunkcje tekstowe\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tZamienia litery angielskie lub katakana o pełnej szerokości (dwubajtowe) w ciągu znaków na znaki o szerokości połówkowej (jednobajtowe).\r\nBAHTTEXT\t\t= BAHTTEXT\t\t\t##\tKonwertuje liczbę na tekst, stosując format walutowy ß (baht).\r\nCHAR\t\t\t= ZNAK\t\t\t\t##\tZwraca znak o podanym numerze kodu.\r\nCLEAN\t\t\t= OCZYŚĆ\t\t\t##\tUsuwa z tekstu wszystkie znaki, które nie mogą być drukowane.\r\nCODE\t\t\t= KOD\t\t\t\t##\tZwraca kod numeryczny pierwszego znaku w ciągu tekstowym.\r\nCONCATENATE\t\t= ZŁĄCZ.TEKSTY\t\t\t##\tŁączy kilka oddzielnych tekstów w jeden tekst.\r\nDOLLAR\t\t\t= KWOTA\t\t\t\t##\tKonwertuje liczbę na tekst, stosując format walutowy $ (dolar).\r\nEXACT\t\t\t= PORÓWNAJ\t\t\t##\tSprawdza identyczność dwóch wartości tekstowych.\r\nFIND\t\t\t= ZNAJDŹ\t\t\t##\tZnajduje jedną wartość tekstową wewnątrz innej (z uwzględnieniem wielkich i małych liter).\r\nFINDB\t\t\t= ZNAJDŹB\t\t\t##\tZnajduje jedną wartość tekstową wewnątrz innej (z uwzględnieniem wielkich i małych liter).\r\nFIXED\t\t\t= ZAOKR.DO.TEKST\t\t##\tFormatuje liczbę jako tekst przy stałej liczbie miejsc dziesiętnych.\r\nJIS\t\t\t= JIS\t\t\t\t##\tZmienia litery angielskie lub katakana o szerokości połówkowej (jednobajtowe) w ciągu znaków na znaki o pełnej szerokości (dwubajtowe).\r\nLEFT\t\t\t= LEWY\t\t\t\t##\tZwraca skrajne lewe znaki z wartości tekstowej.\r\nLEFTB\t\t\t= LEWYB\t\t\t\t##\tZwraca skrajne lewe znaki z wartości tekstowej.\r\nLEN\t\t\t= DŁ\t\t\t\t##\tZwraca liczbę znaków ciągu tekstowego.\r\nLENB\t\t\t= DŁ.B\t\t\t\t##\tZwraca liczbę znaków ciągu tekstowego.\r\nLOWER\t\t\t= LITERY.MAŁE\t\t\t##\tKonwertuje wielkie litery tekstu na małe litery.\r\nMID\t\t\t= FRAGMENT.TEKSTU\t\t##\tZwraca określoną liczbę znaków z ciągu tekstowego, zaczynając od zadanej pozycji.\r\nMIDB\t\t\t= FRAGMENT.TEKSTU.B\t\t##\tZwraca określoną liczbę znaków z ciągu tekstowego, zaczynając od zadanej pozycji.\r\nPHONETIC\t\t= PHONETIC\t\t\t##\tWybiera znaki fonetyczne (furigana) z ciągu tekstowego.\r\nPROPER\t\t\t= Z.WIELKIEJ.LITERY\t\t##\tZastępuje pierwszą literę każdego wyrazu tekstu wielką literą.\r\nREPLACE\t\t\t= ZASTĄP\t\t\t##\tZastępuje znaki w tekście.\r\nREPLACEB\t\t= ZASTĄP.B\t\t\t##\tZastępuje znaki w tekście.\r\nREPT\t\t\t= POWT\t\t\t\t##\tPowiela tekst daną liczbę razy.\r\nRIGHT\t\t\t= PRAWY\t\t\t\t##\tZwraca skrajne prawe znaki z wartości tekstowej.\r\nRIGHTB\t\t\t= PRAWYB\t\t\t##\tZwraca skrajne prawe znaki z wartości tekstowej.\r\nSEARCH\t\t\t= SZUKAJ.TEKST\t\t\t##\tWyszukuje jedną wartość tekstową wewnątrz innej (bez uwzględniania wielkości liter).\r\nSEARCHB\t\t\t= SZUKAJ.TEKST.B\t\t##\tWyszukuje jedną wartość tekstową wewnątrz innej (bez uwzględniania wielkości liter).\r\nSUBSTITUTE\t\t= PODSTAW\t\t\t##\tPodstawia nowy tekst w miejsce poprzedniego tekstu w ciągu tekstowym.\r\nT\t\t\t= T\t\t\t\t##\tKonwertuje argumenty na tekst.\r\nTEXT\t\t\t= TEKST\t\t\t\t##\tFormatuje liczbę i konwertuje ją na tekst.\r\nTRIM\t\t\t= USUŃ.ZBĘDNE.ODSTĘPY\t\t##\tUsuwa spacje z tekstu.\r\nUPPER\t\t\t= LITERY.WIELKIE\t\t##\tKonwertuje znaki tekstu na wielkie litery.\r\nVALUE\t\t\t= WARTOŚĆ\t\t\t##\tKonwertuje argument tekstowy na liczbę.\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/pt/br/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= R$\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NULO!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #VALOR!\r\nREF\t= #REF!\r\nNAME\t= #NOME?\r\nNUM\t= #NÚM!\r\nNA\t= #N/D\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/pt/br/functions",
    "content": "##\r\n##\tAdd-in and Automation functions\t\t\tFunções Suplemento e Automação\r\n##\r\nGETPIVOTDATA\t\t= INFODADOSTABELADINÂMICA\t##\tRetorna os dados armazenados em um relatório de tabela dinâmica\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tFunções de Cubo\r\n##\r\nCUBEKPIMEMBER\t\t= MEMBROKPICUBO\t\t\t##\tRetorna o nome de um KPI (indicador de desempenho-chave), uma propriedade e uma medida e exibe o nome e a propriedade na célula. Um KPI é uma medida quantificável, como o lucro bruto mensal ou a rotatividade trimestral dos funcionários, usada para monitorar o desempenho de uma organização.\r\nCUBEMEMBER\t\t= MEMBROCUBO\t\t\t##\tRetorna um membro ou tupla em uma hierarquia de cubo. Use para validar se o membro ou tupla existe no cubo.\r\nCUBEMEMBERPROPERTY\t= PROPRIEDADEMEMBROCUBO\t\t##\tRetorna o valor da propriedade de um membro no cubo. Usada para validar a existência do nome do membro no cubo e para retornar a propriedade especificada para esse membro.\r\nCUBERANKEDMEMBER\t= MEMBROCLASSIFICADOCUBO\t##\tRetorna o enésimo membro, ou o membro ordenado, em um conjunto. Use para retornar um ou mais elementos em um conjunto, assim como o melhor vendedor ou os dez melhores alunos.\r\nCUBESET\t\t\t= CONJUNTOCUBO\t\t\t##\tDefine um conjunto calculado de membros ou tuplas enviando uma expressão do conjunto para o cubo no servidor, que cria o conjunto e o retorna para o Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= CONTAGEMCONJUNTOCUBO\t\t##\tRetorna o número de itens em um conjunto.\r\nCUBEVALUE\t\t= VALORCUBO\t\t\t##\tRetorna um valor agregado de um cubo.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tFunções de banco de dados\r\n##\r\nDAVERAGE\t\t= BDMÉDIA\t\t\t##\tRetorna a média das entradas selecionadas de um banco de dados\r\nDCOUNT\t\t\t= BDCONTAR\t\t\t##\tConta as células que contêm números em um banco de dados\r\nDCOUNTA\t\t\t= BDCONTARA\t\t\t##\tConta células não vazias em um banco de dados\r\nDGET\t\t\t= BDEXTRAIR\t\t\t##\tExtrai de um banco de dados um único registro que corresponde a um critério específico\r\nDMAX\t\t\t= BDMÁX\t\t\t\t##\tRetorna o valor máximo de entradas selecionadas de um banco de dados\r\nDMIN\t\t\t= BDMÍN\t\t\t\t##\tRetorna o valor mínimo de entradas selecionadas de um banco de dados\r\nDPRODUCT\t\t= BDMULTIPL\t\t\t##\tMultiplica os valores em um campo específico de registros que correspondem ao critério em um banco de dados\r\nDSTDEV\t\t\t= BDEST\t\t\t\t##\tEstima o desvio padrão com base em uma amostra de entradas selecionadas de um banco de dados\r\nDSTDEVP\t\t\t= BDDESVPA\t\t\t##\tCalcula o desvio padrão com base na população inteira de entradas selecionadas de um banco de dados\r\nDSUM\t\t\t= BDSOMA\t\t\t##\tAdiciona os números à coluna de campos de registros do banco de dados que correspondem ao critério\r\nDVAR\t\t\t= BDVAREST\t\t\t##\tEstima a variância com base em uma amostra de entradas selecionadas de um banco de dados\r\nDVARP\t\t\t= BDVARP\t\t\t##\tCalcula a variância com base na população inteira de entradas selecionadas de um banco de dados\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tFunções de data e hora\r\n##\r\nDATE\t\t\t= DATA\t\t\t\t##\tRetorna o número de série de uma data específica\r\nDATEVALUE\t\t= DATA.VALOR\t\t\t##\tConverte uma data na forma de texto para um número de série\r\nDAY\t\t\t= DIA\t\t\t\t##\tConverte um número de série em um dia do mês\r\nDAYS360\t\t\t= DIAS360\t\t\t##\tCalcula o número de dias entre duas datas com base em um ano de 360 dias\r\nEDATE\t\t\t= DATAM\t\t\t\t##\tRetorna o número de série da data que é o número indicado de meses antes ou depois da data inicial\r\nEOMONTH\t\t\t= FIMMÊS\t\t\t##\tRetorna o número de série do último dia do mês antes ou depois de um número especificado de meses\r\nHOUR\t\t\t= HORA\t\t\t\t##\tConverte um número de série em uma hora\r\nMINUTE\t\t\t= MINUTO\t\t\t##\tConverte um número de série em um minuto\r\nMONTH\t\t\t= MÊS\t\t\t\t##\tConverte um número de série em um mês\r\nNETWORKDAYS\t\t= DIATRABALHOTOTAL\t\t##\tRetorna o número de dias úteis inteiros entre duas datas\r\nNOW\t\t\t= AGORA\t\t\t\t##\tRetorna o número de série seqüencial da data e hora atuais\r\nSECOND\t\t\t= SEGUNDO\t\t\t##\tConverte um número de série em um segundo\r\nTIME\t\t\t= HORA\t\t\t\t##\tRetorna o número de série de uma hora específica\r\nTIMEVALUE\t\t= VALOR.TEMPO\t\t\t##\tConverte um horário na forma de texto para um número de série\r\nTODAY\t\t\t= HOJE\t\t\t\t##\tRetorna o número de série da data de hoje\r\nWEEKDAY\t\t\t= DIA.DA.SEMANA\t\t\t##\tConverte um número de série em um dia da semana\r\nWEEKNUM\t\t\t= NÚMSEMANA\t\t\t##\tConverte um número de série em um número que representa onde a semana cai numericamente em um ano\r\nWORKDAY\t\t\t= DIATRABALHO\t\t\t##\tRetorna o número de série da data antes ou depois de um número específico de dias úteis\r\nYEAR\t\t\t= ANO\t\t\t\t##\tConverte um número de série em um ano\r\nYEARFRAC\t\t= FRAÇÃOANO\t\t\t##\tRetorna a fração do ano que representa o número de dias entre data_inicial e data_final\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tFunções de engenharia\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tRetorna a função de Bessel In(x) modificada\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tRetorna a função de Bessel Jn(x)\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tRetorna a função de Bessel Kn(x) modificada\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tRetorna a função de Bessel Yn(x)\r\nBIN2DEC\t\t\t= BIN2DEC\t\t\t##\tConverte um número binário em decimal\r\nBIN2HEX\t\t\t= BIN2HEX\t\t\t##\tConverte um número binário em hexadecimal\r\nBIN2OCT\t\t\t= BIN2OCT\t\t\t##\tConverte um número binário em octal\r\nCOMPLEX\t\t\t= COMPLEX\t\t\t##\tConverte coeficientes reais e imaginários e um número complexo\r\nCONVERT\t\t\t= CONVERTER\t\t\t##\tConverte um número de um sistema de medida para outro\r\nDEC2BIN\t\t\t= DECABIN\t\t\t##\tConverte um número decimal em binário\r\nDEC2HEX\t\t\t= DECAHEX\t\t\t##\tConverte um número decimal em hexadecimal\r\nDEC2OCT\t\t\t= DECAOCT\t\t\t##\tConverte um número decimal em octal\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tTesta se dois valores são iguais\r\nERF\t\t\t= FUNERRO\t\t\t##\tRetorna a função de erro\r\nERFC\t\t\t= FUNERROCOMPL\t\t\t##\tRetorna a função de erro complementar\r\nGESTEP\t\t\t= DEGRAU\t\t\t##\tTesta se um número é maior do que um valor limite\r\nHEX2BIN\t\t\t= HEXABIN\t\t\t##\tConverte um número hexadecimal em binário\r\nHEX2DEC\t\t\t= HEXADEC\t\t\t##\tConverte um número hexadecimal em decimal\r\nHEX2OCT\t\t\t= HEXAOCT\t\t\t##\tConverte um número hexadecimal em octal\r\nIMABS\t\t\t= IMABS\t\t\t\t##\tRetorna o valor absoluto (módulo) de um número complexo\r\nIMAGINARY\t\t= IMAGINÁRIO\t\t\t##\tRetorna o coeficiente imaginário de um número complexo\r\nIMARGUMENT\t\t= IMARG\t\t\t\t##\tRetorna o argumento teta, um ângulo expresso em radianos\r\nIMCONJUGATE\t\t= IMCONJ\t\t\t##\tRetorna o conjugado complexo de um número complexo\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tRetorna o cosseno de um número complexo\r\nIMDIV\t\t\t= IMDIV\t\t\t\t##\tRetorna o quociente de dois números complexos\r\nIMEXP\t\t\t= IMEXP\t\t\t\t##\tRetorna o exponencial de um número complexo\r\nIMLN\t\t\t= IMLN\t\t\t\t##\tRetorna o logaritmo natural de um número complexo\r\nIMLOG10\t\t\t= IMLOG10\t\t\t##\tRetorna o logaritmo de base 10 de um número complexo\r\nIMLOG2\t\t\t= IMLOG2\t\t\t##\tRetorna o logaritmo de base 2 de um número complexo\r\nIMPOWER\t\t\t= IMPOT\t\t\t\t##\tRetorna um número complexo elevado a uma potência inteira\r\nIMPRODUCT\t\t= IMPROD\t\t\t##\tRetorna o produto de números complexos\r\nIMREAL\t\t\t= IMREAL\t\t\t##\tRetorna o coeficiente real de um número complexo\r\nIMSIN\t\t\t= IMSENO\t\t\t##\tRetorna o seno de um número complexo\r\nIMSQRT\t\t\t= IMRAIZ\t\t\t##\tRetorna a raiz quadrada de um número complexo\r\nIMSUB\t\t\t= IMSUBTR\t\t\t##\tRetorna a diferença entre dois números complexos\r\nIMSUM\t\t\t= IMSOMA\t\t\t##\tRetorna a soma de números complexos\r\nOCT2BIN\t\t\t= OCTABIN\t\t\t##\tConverte um número octal em binário\r\nOCT2DEC\t\t\t= OCTADEC\t\t\t##\tConverte um número octal em decimal\r\nOCT2HEX\t\t\t= OCTAHEX\t\t\t##\tConverte um número octal em hexadecimal\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFunções financeiras\r\n##\r\nACCRINT\t\t\t= JUROSACUM\t\t\t##\tRetorna a taxa de juros acumulados de um título que paga uma taxa periódica de juros\r\nACCRINTM\t\t= JUROSACUMV\t\t\t##\tRetorna os juros acumulados de um título que paga juros no vencimento\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tRetorna a depreciação para cada período contábil usando o coeficiente de depreciação\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tRetorna a depreciação para cada período contábil\r\nCOUPDAYBS\t\t= CUPDIASINLIQ\t\t\t##\tRetorna o número de dias do início do período de cupom até a data de liquidação\r\nCOUPDAYS\t\t= CUPDIAS\t\t\t##\tRetorna o número de dias no período de cupom que contém a data de quitação\r\nCOUPDAYSNC\t\t= CUPDIASPRÓX\t\t\t##\tRetorna o número de dias da data de liquidação até a data do próximo cupom\r\nCOUPNCD\t\t\t= CUPDATAPRÓX\t\t\t##\tRetorna a próxima data de cupom após a data de quitação\r\nCOUPNUM\t\t\t= CUPNÚM\t\t\t##\tRetorna o número de cupons pagáveis entre as datas de quitação e vencimento\r\nCOUPPCD\t\t\t= CUPDATAANT\t\t\t##\tRetorna a data de cupom anterior à data de quitação\r\nCUMIPMT\t\t\t= PGTOJURACUM\t\t\t##\tRetorna os juros acumulados pagos entre dois períodos\r\nCUMPRINC\t\t= PGTOCAPACUM\t\t\t##\tRetorna o capital acumulado pago sobre um empréstimo entre dois períodos\r\nDB\t\t\t= BD\t\t\t\t##\tRetorna a depreciação de um ativo para um período especificado, usando o método de balanço de declínio fixo\r\nDDB\t\t\t= BDD\t\t\t\t##\tRetorna a depreciação de um ativo com relação a um período especificado usando o método de saldos decrescentes duplos ou qualquer outro método especificado por você\r\nDISC\t\t\t= DESC\t\t\t\t##\tRetorna a taxa de desconto de um título\r\nDOLLARDE\t\t= MOEDADEC\t\t\t##\tConverte um preço em formato de moeda, na forma fracionária, em um preço na forma decimal\r\nDOLLARFR\t\t= MOEDAFRA\t\t\t##\tConverte um preço, apresentado na forma decimal, em um preço apresentado na forma fracionária\r\nDURATION\t\t= DURAÇÃO\t\t\t##\tRetorna a duração anual de um título com pagamentos de juros periódicos\r\nEFFECT\t\t\t= EFETIVA\t\t\t##\tRetorna a taxa de juros anual efetiva\r\nFV\t\t\t= VF\t\t\t\t##\tRetorna o valor futuro de um investimento\r\nFVSCHEDULE\t\t= VFPLANO\t\t\t##\tRetorna o valor futuro de um capital inicial após a aplicação de uma série de taxas de juros compostas\r\nINTRATE\t\t\t= TAXAJUROS\t\t\t##\tRetorna a taxa de juros de um título totalmente investido\r\nIPMT\t\t\t= IPGTO\t\t\t\t##\tRetorna o pagamento de juros para um investimento em um determinado período\r\nIRR\t\t\t= TIR\t\t\t\t##\tRetorna a taxa interna de retorno de uma série de fluxos de caixa\r\nISPMT\t\t\t= ÉPGTO\t\t\t\t##\tCalcula os juros pagos durante um período específico de um investimento\r\nMDURATION\t\t= MDURAÇÃO\t\t\t##\tRetorna a duração de Macauley modificada para um título com um valor de paridade equivalente a R$ 100\r\nMIRR\t\t\t= MTIR\t\t\t\t##\tCalcula a taxa interna de retorno em que fluxos de caixa positivos e negativos são financiados com diferentes taxas\r\nNOMINAL\t\t\t= NOMINAL\t\t\t##\tRetorna a taxa de juros nominal anual\r\nNPER\t\t\t= NPER\t\t\t\t##\tRetorna o número de períodos de um investimento\r\nNPV\t\t\t= VPL\t\t\t\t##\tRetorna o valor líquido atual de um investimento com base em uma série de fluxos de caixa periódicos e em uma taxa de desconto\r\nODDFPRICE\t\t= PREÇOPRIMINC\t\t\t##\tRetorna o preço por R$ 100 de valor nominal de um título com um primeiro período indefinido\r\nODDFYIELD\t\t= LUCROPRIMINC\t\t\t##\tRetorna o rendimento de um título com um primeiro período indefinido\r\nODDLPRICE\t\t= PREÇOÚLTINC\t\t\t##\tRetorna o preço por R$ 100 de valor nominal de um título com um último período de cupom indefinido\r\nODDLYIELD\t\t= LUCROÚLTINC\t\t\t##\tRetorna o rendimento de um título com um último período indefinido\r\nPMT\t\t\t= PGTO\t\t\t\t##\tRetorna o pagamento periódico de uma anuidade\r\nPPMT\t\t\t= PPGTO\t\t\t\t##\tRetorna o pagamento de capital para determinado período de investimento\r\nPRICE\t\t\t= PREÇO\t\t\t\t##\tRetorna a preço por R$ 100,00 de valor nominal de um título que paga juros periódicos\r\nPRICEDISC\t\t= PREÇODESC\t\t\t##\tRetorna o preço por R$ 100,00 de valor nominal de um título descontado\r\nPRICEMAT\t\t= PREÇOVENC\t\t\t##\tRetorna o preço por R$ 100,00 de valor nominal de um título que paga juros no vencimento\r\nPV\t\t\t= VP\t\t\t\t##\tRetorna o valor presente de um investimento\r\nRATE\t\t\t= TAXA\t\t\t\t##\tRetorna a taxa de juros por período de uma anuidade\r\nRECEIVED\t\t= RECEBER\t\t\t##\tRetorna a quantia recebida no vencimento de um título totalmente investido\r\nSLN\t\t\t= DPD\t\t\t\t##\tRetorna a depreciação em linha reta de um ativo durante um período\r\nSYD\t\t\t= SDA\t\t\t\t##\tRetorna a depreciação dos dígitos da soma dos anos de um ativo para um período especificado\r\nTBILLEQ\t\t\t= OTN\t\t\t\t##\tRetorna o rendimento de um título equivalente a uma obrigação do Tesouro\r\nTBILLPRICE\t\t= OTNVALOR\t\t\t##\tRetorna o preço por R$ 100,00 de valor nominal de uma obrigação do Tesouro\r\nTBILLYIELD\t\t= OTNLUCRO\t\t\t##\tRetorna o rendimento de uma obrigação do Tesouro\r\nVDB\t\t\t= BDV\t\t\t\t##\tRetorna a depreciação de um ativo para um período especificado ou parcial usando um método de balanço declinante\r\nXIRR\t\t\t= XTIR\t\t\t\t##\tFornece a taxa interna de retorno para um programa de fluxos de caixa que não é necessariamente periódico\r\nXNPV\t\t\t= XVPL\t\t\t\t##\tRetorna o valor presente líquido de um programa de fluxos de caixa que não é necessariamente periódico\r\nYIELD\t\t\t= LUCRO\t\t\t\t##\tRetorna o lucro de um título que paga juros periódicos\r\nYIELDDISC\t\t= LUCRODESC\t\t\t##\tRetorna o rendimento anual de um título descontado. Por exemplo, uma obrigação do Tesouro\r\nYIELDMAT\t\t= LUCROVENC\t\t\t##\tRetorna o lucro anual de um título que paga juros no vencimento\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tFunções de informação\r\n##\r\nCELL\t\t\t= CÉL\t\t\t\t##\tRetorna informações sobre formatação, localização ou conteúdo de uma célula\r\nERROR.TYPE\t\t= TIPO.ERRO\t\t\t##\tRetorna um número correspondente a um tipo de erro\r\nINFO\t\t\t= INFORMAÇÃO\t\t\t##\tRetorna informações sobre o ambiente operacional atual\r\nISBLANK\t\t\t= ÉCÉL.VAZIA\t\t\t##\tRetorna VERDADEIRO se o valor for vazio\r\nISERR\t\t\t= ÉERRO\t\t\t\t##\tRetorna VERDADEIRO se o valor for um valor de erro diferente de #N/D\r\nISERROR\t\t\t= ÉERROS\t\t\t##\tRetorna VERDADEIRO se o valor for um valor de erro\r\nISEVEN\t\t\t= ÉPAR\t\t\t\t##\tRetorna VERDADEIRO se o número for par\r\nISLOGICAL\t\t= ÉLÓGICO\t\t\t##\tRetorna VERDADEIRO se o valor for um valor lógico\r\nISNA\t\t\t= É.NÃO.DISP\t\t\t##\tRetorna VERDADEIRO se o valor for o valor de erro #N/D\r\nISNONTEXT\t\t= É.NÃO.TEXTO\t\t\t##\tRetorna VERDADEIRO se o valor for diferente de texto\r\nISNUMBER\t\t= ÉNÚM\t\t\t\t##\tRetorna VERDADEIRO se o valor for um número\r\nISODD\t\t\t= ÉIMPAR\t\t\t##\tRetorna VERDADEIRO se o número for ímpar\r\nISREF\t\t\t= ÉREF\t\t\t\t##\tRetorna VERDADEIRO se o valor for uma referência\r\nISTEXT\t\t\t= ÉTEXTO\t\t\t##\tRetorna VERDADEIRO se o valor for texto\r\nN\t\t\t= N\t\t\t\t##\tRetorna um valor convertido em um número\r\nNA\t\t\t= NÃO.DISP\t\t\t##\tRetorna o valor de erro #N/D\r\nTYPE\t\t\t= TIPO\t\t\t\t##\tRetorna um número indicando o tipo de dados de um valor\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tFunções lógicas\r\n##\r\nAND\t\t\t= E\t\t\t\t##\tRetorna VERDADEIRO se todos os seus argumentos forem VERDADEIROS\r\nFALSE\t\t\t= FALSO\t\t\t\t##\tRetorna o valor lógico FALSO\r\nIF\t\t\t= SE\t\t\t\t##\tEspecifica um teste lógico a ser executado\r\nIFERROR\t\t\t= SEERRO\t\t\t##\tRetornará um valor que você especifica se uma fórmula for avaliada para um erro; do contrário, retornará o resultado da fórmula\r\nNOT\t\t\t= NÃO\t\t\t\t##\tInverte o valor lógico do argumento\r\nOR\t\t\t= OU\t\t\t\t##\tRetorna VERDADEIRO se um dos argumentos for VERDADEIRO\r\nTRUE\t\t\t= VERDADEIRO\t\t\t##\tRetorna o valor lógico VERDADEIRO\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tFunções de pesquisa e referência\r\n##\r\nADDRESS\t\t\t= ENDEREÇO\t\t\t##\tRetorna uma referência como texto para uma única célula em uma planilha\r\nAREAS\t\t\t= ÁREAS\t\t\t\t##\tRetorna o número de áreas em uma referência\r\nCHOOSE\t\t\t= ESCOLHER\t\t\t##\tEscolhe um valor a partir de uma lista de valores\r\nCOLUMN\t\t\t= COL\t\t\t\t##\tRetorna o número da coluna de uma referência\r\nCOLUMNS\t\t\t= COLS\t\t\t\t##\tRetorna o número de colunas em uma referência\r\nHLOOKUP\t\t\t= PROCH\t\t\t\t##\tProcura na linha superior de uma matriz e retorna o valor da célula especificada\r\nHYPERLINK\t\t= HYPERLINK\t\t\t##\tCria um atalho ou salto que abre um documento armazenado em um servidor de rede, uma intranet ou na Internet\r\nINDEX\t\t\t= ÍNDICE\t\t\t##\tUsa um índice para escolher um valor de uma referência ou matriz\r\nINDIRECT\t\t= INDIRETO\t\t\t##\tRetorna uma referência indicada por um valor de texto\r\nLOOKUP\t\t\t= PROC\t\t\t\t##\tProcura valores em um vetor ou em uma matriz\r\nMATCH\t\t\t= CORRESP\t\t\t##\tProcura valores em uma referência ou em uma matriz\r\nOFFSET\t\t\t= DESLOC\t\t\t##\tRetorna um deslocamento de referência com base em uma determinada referência\r\nROW\t\t\t= LIN\t\t\t\t##\tRetorna o número da linha de uma referência\r\nROWS\t\t\t= LINS\t\t\t\t##\tRetorna o número de linhas em uma referência\r\nRTD\t\t\t= RTD\t\t\t\t##\tRecupera dados em tempo real de um programa que ofereça suporte a automação COM (automação: uma forma de trabalhar com objetos de um aplicativo a partir de outro aplicativo ou ferramenta de desenvolvimento. Chamada inicialmente de automação OLE, a automação é um padrão industrial e um recurso do modelo de objeto componente (COM).)\r\nTRANSPOSE\t\t= TRANSPOR\t\t\t##\tRetorna a transposição de uma matriz\r\nVLOOKUP\t\t\t= PROCV\t\t\t\t##\tProcura na primeira coluna de uma matriz e move ao longo da linha para retornar o valor de uma célula\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tFunções matemáticas e trigonométricas\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tRetorna o valor absoluto de um número\r\nACOS\t\t\t= ACOS\t\t\t\t##\tRetorna o arco cosseno de um número\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tRetorna o cosseno hiperbólico inverso de um número\r\nASIN\t\t\t= ASEN\t\t\t\t##\tRetorna o arco seno de um número\r\nASINH\t\t\t= ASENH\t\t\t\t##\tRetorna o seno hiperbólico inverso de um número\r\nATAN\t\t\t= ATAN\t\t\t\t##\tRetorna o arco tangente de um número\r\nATAN2\t\t\t= ATAN2\t\t\t\t##\tRetorna o arco tangente das coordenadas x e y especificadas\r\nATANH\t\t\t= ATANH\t\t\t\t##\tRetorna a tangente hiperbólica inversa de um número\r\nCEILING\t\t\t= TETO\t\t\t\t##\tArredonda um número para o inteiro mais próximo ou para o múltiplo mais próximo de significância\r\nCOMBIN\t\t\t= COMBIN\t\t\t##\tRetorna o número de combinações de um determinado número de objetos\r\nCOS\t\t\t= COS\t\t\t\t##\tRetorna o cosseno de um número\r\nCOSH\t\t\t= COSH\t\t\t\t##\tRetorna o cosseno hiperbólico de um número\r\nDEGREES\t\t\t= GRAUS\t\t\t\t##\tConverte radianos em graus\r\nEVEN\t\t\t= PAR\t\t\t\t##\tArredonda um número para cima até o inteiro par mais próximo\r\nEXP\t\t\t= EXP\t\t\t\t##\tRetorna e elevado à potência de um número especificado\r\nFACT\t\t\t= FATORIAL\t\t\t##\tRetorna o fatorial de um número\r\nFACTDOUBLE\t\t= FATDUPLO\t\t\t##\tRetorna o fatorial duplo de um número\r\nFLOOR\t\t\t= ARREDMULTB\t\t\t##\tArredonda um número para baixo até zero\r\nGCD\t\t\t= MDC\t\t\t\t##\tRetorna o máximo divisor comum\r\nINT\t\t\t= INT\t\t\t\t##\tArredonda um número para baixo até o número inteiro mais próximo\r\nLCM\t\t\t= MMC\t\t\t\t##\tRetorna o mínimo múltiplo comum\r\nLN\t\t\t= LN\t\t\t\t##\tRetorna o logaritmo natural de um número\r\nLOG\t\t\t= LOG\t\t\t\t##\tRetorna o logaritmo de um número de uma base especificada\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tRetorna o logaritmo de base 10 de um número\r\nMDETERM\t\t\t= MATRIZ.DETERM\t\t\t##\tRetorna o determinante de uma matriz de uma variável do tipo matriz\r\nMINVERSE\t\t= MATRIZ.INVERSO\t\t##\tRetorna a matriz inversa de uma matriz\r\nMMULT\t\t\t= MATRIZ.MULT\t\t\t##\tRetorna o produto de duas matrizes\r\nMOD\t\t\t= RESTO\t\t\t\t##\tRetorna o resto da divisão\r\nMROUND\t\t\t= MARRED\t\t\t##\tRetorna um número arredondado ao múltiplo desejado\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t\t##\tRetorna o multinomial de um conjunto de números\r\nODD\t\t\t= ÍMPAR\t\t\t\t##\tArredonda um número para cima até o inteiro ímpar mais próximo\r\nPI\t\t\t= PI\t\t\t\t##\tRetorna o valor de Pi\r\nPOWER\t\t\t= POTÊNCIA\t\t\t##\tFornece o resultado de um número elevado a uma potência\r\nPRODUCT\t\t\t= MULT\t\t\t\t##\tMultiplica seus argumentos\r\nQUOTIENT\t\t= QUOCIENTE\t\t\t##\tRetorna a parte inteira de uma divisão\r\nRADIANS\t\t\t= RADIANOS\t\t\t##\tConverte graus em radianos\r\nRAND\t\t\t= ALEATÓRIO\t\t\t##\tRetorna um número aleatório entre 0 e 1\r\nRANDBETWEEN\t\t= ALEATÓRIOENTRE\t\t##\tRetorna um número aleatório entre os números especificados\r\nROMAN\t\t\t= ROMANO\t\t\t##\tConverte um algarismo arábico em romano, como texto\r\nROUND\t\t\t= ARRED\t\t\t\t##\tArredonda um número até uma quantidade especificada de dígitos\r\nROUNDDOWN\t\t= ARREDONDAR.PARA.BAIXO\t\t##\tArredonda um número para baixo até zero\r\nROUNDUP\t\t\t= ARREDONDAR.PARA.CIMA\t\t##\tArredonda um número para cima, afastando-o de zero\r\nSERIESSUM\t\t= SOMASEQÜÊNCIA\t\t\t##\tRetorna a soma de uma série polinomial baseada na fórmula\r\nSIGN\t\t\t= SINAL\t\t\t\t##\tRetorna o sinal de um número\r\nSIN\t\t\t= SEN\t\t\t\t##\tRetorna o seno de um ângulo dado\r\nSINH\t\t\t= SENH\t\t\t\t##\tRetorna o seno hiperbólico de um número\r\nSQRT\t\t\t= RAIZ\t\t\t\t##\tRetorna uma raiz quadrada positiva\r\nSQRTPI\t\t\t= RAIZPI\t\t\t##\tRetorna a raiz quadrada de (núm* pi)\r\nSUBTOTAL\t\t= SUBTOTAL\t\t\t##\tRetorna um subtotal em uma lista ou em um banco de dados\r\nSUM\t\t\t= SOMA\t\t\t\t##\tSoma seus argumentos\r\nSUMIF\t\t\t= SOMASE\t\t\t##\tAdiciona as células especificadas por um determinado critério\r\nSUMIFS\t\t\t= SOMASE\t\t\t##\tAdiciona as células em um intervalo que atende a vários critérios\r\nSUMPRODUCT\t\t= SOMARPRODUTO\t\t\t##\tRetorna a soma dos produtos de componentes correspondentes de matrizes\r\nSUMSQ\t\t\t= SOMAQUAD\t\t\t##\tRetorna a soma dos quadrados dos argumentos\r\nSUMX2MY2\t\t= SOMAX2DY2\t\t\t##\tRetorna a soma da diferença dos quadrados dos valores correspondentes em duas matrizes\r\nSUMX2PY2\t\t= SOMAX2SY2\t\t\t##\tRetorna a soma da soma dos quadrados dos valores correspondentes em duas matrizes\r\nSUMXMY2\t\t\t= SOMAXMY2\t\t\t##\tRetorna a soma dos quadrados das diferenças dos valores correspondentes em duas matrizes\r\nTAN\t\t\t= TAN\t\t\t\t##\tRetorna a tangente de um número\r\nTANH\t\t\t= TANH\t\t\t\t##\tRetorna a tangente hiperbólica de um número\r\nTRUNC\t\t\t= TRUNCAR\t\t\t##\tTrunca um número para um inteiro\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tFunções estatísticas\r\n##\r\nAVEDEV\t\t\t= DESV.MÉDIO\t\t\t##\tRetorna a média aritmética dos desvios médios dos pontos de dados a partir de sua média\r\nAVERAGE\t\t\t= MÉDIA\t\t\t\t##\tRetorna a média dos argumentos\r\nAVERAGEA\t\t= MÉDIAA\t\t\t##\tRetorna a média dos argumentos, inclusive números, texto e valores lógicos\r\nAVERAGEIF\t\t= MÉDIASE\t\t\t##\tRetorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério\r\nAVERAGEIFS\t\t= MÉDIASES\t\t\t##\tRetorna a média (média aritmética) de todas as células que atendem a múltiplos critérios.\r\nBETADIST\t\t= DISTBETA\t\t\t##\tRetorna a função de distribuição cumulativa beta\r\nBETAINV\t\t\t= BETA.ACUM.INV\t\t\t##\tRetorna o inverso da função de distribuição cumulativa para uma distribuição beta especificada\r\nBINOMDIST\t\t= DISTRBINOM\t\t\t##\tRetorna a probabilidade de distribuição binomial do termo individual\r\nCHIDIST\t\t\t= DIST.QUI\t\t\t##\tRetorna a probabilidade unicaudal da distribuição qui-quadrada\r\nCHIINV\t\t\t= INV.QUI\t\t\t##\tRetorna o inverso da probabilidade uni-caudal da distribuição qui-quadrada\r\nCHITEST\t\t\t= TESTE.QUI\t\t\t##\tRetorna o teste para independência\r\nCONFIDENCE\t\t= INT.CONFIANÇA\t\t\t##\tRetorna o intervalo de confiança para uma média da população\r\nCORREL\t\t\t= CORREL\t\t\t##\tRetorna o coeficiente de correlação entre dois conjuntos de dados\r\nCOUNT\t\t\t= CONT.NÚM\t\t\t##\tCalcula quantos números há na lista de argumentos\r\nCOUNTA\t\t\t= CONT.VALORES\t\t\t##\tCalcula quantos valores há na lista de argumentos\r\nCOUNTBLANK\t\t= CONTAR.VAZIO\t\t\t##\tConta o número de células vazias no intervalo especificado\r\nCOUNTIF\t\t\t= CONT.SE\t\t\t##\tCalcula o número de células não vazias em um intervalo que corresponde a determinados critérios\r\nCOUNTIFS\t\t= CONT.SES\t\t\t##\tConta o número de células dentro de um intervalo que atende a múltiplos critérios\r\nCOVAR\t\t\t= COVAR\t\t\t\t##\tRetorna a covariância, a média dos produtos dos desvios pares\r\nCRITBINOM\t\t= CRIT.BINOM\t\t\t##\tRetorna o menor valor para o qual a distribuição binomial cumulativa é menor ou igual ao valor padrão\r\nDEVSQ\t\t\t= DESVQ\t\t\t\t##\tRetorna a soma dos quadrados dos desvios\r\nEXPONDIST\t\t= DISTEXPON\t\t\t##\tRetorna a distribuição exponencial\r\nFDIST\t\t\t= DISTF\t\t\t\t##\tRetorna a distribuição de probabilidade F\r\nFINV\t\t\t= INVF\t\t\t\t##\tRetorna o inverso da distribuição de probabilidades F\r\nFISHER\t\t\t= FISHER\t\t\t##\tRetorna a transformação Fisher\r\nFISHERINV\t\t= FISHERINV\t\t\t##\tRetorna o inverso da transformação Fisher\r\nFORECAST\t\t= PREVISÃO\t\t\t##\tRetorna um valor ao longo de uma linha reta\r\nFREQUENCY\t\t= FREQÜÊNCIA\t\t\t##\tRetorna uma distribuição de freqüência como uma matriz vertical\r\nFTEST\t\t\t= TESTEF\t\t\t##\tRetorna o resultado de um teste F\r\nGAMMADIST\t\t= DISTGAMA\t\t\t##\tRetorna a distribuição gama\r\nGAMMAINV\t\t= INVGAMA\t\t\t##\tRetorna o inverso da distribuição cumulativa gama\r\nGAMMALN\t\t\t= LNGAMA\t\t\t##\tRetorna o logaritmo natural da função gama, G(x)\r\nGEOMEAN\t\t\t= MÉDIA.GEOMÉTRICA\t\t##\tRetorna a média geométrica\r\nGROWTH\t\t\t= CRESCIMENTO\t\t\t##\tRetorna valores ao longo de uma tendência exponencial\r\nHARMEAN\t\t\t= MÉDIA.HARMÔNICA\t\t##\tRetorna a média harmônica\r\nHYPGEOMDIST\t\t= DIST.HIPERGEOM\t\t##\tRetorna a distribuição hipergeométrica\r\nINTERCEPT\t\t= INTERCEPÇÃO\t\t\t##\tRetorna a intercepção da linha de regressão linear\r\nKURT\t\t\t= CURT\t\t\t\t##\tRetorna a curtose de um conjunto de dados\r\nLARGE\t\t\t= MAIOR\t\t\t\t##\tRetorna o maior valor k-ésimo de um conjunto de dados\r\nLINEST\t\t\t= PROJ.LIN\t\t\t##\tRetorna os parâmetros de uma tendência linear\r\nLOGEST\t\t\t= PROJ.LOG\t\t\t##\tRetorna os parâmetros de uma tendência exponencial\r\nLOGINV\t\t\t= INVLOG\t\t\t##\tRetorna o inverso da distribuição lognormal\r\nLOGNORMDIST\t\t= DIST.LOGNORMAL\t\t##\tRetorna a distribuição lognormal cumulativa\r\nMAX\t\t\t= MÁXIMO\t\t\t##\tRetorna o valor máximo em uma lista de argumentos\r\nMAXA\t\t\t= MÁXIMOA\t\t\t##\tRetorna o maior valor em uma lista de argumentos, inclusive números, texto e valores lógicos\r\nMEDIAN\t\t\t= MED\t\t\t\t##\tRetorna a mediana dos números indicados\r\nMIN\t\t\t= MÍNIMO\t\t\t##\tRetorna o valor mínimo em uma lista de argumentos\r\nMINA\t\t\t= MÍNIMOA\t\t\t##\tRetorna o menor valor em uma lista de argumentos, inclusive números, texto e valores lógicos\r\nMODE\t\t\t= MODO\t\t\t\t##\tRetorna o valor mais comum em um conjunto de dados\r\nNEGBINOMDIST\t\t= DIST.BIN.NEG\t\t\t##\tRetorna a distribuição binomial negativa\r\nNORMDIST\t\t= DIST.NORM\t\t\t##\tRetorna a distribuição cumulativa normal\r\nNORMINV\t\t\t= INV.NORM\t\t\t##\tRetorna o inverso da distribuição cumulativa normal\r\nNORMSDIST\t\t= DIST.NORMP\t\t\t##\tRetorna a distribuição cumulativa normal padrão\r\nNORMSINV\t\t= INV.NORMP\t\t\t##\tRetorna o inverso da distribuição cumulativa normal padrão\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tRetorna o coeficiente de correlação do momento do produto Pearson\r\nPERCENTILE\t\t= PERCENTIL\t\t\t##\tRetorna o k-ésimo percentil de valores em um intervalo\r\nPERCENTRANK\t\t= ORDEM.PORCENTUAL\t\t##\tRetorna a ordem percentual de um valor em um conjunto de dados\r\nPERMUT\t\t\t= PERMUT\t\t\t##\tRetorna o número de permutações de um determinado número de objetos\r\nPOISSON\t\t\t= POISSON\t\t\t##\tRetorna a distribuição Poisson\r\nPROB\t\t\t= PROB\t\t\t\t##\tRetorna a probabilidade de valores em um intervalo estarem entre dois limites\r\nQUARTILE\t\t= QUARTIL\t\t\t##\tRetorna o quartil do conjunto de dados\r\nRANK\t\t\t= ORDEM\t\t\t\t##\tRetorna a posição de um número em uma lista de números\r\nRSQ\t\t\t= RQUAD\t\t\t\t##\tRetorna o quadrado do coeficiente de correlação do momento do produto de Pearson\r\nSKEW\t\t\t= DISTORÇÃO\t\t\t##\tRetorna a distorção de uma distribuição\r\nSLOPE\t\t\t= INCLINAÇÃO\t\t\t##\tRetorna a inclinação da linha de regressão linear\r\nSMALL\t\t\t= MENOR\t\t\t\t##\tRetorna o menor valor k-ésimo do conjunto de dados\r\nSTANDARDIZE\t\t= PADRONIZAR\t\t\t##\tRetorna um valor normalizado\r\nSTDEV\t\t\t= DESVPAD\t\t\t##\tEstima o desvio padrão com base em uma amostra\r\nSTDEVA\t\t\t= DESVPADA\t\t\t##\tEstima o desvio padrão com base em uma amostra, inclusive números, texto e valores lógicos\r\nSTDEVP\t\t\t= DESVPADP\t\t\t##\tCalcula o desvio padrão com base na população total\r\nSTDEVPA\t\t\t= DESVPADPA\t\t\t##\tCalcula o desvio padrão com base na população total, inclusive números, texto e valores lógicos\r\nSTEYX\t\t\t= EPADYX\t\t\t##\tRetorna o erro padrão do valor-y previsto para cada x da regressão\r\nTDIST\t\t\t= DISTT\t\t\t\t##\tRetorna a distribuição t de Student\r\nTINV\t\t\t= INVT\t\t\t\t##\tRetorna o inverso da distribuição t de Student\r\nTREND\t\t\t= TENDÊNCIA\t\t\t##\tRetorna valores ao longo de uma tendência linear\r\nTRIMMEAN\t\t= MÉDIA.INTERNA\t\t\t##\tRetorna a média do interior de um conjunto de dados\r\nTTEST\t\t\t= TESTET\t\t\t##\tRetorna a probabilidade associada ao teste t de Student\r\nVAR\t\t\t= VAR\t\t\t\t##\tEstima a variância com base em uma amostra\r\nVARA\t\t\t= VARA\t\t\t\t##\tEstima a variância com base em uma amostra, inclusive números, texto e valores lógicos\r\nVARP\t\t\t= VARP\t\t\t\t##\tCalcula a variância com base na população inteira\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tCalcula a variância com base na população total, inclusive números, texto e valores lógicos\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tRetorna a distribuição Weibull\r\nZTEST\t\t\t= TESTEZ\t\t\t##\tRetorna o valor de probabilidade uni-caudal de um teste-z\r\n\r\n\r\n##\r\n##\tText functions\t\t\tFunções de texto\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tAltera letras do inglês ou katakana de largura total (bytes duplos) dentro de uma seqüência de caracteres para caracteres de meia largura (byte único)\r\nBAHTTEXT\t\t= BAHTTEXT\t\t\t##\tConverte um número em um texto, usando o formato de moeda ß (baht)\r\nCHAR\t\t\t= CARACT\t\t\t##\tRetorna o caractere especificado pelo número de código\r\nCLEAN\t\t\t= TIRAR\t\t\t\t##\tRemove todos os caracteres do texto que não podem ser impressos\r\nCODE\t\t\t= CÓDIGO\t\t\t##\tRetorna um código numérico para o primeiro caractere de uma seqüência de caracteres de texto\r\nCONCATENATE\t\t= CONCATENAR\t\t\t##\tAgrupa vários itens de texto em um único item de texto\r\nDOLLAR\t\t\t= MOEDA\t\t\t\t##\tConverte um número em texto, usando o formato de moeda $ (dólar)\r\nEXACT\t\t\t= EXATO\t\t\t\t##\tVerifica se dois valores de texto são idênticos\r\nFIND\t\t\t= PROCURAR\t\t\t##\tProcura um valor de texto dentro de outro (diferencia maiúsculas de minúsculas)\r\nFINDB\t\t\t= PROCURARB\t\t\t##\tProcura um valor de texto dentro de outro (diferencia maiúsculas de minúsculas)\r\nFIXED\t\t\t= DEF.NÚM.DEC\t\t\t##\tFormata um número como texto com um número fixo de decimais\r\nJIS\t\t\t= JIS\t\t\t\t##\tAltera letras do inglês ou katakana de meia largura (byte único) dentro de uma seqüência de caracteres para caracteres de largura total (bytes duplos)\r\nLEFT\t\t\t= ESQUERDA\t\t\t##\tRetorna os caracteres mais à esquerda de um valor de texto\r\nLEFTB\t\t\t= ESQUERDAB\t\t\t##\tRetorna os caracteres mais à esquerda de um valor de texto\r\nLEN\t\t\t= NÚM.CARACT\t\t\t##\tRetorna o número de caracteres em uma seqüência de texto\r\nLENB\t\t\t= NÚM.CARACTB\t\t\t##\tRetorna o número de caracteres em uma seqüência de texto\r\nLOWER\t\t\t= MINÚSCULA\t\t\t##\tConverte texto para minúsculas\r\nMID\t\t\t= EXT.TEXTO\t\t\t##\tRetorna um número específico de caracteres de uma seqüência de texto começando na posição especificada\r\nMIDB\t\t\t= EXT.TEXTOB\t\t\t##\tRetorna um número específico de caracteres de uma seqüência de texto começando na posição especificada\r\nPHONETIC\t\t= FONÉTICA\t\t\t##\tExtrai os caracteres fonéticos (furigana) de uma seqüência de caracteres de texto\r\nPROPER\t\t\t= PRI.MAIÚSCULA\t\t\t##\tColoca a primeira letra de cada palavra em maiúscula em um valor de texto\r\nREPLACE\t\t\t= MUDAR\t\t\t\t##\tMuda os caracteres dentro do texto\r\nREPLACEB\t\t= MUDARB\t\t\t##\tMuda os caracteres dentro do texto\r\nREPT\t\t\t= REPT\t\t\t\t##\tRepete o texto um determinado número de vezes\r\nRIGHT\t\t\t= DIREITA\t\t\t##\tRetorna os caracteres mais à direita de um valor de texto\r\nRIGHTB\t\t\t= DIREITAB\t\t\t##\tRetorna os caracteres mais à direita de um valor de texto\r\nSEARCH\t\t\t= LOCALIZAR\t\t\t##\tLocaliza um valor de texto dentro de outro (não diferencia maiúsculas de minúsculas)\r\nSEARCHB\t\t\t= LOCALIZARB\t\t\t##\tLocaliza um valor de texto dentro de outro (não diferencia maiúsculas de minúsculas)\r\nSUBSTITUTE\t\t= SUBSTITUIR\t\t\t##\tSubstitui um novo texto por um texto antigo em uma seqüência de texto\r\nT\t\t\t= T\t\t\t\t##\tConverte os argumentos em texto\r\nTEXT\t\t\t= TEXTO\t\t\t\t##\tFormata um número e o converte em texto\r\nTRIM\t\t\t= ARRUMAR\t\t\t##\tRemove espaços do texto\r\nUPPER\t\t\t= MAIÚSCULA\t\t\t##\tConverte o texto em maiúsculas\r\nVALUE\t\t\t= VALOR\t\t\t\t##\tConverte um argumento de texto em um número\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/pt/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= €\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #NULO!\r\nDIV0\t= #DIV/0!\r\nVALUE\t= #VALOR!\r\nREF\t= #REF!\r\nNAME\t= #NOME?\r\nNUM\t= #NÚM!\r\nNA\t= #N/D\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/pt/functions",
    "content": "##\r\n##\tAdd-in and Automation functions\t\t\tFunções de Suplemento e Automatização\r\n##\r\nGETPIVOTDATA\t\t= OBTERDADOSDIN\t\t\t##\tDevolve dados armazenados num relatório de Tabela Dinâmica\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tFunções de cubo\r\n##\r\nCUBEKPIMEMBER\t\t= MEMBROKPICUBO\t\t\t##\tDevolve o nome, propriedade e medição de um KPI (key performance indicator) e apresenta o nome e a propriedade na célula. Um KPI é uma medida quantificável, como, por exemplo, o lucro mensal bruto ou a rotatividade trimestral de pessoal, utilizada para monitorizar o desempenho de uma organização.\r\nCUBEMEMBER\t\t= MEMBROCUBO\t\t\t##\tDevolve um membro ou cadeia de identificação numa hierarquia de cubo. Utilizada para validar a existência do membro ou cadeia de identificação no cubo.\r\nCUBEMEMBERPROPERTY\t= PROPRIEDADEMEMBROCUBO\t\t##\tDevolve o valor de uma propriedade de membro no cubo. Utilizada para validar a existência de um nome de membro no cubo e para devolver a propriedade especificada para esse membro.\r\nCUBERANKEDMEMBER\t= MEMBROCLASSIFICADOCUBO\t##\tDevolve o enésimo ou a classificação mais alta num conjunto. Utilizada para devolver um ou mais elementos num conjunto, tal como o melhor vendedor ou os 10 melhores alunos.\r\nCUBESET\t\t\t= CONJUNTOCUBO\t\t\t##\tDefine um conjunto calculado de membros ou cadeias de identificação enviando uma expressão de conjunto para o cubo no servidor, que cria o conjunto e, em seguida, devolve o conjunto ao Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= CONTARCONJUNTOCUBO\t\t##\tDevolve o número de itens num conjunto.\r\nCUBEVALUE\t\t= VALORCUBO\t\t\t##\tDevolve um valor agregado do cubo.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tFunções de base de dados\r\n##\r\nDAVERAGE\t\t= BDMÉDIA\t\t\t##\tDevolve a média das entradas da base de dados seleccionadas\r\nDCOUNT\t\t\t= BDCONTAR\t\t\t##\tConta as células que contêm números numa base de dados\r\nDCOUNTA\t\t\t= BDCONTAR.VAL\t\t\t##\tConta as células que não estejam em branco numa base de dados\r\nDGET\t\t\t= BDOBTER\t\t\t##\tExtrai de uma base de dados um único registo que corresponde aos critérios especificados\r\nDMAX\t\t\t= BDMÁX\t\t\t\t##\tDevolve o valor máximo das entradas da base de dados seleccionadas\r\nDMIN\t\t\t= BDMÍN\t\t\t\t##\tDevolve o valor mínimo das entradas da base de dados seleccionadas\r\nDPRODUCT\t\t= BDMULTIPL\t\t\t##\tMultiplica os valores de um determinado campo de registos que correspondem aos critérios numa base de dados\r\nDSTDEV\t\t\t= BDDESVPAD\t\t\t##\tCalcula o desvio-padrão com base numa amostra de entradas da base de dados seleccionadas\r\nDSTDEVP\t\t\t= BDDESVPADP\t\t\t##\tCalcula o desvio-padrão com base na população total das entradas da base de dados seleccionadas\r\nDSUM\t\t\t= BDSOMA\t\t\t##\tAdiciona os números na coluna de campo dos registos de base de dados que correspondem aos critérios\r\nDVAR\t\t\t= BDVAR\t\t\t\t##\tCalcula a variância com base numa amostra das entradas de base de dados seleccionadas\r\nDVARP\t\t\t= BDVARP\t\t\t##\tCalcula a variância com base na população total das entradas de base de dados seleccionadas\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tFunções de data e hora\r\n##\r\nDATE\t\t\t= DATA\t\t\t\t##\tDevolve o número de série de uma determinada data\r\nDATEVALUE\t\t= DATA.VALOR\t\t\t##\tConverte uma data em forma de texto num número de série\r\nDAY\t\t\t= DIA\t\t\t\t##\tConverte um número de série num dia do mês\r\nDAYS360\t\t\t= DIAS360\t\t\t##\tCalcula o número de dias entre duas datas com base num ano com 360 dias\r\nEDATE\t\t\t= DATAM\t\t\t\t##\tDevolve um número de série de data que corresponde ao número de meses indicado antes ou depois da data de início\r\nEOMONTH\t\t\t= FIMMÊS\t\t\t##\tDevolve o número de série do último dia do mês antes ou depois de um número de meses especificado\r\nHOUR\t\t\t= HORA\t\t\t\t##\tConverte um número de série numa hora\r\nMINUTE\t\t\t= MINUTO\t\t\t##\tConverte um número de série num minuto\r\nMONTH\t\t\t= MÊS\t\t\t\t##\tConverte um número de série num mês\r\nNETWORKDAYS\t\t= DIATRABALHOTOTAL\t\t##\tDevolve o número total de dias úteis entre duas datas\r\nNOW\t\t\t= AGORA\t\t\t\t##\tDevolve o número de série da data e hora actuais\r\nSECOND\t\t\t= SEGUNDO\t\t\t##\tConverte um número de série num segundo\r\nTIME\t\t\t= TEMPO\t\t\t\t##\tDevolve o número de série de um determinado tempo\r\nTIMEVALUE\t\t= VALOR.TEMPO\t\t\t##\tConverte um tempo em forma de texto num número de série\r\nTODAY\t\t\t= HOJE\t\t\t\t##\tDevolve o número de série da data actual\r\nWEEKDAY\t\t\t= DIA.SEMANA\t\t\t##\tConverte um número de série num dia da semana\r\nWEEKNUM\t\t\t= NÚMSEMANA\t\t\t##\tConverte um número de série num número que representa o número da semana num determinado ano\r\nWORKDAY\t\t\t= DIA.TRABALHO\t\t\t##\tDevolve o número de série da data antes ou depois de um número de dias úteis especificado\r\nYEAR\t\t\t= ANO\t\t\t\t##\tConverte um número de série num ano\r\nYEARFRAC\t\t= FRACÇÃOANO\t\t\t##\tDevolve a fracção de ano que representa o número de dias inteiros entre a data_de_início e a data_de_fim\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tFunções de engenharia\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tDevolve a função de Bessel modificada In(x)\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tDevolve a função de Bessel Jn(x)\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tDevolve a função de Bessel modificada Kn(x)\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tDevolve a função de Bessel Yn(x)\r\nBIN2DEC\t\t\t= BINADEC\t\t\t##\tConverte um número binário em decimal\r\nBIN2HEX\t\t\t= BINAHEX\t\t\t##\tConverte um número binário em hexadecimal\r\nBIN2OCT\t\t\t= BINAOCT\t\t\t##\tConverte um número binário em octal\r\nCOMPLEX\t\t\t= COMPLEXO\t\t\t##\tConverte coeficientes reais e imaginários num número complexo\r\nCONVERT\t\t\t= CONVERTER\t\t\t##\tConverte um número de um sistema de medida noutro\r\nDEC2BIN\t\t\t= DECABIN\t\t\t##\tConverte um número decimal em binário\r\nDEC2HEX\t\t\t= DECAHEX\t\t\t##\tConverte um número decimal em hexadecimal\r\nDEC2OCT\t\t\t= DECAOCT\t\t\t##\tConverte um número decimal em octal\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tTesta se dois valores são iguais\r\nERF\t\t\t= FUNCERRO\t\t\t##\tDevolve a função de erro\r\nERFC\t\t\t= FUNCERROCOMPL\t\t\t##\tDevolve a função de erro complementar\r\nGESTEP\t\t\t= DEGRAU\t\t\t##\tTesta se um número é maior do que um valor limite\r\nHEX2BIN\t\t\t= HEXABIN\t\t\t##\tConverte um número hexadecimal em binário\r\nHEX2DEC\t\t\t= HEXADEC\t\t\t##\tConverte um número hexadecimal em decimal\r\nHEX2OCT\t\t\t= HEXAOCT\t\t\t##\tConverte um número hexadecimal em octal\r\nIMABS\t\t\t= IMABS\t\t\t\t##\tDevolve o valor absoluto (módulo) de um número complexo\r\nIMAGINARY\t\t= IMAGINÁRIO\t\t\t##\tDevolve o coeficiente imaginário de um número complexo\r\nIMARGUMENT\t\t= IMARG\t\t\t\t##\tDevolve o argumento Teta, um ângulo expresso em radianos\r\nIMCONJUGATE\t\t= IMCONJ\t\t\t##\tDevolve o conjugado complexo de um número complexo\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tDevolve o co-seno de um número complexo\r\nIMDIV\t\t\t= IMDIV\t\t\t\t##\tDevolve o quociente de dois números complexos\r\nIMEXP\t\t\t= IMEXP\t\t\t\t##\tDevolve o exponencial de um número complexo\r\nIMLN\t\t\t= IMLN\t\t\t\t##\tDevolve o logaritmo natural de um número complexo\r\nIMLOG10\t\t\t= IMLOG10\t\t\t##\tDevolve o logaritmo de base 10 de um número complexo\r\nIMLOG2\t\t\t= IMLOG2\t\t\t##\tDevolve o logaritmo de base 2 de um número complexo\r\nIMPOWER\t\t\t= IMPOT\t\t\t\t##\tDevolve um número complexo elevado a uma potência inteira\r\nIMPRODUCT\t\t= IMPROD\t\t\t##\tDevolve o produto de números complexos\r\nIMREAL\t\t\t= IMREAL\t\t\t##\tDevolve o coeficiente real de um número complexo\r\nIMSIN\t\t\t= IMSENO\t\t\t##\tDevolve o seno de um número complexo\r\nIMSQRT\t\t\t= IMRAIZ\t\t\t##\tDevolve a raiz quadrada de um número complexo\r\nIMSUB\t\t\t= IMSUBTR\t\t\t##\tDevolve a diferença entre dois números complexos\r\nIMSUM\t\t\t= IMSOMA\t\t\t##\tDevolve a soma de números complexos\r\nOCT2BIN\t\t\t= OCTABIN\t\t\t##\tConverte um número octal em binário\r\nOCT2DEC\t\t\t= OCTADEC\t\t\t##\tConverte um número octal em decimal\r\nOCT2HEX\t\t\t= OCTAHEX\t\t\t##\tConverte um número octal em hexadecimal\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFunções financeiras\r\n##\r\nACCRINT\t\t\t= JUROSACUM\t\t\t##\tDevolve os juros acumulados de um título que paga juros periódicos\r\nACCRINTM\t\t= JUROSACUMV\t\t\t##\tDevolve os juros acumulados de um título que paga juros no vencimento\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tDevolve a depreciação correspondente a cada período contabilístico utilizando um coeficiente de depreciação\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tDevolve a depreciação correspondente a cada período contabilístico\r\nCOUPDAYBS\t\t= CUPDIASINLIQ\t\t\t##\tDevolve o número de dias entre o início do período do cupão e a data de regularização\r\nCOUPDAYS\t\t= CUPDIAS\t\t\t##\tDevolve o número de dias no período do cupão que contém a data de regularização\r\nCOUPDAYSNC\t\t= CUPDIASPRÓX\t\t\t##\tDevolve o número de dias entre a data de regularização e a data do cupão seguinte\r\nCOUPNCD\t\t\t= CUPDATAPRÓX\t\t\t##\tDevolve a data do cupão seguinte após a data de regularização\r\nCOUPNUM\t\t\t= CUPNÚM\t\t\t##\tDevolve o número de cupões a serem pagos entre a data de regularização e a data de vencimento\r\nCOUPPCD\t\t\t= CUPDATAANT\t\t\t##\tDevolve a data do cupão anterior antes da data de regularização\r\nCUMIPMT\t\t\t= PGTOJURACUM\t\t\t##\tDevolve os juros cumulativos pagos entre dois períodos\r\nCUMPRINC\t\t= PGTOCAPACUM\t\t\t##\tDevolve o capital cumulativo pago a título de empréstimo entre dois períodos\r\nDB\t\t\t= BD\t\t\t\t##\tDevolve a depreciação de um activo relativo a um período especificado utilizando o método das quotas degressivas fixas\r\nDDB\t\t\t= BDD\t\t\t\t##\tDevolve a depreciação de um activo relativo a um período especificado utilizando o método das quotas degressivas duplas ou qualquer outro método especificado\r\nDISC\t\t\t= DESC\t\t\t\t##\tDevolve a taxa de desconto de um título\r\nDOLLARDE\t\t= MOEDADEC\t\t\t##\tConverte um preço em unidade monetária, expresso como uma fracção, num preço em unidade monetária, expresso como um número decimal\r\nDOLLARFR\t\t= MOEDAFRA\t\t\t##\tConverte um preço em unidade monetária, expresso como um número decimal, num preço em unidade monetária, expresso como uma fracção\r\nDURATION\t\t= DURAÇÃO\t\t\t##\tDevolve a duração anual de um título com pagamentos de juros periódicos\r\nEFFECT\t\t\t= EFECTIVA\t\t\t##\tDevolve a taxa de juros anual efectiva\r\nFV\t\t\t= VF\t\t\t\t##\tDevolve o valor futuro de um investimento\r\nFVSCHEDULE\t\t= VFPLANO\t\t\t##\tDevolve o valor futuro de um capital inicial após a aplicação de uma série de taxas de juro compostas\r\nINTRATE\t\t\t= TAXAJUROS\t\t\t##\tDevolve a taxa de juros de um título investido na totalidade\r\nIPMT\t\t\t= IPGTO\t\t\t\t##\tDevolve o pagamento dos juros de um investimento durante um determinado período\r\nIRR\t\t\t= TIR\t\t\t\t##\tDevolve a taxa de rentabilidade interna para uma série de fluxos monetários\r\nISPMT\t\t\t= É.PGTO\t\t\t##\tCalcula os juros pagos durante um período específico de um investimento\r\nMDURATION\t\t= MDURAÇÃO\t\t\t##\tDevolve a duração modificada de Macauley de um título com um valor de paridade equivalente a € 100\r\nMIRR\t\t\t= MTIR\t\t\t\t##\tDevolve a taxa interna de rentabilidade em que os fluxos monetários positivos e negativos são financiados com taxas diferentes\r\nNOMINAL\t\t\t= NOMINAL\t\t\t##\tDevolve a taxa de juros nominal anual\r\nNPER\t\t\t= NPER\t\t\t\t##\tDevolve o número de períodos de um investimento\r\nNPV\t\t\t= VAL\t\t\t\t##\tDevolve o valor actual líquido de um investimento com base numa série de fluxos monetários periódicos e numa taxa de desconto\r\nODDFPRICE\t\t= PREÇOPRIMINC\t\t\t##\tDevolve o preço por € 100 do valor nominal de um título com um período inicial incompleto\r\nODDFYIELD\t\t= LUCROPRIMINC\t\t\t##\tDevolve o lucro de um título com um período inicial incompleto\r\nODDLPRICE\t\t= PREÇOÚLTINC\t\t\t##\tDevolve o preço por € 100 do valor nominal de um título com um período final incompleto\r\nODDLYIELD\t\t= LUCROÚLTINC\t\t\t##\tDevolve o lucro de um título com um período final incompleto\r\nPMT\t\t\t= PGTO\t\t\t\t##\tDevolve o pagamento periódico de uma anuidade\r\nPPMT\t\t\t= PPGTO\t\t\t\t##\tDevolve o pagamento sobre o capital de um investimento num determinado período\r\nPRICE\t\t\t= PREÇO\t\t\t\t##\tDevolve o preço por € 100 do valor nominal de um título que paga juros periódicos\r\nPRICEDISC\t\t= PREÇODESC\t\t\t##\tDevolve o preço por € 100 do valor nominal de um título descontado\r\nPRICEMAT\t\t= PREÇOVENC\t\t\t##\tDevolve o preço por € 100 do valor nominal de um título que paga juros no vencimento\r\nPV\t\t\t= VA\t\t\t\t##\tDevolve o valor actual de um investimento\r\nRATE\t\t\t= TAXA\t\t\t\t##\tDevolve a taxa de juros por período de uma anuidade\r\nRECEIVED\t\t= RECEBER\t\t\t##\tDevolve o montante recebido no vencimento de um título investido na totalidade\r\nSLN\t\t\t= AMORT\t\t\t\t##\tDevolve uma depreciação linear de um activo durante um período\r\nSYD\t\t\t= AMORTD\t\t\t##\tDevolve a depreciação por algarismos da soma dos anos de um activo durante um período especificado\r\nTBILLEQ\t\t\t= OTN\t\t\t\t##\tDevolve o lucro de um título equivalente a uma Obrigação do Tesouro\r\nTBILLPRICE\t\t= OTNVALOR\t\t\t##\tDevolve o preço por € 100 de valor nominal de uma Obrigação do Tesouro\r\nTBILLYIELD\t\t= OTNLUCRO\t\t\t##\tDevolve o lucro de uma Obrigação do Tesouro\r\nVDB\t\t\t= BDV\t\t\t\t##\tDevolve a depreciação de um activo relativo a um período específico ou parcial utilizando um método de quotas degressivas\r\nXIRR\t\t\t= XTIR\t\t\t\t##\tDevolve a taxa interna de rentabilidade de um plano de fluxos monetários que não seja necessariamente periódica\r\nXNPV\t\t\t= XVAL\t\t\t\t##\tDevolve o valor actual líquido de um plano de fluxos monetários que não seja necessariamente periódico\r\nYIELD\t\t\t= LUCRO\t\t\t\t##\tDevolve o lucro de um título que paga juros periódicos\r\nYIELDDISC\t\t= LUCRODESC\t\t\t##\tDevolve o lucro anual de um título emitido abaixo do valor nominal, por exemplo, uma Obrigação do Tesouro\r\nYIELDMAT\t\t= LUCROVENC\t\t\t##\tDevolve o lucro anual de um título que paga juros na data de vencimento\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tFunções de informação\r\n##\r\nCELL\t\t\t= CÉL\t\t\t\t##\tDevolve informações sobre a formatação, localização ou conteúdo de uma célula\r\nERROR.TYPE\t\t= TIPO.ERRO\t\t\t##\tDevolve um número correspondente a um tipo de erro\r\nINFO\t\t\t= INFORMAÇÃO\t\t\t##\tDevolve informações sobre o ambiente de funcionamento actual\r\nISBLANK\t\t\t= É.CÉL.VAZIA\t\t\t##\tDevolve VERDADEIRO se o valor estiver em branco\r\nISERR\t\t\t= É.ERROS\t\t\t##\tDevolve VERDADEIRO se o valor for um valor de erro diferente de #N/D\r\nISERROR\t\t\t= É.ERRO\t\t\t##\tDevolve VERDADEIRO se o valor for um valor de erro\r\nISEVEN\t\t\t= ÉPAR\t\t\t\t##\tDevolve VERDADEIRO se o número for par\r\nISLOGICAL\t\t= É.LÓGICO\t\t\t##\tDevolve VERDADEIRO se o valor for lógico\r\nISNA\t\t\t= É.NÃO.DISP\t\t\t##\tDevolve VERDADEIRO se o valor for o valor de erro #N/D\r\nISNONTEXT\t\t= É.NÃO.TEXTO\t\t\t##\tDevolve VERDADEIRO se o valor não for texto\r\nISNUMBER\t\t= É.NÚM\t\t\t\t##\tDevolve VERDADEIRO se o valor for um número\r\nISODD\t\t\t= ÉÍMPAR\t\t\t##\tDevolve VERDADEIRO se o número for ímpar\r\nISREF\t\t\t= É.REF\t\t\t\t##\tDevolve VERDADEIRO se o valor for uma referência\r\nISTEXT\t\t\t= É.TEXTO\t\t\t##\tDevolve VERDADEIRO se o valor for texto\r\nN\t\t\t= N\t\t\t\t##\tDevolve um valor convertido num número\r\nNA\t\t\t= NÃO.DISP\t\t\t##\tDevolve o valor de erro #N/D\r\nTYPE\t\t\t= TIPO\t\t\t\t##\tDevolve um número que indica o tipo de dados de um valor\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tFunções lógicas\r\n##\r\nAND\t\t\t= E\t\t\t\t##\tDevolve VERDADEIRO se todos os respectivos argumentos corresponderem a VERDADEIRO\r\nFALSE\t\t\t= FALSO\t\t\t\t##\tDevolve o valor lógico FALSO\r\nIF\t\t\t= SE\t\t\t\t##\tEspecifica um teste lógico a ser executado\r\nIFERROR\t\t\t= SE.ERRO\t\t\t##\tDevolve um valor definido pelo utilizador se ocorrer um erro na fórmula, e devolve o resultado da fórmula se não ocorrer nenhum erro\r\nNOT\t\t\t= NÃO\t\t\t\t##\tInverte a lógica do respectivo argumento\r\nOR\t\t\t= OU\t\t\t\t##\tDevolve VERDADEIRO se qualquer argumento for VERDADEIRO\r\nTRUE\t\t\t= VERDADEIRO\t\t\t##\tDevolve o valor lógico VERDADEIRO\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tFunções de pesquisa e referência\r\n##\r\nADDRESS\t\t\t= ENDEREÇO\t\t\t##\tDevolve uma referência a uma única célula numa folha de cálculo como texto\r\nAREAS\t\t\t= ÁREAS\t\t\t\t##\tDevolve o número de áreas numa referência\r\nCHOOSE\t\t\t= SELECCIONAR\t\t\t##\tSelecciona um valor a partir de uma lista de valores\r\nCOLUMN\t\t\t= COL\t\t\t\t##\tDevolve o número da coluna de uma referência\r\nCOLUMNS\t\t\t= COLS\t\t\t\t##\tDevolve o número de colunas numa referência\r\nHLOOKUP\t\t\t= PROCH\t\t\t\t##\tProcura na linha superior de uma matriz e devolve o valor da célula indicada\r\nHYPERLINK\t\t= HIPERLIGAÇÃO\t\t\t##\tCria um atalho ou hiperligação que abre um documento armazenado num servidor de rede, numa intranet ou na Internet\r\nINDEX\t\t\t= ÍNDICE\t\t\t##\tUtiliza um índice para escolher um valor de uma referência ou de uma matriz\r\nINDIRECT\t\t= INDIRECTO\t\t\t##\tDevolve uma referência indicada por um valor de texto\r\nLOOKUP\t\t\t= PROC\t\t\t\t##\tProcura valores num vector ou numa matriz\r\nMATCH\t\t\t= CORRESP\t\t\t##\tProcura valores numa referência ou numa matriz\r\nOFFSET\t\t\t= DESLOCAMENTO\t\t\t##\tDevolve o deslocamento de referência de uma determinada referência\r\nROW\t\t\t= LIN\t\t\t\t##\tDevolve o número da linha de uma referência\r\nROWS\t\t\t= LINS\t\t\t\t##\tDevolve o número de linhas numa referência\r\nRTD\t\t\t= RTD\t\t\t\t##\tObtém dados em tempo real a partir de um programa que suporte automatização COM (automatização: modo de trabalhar com objectos de uma aplicação a partir de outra aplicação ou ferramenta de desenvolvimento. Anteriormente conhecida como automatização OLE, a automatização é uma norma da indústria de software e uma funcionalidade COM (Component Object Model).)\r\nTRANSPOSE\t\t= TRANSPOR\t\t\t##\tDevolve a transposição de uma matriz\r\nVLOOKUP\t\t\t= PROCV\t\t\t\t##\tProcura na primeira coluna de uma matriz e percorre a linha para devolver o valor de uma célula\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tFunções matemáticas e trigonométricas\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tDevolve o valor absoluto de um número\r\nACOS\t\t\t= ACOS\t\t\t\t##\tDevolve o arco de co-seno de um número\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tDevolve o co-seno hiperbólico inverso de um número\r\nASIN\t\t\t= ASEN\t\t\t\t##\tDevolve o arco de seno de um número\r\nASINH\t\t\t= ASENH\t\t\t\t##\tDevolve o seno hiperbólico inverso de um número\r\nATAN\t\t\t= ATAN\t\t\t\t##\tDevolve o arco de tangente de um número\r\nATAN2\t\t\t= ATAN2\t\t\t\t##\tDevolve o arco de tangente das coordenadas x e y\r\nATANH\t\t\t= ATANH\t\t\t\t##\tDevolve a tangente hiperbólica inversa de um número\r\nCEILING\t\t\t= ARRED.EXCESSO\t\t\t##\tArredonda um número para o número inteiro mais próximo ou para o múltiplo de significância mais próximo\r\nCOMBIN\t\t\t= COMBIN\t\t\t##\tDevolve o número de combinações de um determinado número de objectos\r\nCOS\t\t\t= COS\t\t\t\t##\tDevolve o co-seno de um número\r\nCOSH\t\t\t= COSH\t\t\t\t##\tDevolve o co-seno hiperbólico de um número\r\nDEGREES\t\t\t= GRAUS\t\t\t\t##\tConverte radianos em graus\r\nEVEN\t\t\t= PAR\t\t\t\t##\tArredonda um número por excesso para o número inteiro mais próximo\r\nEXP\t\t\t= EXP\t\t\t\t##\tDevolve e elevado à potência de um determinado número\r\nFACT\t\t\t= FACTORIAL\t\t\t##\tDevolve o factorial de um número\r\nFACTDOUBLE\t\t= FACTDUPLO\t\t\t##\tDevolve o factorial duplo de um número\r\nFLOOR\t\t\t= ARRED.DEFEITO\t\t\t##\tArredonda um número por defeito até zero\r\nGCD\t\t\t= MDC\t\t\t\t##\tDevolve o maior divisor comum\r\nINT\t\t\t= INT\t\t\t\t##\tArredonda um número por defeito para o número inteiro mais próximo\r\nLCM\t\t\t= MMC\t\t\t\t##\tDevolve o mínimo múltiplo comum\r\nLN\t\t\t= LN\t\t\t\t##\tDevolve o logaritmo natural de um número\r\nLOG\t\t\t= LOG\t\t\t\t##\tDevolve o logaritmo de um número com uma base especificada\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tDevolve o logaritmo de base 10 de um número\r\nMDETERM\t\t\t= MATRIZ.DETERM\t\t\t##\tDevolve o determinante matricial de uma matriz\r\nMINVERSE\t\t= MATRIZ.INVERSA\t\t##\tDevolve o inverso matricial de uma matriz\r\nMMULT\t\t\t= MATRIZ.MULT\t\t\t##\tDevolve o produto matricial de duas matrizes\r\nMOD\t\t\t= RESTO\t\t\t\t##\tDevolve o resto da divisão\r\nMROUND\t\t\t= MARRED\t\t\t##\tDevolve um número arredondado para o múltiplo pretendido\r\nMULTINOMIAL\t\t= POLINOMIAL\t\t\t##\tDevolve o polinomial de um conjunto de números\r\nODD\t\t\t= ÍMPAR\t\t\t\t##\tArredonda por excesso um número para o número inteiro ímpar mais próximo\r\nPI\t\t\t= PI\t\t\t\t##\tDevolve o valor de pi\r\nPOWER\t\t\t= POTÊNCIA\t\t\t##\tDevolve o resultado de um número elevado a uma potência\r\nPRODUCT\t\t\t= PRODUTO\t\t\t##\tMultiplica os respectivos argumentos\r\nQUOTIENT\t\t= QUOCIENTE\t\t\t##\tDevolve a parte inteira de uma divisão\r\nRADIANS\t\t\t= RADIANOS\t\t\t##\tConverte graus em radianos\r\nRAND\t\t\t= ALEATÓRIO\t\t\t##\tDevolve um número aleatório entre 0 e 1\r\nRANDBETWEEN\t\t= ALEATÓRIOENTRE\t\t##\tDevolve um número aleatório entre os números especificados\r\nROMAN\t\t\t= ROMANO\t\t\t##\tConverte um número árabe em romano, como texto\r\nROUND\t\t\t= ARRED\t\t\t\t##\tArredonda um número para um número de dígitos especificado\r\nROUNDDOWN\t\t= ARRED.PARA.BAIXO\t\t##\tArredonda um número por defeito até zero\r\nROUNDUP\t\t\t= ARRED.PARA.CIMA\t\t##\tArredonda um número por excesso, afastando-o de zero\r\nSERIESSUM\t\t= SOMASÉRIE\t\t\t##\tDevolve a soma de uma série de potências baseada na fórmula\r\nSIGN\t\t\t= SINAL\t\t\t\t##\tDevolve o sinal de um número\r\nSIN\t\t\t= SEN\t\t\t\t##\tDevolve o seno de um determinado ângulo\r\nSINH\t\t\t= SENH\t\t\t\t##\tDevolve o seno hiperbólico de um número\r\nSQRT\t\t\t= RAIZQ\t\t\t\t##\tDevolve uma raiz quadrada positiva\r\nSQRTPI\t\t\t= RAIZPI\t\t\t##\tDevolve a raiz quadrada de (núm * pi)\r\nSUBTOTAL\t\t= SUBTOTAL\t\t\t##\tDevolve um subtotal numa lista ou base de dados\r\nSUM\t\t\t= SOMA\t\t\t\t##\tAdiciona os respectivos argumentos\r\nSUMIF\t\t\t= SOMA.SE\t\t\t##\tAdiciona as células especificadas por um determinado critério\r\nSUMIFS\t\t\t= SOMA.SE.S\t\t\t##\tAdiciona as células num intervalo que cumpre vários critérios\r\nSUMPRODUCT\t\t= SOMARPRODUTO\t\t\t##\tDevolve a soma dos produtos de componentes de matrizes correspondentes\r\nSUMSQ\t\t\t= SOMARQUAD\t\t\t##\tDevolve a soma dos quadrados dos argumentos\r\nSUMX2MY2\t\t= SOMAX2DY2\t\t\t##\tDevolve a soma da diferença dos quadrados dos valores correspondentes em duas matrizes\r\nSUMX2PY2\t\t= SOMAX2SY2\t\t\t##\tDevolve a soma da soma dos quadrados dos valores correspondentes em duas matrizes\r\nSUMXMY2\t\t\t= SOMAXMY2\t\t\t##\tDevolve a soma dos quadrados da diferença dos valores correspondentes em duas matrizes\r\nTAN\t\t\t= TAN\t\t\t\t##\tDevolve a tangente de um número\r\nTANH\t\t\t= TANH\t\t\t\t##\tDevolve a tangente hiperbólica de um número\r\nTRUNC\t\t\t= TRUNCAR\t\t\t##\tTrunca um número para um número inteiro\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tFunções estatísticas\r\n##\r\nAVEDEV\t\t\t= DESV.MÉDIO\t\t\t##\tDevolve a média aritmética dos desvios absolutos à média dos pontos de dados\r\nAVERAGE\t\t\t= MÉDIA\t\t\t\t##\tDevolve a média dos respectivos argumentos\r\nAVERAGEA\t\t= MÉDIAA\t\t\t##\tDevolve uma média dos respectivos argumentos, incluindo números, texto e valores lógicos\r\nAVERAGEIF\t\t= MÉDIA.SE\t\t\t##\tDevolve a média aritmética de todas as células num intervalo que cumprem determinado critério\r\nAVERAGEIFS\t\t= MÉDIA.SE.S\t\t\t##\tDevolve a média aritmética de todas as células que cumprem múltiplos critérios\r\nBETADIST\t\t= DISTBETA\t\t\t##\tDevolve a função de distribuição cumulativa beta\r\nBETAINV\t\t\t= BETA.ACUM.INV\t\t\t##\tDevolve o inverso da função de distribuição cumulativa relativamente a uma distribuição beta específica\r\nBINOMDIST\t\t= DISTRBINOM\t\t\t##\tDevolve a probabilidade de distribuição binomial de termo individual\r\nCHIDIST\t\t\t= DIST.CHI\t\t\t##\tDevolve a probabilidade unicaudal da distribuição qui-quadrada\r\nCHIINV\t\t\t= INV.CHI\t\t\t##\tDevolve o inverso da probabilidade unicaudal da distribuição qui-quadrada\r\nCHITEST\t\t\t= TESTE.CHI\t\t\t##\tDevolve o teste para independência\r\nCONFIDENCE\t\t= INT.CONFIANÇA\t\t\t##\tDevolve o intervalo de confiança correspondente a uma média de população\r\nCORREL\t\t\t= CORREL\t\t\t##\tDevolve o coeficiente de correlação entre dois conjuntos de dados\r\nCOUNT\t\t\t= CONTAR\t\t\t##\tConta os números que existem na lista de argumentos\r\nCOUNTA\t\t\t= CONTAR.VAL\t\t\t##\tConta os valores que existem na lista de argumentos\r\nCOUNTBLANK\t\t= CONTAR.VAZIO\t\t\t##\tConta o número de células em branco num intervalo\r\nCOUNTIF\t\t\t= CONTAR.SE\t\t\t##\tCalcula o número de células num intervalo que corresponde aos critérios determinados\r\nCOUNTIFS\t\t= CONTAR.SE.S\t\t\t##\tConta o número de células num intervalo que cumprem múltiplos critérios\r\nCOVAR\t\t\t= COVAR\t\t\t\t##\tDevolve a covariância, que é a média dos produtos de desvios de pares\r\nCRITBINOM\t\t= CRIT.BINOM\t\t\t##\tDevolve o menor valor em que a distribuição binomial cumulativa é inferior ou igual a um valor de critério\r\nDEVSQ\t\t\t= DESVQ\t\t\t\t##\tDevolve a soma dos quadrados dos desvios\r\nEXPONDIST\t\t= DISTEXPON\t\t\t##\tDevolve a distribuição exponencial\r\nFDIST\t\t\t= DISTF\t\t\t\t##\tDevolve a distribuição da probabilidade F\r\nFINV\t\t\t= INVF\t\t\t\t##\tDevolve o inverso da distribuição da probabilidade F\r\nFISHER\t\t\t= FISHER\t\t\t##\tDevolve a transformação Fisher\r\nFISHERINV\t\t= FISHERINV\t\t\t##\tDevolve o inverso da transformação Fisher\r\nFORECAST\t\t= PREVISÃO\t\t\t##\tDevolve um valor ao longo de uma tendência linear\r\nFREQUENCY\t\t= FREQUÊNCIA\t\t\t##\tDevolve uma distribuição de frequência como uma matriz vertical\r\nFTEST\t\t\t= TESTEF\t\t\t##\tDevolve o resultado de um teste F\r\nGAMMADIST\t\t= DISTGAMA\t\t\t##\tDevolve a distribuição gama\r\nGAMMAINV\t\t= INVGAMA\t\t\t##\tDevolve o inverso da distribuição gama cumulativa\r\nGAMMALN\t\t\t= LNGAMA\t\t\t##\tDevolve o logaritmo natural da função gama, Γ(x)\r\nGEOMEAN\t\t\t= MÉDIA.GEOMÉTRICA\t\t##\tDevolve a média geométrica\r\nGROWTH\t\t\t= CRESCIMENTO\t\t\t##\tDevolve valores ao longo de uma tendência exponencial\r\nHARMEAN\t\t\t= MÉDIA.HARMÓNICA\t\t##\tDevolve a média harmónica\r\nHYPGEOMDIST\t\t= DIST.HIPERGEOM\t\t##\tDevolve a distribuição hipergeométrica\r\nINTERCEPT\t\t= INTERCEPTAR\t\t\t##\tDevolve a intercepção da linha de regressão linear\r\nKURT\t\t\t= CURT\t\t\t\t##\tDevolve a curtose de um conjunto de dados\r\nLARGE\t\t\t= MAIOR\t\t\t\t##\tDevolve o maior valor k-ésimo de um conjunto de dados\r\nLINEST\t\t\t= PROJ.LIN\t\t\t##\tDevolve os parâmetros de uma tendência linear\r\nLOGEST\t\t\t= PROJ.LOG\t\t\t##\tDevolve os parâmetros de uma tendência exponencial\r\nLOGINV\t\t\t= INVLOG\t\t\t##\tDevolve o inverso da distribuição normal logarítmica\r\nLOGNORMDIST\t\t= DIST.NORMALLOG\t\t##\tDevolve a distribuição normal logarítmica cumulativa\r\nMAX\t\t\t= MÁXIMO\t\t\t##\tDevolve o valor máximo numa lista de argumentos\r\nMAXA\t\t\t= MÁXIMOA\t\t\t##\tDevolve o valor máximo numa lista de argumentos, incluindo números, texto e valores lógicos\r\nMEDIAN\t\t\t= MED\t\t\t\t##\tDevolve a mediana dos números indicados\r\nMIN\t\t\t= MÍNIMO\t\t\t##\tDevolve o valor mínimo numa lista de argumentos\r\nMINA\t\t\t= MÍNIMOA\t\t\t##\tDevolve o valor mínimo numa lista de argumentos, incluindo números, texto e valores lógicos\r\nMODE\t\t\t= MODA\t\t\t\t##\tDevolve o valor mais comum num conjunto de dados\r\nNEGBINOMDIST\t\t= DIST.BIN.NEG\t\t\t##\tDevolve a distribuição binominal negativa\r\nNORMDIST\t\t= DIST.NORM\t\t\t##\tDevolve a distribuição cumulativa normal\r\nNORMINV\t\t\t= INV.NORM\t\t\t##\tDevolve o inverso da distribuição cumulativa normal\r\nNORMSDIST\t\t= DIST.NORMP\t\t\t##\tDevolve a distribuição cumulativa normal padrão\r\nNORMSINV\t\t= INV.NORMP\t\t\t##\tDevolve o inverso da distribuição cumulativa normal padrão\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tDevolve o coeficiente de correlação momento/produto de Pearson\r\nPERCENTILE\t\t= PERCENTIL\t\t\t##\tDevolve o k-ésimo percentil de valores num intervalo\r\nPERCENTRANK\t\t= ORDEM.PERCENTUAL\t\t##\tDevolve a ordem percentual de um valor num conjunto de dados\r\nPERMUT\t\t\t= PERMUTAR\t\t\t##\tDevolve o número de permutações de um determinado número de objectos\r\nPOISSON\t\t\t= POISSON\t\t\t##\tDevolve a distribuição de Poisson\r\nPROB\t\t\t= PROB\t\t\t\t##\tDevolve a probabilidade dos valores num intervalo se encontrarem entre dois limites\r\nQUARTILE\t\t= QUARTIL\t\t\t##\tDevolve o quartil de um conjunto de dados\r\nRANK\t\t\t= ORDEM\t\t\t\t##\tDevolve a ordem de um número numa lista numérica\r\nRSQ\t\t\t= RQUAD\t\t\t\t##\tDevolve o quadrado do coeficiente de correlação momento/produto de Pearson\r\nSKEW\t\t\t= DISTORÇÃO\t\t\t##\tDevolve a distorção de uma distribuição\r\nSLOPE\t\t\t= DECLIVE\t\t\t##\tDevolve o declive da linha de regressão linear\r\nSMALL\t\t\t= MENOR\t\t\t\t##\tDevolve o menor valor de k-ésimo de um conjunto de dados\r\nSTANDARDIZE\t\t= NORMALIZAR\t\t\t##\tDevolve um valor normalizado\r\nSTDEV\t\t\t= DESVPAD\t\t\t##\tCalcula o desvio-padrão com base numa amostra\r\nSTDEVA\t\t\t= DESVPADA\t\t\t##\tCalcula o desvio-padrão com base numa amostra, incluindo números, texto e valores lógicos\r\nSTDEVP\t\t\t= DESVPADP\t\t\t##\tCalcula o desvio-padrão com base na população total\r\nSTDEVPA\t\t\t= DESVPADPA\t\t\t##\tCalcula o desvio-padrão com base na população total, incluindo números, texto e valores lógicos\r\nSTEYX\t\t\t= EPADYX\t\t\t##\tDevolve o erro-padrão do valor de y previsto para cada x na regressão\r\nTDIST\t\t\t= DISTT\t\t\t\t##\tDevolve a distribuição t de Student\r\nTINV\t\t\t= INVT\t\t\t\t##\tDevolve o inverso da distribuição t de Student\r\nTREND\t\t\t= TENDÊNCIA\t\t\t##\tDevolve valores ao longo de uma tendência linear\r\nTRIMMEAN\t\t= MÉDIA.INTERNA\t\t\t##\tDevolve a média do interior de um conjunto de dados\r\nTTEST\t\t\t= TESTET\t\t\t##\tDevolve a probabilidade associada ao teste t de Student\r\nVAR\t\t\t= VAR\t\t\t\t##\tCalcula a variância com base numa amostra\r\nVARA\t\t\t= VARA\t\t\t\t##\tCalcula a variância com base numa amostra, incluindo números, texto e valores lógicos\r\nVARP\t\t\t= VARP\t\t\t\t##\tCalcula a variância com base na população total\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tCalcula a variância com base na população total, incluindo números, texto e valores lógicos\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tDevolve a distribuição Weibull\r\nZTEST\t\t\t= TESTEZ\t\t\t##\tDevolve o valor de probabilidade unicaudal de um teste-z\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tFunções de texto\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tAltera letras ou katakana de largura total (byte duplo) numa cadeia de caracteres para caracteres de largura média (byte único)\r\nBAHTTEXT\t\t= TEXTO.BAHT\t\t\t##\tConverte um número em texto, utilizando o formato monetário ß (baht)\r\nCHAR\t\t\t= CARÁCT\t\t\t##\tDevolve o carácter especificado pelo número de código\r\nCLEAN\t\t\t= LIMPAR\t\t\t##\tRemove do texto todos os caracteres não imprimíveis\r\nCODE\t\t\t= CÓDIGO\t\t\t##\tDevolve um código numérico correspondente ao primeiro carácter numa cadeia de texto\r\nCONCATENATE\t\t= CONCATENAR\t\t\t##\tAgrupa vários itens de texto num único item de texto\r\nDOLLAR\t\t\t= MOEDA\t\t\t\t##\tConverte um número em texto, utilizando o formato monetário € (Euro)\r\nEXACT\t\t\t= EXACTO\t\t\t##\tVerifica se dois valores de texto são idênticos\r\nFIND\t\t\t= LOCALIZAR\t\t\t##\tLocaliza um valor de texto dentro de outro (sensível às maiúsculas e minúsculas)\r\nFINDB\t\t\t= LOCALIZARB\t\t\t##\tLocaliza um valor de texto dentro de outro (sensível às maiúsculas e minúsculas)\r\nFIXED\t\t\t= FIXA\t\t\t\t##\tFormata um número como texto com um número fixo de decimais\r\nJIS\t\t\t= JIS\t\t\t\t##\tAltera letras ou katakana de largura média (byte único) numa cadeia de caracteres para caracteres de largura total (byte duplo)\r\nLEFT\t\t\t= ESQUERDA\t\t\t##\tDevolve os caracteres mais à esquerda de um valor de texto\r\nLEFTB\t\t\t= ESQUERDAB\t\t\t##\tDevolve os caracteres mais à esquerda de um valor de texto\r\nLEN\t\t\t= NÚM.CARACT\t\t\t##\tDevolve o número de caracteres de uma cadeia de texto\r\nLENB\t\t\t= NÚM.CARACTB\t\t\t##\tDevolve o número de caracteres de uma cadeia de texto\r\nLOWER\t\t\t= MINÚSCULAS\t\t\t##\tConverte o texto em minúsculas\r\nMID\t\t\t= SEG.TEXTO\t\t\t##\tDevolve um número específico de caracteres de uma cadeia de texto, a partir da posição especificada\r\nMIDB\t\t\t= SEG.TEXTOB\t\t\t##\tDevolve um número específico de caracteres de uma cadeia de texto, a partir da posição especificada\r\nPHONETIC\t\t= FONÉTICA\t\t\t##\tRetira os caracteres fonéticos (furigana) de uma cadeia de texto\r\nPROPER\t\t\t= INICIAL.MAIÚSCULA\t\t##\tColoca em maiúsculas a primeira letra de cada palavra de um valor de texto\r\nREPLACE\t\t\t= SUBSTITUIR\t\t\t##\tSubstitui caracteres no texto\r\nREPLACEB\t\t= SUBSTITUIRB\t\t\t##\tSubstitui caracteres no texto\r\nREPT\t\t\t= REPETIR\t\t\t##\tRepete texto um determinado número de vezes\r\nRIGHT\t\t\t= DIREITA\t\t\t##\tDevolve os caracteres mais à direita de um valor de texto\r\nRIGHTB\t\t\t= DIREITAB\t\t\t##\tDevolve os caracteres mais à direita de um valor de texto\r\nSEARCH\t\t\t= PROCURAR\t\t\t##\tLocaliza um valor de texto dentro de outro (não sensível a maiúsculas e minúsculas)\r\nSEARCHB\t\t\t= PROCURARB\t\t\t##\tLocaliza um valor de texto dentro de outro (não sensível a maiúsculas e minúsculas)\r\nSUBSTITUTE\t\t= SUBST\t\t\t\t##\tSubstitui texto novo por texto antigo numa cadeia de texto\r\nT\t\t\t= T\t\t\t\t##\tConverte os respectivos argumentos em texto\r\nTEXT\t\t\t= TEXTO\t\t\t\t##\tFormata um número e converte-o em texto\r\nTRIM\t\t\t= COMPACTAR\t\t\t##\tRemove espaços do texto\r\nUPPER\t\t\t= MAIÚSCULAS\t\t\t##\tConverte texto em maiúsculas\r\nVALUE\t\t\t= VALOR\t\t\t\t##\tConverte um argumento de texto num número\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/ru/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= р\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #ПУСТО!\r\nDIV0\t= #ДЕЛ/0!\r\nVALUE\t= #ЗНАЧ!\r\nREF\t= #ССЫЛ!\r\nNAME\t= #ИМЯ?\r\nNUM\t= #ЧИСЛО!\r\nNA\t= #Н/Д\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/ru/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from information provided by web-junior (http://www.web-junior.net/)\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\t\tФункции надстроек и автоматизации\r\n##\r\nGETPIVOTDATA\t\t= ПОЛУЧИТЬ.ДАННЫЕ.СВОДНОЙ.ТАБЛИЦЫ\t##\tВозвращает данные, хранящиеся в отчете сводной таблицы.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\t\tФункции Куб\r\n##\r\nCUBEKPIMEMBER\t\t= КУБЭЛЕМЕНТКИП\t\t\t\t##\tВозвращает свойство ключевого индикатора производительности «(КИП)» и отображает имя «КИП» в ячейке. «КИП» представляет собой количественную величину, такую как ежемесячная валовая прибыль или ежеквартальная текучесть кадров, используемой для контроля эффективности работы организации.\r\nCUBEMEMBER\t\t= КУБЭЛЕМЕНТ\t\t\t\t##\tВозвращает элемент или кортеж из куба. Используется для проверки существования элемента или кортежа в кубе.\r\nCUBEMEMBERPROPERTY\t= КУБСВОЙСТВОЭЛЕМЕНТА\t\t\t##\tВозвращает значение свойства элемента из куба. Используется для проверки существования имени элемента в кубе и возвращает указанное свойство для этого элемента.\r\nCUBERANKEDMEMBER\t= КУБПОРЭЛЕМЕНТ\t\t\t\t##\tВозвращает n-ый или ранжированный элемент в множество. Используется для возвращения одного или нескольких элементов в множество, например, лучшего продавца или 10 лучших студентов.\r\nCUBESET\t\t\t= КУБМНОЖ\t\t\t\t##\tОпределяет вычислительное множество элементов или кортежей, отправляя на сервер выражение, которое создает множество, а затем возвращает его в Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= КУБЧИСЛОЭЛМНОЖ\t\t\t##\tВозвращает число элементов множества.\r\nCUBEVALUE\t\t= КУБЗНАЧЕНИЕ\t\t\t\t##\tВозвращает обобщенное значение из куба.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\t\tФункции для работы с базами данных\r\n##\r\nDAVERAGE\t\t= ДСРЗНАЧ\t\t\t\t##\tВозвращает среднее значение выбранных записей базы данных.\r\nDCOUNT\t\t\t= БСЧЁТ\t\t\t\t\t##\tПодсчитывает количество числовых ячеек в базе данных.\r\nDCOUNTA\t\t\t= БСЧЁТА\t\t\t\t##\tПодсчитывает количество непустых ячеек в базе данных.\r\nDGET\t\t\t= БИЗВЛЕЧЬ\t\t\t\t##\tИзвлекает из базы данных одну запись, удовлетворяющую заданному условию.\r\nDMAX\t\t\t= ДМАКС\t\t\t\t\t##\tВозвращает максимальное значение среди выделенных записей базы данных.\r\nDMIN\t\t\t= ДМИН\t\t\t\t\t##\tВозвращает минимальное значение среди выделенных записей базы данных.\r\nDPRODUCT\t\t= БДПРОИЗВЕД\t\t\t\t##\tПеремножает значения определенного поля в записях базы данных, удовлетворяющих условию.\r\nDSTDEV\t\t\t= ДСТАНДОТКЛ\t\t\t\t##\tОценивает стандартное отклонение по выборке для выделенных записей базы данных.\r\nDSTDEVP\t\t\t= ДСТАНДОТКЛП\t\t\t\t##\tВычисляет стандартное отклонение по генеральной совокупности для выделенных записей базы данных\r\nDSUM\t\t\t= БДСУММ\t\t\t\t##\tСуммирует числа в поле для записей базы данных, удовлетворяющих условию.\r\nDVAR\t\t\t= БДДИСП\t\t\t\t##\tОценивает дисперсию по выборке из выделенных записей базы данных\r\nDVARP\t\t\t= БДДИСПП\t\t\t\t##\tВычисляет дисперсию по генеральной совокупности для выделенных записей базы данных\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\t\tФункции даты и времени\r\n##\r\nDATE\t\t\t= ДАТА\t\t\t\t\t##\tВозвращает заданную дату в числовом формате.\r\nDATEVALUE\t\t= ДАТАЗНАЧ\t\t\t\t##\tПреобразует дату из текстового формата в числовой формат.\r\nDAY\t\t\t= ДЕНЬ\t\t\t\t\t##\tПреобразует дату в числовом формате в день месяца.\r\nDAYS360\t\t\t= ДНЕЙ360\t\t\t\t##\tВычисляет количество дней между двумя датами на основе 360-дневного года.\r\nEDATE\t\t\t= ДАТАМЕС\t\t\t\t##\tВозвращает дату в числовом формате, отстоящую на заданное число месяцев вперед или назад от начальной даты.\r\nEOMONTH\t\t\t= КОНМЕСЯЦА\t\t\t\t##\tВозвращает дату в числовом формате для последнего дня месяца, отстоящего вперед или назад на заданное число месяцев.\r\nHOUR\t\t\t= ЧАС\t\t\t\t\t##\tПреобразует дату в числовом формате в часы.\r\nMINUTE\t\t\t= МИНУТЫ\t\t\t\t##\tПреобразует дату в числовом формате в минуты.\r\nMONTH\t\t\t= МЕСЯЦ\t\t\t\t\t##\tПреобразует дату в числовом формате в месяцы.\r\nNETWORKDAYS\t\t= ЧИСТРАБДНИ\t\t\t\t##\tВозвращает количество рабочих дней между двумя датами.\r\nNOW\t\t\t= ТДАТА\t\t\t\t\t##\tВозвращает текущую дату и время в числовом формате.\r\nSECOND\t\t\t= СЕКУНДЫ\t\t\t\t##\tПреобразует дату в числовом формате в секунды.\r\nTIME\t\t\t= ВРЕМЯ\t\t\t\t\t##\tВозвращает заданное время в числовом формате.\r\nTIMEVALUE\t\t= ВРЕМЗНАЧ\t\t\t\t##\tПреобразует время из текстового формата в числовой формат.\r\nTODAY\t\t\t= СЕГОДНЯ\t\t\t\t##\tВозвращает текущую дату в числовом формате.\r\nWEEKDAY\t\t\t= ДЕНЬНЕД\t\t\t\t##\tПреобразует дату в числовом формате в день недели.\r\nWEEKNUM\t\t\t= НОМНЕДЕЛИ\t\t\t\t##\tПреобразует числовое представление в число, которое указывает, на какую неделю года приходится указанная дата.\r\nWORKDAY\t\t\t= РАБДЕНЬ\t\t\t\t##\tВозвращает дату в числовом формате, отстоящую вперед или назад на заданное количество рабочих дней.\r\nYEAR\t\t\t= ГОД\t\t\t\t\t##\tПреобразует дату в числовом формате в год.\r\nYEARFRAC\t\t= ДОЛЯГОДА\t\t\t\t##\tВозвращает долю года, которую составляет количество дней между начальной и конечной датами.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\t\tИнженерные функции\r\n##\r\nBESSELI\t\t\t= БЕССЕЛЬ.I\t \t\t\t##\tВозвращает модифицированную функцию Бесселя In(x).\r\nBESSELJ\t\t\t= БЕССЕЛЬ.J\t\t\t\t##\tВозвращает функцию Бесселя Jn(x).\r\nBESSELK\t\t\t= БЕССЕЛЬ.K\t\t\t\t##\tВозвращает модифицированную функцию Бесселя Kn(x).\r\nBESSELY\t\t\t= БЕССЕЛЬ.Y\t\t\t\t##\tВозвращает функцию Бесселя Yn(x).\r\nBIN2DEC\t\t\t= ДВ.В.ДЕС\t\t\t\t##\tПреобразует двоичное число в десятичное.\r\nBIN2HEX\t\t\t= ДВ.В.ШЕСТН\t\t\t\t##\tПреобразует двоичное число в шестнадцатеричное.\r\nBIN2OCT\t\t\t= ДВ.В.ВОСЬМ\t\t\t\t##\tПреобразует двоичное число в восьмеричное.\r\nCOMPLEX\t\t\t= КОМПЛЕКСН\t\t\t\t##\tПреобразует коэффициенты при вещественной и мнимой частях комплексного числа в комплексное число.\r\nCONVERT\t\t\t= ПРЕОБР\t\t\t\t##\tПреобразует число из одной системы единиц измерения в другую.\r\nDEC2BIN\t\t\t= ДЕС.В.ДВ\t\t\t\t##\tПреобразует десятичное число в двоичное.\r\nDEC2HEX\t\t\t= ДЕС.В.ШЕСТН\t\t\t\t##\tПреобразует десятичное число в шестнадцатеричное.\r\nDEC2OCT\t\t\t= ДЕС.В.ВОСЬМ\t\t\t\t##\tПреобразует десятичное число в восьмеричное.\r\nDELTA\t\t\t= ДЕЛЬТА\t\t\t\t##\tПроверяет равенство двух значений.\r\nERF\t\t\t= ФОШ\t\t\t\t\t##\tВозвращает функцию ошибки.\r\nERFC\t\t\t= ДФОШ\t\t\t\t\t##\tВозвращает дополнительную функцию ошибки.\r\nGESTEP\t\t\t= ПОРОГ\t\t\t\t\t##\tПроверяет, не превышает ли данное число порогового значения.\r\nHEX2BIN\t\t\t= ШЕСТН.В.ДВ\t\t\t\t##\tПреобразует шестнадцатеричное число в двоичное.\r\nHEX2DEC\t\t\t= ШЕСТН.В.ДЕС\t\t\t\t##\tПреобразует шестнадцатеричное число в десятичное.\r\nHEX2OCT\t\t\t= ШЕСТН.В.ВОСЬМ\t\t\t\t##\tПреобразует шестнадцатеричное число в восьмеричное.\r\nIMABS\t\t\t= МНИМ.ABS\t\t\t\t##\tВозвращает абсолютную величину (модуль) комплексного числа.\r\nIMAGINARY\t\t= МНИМ.ЧАСТЬ\t\t\t\t##\tВозвращает коэффициент при мнимой части комплексного числа.\r\nIMARGUMENT\t\t= МНИМ.АРГУМЕНТ\t\t\t\t##\tВозвращает значение аргумента комплексного числа (тета) — угол, выраженный в радианах.\r\nIMCONJUGATE\t\t= МНИМ.СОПРЯЖ\t\t\t\t##\tВозвращает комплексно-сопряженное комплексное число.\r\nIMCOS\t\t\t= МНИМ.COS\t\t\t\t##\tВозвращает косинус комплексного числа.\r\nIMDIV\t\t\t= МНИМ.ДЕЛ\t\t\t\t##\tВозвращает частное от деления двух комплексных чисел.\r\nIMEXP\t\t\t= МНИМ.EXP\t\t\t\t##\tВозвращает экспоненту комплексного числа.\r\nIMLN\t\t\t= МНИМ.LN\t\t\t\t##\tВозвращает натуральный логарифм комплексного числа.\r\nIMLOG10\t\t\t= МНИМ.LOG10\t\t\t\t##\tВозвращает обычный (десятичный) логарифм комплексного числа.\r\nIMLOG2\t\t\t= МНИМ.LOG2\t\t\t\t##\tВозвращает двоичный логарифм комплексного числа.\r\nIMPOWER\t\t\t= МНИМ.СТЕПЕНЬ\t\t\t\t##\tВозвращает комплексное число, возведенное в целую степень.\r\nIMPRODUCT\t\t= МНИМ.ПРОИЗВЕД\t\t\t\t##\tВозвращает произведение от 2 до 29 комплексных чисел.\r\nIMREAL\t\t\t= МНИМ.ВЕЩ\t\t\t\t##\tВозвращает коэффициент при вещественной части комплексного числа.\r\nIMSIN\t\t\t= МНИМ.SIN\t\t\t\t##\tВозвращает синус комплексного числа.\r\nIMSQRT\t\t\t= МНИМ.КОРЕНЬ\t\t\t\t##\tВозвращает значение квадратного корня из комплексного числа.\r\nIMSUB\t\t\t= МНИМ.РАЗН\t\t\t\t##\tВозвращает разность двух комплексных чисел.\r\nIMSUM\t\t\t= МНИМ.СУММ\t\t\t\t##\tВозвращает сумму комплексных чисел.\r\nOCT2BIN\t\t\t= ВОСЬМ.В.ДВ\t\t\t\t##\tПреобразует восьмеричное число в двоичное.\r\nOCT2DEC\t\t\t= ВОСЬМ.В.ДЕС\t\t\t\t##\tПреобразует восьмеричное число в десятичное.\r\nOCT2HEX\t\t\t= ВОСЬМ.В.ШЕСТН\t\t\t\t##\tПреобразует восьмеричное число в шестнадцатеричное.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\t\tФинансовые функции\r\n##\r\nACCRINT\t\t\t= НАКОПДОХОД\t\t\t\t##\tВозвращает накопленный процент по ценным бумагам с периодической выплатой процентов.\r\nACCRINTM\t\t= НАКОПДОХОДПОГАШ\t\t\t##\tВозвращает накопленный процент по ценным бумагам, проценты по которым выплачиваются в срок погашения.\r\nAMORDEGRC\t\t= АМОРУМ\t\t\t\t##\tВозвращает величину амортизации для каждого периода, используя коэффициент амортизации.\r\nAMORLINC\t\t= АМОРУВ\t\t\t\t##\tВозвращает величину амортизации для каждого периода.\r\nCOUPDAYBS\t\t= ДНЕЙКУПОНДО\t\t\t\t##\tВозвращает количество дней от начала действия купона до даты соглашения.\r\nCOUPDAYS\t\t= ДНЕЙКУПОН\t\t\t\t##\tВозвращает число дней в периоде купона, содержащем дату соглашения.\r\nCOUPDAYSNC\t\t= ДНЕЙКУПОНПОСЛЕ\t\t\t##\tВозвращает число дней от даты соглашения до срока следующего купона.\r\nCOUPNCD\t\t\t= ДАТАКУПОНПОСЛЕ\t\t\t##\tВозвращает следующую дату купона после даты соглашения.\r\nCOUPNUM\t\t\t= ЧИСЛКУПОН\t\t\t\t##\tВозвращает количество купонов, которые могут быть оплачены между датой соглашения и сроком вступления в силу.\r\nCOUPPCD\t\t\t= ДАТАКУПОНДО\t\t\t\t##\tВозвращает предыдущую дату купона перед датой соглашения.\r\nCUMIPMT\t\t\t= ОБЩПЛАТ\t\t\t\t##\tВозвращает общую выплату, произведенную между двумя периодическими выплатами.\r\nCUMPRINC\t\t= ОБЩДОХОД\t\t\t\t##\tВозвращает общую выплату по займу между двумя периодами.\r\nDB\t\t\t= ФУО\t\t\t\t\t##\tВозвращает величину амортизации актива для заданного периода, рассчитанную методом фиксированного уменьшения остатка.\r\nDDB\t\t\t= ДДОБ\t\t\t\t\t##\tВозвращает величину амортизации актива за данный период, используя метод двойного уменьшения остатка или иной явно указанный метод.\r\nDISC\t\t\t= СКИДКА\t\t\t\t##\tВозвращает норму скидки для ценных бумаг.\r\nDOLLARDE\t\t= РУБЛЬ.ДЕС\t\t\t\t##\tПреобразует цену в рублях, выраженную в виде дроби, в цену в рублях, выраженную десятичным числом.\r\nDOLLARFR\t\t= РУБЛЬ.ДРОБЬ\t\t\t\t##\tПреобразует цену в рублях, выраженную десятичным числом, в цену в рублях, выраженную в виде дроби.\r\nDURATION\t\t= ДЛИТ\t\t\t\t\t##\tВозвращает ежегодную продолжительность действия ценных бумаг с периодическими выплатами по процентам.\r\nEFFECT\t\t\t= ЭФФЕКТ\t\t\t\t##\tВозвращает действующие ежегодные процентные ставки.\r\nFV\t\t\t= БС\t\t\t\t\t##\tВозвращает будущую стоимость инвестиции.\r\nFVSCHEDULE\t\t= БЗРАСПИС\t\t\t\t##\tВозвращает будущую стоимость первоначальной основной суммы после начисления ряда сложных процентов.\r\nINTRATE\t\t\t= ИНОРМА\t\t\t\t##\tВозвращает процентную ставку для полностью инвестированных ценных бумаг.\r\nIPMT\t\t\t= ПРПЛТ\t\t\t\t\t##\tВозвращает величину выплаты прибыли на вложения за данный период.\r\nIRR\t\t\t= ВСД\t\t\t\t\t##\tВозвращает внутреннюю ставку доходности для ряда потоков денежных средств.\r\nISPMT\t\t\t= ПРОЦПЛАТ\t\t\t\t##\tВычисляет выплаты за указанный период инвестиции.\r\nMDURATION\t\t= МДЛИТ\t\t\t\t\t##\tВозвращает модифицированную длительность Маколея для ценных бумаг с предполагаемой номинальной стоимостью 100 рублей.\r\nMIRR\t\t\t= МВСД\t\t\t\t\t##\tВозвращает внутреннюю ставку доходности, при которой положительные и отрицательные денежные потоки имеют разные значения ставки.\r\nNOMINAL\t\t\t= НОМИНАЛ\t\t\t\t##\tВозвращает номинальную годовую процентную ставку.\r\nNPER\t\t\t= КПЕР\t\t\t\t\t##\tВозвращает общее количество периодов выплаты для данного вклада.\r\nNPV\t\t\t= ЧПС\t\t\t\t\t##\tВозвращает чистую приведенную стоимость инвестиции, основанной на серии периодических денежных потоков и ставке дисконтирования.\r\nODDFPRICE\t\t= ЦЕНАПЕРВНЕРЕГ\t\t\t\t##\tВозвращает цену за 100 рублей нарицательной стоимости ценных бумаг с нерегулярным первым периодом.\r\nODDFYIELD\t\t= ДОХОДПЕРВНЕРЕГ\t\t\t##\tВозвращает доход по ценным бумагам с нерегулярным первым периодом.\r\nODDLPRICE\t\t= ЦЕНАПОСЛНЕРЕГ\t\t\t\t##\tВозвращает цену за 100 рублей нарицательной стоимости ценных бумаг с нерегулярным последним периодом.\r\nODDLYIELD\t\t= ДОХОДПОСЛНЕРЕГ\t\t\t##\tВозвращает доход по ценным бумагам с нерегулярным последним периодом.\r\nPMT\t\t\t= ПЛТ\t\t\t\t\t##\tВозвращает величину выплаты за один период аннуитета.\r\nPPMT\t\t\t= ОСПЛТ\t\t\t\t\t##\tВозвращает величину выплат в погашение основной суммы по инвестиции за заданный период.\r\nPRICE\t\t\t= ЦЕНА\t\t\t\t\t##\tВозвращает цену за 100 рублей нарицательной стоимости ценных бумаг, по которым производится периодическая выплата процентов.\r\nPRICEDISC\t\t= ЦЕНАСКИДКА\t\t\t\t##\tВозвращает цену за 100 рублей номинальной стоимости ценных бумаг, на которые сделана скидка.\r\nPRICEMAT\t\t= ЦЕНАПОГАШ\t\t\t\t##\tВозвращает цену за 100 рублей номинальной стоимости ценных бумаг, проценты по которым выплачиваются в срок погашения.\r\nPV\t\t\t= ПС\t\t\t\t\t##\tВозвращает приведенную (к текущему моменту) стоимость инвестиции.\r\nRATE\t\t\t= СТАВКА\t\t\t\t##\tВозвращает процентную ставку по аннуитету за один период.\r\nRECEIVED\t\t= ПОЛУЧЕНО\t\t\t\t##\tВозвращает сумму, полученную к сроку погашения полностью обеспеченных ценных бумаг.\r\nSLN\t\t\t= АПЛ\t\t\t\t\t##\tВозвращает величину линейной амортизации актива за один период.\r\nSYD\t\t\t= АСЧ\t\t\t\t\t##\tВозвращает величину амортизации актива за данный период, рассчитанную методом суммы годовых чисел.\r\nTBILLEQ\t\t\t= РАВНОКЧЕК\t\t\t\t##\tВозвращает эквивалентный облигации доход по казначейскому чеку.\r\nTBILLPRICE\t\t= ЦЕНАКЧЕК\t\t\t\t##\tВозвращает цену за 100 рублей нарицательной стоимости для казначейского чека.\r\nTBILLYIELD\t\t= ДОХОДКЧЕК\t\t\t\t##\tВозвращает доход по казначейскому чеку.\r\nVDB\t\t\t= ПУО\t\t\t\t\t##\tВозвращает величину амортизации актива для указанного или частичного периода при использовании метода сокращающегося баланса.\r\nXIRR\t\t\t= ЧИСТВНДОХ\t\t\t\t##\tВозвращает внутреннюю ставку доходности для графика денежных потоков, которые не обязательно носят периодический характер.\r\nXNPV\t\t\t= ЧИСТНЗ\t\t\t\t##\tВозвращает чистую приведенную стоимость для денежных потоков, которые не обязательно являются периодическими.\r\nYIELD\t\t\t= ДОХОД\t\t\t\t\t##\tВозвращает доход от ценных бумаг, по которым производятся периодические выплаты процентов.\r\nYIELDDISC\t\t= ДОХОДСКИДКА\t\t\t\t##\tВозвращает годовой доход по ценным бумагам, на которые сделана скидка (пример — казначейские чеки).\r\nYIELDMAT\t\t= ДОХОДПОГАШ\t\t\t\t##\tВозвращает годовой доход от ценных бумаг, проценты по которым выплачиваются в срок погашения.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\t\tИнформационные функции\r\n##\r\nCELL\t\t\t= ЯЧЕЙКА\t\t\t\t##\tВозвращает информацию о формате, расположении или содержимом ячейки.\r\nERROR.TYPE\t\t= ТИП.ОШИБКИ\t\t\t\t##\tВозвращает числовой код, соответствующий типу ошибки.\r\nINFO\t\t\t= ИНФОРМ\t\t\t\t##\tВозвращает информацию о текущей операционной среде.\r\nISBLANK\t\t\t= ЕПУСТО\t\t\t\t##\tВозвращает значение ИСТИНА, если аргумент является ссылкой на пустую ячейку.\r\nISERR\t\t\t= ЕОШ\t\t\t\t\t##\tВозвращает значение ИСТИНА, если аргумент ссылается на любое значение ошибки, кроме #Н/Д.\r\nISERROR\t\t\t= ЕОШИБКА\t\t\t\t##\tВозвращает значение ИСТИНА, если аргумент ссылается на любое значение ошибки.\r\nISEVEN\t\t\t= ЕЧЁТН\t\t\t\t\t##\tВозвращает значение ИСТИНА, если значение аргумента является четным числом.\r\nISLOGICAL\t\t= ЕЛОГИЧ\t\t\t\t##\tВозвращает значение ИСТИНА, если аргумент ссылается на логическое значение.\r\nISNA\t\t\t= ЕНД\t\t\t\t\t##\tВозвращает значение ИСТИНА, если аргумент ссылается на значение ошибки #Н/Д.\r\nISNONTEXT\t\t= ЕНЕТЕКСТ\t\t\t\t##\tВозвращает значение ИСТИНА, если значение аргумента не является текстом.\r\nISNUMBER\t\t= ЕЧИСЛО\t\t\t\t##\tВозвращает значение ИСТИНА, если аргумент ссылается на число.\r\nISODD\t\t\t= ЕНЕЧЁТ\t\t\t\t##\tВозвращает значение ИСТИНА, если значение аргумента является нечетным числом.\r\nISREF\t\t\t= ЕССЫЛКА\t\t\t\t##\tВозвращает значение ИСТИНА, если значение аргумента является ссылкой.\r\nISTEXT\t\t\t= ЕТЕКСТ\t\t\t\t##\tВозвращает значение ИСТИНА, если значение аргумента является текстом.\r\nN\t\t\t= Ч\t\t\t\t\t##\tВозвращает значение, преобразованное в число.\r\nNA\t\t\t= НД\t\t\t\t\t##\tВозвращает значение ошибки #Н/Д.\r\nTYPE\t\t\t= ТИП\t\t\t\t\t##\tВозвращает число, обозначающее тип данных значения.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\t\tЛогические функции\r\n##\r\nAND\t\t\t= И\t\t\t\t\t##\tRenvoie VRAI si tous ses arguments sont VRAI.\r\nFALSE\t\t\t= ЛОЖЬ\t\t\t\t\t##\tВозвращает логическое значение ЛОЖЬ.\r\nIF\t\t\t= ЕСЛИ\t\t\t\t\t##\tВыполняет проверку условия.\r\nIFERROR\t\t\t= ЕСЛИОШИБКА\t\t\t\t##\tВозвращает введённое значение, если вычисление по формуле вызывает ошибку; в противном случае функция возвращает результат вычисления.\r\nNOT\t\t\t= НЕ\t\t\t\t\t##\tМеняет логическое значение своего аргумента на противоположное.\r\nOR\t\t\t= ИЛИ\t\t\t\t\t##\tВозвращает значение ИСТИНА, если хотя бы один аргумент имеет значение ИСТИНА.\r\nTRUE\t\t\t= ИСТИНА\t\t\t\t##\tВозвращает логическое значение ИСТИНА.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\t\tФункции ссылки и поиска\r\n##\r\nADDRESS\t\t\t= АДРЕС\t\t\t\t\t##\tВозвращает ссылку на отдельную ячейку листа в виде текста.\r\nAREAS\t\t\t= ОБЛАСТИ\t\t\t\t##\tВозвращает количество областей в ссылке.\r\nCHOOSE\t\t\t= ВЫБОР\t\t\t\t\t##\tВыбирает значение из списка значений по индексу.\r\nCOLUMN\t\t\t= СТОЛБЕЦ\t\t\t\t##\tВозвращает номер столбца, на который указывает ссылка.\r\nCOLUMNS\t\t\t= ЧИСЛСТОЛБ\t\t\t\t##\tВозвращает количество столбцов в ссылке.\r\nHLOOKUP\t\t\t= ГПР\t\t\t\t\t##\tИщет в первой строке массива и возвращает значение отмеченной ячейки\r\nHYPERLINK\t\t= ГИПЕРССЫЛКА\t\t\t\t##\tСоздает ссылку, открывающую документ, который находится на сервере сети, в интрасети или в Интернете.\r\nINDEX\t\t\t= ИНДЕКС\t\t\t\t##\tИспользует индекс для выбора значения из ссылки или массива.\r\nINDIRECT\t\t= ДВССЫЛ\t\t\t\t##\tВозвращает ссылку, заданную текстовым значением.\r\nLOOKUP\t\t\t= ПРОСМОТР\t\t\t\t##\tИщет значения в векторе или массиве.\r\nMATCH\t\t\t= ПОИСКПОЗ\t\t\t\t##\tИщет значения в ссылке или массиве.\r\nOFFSET\t\t\t= СМЕЩ\t\t\t\t\t##\tВозвращает смещение ссылки относительно заданной ссылки.\r\nROW\t\t\t= СТРОКА\t\t\t\t##\tВозвращает номер строки, определяемой ссылкой.\r\nROWS\t\t\t= ЧСТРОК\t\t\t\t##\tВозвращает количество строк в ссылке.\r\nRTD\t\t\t= ДРВ\t\t\t\t\t##\tИзвлекает данные реального времени из программ, поддерживающих автоматизацию COM (Программирование объектов. Стандартное средство для работы с объектами некоторого приложения из другого приложения или средства разработки. Программирование объектов (ранее называемое программированием OLE) является функцией модели COM (Component Object Model, модель компонентных объектов).).\r\nTRANSPOSE\t\t= ТРАНСП\t\t\t\t##\tВозвращает транспонированный массив.\r\nVLOOKUP\t\t\t= ВПР\t\t\t\t\t##\tИщет значение в первом столбце массива и возвращает значение из ячейки в найденной строке и указанном столбце.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\t\tМатематические и тригонометрические функции\r\n##\r\nABS\t\t\t= ABS\t\t\t\t\t##\tВозвращает модуль (абсолютную величину) числа.\r\nACOS\t\t\t= ACOS\t\t\t\t\t##\tВозвращает арккосинус числа.\r\nACOSH\t\t\t= ACOSH\t\t\t\t\t##\tВозвращает гиперболический арккосинус числа.\r\nASIN\t\t\t= ASIN\t\t\t\t\t##\tВозвращает арксинус числа.\r\nASINH\t\t\t= ASINH\t\t\t\t\t##\tВозвращает гиперболический арксинус числа.\r\nATAN\t\t\t= ATAN\t\t\t\t\t##\tВозвращает арктангенс числа.\r\nATAN2\t\t\t= ATAN2\t\t\t\t\t##\tВозвращает арктангенс для заданных координат x и y.\r\nATANH\t\t\t= ATANH\t\t\t\t\t##\tВозвращает гиперболический арктангенс числа.\r\nCEILING\t\t\t= ОКРВВЕРХ\t\t\t\t##\tОкругляет число до ближайшего целого или до ближайшего кратного указанному значению.\r\nCOMBIN\t\t\t= ЧИСЛКОМБ\t\t\t\t##\tВозвращает количество комбинаций для заданного числа объектов.\r\nCOS\t\t\t= COS\t\t\t\t\t##\tВозвращает косинус числа.\r\nCOSH\t\t\t= COSH\t\t\t\t\t##\tВозвращает гиперболический косинус числа.\r\nDEGREES\t\t\t= ГРАДУСЫ\t\t\t\t##\tПреобразует радианы в градусы.\r\nEVEN\t\t\t= ЧЁТН\t\t\t\t\t##\tОкругляет число до ближайшего четного целого.\r\nEXP\t\t\t= EXP\t\t\t\t\t##\tВозвращает число e, возведенное в указанную степень.\r\nFACT\t\t\t= ФАКТР\t\t\t\t\t##\tВозвращает факториал числа.\r\nFACTDOUBLE\t\t= ДВФАКТР\t\t\t\t##\tВозвращает двойной факториал числа.\r\nFLOOR\t\t\t= ОКРВНИЗ\t\t\t\t##\tОкругляет число до ближайшего меньшего по модулю значения.\r\nGCD\t\t\t= НОД\t\t\t\t\t##\tВозвращает наибольший общий делитель.\r\nINT\t\t\t= ЦЕЛОЕ\t\t\t\t\t##\tОкругляет число до ближайшего меньшего целого.\r\nLCM\t\t\t= НОК\t\t\t\t\t##\tВозвращает наименьшее общее кратное.\r\nLN\t\t\t= LN\t\t\t\t\t##\tВозвращает натуральный логарифм числа.\r\nLOG\t\t\t= LOG\t\t\t\t\t##\tВозвращает логарифм числа по заданному основанию.\r\nLOG10\t\t\t= LOG10\t\t\t\t\t##\tВозвращает десятичный логарифм числа.\r\nMDETERM\t\t\t= МОПРЕД\t\t\t\t##\tВозвращает определитель матрицы массива.\r\nMINVERSE\t\t= МОБР\t\t\t\t\t##\tВозвращает обратную матрицу массива.\r\nMMULT\t\t\t= МУМНОЖ\t\t\t\t##\tВозвращает произведение матриц двух массивов.\r\nMOD\t\t\t= ОСТАТ\t\t\t\t\t##\tВозвращает остаток от деления.\r\nMROUND\t\t\t= ОКРУГЛТ\t\t\t\t##\tВозвращает число, округленное с требуемой точностью.\r\nMULTINOMIAL\t\t= МУЛЬТИНОМ\t\t\t\t##\tВозвращает мультиномиальный коэффициент множества чисел.\r\nODD\t\t\t= НЕЧЁТ\t\t\t\t\t##\tОкругляет число до ближайшего нечетного целого.\r\nPI\t\t\t= ПИ\t\t\t\t\t##\tВозвращает число пи.\r\nPOWER\t\t\t= СТЕПЕНЬ\t\t\t\t##\tВозвращает результат возведения числа в степень.\r\nPRODUCT\t\t\t= ПРОИЗВЕД\t\t\t\t##\tВозвращает произведение аргументов.\r\nQUOTIENT\t\t= ЧАСТНОЕ\t\t\t\t##\tВозвращает целую часть частного при делении.\r\nRADIANS\t\t\t= РАДИАНЫ\t\t\t\t##\tПреобразует градусы в радианы.\r\nRAND\t\t\t= СЛЧИС\t\t\t\t\t##\tВозвращает случайное число в интервале от 0 до 1.\r\nRANDBETWEEN\t\t= СЛУЧМЕЖДУ\t\t\t\t##\tВозвращает случайное число в интервале между двумя заданными числами.\r\nROMAN\t\t\t= РИМСКОЕ\t\t\t\t##\tПреобразует арабские цифры в римские в виде текста.\r\nROUND\t\t\t= ОКРУГЛ\t\t\t\t##\tОкругляет число до указанного количества десятичных разрядов.\r\nROUNDDOWN\t\t= ОКРУГЛВНИЗ\t\t\t\t##\tОкругляет число до ближайшего меньшего по модулю значения.\r\nROUNDUP\t\t\t= ОКРУГЛВВЕРХ\t\t\t\t##\tОкругляет число до ближайшего большего по модулю значения.\r\nSERIESSUM\t\t= РЯД.СУММ\t\t\t\t##\tВозвращает сумму степенного ряда, вычисленную по формуле.\r\nSIGN\t\t\t= ЗНАК\t\t\t\t\t##\tВозвращает знак числа.\r\nSIN\t\t\t= SIN\t\t\t\t\t##\tВозвращает синус заданного угла.\r\nSINH\t\t\t= SINH\t\t\t\t\t##\tВозвращает гиперболический синус числа.\r\nSQRT\t\t\t= КОРЕНЬ\t\t\t\t##\tВозвращает положительное значение квадратного корня.\r\nSQRTPI\t\t\t= КОРЕНЬПИ\t\t\t\t##\tВозвращает квадратный корень из значения выражения (число * ПИ).\r\nSUBTOTAL\t\t= ПРОМЕЖУТОЧНЫЕ.ИТОГИ\t\t\t##\tВозвращает промежуточный итог в списке или базе данных.\r\nSUM\t\t\t= СУММ\t\t\t\t\t##\tСуммирует аргументы.\r\nSUMIF\t\t\t= СУММЕСЛИ\t\t\t\t##\tСуммирует ячейки, удовлетворяющие заданному условию.\r\nSUMIFS\t\t\t= СУММЕСЛИМН\t\t\t\t##\tСуммирует диапазон ячеек, удовлетворяющих нескольким условиям. \r\nSUMPRODUCT\t\t= СУММПРОИЗВ\t\t\t\t##\tВозвращает сумму произведений соответствующих элементов массивов.\r\nSUMSQ\t\t\t= СУММКВ\t\t\t\t##\tВозвращает сумму квадратов аргументов.\r\nSUMX2MY2\t\t= СУММРАЗНКВ\t\t\t\t##\tВозвращает сумму разностей квадратов соответствующих значений в двух массивах.\r\nSUMX2PY2\t\t= СУММСУММКВ\t\t\t\t##\tВозвращает сумму сумм квадратов соответствующих элементов двух массивов.\r\nSUMXMY2\t\t\t= СУММКВРАЗН\t\t\t\t##\tВозвращает сумму квадратов разностей соответствующих значений в двух массивах.\r\nTAN\t\t\t= TAN\t\t\t\t\t##\tВозвращает тангенс числа.\r\nTANH\t\t\t= TANH\t\t\t\t\t##\tВозвращает гиперболический тангенс числа.\r\nTRUNC\t\t\t= ОТБР\t\t\t\t\t##\tОтбрасывает дробную часть числа.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\t\tСтатистические функции\r\n##\r\nAVEDEV\t\t\t= СРОТКЛ\t\t\t\t##\tВозвращает среднее арифметическое абсолютных значений отклонений точек данных от среднего.\r\nAVERAGE\t\t\t= СРЗНАЧ\t\t\t\t##\tВозвращает среднее арифметическое аргументов.\r\nAVERAGEA\t\t= СРЗНАЧА\t\t\t\t##\tВозвращает среднее арифметическое аргументов, включая числа, текст и логические значения.\r\nAVERAGEIF\t\t= СРЗНАЧЕСЛИ \t\t\t\t##\tВозвращает среднее значение (среднее арифметическое) всех ячеек в диапазоне, которые удовлетворяют данному условию.\r\nAVERAGEIFS\t\t= СРЗНАЧЕСЛИМН \t\t\t\t##\tВозвращает среднее значение (среднее арифметическое) всех ячеек, которые удовлетворяют нескольким условиям. \r\nBETADIST\t\t= БЕТАРАСП\t\t\t\t##\tВозвращает интегральную функцию бета-распределения.\r\nBETAINV\t\t\t= БЕТАОБР\t\t\t\t##\tВозвращает обратную интегральную функцию указанного бета-распределения.\r\nBINOMDIST\t\t= БИНОМРАСП\t\t\t\t##\tВозвращает отдельное значение биномиального распределения.\r\nCHIDIST\t\t\t= ХИ2РАСП\t\t\t\t##\tВозвращает одностороннюю вероятность распределения хи-квадрат.\r\nCHIINV\t\t\t= ХИ2ОБР\t\t\t\t##\tВозвращает обратное значение односторонней вероятности распределения хи-квадрат.\r\nCHITEST\t\t\t= ХИ2ТЕСТ\t\t\t\t##\tВозвращает тест на независимость.\r\nCONFIDENCE\t\t= ДОВЕРИТ\t\t\t\t##\tВозвращает доверительный интервал для среднего значения по генеральной совокупности.\r\nCORREL\t\t\t= КОРРЕЛ\t\t\t\t##\tВозвращает коэффициент корреляции между двумя множествами данных.\r\nCOUNT\t\t\t= СЧЁТ\t\t\t\t\t##\tПодсчитывает количество чисел в списке аргументов.\r\nCOUNTA\t\t\t= СЧЁТЗ\t\t\t\t\t##\tПодсчитывает количество значений в списке аргументов.\r\nCOUNTBLANK\t\t= СЧИТАТЬПУСТОТЫ\t\t\t##\tПодсчитывает количество пустых ячеек в диапазоне\r\nCOUNTIF\t\t\t= СЧЁТЕСЛИ \t\t\t\t##\tПодсчитывает количество ячеек в диапазоне, удовлетворяющих заданному условию\r\nCOUNTIFS\t\t= СЧЁТЕСЛИМН\t\t\t\t##\tПодсчитывает количество ячеек внутри диапазона, удовлетворяющих нескольким условиям.\r\nCOVAR\t\t\t= КОВАР\t\t\t\t\t##\tВозвращает ковариацию, среднее произведений парных отклонений\r\nCRITBINOM\t\t= КРИТБИНОМ\t\t\t\t##\tВозвращает наименьшее значение, для которого интегральное биномиальное распределение меньше или равно заданному критерию.\r\nDEVSQ\t\t\t= КВАДРОТКЛ\t\t\t\t##\tВозвращает сумму квадратов отклонений.\r\nEXPONDIST\t\t= ЭКСПРАСП\t\t\t\t##\tВозвращает экспоненциальное распределение.\r\nFDIST\t\t\t= FРАСП\t\t\t\t\t##\tВозвращает F-распределение вероятности.\r\nFINV\t\t\t= FРАСПОБР\t\t\t\t##\tВозвращает обратное значение для F-распределения вероятности.\r\nFISHER\t\t\t= ФИШЕР\t\t\t\t\t##\tВозвращает преобразование Фишера.\r\nFISHERINV\t\t= ФИШЕРОБР\t\t\t\t##\tВозвращает обратное преобразование Фишера.\r\nFORECAST\t\t= ПРЕДСКАЗ\t\t\t\t##\tВозвращает значение линейного тренда.\r\nFREQUENCY\t\t= ЧАСТОТА\t\t\t\t##\tВозвращает распределение частот в виде вертикального массива.\r\nFTEST\t\t\t= ФТЕСТ\t\t\t\t\t##\tВозвращает результат F-теста.\r\nGAMMADIST\t\t= ГАММАРАСП\t\t\t\t##\tВозвращает гамма-распределение.\r\nGAMMAINV\t\t= ГАММАОБР\t\t\t\t##\tВозвращает обратное гамма-распределение.\r\nGAMMALN\t\t\t= ГАММАНЛОГ\t\t\t\t##\tВозвращает натуральный логарифм гамма функции, Γ(x).\r\nGEOMEAN\t\t\t= СРГЕОМ\t\t\t\t##\tВозвращает среднее геометрическое.\r\nGROWTH\t\t\t= РОСТ\t\t\t\t\t##\tВозвращает значения в соответствии с экспоненциальным трендом.\r\nHARMEAN\t\t\t= СРГАРМ\t\t\t\t##\tВозвращает среднее гармоническое.\r\nHYPGEOMDIST\t\t= ГИПЕРГЕОМЕТ\t\t\t\t##\tВозвращает гипергеометрическое распределение.\r\nINTERCEPT\t\t= ОТРЕЗОК\t\t\t\t##\tВозвращает отрезок, отсекаемый на оси линией линейной регрессии.\r\nKURT\t\t\t= ЭКСЦЕСС\t\t\t\t##\tВозвращает эксцесс множества данных.\r\nLARGE\t\t\t= НАИБОЛЬШИЙ\t\t\t\t##\tВозвращает k-ое наибольшее значение в множестве данных.\r\nLINEST\t\t\t= ЛИНЕЙН\t\t\t\t##\tВозвращает параметры линейного тренда.\r\nLOGEST\t\t\t= ЛГРФПРИБЛ\t\t\t\t##\tВозвращает параметры экспоненциального тренда.\r\nLOGINV\t\t\t= ЛОГНОРМОБР\t\t\t\t##\tВозвращает обратное логарифмическое нормальное распределение.\r\nLOGNORMDIST\t\t= ЛОГНОРМРАСП\t\t\t\t##\tВозвращает интегральное логарифмическое нормальное распределение.\r\nMAX\t\t\t= МАКС\t\t\t\t\t##\tВозвращает наибольшее значение в списке аргументов.\r\nMAXA\t\t\t= МАКСА\t\t\t\t\t##\tВозвращает наибольшее значение в списке аргументов, включая числа, текст и логические значения.\r\nMEDIAN\t\t\t= МЕДИАНА\t\t\t\t##\tВозвращает медиану заданных чисел.\r\nMIN\t\t\t= МИН\t\t\t\t\t##\tВозвращает наименьшее значение в списке аргументов.\r\nMINA\t\t\t= МИНА\t\t\t\t\t##\tВозвращает наименьшее значение в списке аргументов, включая числа, текст и логические значения.\r\nMODE\t\t\t= МОДА\t\t\t\t\t##\tВозвращает значение моды множества данных.\r\nNEGBINOMDIST\t\t= ОТРБИНОМРАСП\t\t\t\t##\tВозвращает отрицательное биномиальное распределение.\r\nNORMDIST\t\t= НОРМРАСП\t\t\t\t##\tВозвращает нормальную функцию распределения.\r\nNORMINV\t\t\t= НОРМОБР\t\t\t\t##\tВозвращает обратное нормальное распределение.\r\nNORMSDIST\t\t= НОРМСТРАСП\t\t\t\t##\tВозвращает стандартное нормальное интегральное распределение.\r\nNORMSINV\t\t= НОРМСТОБР\t\t\t\t##\tВозвращает обратное значение стандартного нормального распределения.\r\nPEARSON\t\t\t= ПИРСОН\t\t\t\t##\tВозвращает коэффициент корреляции Пирсона.\r\nPERCENTILE\t\t= ПЕРСЕНТИЛЬ\t\t\t\t##\tВозвращает k-ую персентиль для значений диапазона.\r\nPERCENTRANK\t\t= ПРОЦЕНТРАНГ\t\t\t\t##\tВозвращает процентную норму значения в множестве данных.\r\nPERMUT\t\t\t= ПЕРЕСТ\t\t\t\t##\tВозвращает количество перестановок для заданного числа объектов.\r\nPOISSON\t\t\t= ПУАССОН\t\t\t\t##\tВозвращает распределение Пуассона.\r\nPROB\t\t\t= ВЕРОЯТНОСТЬ\t\t\t\t##\tВозвращает вероятность того, что значение из диапазона находится внутри заданных пределов.\r\nQUARTILE\t\t= КВАРТИЛЬ\t\t\t\t##\tВозвращает квартиль множества данных.\r\nRANK\t\t\t= РАНГ\t\t\t\t\t##\tВозвращает ранг числа в списке чисел.\r\nRSQ\t\t\t= КВПИРСОН\t\t\t\t##\tВозвращает квадрат коэффициента корреляции Пирсона.\r\nSKEW\t\t\t= СКОС\t\t\t\t\t##\tВозвращает асимметрию распределения.\r\nSLOPE\t\t\t= НАКЛОН\t\t\t\t##\tВозвращает наклон линии линейной регрессии.\r\nSMALL\t\t\t= НАИМЕНЬШИЙ\t\t\t\t##\tВозвращает k-ое наименьшее значение в множестве данных.\r\nSTANDARDIZE\t\t= НОРМАЛИЗАЦИЯ\t\t\t\t##\tВозвращает нормализованное значение.\r\nSTDEV\t\t\t= СТАНДОТКЛОН\t\t\t\t##\tОценивает стандартное отклонение по выборке.\r\nSTDEVA\t\t\t= СТАНДОТКЛОНА\t\t\t\t##\tОценивает стандартное отклонение по выборке, включая числа, текст и логические значения.\r\nSTDEVP\t\t\t= СТАНДОТКЛОНП\t\t\t\t##\tВычисляет стандартное отклонение по генеральной совокупности.\r\nSTDEVPA\t\t\t= СТАНДОТКЛОНПА\t\t\t\t##\tВычисляет стандартное отклонение по генеральной совокупности, включая числа, текст и логические значения.\r\nSTEYX\t\t\t= СТОШYX\t\t\t\t##\tВозвращает стандартную ошибку предсказанных значений y для каждого значения x в регрессии.\r\nTDIST\t\t\t= СТЬЮДРАСП\t\t\t\t##\tВозвращает t-распределение Стьюдента.\r\nTINV\t\t\t= СТЬЮДРАСПОБР\t\t\t\t##\tВозвращает обратное t-распределение Стьюдента.\r\nTREND\t\t\t= ТЕНДЕНЦИЯ\t\t\t\t##\tВозвращает значения в соответствии с линейным трендом.\r\nTRIMMEAN\t\t= УРЕЗСРЕДНЕЕ\t\t\t\t##\tВозвращает среднее внутренности множества данных.\r\nTTEST\t\t\t= ТТЕСТ\t\t\t\t\t##\tВозвращает вероятность, соответствующую критерию Стьюдента.\r\nVAR\t\t\t= ДИСП\t\t\t\t\t##\tОценивает дисперсию по выборке.\r\nVARA\t\t\t= ДИСПА\t\t\t\t\t##\tОценивает дисперсию по выборке, включая числа, текст и логические значения.\r\nVARP\t\t\t= ДИСПР\t\t\t\t\t##\tВычисляет дисперсию для генеральной совокупности.\r\nVARPA\t\t\t= ДИСПРА\t\t\t\t##\tВычисляет дисперсию для генеральной совокупности, включая числа, текст и логические значения.\r\nWEIBULL\t\t\t= ВЕЙБУЛЛ\t\t\t\t##\tВозвращает распределение Вейбулла.\r\nZTEST\t\t\t= ZТЕСТ\t\t\t\t\t##\tВозвращает двустороннее P-значение z-теста.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\t\tТекстовые функции\r\n##\r\nASC\t\t\t= ASC\t\t\t\t\t##\tДля языков с двухбайтовыми наборами знаков (например, катакана) преобразует полноширинные (двухбайтовые) знаки в полуширинные (однобайтовые).\r\nBAHTTEXT\t\t= БАТТЕКСТ\t\t\t\t##\tПреобразует число в текст, используя денежный формат ß (БАТ).\r\nCHAR\t\t\t= СИМВОЛ\t\t\t\t##\tВозвращает знак с заданным кодом.\r\nCLEAN\t\t\t= ПЕЧСИМВ\t\t\t\t##\tУдаляет все непечатаемые знаки из текста.\r\nCODE\t\t\t= КОДСИМВ\t\t\t\t##\tВозвращает числовой код первого знака в текстовой строке.\r\nCONCATENATE\t\t= СЦЕПИТЬ\t\t\t\t##\tОбъединяет несколько текстовых элементов в один.\r\nDOLLAR\t\t\t= РУБЛЬ\t\t\t\t\t##\tПреобразует число в текст, используя денежный формат.\r\nEXACT\t\t\t= СОВПАД\t\t\t\t##\tПроверяет идентичность двух текстовых значений.\r\nFIND\t\t\t= НАЙТИ\t\t\t\t\t##\tИщет вхождения одного текстового значения в другом (с учетом регистра).\r\nFINDB\t\t\t= НАЙТИБ\t\t\t\t##\tИщет вхождения одного текстового значения в другом (с учетом регистра).\r\nFIXED\t\t\t= ФИКСИРОВАННЫЙ\t\t\t\t##\tФорматирует число и преобразует его в текст с заданным числом десятичных знаков.\r\nJIS\t\t\t= JIS\t\t\t\t\t##\tДля языков с двухбайтовыми наборами знаков (например, катакана) преобразует полуширинные (однобайтовые) знаки в текстовой строке в полноширинные (двухбайтовые).\r\nLEFT\t\t\t= ЛЕВСИМВ\t\t\t\t##\tВозвращает крайние слева знаки текстового значения.\r\nLEFTB\t\t\t= ЛЕВБ\t\t\t\t\t##\tВозвращает крайние слева знаки текстового значения.\r\nLEN\t\t\t= ДЛСТР\t\t\t\t\t##\tВозвращает количество знаков в текстовой строке.\r\nLENB\t\t\t= ДЛИНБ\t\t\t\t\t##\tВозвращает количество знаков в текстовой строке.\r\nLOWER\t\t\t= СТРОЧН\t\t\t\t##\tПреобразует все буквы текста в строчные.\r\nMID\t\t\t= ПСТР\t\t\t\t\t##\tВозвращает заданное число знаков из строки текста, начиная с указанной позиции.\r\nMIDB\t\t\t= ПСТРБ\t\t\t\t\t##\tВозвращает заданное число знаков из строки текста, начиная с указанной позиции.\r\nPHONETIC\t\t= PHONETIC\t\t\t\t##\tИзвлекает фонетические (фуригана) знаки из текстовой строки.\r\nPROPER\t\t\t= ПРОПНАЧ\t\t\t\t##\tПреобразует первую букву в каждом слове текста в прописную.\r\nREPLACE\t\t\t= ЗАМЕНИТЬ\t\t\t\t##\tЗаменяет знаки в тексте.\r\nREPLACEB\t\t= ЗАМЕНИТЬБ\t\t\t\t##\tЗаменяет знаки в тексте.\r\nREPT\t\t\t= ПОВТОР\t\t\t\t##\tПовторяет текст заданное число раз.\r\nRIGHT\t\t\t= ПРАВСИМВ\t\t\t\t##\tВозвращает крайние справа знаки текстовой строки.\r\nRIGHTB\t\t\t= ПРАВБ\t\t\t\t\t##\tВозвращает крайние справа знаки текстовой строки.\r\nSEARCH\t\t\t= ПОИСК\t\t\t\t\t##\tИщет вхождения одного текстового значения в другом (без учета регистра).\r\nSEARCHB\t\t\t= ПОИСКБ\t\t\t\t##\tИщет вхождения одного текстового значения в другом (без учета регистра).\r\nSUBSTITUTE\t\t= ПОДСТАВИТЬ\t\t\t\t##\tЗаменяет в текстовой строке старый текст новым.\r\nT\t\t\t= Т\t\t\t\t\t##\tПреобразует аргументы в текст.\r\nTEXT\t\t\t= ТЕКСТ\t\t\t\t\t##\tФорматирует число и преобразует его в текст.\r\nTRIM\t\t\t= СЖПРОБЕЛЫ\t\t\t\t##\tУдаляет из текста пробелы.\r\nUPPER\t\t\t= ПРОПИСН\t\t\t\t##\tПреобразует все буквы текста в прописные.\r\nVALUE\t\t\t= ЗНАЧЕН\t\t\t\t##\tПреобразует текстовый аргумент в число.\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/sv/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= kr\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #Skärning!\r\nDIV0\t= #Division/0!\r\nVALUE\t= #Värdefel!\r\nREF\t= #Referens!\r\nNAME\t= #Namn?\r\nNUM\t= #Ogiltigt!\r\nNA\t= #Saknas!\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/sv/functions",
    "content": "##\r\n##\tAdd-in and Automation functions\t\t\tTilläggs- och automatiseringsfunktioner\r\n##\r\nGETPIVOTDATA\t\t= HÄMTA.PIVOTDATA\t\t##\tReturnerar data som lagrats i en pivottabellrapport\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tKubfunktioner\r\n##\r\nCUBEKPIMEMBER\t\t= KUBKPIMEDLEM\t\t\t##\tReturnerar namn, egenskap och mått för en KPI och visar namnet och egenskapen i cellen. En KPI, eller prestandaindikator, är ett kvantifierbart mått, t.ex. månatlig bruttovinst eller personalomsättning per kvartal, som används för att analysera ett företags resultat.\r\nCUBEMEMBER\t\t= KUBMEDLEM\t\t\t##\tReturnerar en medlem eller ett par i en kubhierarki. Används för att verifiera att medlemmen eller paret finns i kuben.\r\nCUBEMEMBERPROPERTY\t= KUBMEDLEMSEGENSKAP\t\t##\tReturnerar värdet för en medlemsegenskap i kuben. Används för att verifiera att ett medlemsnamn finns i kuben, samt för att returnera den angivna egenskapen för medlemmen.\r\nCUBERANKEDMEMBER\t= KUBRANGORDNADMEDLEM\t\t##\tReturnerar den n:te, eller rangordnade, medlemmen i en uppsättning. Används för att returnera ett eller flera element i en uppsättning, till exempelvis den bästa försäljaren eller de tio bästa eleverna.\r\nCUBESET\t\t\t= KUBINSTÄLLNING\t\t##\tDefinierar en beräknad uppsättning medlemmar eller par genom att skicka ett bestämt uttryck till kuben på servern, som skapar uppsättningen och sedan returnerar den till Microsoft Office Excel.\r\nCUBESETCOUNT\t\t= KUBINSTÄLLNINGANTAL\t\t##\tReturnerar antalet objekt i en uppsättning.\r\nCUBEVALUE\t\t= KUBVÄRDE\t\t\t##\tReturnerar ett mängdvärde från en kub.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tDatabasfunktioner\r\n##\r\nDAVERAGE\t\t= DMEDEL\t\t\t##\tReturnerar medelvärdet av databasposterna\r\nDCOUNT\t\t\t= DANTAL\t\t\t##\tRäknar antalet celler som innehåller tal i en databas\r\nDCOUNTA\t\t\t= DANTALV\t\t\t##\tRäknar ifyllda celler i en databas\r\nDGET\t\t\t= DHÄMTA\t\t\t##\tHämtar en enstaka post från en databas som uppfyller de angivna villkoren\r\nDMAX\t\t\t= DMAX\t\t\t\t##\tReturnerar det största värdet från databasposterna\r\nDMIN\t\t\t= DMIN\t\t\t\t##\tReturnerar det minsta värdet från databasposterna\r\nDPRODUCT\t\t= DPRODUKT\t\t\t##\tMultiplicerar värdena i ett visst fält i poster som uppfyller villkoret\r\nDSTDEV\t\t\t= DSTDAV\t\t\t##\tUppskattar standardavvikelsen baserat på ett urval av databasposterna\r\nDSTDEVP\t\t\t= DSTDAVP\t\t\t##\tBeräknar standardavvikelsen utifrån hela populationen av valda databasposter\r\nDSUM\t\t\t= DSUMMA\t\t\t##\tSummerar talen i kolumnfält i databasposter som uppfyller villkoret\r\nDVAR\t\t\t= DVARIANS\t\t\t##\tUppskattar variansen baserat på ett urval av databasposterna\r\nDVARP\t\t\t= DVARIANSP\t\t\t##\tBeräknar variansen utifrån hela populationen av valda databasposter\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tTid- och datumfunktioner\r\n##\r\nDATE\t\t\t= DATUM\t\t\t\t##\tReturnerar ett serienummer för ett visst datum\r\nDATEVALUE\t\t= DATUMVÄRDE\t\t\t##\tKonverterar ett datum i textformat till ett serienummer\r\nDAY\t\t\t= DAG\t\t\t\t##\tKonverterar ett serienummer till dag i månaden\r\nDAYS360\t\t\t= DAGAR360\t\t\t##\tBeräknar antalet dagar mellan två datum baserat på ett 360-dagarsår\r\nEDATE\t\t\t= EDATUM\t\t\t##\tReturnerar serienumret för ett datum som infaller ett visst antal månader före eller efter startdatumet\r\nEOMONTH\t\t\t= SLUTMÅNAD\t\t\t##\tReturnerar serienumret för sista dagen i månaden ett visst antal månader tidigare eller senare\r\nHOUR\t\t\t= TIMME\t\t\t\t##\tKonverterar ett serienummer till en timme\r\nMINUTE\t\t\t= MINUT\t\t\t\t##\tKonverterar ett serienummer till en minut\r\nMONTH\t\t\t= MÅNAD\t\t\t\t##\tKonverterar ett serienummer till en månad\r\nNETWORKDAYS\t\t= NETTOARBETSDAGAR\t\t##\tReturnerar antalet hela arbetsdagar mellan två datum\r\nNOW\t\t\t= NU\t\t\t\t##\tReturnerar serienumret för dagens datum och aktuell tid\r\nSECOND\t\t\t= SEKUND\t\t\t##\tKonverterar ett serienummer till en sekund\r\nTIME\t\t\t= KLOCKSLAG\t\t\t##\tReturnerar serienumret för en viss tid\r\nTIMEVALUE\t\t= TIDVÄRDE\t\t\t##\tKonverterar en tid i textformat till ett serienummer\r\nTODAY\t\t\t= IDAG\t\t\t\t##\tReturnerar serienumret för dagens datum\r\nWEEKDAY\t\t\t= VECKODAG\t\t\t##\tKonverterar ett serienummer till en dag i veckan\r\nWEEKNUM\t\t\t= VECKONR\t\t\t##\tKonverterar ett serienummer till ett veckonummer\r\nWORKDAY\t\t\t= ARBETSDAGAR\t\t\t##\tReturnerar serienumret för ett datum ett visst antal arbetsdagar tidigare eller senare\r\nYEAR\t\t\t= ÅR\t\t\t\t##\tKonverterar ett serienummer till ett år\r\nYEARFRAC\t\t= ÅRDEL\t\t\t\t##\tReturnerar en del av ett år som representerar antalet hela dagar mellan start- och slutdatum\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tTekniska funktioner\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tReturnerar den modifierade Bessel-funktionen In(x)\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tReturnerar Bessel-funktionen Jn(x)\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tReturnerar den modifierade Bessel-funktionen Kn(x)\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tReturnerar Bessel-funktionen Yn(x)\r\nBIN2DEC\t\t\t= BIN.TILL.DEC\t\t\t##\tOmvandlar ett binärt tal till decimalt\r\nBIN2HEX\t\t\t= BIN.TILL.HEX\t\t\t##\tOmvandlar ett binärt tal till hexadecimalt\r\nBIN2OCT\t\t\t= BIN.TILL.OKT\t\t\t##\tOmvandlar ett binärt tal till oktalt\r\nCOMPLEX\t\t\t= KOMPLEX\t\t\t##\tOmvandlar reella och imaginära koefficienter till ett komplext tal\r\nCONVERT\t\t\t= KONVERTERA\t\t\t##\tOmvandlar ett tal från ett måttsystem till ett annat\r\nDEC2BIN\t\t\t= DEC.TILL.BIN\t\t\t##\tOmvandlar ett decimalt tal till binärt\r\nDEC2HEX\t\t\t= DEC.TILL.HEX\t\t\t##\tOmvandlar ett decimalt tal till hexadecimalt\r\nDEC2OCT\t\t\t= DEC.TILL.OKT\t\t\t##\tOmvandlar ett decimalt tal till oktalt\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tTestar om två värden är lika\r\nERF\t\t\t= FELF\t\t\t\t##\tReturnerar felfunktionen\r\nERFC\t\t\t= FELFK\t\t\t\t##\tReturnerar den komplementära felfunktionen\r\nGESTEP\t\t\t= SLSTEG\t\t\t##\tTestar om ett tal är större än ett tröskelvärde\r\nHEX2BIN\t\t\t= HEX.TILL.BIN\t\t\t##\tOmvandlar ett hexadecimalt tal till binärt\r\nHEX2DEC\t\t\t= HEX.TILL.DEC\t\t\t##\tOmvandlar ett hexadecimalt tal till decimalt\r\nHEX2OCT\t\t\t= HEX.TILL.OKT\t\t\t##\tOmvandlar ett hexadecimalt tal till oktalt\r\nIMABS\t\t\t= IMABS\t\t\t\t##\tReturnerar absolutvärdet (modulus) för ett komplext tal\r\nIMAGINARY\t\t= IMAGINÄR\t\t\t##\tReturnerar den imaginära koefficienten för ett komplext tal\r\nIMARGUMENT\t\t= IMARGUMENT\t\t\t##\tReturnerar det komplexa talets argument, en vinkel uttryckt i radianer\r\nIMCONJUGATE\t\t= IMKONJUGAT\t\t\t##\tReturnerar det komplexa talets konjugat\r\nIMCOS\t\t\t= IMCOS\t\t\t\t##\tReturnerar cosinus för ett komplext tal\r\nIMDIV\t\t\t= IMDIV\t\t\t\t##\tReturnerar kvoten för två komplexa tal\r\nIMEXP\t\t\t= IMEUPPHÖJT\t\t\t##\tReturnerar exponenten för ett komplext tal\r\nIMLN\t\t\t= IMLN\t\t\t\t##\tReturnerar den naturliga logaritmen för ett komplext tal\r\nIMLOG10\t\t\t= IMLOG10\t\t\t##\tReturnerar 10-logaritmen för ett komplext tal\r\nIMLOG2\t\t\t= IMLOG2\t\t\t##\tReturnerar 2-logaritmen för ett komplext tal\r\nIMPOWER\t\t\t= IMUPPHÖJT\t\t\t##\tReturnerar ett komplext tal upphöjt till en exponent\r\nIMPRODUCT\t\t= IMPRODUKT\t\t\t##\tReturnerar produkten av komplexa tal\r\nIMREAL\t\t\t= IMREAL\t\t\t##\tReturnerar den reella koefficienten för ett komplext tal\r\nIMSIN\t\t\t= IMSIN\t\t\t\t##\tReturnerar sinus för ett komplext tal\r\nIMSQRT\t\t\t= IMROT\t\t\t\t##\tReturnerar kvadratroten av ett komplext tal\r\nIMSUB\t\t\t= IMDIFF\t\t\t##\tReturnerar differensen mellan två komplexa tal\r\nIMSUM\t\t\t= IMSUM\t\t\t\t##\tReturnerar summan av komplexa tal\r\nOCT2BIN\t\t\t= OKT.TILL.BIN\t\t\t##\tOmvandlar ett oktalt tal till binärt\r\nOCT2DEC\t\t\t= OKT.TILL.DEC\t\t\t##\tOmvandlar ett oktalt tal till decimalt\r\nOCT2HEX\t\t\t= OKT.TILL.HEX\t\t\t##\tOmvandlar ett oktalt tal till hexadecimalt\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFinansiella funktioner\r\n##\r\nACCRINT\t\t\t= UPPLRÄNTA\t\t\t##\tReturnerar den upplupna räntan för värdepapper med periodisk ränta\r\nACCRINTM\t\t= UPPLOBLRÄNTA\t\t\t##\tReturnerar den upplupna räntan för ett värdepapper som ger avkastning på förfallodagen\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tReturnerar avskrivningen för varje redovisningsperiod med hjälp av en avskrivningskoefficient\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tReturnerar avskrivningen för varje redovisningsperiod\r\nCOUPDAYBS\t\t= KUPDAGBB\t\t\t##\tReturnerar antal dagar från början av kupongperioden till likviddagen\r\nCOUPDAYS\t\t= KUPDAGARS\t\t\t##\tReturnerar antalet dagar i kupongperioden som innehåller betalningsdatumet\r\nCOUPDAYSNC\t\t= KUPDAGNK\t\t\t##\tReturnerar antalet dagar från betalningsdatumet till nästa kupongdatum\r\nCOUPNCD\t\t\t= KUPNKD\t\t\t##\tReturnerar nästa kupongdatum efter likviddagen\r\nCOUPNUM\t\t\t= KUPANT\t\t\t##\tReturnerar kuponger som förfaller till betalning mellan likviddagen och förfallodagen\r\nCOUPPCD\t\t\t= KUPFKD\t\t\t##\tReturnerar föregående kupongdatum före likviddagen\r\nCUMIPMT\t\t\t= KUMRÄNTA\t\t\t##\tReturnerar den ackumulerade räntan som betalats mellan två perioder\r\nCUMPRINC\t\t= KUMPRIS\t\t\t##\tReturnerar det ackumulerade kapitalbeloppet som betalats på ett lån mellan två perioder\r\nDB\t\t\t= DB\t\t\t\t##\tReturnerar avskrivningen för en tillgång under en angiven tid enligt metoden för fast degressiv avskrivning\r\nDDB\t\t\t= DEGAVSKR\t\t\t##\tReturnerar en tillgångs värdeminskning under en viss period med hjälp av dubbel degressiv avskrivning eller någon annan metod som du anger\r\nDISC\t\t\t= DISK\t\t\t\t##\tReturnerar diskonteringsräntan för ett värdepapper\r\nDOLLARDE\t\t= DECTAL\t\t\t##\tOmvandlar ett pris uttryckt som ett bråk till ett decimaltal\r\nDOLLARFR\t\t= BRÅK\t\t\t\t##\tOmvandlar ett pris i kronor uttryckt som ett decimaltal till ett bråk\r\nDURATION\t\t= LÖPTID\t\t\t##\tReturnerar den årliga löptiden för en säkerhet med periodiska räntebetalningar\r\nEFFECT\t\t\t= EFFRÄNTA\t\t\t##\tReturnerar den årliga effektiva räntesatsen\r\nFV\t\t\t= SLUTVÄRDE\t\t\t##\tReturnerar det framtida värdet på en investering\r\nFVSCHEDULE\t\t= FÖRRÄNTNING\t\t\t##\tReturnerar det framtida värdet av ett begynnelsekapital beräknat på olika räntenivåer\r\nINTRATE\t\t\t= ÅRSRÄNTA\t\t\t##\tReturnerar räntesatsen för ett betalt värdepapper\r\nIPMT\t\t\t= RBETALNING\t\t\t##\tReturnerar räntedelen av en betalning för en given period\r\nIRR\t\t\t= IR\t\t\t\t##\tReturnerar internräntan för en serie betalningar\r\nISPMT\t\t\t= RALÅN\t\t\t\t##\tBeräknar räntan som har betalats under en specifik betalningsperiod\r\nMDURATION\t\t= MLÖPTID\t\t\t##\tReturnerar den modifierade Macauley-löptiden för ett värdepapper med det antagna nominella värdet 100 kr\r\nMIRR\t\t\t= MODIR\t\t\t\t##\tReturnerar internräntan där positiva och negativa betalningar finansieras med olika räntor\r\nNOMINAL\t\t\t= NOMRÄNTA\t\t\t##\tReturnerar den årliga nominella räntesatsen\r\nNPER\t\t\t= PERIODER\t\t\t##\tReturnerar antalet perioder för en investering\r\nNPV\t\t\t= NETNUVÄRDE\t\t\t##\tReturnerar nuvärdet av en serie periodiska betalningar vid en given diskonteringsränta\r\nODDFPRICE\t\t= UDDAFPRIS\t\t\t##\tReturnerar priset per 100 kr nominellt värde för ett värdepapper med en udda första period\r\nODDFYIELD\t\t= UDDAFAVKASTNING\t\t##\tReturnerar avkastningen för en säkerhet med en udda första period\r\nODDLPRICE\t\t= UDDASPRIS\t\t\t##\tReturnerar priset per 100 kr nominellt värde för ett värdepapper med en udda sista period\r\nODDLYIELD\t\t= UDDASAVKASTNING\t\t##\tReturnerar avkastningen för en säkerhet med en udda sista period\r\nPMT\t\t\t= BETALNING\t\t\t##\tReturnerar den periodiska betalningen för en annuitet\r\nPPMT\t\t\t= AMORT\t\t\t\t##\tReturnerar amorteringsdelen av en annuitetsbetalning för en given period\r\nPRICE\t\t\t= PRIS\t\t\t\t##\tReturnerar priset per 100 kr nominellt värde för ett värdepapper som ger periodisk ränta\r\nPRICEDISC\t\t= PRISDISK\t\t\t##\tReturnerar priset per 100 kr nominellt värde för ett diskonterat värdepapper\r\nPRICEMAT\t\t= PRISFÖRF\t\t\t##\tReturnerar priset per 100 kr nominellt värde för ett värdepapper som ger ränta på förfallodagen\r\nPV\t\t\t= PV\t\t\t\t##\tReturnerar nuvärdet av en serie lika stora periodiska betalningar\r\nRATE\t\t\t= RÄNTA\t\t\t\t##\tReturnerar räntesatsen per period i en annuitet\r\nRECEIVED\t\t= BELOPP\t\t\t##\tReturnerar beloppet som utdelas på förfallodagen för ett betalat värdepapper\r\nSLN\t\t\t= LINAVSKR\t\t\t##\tReturnerar den linjära avskrivningen för en tillgång under en period\r\nSYD\t\t\t= ÅRSAVSKR\t\t\t##\tReturnerar den årliga avskrivningssumman för en tillgång under en angiven period\r\nTBILLEQ\t\t\t= SSVXEKV\t\t\t##\tReturnerar avkastningen motsvarande en obligation för en statsskuldväxel\r\nTBILLPRICE\t\t= SSVXPRIS\t\t\t##\tReturnerar priset per 100 kr nominellt värde för en statsskuldväxel\r\nTBILLYIELD\t\t= SSVXRÄNTA\t\t\t##\tReturnerar avkastningen för en statsskuldväxel\r\nVDB\t\t\t= VDEGRAVSKR\t\t\t##\tReturnerar avskrivningen för en tillgång under en angiven period (med degressiv avskrivning)\r\nXIRR\t\t\t= XIRR\t\t\t\t##\tReturnerar internräntan för en serie betalningar som inte nödvändigtvis är periodiska\r\nXNPV\t\t\t= XNUVÄRDE\t\t\t##\tReturnerar det nuvarande nettovärdet för en serie betalningar som inte nödvändigtvis är periodiska\r\nYIELD\t\t\t= NOMAVK\t\t\t##\tReturnerar avkastningen för ett värdepapper som ger periodisk ränta\r\nYIELDDISC\t\t= NOMAVKDISK\t\t\t##\tReturnerar den årliga avkastningen för diskonterade värdepapper, exempelvis en statsskuldväxel\r\nYIELDMAT\t\t= NOMAVKFÖRF\t\t\t##\tReturnerar den årliga avkastningen för ett värdepapper som ger ränta på förfallodagen\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tInformationsfunktioner\r\n##\r\nCELL\t\t\t= CELL\t\t\t\t##\tReturnerar information om formatering, plats och innehåll i en cell\r\nERROR.TYPE\t\t= FEL.TYP\t\t\t##\tReturnerar ett tal som motsvarar ett felvärde\r\nINFO\t\t\t= INFO\t\t\t\t##\tReturnerar information om operativsystemet\r\nISBLANK\t\t\t= ÄRREF\t\t\t\t##\tReturnerar SANT om värdet är tomt\r\nISERR\t\t\t= Ä\t\t\t\t##\tReturnerar SANT om värdet är ett felvärde annat än #SAKNAS!\r\nISERROR\t\t\t= ÄRFEL\t\t\t\t##\tReturnerar SANT om värdet är ett felvärde\r\nISEVEN\t\t\t= ÄRJÄMN\t\t\t##\tReturnerar SANT om talet är jämnt\r\nISLOGICAL\t\t= ÄREJTEXT\t\t\t##\tReturnerar SANT om värdet är ett logiskt värde\r\nISNA\t\t\t= ÄRLOGISK\t\t\t##\tReturnerar SANT om värdet är felvärdet #SAKNAS!\r\nISNONTEXT\t\t= ÄRSAKNAD\t\t\t##\tReturnerar SANT om värdet inte är text\r\nISNUMBER\t\t= ÄRTAL\t\t\t\t##\tReturnerar SANT om värdet är ett tal\r\nISODD\t\t\t= ÄRUDDA\t\t\t##\tReturnerar SANT om talet är udda\r\nISREF\t\t\t= ÄRTOM\t\t\t\t##\tReturnerar SANT om värdet är en referens\r\nISTEXT\t\t\t= ÄRTEXT\t\t\t##\tReturnerar SANT om värdet är text\r\nN\t\t\t= N\t\t\t\t##\tReturnerar ett värde omvandlat till ett tal\r\nNA\t\t\t= SAKNAS\t\t\t##\tReturnerar felvärdet #SAKNAS!\r\nTYPE\t\t\t= VÄRDETYP\t\t\t##\tReturnerar ett tal som anger värdets datatyp\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tLogiska funktioner\r\n##\r\nAND\t\t\t= OCH\t\t\t\t##\tReturnerar SANT om alla argument är sanna\r\nFALSE\t\t\t= FALSKT\t\t\t##\tReturnerar det logiska värdet FALSKT\r\nIF\t\t\t= OM\t\t\t\t##\tAnger vilket logiskt test som ska utföras\r\nIFERROR\t\t\t= OMFEL\t\t\t\t##\tReturnerar ett värde som du anger om en formel utvärderar till ett fel; annars returneras resultatet av formeln\r\nNOT\t\t\t= ICKE\t\t\t\t##\tInverterar logiken för argumenten\r\nOR\t\t\t= ELLER\t\t\t\t##\tReturnerar SANT om något argument är SANT\r\nTRUE\t\t\t= SANT\t\t\t\t##\tReturnerar det logiska värdet SANT\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tSök- och referensfunktioner\r\n##\r\nADDRESS\t\t\t= ADRESS\t\t\t##\tReturnerar en referens som text till en enstaka cell i ett kalkylblad\r\nAREAS\t\t\t= OMRÅDEN\t\t\t##\tReturnerar antalet områden i en referens\r\nCHOOSE\t\t\t= VÄLJ\t\t\t\t##\tVäljer ett värde i en lista över värden\r\nCOLUMN\t\t\t= KOLUMN\t\t\t##\tReturnerar kolumnnumret för en referens\r\nCOLUMNS\t\t\t= KOLUMNER\t\t\t##\tReturnerar antalet kolumner i en referens\r\nHLOOKUP\t\t\t= LETAKOLUMN\t\t\t##\tSöker i den översta raden i en matris och returnerar värdet för angiven cell\r\nHYPERLINK\t\t= HYPERLÄNK\t\t\t##\tSkapar en genväg eller ett hopp till ett dokument i nätverket, i ett intranät eller på Internet\r\nINDEX\t\t\t= INDEX\t\t\t\t##\tAnvänder ett index för ett välja ett värde i en referens eller matris\r\nINDIRECT\t\t= INDIREKT\t\t\t##\tReturnerar en referens som anges av ett textvärde\r\nLOOKUP\t\t\t= LETAUPP\t\t\t##\tLetar upp värden i en vektor eller matris\r\nMATCH\t\t\t= PASSA\t\t\t\t##\tLetar upp värden i en referens eller matris\r\nOFFSET\t\t\t= FÖRSKJUTNING\t\t\t##\tReturnerar en referens förskjuten i förhållande till en given referens\r\nROW\t\t\t= RAD\t\t\t\t##\tReturnerar radnumret för en referens\r\nROWS\t\t\t= RADER\t\t\t\t##\tReturnerar antalet rader i en referens\r\nRTD\t\t\t= RTD\t\t\t\t##\tHämtar realtidsdata från ett program som stöder COM-automation (Automation: Ett sätt att arbeta med ett programs objekt från ett annat program eller utvecklingsverktyg. Detta kallades tidigare för OLE Automation, och är en branschstandard och ingår i Component Object Model (COM).)\r\nTRANSPOSE\t\t= TRANSPONERA\t\t\t##\tTransponerar en matris\r\nVLOOKUP\t\t\t= LETARAD\t\t\t##\tLetar i den första kolumnen i en matris och flyttar över raden för att returnera värdet för en cell\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tMatematiska och trigonometriska funktioner\r\n##\r\nABS\t\t\t= ABS\t\t\t\t##\tReturnerar absolutvärdet av ett tal\r\nACOS\t\t\t= ARCCOS\t\t\t##\tReturnerar arcus cosinus för ett tal\r\nACOSH\t\t\t= ARCCOSH\t\t\t##\tReturnerar inverterad hyperbolisk cosinus för ett tal\r\nASIN\t\t\t= ARCSIN\t\t\t##\tReturnerar arcus cosinus för ett tal\r\nASINH\t\t\t= ARCSINH\t\t\t##\tReturnerar hyperbolisk arcus sinus för ett tal\r\nATAN\t\t\t= ARCTAN\t\t\t##\tReturnerar arcus tangens för ett tal\r\nATAN2\t\t\t= ARCTAN2\t\t\t##\tReturnerar arcus tangens för en x- och en y- koordinat\r\nATANH\t\t\t= ARCTANH\t\t\t##\tReturnerar hyperbolisk arcus tangens för ett tal\r\nCEILING\t\t\t= RUNDA.UPP\t\t\t##\tAvrundar ett tal till närmaste heltal eller närmaste signifikanta multipel\r\nCOMBIN\t\t\t= KOMBIN\t\t\t##\tReturnerar antalet kombinationer för ett givet antal objekt\r\nCOS\t\t\t= COS\t\t\t\t##\tReturnerar cosinus för ett tal\r\nCOSH\t\t\t= COSH\t\t\t\t##\tReturnerar hyperboliskt cosinus för ett tal\r\nDEGREES\t\t\t= GRADER\t\t\t##\tOmvandlar radianer till grader\r\nEVEN\t\t\t= JÄMN\t\t\t\t##\tAvrundar ett tal uppåt till närmaste heltal\r\nEXP\t\t\t= EXP\t\t\t\t##\tReturnerar e upphöjt till ett givet tal\r\nFACT\t\t\t= FAKULTET\t\t\t##\tReturnerar fakulteten för ett tal\r\nFACTDOUBLE\t\t= DUBBELFAKULTET\t\t##\tReturnerar dubbelfakulteten för ett tal\r\nFLOOR\t\t\t= RUNDA.NED\t\t\t##\tAvrundar ett tal nedåt mot noll\r\nGCD\t\t\t= SGD\t\t\t\t##\tReturnerar den största gemensamma nämnaren\r\nINT\t\t\t= HELTAL\t\t\t##\tAvrundar ett tal nedåt till närmaste heltal\r\nLCM\t\t\t= MGM\t\t\t\t##\tReturnerar den minsta gemensamma multipeln\r\nLN\t\t\t= LN\t\t\t\t##\tReturnerar den naturliga logaritmen för ett tal\r\nLOG\t\t\t= LOG\t\t\t\t##\tReturnerar logaritmen för ett tal för en given bas\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tReturnerar 10-logaritmen för ett tal\r\nMDETERM\t\t\t= MDETERM\t\t\t##\tReturnerar matrisen som är avgörandet av en matris\r\nMINVERSE\t\t= MINVERT\t\t\t##\tReturnerar matrisinversen av en matris\r\nMMULT\t\t\t= MMULT\t\t\t\t##\tReturnerar matrisprodukten av två matriser\r\nMOD\t\t\t= REST\t\t\t\t##\tReturnerar resten vid en division\r\nMROUND\t\t\t= MAVRUNDA\t\t\t##\tReturnerar ett tal avrundat till en given multipel\r\nMULTINOMIAL\t\t= MULTINOMIAL\t\t\t##\tReturnerar multinomialen för en uppsättning tal\r\nODD\t\t\t= UDDA\t\t\t\t##\tAvrundar ett tal uppåt till närmaste udda heltal\r\nPI\t\t\t= PI\t\t\t\t##\tReturnerar värdet pi\r\nPOWER\t\t\t= UPPHÖJT.TILL\t\t\t##\tReturnerar resultatet av ett tal upphöjt till en exponent\r\nPRODUCT\t\t\t= PRODUKT\t\t\t##\tMultiplicerar argumenten\r\nQUOTIENT\t\t= KVOT\t\t\t\t##\tReturnerar heltalsdelen av en division\r\nRADIANS\t\t\t= RADIANER\t\t\t##\tOmvandlar grader till radianer\r\nRAND\t\t\t= SLUMP\t\t\t\t##\tReturnerar ett slumptal mellan 0 och 1\r\nRANDBETWEEN\t\t= SLUMP.MELLAN\t\t\t##\tReturnerar ett slumptal mellan de tal som du anger\r\nROMAN\t\t\t= ROMERSK\t\t\t##\tOmvandlar vanliga (arabiska) siffror till romerska som text\r\nROUND\t\t\t= AVRUNDA\t\t\t##\tAvrundar ett tal till ett angivet antal siffror\r\nROUNDDOWN\t\t= AVRUNDA.NEDÅT\t\t\t##\tAvrundar ett tal nedåt mot noll\r\nROUNDUP\t\t\t= AVRUNDA.UPPÅT\t\t\t##\tAvrundar ett tal uppåt, från noll\r\nSERIESSUM\t\t= SERIESUMMA\t\t\t##\tReturnerar summan av en potensserie baserat på formeln\r\nSIGN\t\t\t= TECKEN\t\t\t##\tReturnerar tecknet för ett tal\r\nSIN\t\t\t= SIN\t\t\t\t##\tReturnerar sinus för en given vinkel\r\nSINH\t\t\t= SINH\t\t\t\t##\tReturnerar hyperbolisk sinus för ett tal\r\nSQRT\t\t\t= ROT\t\t\t\t##\tReturnerar den positiva kvadratroten\r\nSQRTPI\t\t\t= ROTPI\t\t\t\t##\tReturnerar kvadratroten för (tal * pi)\r\nSUBTOTAL\t\t= DELSUMMA\t\t\t##\tReturnerar en delsumma i en lista eller databas\r\nSUM\t\t\t= SUMMA\t\t\t\t##\tSummerar argumenten\r\nSUMIF\t\t\t= SUMMA.OM\t\t\t##\tSummerar celler enligt ett angivet villkor\r\nSUMIFS\t\t\t= SUMMA.OMF\t\t\t##\tLägger till cellerna i ett område som uppfyller flera kriterier\r\nSUMPRODUCT\t\t= PRODUKTSUMMA\t\t\t##\tReturnerar summan av produkterna i motsvarande matriskomponenter\r\nSUMSQ\t\t\t= KVADRATSUMMA\t\t\t##\tReturnerar summan av argumentens kvadrater\r\nSUMX2MY2\t\t= SUMMAX2MY2\t\t\t##\tReturnerar summan av differensen mellan kvadraterna för motsvarande värden i två matriser\r\nSUMX2PY2\t\t= SUMMAX2PY2\t\t\t##\tReturnerar summan av summan av kvadraterna av motsvarande värden i två matriser\r\nSUMXMY2\t\t\t= SUMMAXMY2\t\t\t##\tReturnerar summan av kvadraten av skillnaden mellan motsvarande värden i två matriser\r\nTAN\t\t\t= TAN\t\t\t\t##\tReturnerar tangens för ett tal\r\nTANH\t\t\t= TANH\t\t\t\t##\tReturnerar hyperbolisk tangens för ett tal\r\nTRUNC\t\t\t= AVKORTA\t\t\t##\tAvkortar ett tal till ett heltal\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tStatistiska funktioner\r\n##\r\nAVEDEV\t\t\t= MEDELAVV\t\t\t##\tReturnerar medelvärdet för datapunkters absoluta avvikelse från deras medelvärde\r\nAVERAGE\t\t\t= MEDEL\t\t\t\t##\tReturnerar medelvärdet av argumenten\r\nAVERAGEA\t\t= AVERAGEA\t\t\t##\tReturnerar medelvärdet av argumenten, inklusive tal, text och logiska värden\r\nAVERAGEIF\t\t= MEDELOM\t\t\t##\tReturnerar medelvärdet (aritmetiskt medelvärde) för alla celler i ett område som uppfyller ett givet kriterium\r\nAVERAGEIFS\t\t= MEDELOMF\t\t\t##\tReturnerar medelvärdet (det aritmetiska medelvärdet) för alla celler som uppfyller flera villkor.\r\nBETADIST\t\t= BETAFÖRD\t\t\t##\tReturnerar den kumulativa betafördelningsfunktionen\r\nBETAINV\t\t\t= BETAINV\t\t\t##\tReturnerar inversen till den kumulativa fördelningsfunktionen för en viss betafördelning\r\nBINOMDIST\t\t= BINOMFÖRD\t\t\t##\tReturnerar den individuella binomialfördelningen\r\nCHIDIST\t\t\t= CHI2FÖRD\t\t\t##\tReturnerar den ensidiga sannolikheten av c2-fördelningen\r\nCHIINV\t\t\t= CHI2INV\t\t\t##\tReturnerar inversen av chi2-fördelningen\r\nCHITEST\t\t\t= CHI2TEST\t\t\t##\tReturnerar oberoendetesten\r\nCONFIDENCE\t\t= KONFIDENS\t\t\t##\tReturnerar konfidensintervallet för en populations medelvärde\r\nCORREL\t\t\t= KORREL\t\t\t##\tReturnerar korrelationskoefficienten mellan två datamängder\r\nCOUNT\t\t\t= ANTAL\t\t\t\t##\tRäknar hur många tal som finns bland argumenten\r\nCOUNTA\t\t\t= ANTALV\t\t\t##\tRäknar hur många värden som finns bland argumenten\r\nCOUNTBLANK\t\t= ANTAL.TOMMA\t\t\t##\tRäknar antalet tomma celler i ett område\r\nCOUNTIF\t\t\t= ANTAL.OM\t\t\t##\tRäknar antalet celler i ett område som uppfyller angivna villkor.\r\nCOUNTIFS\t\t= ANTAL.OMF\t\t\t##\tRäknar antalet celler i ett område som uppfyller flera villkor.\r\nCOVAR\t\t\t= KOVAR\t\t\t\t##\tReturnerar kovariansen, d.v.s. medelvärdet av produkterna för parade avvikelser\r\nCRITBINOM\t\t= KRITBINOM\t\t\t##\tReturnerar det minsta värdet för vilket den kumulativa binomialfördelningen är mindre än eller lika med ett villkorsvärde\r\nDEVSQ\t\t\t= KVADAVV\t\t\t##\tReturnerar summan av kvadrater på avvikelser\r\nEXPONDIST\t\t= EXPONFÖRD\t\t\t##\tReturnerar exponentialfördelningen\r\nFDIST\t\t\t= FFÖRD\t\t\t\t##\tReturnerar F-sannolikhetsfördelningen\r\nFINV\t\t\t= FINV\t\t\t\t##\tReturnerar inversen till F-sannolikhetsfördelningen\r\nFISHER\t\t\t= FISHER\t\t\t##\tReturnerar Fisher-transformationen\r\nFISHERINV\t\t= FISHERINV\t\t\t##\tReturnerar inversen till Fisher-transformationen\r\nFORECAST\t\t= PREDIKTION\t\t\t##\tReturnerar ett värde längs en linjär trendlinje\r\nFREQUENCY\t\t= FREKVENS\t\t\t##\tReturnerar en frekvensfördelning som en lodrät matris\r\nFTEST\t\t\t= FTEST\t\t\t\t##\tReturnerar resultatet av en F-test\r\nGAMMADIST\t\t= GAMMAFÖRD\t\t\t##\tReturnerar gammafördelningen\r\nGAMMAINV\t\t= GAMMAINV\t\t\t##\tReturnerar inversen till den kumulativa gammafördelningen\r\nGAMMALN\t\t\t= GAMMALN\t\t\t##\tReturnerar den naturliga logaritmen för gammafunktionen, G(x)\r\nGEOMEAN\t\t\t= GEOMEDEL\t\t\t##\tReturnerar det geometriska medelvärdet\r\nGROWTH\t\t\t= EXPTREND\t\t\t##\tReturnerar värden längs en exponentiell trend\r\nHARMEAN\t\t\t= HARMMEDEL\t\t\t##\tReturnerar det harmoniska medelvärdet\r\nHYPGEOMDIST\t\t= HYPGEOMFÖRD\t\t\t##\tReturnerar den hypergeometriska fördelningen\r\nINTERCEPT\t\t= SKÄRNINGSPUNKT\t\t##\tReturnerar skärningspunkten för en linjär regressionslinje\r\nKURT\t\t\t= TOPPIGHET\t\t\t##\tReturnerar toppigheten av en mängd data\r\nLARGE\t\t\t= STÖRSTA\t\t\t##\tReturnerar det n:te största värdet i en mängd data\r\nLINEST\t\t\t= REGR\t\t\t\t##\tReturnerar parametrar till en linjär trendlinje\r\nLOGEST\t\t\t= EXPREGR\t\t\t##\tReturnerar parametrarna i en exponentiell trend\r\nLOGINV\t\t\t= LOGINV\t\t\t##\tReturnerar inversen till den lognormala fördelningen\r\nLOGNORMDIST\t\t= LOGNORMFÖRD\t\t\t##\tReturnerar den kumulativa lognormala fördelningen\r\nMAX\t\t\t= MAX\t\t\t\t##\tReturnerar det största värdet i en lista av argument\r\nMAXA\t\t\t= MAXA\t\t\t\t##\tReturnerar det största värdet i en lista av argument, inklusive tal, text och logiska värden\r\nMEDIAN\t\t\t= MEDIAN\t\t\t##\tReturnerar medianen för angivna tal\r\nMIN\t\t\t= MIN\t\t\t\t##\tReturnerar det minsta värdet i en lista med argument\r\nMINA\t\t\t= MINA\t\t\t\t##\tReturnerar det minsta värdet i en lista över argument, inklusive tal, text och logiska värden\r\nMODE\t\t\t= TYPVÄRDE\t\t\t##\tReturnerar det vanligaste värdet i en datamängd\r\nNEGBINOMDIST\t\t= NEGBINOMFÖRD\t\t\t##\tReturnerar den negativa binomialfördelningen\r\nNORMDIST\t\t= NORMFÖRD\t\t\t##\tReturnerar den kumulativa normalfördelningen\r\nNORMINV\t\t\t= NORMINV\t\t\t##\tReturnerar inversen till den kumulativa normalfördelningen\r\nNORMSDIST\t\t= NORMSFÖRD\t\t\t##\tReturnerar den kumulativa standardnormalfördelningen\r\nNORMSINV\t\t= NORMSINV\t\t\t##\tReturnerar inversen till den kumulativa standardnormalfördelningen\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tReturnerar korrelationskoefficienten till Pearsons momentprodukt\r\nPERCENTILE\t\t= PERCENTIL\t\t\t##\tReturnerar den n:te percentilen av värden i ett område\r\nPERCENTRANK\t\t= PROCENTRANG\t\t\t##\tReturnerar procentrangen för ett värde i en datamängd\r\nPERMUT\t\t\t= PERMUT\t\t\t##\tReturnerar antal permutationer för ett givet antal objekt\r\nPOISSON\t\t\t= POISSON\t\t\t##\tReturnerar Poisson-fördelningen\r\nPROB\t\t\t= SANNOLIKHET\t\t\t##\tReturnerar sannolikheten att värden i ett område ligger mellan två gränser\r\nQUARTILE\t\t= KVARTIL\t\t\t##\tReturnerar kvartilen av en mängd data\r\nRANK\t\t\t= RANG\t\t\t\t##\tReturnerar rangordningen för ett tal i en lista med tal\r\nRSQ\t\t\t= RKV\t\t\t\t##\tReturnerar kvadraten av Pearsons produktmomentkorrelationskoefficient\r\nSKEW\t\t\t= SNEDHET\t\t\t##\tReturnerar snedheten för en fördelning\r\nSLOPE\t\t\t= LUTNING\t\t\t##\tReturnerar lutningen på en linjär regressionslinje\r\nSMALL\t\t\t= MINSTA\t\t\t##\tReturnerar det n:te minsta värdet i en mängd data\r\nSTANDARDIZE\t\t= STANDARDISERA\t\t\t##\tReturnerar ett normaliserat värde\r\nSTDEV\t\t\t= STDAV\t\t\t\t##\tUppskattar standardavvikelsen baserat på ett urval\r\nSTDEVA\t\t\t= STDEVA\t\t\t##\tUppskattar standardavvikelsen baserat på ett urval, inklusive tal, text och logiska värden\r\nSTDEVP\t\t\t= STDAVP\t\t\t##\tBeräknar standardavvikelsen baserat på hela populationen\r\nSTDEVPA\t\t\t= STDEVPA\t\t\t##\tBeräknar standardavvikelsen baserat på hela populationen, inklusive tal, text och logiska värden\r\nSTEYX\t\t\t= STDFELYX\t\t\t##\tReturnerar standardfelet för ett förutspått y-värde för varje x-värde i regressionen\r\nTDIST\t\t\t= TFÖRD\t\t\t\t##\tReturnerar Students t-fördelning\r\nTINV\t\t\t= TINV\t\t\t\t##\tReturnerar inversen till Students t-fördelning\r\nTREND\t\t\t= TREND\t\t\t\t##\tReturnerar värden längs en linjär trend\r\nTRIMMEAN\t\t= TRIMMEDEL\t\t\t##\tReturnerar medelvärdet av mittpunkterna i en datamängd\r\nTTEST\t\t\t= TTEST\t\t\t\t##\tReturnerar sannolikheten beräknad ur Students t-test\r\nVAR\t\t\t= VARIANS\t\t\t##\tUppskattar variansen baserat på ett urval\r\nVARA\t\t\t= VARA\t\t\t\t##\tUppskattar variansen baserat på ett urval, inklusive tal, text och logiska värden\r\nVARP\t\t\t= VARIANSP\t\t\t##\tBeräknar variansen baserat på hela populationen\r\nVARPA\t\t\t= VARPA\t\t\t\t##\tBeräknar variansen baserat på hela populationen, inklusive tal, text och logiska värden\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tReturnerar Weibull-fördelningen\r\nZTEST\t\t\t= ZTEST\t\t\t\t##\tReturnerar det ensidiga sannolikhetsvärdet av ett z-test\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tTextfunktioner\r\n##\r\nASC\t\t\t= ASC\t\t\t\t##\tÄndrar helbredds (dubbel byte) engelska bokstäver eller katakana inom en teckensträng till tecken med halvt breddsteg (enkel byte)\r\nBAHTTEXT\t\t= BAHTTEXT\t\t\t##\tOmvandlar ett tal till text med valutaformatet ß (baht)\r\nCHAR\t\t\t= TECKENKOD\t\t\t##\tReturnerar tecknet som anges av kod\r\nCLEAN\t\t\t= STÄDA\t\t\t\t##\tTar bort alla icke utskrivbara tecken i en text\r\nCODE\t\t\t= KOD\t\t\t\t##\tReturnerar en numerisk kod för det första tecknet i en textsträng\r\nCONCATENATE\t\t= SAMMANFOGA\t\t\t##\tSammanfogar flera textdelar till en textsträng\r\nDOLLAR\t\t\t= VALUTA\t\t\t##\tOmvandlar ett tal till text med valutaformat\r\nEXACT\t\t\t= EXAKT\t\t\t\t##\tKontrollerar om två textvärden är identiska\r\nFIND\t\t\t= HITTA\t\t\t\t##\tHittar en text i en annan (skiljer på gemener och versaler)\r\nFINDB\t\t\t= HITTAB\t\t\t##\tHittar en text i en annan (skiljer på gemener och versaler)\r\nFIXED\t\t\t= FASTTAL\t\t\t##\tFormaterar ett tal som text med ett fast antal decimaler\r\nJIS\t\t\t= JIS\t\t\t\t##\tÄndrar halvbredds (enkel byte) engelska bokstäver eller katakana inom en teckensträng till tecken med helt breddsteg (dubbel byte)\r\nLEFT\t\t\t= VÄNSTER\t\t\t##\tReturnerar tecken längst till vänster i en sträng\r\nLEFTB\t\t\t= VÄNSTERB\t\t\t##\tReturnerar tecken längst till vänster i en sträng\r\nLEN\t\t\t= LÄNGD\t\t\t\t##\tReturnerar antalet tecken i en textsträng\r\nLENB\t\t\t= LÄNGDB\t\t\t##\tReturnerar antalet tecken i en textsträng\r\nLOWER\t\t\t= GEMENER\t\t\t##\tOmvandlar text till gemener\r\nMID\t\t\t= EXTEXT\t\t\t##\tReturnerar angivet antal tecken från en text med början vid den position som du anger\r\nMIDB\t\t\t= EXTEXTB\t\t\t##\tReturnerar angivet antal tecken från en text med början vid den position som du anger\r\nPHONETIC\t\t= PHONETIC\t\t\t##\tReturnerar de fonetiska (furigana) tecknen i en textsträng\r\nPROPER\t\t\t= INITIAL\t\t\t##\tÄndrar första bokstaven i varje ord i ett textvärde till versal\r\nREPLACE\t\t\t= ERSÄTT\t\t\t##\tErsätter tecken i text\r\nREPLACEB\t\t= ERSÄTTB\t\t\t##\tErsätter tecken i text\r\nREPT\t\t\t= REP\t\t\t\t##\tUpprepar en text ett bestämt antal gånger\r\nRIGHT\t\t\t= HÖGER\t\t\t\t##\tReturnerar tecken längst till höger i en sträng\r\nRIGHTB\t\t\t= HÖGERB\t\t\t##\tReturnerar tecken längst till höger i en sträng\r\nSEARCH\t\t\t= SÖK\t\t\t\t##\tHittar ett textvärde i ett annat (skiljer inte på gemener och versaler)\r\nSEARCHB\t\t\t= SÖKB\t\t\t\t##\tHittar ett textvärde i ett annat (skiljer inte på gemener och versaler)\r\nSUBSTITUTE\t\t= BYT.UT\t\t\t##\tErsätter gammal text med ny text i en textsträng\r\nT\t\t\t= T\t\t\t\t##\tOmvandlar argumenten till text\r\nTEXT\t\t\t= TEXT\t\t\t\t##\tFormaterar ett tal och omvandlar det till text\r\nTRIM\t\t\t= RENSA\t\t\t\t##\tTar bort blanksteg från text\r\nUPPER\t\t\t= VERSALER\t\t\t##\tOmvandlar text till versaler\r\nVALUE\t\t\t= TEXTNUM\t\t\t##\tOmvandlar ett textargument till ett tal\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/tr/config",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Settings\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n##\r\n\r\n\r\nArgumentSeparator\t= ;\r\n\r\n\r\n##\r\n##\t(For future use)\r\n##\r\ncurrencySymbol\t= YTL\r\n\r\n\r\n##\r\n##\tExcel Error Codes\t(For future use)\r\r\n##\r\nNULL\t= #BOŞ!\r\nDIV0\t= #SAYI/0!\r\nVALUE\t= #DEĞER!\r\nREF\t= #BAŞV!\r\nNAME\t= #AD?\r\nNUM\t= #SAYI!\r\nNA\t= #YOK\r\n"
  },
  {
    "path": "Classes/PHPExcel/locale/tr/functions",
    "content": "##\r\n## PHPExcel\r\n##\r\r\n## Copyright (c) 2006 - 2013 PHPExcel\r\n##\r\n## This library is free software; you can redistribute it and/or\r\n## modify it under the terms of the GNU Lesser General Public\r\n## License as published by the Free Software Foundation; either\r\n## version 2.1 of the License, or (at your option) any later version.\r\n##\r\n## This library is distributed in the hope that it will be useful,\r\n## but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n## Lesser General Public License for more details.\r\n##\r\n## You should have received a copy of the GNU Lesser General Public\r\n## License along with this library; if not, write to the Free Software\r\n## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n##\r\n## @category   PHPExcel\r\n## @package    PHPExcel_Calculation\r\n## @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n## @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n## @version    ##VERSION##, ##DATE##\r\n##\r\n## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/\r\n##\r\n##\r\n\r\n\r\n##\r\n##\tAdd-in and Automation functions\t\t\tEklenti ve Otomasyon fonksiyonları\r\n##\r\nGETPIVOTDATA\t\t= ÖZETVERİAL\t##\tBir Özet Tablo raporunda saklanan verileri verir.\r\n\r\n\r\n##\r\n##\tCube functions\t\t\t\t\tKüp işlevleri\r\n##\r\nCUBEKPIMEMBER\t\t= KÜPKPIÜYE\t\t\t##\tKilit performans göstergesi (KPI-Key Performance Indicator) adını, özelliğini ve ölçüsünü verir ve hücredeki ad ve özelliği gösterir. KPI, bir kurumun performansını izlemek için kullanılan aylık brüt kâr ya da üç aylık çalışan giriş çıkışları gibi ölçülebilen bir birimdir.\r\nCUBEMEMBER\t\t\t= KÜPÜYE\t\t\t##\tBir küp hiyerarşisinde bir üyeyi veya kaydı verir. Üye veya kaydın küpte varolduğunu doğrulamak için kullanılır.\r\nCUBEMEMBERPROPERTY\t= KÜPÜYEÖZELLİĞİ\t##\tBir küpte bir üyenin özelliğinin değerini verir. Küp içinde üye adının varlığını doğrulamak ve bu üyenin belli özelliklerini getirmek için kullanılır.\r\nCUBERANKEDMEMBER\t= KÜPÜYESIRASI \t\t##\tBir küme içindeki üyenin derecesini veya kaçıncı olduğunu verir. En iyi satış elemanı, veya en iyi on öğrenci gibi bir kümedeki bir veya daha fazla öğeyi getirmek için kullanılır.\r\nCUBESET\t\t\t\t= KÜPKÜME\t\t\t##\tKümeyi oluşturan ve ardından bu kümeyi Microsoft Office Excel'e getiren sunucudaki küpe küme ifadelerini göndererek hesaplanan üye veya kayıt kümesini tanımlar.\r\nCUBESETCOUNT\t\t= KÜPKÜMESAY\t\t##\tBir kümedeki öğelerin sayısını getirir.\r\nCUBEVALUE\t\t\t= KÜPDEĞER \t\t\t##\tBir küpten toplam değeri getirir.\r\n\r\n\r\n##\r\n##\tDatabase functions\t\t\t\tVeritabanı işlevleri\r\n##\r\nDAVERAGE\t\t= VSEÇORT\t\t\t##\tSeçili veritabanı girdilerinin ortalamasını verir.\r\nDCOUNT\t\t\t= VSEÇSAY\t\t\t##\tVeritabanında sayı içeren hücre sayısını hesaplar.\r\nDCOUNTA\t\t\t= VSEÇSAYDOLU\t\t##\tVeritabanındaki boş olmayan hücreleri sayar.\r\nDGET\t\t\t= VAL\t\t\t\t##\tVeritabanından, belirtilen ölçütlerle eşleşen tek bir rapor çıkarır.\r\nDMAX\t\t\t= VSEÇMAK\t\t\t##\tSeçili veritabanı girişlerinin en yüksek değerini verir.\r\nDMIN\t\t\t= VSEÇMİN\t\t\t##\tSeçili veritabanı girişlerinin en düşük değerini verir.\r\nDPRODUCT\t\t= VSEÇÇARP\t\t\t##\tKayıtların belli bir alanında bulunan, bir veritabanındaki ölçütlerle eşleşen değerleri çarpar.\r\nDSTDEV\t\t\t= VSEÇSTDSAPMA\t\t##\tSeçili veritabanı girişlerinden oluşan bir örneğe dayanarak, standart sapmayı tahmin eder.\r\nDSTDEVP\t\t\t= VSEÇSTDSAPMAS\t\t##\tStandart sapmayı, seçili veritabanı girişlerinin tüm popülasyonunu esas alarak hesaplar.\r\nDSUM\t\t\t= VSEÇTOPLA\t\t\t##\tKayıtların alan sütununda bulunan, ölçütle eşleşen sayıları toplar.\r\nDVAR\t\t\t= VSEÇVAR\t\t\t##\tSeçili veritabanı girişlerinden oluşan bir örneği esas alarak farkı tahmin eder.\r\nDVARP\t\t\t= VSEÇVARS\t\t\t##\tSeçili veritabanı girişlerinin tüm popülasyonunu esas alarak farkı hesaplar.\r\n\r\n\r\n##\r\n##\tDate and time functions\t\t\t\tTarih ve saat işlevleri\r\n##\r\nDATE\t\t\t= TARİH\t\t\t\t##\tBelirli bir tarihin seri numarasını verir.\r\nDATEVALUE\t\t= TARİHSAYISI\t\t##\tMetin biçimindeki bir tarihi seri numarasına dönüştürür.\r\nDAY\t\t\t\t= GÜN\t\t\t\t##\tSeri numarasını, ayın bir gününe dönüştürür.\r\nDAYS360\t\t\t= GÜN360\t\t\t##\tİki tarih arasındaki gün sayısını, 360 günlük yılı esas alarak hesaplar.\r\nEDATE\t\t\t= SERİTARİH\t\t\t##\tBaşlangıç tarihinden itibaren, belirtilen ay sayısından önce veya sonraki tarihin seri numarasını verir.\r\nEOMONTH\t\t\t= SERİAY\t\t\t##\tBelirtilen sayıda ay önce veya sonraki ayın son gününün seri numarasını verir.\r\nHOUR\t\t\t= SAAT\t\t\t\t##\tBir seri numarasını saate dönüştürür.\r\nMINUTE\t\t\t= DAKİKA\t\t\t##\tBir seri numarasını dakikaya dönüştürür.\r\nMONTH\t\t\t= AY\t\t\t\t##\tBir seri numarasını aya dönüştürür.\r\nNETWORKDAYS\t\t= TAMİŞGÜNÜ\t\t\t##\tİki tarih arasındaki tam çalışma günlerinin sayısını verir.\r\nNOW\t\t\t\t= ŞİMDİ\t\t\t\t##\tGeçerli tarihin ve saatin seri numarasını verir.\r\nSECOND\t\t\t= SANİYE\t\t\t##\tBir seri numarasını saniyeye dönüştürür.\r\nTIME\t\t\t= ZAMAN\t\t\t\t##\tBelirli bir zamanın seri numarasını verir.\r\nTIMEVALUE\t\t= ZAMANSAYISI\t\t##\tMetin biçimindeki zamanı seri numarasına dönüştürür.\r\nTODAY\t\t\t= BUGÜN\t\t\t\t##\tBugünün tarihini seri numarasına dönüştürür.\r\nWEEKDAY\t\t\t= HAFTANINGÜNÜ\t\t##\tBir seri numarasını, haftanın gününe dönüştürür.\r\nWEEKNUM\t\t\t= HAFTASAY\t\t\t##\tDizisel değerini, haftanın yıl içinde bulunduğu konumu sayısal olarak gösteren sayıya dönüştürür.\r\nWORKDAY\t\t\t= İŞGÜNÜ\t\t\t##\tBelirtilen sayıda çalışma günü öncesinin ya da sonrasının tarihinin seri numarasını verir.\r\nYEAR\t\t\t= YIL\t\t\t\t##\tBir seri numarasını yıla dönüştürür.\r\nYEARFRAC\t\t= YILORAN\t\t\t##\tBaşlangıç_tarihi ve bitiş_tarihi arasındaki tam günleri gösteren yıl kesrini verir.\r\n\r\n\r\n##\r\n##\tEngineering functions\t\t\t\tMühendislik işlevleri\r\n##\r\nBESSELI\t\t\t= BESSELI\t\t\t##\tDeğiştirilmiş Bessel fonksiyonu In(x)'i verir.\r\nBESSELJ\t\t\t= BESSELJ\t\t\t##\tBessel fonksiyonu Jn(x)'i verir.\r\nBESSELK\t\t\t= BESSELK\t\t\t##\tDeğiştirilmiş Bessel fonksiyonu Kn(x)'i verir.\r\nBESSELY\t\t\t= BESSELY\t\t\t##\tBessel fonksiyonu Yn(x)'i verir.\r\nBIN2DEC\t\t\t= BIN2DEC\t\t\t##\tİkili bir sayıyı, ondalık sayıya dönüştürür.\r\nBIN2HEX\t\t\t= BIN2HEX\t\t\t##\tİkili bir sayıyı, onaltılıya dönüştürür.\r\nBIN2OCT\t\t\t= BIN2OCT\t\t\t##\tİkili bir sayıyı, sekizliye dönüştürür.\r\nCOMPLEX\t\t\t= KARMAŞIK\t\t\t##\tGerçek ve sanal katsayıları, karmaşık sayıya dönüştürür.\r\nCONVERT\t\t\t= ÇEVİR\t\t\t\t##\tBir sayıyı, bir ölçüm sisteminden bir başka ölçüm sistemine dönüştürür.\r\nDEC2BIN\t\t\t= DEC2BIN\t\t\t##\tOndalık bir sayıyı, ikiliye dönüştürür.\r\nDEC2HEX\t\t\t= DEC2HEX\t\t\t##\tOndalık bir sayıyı, onaltılıya dönüştürür.\r\nDEC2OCT\t\t\t= DEC2OCT\t\t\t##\tOndalık bir sayıyı sekizliğe dönüştürür.\r\nDELTA\t\t\t= DELTA\t\t\t\t##\tİki değerin eşit olup olmadığını sınar.\r\nERF\t\t\t\t= HATAİŞLEV\t\t\t##\tHata işlevini verir.\r\nERFC\t\t\t= TÜMHATAİŞLEV\t\t##\tTümleyici hata işlevini verir.\r\nGESTEP\t\t\t= BESINIR\t\t\t##\tBir sayının eşik değerinden büyük olup olmadığını sınar.\r\nHEX2BIN\t\t\t= HEX2BIN\t\t\t##\tOnaltılı bir sayıyı ikiliye dönüştürür.\r\nHEX2DEC\t\t\t= HEX2DEC\t\t\t##\tOnaltılı bir sayıyı ondalığa dönüştürür.\r\nHEX2OCT\t\t\t= HEX2OCT\t\t\t##\tOnaltılı bir sayıyı sekizliğe dönüştürür.\r\nIMABS\t\t\t= SANMUTLAK\t\t\t##\tKarmaşık bir sayının mutlak değerini (modül) verir.\r\nIMAGINARY\t\t= SANAL\t\t\t\t##\tKarmaşık bir sayının sanal katsayısını verir.\r\nIMARGUMENT\t\t= SANBAĞ_DEĞİŞKEN\t##\tRadyanlarla belirtilen bir açı olan teta bağımsız değişkenini verir.\r\nIMCONJUGATE\t\t= SANEŞLENEK\t\t##\tKarmaşık bir sayının karmaşık eşleniğini verir.\r\nIMCOS\t\t\t= SANCOS\t\t\t##\tKarmaşık bir sayının kosinüsünü verir.\r\nIMDIV\t\t\t= SANBÖL\t\t\t##\tİki karmaşık sayının bölümünü verir.\r\nIMEXP\t\t\t= SANÜS\t\t\t\t##\tKarmaşık bir sayının üssünü verir.\r\nIMLN\t\t\t= SANLN\t\t\t\t##\tKarmaşık bir sayının doğal logaritmasını verir.\r\nIMLOG10\t\t\t= SANLOG10\t\t\t##\tKarmaşık bir sayının, 10 tabanında logaritmasını verir.\r\nIMLOG2\t\t\t= SANLOG2\t\t\t##\tKarmaşık bir sayının 2 tabanında logaritmasını verir.\r\nIMPOWER\t\t\t= SANÜSSÜ\t\t\t##\tKarmaşık bir sayıyı, bir tamsayı üssüne yükseltilmiş olarak verir.\r\nIMPRODUCT\t\t= SANÇARP\t\t\t##\tKarmaşık sayıların çarpımını verir.\r\nIMREAL\t\t\t= SANGERÇEK\t\t\t##\tKarmaşık bir sayının, gerçek katsayısını verir.\r\nIMSIN\t\t\t= SANSIN\t\t\t##\tKarmaşık bir sayının sinüsünü verir.\r\nIMSQRT\t\t\t= SANKAREKÖK\t\t##\tKarmaşık bir sayının karekökünü verir.\r\nIMSUB\t\t\t= SANÇIKAR\t\t\t##\tİki karmaşık sayının farkını verir.\r\nIMSUM\t\t\t= SANTOPLA\t\t\t##\tKarmaşık sayıların toplamını verir.\r\nOCT2BIN\t\t\t= OCT2BIN\t\t\t##\tSekizli bir sayıyı ikiliye dönüştürür.\r\nOCT2DEC\t\t\t= OCT2DEC\t\t\t##\tSekizli bir sayıyı ondalığa dönüştürür.\r\nOCT2HEX\t\t\t= OCT2HEX\t\t\t##\tSekizli bir sayıyı onaltılıya dönüştürür.\r\n\r\n\r\n##\r\n##\tFinancial functions\t\t\t\tFinansal fonksiyonlar\r\n##\r\nACCRINT\t\t\t= GERÇEKFAİZ\t\t##\tDönemsel faiz ödeyen hisse senedine ilişkin tahakkuk eden faizi getirir.\r\nACCRINTM\t\t= GERÇEKFAİZV\t\t##\tVadesinde ödeme yapan bir tahvilin tahakkuk etmiş faizini verir.\r\nAMORDEGRC\t\t= AMORDEGRC\t\t\t##\tYıpranma katsayısı kullanarak her hesap döneminin değer kaybını verir.\r\nAMORLINC\t\t= AMORLINC\t\t\t##\tHer hesap dönemi içindeki yıpranmayı verir.\r\nCOUPDAYBS\t\t= KUPONGÜNBD\t\t##\tKupon süresinin başlangıcından alış tarihine kadar olan süredeki gün sayısını verir.\r\nCOUPDAYS\t\t= KUPONGÜN\t\t\t##\tKupon süresindeki, gün sayısını, alış tarihini de içermek üzere, verir.\r\nCOUPDAYSNC\t\t= KUPONGÜNDSK\t\t##\tAlış tarihinden bir sonraki kupon tarihine kadar olan gün sayısını verir.\r\nCOUPNCD\t\t\t= KUPONGÜNSKT\t\t##\tAlış tarihinden bir sonraki kupon tarihini verir.\r\nCOUPNUM\t\t\t= KUPONSAYI\t\t\t##\tAlış tarihiyle vade tarihi arasında ödenecek kuponların sayısını verir.\r\nCOUPPCD\t\t\t= KUPONGÜNÖKT\t\t##\tAlış tarihinden bir önceki kupon tarihini verir.\r\nCUMIPMT\t\t\t= AİÇVERİMORANI\t\t##\tİki dönem arasında ödenen kümülatif faizi verir.\r\nCUMPRINC\t\t= ANA_PARA_ÖDEMESİ\t##\tİki dönem arasında bir borç üzerine ödenen birikimli temeli verir.\r\nDB\t\t\t\t= AZALANBAKİYE\t\t##\tBir malın belirtilen bir süre içindeki yıpranmasını, sabit azalan bakiye yöntemini kullanarak verir.\r\nDDB\t\t\t\t= ÇİFTAZALANBAKİYE\t##\tBir malın belirtilen bir süre içindeki yıpranmasını, çift azalan bakiye yöntemi ya da sizin belirttiğiniz başka bir yöntemi kullanarak verir.\r\nDISC\t\t\t= İNDİRİM\t\t\t##\tBir tahvilin indirim oranını verir.\r\nDOLLARDE\t\t= LİRAON\t\t\t##\tKesir olarak tanımlanmış lira fiyatını, ondalık sayı olarak tanımlanmış lira fiyatına dönüştürür.\r\nDOLLARFR\t\t= LİRAKES\t\t\t##\tOndalık sayı olarak tanımlanmış lira fiyatını, kesir olarak tanımlanmış lira fiyatına dönüştürür.\r\nDURATION\t\t= SÜRE\t\t\t\t##\tBelli aralıklarla faiz ödemesi yapan bir tahvilin yıllık süresini verir.\r\nEFFECT\t\t\t= ETKİN\t\t\t\t##\tEfektif yıllık faiz oranını verir.\r\nFV\t\t\t\t= ANBD\t\t\t\t##\tBir yatırımın gelecekteki değerini verir.\r\nFVSCHEDULE\t\t= GDPROGRAM\t\t\t##\tBir seri birleşik faiz oranı uyguladıktan sonra, bir başlangıçtaki anaparanın gelecekteki değerini verir.\r\nINTRATE\t\t\t= FAİZORANI\t\t\t##\tTam olarak yatırım yapılmış bir tahvilin faiz oranını verir.\r\nIPMT\t\t\t= FAİZTUTARI\t\t##\tBir yatırımın verilen bir süre için faiz ödemesini verir.\r\nIRR\t\t\t\t= İÇ_VERİM_ORANI\t##\tBir para akışı serisi için, iç verim oranını verir.\r\nISPMT\t\t\t= ISPMT\t\t\t\t##\tYatırımın belirli bir dönemi boyunca ödenen faizi hesaplar.\r\nMDURATION\t\t= MSÜRE\t\t\t\t##\tVarsayılan par değeri 10.000.000 lira olan bir tahvil için Macauley değiştirilmiş süreyi verir.\r\nMIRR\t\t\t= D_İÇ_VERİM_ORANI\t##\tPozitif ve negatif para akışlarının farklı oranlarda finanse edildiği durumlarda, iç verim oranını verir.\r\nNOMINAL\t\t\t= NOMİNAL\t\t\t##\tYıllık nominal faiz oranını verir.\r\nNPER\t\t\t= DÖNEM_SAYISI\t\t##\tBir yatırımın dönem sayısını verir.\r\nNPV\t\t\t\t= NBD\t\t\t\t##\tBir yatırımın bugünkü net değerini, bir dönemsel para akışları serisine ve bir indirim oranına bağlı olarak verir.\r\nODDFPRICE\t\t= TEKYDEĞER\t\t\t##\tTek bir ilk dönemi olan bir tahvilin değerini, her 100.000.000 lirada bir verir.\r\nODDFYIELD\t\t= TEKYÖDEME\t\t\t##\tTek bir ilk dönemi olan bir tahvilin ödemesini verir.\r\nODDLPRICE\t\t= TEKSDEĞER\t\t\t##\tTek bir son dönemi olan bir tahvilin fiyatını her 10.000.000 lirada bir verir.\r\nODDLYIELD\t\t= TEKSÖDEME\t\t\t##\tTek bir son dönemi olan bir tahvilin ödemesini verir.\r\nPMT\t\t\t\t= DEVRESEL_ÖDEME\t##\tBir yıllık dönemsel ödemeyi verir.\r\nPPMT\t\t\t= ANA_PARA_ÖDEMESİ\t##\tVerilen bir süre için, bir yatırımın anaparasına dayanan ödemeyi verir.\r\nPRICE\t\t\t= DEĞER\t\t\t\t##\tDönemsel faiz ödeyen bir tahvilin fiyatını 10.000.00 liralık değer başına verir.\r\nPRICEDISC\t\t= DEĞERİND\t\t\t##\tİndirimli bir tahvilin fiyatını 10.000.000 liralık nominal değer başına verir.\r\nPRICEMAT\t\t= DEĞERVADE\t\t\t##\tFaizini vade sonunda ödeyen bir tahvilin fiyatını 10.000.000 nominal değer başına verir.\r\nPV\t\t\t\t= BD\t\t\t\t##\tBir yatırımın bugünkü değerini verir.\r\nRATE\t\t\t= FAİZ_ORANI\t\t##\tBir yıllık dönem başına düşen faiz oranını verir.\r\nRECEIVED\t\t= GETİRİ\t\t\t##\tTam olarak yatırılmış bir tahvilin vadesinin bitiminde alınan miktarı verir.\r\nSLN\t\t\t\t= DA\t\t\t\t##\tBir malın bir dönem içindeki doğrusal yıpranmasını verir.\r\nSYD\t\t\t\t= YAT\t\t\t\t##\tBir malın belirli bir dönem için olan amortismanını verir.\r\nTBILLEQ\t\t\t= HTAHEŞ\t\t\t##\tBir Hazine bonosunun bono eşdeğeri ödemesini verir.\r\nTBILLPRICE\t\t= HTAHDEĞER\t\t\t##\tBir Hazine bonosunun değerini, 10.000.000 liralık nominal değer başına verir.\r\nTBILLYIELD\t\t= HTAHÖDEME\t\t\t##\tBir Hazine bonosunun ödemesini verir.\r\nVDB\t\t\t\t= DAB\t\t\t\t##\tBir malın amortismanını, belirlenmiş ya da kısmi bir dönem için, bir azalan bakiye yöntemi kullanarak verir.\r\nXIRR\t\t\t= AİÇVERİMORANI\t\t##\tDönemsel olması gerekmeyen bir para akışları programı için, iç verim oranını verir.\r\nXNPV\t\t\t= ANBD\t\t\t\t##\tDönemsel olması gerekmeyen bir para akışları programı için, bugünkü net değeri verir.\r\nYIELD\t\t\t= ÖDEME\t\t\t\t##\tBelirli aralıklarla faiz ödeyen bir tahvilin ödemesini verir.\r\nYIELDDISC\t\t= ÖDEMEİND\t\t\t##\tİndirimli bir tahvilin yıllık ödemesini verir; örneğin, bir Hazine bonosunun.\r\nYIELDMAT\t\t= ÖDEMEVADE\t\t\t##\tVadesinin bitiminde faiz ödeyen bir tahvilin yıllık ödemesini verir.\r\n\r\n\r\n##\r\n##\tInformation functions\t\t\t\tBilgi fonksiyonları\r\n##\r\nCELL\t\t\t= HÜCRE\t\t\t##\tBir hücrenin biçimlendirmesi, konumu ya da içeriği hakkında bilgi verir.\r\nERROR.TYPE\t\t= HATA.TİPİ\t\t##\tBir hata türüne ilişkin sayıları verir.\r\nINFO\t\t\t= BİLGİ\t\t\t##\tGeçerli işletim ortamı hakkında bilgi verir.\r\nISBLANK\t\t\t= EBOŞSA\t\t##\tDeğer boşsa, DOĞRU verir.\r\nISERR\t\t\t= EHATA\t\t\t##\tDeğer, #YOK dışındaki bir hata değeriyse, DOĞRU verir.\r\nISERROR\t\t\t= EHATALIYSA\t##\tDeğer, herhangi bir hata değeriyse, DOĞRU verir.\r\nISEVEN\t\t\t= ÇİFTTİR\t\t##\tSayı çiftse, DOĞRU verir.\r\nISLOGICAL\t\t= EMANTIKSALSA\t##\tDeğer, mantıksal bir değerse, DOĞRU verir.\r\nISNA\t\t\t= EYOKSA\t\t##\tDeğer, #YOK hata değeriyse, DOĞRU verir.\r\nISNONTEXT\t\t= EMETİNDEĞİLSE\t##\tDeğer, metin değilse, DOĞRU verir.\r\nISNUMBER\t\t= ESAYIYSA\t\t##\tDeğer, bir sayıysa, DOĞRU verir.\r\nISODD\t\t\t= TEKTİR\t\t##\tSayı tekse, DOĞRU verir.\r\nISREF\t\t\t= EREFSE\t\t##\tDeğer bir başvuruysa, DOĞRU verir.\r\nISTEXT\t\t\t= EMETİNSE\t\t##\tDeğer bir metinse DOĞRU verir.\r\nN\t\t\t\t= N\t\t\t\t##\tSayıya dönüştürülmüş bir değer verir.\r\nNA\t\t\t\t= YOKSAY\t\t##\t#YOK hata değerini verir.\r\nTYPE\t\t\t= TİP\t\t\t##\tBir değerin veri türünü belirten bir sayı verir.\r\n\r\n\r\n##\r\n##\tLogical functions\t\t\t\tMantıksal fonksiyonlar\r\n##\r\nAND\t\t\t\t= VE\t\t\t##\tBütün bağımsız değişkenleri DOĞRU ise, DOĞRU verir.\r\nFALSE\t\t\t= YANLIŞ\t\t##\tYANLIŞ mantıksal değerini verir.\r\nIF\t\t\t\t= EĞER\t\t\t##\tGerçekleştirilecek bir mantıksal sınama belirtir.\r\nIFERROR\t\t\t= EĞERHATA\t\t##\tFormül hatalıysa belirttiğiniz değeri verir; bunun dışındaki durumlarda formülün sonucunu verir.\r\nNOT\t\t\t\t= DEĞİL\t\t\t##\tBağımsız değişkeninin mantığını tersine çevirir.\r\nOR\t\t\t\t= YADA\t\t\t##\tBağımsız değişkenlerden herhangi birisi DOĞRU ise, DOĞRU verir.\r\nTRUE\t\t\t= DOĞRU\t\t\t##\tDOĞRU mantıksal değerini verir.\r\n\r\n\r\n##\r\n##\tLookup and reference functions\t\t\tArama ve Başvuru fonksiyonları\r\n##\r\nADDRESS\t\t\t= ADRES\t\t\t\t##\tBir başvuruyu, çalışma sayfasındaki tek bir hücreye metin olarak verir.\r\nAREAS\t\t\t= ALANSAY\t\t\t##\tRenvoie le nombre de zones dans une référence.\r\nCHOOSE\t\t\t= ELEMAN\t\t\t##\tDeğerler listesinden bir değer seçer.\r\nCOLUMN\t\t\t= SÜTUN\t\t\t\t##\tBir başvurunun sütun sayısını verir.\r\nCOLUMNS\t\t\t= SÜTUNSAY\t\t\t##\tBir başvurudaki sütunların sayısını verir.\r\nHLOOKUP\t\t\t= YATAYARA\t\t\t##\tBir dizinin en üst satırına bakar ve belirtilen hücrenin değerini verir.\r\nHYPERLINK\t\t= KÖPRÜ\t\t\t\t##\tBir ağ sunucusunda, bir intranette ya da Internet'te depolanan bir belgeyi açan bir kısayol ya da atlama oluşturur.\r\nINDEX\t\t\t= İNDİS\t\t\t\t##\tBaşvurudan veya diziden bir değer seçmek için, bir dizin kullanır.\r\nINDIRECT\t\t= DOLAYLI\t\t\t##\tMetin değeriyle belirtilen bir başvuru verir.\r\nLOOKUP\t\t\t= ARA\t\t\t\t##\tBir vektördeki veya dizideki değerleri arar.\r\nMATCH\t\t\t= KAÇINCI\t\t\t##\tBir başvurudaki veya dizideki değerleri arar.\r\nOFFSET\t\t\t= KAYDIR\t\t\t##\tVerilen bir başvurudan, bir başvuru kaydırmayı verir.\r\nROW\t\t\t\t= SATIR\t\t\t\t##\tBir başvurunun satır sayısını verir.\r\nROWS\t\t\t= SATIRSAY\t\t\t##\tBir başvurudaki satırların sayısını verir.\r\nRTD\t\t\t\t= RTD\t\t\t\t##\tCOM otomasyonunu destekleyen programdan gerçek zaman verileri alır.\r\nTRANSPOSE\t\t= DEVRİK_DÖNÜŞÜM\t##\tBir dizinin devrik dönüşümünü verir.\r\nVLOOKUP\t\t\t= DÜŞEYARA\t\t\t##\tBir dizinin ilk sütununa bakar ve bir hücrenin değerini vermek için satır boyunca hareket eder.\r\n\r\n\r\n##\r\n##\tMath and trigonometry functions\t\t\tMatematik ve trigonometri fonksiyonları\r\n##\r\nABS\t\t\t\t= MUTLAK\t\t\t##\tBir sayının mutlak değerini verir.\r\nACOS\t\t\t= ACOS\t\t\t\t##\tBir sayının ark kosinüsünü verir.\r\nACOSH\t\t\t= ACOSH\t\t\t\t##\tBir sayının ters hiperbolik kosinüsünü verir.\r\nASIN\t\t\t= ASİN\t\t\t\t##\tBir sayının ark sinüsünü verir.\r\nASINH\t\t\t= ASİNH\t\t\t\t##\tBir sayının ters hiperbolik sinüsünü verir.\r\nATAN\t\t\t= ATAN\t\t\t\t##\tBir sayının ark tanjantını verir.\r\nATAN2\t\t\t= ATAN2\t\t\t\t##\tArk tanjantı, x- ve y- koordinatlarından verir.\r\nATANH\t\t\t= ATANH\t\t\t\t##\tBir sayının ters hiperbolik tanjantını verir.\r\nCEILING\t\t\t= TAVANAYUVARLA\t\t##\tBir sayıyı, en yakın tamsayıya ya da en yakın katına yuvarlar.\r\nCOMBIN\t\t\t= KOMBİNASYON\t\t##\tVerilen sayıda öğenin kombinasyon sayısını verir.\r\nCOS\t\t\t\t= COS\t\t\t\t##\tBir sayının kosinüsünü verir.\r\nCOSH\t\t\t= COSH\t\t\t\t##\tBir sayının hiperbolik kosinüsünü verir.\r\nDEGREES\t\t\t= DERECE\t\t\t##\tRadyanları dereceye dönüştürür.\r\nEVEN\t\t\t= ÇİFT\t\t\t\t##\tBir sayıyı, en yakın daha büyük çift tamsayıya yuvarlar.\r\nEXP\t\t\t\t= ÜS\t\t\t\t##\te'yi, verilen bir sayının üssüne yükseltilmiş olarak verir.\r\nFACT\t\t\t= ÇARPINIM\t\t\t##\tBir sayının faktörünü verir.\r\nFACTDOUBLE\t\t= ÇİFTFAKTÖR\t\t##\tBir sayının çift çarpınımını verir.\r\nFLOOR\t\t\t= TABANAYUVARLA\t\t##\tBir sayıyı, daha küçük sayıya, sıfıra yakınsayarak yuvarlar.\r\nGCD\t\t\t\t= OBEB\t\t\t\t##\tEn büyük ortak böleni verir.\r\nINT\t\t\t\t= TAMSAYI\t\t\t##\tBir sayıyı aşağıya doğru en yakın tamsayıya yuvarlar.\r\nLCM\t\t\t\t= OKEK\t\t\t\t##\tEn küçük ortak katı verir.\r\nLN\t\t\t\t= LN\t\t\t\t##\tBir sayının doğal logaritmasını verir.\r\nLOG\t\t\t\t= LOG\t\t\t\t##\tBir sayının, belirtilen bir tabandaki logaritmasını verir.\r\nLOG10\t\t\t= LOG10\t\t\t\t##\tBir sayının 10 tabanında logaritmasını verir.\r\nMDETERM\t\t\t= DETERMİNANT\t\t##\tBir dizinin dizey determinantını verir.\r\nMINVERSE\t\t= DİZEY_TERS\t\t##\tBir dizinin dizey tersini verir.\r\nMMULT\t\t\t= DÇARP\t\t\t\t##\tİki dizinin dizey çarpımını verir.\r\nMOD\t\t\t\t= MODÜLO\t\t\t##\tBölmeden kalanı verir.\r\nMROUND\t\t\t= KYUVARLA\t\t\t##\tİstenen kata yuvarlanmış bir sayı verir.\r\nMULTINOMIAL\t\t= ÇOKTERİMLİ\t\t##\tBir sayılar kümesinin çok terimlisini verir.\r\nODD\t\t\t\t= TEK\t\t\t\t##\tBir sayıyı en yakın daha büyük tek sayıya yuvarlar.\r\nPI\t\t\t\t= Pİ\t\t\t\t##\tPi değerini verir.\r\nPOWER\t\t\t= KUVVET\t\t\t##\tBir üsse yükseltilmiş sayının sonucunu verir.\r\nPRODUCT\t\t\t= ÇARPIM\t\t\t##\tBağımsız değişkenlerini çarpar.\r\nQUOTIENT\t\t= BÖLÜM\t\t\t\t##\tBir bölme işleminin tamsayı kısmını verir.\r\nRADIANS\t\t\t= RADYAN\t\t\t##\tDereceleri radyanlara dönüştürür.\r\nRAND\t\t\t= S_SAYI_ÜRET\t\t##\t0 ile 1 arasında rastgele bir sayı verir.\r\nRANDBETWEEN\t\t= RASTGELEARALIK\t##\tBelirttiğiniz sayılar arasında rastgele bir sayı verir.\r\nROMAN\t\t\t= ROMEN\t\t\t\t##\tBir normal rakamı, metin olarak, romen rakamına çevirir.\r\nROUND\t\t\t= YUVARLA\t\t\t##\tBir sayıyı, belirtilen basamak sayısına yuvarlar.\r\nROUNDDOWN\t\t= AŞAĞIYUVARLA\t\t##\tBir sayıyı, daha küçük sayıya, sıfıra yakınsayarak yuvarlar.\r\nROUNDUP\t\t\t= YUKARIYUVARLA\t\t##\tBir sayıyı daha büyük sayıya, sıfırdan ıraksayarak yuvarlar.\r\nSERIESSUM\t\t= SERİTOPLA\t\t\t##\tBir üs serisinin toplamını, formüle bağlı olarak verir.\r\nSIGN\t\t\t= İŞARET\t\t\t##\tBir sayının işaretini verir.\r\nSIN\t\t\t\t= SİN\t\t\t\t##\tVerilen bir açının sinüsünü verir.\r\nSINH\t\t\t= SİNH\t\t\t\t##\tBir sayının hiperbolik sinüsünü verir.\r\nSQRT\t\t\t= KAREKÖK\t\t\t##\tPozitif bir karekök verir.\r\nSQRTPI\t\t\t= KAREKÖKPİ\t\t\t##\t(* Pi sayısının) kare kökünü verir.\r\nSUBTOTAL\t\t= ALTTOPLAM\t\t\t##\tBir listedeki ya da veritabanındaki bir alt toplamı verir.\r\nSUM\t\t\t\t= TOPLA\t\t\t\t##\tBağımsız değişkenlerini toplar.\r\nSUMIF\t\t\t= ETOPLA\t\t\t##\tVerilen ölçütle belirlenen hücreleri toplar.\r\nSUMIFS\t\t\t= SUMIFS\t\t\t##\tBir aralıktaki, birden fazla ölçüte uyan hücreleri ekler.\r\nSUMPRODUCT\t\t= TOPLA.ÇARPIM\t\t##\tİlişkili dizi bileşenlerinin çarpımlarının toplamını verir.\r\nSUMSQ\t\t\t= TOPKARE\t\t\t##\tBağımsız değişkenlerin karelerinin toplamını verir.\r\nSUMX2MY2\t\t= TOPX2EY2\t\t\t##\tİki dizideki ilişkili değerlerin farkının toplamını verir.\r\nSUMX2PY2\t\t= TOPX2AY2\t\t\t##\tİki dizideki ilişkili değerlerin karelerinin toplamının toplamını verir.\r\nSUMXMY2\t\t\t= TOPXEY2\t\t\t##\tİki dizideki ilişkili değerlerin farklarının karelerinin toplamını verir.\r\nTAN\t\t\t\t= TAN\t\t\t\t##\tBir sayının tanjantını verir.\r\nTANH\t\t\t= TANH\t\t\t\t##\tBir sayının hiperbolik tanjantını verir.\r\nTRUNC\t\t\t= NSAT\t\t\t\t##\tBir sayının, tamsayı durumuna gelecek şekilde, fazlalıklarını atar.\r\n\r\n\r\n##\r\n##\tStatistical functions\t\t\t\tİstatistiksel fonksiyonlar\r\n##\r\nAVEDEV\t\t\t= ORTSAP\t\t\t##\tVeri noktalarının ortalamalarından mutlak sapmalarının ortalamasını verir.\r\nAVERAGE\t\t\t= ORTALAMA\t\t\t##\tBağımsız değişkenlerinin ortalamasını verir.\r\nAVERAGEA\t\t= ORTALAMAA\t\t\t##\tBağımsız değişkenlerinin, sayılar, metin ve mantıksal değerleri içermek üzere ortalamasını verir.\r\nAVERAGEIF\t\t= EĞERORTALAMA \t\t##\tVerili ölçütü karşılayan bir aralıktaki bütün hücrelerin ortalamasını (aritmetik ortalama) hesaplar.\r\nAVERAGEIFS\t\t= EĞERLERORTALAMA \t##\tBirden çok ölçüte uyan tüm hücrelerin ortalamasını (aritmetik ortalama) hesaplar.\r\nBETADIST\t\t= BETADAĞ\t\t\t##\tBeta birikimli dağılım fonksiyonunu verir.\r\nBETAINV\t\t\t= BETATERS\t\t\t##\tBelirli bir beta dağılımı için birikimli dağılım fonksiyonunun tersini verir.\r\nBINOMDIST\t\t= BİNOMDAĞ\t\t\t##\tTek terimli binom dağılımı olasılığını verir.\r\nCHIDIST\t\t\t= KİKAREDAĞ\t\t\t##\tKikare dağılımın tek kuyruklu olasılığını verir.\r\nCHIINV\t\t\t= KİKARETERS\t\t##\tKikare dağılımın kuyruklu olasılığının tersini verir.\r\nCHITEST\t\t\t= KİKARETEST\t\t##\tBağımsızlık sınamalarını verir.\r\nCONFIDENCE\t\t= GÜVENİRLİK\t\t##\tBir popülasyon ortalaması için güvenirlik aralığını verir.\r\nCORREL\t\t\t= KORELASYON\t\t##\tİki veri kümesi arasındaki bağlantı katsayısını verir.\r\nCOUNT\t\t\t= BAĞ_DEĞ_SAY\t\t##\tBağımsız değişkenler listesinde kaç tane sayı bulunduğunu sayar.\r\nCOUNTA\t\t\t= BAĞ_DEĞ_DOLU_SAY\t##\tBağımsız değişkenler listesinde kaç tane değer bulunduğunu sayar.\r\nCOUNTBLANK\t\t= BOŞLUKSAY \t\t##\tAralıktaki boş hücre sayısını hesaplar.\r\nCOUNTIF\t\t\t= EĞERSAY \t\t\t##\tVerilen ölçütlere uyan bir aralık içindeki hücreleri sayar.\r\nCOUNTIFS\t\t= ÇOKEĞERSAY \t\t##\tBirden çok ölçüte uyan bir aralık içindeki hücreleri sayar.\r\nCOVAR\t\t\t= KOVARYANS \t\t##\tEşleştirilmiş sapmaların ortalaması olan kovaryansı verir.\r\nCRITBINOM\t\t= KRİTİKBİNOM\t\t##\tBirikimli binom dağılımının bir ölçüt değerinden küçük veya ölçüt değerine eşit olduğu en küçük değeri verir.\r\nDEVSQ\t\t\t= SAPKARE\t\t\t##\tSapmaların karelerinin toplamını verir.\r\nEXPONDIST\t\t= ÜSTELDAĞ\t\t\t##\tÜstel dağılımı verir.\r\nFDIST\t\t\t= FDAĞ\t\t\t\t##\tF olasılık dağılımını verir.\r\nFINV\t\t\t= FTERS\t\t\t\t##\tF olasılık dağılımının tersini verir.\r\nFISHER\t\t\t= FISHER\t\t\t##\tFisher dönüşümünü verir.\r\nFISHERINV\t\t= FISHERTERS\t\t##\tFisher dönüşümünün tersini verir.\r\nFORECAST\t\t= TAHMİN\t\t\t##\tBir doğrusal eğilim boyunca bir değer verir.\r\nFREQUENCY\t\t= SIKLIK\t\t\t##\tBir sıklık dağılımını, dikey bir dizi olarak verir.\r\nFTEST\t\t\t= FTEST\t\t\t\t##\tBir F-test'in sonucunu verir.\r\nGAMMADIST\t\t= GAMADAĞ\t\t\t##\tGama dağılımını verir.\r\nGAMMAINV\t\t= GAMATERS\t\t\t##\tGama kümülatif dağılımının tersini verir.\r\nGAMMALN\t\t\t= GAMALN\t\t\t##\tGama fonksiyonunun (?(x)) doğal logaritmasını verir.\r\nGEOMEAN\t\t\t= GEOORT\t\t\t##\tGeometrik ortayı verir.\r\nGROWTH\t\t\t= BÜYÜME\t\t\t##\tÜstel bir eğilim boyunca değerler verir.\r\nHARMEAN\t\t\t= HARORT\t\t\t##\tHarmonik ortayı verir.\r\nHYPGEOMDIST\t\t= HİPERGEOMDAĞ\t\t##\tHipergeometrik dağılımı verir.\r\nINTERCEPT\t\t= KESMENOKTASI\t\t##\tDoğrusal çakıştırma çizgisinin kesişme noktasını verir.\r\nKURT\t\t\t= BASIKLIK\t\t\t##\tBir veri kümesinin basıklığını verir.\r\nLARGE\t\t\t= BÜYÜK\t\t\t\t##\tBir veri kümesinde k. en büyük değeri verir.\r\nLINEST\t\t\t= DOT\t\t\t\t##\tDoğrusal bir eğilimin parametrelerini verir.\r\nLOGEST\t\t\t= LOT\t\t\t\t##\tÜstel bir eğilimin parametrelerini verir.\r\nLOGINV\t\t\t= LOGTERS\t\t\t##\tBir lognormal dağılımının tersini verir.\r\nLOGNORMDIST\t\t= LOGNORMDAĞ\t\t##\tBirikimli lognormal dağılımını verir.\r\nMAX\t\t\t\t= MAK\t\t\t\t##\tBir bağımsız değişkenler listesindeki en büyük değeri verir.\r\nMAXA\t\t\t= MAKA\t\t\t\t##\tBir bağımsız değişkenler listesindeki, sayılar, metin ve mantıksal değerleri içermek üzere, en büyük değeri verir.\r\nMEDIAN\t\t\t= ORTANCA\t\t\t##\tBelirtilen sayıların orta değerini verir.\r\nMIN\t\t\t\t= MİN\t\t\t\t##\tBir bağımsız değişkenler listesindeki en küçük değeri verir.\r\nMINA\t\t\t= MİNA\t\t\t\t##\tBir bağımsız değişkenler listesindeki, sayılar, metin ve mantıksal değerleri de içermek üzere, en küçük değeri verir.\r\nMODE\t\t\t= ENÇOK_OLAN\t\t##\tBir veri kümesindeki en sık rastlanan değeri verir.\r\nNEGBINOMDIST\t= NEGBİNOMDAĞ\t\t##\tNegatif binom dağılımını verir.\r\nNORMDIST\t\t= NORMDAĞ\t\t\t##\tNormal birikimli dağılımı verir.\r\nNORMINV\t\t\t= NORMTERS\t\t\t##\tNormal kümülatif dağılımın tersini verir.\r\nNORMSDIST\t\t= NORMSDAĞ\t\t\t##\tStandart normal birikimli dağılımı verir.\r\nNORMSINV\t\t= NORMSTERS\t\t\t##\tStandart normal birikimli dağılımın tersini verir.\r\nPEARSON\t\t\t= PEARSON\t\t\t##\tPearson çarpım moment korelasyon katsayısını verir.\r\nPERCENTILE\t\t= YÜZDEBİRLİK\t\t##\tBir aralık içerisinde bulunan değerlerin k. frekans toplamını verir.\r\nPERCENTRANK\t\t= YÜZDERANK\t\t\t##\tBir veri kümesindeki bir değerin yüzde mertebesini verir.\r\nPERMUT\t\t\t= PERMÜTASYON\t\t##\tVerilen sayıda nesne için permütasyon sayısını verir.\r\nPOISSON\t\t\t= POISSON\t\t\t##\tPoisson dağılımını verir.\r\nPROB\t\t\t= OLASILIK\t\t\t##\tBir aralıktaki değerlerin iki sınır arasında olması olasılığını verir.\r\nQUARTILE\t\t= DÖRTTEBİRLİK\t\t##\tBir veri kümesinin dörtte birliğini verir.\r\nRANK\t\t\t= RANK\t\t\t\t##\tBir sayılar listesinde bir sayının mertebesini verir.\r\nRSQ\t\t\t\t= RKARE\t\t\t\t##\tPearson çarpım moment korelasyon katsayısının karesini verir.\r\nSKEW\t\t\t= ÇARPIKLIK\t\t\t##\tBir dağılımın çarpıklığını verir.\r\nSLOPE\t\t\t= EĞİM\t\t\t\t##\tDoğrusal çakışma çizgisinin eğimini verir.\r\nSMALL\t\t\t= KÜÇÜK\t\t\t\t##\tBir veri kümesinde k. en küçük değeri verir.\r\nSTANDARDIZE\t\t= STANDARTLAŞTIRMA\t##\tNormalleştirilmiş bir değer verir.\r\nSTDEV\t\t\t= STDSAPMA\t\t\t##\tBir örneğe dayanarak standart sapmayı tahmin eder.\r\nSTDEVA\t\t\t= STDSAPMAA\t\t\t##\tStandart sapmayı, sayılar, metin ve mantıksal değerleri içermek üzere, bir örneğe bağlı olarak tahmin eder.\r\nSTDEVP\t\t\t= STDSAPMAS\t\t\t##\tStandart sapmayı, tüm popülasyona bağlı olarak hesaplar.\r\nSTDEVPA\t\t\t= STDSAPMASA\t\t##\tStandart sapmayı, sayılar, metin ve mantıksal değerleri içermek üzere, tüm popülasyona bağlı olarak hesaplar.\r\nSTEYX\t\t\t= STHYX\t\t\t\t##\tRegresyondaki her x için tahmini y değerinin standart hatasını verir.\r\nTDIST\t\t\t= TDAĞ\t\t\t\t##\tT-dağılımını verir.\r\nTINV\t\t\t= TTERS\t\t\t\t##\tT-dağılımının tersini verir.\r\nTREND\t\t\t= EĞİLİM\t\t\t##\tDoğrusal bir eğilim boyunca değerler verir.\r\nTRIMMEAN\t\t= KIRPORTALAMA\t\t##\tBir veri kümesinin içinin ortalamasını verir.\r\nTTEST\t\t\t= TTEST\t\t\t\t##\tT-test'le ilişkilendirilmiş olasılığı verir.\r\nVAR\t\t\t\t= VAR\t\t\t\t##\tVaryansı, bir örneğe bağlı olarak tahmin eder.\r\nVARA\t\t\t= VARA\t\t\t\t##\tVaryansı, sayılar, metin ve mantıksal değerleri içermek üzere, bir örneğe bağlı olarak tahmin eder.\r\nVARP\t\t\t= VARS\t\t\t\t##\tVaryansı, tüm popülasyona dayanarak hesaplar.\r\nVARPA\t\t\t= VARSA\t\t\t\t##\tVaryansı, sayılar, metin ve mantıksal değerleri içermek üzere, tüm popülasyona bağlı olarak hesaplar.\r\nWEIBULL\t\t\t= WEIBULL\t\t\t##\tWeibull dağılımını hesaplar.\r\nZTEST\t\t\t= ZTEST\t\t\t\t##\tZ-testinin tek kuyruklu olasılık değerini hesaplar.\r\n\r\n\r\n##\r\n##\tText functions\t\t\t\t\tMetin fonksiyonları\r\n##\r\nASC\t\t\t\t= ASC \t\t\t\t##\tBir karakter dizesindeki çift enli (iki bayt) İngilizce harfleri veya katakanayı yarım enli (tek bayt) karakterlerle değiştirir.\r\nBAHTTEXT\t\t= BAHTTEXT \t\t\t##\tSayıyı, ß (baht) para birimi biçimini kullanarak metne dönüştürür.\r\nCHAR\t\t\t= DAMGA \t\t\t##\tKod sayısıyla belirtilen karakteri verir.\r\nCLEAN\t\t\t= TEMİZ\t\t\t\t##\tMetindeki bütün yazdırılamaz karakterleri kaldırır.\r\nCODE\t\t\t= KOD\t\t\t\t##\tBir metin dizesindeki ilk karakter için sayısal bir kod verir.\r\nCONCATENATE\t\t= BİRLEŞTİR\t\t\t##\tPek çok metin öğesini bir metin öğesi olarak birleştirir.\r\nDOLLAR\t\t\t= LİRA\t\t\t\t##\tBir sayıyı YTL (yeni Türk lirası) para birimi biçimini kullanarak metne dönüştürür.\r\nEXACT\t\t\t= ÖZDEŞ\t\t\t\t##\tİki metin değerinin özdeş olup olmadığını anlamak için, değerleri denetler.\r\nFIND\t\t\t= BUL\t\t\t\t##\tBir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlıdır).\r\nFINDB\t\t\t= BULB\t\t\t\t##\tBir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlıdır).\r\nFIXED\t\t\t= SAYIDÜZENLE\t\t##\tBir sayıyı, sabit sayıda ondalıkla, metin olarak biçimlendirir.\r\nJIS\t\t\t\t= JIS\t\t\t\t##\tBir karakter dizesindeki tek enli (tek bayt) İngilizce harfleri veya katakanayı çift enli (iki bayt) karakterlerle değiştirir.\r\nLEFT\t\t\t= SOL\t\t\t\t##\tBir metin değerinden en soldaki karakterleri verir.\r\nLEFTB\t\t\t= SOLB\t\t\t\t##\tBir metin değerinden en soldaki karakterleri verir.\r\nLEN\t\t\t\t= UZUNLUK\t\t\t##\tBir metin dizesindeki karakter sayısını verir.\r\nLENB\t\t\t= UZUNLUKB\t\t\t##\tBir metin dizesindeki karakter sayısını verir.\r\nLOWER\t\t\t= KÜÇÜKHARF\t\t\t##\tMetni küçük harfe çevirir.\r\nMID\t\t\t\t= ORTA\t\t\t\t##\tBir metin dizesinden belirli sayıda karakteri, belirttiğiniz konumdan başlamak üzere verir.\r\nMIDB\t\t\t= ORTAB\t\t\t\t##\tBir metin dizesinden belirli sayıda karakteri, belirttiğiniz konumdan başlamak üzere verir.\r\nPHONETIC\t\t= SES\t\t\t\t##\tMetin dizesinden ses (furigana) karakterlerini ayıklar.\r\nPROPER\t\t\t= YAZIM.DÜZENİ\t\t##\tBir metin değerinin her bir sözcüğünün ilk harfini büyük harfe çevirir.\r\nREPLACE\t\t\t= DEĞİŞTİR\t\t\t##\tMetnin içindeki karakterleri değiştirir.\r\nREPLACEB\t\t= DEĞİŞTİRB\t\t\t##\tMetnin içindeki karakterleri değiştirir.\r\nREPT\t\t\t= YİNELE\t\t\t##\tMetni belirtilen sayıda yineler.\r\nRIGHT\t\t\t= SAĞ\t\t\t\t##\tBir metin değerinden en sağdaki karakterleri verir.\r\nRIGHTB\t\t\t= SAĞB\t\t\t\t##\tBir metin değerinden en sağdaki karakterleri verir.\r\nSEARCH\t\t\t= BUL\t\t\t\t##\tBir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlı değildir).\r\nSEARCHB\t\t\t= BULB\t\t\t\t##\tBir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlı değildir).\r\nSUBSTITUTE\t\t= YERİNEKOY\t\t\t##\tBir metin dizesinde, eski metnin yerine yeni metin koyar.\r\nT\t\t\t\t= M\t\t\t\t\t##\tBağımsız değerlerini metne dönüştürür.\r\nTEXT\t\t\t= METNEÇEVİR\t\t##\tBir sayıyı biçimlendirir ve metne dönüştürür.\r\nTRIM\t\t\t= KIRP\t\t\t\t##\tMetindeki boşlukları kaldırır.\r\nUPPER\t\t\t= BÜYÜKHARF\t\t\t##\tMetni büyük harfe çevirir.\r\nVALUE\t\t\t= SAYIYAÇEVİR\t\t##\tBir metin bağımsız değişkenini sayıya dönüştürür.\r\n"
  },
  {
    "path": "Classes/PHPExcel.php",
    "content": "<?php\n\n/** PHPExcel root directory */\nif (!defined('PHPEXCEL_ROOT')) {\n    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/');\n    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n}\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n * @version    ##VERSION##, ##DATE##\n */\nclass PHPExcel\n{\n    /**\n     * Unique ID\n     *\n     * @var string\n     */\n    private $uniqueID;\n\n    /**\n     * Document properties\n     *\n     * @var PHPExcel_DocumentProperties\n     */\n    private $properties;\n\n    /**\n     * Document security\n     *\n     * @var PHPExcel_DocumentSecurity\n     */\n    private $security;\n\n    /**\n     * Collection of Worksheet objects\n     *\n     * @var PHPExcel_Worksheet[]\n     */\n    private $workSheetCollection = array();\n\n    /**\n     * Calculation Engine\n     *\n     * @var PHPExcel_Calculation\n     */\n    private $calculationEngine;\n\n    /**\n     * Active sheet index\n     *\n     * @var integer\n     */\n    private $activeSheetIndex = 0;\n\n    /**\n     * Named ranges\n     *\n     * @var PHPExcel_NamedRange[]\n     */\n    private $namedRanges = array();\n\n    /**\n     * CellXf supervisor\n     *\n     * @var PHPExcel_Style\n     */\n    private $cellXfSupervisor;\n\n    /**\n     * CellXf collection\n     *\n     * @var PHPExcel_Style[]\n     */\n    private $cellXfCollection = array();\n\n    /**\n     * CellStyleXf collection\n     *\n     * @var PHPExcel_Style[]\n     */\n    private $cellStyleXfCollection = array();\n\n    /**\n    * hasMacros : this workbook have macros ?\n    *\n    * @var bool\n    */\n    private $hasMacros = false;\n\n    /**\n    * macrosCode : all macros code (the vbaProject.bin file, this include form, code,  etc.), null if no macro\n    *\n    * @var binary\n    */\n    private $macrosCode;\n    /**\n    * macrosCertificate : if macros are signed, contains vbaProjectSignature.bin file, null if not signed\n    *\n    * @var binary\n    */\n    private $macrosCertificate;\n\n    /**\n    * ribbonXMLData : null if workbook is'nt Excel 2007 or not contain a customized UI\n    *\n    * @var null|string\n    */\n    private $ribbonXMLData;\n\n    /**\n    * ribbonBinObjects : null if workbook is'nt Excel 2007 or not contain embedded objects (picture(s)) for Ribbon Elements\n    * ignored if $ribbonXMLData is null\n    *\n    * @var null|array\n    */\n    private $ribbonBinObjects;\n\n    /**\n    * The workbook has macros ?\n    *\n    * @return boolean true if workbook has macros, false if not\n    */\n    public function hasMacros()\n    {\n        return $this->hasMacros;\n    }\n\n    /**\n    * Define if a workbook has macros\n    *\n    * @param boolean $hasMacros true|false\n    */\n    public function setHasMacros($hasMacros = false)\n    {\n        $this->hasMacros = (bool) $hasMacros;\n    }\n\n    /**\n    * Set the macros code\n    *\n    * @param string $MacrosCode string|null\n    */\n    public function setMacrosCode($MacrosCode = null)\n    {\n        $this->macrosCode=$MacrosCode;\n        $this->setHasMacros(!is_null($MacrosCode));\n    }\n\n    /**\n    * Return the macros code\n    *\n    * @return string|null\n    */\n    public function getMacrosCode()\n    {\n        return $this->macrosCode;\n    }\n\n    /**\n    * Set the macros certificate\n    *\n    * @param string|null $Certificate\n    */\n    public function setMacrosCertificate($Certificate = null)\n    {\n        $this->macrosCertificate=$Certificate;\n    }\n\n    /**\n    * Is the project signed ?\n    *\n    * @return boolean true|false\n    */\n    public function hasMacrosCertificate()\n    {\n        return !is_null($this->macrosCertificate);\n    }\n\n    /**\n    * Return the macros certificate\n    *\n    * @return string|null\n    */\n    public function getMacrosCertificate()\n    {\n        return $this->macrosCertificate;\n    }\n\n    /**\n    * Remove all macros, certificate from spreadsheet\n    *\n    */\n    public function discardMacros()\n    {\n        $this->hasMacros=false;\n        $this->macrosCode=null;\n        $this->macrosCertificate=null;\n    }\n\n    /**\n    * set ribbon XML data\n    *\n    */\n    public function setRibbonXMLData($Target = null, $XMLData = null)\n    {\n        if (!is_null($Target) && !is_null($XMLData)) {\n            $this->ribbonXMLData = array('target' => $Target, 'data' => $XMLData);\n        } else {\n            $this->ribbonXMLData = null;\n        }\n    }\n\n    /**\n    * retrieve ribbon XML Data\n    *\n    * return string|null|array\n    */\n    public function getRibbonXMLData($What = 'all') //we need some constants here...\n    {\n        $ReturnData = null;\n        $What = strtolower($What);\n        switch ($What){\n            case 'all':\n                $ReturnData = $this->ribbonXMLData;\n                break;\n            case 'target':\n            case 'data':\n                if (is_array($this->ribbonXMLData) && array_key_exists($What, $this->ribbonXMLData)) {\n                    $ReturnData = $this->ribbonXMLData[$What];\n                }\n                break;\n        }\n\n        return $ReturnData;\n    }\n\n    /**\n    * store binaries ribbon objects (pictures)\n    *\n    */\n    public function setRibbonBinObjects($BinObjectsNames = null, $BinObjectsData = null)\n    {\n        if (!is_null($BinObjectsNames) && !is_null($BinObjectsData)) {\n            $this->ribbonBinObjects = array('names' => $BinObjectsNames, 'data' => $BinObjectsData);\n        } else {\n            $this->ribbonBinObjects = null;\n        }\n    }\n    /**\n    * return the extension of a filename. Internal use for a array_map callback (php<5.3 don't like lambda function)\n    *\n    */\n    private function getExtensionOnly($ThePath)\n    {\n        return pathinfo($ThePath, PATHINFO_EXTENSION);\n    }\n\n    /**\n    * retrieve Binaries Ribbon Objects\n    *\n    */\n    public function getRibbonBinObjects($What = 'all')\n    {\n        $ReturnData = null;\n        $What = strtolower($What);\n        switch($What) {\n            case 'all':\n                return $this->ribbonBinObjects;\n                break;\n            case 'names':\n            case 'data':\n                if (is_array($this->ribbonBinObjects) && array_key_exists($What, $this->ribbonBinObjects)) {\n                    $ReturnData=$this->ribbonBinObjects[$What];\n                }\n                break;\n            case 'types':\n                if (is_array($this->ribbonBinObjects) &&\n                    array_key_exists('data', $this->ribbonBinObjects) && is_array($this->ribbonBinObjects['data'])) {\n                    $tmpTypes=array_keys($this->ribbonBinObjects['data']);\n                    $ReturnData = array_unique(array_map(array($this, 'getExtensionOnly'), $tmpTypes));\n                } else {\n                    $ReturnData=array(); // the caller want an array... not null if empty\n                }\n                break;\n        }\n        return $ReturnData;\n    }\n\n    /**\n    * This workbook have a custom UI ?\n    *\n    * @return boolean true|false\n    */\n    public function hasRibbon()\n    {\n        return !is_null($this->ribbonXMLData);\n    }\n\n    /**\n    * This workbook have additionnal object for the ribbon ?\n    *\n    * @return boolean true|false\n    */\n    public function hasRibbonBinObjects()\n    {\n        return !is_null($this->ribbonBinObjects);\n    }\n\n    /**\n     * Check if a sheet with a specified code name already exists\n     *\n     * @param string $pSheetCodeName  Name of the worksheet to check\n     * @return boolean\n     */\n    public function sheetCodeNameExists($pSheetCodeName)\n    {\n        return ($this->getSheetByCodeName($pSheetCodeName) !== null);\n    }\n\n    /**\n     * Get sheet by code name. Warning : sheet don't have always a code name !\n     *\n     * @param string $pName Sheet name\n     * @return PHPExcel_Worksheet\n     */\n    public function getSheetByCodeName($pName = '')\n    {\n        $worksheetCount = count($this->workSheetCollection);\n        for ($i = 0; $i < $worksheetCount; ++$i) {\n            if ($this->workSheetCollection[$i]->getCodeName() == $pName) {\n                return $this->workSheetCollection[$i];\n            }\n        }\n\n        return null;\n    }\n\n     /**\n     * Create a new PHPExcel with one Worksheet\n     */\n    public function __construct()\n    {\n        $this->uniqueID = uniqid();\n        $this->calculationEngine = new PHPExcel_Calculation($this);\n\n        // Initialise worksheet collection and add one worksheet\n        $this->workSheetCollection = array();\n        $this->workSheetCollection[] = new PHPExcel_Worksheet($this);\n        $this->activeSheetIndex = 0;\n\n        // Create document properties\n        $this->properties = new PHPExcel_DocumentProperties();\n\n        // Create document security\n        $this->security = new PHPExcel_DocumentSecurity();\n\n        // Set named ranges\n        $this->namedRanges = array();\n\n        // Create the cellXf supervisor\n        $this->cellXfSupervisor = new PHPExcel_Style(true);\n        $this->cellXfSupervisor->bindParent($this);\n\n        // Create the default style\n        $this->addCellXf(new PHPExcel_Style);\n        $this->addCellStyleXf(new PHPExcel_Style);\n    }\n\n    /**\n     * Code to execute when this worksheet is unset()\n     *\n     */\n    public function __destruct()\n    {\n        $this->calculationEngine = null;\n        $this->disconnectWorksheets();\n    }\n\n    /**\n     * Disconnect all worksheets from this PHPExcel workbook object,\n     *    typically so that the PHPExcel object can be unset\n     *\n     */\n    public function disconnectWorksheets()\n    {\n        $worksheet = null;\n        foreach ($this->workSheetCollection as $k => &$worksheet) {\n            $worksheet->disconnectCells();\n            $this->workSheetCollection[$k] = null;\n        }\n        unset($worksheet);\n        $this->workSheetCollection = array();\n    }\n\n    /**\n     * Return the calculation engine for this worksheet\n     *\n     * @return PHPExcel_Calculation\n     */\n    public function getCalculationEngine()\n    {\n        return $this->calculationEngine;\n    }    //    function getCellCacheController()\n\n    /**\n     * Get properties\n     *\n     * @return PHPExcel_DocumentProperties\n     */\n    public function getProperties()\n    {\n        return $this->properties;\n    }\n\n    /**\n     * Set properties\n     *\n     * @param PHPExcel_DocumentProperties    $pValue\n     */\n    public function setProperties(PHPExcel_DocumentProperties $pValue)\n    {\n        $this->properties = $pValue;\n    }\n\n    /**\n     * Get security\n     *\n     * @return PHPExcel_DocumentSecurity\n     */\n    public function getSecurity()\n    {\n        return $this->security;\n    }\n\n    /**\n     * Set security\n     *\n     * @param PHPExcel_DocumentSecurity    $pValue\n     */\n    public function setSecurity(PHPExcel_DocumentSecurity $pValue)\n    {\n        $this->security = $pValue;\n    }\n\n    /**\n     * Get active sheet\n     *\n     * @return PHPExcel_Worksheet\n     *\n     * @throws PHPExcel_Exception\n     */\n    public function getActiveSheet()\n    {\n        return $this->getSheet($this->activeSheetIndex);\n    }\n\n    /**\n     * Create sheet and add it to this workbook\n     *\n     * @param  int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last)\n     * @return PHPExcel_Worksheet\n     * @throws PHPExcel_Exception\n     */\n    public function createSheet($iSheetIndex = null)\n    {\n        $newSheet = new PHPExcel_Worksheet($this);\n        $this->addSheet($newSheet, $iSheetIndex);\n        return $newSheet;\n    }\n\n    /**\n     * Check if a sheet with a specified name already exists\n     *\n     * @param  string $pSheetName  Name of the worksheet to check\n     * @return boolean\n     */\n    public function sheetNameExists($pSheetName)\n    {\n        return ($this->getSheetByName($pSheetName) !== null);\n    }\n\n    /**\n     * Add sheet\n     *\n     * @param  PHPExcel_Worksheet $pSheet\n     * @param  int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last)\n     * @return PHPExcel_Worksheet\n     * @throws PHPExcel_Exception\n     */\n    public function addSheet(PHPExcel_Worksheet $pSheet, $iSheetIndex = null)\n    {\n        if ($this->sheetNameExists($pSheet->getTitle())) {\n            throw new PHPExcel_Exception(\n                \"Workbook already contains a worksheet named '{$pSheet->getTitle()}'. Rename this worksheet first.\"\n            );\n        }\n\n        if ($iSheetIndex === null) {\n            if ($this->activeSheetIndex < 0) {\n                $this->activeSheetIndex = 0;\n            }\n            $this->workSheetCollection[] = $pSheet;\n        } else {\n            // Insert the sheet at the requested index\n            array_splice(\n                $this->workSheetCollection,\n                $iSheetIndex,\n                0,\n                array($pSheet)\n            );\n\n            // Adjust active sheet index if necessary\n            if ($this->activeSheetIndex >= $iSheetIndex) {\n                ++$this->activeSheetIndex;\n            }\n        }\n\n        if ($pSheet->getParent() === null) {\n            $pSheet->rebindParent($this);\n        }\n\n        return $pSheet;\n    }\n\n    /**\n     * Remove sheet by index\n     *\n     * @param  int $pIndex Active sheet index\n     * @throws PHPExcel_Exception\n     */\n    public function removeSheetByIndex($pIndex = 0)\n    {\n\n        $numSheets = count($this->workSheetCollection);\n        if ($pIndex > $numSheets - 1) {\n            throw new PHPExcel_Exception(\n                \"You tried to remove a sheet by the out of bounds index: {$pIndex}. The actual number of sheets is {$numSheets}.\"\n            );\n        } else {\n            array_splice($this->workSheetCollection, $pIndex, 1);\n        }\n        // Adjust active sheet index if necessary\n        if (($this->activeSheetIndex >= $pIndex) &&\n            ($pIndex > count($this->workSheetCollection) - 1)) {\n            --$this->activeSheetIndex;\n        }\n\n    }\n\n    /**\n     * Get sheet by index\n     *\n     * @param  int $pIndex Sheet index\n     * @return PHPExcel_Worksheet\n     * @throws PHPExcel_Exception\n     */\n    public function getSheet($pIndex = 0)\n    {\n        if (!isset($this->workSheetCollection[$pIndex])) {\n            $numSheets = $this->getSheetCount();\n            throw new PHPExcel_Exception(\n                \"Your requested sheet index: {$pIndex} is out of bounds. The actual number of sheets is {$numSheets}.\"\n            );\n        }\n\n        return $this->workSheetCollection[$pIndex];\n    }\n\n    /**\n     * Get all sheets\n     *\n     * @return PHPExcel_Worksheet[]\n     */\n    public function getAllSheets()\n    {\n        return $this->workSheetCollection;\n    }\n\n    /**\n     * Get sheet by name\n     *\n     * @param  string $pName Sheet name\n     * @return PHPExcel_Worksheet\n     */\n    public function getSheetByName($pName = '')\n    {\n        $worksheetCount = count($this->workSheetCollection);\n        for ($i = 0; $i < $worksheetCount; ++$i) {\n            if ($this->workSheetCollection[$i]->getTitle() === $pName) {\n                return $this->workSheetCollection[$i];\n            }\n        }\n\n        return null;\n    }\n\n    /**\n     * Get index for sheet\n     *\n     * @param  PHPExcel_Worksheet $pSheet\n     * @return int Sheet index\n     * @throws PHPExcel_Exception\n     */\n    public function getIndex(PHPExcel_Worksheet $pSheet)\n    {\n        foreach ($this->workSheetCollection as $key => $value) {\n            if ($value->getHashCode() == $pSheet->getHashCode()) {\n                return $key;\n            }\n        }\n\n        throw new PHPExcel_Exception(\"Sheet does not exist.\");\n    }\n\n    /**\n     * Set index for sheet by sheet name.\n     *\n     * @param  string $sheetName Sheet name to modify index for\n     * @param  int $newIndex New index for the sheet\n     * @return int New sheet index\n     * @throws PHPExcel_Exception\n     */\n    public function setIndexByName($sheetName, $newIndex)\n    {\n        $oldIndex = $this->getIndex($this->getSheetByName($sheetName));\n        $pSheet = array_splice(\n            $this->workSheetCollection,\n            $oldIndex,\n            1\n        );\n        array_splice(\n            $this->workSheetCollection,\n            $newIndex,\n            0,\n            $pSheet\n        );\n        return $newIndex;\n    }\n\n    /**\n     * Get sheet count\n     *\n     * @return int\n     */\n    public function getSheetCount()\n    {\n        return count($this->workSheetCollection);\n    }\n\n    /**\n     * Get active sheet index\n     *\n     * @return int Active sheet index\n     */\n    public function getActiveSheetIndex()\n    {\n        return $this->activeSheetIndex;\n    }\n\n    /**\n     * Set active sheet index\n     *\n     * @param  int $pIndex Active sheet index\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function setActiveSheetIndex($pIndex = 0)\n    {\n        $numSheets = count($this->workSheetCollection);\n\n        if ($pIndex > $numSheets - 1) {\n            throw new PHPExcel_Exception(\n                \"You tried to set a sheet active by the out of bounds index: {$pIndex}. The actual number of sheets is {$numSheets}.\"\n            );\n        } else {\n            $this->activeSheetIndex = $pIndex;\n        }\n        return $this->getActiveSheet();\n    }\n\n    /**\n     * Set active sheet index by name\n     *\n     * @param  string $pValue Sheet title\n     * @return PHPExcel_Worksheet\n     * @throws PHPExcel_Exception\n     */\n    public function setActiveSheetIndexByName($pValue = '')\n    {\n        if (($worksheet = $this->getSheetByName($pValue)) instanceof PHPExcel_Worksheet) {\n            $this->setActiveSheetIndex($this->getIndex($worksheet));\n            return $worksheet;\n        }\n\n        throw new PHPExcel_Exception('Workbook does not contain sheet:' . $pValue);\n    }\n\n    /**\n     * Get sheet names\n     *\n     * @return string[]\n     */\n    public function getSheetNames()\n    {\n        $returnValue = array();\n        $worksheetCount = $this->getSheetCount();\n        for ($i = 0; $i < $worksheetCount; ++$i) {\n            $returnValue[] = $this->getSheet($i)->getTitle();\n        }\n\n        return $returnValue;\n    }\n\n    /**\n     * Add external sheet\n     *\n     * @param  PHPExcel_Worksheet $pSheet External sheet to add\n     * @param  int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last)\n     * @throws PHPExcel_Exception\n     * @return PHPExcel_Worksheet\n     */\n    public function addExternalSheet(PHPExcel_Worksheet $pSheet, $iSheetIndex = null)\n    {\n        if ($this->sheetNameExists($pSheet->getTitle())) {\n            throw new PHPExcel_Exception(\"Workbook already contains a worksheet named '{$pSheet->getTitle()}'. Rename the external sheet first.\");\n        }\n\n        // count how many cellXfs there are in this workbook currently, we will need this below\n        $countCellXfs = count($this->cellXfCollection);\n\n        // copy all the shared cellXfs from the external workbook and append them to the current\n        foreach ($pSheet->getParent()->getCellXfCollection() as $cellXf) {\n            $this->addCellXf(clone $cellXf);\n        }\n\n        // move sheet to this workbook\n        $pSheet->rebindParent($this);\n\n        // update the cellXfs\n        foreach ($pSheet->getCellCollection(false) as $cellID) {\n            $cell = $pSheet->getCell($cellID);\n            $cell->setXfIndex($cell->getXfIndex() + $countCellXfs);\n        }\n\n        return $this->addSheet($pSheet, $iSheetIndex);\n    }\n\n    /**\n     * Get named ranges\n     *\n     * @return PHPExcel_NamedRange[]\n     */\n    public function getNamedRanges()\n    {\n        return $this->namedRanges;\n    }\n\n    /**\n     * Add named range\n     *\n     * @param  PHPExcel_NamedRange $namedRange\n     * @return boolean\n     */\n    public function addNamedRange(PHPExcel_NamedRange $namedRange)\n    {\n        if ($namedRange->getScope() == null) {\n            // global scope\n            $this->namedRanges[$namedRange->getName()] = $namedRange;\n        } else {\n            // local scope\n            $this->namedRanges[$namedRange->getScope()->getTitle().'!'.$namedRange->getName()] = $namedRange;\n        }\n        return true;\n    }\n\n    /**\n     * Get named range\n     *\n     * @param  string $namedRange\n     * @param  PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope\n     * @return PHPExcel_NamedRange|null\n     */\n    public function getNamedRange($namedRange, PHPExcel_Worksheet $pSheet = null)\n    {\n        $returnValue = null;\n\n        if ($namedRange != '' && ($namedRange !== null)) {\n            // first look for global defined name\n            if (isset($this->namedRanges[$namedRange])) {\n                $returnValue = $this->namedRanges[$namedRange];\n            }\n\n            // then look for local defined name (has priority over global defined name if both names exist)\n            if (($pSheet !== null) && isset($this->namedRanges[$pSheet->getTitle() . '!' . $namedRange])) {\n                $returnValue = $this->namedRanges[$pSheet->getTitle() . '!' . $namedRange];\n            }\n        }\n\n        return $returnValue;\n    }\n\n    /**\n     * Remove named range\n     *\n     * @param  string  $namedRange\n     * @param  PHPExcel_Worksheet|null  $pSheet  Scope: use null for global scope.\n     * @return PHPExcel\n     */\n    public function removeNamedRange($namedRange, PHPExcel_Worksheet $pSheet = null)\n    {\n        if ($pSheet === null) {\n            if (isset($this->namedRanges[$namedRange])) {\n                unset($this->namedRanges[$namedRange]);\n            }\n        } else {\n            if (isset($this->namedRanges[$pSheet->getTitle() . '!' . $namedRange])) {\n                unset($this->namedRanges[$pSheet->getTitle() . '!' . $namedRange]);\n            }\n        }\n        return $this;\n    }\n\n    /**\n     * Get worksheet iterator\n     *\n     * @return PHPExcel_WorksheetIterator\n     */\n    public function getWorksheetIterator()\n    {\n        return new PHPExcel_WorksheetIterator($this);\n    }\n\n    /**\n     * Copy workbook (!= clone!)\n     *\n     * @return PHPExcel\n     */\n    public function copy()\n    {\n        $copied = clone $this;\n\n        $worksheetCount = count($this->workSheetCollection);\n        for ($i = 0; $i < $worksheetCount; ++$i) {\n            $this->workSheetCollection[$i] = $this->workSheetCollection[$i]->copy();\n            $this->workSheetCollection[$i]->rebindParent($this);\n        }\n\n        return $copied;\n    }\n\n    /**\n     * Implement PHP __clone to create a deep clone, not just a shallow copy.\n     */\n    public function __clone()\n    {\n        foreach ($this as $key => $val) {\n            if (is_object($val) || (is_array($val))) {\n                $this->{$key} = unserialize(serialize($val));\n            }\n        }\n    }\n\n    /**\n     * Get the workbook collection of cellXfs\n     *\n     * @return PHPExcel_Style[]\n     */\n    public function getCellXfCollection()\n    {\n        return $this->cellXfCollection;\n    }\n\n    /**\n     * Get cellXf by index\n     *\n     * @param  int $pIndex\n     * @return PHPExcel_Style\n     */\n    public function getCellXfByIndex($pIndex = 0)\n    {\n        return $this->cellXfCollection[$pIndex];\n    }\n\n    /**\n     * Get cellXf by hash code\n     *\n     * @param  string $pValue\n     * @return PHPExcel_Style|boolean False if no match found\n     */\n    public function getCellXfByHashCode($pValue = '')\n    {\n        foreach ($this->cellXfCollection as $cellXf) {\n            if ($cellXf->getHashCode() == $pValue) {\n                return $cellXf;\n            }\n        }\n        return false;\n    }\n\n    /**\n     * Check if style exists in style collection\n     *\n     * @param  PHPExcel_Style $pCellStyle\n     * @return boolean\n     */\n    public function cellXfExists($pCellStyle = null)\n    {\n        return in_array($pCellStyle, $this->cellXfCollection, true);\n    }\n\n    /**\n     * Get default style\n     *\n     * @return PHPExcel_Style\n     * @throws PHPExcel_Exception\n     */\n    public function getDefaultStyle()\n    {\n        if (isset($this->cellXfCollection[0])) {\n            return $this->cellXfCollection[0];\n        }\n        throw new PHPExcel_Exception('No default style found for this workbook');\n    }\n\n    /**\n     * Add a cellXf to the workbook\n     *\n     * @param PHPExcel_Style $style\n     */\n    public function addCellXf(PHPExcel_Style $style)\n    {\n        $this->cellXfCollection[] = $style;\n        $style->setIndex(count($this->cellXfCollection) - 1);\n    }\n\n    /**\n     * Remove cellXf by index. It is ensured that all cells get their xf index updated.\n     *\n     * @param integer $pIndex Index to cellXf\n     * @throws PHPExcel_Exception\n     */\n    public function removeCellXfByIndex($pIndex = 0)\n    {\n        if ($pIndex > count($this->cellXfCollection) - 1) {\n            throw new PHPExcel_Exception(\"CellXf index is out of bounds.\");\n        } else {\n            // first remove the cellXf\n            array_splice($this->cellXfCollection, $pIndex, 1);\n\n            // then update cellXf indexes for cells\n            foreach ($this->workSheetCollection as $worksheet) {\n                foreach ($worksheet->getCellCollection(false) as $cellID) {\n                    $cell = $worksheet->getCell($cellID);\n                    $xfIndex = $cell->getXfIndex();\n                    if ($xfIndex > $pIndex) {\n                        // decrease xf index by 1\n                        $cell->setXfIndex($xfIndex - 1);\n                    } elseif ($xfIndex == $pIndex) {\n                        // set to default xf index 0\n                        $cell->setXfIndex(0);\n                    }\n                }\n            }\n        }\n    }\n\n    /**\n     * Get the cellXf supervisor\n     *\n     * @return PHPExcel_Style\n     */\n    public function getCellXfSupervisor()\n    {\n        return $this->cellXfSupervisor;\n    }\n\n    /**\n     * Get the workbook collection of cellStyleXfs\n     *\n     * @return PHPExcel_Style[]\n     */\n    public function getCellStyleXfCollection()\n    {\n        return $this->cellStyleXfCollection;\n    }\n\n    /**\n     * Get cellStyleXf by index\n     *\n     * @param integer $pIndex Index to cellXf\n     * @return PHPExcel_Style\n     */\n    public function getCellStyleXfByIndex($pIndex = 0)\n    {\n        return $this->cellStyleXfCollection[$pIndex];\n    }\n\n    /**\n     * Get cellStyleXf by hash code\n     *\n     * @param  string $pValue\n     * @return PHPExcel_Style|boolean False if no match found\n     */\n    public function getCellStyleXfByHashCode($pValue = '')\n    {\n        foreach ($this->cellStyleXfCollection as $cellStyleXf) {\n            if ($cellStyleXf->getHashCode() == $pValue) {\n                return $cellStyleXf;\n            }\n        }\n        return false;\n    }\n\n    /**\n     * Add a cellStyleXf to the workbook\n     *\n     * @param PHPExcel_Style $pStyle\n     */\n    public function addCellStyleXf(PHPExcel_Style $pStyle)\n    {\n        $this->cellStyleXfCollection[] = $pStyle;\n        $pStyle->setIndex(count($this->cellStyleXfCollection) - 1);\n    }\n\n    /**\n     * Remove cellStyleXf by index\n     *\n     * @param integer $pIndex Index to cellXf\n     * @throws PHPExcel_Exception\n     */\n    public function removeCellStyleXfByIndex($pIndex = 0)\n    {\n        if ($pIndex > count($this->cellStyleXfCollection) - 1) {\n            throw new PHPExcel_Exception(\"CellStyleXf index is out of bounds.\");\n        } else {\n            array_splice($this->cellStyleXfCollection, $pIndex, 1);\n        }\n    }\n\n    /**\n     * Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells\n     * and columns in the workbook\n     */\n    public function garbageCollect()\n    {\n        // how many references are there to each cellXf ?\n        $countReferencesCellXf = array();\n        foreach ($this->cellXfCollection as $index => $cellXf) {\n            $countReferencesCellXf[$index] = 0;\n        }\n\n        foreach ($this->getWorksheetIterator() as $sheet) {\n            // from cells\n            foreach ($sheet->getCellCollection(false) as $cellID) {\n                $cell = $sheet->getCell($cellID);\n                ++$countReferencesCellXf[$cell->getXfIndex()];\n            }\n\n            // from row dimensions\n            foreach ($sheet->getRowDimensions() as $rowDimension) {\n                if ($rowDimension->getXfIndex() !== null) {\n                    ++$countReferencesCellXf[$rowDimension->getXfIndex()];\n                }\n            }\n\n            // from column dimensions\n            foreach ($sheet->getColumnDimensions() as $columnDimension) {\n                ++$countReferencesCellXf[$columnDimension->getXfIndex()];\n            }\n        }\n\n        // remove cellXfs without references and create mapping so we can update xfIndex\n        // for all cells and columns\n        $countNeededCellXfs = 0;\n        $map = array();\n        foreach ($this->cellXfCollection as $index => $cellXf) {\n            if ($countReferencesCellXf[$index] > 0 || $index == 0) { // we must never remove the first cellXf\n                ++$countNeededCellXfs;\n            } else {\n                unset($this->cellXfCollection[$index]);\n            }\n            $map[$index] = $countNeededCellXfs - 1;\n        }\n        $this->cellXfCollection = array_values($this->cellXfCollection);\n\n        // update the index for all cellXfs\n        foreach ($this->cellXfCollection as $i => $cellXf) {\n            $cellXf->setIndex($i);\n        }\n\n        // make sure there is always at least one cellXf (there should be)\n        if (empty($this->cellXfCollection)) {\n            $this->cellXfCollection[] = new PHPExcel_Style();\n        }\n\n        // update the xfIndex for all cells, row dimensions, column dimensions\n        foreach ($this->getWorksheetIterator() as $sheet) {\n            // for all cells\n            foreach ($sheet->getCellCollection(false) as $cellID) {\n                $cell = $sheet->getCell($cellID);\n                $cell->setXfIndex($map[$cell->getXfIndex()]);\n            }\n\n            // for all row dimensions\n            foreach ($sheet->getRowDimensions() as $rowDimension) {\n                if ($rowDimension->getXfIndex() !== null) {\n                    $rowDimension->setXfIndex($map[$rowDimension->getXfIndex()]);\n                }\n            }\n\n            // for all column dimensions\n            foreach ($sheet->getColumnDimensions() as $columnDimension) {\n                $columnDimension->setXfIndex($map[$columnDimension->getXfIndex()]);\n            }\n\n            // also do garbage collection for all the sheets\n            $sheet->garbageCollect();\n        }\n    }\n\n    /**\n     * Return the unique ID value assigned to this spreadsheet workbook\n     *\n     * @return string\n     */\n    public function getID()\n    {\n        return $this->uniqueID;\n    }\n}\n"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DAVERAGE.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DAVERAGE</h1>\r\n<h2>Returns the average of selected database entries.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The Average yield of Apple trees over 10\\' in height');\r\n$worksheet->setCellValue('B12', '=DAVERAGE(A4:E10,\"Yield\",A1:B2)');\r\n\r\n$worksheet->setCellValue('A13', 'The Average age of all Apple and Pear trees in the orchard');\r\n$worksheet->setCellValue('B13', '=DAVERAGE(A4:E10,3,A1:A3)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:B2',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DAVERAGE() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DAVERAGE() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DCOUNT.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DCOUNT</h1>\r\n<h2>Counts the cells that contain numbers in a database.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The Number of Apple trees over 10\\' in height');\r\n$worksheet->setCellValue('B12', '=DCOUNT(A4:E10,\"Yield\",A1:B2)');\r\n\r\n$worksheet->setCellValue('A13', 'The Number of Apple and Pear trees in the orchard');\r\n$worksheet->setCellValue('B13', '=DCOUNT(A4:E10,3,A1:A3)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:B2',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DCOUNT() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DCOUNT() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DGET.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DGET</h1>\r\n<h2>Extracts a single value from a column of a list or database that matches conditions that you specify.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The height of the Apple tree between 10\\' and 16\\' tall');\r\n$worksheet->setCellValue('B12', '=DGET(A4:E10,\"Height\",A1:F2)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\necho 'ALL' . '<br /><br />';\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DMAX() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A2',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DMAX() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DMAX.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DMAX</h1>\r\n<h2>Returns the maximum value from selected database entries.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The tallest tree in the orchard');\r\n$worksheet->setCellValue('B12', '=DMAX(A4:E10,\"Height\",A4:E10)');\r\n\r\n$worksheet->setCellValue('A13', 'The Oldest apple tree in the orchard');\r\n$worksheet->setCellValue('B13', '=DMAX(A4:E10,3,A1:A2)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\necho 'ALL' . '<br /><br />';\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DMAX() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A2',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DMAX() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DMIN.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DMIN</h1>\r\n<h2>Returns the minimum value from selected database entries.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The shortest tree in the orchard');\r\n$worksheet->setCellValue('B12', '=DMIN(A4:E10,\"Height\",A4:E10)');\r\n\r\n$worksheet->setCellValue('A13', 'The Youngest apple tree in the orchard');\r\n$worksheet->setCellValue('B13', '=DMIN(A4:E10,3,A1:A2)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\necho 'ALL' . '<br /><br />';\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DMIN() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A2',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DMIN() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DPRODUCT.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DPRODUCT</h1>\r\n<h2>Multiplies the values in a column of a list or database that match conditions that you specify.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The product of the yields of all Apple trees over 10\\' in the orchard');\r\n$worksheet->setCellValue('B12', '=DPRODUCT(A4:E10,\"Yield\",A1:B2)');\r\n\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\necho 'ALL' . '<br /><br />';\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DMAX() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A2',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DMAX() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DSTDEV.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DSTDEV</h1>\r\n<h2>Estimates the standard deviation based on a sample of selected database entries.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The estimated standard deviation in the yield of Apple and Pear trees');\r\n$worksheet->setCellValue('B12', '=DSTDEV(A4:E10,\"Yield\",A1:A3)');\r\n\r\n$worksheet->setCellValue('A13', 'The estimated standard deviation in height of Apple and Pear trees');\r\n$worksheet->setCellValue('B13', '=DSTDEV(A4:E10,2,A1:A3)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DSTDEV() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DSTDEV() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DSTDEVP.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DSTDEVP</h1>\r\n<h2>Calculates the standard deviation based on the entire population of selected database entries.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The standard deviation in the yield of Apple and Pear trees');\r\n$worksheet->setCellValue('B12', '=DSTDEVP(A4:E10,\"Yield\",A1:A3)');\r\n\r\n$worksheet->setCellValue('A13', 'The standard deviation in height of Apple and Pear trees');\r\n$worksheet->setCellValue('B13', '=DSTDEVP(A4:E10,2,A1:A3)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DSTDEVP() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DSTDEVP() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DVAR.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DVAR</h1>\r\n<h2>Estimates variance based on a sample from selected database entries.</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The estimated variance in the yield of Apple and Pear trees');\r\n$worksheet->setCellValue('B12', '=DVAR(A4:E10,\"Yield\",A1:A3)');\r\n\r\n$worksheet->setCellValue('A13', 'The estimated variance in height of Apple and Pear trees');\r\n$worksheet->setCellValue('B13', '=DVAR(A4:E10,2,A1:A3)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DVAR() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DVAR() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/Database/DVARP.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>DVARP</h1>\r\n<h2>Calculates variance based on the entire population of selected database entries,</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\r\n\r\n/** Include PHPExcel */\r\ninclude 'PHPExcel.php';\r\n\r\n\r\n// Create new PHPExcel object\r\n$objPHPExcel = new PHPExcel();\r\n$worksheet = $objPHPExcel->getActiveSheet();\r\n\r\n// Add some data\r\n$database = array( array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\r\n                   array( 'Apple',  18,       20,    14,      105.00  ),\r\n                   array( 'Pear',   12,       12,    10,       96.00  ),\r\n                   array( 'Cherry', 13,       14,     9,      105.00  ),\r\n                   array( 'Apple',  14,       15,    10,       75.00  ),\r\n                   array( 'Pear',    9,        8,     8,       76.80  ),\r\n                   array( 'Apple',   8,        9,     6,       45.00  ),\r\n                 );\r\n$criteria = array( array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\r\n                   array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\r\n                   array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     )\r\n                 );\r\n\r\n$worksheet->fromArray( $criteria, NULL, 'A1' );\r\n$worksheet->fromArray( $database, NULL, 'A4' );\r\n\r\n$worksheet->setCellValue('A12', 'The variance in the yield of Apple and Pear trees');\r\n$worksheet->setCellValue('B12', '=DVARP(A4:E10,\"Yield\",A1:A3)');\r\n\r\n$worksheet->setCellValue('A13', 'The variance in height of Apple and Pear trees');\r\n$worksheet->setCellValue('B13', '=DVARP(A4:E10,2,A1:A3)');\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\necho '<h4>Database</h4>';\r\n\r\n$databaseData = $worksheet->rangeToArray('A4:E10',null,true,true,true);\r\nvar_dump($databaseData);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n// Test the formulae\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A12\")->getValue() .'<br />';\r\necho 'DVARP() Result is ' . $worksheet->getCell(\"B12\")->getCalculatedValue() .'<br /><br />';\r\n\r\necho '<h4>Criteria</h4>';\r\n\r\n$criteriaData = $worksheet->rangeToArray('A1:A3',null,true,true,true);\r\nvar_dump($criteriaData);\r\n\r\necho $worksheet->getCell(\"A13\")->getValue() .'<br />';\r\necho 'DVARP() Result is ' . $worksheet->getCell(\"B13\")->getCalculatedValue();\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Calculations/DateTime/DATE.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Calculation Examples</title>\n\n</head>\n<body>\n\n<h1>DATE</h1>\n<h2>Returns the serial number of a particular date.</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\n\n/** Include PHPExcel */\ninclude 'PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n$worksheet = $objPHPExcel->getActiveSheet();\n\n// Add some data\n$testDates = array(\tarray(2012,3,26),\tarray(2012,2,29),\tarray(2012,4,1),\tarray(2012,12,25),\n\t\t\t\t\tarray(2012,10,31),\tarray(2012,11,5),\tarray(2012,1,1),\tarray(2012,3,17),\n\t\t\t\t\tarray(2011,2,29),\tarray(7,5,3),\t\tarray(2012,13,1),\tarray(2012,11,45),\n\t\t\t\t\tarray(2012,0,0),\tarray(2012,1,0),\tarray(2012,0,1),\n\t\t\t\t\tarray(2012,-2,2),\tarray(2012,2,-2),\tarray(2012,-2,-2),\n\t\t\t\t  );\n$testDateCount = count($testDates);\n\n$worksheet->fromArray($testDates,NULL,'A1',true);\n\nfor ($row = 1; $row <= $testDateCount; ++$row) {\n\t$worksheet->setCellValue('D'.$row, '=DATE(A'.$row.',B'.$row.',C'.$row.')');\n\t$worksheet->setCellValue('E'.$row, '=D'.$row);\n}\n$worksheet->getStyle('E1:E'.$testDateCount)\n          ->getNumberFormat()\n          ->setFormatCode('yyyy-mmm-dd');\n\n\necho '<hr />';\n\n\n// Test the formulae\n?>\n<table border=\"1\" cellspacing=\"0\">\n\t<tr>\n\t\t<th colspan=\"3\">Date Value</th>\n\t\t<th rowspan=\"2\" valign=\"bottom\">Formula</th>\n\t\t<th rowspan=\"2\" valign=\"bottom\">Excel DateStamp</th>\n\t\t<th rowspan=\"2\" valign=\"bottom\">Formatted DateStamp</th>\n\t</tr>\n\t<tr>\n\t\t<th>Year</th>\n\t\t<th>Month</th>\n\t\t<th>Day</th>\n\t<tr>\n\t<?php\n\tfor ($row = 1; $row <= $testDateCount; ++$row) {\n\t\techo '<tr>';\n\t\t    echo '<td>' , $worksheet->getCell('A'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('B'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('C'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('D'.$row)->getValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('D'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('E'.$row)->getFormattedValue() , '</td>';\n\t\techo '</tr>';\n\t}\n\t?>\n</table>"
  },
  {
    "path": "Documentation/Examples/Calculations/DateTime/DATEVALUE.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Calculation Examples</title>\n\n</head>\n<body>\n\n<h1>DATEVALUE</h1>\n<h2>Converts a date in the form of text to a serial number.</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\n\n/** Include PHPExcel */\ninclude 'PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n$worksheet = $objPHPExcel->getActiveSheet();\n\n// Add some data\n$testDates = array(\t'26 March 2012',\t'29 Feb 2012',\t'April 1, 2012',\t'25/12/2012',\n\t\t\t\t\t'2012-Oct-31',\t\t'5th November',\t'January 1st',\t\t'April 2012',\n\t\t\t\t\t'17-03',\t\t\t'03-2012',\t\t'29 Feb 2011',\t\t'03-05-07',\n\t\t\t\t\t'03-MAY-07',\t\t'03-13-07',\n\t\t\t\t  );\n$testDateCount = count($testDates);\n\nfor($row = 1; $row <= $testDateCount; ++$row) {\n\t$worksheet->setCellValue('A'.$row, $testDates[$row-1]);\n\t$worksheet->setCellValue('B'.$row, '=DATEVALUE(A'.$row.')');\n\t$worksheet->setCellValue('C'.$row, '=B'.$row);\n}\n\n$worksheet->getStyle('C1:C'.$testDateCount)\n          ->getNumberFormat()\n          ->setFormatCode('yyyy-mmm-dd');\n\n\necho '<hr />';\n\n\n// Test the formulae\n?>\n<p><strong>Warning: </strong>The PHPExcel DATEVALUE() function accepts a wider range of date formats than MS Excel's DATEFORMAT() function.</p>\n<table border=\"1\" cellspacing=\"0\">\n\t<tr>\n\t\t<th>Date String</th>\n\t\t<th>Formula</th>\n\t\t<th>Excel DateStamp</th>\n\t\t<th>Formatted DateStamp</th>\n\t</tr>\n\t<?php\n\tfor ($row = 1; $row <= $testDateCount; ++$row) {\n\t\techo '<tr>';\n\t\t    echo '<td>' , $worksheet->getCell('A'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('B'.$row)->getValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('B'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('C'.$row)->getFormattedValue() , '</td>';\n\t\techo '</tr>';\n\t}\n\t?>\n</table>"
  },
  {
    "path": "Documentation/Examples/Calculations/DateTime/TIME.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Calculation Examples</title>\n\n</head>\n<body>\n\n<h1>TIME</h1>\n<h2>Returns the serial number of a particular time.</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\n\n/** Include PHPExcel */\ninclude 'PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n$worksheet = $objPHPExcel->getActiveSheet();\n\n// Add some data\n$testDates = array(\tarray(3,15),\t\tarray(13,15),\tarray(15,15,15),\tarray(3,15,30),\n\t\t\t\t\tarray(15,15,15),\tarray(5),\t\tarray(9,15,0),\t\tarray(9,15,-1),\n\t\t\t\t\tarray(13,-14,-15),\tarray(0,0,-1)\n\t\t\t\t  );\n$testDateCount = count($testDates);\n\n$worksheet->fromArray($testDates,NULL,'A1',true);\n\nfor ($row = 1; $row <= $testDateCount; ++$row) {\n\t$worksheet->setCellValue('D'.$row, '=TIME(A'.$row.',B'.$row.',C'.$row.')');\n\t$worksheet->setCellValue('E'.$row, '=D'.$row);\n}\n$worksheet->getStyle('E1:E'.$testDateCount)\n          ->getNumberFormat()\n          ->setFormatCode('hh:mm:ss');\n\n\necho '<hr />';\n\n\n// Test the formulae\n?>\n<table border=\"1\" cellspacing=\"0\">\n\t<tr>\n\t\t<th colspan=\"3\">Date Value</th>\n\t\t<th rowspan=\"2\" valign=\"bottom\">Formula</th>\n\t\t<th rowspan=\"2\" valign=\"bottom\">Excel TimeStamp</th>\n\t\t<th rowspan=\"2\" valign=\"bottom\">Formatted TimeStamp</th>\n\t</tr>\n\t<tr>\n\t\t<th>Hour</th>\n\t\t<th>Minute</th>\n\t\t<th>Second</th>\n\t<tr>\n\t<?php\n\tfor ($row = 1; $row <= $testDateCount; ++$row) {\n\t\techo '<tr>';\n\t\t    echo '<td>' , $worksheet->getCell('A'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('B'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('C'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('D'.$row)->getValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('D'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('E'.$row)->getFormattedValue() , '</td>';\n\t\techo '</tr>';\n\t}\n\t?>\n</table>"
  },
  {
    "path": "Documentation/Examples/Calculations/DateTime/TIMEVALUE.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Calculation Examples</title>\n\n</head>\n<body>\n\n<h1>TIMEVALUE</h1>\n<h2>Converts a time in the form of text to a serial number.</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/');\n\n/** Include PHPExcel */\ninclude 'PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n$worksheet = $objPHPExcel->getActiveSheet();\n\n// Add some data\n$testDates = array(\t'3:15',\t'13:15',\t'15:15:15',\t'3:15 AM',\t'3:15 PM',\t'5PM',\t'9:15AM',\t'13:15AM'\n\t\t\t\t  );\n$testDateCount = count($testDates);\n\nfor($row = 1; $row <= $testDateCount; ++$row) {\n\t$worksheet->setCellValue('A'.$row, $testDates[$row-1]);\n\t$worksheet->setCellValue('B'.$row, '=TIMEVALUE(A'.$row.')');\n\t$worksheet->setCellValue('C'.$row, '=B'.$row);\n}\n\n$worksheet->getStyle('C1:C'.$testDateCount)\n          ->getNumberFormat()\n          ->setFormatCode('hh:mm:ss');\n\n\necho '<hr />';\n\n\n// Test the formulae\n?>\n<table border=\"1\" cellspacing=\"0\">\n\t<tr>\n\t\t<th>Time String</th>\n\t\t<th>Formula</th>\n\t\t<th>Excel TimeStamp</th>\n\t\t<th>Formatted TimeStamp</th>\n\t</tr>\n\t<?php\n\tfor ($row = 1; $row <= $testDateCount; ++$row) {\n\t\techo '<tr>';\n\t\t    echo '<td>' , $worksheet->getCell('A'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('B'.$row)->getValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('B'.$row)->getFormattedValue() , '</td>';\n\t\t\techo '<td>' , $worksheet->getCell('C'.$row)->getFormattedValue() , '</td>';\n\t\techo '</tr>';\n\t}\n\t?>\n</table>"
  },
  {
    "path": "Documentation/Examples/Calculations/index.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Calculation Function Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<?php\r\n\r\necho '<h1>PHPExcel Calculation Function Examples</h1>';\r\n\r\n$exampleTypeList = glob('./*',GLOB_ONLYDIR);\r\n\r\nforeach($exampleTypeList as $exampleType) {\r\n\r\n\techo '<h2>' . pathinfo($exampleType,PATHINFO_BASENAME) . ' Function Examples</h2>';\r\n\r\n\t$exampleList = glob('./'.$exampleType.'/*.php');\r\n\r\n\tforeach($exampleList as $exampleFile) {\r\n\t\t$fileData = file_get_contents($exampleFile);\r\n\r\n\t\t$h1Pattern = '#<h1>(.*?)</h1>#';\r\n\t\t$h2Pattern = '#<h2>(.*?)</h2>#';\r\n\r\n\t\tif (preg_match($h1Pattern, $fileData, $out)) {\r\n\t\t\t$h1Text = $out[1];\r\n\t\t\t$h2Text = (preg_match($h2Pattern, $fileData, $out)) ? $out[1] : '';\r\n\r\n\t\t\techo '<a href=\"',$exampleFile,'\">',$h1Text,'</a><br />';\r\n\t\t\tif ($h2Text > '') {\r\n\t\t\t\techo $h2Text,'<br />';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n}\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader01.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #01</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #01</h1>\r\n<h2>Simple File Reader using PHPExcel_IOFactory::load()</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileName = './sampleData/example1.xls';\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory to identify the format<br />';\r\n$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader02.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #02</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #02</h1>\r\n<h2>Simple File Reader using a Specified Reader</h2>\r\n<?php\r\n\r\n$inputFileName = './sampleData/example1.xls';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using PHPExcel_Reader_Excel5<br />';\r\n$objReader = new PHPExcel_Reader_Excel5();\r\n//\t$objReader = new PHPExcel_Reader_Excel2007();\r\n//\t$objReader = new PHPExcel_Reader_Excel2003XML();\r\n//\t$objReader = new PHPExcel_Reader_OOCalc();\r\n//\t$objReader = new PHPExcel_Reader_SYLK();\r\n//\t$objReader = new PHPExcel_Reader_Gnumeric();\r\n//\t$objReader = new PHPExcel_Reader_CSV();\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader03.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #03</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #03</h1>\r\n<h2>Simple File Reader using the PHPExcel_IOFactory to Return a Reader</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'SYLK';\r\n//\t$inputFileType = 'Gnumeric';\r\n//\t$inputFileType = 'CSV';\r\n$inputFileName = './sampleData/example1.xls';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader04.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #04</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #04</h1>\r\n<h2>Simple File Reader using the PHPExcel_IOFactory to Identify a Reader to Use</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileName = './sampleData/example1.xls';\r\n\r\n$inputFileType = PHPExcel_IOFactory::identify($inputFileName);\r\necho 'File ',pathinfo($inputFileName,PATHINFO_BASENAME),' has been identified as an ',$inputFileType,' file<br />';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with the identified reader type<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader05.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #05</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #05</h1>\r\n<h2>Simple File Reader using the \"Read Data Only\" Option</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Turning Formatting off for Load<br />';\r\n$objReader->setReadDataOnly(true);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader06.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #06</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #06</h1>\r\n<h2>Simple File Reader Loading All WorkSheets</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Loading all WorkSheets<br />';\r\n$objReader->setLoadAllSheets();\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\necho $objPHPExcel->getSheetCount(),' worksheet',(($objPHPExcel->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';\r\n$loadedSheetNames = $objPHPExcel->getSheetNames();\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo $sheetIndex,' -> ',$loadedSheetName,'<br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader07.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #07</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #07</h1>\r\n<h2>Simple File Reader Loading a Single Named WorkSheet</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n$sheetname = 'Data Sheet #2';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Loading Sheet \"',$sheetname,'\" only<br />';\r\n$objReader->setLoadSheetsOnly($sheetname);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\necho $objPHPExcel->getSheetCount(),' worksheet',(($objPHPExcel->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';\r\n$loadedSheetNames = $objPHPExcel->getSheetNames();\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo $sheetIndex,' -> ',$loadedSheetName,'<br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader08.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #08</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #08</h1>\r\n<h2>Simple File Reader Loading Several Named WorkSheets</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n$sheetnames = array('Data Sheet #1','Data Sheet #3');\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Loading Sheet',((count($sheetnames) == 1) ? '' : 's'),' \"',implode('\" and \"',$sheetnames),'\" only<br />';\r\n$objReader->setLoadSheetsOnly($sheetnames);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\necho $objPHPExcel->getSheetCount(),' worksheet',(($objPHPExcel->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';\r\n$loadedSheetNames = $objPHPExcel->getSheetNames();\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo $sheetIndex,' -> ',$loadedSheetName,'<br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader09.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #09</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #09</h1>\r\n<h2>Simple File Reader Using a Read Filter</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n$sheetname = 'Data Sheet #3';\r\n\r\n\r\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter\r\n{\r\n\tpublic function readCell($column, $row, $worksheetName = '') {\r\n\t\t// Read rows 1 to 7 and columns A to E only\r\n\t\tif ($row >= 1 && $row <= 7) {\r\n\t\t\tif (in_array($column,range('A','E'))) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\n$filterSubset = new MyReadFilter();\r\n\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Loading Sheet \"',$sheetname,'\" only<br />';\r\n$objReader->setLoadSheetsOnly($sheetname);\r\necho 'Loading Sheet using filter<br />';\r\n$objReader->setReadFilter($filterSubset);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader10.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #10</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #10</h1>\r\n<h2>Simple File Reader Using a Configurable Read Filter</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n$sheetname = 'Data Sheet #3';\r\n\r\n\r\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter\r\n{\r\n\tprivate $_startRow = 0;\r\n\r\n\tprivate $_endRow = 0;\r\n\r\n\tprivate $_columns = array();\r\n\r\n\tpublic function __construct($startRow, $endRow, $columns) {\r\n\t\t$this->_startRow\t= $startRow;\r\n\t\t$this->_endRow\t\t= $endRow;\r\n\t\t$this->_columns\t\t= $columns;\r\n\t}\r\n\r\n\tpublic function readCell($column, $row, $worksheetName = '') {\r\n\t\tif ($row >= $this->_startRow && $row <= $this->_endRow) {\r\n\t\t\tif (in_array($column,$this->_columns)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\n$filterSubset = new MyReadFilter(9,15,range('G','K'));\r\n\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Loading Sheet \"',$sheetname,'\" only<br />';\r\n$objReader->setLoadSheetsOnly($sheetname);\r\necho 'Loading Sheet using configurable filter<br />';\r\n$objReader->setReadFilter($filterSubset);\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader11.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #11</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #11</h1>\r\n<h2>Reading a Workbook in \"Chunks\" Using a Configurable Read Filter (Version 1)</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example2.xls';\r\n\r\n\r\n/**  Define a Read Filter class implementing PHPExcel_Reader_IReadFilter  */\r\nclass chunkReadFilter implements PHPExcel_Reader_IReadFilter\r\n{\r\n\tprivate $_startRow = 0;\r\n\r\n\tprivate $_endRow = 0;\r\n\r\n\t/**  We expect a list of the rows that we want to read to be passed into the constructor  */\r\n\tpublic function __construct($startRow, $chunkSize) {\r\n\t\t$this->_startRow\t= $startRow;\r\n\t\t$this->_endRow\t\t= $startRow + $chunkSize;\r\n\t}\r\n\r\n\tpublic function readCell($column, $row, $worksheetName = '') {\r\n\t\t//  Only read the heading row, and the rows that were configured in the constructor\r\n\t\tif (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n/**  Create a new Reader of the type defined in $inputFileType  **/\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n/**  Define how many rows we want for each \"chunk\"  **/\r\n$chunkSize = 20;\r\n\r\n/**  Loop to read our worksheet in \"chunk size\" blocks  **/\r\nfor ($startRow = 2; $startRow <= 240; $startRow += $chunkSize) {\r\n\techo 'Loading WorkSheet using configurable filter for headings row 1 and for rows ',$startRow,' to ',($startRow+$chunkSize-1),'<br />';\r\n\t/**  Create a new Instance of our Read Filter, passing in the limits on which rows we want to read  **/\r\n\t$chunkFilter = new chunkReadFilter($startRow,$chunkSize);\r\n\t/**  Tell the Reader that we want to use the new Read Filter that we've just Instantiated  **/\r\n\t$objReader->setReadFilter($chunkFilter);\r\n\t/**  Load only the rows that match our filter from $inputFileName to a PHPExcel Object  **/\r\n\t$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\t//\tDo some processing here\r\n\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br /><br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader12.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #12</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #12</h1>\r\n<h2>Reading a Workbook in \"Chunks\" Using a Configurable Read Filter (Version 2)</h2>\r\n<?php\r\n\r\n/**  Set Include path to point at the PHPExcel Classes folder  **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/**  Include PHPExcel_IOFactory  **/\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example2.xls';\r\n\r\n\r\n/**  Define a Read Filter class implementing PHPExcel_Reader_IReadFilter  */\r\nclass chunkReadFilter implements PHPExcel_Reader_IReadFilter\r\n{\r\n\tprivate $_startRow = 0;\r\n\r\n\tprivate $_endRow = 0;\r\n\r\n\t/**  Set the list of rows that we want to read  */\r\n\tpublic function setRows($startRow, $chunkSize) {\r\n\t\t$this->_startRow\t= $startRow;\r\n\t\t$this->_endRow\t\t= $startRow + $chunkSize;\r\n\t}\r\n\r\n\tpublic function readCell($column, $row, $worksheetName = '') {\r\n\t\t//  Only read the heading row, and the rows that are configured in $this->_startRow and $this->_endRow\r\n\t\tif (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n/**  Create a new Reader of the type defined in $inputFileType  **/\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n/**  Define how many rows we want to read for each \"chunk\"  **/\r\n$chunkSize = 20;\r\n/**  Create a new Instance of our Read Filter  **/\r\n$chunkFilter = new chunkReadFilter();\r\n\r\n/**  Tell the Reader that we want to use the Read Filter that we've Instantiated  **/\r\n$objReader->setReadFilter($chunkFilter);\r\n\r\n/**  Loop to read our worksheet in \"chunk size\" blocks  **/\r\nfor ($startRow = 2; $startRow <= 240; $startRow += $chunkSize) {\r\n\techo 'Loading WorkSheet using configurable filter for headings row 1 and for rows ',$startRow,' to ',($startRow+$chunkSize-1),'<br />';\r\n\t/**  Tell the Read Filter, the limits on which rows we want to read this iteration  **/\r\n\t$chunkFilter->setRows($startRow,$chunkSize);\r\n\t/**  Load only the rows that match our filter from $inputFileName to a PHPExcel Object  **/\r\n\t$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\t//\tDo some processing here\r\n\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br /><br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader13.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #13</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #13</h1>\r\n<h2>Simple File Reader for Multiple CSV Files</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'CSV';\r\n$inputFileNames = array('./sampleData/example1.csv','./sampleData/example2.csv');\r\n\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n$inputFileName = array_shift($inputFileNames);\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' into WorkSheet #1 using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n$objPHPExcel->getActiveSheet()->setTitle(pathinfo($inputFileName,PATHINFO_BASENAME));\r\nforeach($inputFileNames as $sheet => $inputFileName) {\r\n\techo 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' into WorkSheet #',($sheet+2),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n\t$objReader->setSheetIndex($sheet+1);\r\n\t$objReader->loadIntoExisting($inputFileName,$objPHPExcel);\r\n\t$objPHPExcel->getActiveSheet()->setTitle(pathinfo($inputFileName,PATHINFO_BASENAME));\r\n}\r\n\r\n\r\necho '<hr />';\r\n\r\necho $objPHPExcel->getSheetCount(),' worksheet',(($objPHPExcel->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';\r\n$loadedSheetNames = $objPHPExcel->getSheetNames();\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo '<b>Worksheet #',$sheetIndex,' -> ',$loadedSheetName,'</b><br />';\r\n\t$objPHPExcel->setActiveSheetIndexByName($loadedSheetName);\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br /><br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader14.php",
    "content": "<?php\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #15</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #14</h1>\r\n<h2>Reading a Large CSV file in \"Chunks\" to split across multiple Worksheets</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'CSV';\r\n$inputFileName = './sampleData/example2.csv';\r\n\r\n/**  Define a Read Filter class implementing PHPExcel_Reader_IReadFilter  */\r\nclass chunkReadFilter implements PHPExcel_Reader_IReadFilter\r\n{\r\n\tprivate $_startRow = 0;\r\n\r\n\tprivate $_endRow = 0;\r\n\r\n\t/**  Set the list of rows that we want to read  */\r\n\tpublic function setRows($startRow, $chunkSize) {\r\n\t\t$this->_startRow\t= $startRow;\r\n\t\t$this->_endRow\t\t= $startRow + $chunkSize;\r\n\t}\r\n\r\n\tpublic function readCell($column, $row, $worksheetName = '') {\r\n\t\t//  Only read the heading row, and the rows that are configured in $this->_startRow and $this->_endRow\r\n\t\tif (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n/**  Create a new Reader of the type defined in $inputFileType  **/\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n\r\n\r\necho '<hr />';\r\n\r\n\r\n/**  Define how many rows we want to read for each \"chunk\"  **/\r\n$chunkSize = 100;\r\n/**  Create a new Instance of our Read Filter  **/\r\n$chunkFilter = new chunkReadFilter();\r\n\r\n/**  Tell the Reader that we want to use the Read Filter that we've Instantiated  **/\r\n/**    and that we want to store it in contiguous rows/columns  **/\r\n$objReader->setReadFilter($chunkFilter)\r\n\t\t  ->setContiguous(true);\r\n\r\n\r\n/**  Instantiate a new PHPExcel object manually  **/\r\n$objPHPExcel = new PHPExcel();\r\n\r\n/**  Set a sheet index  **/\r\n$sheet = 0;\r\n/**  Loop to read our worksheet in \"chunk size\" blocks  **/\r\n/**  $startRow is set to 2 initially because we always read the headings in row #1  **/\r\nfor ($startRow = 2; $startRow <= 240; $startRow += $chunkSize) {\r\n\techo 'Loading WorkSheet #',($sheet+1),' using configurable filter for headings row 1 and for rows ',$startRow,' to ',($startRow+$chunkSize-1),'<br />';\r\n\t/**  Tell the Read Filter, the limits on which rows we want to read this iteration  **/\r\n\t$chunkFilter->setRows($startRow,$chunkSize);\r\n\r\n    /**  Increment the worksheet index pointer for the Reader  **/\r\n    $objReader->setSheetIndex($sheet);\r\n\t/**  Load only the rows that match our filter into a new worksheet in the PHPExcel Object  **/\r\n    $objReader->loadIntoExisting($inputFileName,$objPHPExcel);\r\n    /**  Set the worksheet title (to reference the \"sheet\" of data that we've loaded)  **/\r\n    /**    and increment the sheet index as well  **/\r\n    $objPHPExcel->getActiveSheet()->setTitle('Country Data #'.(++$sheet));\r\n}\r\n\r\n\r\necho '<hr />';\r\n\r\necho $objPHPExcel->getSheetCount(),' worksheet',(($objPHPExcel->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';\r\n$loadedSheetNames = $objPHPExcel->getSheetNames();\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo '<b>Worksheet #',$sheetIndex,' -> ',$loadedSheetName,'</b><br />';\r\n\t$objPHPExcel->setActiveSheetIndexByName($loadedSheetName);\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,false,false,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br />';\r\n}\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader15.php",
    "content": "<?php\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #15</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #15</h1>\r\n<h2>Simple File Reader for Tab-Separated Value File using the Advanced Value Binder</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\nPHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() );\r\n\r\n\r\n$inputFileType = 'CSV';\r\n$inputFileName = './sampleData/example1.tsv';\r\n\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' into WorkSheet #1 using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader->setDelimiter(\"\\t\");\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n$objPHPExcel->getActiveSheet()->setTitle(pathinfo($inputFileName,PATHINFO_BASENAME));\r\n\r\n\r\necho '<hr />';\r\n\r\necho $objPHPExcel->getSheetCount(),' worksheet',(($objPHPExcel->getSheetCount() == 1) ? '' : 's'),' loaded<br /><br />';\r\n$loadedSheetNames = $objPHPExcel->getSheetNames();\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo '<b>Worksheet #',$sheetIndex,' -> ',$loadedSheetName,' (Formatted)</b><br />';\r\n\t$objPHPExcel->setActiveSheetIndexByName($loadedSheetName);\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br />';\r\n}\r\n\r\necho '<hr />';\r\n\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo '<b>Worksheet #',$sheetIndex,' -> ',$loadedSheetName,' (Unformatted)</b><br />';\r\n\t$objPHPExcel->setActiveSheetIndexByName($loadedSheetName);\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,false,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br />';\r\n}\r\n\r\necho '<hr />';\r\n\r\nforeach($loadedSheetNames as $sheetIndex => $loadedSheetName) {\r\n\techo '<b>Worksheet #',$sheetIndex,' -> ',$loadedSheetName,' (Raw)</b><br />';\r\n\t$objPHPExcel->setActiveSheetIndexByName($loadedSheetName);\r\n\t$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,false,false,true);\r\n\tvar_dump($sheetData);\r\n\techo '<br />';\r\n}\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader16.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #16</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #16</h1>\r\n<h2>Handling Loader Exceptions using Try/Catch</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileName = './sampleData/example_1.xls';\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory to identify the format<br />';\r\ntry {\r\n\t$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);\r\n} catch(PHPExcel_Reader_Exception $e) {\r\n\tdie('Error loading file \"'.pathinfo($inputFileName,PATHINFO_BASENAME).'\": '.$e->getMessage());\r\n}\r\n\r\n\r\necho '<hr />';\r\n\r\n$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\nvar_dump($sheetData);\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader17.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Reader Example #17</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<h1>PHPExcel Reader Example #17</h1>\r\n<h2>Simple File Reader Loading Several Named WorkSheets</h2>\r\n<?php\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n//\t$inputFileType = 'Excel2007';\r\n//\t$inputFileType = 'Excel2003XML';\r\n//\t$inputFileType = 'OOCalc';\r\n//\t$inputFileType = 'Gnumeric';\r\n$inputFileName = './sampleData/example1.xls';\r\n\r\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n\r\n\r\n/**  Read the list of Worksheet Names from the Workbook file  **/\r\necho 'Read the list of Worksheets in the WorkBook<br />';\r\n$worksheetNames = $objReader->listWorksheetNames($inputFileName);\r\n\r\necho 'There are ',count($worksheetNames),' worksheet',((count($worksheetNames) == 1) ? '' : 's'),' in the workbook<br /><br />';\r\nforeach($worksheetNames as $worksheetName) {\r\n\techo $worksheetName,'<br />';\r\n}\r\n\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader18.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Reader Example #18</title>\n\n</head>\n<body>\n\n<h1>PHPExcel Reader Example #18</h1>\n<h2>Reading list of WorkSheets without loading entire file</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n$inputFileType = 'Excel5';\n//\t$inputFileType = 'Excel2007';\n//\t$inputFileType = 'Excel2003XML';\n//\t$inputFileType = 'OOCalc';\n//\t$inputFileType = 'Gnumeric';\n$inputFileName = './sampleData/example1.xls';\n\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' information using IOFactory with a defined reader type of ',$inputFileType,'<br />';\n\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n$worksheetNames = $objReader->listWorksheetNames($inputFileName);\n\necho '<h3>Worksheet Names</h3>';\necho '<ol>';\nforeach ($worksheetNames as $worksheetName) {\n\techo '<li>', $worksheetName, '</li>';\n}\necho '</ol>';\n\n?>\n<body>\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/exampleReader19.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Reader Example #19</title>\n\n</head>\n<body>\n\n<h1>PHPExcel Reader Example #19</h1>\n<h2>Reading WorkSheet information without loading entire file</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n$inputFileType = 'Excel5';\n//\t$inputFileType = 'Excel2007';\n//\t$inputFileType = 'Excel2003XML';\n//\t$inputFileType = 'OOCalc';\n//\t$inputFileType = 'Gnumeric';\n$inputFileName = './sampleData/example1.xls';\n\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' information using IOFactory with a defined reader type of ',$inputFileType,'<br />';\n\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n$worksheetData = $objReader->listWorksheetInfo($inputFileName);\n\necho '<h3>Worksheet Information</h3>';\necho '<ol>';\nforeach ($worksheetData as $worksheet) {\n\techo '<li>', $worksheet['worksheetName'], '<br />';\n\techo 'Rows: ', $worksheet['totalRows'], ' Columns: ', $worksheet['totalColumns'], '<br />';\n\techo 'Cell Range: A1:', $worksheet['lastColumnLetter'], $worksheet['totalRows'];\n\techo '</li>';\n}\necho '</ol>';\n\n?>\n<body>\n</html>"
  },
  {
    "path": "Documentation/Examples/Reader/sampleData/example1.csv",
    "content": "First Name,Last Name,Nationality,Gender,Date of Birth,Time of Birth,Date/Time,PHP Coder,Sanity %Age\r\nMark,Baker,British,M,19-Dec-1960,01:30,=E2+F2,TRUE,32%\r\nToni,Baker,British,F,24-Nov-1950,20:00,=E3+F3,FALSE,95%\r\nRachel,Baker,British,F,7-Dec-1982,00:15,=E4+F4,FALSE,100%"
  },
  {
    "path": "Documentation/Examples/Reader/sampleData/example1.tsv",
    "content": "First Name\tLast Name\tNationality\tGender\tDate of Birth\tTime of Birth\tDate/Time\tPHP Coder\tSanity %Age\r\nMark\tBaker\tBritish\tM\t19-Dec-1960\t01:30\t=E2+F2\tTRUE\t32%\r\nToni\tBaker\tBritish\tF\t24-Nov-1950\t20:00\t=E3+F3\tFALSE\t95%\r\nRachel\tBaker\tBritish\tF\t7-Dec-1982\t00:15\t=E4+F4\tFALSE\t100%"
  },
  {
    "path": "Documentation/Examples/Reader/sampleData/example2.csv",
    "content": "\"City\",\"Country\",\"Latitude\",\"Longitude\"\r\n\"Kabul\",\"Afghanistan\",34.528455,69.171703\r\n\"Tirane\",\"Albania\",41.33,19.82\r\n\"Algiers\",\"Algeria\",36.752887,3.042048\r\n\"Pago Pago\",\"American Samoa\",-14.27933,-170.700897\r\n\"Andorra la Vella\",\"Andorra\",42.507531,1.521816\r\n\"Luanda\",\"Angola\",-8.838333,13.234444\r\n\"Buenos Aires\",\"Argentina\",-34.608417,-58.373161\r\n\"Yerevan\",\"Armenia\",40.183333,44.516667\r\n\"Oranjestad\",\"Aruba\",12.52458,-70.026459\r\n\"Canberra\",\"Australia\",-35.3075,149.124417\r\n\"Vienna\",\"Austria\",48.208333,16.373056\r\n\"Baku\",\"Azerbaijan\",40.379571,49.891233\r\n\"Nassau\",\"Bahamas\",25.06,-77.345\r\n\"Manama\",\"Bahrain\",26.216667,50.583333\r\n\"Dhaka\",\"Bangladesh\",23.709921,90.407143\r\n\"Bridgetown\",\"Barbados\",13.096111,-59.608333\r\n\"Minsk\",\"Belarus\",53.9,27.566667\r\n\"Brussels\",\"Belgium\",50.846281,4.354727\r\n\"Belmopan\",\"Belize\",17.251389,-88.766944\r\n\"Thimphu\",\"Bhutan\",27.466667,89.641667\r\n\"La Paz\",\"Bolivia\",-16.49901,-68.146248\r\n\"Sarajevo\",\"Bosnia and Herzegovina\",43.8476,18.3564\r\n\"Gaborone\",\"Botswana\",-24.65411,25.908739\r\n\"Brasilia\",\"Brazil\",-15.780148,-47.92917\r\n\"Road Town\",\"British Virgin Islands\",18.433333,-64.616667\r\n\"Bandar Seri Begawan\",\"Brunei Darussalam\",4.9431,114.9425\r\n\"Sofia\",\"Bulgaria\",42.697626,23.322284\r\n\"Ouagadougou\",\"Burkina Faso\",12.364637,-1.533864\r\n\"Bujumbura\",\"Burundi\",-3.361378,29.359878\r\n\"Phnom Penh\",\"Cambodia\",11.55,104.916667\r\n\"Yaounde\",\"Cameroon\",3.866667,11.516667\r\n\"Ottawa\",\"Canada\",45.423494,-75.697933\r\n\"Praia\",\"Cape Verde\",14.920833,-23.508333\r\n\"George Town\",\"Cayman Islands\",19.286932,-81.367439\r\n\"Bangui\",\"Central African Republic\",4.361698,18.555975\r\n\"N'Djamena\",\"Chad\",12.104797,15.044506\r\n\"Santiago\",\"Chile\",-33.42536,-70.566466\r\n\"Beijing\",\"China\",39.904667,116.408198\r\n\"Bogota\",\"Colombia\",4.647302,-74.096268\r\n\"Moroni\",\"Comoros\",-11.717216,43.247315\r\n\"Brazzaville\",\"Congo\",-4.266667,15.283333\r\n\"San Jose\",\"Costa Rica\",9.933333,-84.083333\r\n\"Yamoussoukro\",\"Cote d'Ivoire\",6.816667,-5.283333\r\n\"Zagreb\",\"Croatia\",45.814912,15.978515\r\n\"Havana\",\"Cuba\",23.133333,-82.366667\r\n\"Nicosia\",\"Cyprus\",35.166667,33.366667\r\n\"Prague\",\"Czech Republic\",50.087811,14.42046\r\n\"Kinshasa\",\"Congo\",-4.325,15.322222\r\n\"Copenhagen\",\"Denmark\",55.676294,12.568116\r\n\"Djibouti\",\"Djibouti\",11.588,43.145\r\n\"Roseau\",\"Dominica\",15.301389,-61.388333\r\n\"Santo Domingo\",\"Dominican Republic\",18.5,-69.983333\r\n\"Dili\",\"East Timor\",-8.566667,125.566667\r\n\"Quito\",\"Ecuador\",-0.229498,-78.524277\r\n\"Cairo\",\"Egypt\",30.064742,31.249509\r\n\"San Salvador\",\"El Salvador\",13.69,-89.190003\r\n\"Malabo\",\"Equatorial Guinea\",3.75,8.783333\r\n\"Asmara\",\"Eritrea\",15.33236,38.92617\r\n\"Tallinn\",\"Estonia\",59.438862,24.754472\r\n\"Addis Ababa\",\"Ethiopia\",9.022736,38.746799\r\n\"Stanley\",\"Falkland Islands\",-51.700981,-57.84919\r\n\"Torshavn\",\"Faroe Islands\",62.017707,-6.771879\r\n\"Suva\",\"Fiji\",-18.1416,178.4419\r\n\"Helsinki\",\"Finland\",60.169813,24.93824\r\n\"Paris\",\"France\",48.856667,2.350987\r\n\"Cayenne\",\"French Guiana\",4.9227,-52.3269\r\n\"Papeete\",\"French Polynesia\",-17.535021,-149.569595\r\n\"Libreville\",\"Gabon\",0.390841,9.453644\r\n\"Banjul\",\"Gambia\",13.453056,-16.5775\r\n\"T'bilisi\",\"Georgia\",41.716667,44.783333\r\n\"Berlin\",\"Germany\",52.523405,13.4114\r\n\"Accra\",\"Ghana\",5.555717,-0.196306\r\n\"Athens\",\"Greece\",37.97918,23.716647\r\n\"Nuuk\",\"Greenland\",64.18362,-51.721407\r\n\"Basse-Terre\",\"Guadeloupe\",15.998503,-61.72202\r\n\"Guatemala\",\"Guatemala\",14.641389,-90.513056\r\n\"St. Peter Port\",\"Guernsey\",49.458858,-2.534752\r\n\"Conakry\",\"Guinea\",9.537029,-13.67847\r\n\"Bissau\",\"Guinea-Bissau\",11.866667,-15.6\r\n\"Georgetown\",\"Guyana\",6.804611,-58.154831\r\n\"Port-au-Prince\",\"Haiti\",18.539269,-72.336408\r\n\"Tegucigalpa\",\"Honduras\",14.082054,-87.206285\r\n\"Budapest\",\"Hungary\",47.498406,19.040758\r\n\"Reykjavik\",\"Iceland\",64.135338,-21.89521\r\n\"New Delhi\",\"India\",28.635308,77.22496\r\n\"Jakarta\",\"Indonesia\",-6.211544,106.845172\r\n\"Tehran\",\"Iran\",35.696216,51.422945\r\n\"Baghdad\",\"Iraq\",33.3157,44.3922\r\n\"Dublin\",\"Ireland\",53.344104,-6.267494\r\n\"Jerusalem\",\"Israel\",31.7857,35.2007\r\n\"Rome\",\"Italy\",41.895466,12.482324\r\n\"Kingston\",\"Jamaica\",17.992731,-76.792009\r\n\"St. Helier\",\"Jersey\",49.190278,-2.108611\r\n\"Amman\",\"Jordan\",31.956578,35.945695\r\n\"Astana\",\"Kazakhstan\",51.10,71.30\r\n\"Nairobi\",\"Kenya\",-01.17,36.48\r\n\"Tarawa\",\"Kiribati\",01.30,173.00\r\n\"Seoul\",\"South Korea\",37.31,126.58\r\n\"Kuwait City\",\"Kuwait\",29.30,48.00\r\n\"Bishkek\",\"Kyrgyzstan\",42.54,74.46\r\n\"Riga\",\"Latvia\",56.53,24.08\r\n\"Beirut\",\"Lebanon\",33.53,35.31\r\n\"Maseru\",\"Lesotho\",-29.18,27.30\r\n\"Monrovia\",\"Liberia\",06.18,-10.47\r\n\"Vaduz\",\"Liechtenstein\",47.08,09.31\r\n\"Vilnius\",\"Lithuania\",54.38,25.19\r\n\"Luxembourg\",\"Luxembourg\",49.37,06.09\r\n\"Antananarivo\",\"Madagascar\",-18.55,47.31\r\n\"Lilongwe\",\"Malawi\",-14.00,33.48\r\n\"Kuala Lumpur\",\"Malaysia\",03.09,101.41\r\n\"Male\",\"Maldives\",04.00,73.28\r\n\"Bamako\",\"Mali\",12.34,-07.55\r\n\"Valletta\",\"Malta\",35.54,14.31\r\n\"Fort-de-France\",\"Martinique\",14.36,-61.02\r\n\"Nouakchott\",\"Mauritania\",-20.10,57.30\r\n\"Mamoudzou\",\"Mayotte\",-12.48,45.14\r\n\"Mexico City\",\"Mexico\",19.20,-99.10\r\n\"Palikir\",\"Micronesia\",06.55,158.09\r\n\"Chisinau\",\"Moldova\",47.02,28.50\r\n\"Maputo\",\"Mozambique\",-25.58,32.32\r\n\"Yangon\",\"Myanmar\",16.45,96.20\r\n\"Windhoek\",\"Namibia\",-22.35,17.04\r\n\"Kathmandu\",\"Nepal\",27.45,85.20\r\n\"Amsterdam\",\"Netherlands\",52.23,04.54\r\n\"Willemstad\",\"Netherlands Antilles\",12.05,-69.00\r\n\"Noumea\",\"New Caledonia\",-22.17,166.30\r\n\"Wellington\",\"New Zealand\",-41.19,174.46\r\n\"Managua\",\"Nicaragua\",12.06,-86.20\r\n\"Niamey\",\"Niger\",13.27,02.06\r\n\"Abuja\",\"Nigeria\",09.05,07.32\r\n\"Kingston\",\"Norfolk Island\",-45.20,168.43\r\n\"Saipan\",\"Northern Mariana Islands\",15.12,145.45\r\n\"Oslo\",\"Norway\",59.55,10.45\r\n\"Masqat\",\"Oman\",23.37,58.36\r\n\"Islamabad\",\"Pakistan\",33.40,73.10\r\n\"Koror\",\"Palau\",07.20,134.28\r\n\"Panama City\",\"Panama\",09.00,-79.25\r\n\"Port Moresby\",\"Papua New Guinea\",-09.24,147.08\r\n\"Asuncion\",\"Paraguay\",-25.10,-57.30\r\n\"Lima\",\"Peru\",-12.00,-77.00\r\n\"Manila\",\"Philippines\",14.40,121.03\r\n\"Warsaw\",\"Poland\",52.13,21.00\r\n\"Lisbon\",\"Portugal\",38.42,-09.10\r\n\"San Juan\",\"Puerto Rico\",18.28,-66.07\r\n\"Doha\",\"Qatar\",25.15,51.35\r\n\"Bucuresti\",\"Romania\",44.27,26.10\r\n\"Moskva\",\"Russian Federation\",55.45,37.35\r\n\"Kigali\",\"Rawanda\",-01.59,30.04\r\n\"Basseterre\",\"Saint Kitts and Nevis\",17.17,-62.43\r\n\"Castries\",\"Saint Lucia\",14.02,-60.58\r\n\"Saint-Pierre\",\"Saint Pierre and Miquelon\",46.46,-56.12\r\n\"Apia\",\"Samoa\",-13.50,-171.50\r\n\"San Marino\",\"San Marino\",43.55,12.30\r\n\"Sao Tome\",\"Sao Tome and Principe\",00.10,06.39\r\n\"Riyadh\",\"Saudi Arabia\",24.41,46.42\r\n\"Dakar\",\"Senegal\",14.34,-17.29\r\n\"Freetown\",\"Sierra Leone\",08.30,-13.17\r\n\"Bratislava\",\"Slovakia\",48.10,17.07\r\n\"Ljubljana\",\"Slovenia\",46.04,14.33\r\n\"Honiara\",\"Solomon Islands\",-09.27,159.57\r\n\"Mogadishu\",\"Somalia\",02.02,45.25\r\n\"Pretoria\",\"South Africa\",-25.44,28.12\r\n\"Madrid\",\"Spain\",40.25,-03.45\r\n\"Khartoum\",\"Sudan\",15.31,32.35\r\n\"Paramaribo\",\"Suriname\",05.50,-55.10\r\n\"Mbabane\",\"Swaziland\",-26.18,31.06\r\n\"Stockholm\",\"Sweden\",59.20,18.03\r\n\"Bern\",\"Switzerland\",46.57,07.28\r\n\"Damascus\",\"Syrian Arab Republic\",33.30,36.18\r\n\"Dushanbe\",\"Tajikistan\",38.33,68.48\r\n\"Bangkok\",\"Thailand\",13.45,100.35\r\n\"Lome\",\"Togo\",06.09,01.20\r\n\"Nuku'alofa\",\"Tonga\",-21.10,-174.00\r\n\"Tunis\",\"Tunisia\",36.50,10.11\r\n\"Ankara\",\"Turkey\",39.57,32.54\r\n\"Ashgabat\",\"Turkmenistan\",38.00,57.50\r\n\"Funafuti\",\"Tuvalu\",-08.31,179.13\r\n\"Kampala\",\"Uganda\",00.20,32.30\r\n\"Kiev\",\"Ukraine\",50.30,30.28\r\n\"Abu Dhabi\",\"United Arab Emirates\",24.28,54.22\r\n\"London\",\"United Kingdom\",51.36,-00.05\r\n\"Dodoma\",\"Tanzania\",-06.08,35.45\r\n\"Washington DC\",\"United States of America\",39.91,-77.02\r\n\"Montevideo\",\"Uruguay\",-34.50,-56.11\r\n\"Tashkent\",\"Uzbekistan\",41.20,69.10\r\n\"Port-Vila\",\"Vanuatu\",-17.45,168.18\r\n\"Caracas\",\"Venezuela\",10.30,-66.55\r\n\"Hanoi\",\"Viet Nam\",21.05,105.55\r\n\"Belgrade\",\"Yugoslavia\",44.50,20.37\r\n\"Lusaka\",\"Zambia\",-15.28,28.16\r\n\"Harare\",\"Zimbabwe\",-17.43,31.02\r\n\"St. John's\",\"Antigua and Barbuda\",17.08,-61.50\r\n\"Porto Novo\",\"Benin\",06.30,02.47\r\n\"Hamilton\",\"Bermuda\"\",\"32.18,-64.48\r\n\"Avarua\",\"Cook Islands\",-21.12,-159.46\r\n\"St. George's\",\"Grenada\",12.04,-61.44\r\n\"Agaa\",\"Guam\",13.28,144.45\r\n\"Victoria\",\"Hong Kong\",22.16,114.13\r\n\"Tokyo\",\"Japan\",35.40,139.45\r\n\"Pyongyang\",\"North Korea\",39.00,125.47\r\n\"Vientiane\",\"Laos\",17.59,102.38\r\n\"Tripoli\",\"Libya\",32.54,013.11\r\n\"Skopje\",\"Macedonia\",42.00,021.28\r\n\"Majuro\",\"Marshall Islands\",07.05,171.08\r\n\"Port Louis\",\"Mauritius\",-20.10,57.30\r\n\"Monaco\",\"Monaco\",43.44,007.25\r\n\"Ulan Bator\",\"Mongolia\",47.54,106.52\r\n\"Plymouth\",\"Montserrat\",16.44,-62.14\r\n\"Rabat\",\"Morocco\",34.02,-06.51\r\n\"Alofi\",\"Niue\",-14.27,-178.05\r\n\"Saint-Denis\",\"Runion\",-20.52,55.27\r\n\"Victoria\",\"Seychelles\",-04.38,55.28\r\n\"Singapore\",\"Singapore\",01.18,103.50\r\n\"Colombo\",\"Sri Lanka\",06.55,79.52\r\n\"Kingstown\",\"St Vincent and the Grenadines\",13.12,-61.14\r\n\"Taipei\",\"Taiwan\",25.50,121.32\r\n\"Port-of-Spain\",\"Trinidad and Tobago\",10.38,-61.31\r\n\"Cockburn Harbour\",\"Turks and Caicos Islands\",21.30,-71.30\r\n\"Charlotte Amalie\",\"US Virgin Islands\",18.22,-64.56\r\n\"Vatican City\",\"Vatican State\",41.54,12.27\r\n\"Layoune\",\"Western Sahara\",27.10,-13.11\r\n\"San'a\",\"Yemen\",15.24,44.14\r\n"
  },
  {
    "path": "Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader01.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Reading WorkBook Data Example #01</title>\n\n</head>\n<body>\n\n<h1>PHPExcel Reading WorkBook Data Example #01</h1>\n<h2>Read the WorkBook Properties</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n$inputFileType = 'Excel5';\n$inputFileName = './sampleData/example1.xls';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n\n\necho '<hr />';\n\n/**  Read the document's creator property  **/\n$creator = $objPHPExcel->getProperties()->getCreator();\necho '<b>Document Creator: </b>',$creator,'<br />';\n\n/**  Read the Date when the workbook was created (as a PHP timestamp value)  **/\n$creationDatestamp = $objPHPExcel->getProperties()->getCreated();\n/**  Format the date and time using the standard PHP date() function  **/\n$creationDate = date('l, d<\\s\\up>S</\\s\\up> F Y',$creationDatestamp);\n$creationTime = date('g:i A',$creationDatestamp);\necho '<b>Created On: </b>',$creationDate,' at ',$creationTime,'<br />';\n\n/**  Read the name of the last person to modify this workbook  **/\n$modifiedBy = $objPHPExcel->getProperties()->getLastModifiedBy();\necho '<b>Last Modified By: </b>',$modifiedBy,'<br />';\n\n/**  Read the Date when the workbook was last modified (as a PHP timestamp value)  **/\n$modifiedDatestamp = $objPHPExcel->getProperties()->getModified();\n/**  Format the date and time using the standard PHP date() function  **/\n$modifiedDate = date('l, d<\\s\\up>S</\\s\\up> F Y',$modifiedDatestamp);\n$modifiedTime = date('g:i A',$modifiedDatestamp);\necho '<b>Last Modified On: </b>',$modifiedDate,' at ',$modifiedTime,'<br />';\n\n/**  Read the workbook title property  **/\n$workbookTitle = $objPHPExcel->getProperties()->getTitle();\necho '<b>Title: </b>',$workbookTitle,'<br />';\n\n/**  Read the workbook description property  **/\n$description = $objPHPExcel->getProperties()->getDescription();\necho '<b>Description: </b>',$description,'<br />';\n\n/**  Read the workbook subject property  **/\n$subject = $objPHPExcel->getProperties()->getSubject();\necho '<b>Subject: </b>',$subject,'<br />';\n\n/**  Read the workbook keywords property  **/\n$keywords = $objPHPExcel->getProperties()->getKeywords();\necho '<b>Keywords: </b>',$keywords,'<br />';\n\n/**  Read the workbook category property  **/\n$category = $objPHPExcel->getProperties()->getCategory();\necho '<b>Category: </b>',$category,'<br />';\n\n/**  Read the workbook company property  **/\n$company = $objPHPExcel->getProperties()->getCompany();\necho '<b>Company: </b>',$company,'<br />';\n\n/**  Read the workbook manager property  **/\n$manager = $objPHPExcel->getProperties()->getManager();\necho '<b>Manager: </b>',$manager,'<br />';\n\n\n?>\n<body>\n</html>\n"
  },
  {
    "path": "Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader02.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Reading WorkBook Data Example #02</title>\n\n</head>\n<body>\n\n<h1>PHPExcel Reading WorkBook Data Example #02</h1>\n<h2>Read a list of Custom Properties for a WorkBook</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n$inputFileType = 'Excel2007';\n$inputFileName = './sampleData/example1.xlsx';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n\n\necho '<hr />';\n\n/**  Read an array list of any custom properties for this document  **/\n$customPropertyList = $objPHPExcel->getProperties()->getCustomProperties();\n\necho '<b>Custom Property names: </b><br />';\nforeach($customPropertyList as $customPropertyName) {\n\techo $customPropertyName,'<br />';\n}\n\n\n\n?>\n<body>\n</html>\n"
  },
  {
    "path": "Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader03.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Reading WorkBook Data Example #03</title>\n\n</head>\n<body>\n\n<h1>PHPExcel Reading WorkBook Data Example #03</h1>\n<h2>Read Custom Property Values for a WorkBook</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n$inputFileType = 'Excel2007';\n$inputFileName = './sampleData/example1.xlsx';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n\n\necho '<hr />';\n\n/**  Read an array list of any custom properties for this document  **/\n$customPropertyList = $objPHPExcel->getProperties()->getCustomProperties();\n\necho '<b>Custom Properties: </b><br />';\n/**  Loop through the list of custom properties  **/\nforeach($customPropertyList as $customPropertyName) {\n\techo '<b>',$customPropertyName,': </b>';\n\t/**  Retrieve the property value  **/\n\t$propertyValue = $objPHPExcel->getProperties()->getCustomPropertyValue($customPropertyName);\n\t/**  Retrieve the property type  **/\n\t$propertyType = $objPHPExcel->getProperties()->getCustomPropertyType($customPropertyName);\n\n\t/**  Manipulate properties as appropriate for display purposes  **/\n\tswitch($propertyType) {\n\t\tcase 'i' :\t//\tinteger\n\t\t\t$propertyType = 'integer number';\n\t\t\tbreak;\n\t\tcase 'f' :\t//\tfloat\n\t\t\t$propertyType = 'floating point number';\n\t\t\tbreak;\n\t\tcase 's' :\t//\tstring\n\t\t\t$propertyType = 'string';\n\t\t\tbreak;\n\t\tcase 'd' :\t//\tdate\n\t\t\t$propertyValue = date('l, d<\\s\\up>S</\\s\\up> F Y g:i A',$propertyValue);\n\t\t\t$propertyType = 'date';\n\t\t\tbreak;\n\t\tcase 'b' :\t//\tboolean\n\t\t\t$propertyValue = ($propertyValue) ? 'TRUE' : 'FALSE';\n\t\t\t$propertyType = 'boolean';\n\t\t\tbreak;\n\t}\n\n\techo $propertyValue,' (',$propertyType,')<br />';\n}\n\n\n\n?>\n<body>\n</html>\n"
  },
  {
    "path": "Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader04.php",
    "content": "<?php\n\nerror_reporting(E_ALL);\nset_time_limit(0);\n\ndate_default_timezone_set('Europe/London');\n\n?>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n\n<title>PHPExcel Reading WorkBook Data Example #04</title>\n\n</head>\n<body>\n\n<h1>PHPExcel Reading WorkBook Data Example #04</h1>\n<h2>Get a List of the Worksheets in a WorkBook</h2>\n<?php\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n$inputFileType = 'Excel5';\n$inputFileName = './sampleData/example2.xls';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n\n\necho '<hr />';\n\necho 'Reading the number of Worksheets in the WorkBook<br />';\n/**  Use the PHPExcel object's getSheetCount() method to get a count of the number of WorkSheets in the WorkBook  */\n$sheetCount = $objPHPExcel->getSheetCount();\necho 'There ',(($sheetCount == 1) ? 'is' : 'are'),' ',$sheetCount,' WorkSheet',(($sheetCount == 1) ? '' : 's'),' in the WorkBook<br /><br />';\n\necho 'Reading the names of Worksheets in the WorkBook<br />';\n/**  Use the PHPExcel object's getSheetNames() method to get an array listing the names/titles of the WorkSheets in the WorkBook  */\n$sheetNames = $objPHPExcel->getSheetNames();\nforeach($sheetNames as $sheetIndex => $sheetName) {\n\techo 'WorkSheet #',$sheetIndex,' is named \"',$sheetName,'\"<br />';\n}\n\n\n?>\n<body>\n</html>\n"
  },
  {
    "path": "Documentation/Examples/index.php",
    "content": "<?php\r\n\r\nerror_reporting(E_ALL);\r\nset_time_limit(0);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n?>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n\r\n<title>PHPExcel Examples</title>\r\n\r\n</head>\r\n<body>\r\n\r\n<?php\r\n\r\n$exampleTypeList = glob('./*',GLOB_ONLYDIR);\r\n\r\nforeach($exampleTypeList as $exampleType) {\r\n\r\n\techo '<h1>PHPExcel ' . pathinfo($exampleType,PATHINFO_BASENAME) . ' Examples</h1>';\r\n\r\n\t$exampleList = glob('./'.$exampleType.'/*.php');\r\n\r\n\tforeach($exampleList as $exampleFile) {\r\n\t\t$fileData = file_get_contents($exampleFile);\r\n\r\n\t\t$h1Pattern = '#<h1>(.*?)</h1>#';\r\n\t\t$h2Pattern = '#<h2>(.*?)</h2>#';\r\n\r\n\t\tif (preg_match($h1Pattern, $fileData, $out)) {\r\n\t\t\t$h1Text = $out[1];\r\n\t\t\t$h2Text = (preg_match($h2Pattern, $fileData, $out)) ? $out[1] : '';\r\n\r\n\t\t\techo '<a href=\"',$exampleFile,'\">',$h1Text,'</a><br />';\r\n\t\t\tif (($h2Text > '') &&\r\n\t\t\t\t(pathinfo($exampleType,PATHINFO_BASENAME) != 'Calculations')) {\r\n\t\t\t\techo $h2Text,'<br />';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n}\r\n\r\n?>\r\n<body>\r\n</html>"
  },
  {
    "path": "Documentation/FunctionListByCategory.txt",
    "content": "CATEGORY_CUBE\n\tCUBEKPIMEMBER           ***  Not yet Implemented\n\tCUBEMEMBER              ***  Not yet Implemented\n\tCUBEMEMBERPROPERTY      ***  Not yet Implemented\n\tCUBERANKEDMEMBER        ***  Not yet Implemented\n\tCUBESET                 ***  Not yet Implemented\n\tCUBESETCOUNT            ***  Not yet Implemented\n\tCUBEVALUE               ***  Not yet Implemented\n\nCATEGORY_DATABASE\n\tDAVERAGE                PHPExcel_Calculation_Database::DAVERAGE\n\tDCOUNT                  PHPExcel_Calculation_Database::DCOUNT\n\tDCOUNTA                 PHPExcel_Calculation_Database::DCOUNTA\n\tDGET                    PHPExcel_Calculation_Database::DGET\n\tDMAX                    PHPExcel_Calculation_Database::DMAX\n\tDMIN                    PHPExcel_Calculation_Database::DMIN\n\tDPRODUCT                PHPExcel_Calculation_Database::DPRODUCT\n\tDSTDEV                  PHPExcel_Calculation_Database::DSTDEV\n\tDSTDEVP                 PHPExcel_Calculation_Database::DSTDEVP\n\tDSUM                    PHPExcel_Calculation_Database::DSUM\n\tDVAR                    PHPExcel_Calculation_Database::DVAR\n\tDVARP                   PHPExcel_Calculation_Database::DVARP\n\nCATEGORY_DATE_AND_TIME\n\tDATE                    PHPExcel_Calculation_DateTime::DATE\n\tDATEDIF                 PHPExcel_Calculation_DateTime::DATEDIF\n\tDATEVALUE               PHPExcel_Calculation_DateTime::DATEVALUE\n\tDAY                     PHPExcel_Calculation_DateTime::DAYOFMONTH\n\tDAYS360                 PHPExcel_Calculation_DateTime::DAYS360\n\tEDATE                   PHPExcel_Calculation_DateTime::EDATE\n\tEOMONTH                 PHPExcel_Calculation_DateTime::EOMONTH\n\tHOUR                    PHPExcel_Calculation_DateTime::HOUROFDAY\n\tMINUTE                  PHPExcel_Calculation_DateTime::MINUTEOFHOUR\n\tMONTH                   PHPExcel_Calculation_DateTime::MONTHOFYEAR\n\tNETWORKDAYS             PHPExcel_Calculation_DateTime::NETWORKDAYS\n\tNOW                     PHPExcel_Calculation_DateTime::DATETIMENOW\n\tSECOND                  PHPExcel_Calculation_DateTime::SECONDOFMINUTE\n\tTIME                    PHPExcel_Calculation_DateTime::TIME\n\tTIMEVALUE               PHPExcel_Calculation_DateTime::TIMEVALUE\n\tTODAY                   PHPExcel_Calculation_DateTime::DATENOW\n\tWEEKDAY                 PHPExcel_Calculation_DateTime::DAYOFWEEK\n\tWEEKNUM                 PHPExcel_Calculation_DateTime::WEEKOFYEAR\n\tWORKDAY                 PHPExcel_Calculation_DateTime::WORKDAY\n\tYEAR                    PHPExcel_Calculation_DateTime::YEAR\n\tYEARFRAC                PHPExcel_Calculation_DateTime::YEARFRAC\n\nCATEGORY_ENGINEERING\n\tBESSELI                 PHPExcel_Calculation_Engineering::BESSELI\n\tBESSELJ                 PHPExcel_Calculation_Engineering::BESSELJ\n\tBESSELK                 PHPExcel_Calculation_Engineering::BESSELK\n\tBESSELY                 PHPExcel_Calculation_Engineering::BESSELY\n\tBIN2DEC                 PHPExcel_Calculation_Engineering::BINTODEC\n\tBIN2HEX                 PHPExcel_Calculation_Engineering::BINTOHEX\n\tBIN2OCT                 PHPExcel_Calculation_Engineering::BINTOOCT\n\tCOMPLEX                 PHPExcel_Calculation_Engineering::COMPLEX\n\tCONVERT                 PHPExcel_Calculation_Engineering::CONVERTUOM\n\tDEC2BIN                 PHPExcel_Calculation_Engineering::DECTOBIN\n\tDEC2HEX                 PHPExcel_Calculation_Engineering::DECTOHEX\n\tDEC2OCT                 PHPExcel_Calculation_Engineering::DECTOOCT\n\tDELTA                   PHPExcel_Calculation_Engineering::DELTA\n\tERF                     PHPExcel_Calculation_Engineering::ERF\n\tERFC                    PHPExcel_Calculation_Engineering::ERFC\n\tGESTEP                  PHPExcel_Calculation_Engineering::GESTEP\n\tHEX2BIN                 PHPExcel_Calculation_Engineering::HEXTOBIN\n\tHEX2DEC                 PHPExcel_Calculation_Engineering::HEXTODEC\n\tHEX2OCT                 PHPExcel_Calculation_Engineering::HEXTOOCT\n\tIMABS                   PHPExcel_Calculation_Engineering::IMABS\n\tIMAGINARY               PHPExcel_Calculation_Engineering::IMAGINARY\n\tIMARGUMENT              PHPExcel_Calculation_Engineering::IMARGUMENT\n\tIMCONJUGATE             PHPExcel_Calculation_Engineering::IMCONJUGATE\n\tIMCOS                   PHPExcel_Calculation_Engineering::IMCOS\n\tIMDIV                   PHPExcel_Calculation_Engineering::IMDIV\n\tIMEXP                   PHPExcel_Calculation_Engineering::IMEXP\n\tIMLN                    PHPExcel_Calculation_Engineering::IMLN\n\tIMLOG10                 PHPExcel_Calculation_Engineering::IMLOG10\n\tIMLOG2                  PHPExcel_Calculation_Engineering::IMLOG2\n\tIMPOWER                 PHPExcel_Calculation_Engineering::IMPOWER\n\tIMPRODUCT               PHPExcel_Calculation_Engineering::IMPRODUCT\n\tIMREAL                  PHPExcel_Calculation_Engineering::IMREAL\n\tIMSIN                   PHPExcel_Calculation_Engineering::IMSIN\n\tIMSQRT                  PHPExcel_Calculation_Engineering::IMSQRT\n\tIMSUB                   PHPExcel_Calculation_Engineering::IMSUB\n\tIMSUM                   PHPExcel_Calculation_Engineering::IMSUM\n\tOCT2BIN                 PHPExcel_Calculation_Engineering::OCTTOBIN\n\tOCT2DEC                 PHPExcel_Calculation_Engineering::OCTTODEC\n\tOCT2HEX                 PHPExcel_Calculation_Engineering::OCTTOHEX\n\nCATEGORY_FINANCIAL\n\tACCRINT                 PHPExcel_Calculation_Financial::ACCRINT\n\tACCRINTM                PHPExcel_Calculation_Financial::ACCRINTM\n\tAMORDEGRC               PHPExcel_Calculation_Financial::AMORDEGRC\n\tAMORLINC                PHPExcel_Calculation_Financial::AMORLINC\n\tCOUPDAYBS               PHPExcel_Calculation_Financial::COUPDAYBS\n\tCOUPDAYS                PHPExcel_Calculation_Financial::COUPDAYS\n\tCOUPDAYSNC              PHPExcel_Calculation_Financial::COUPDAYSNC\n\tCOUPNCD                 PHPExcel_Calculation_Financial::COUPNCD\n\tCOUPNUM                 PHPExcel_Calculation_Financial::COUPNUM\n\tCOUPPCD                 PHPExcel_Calculation_Financial::COUPPCD\n\tCUMIPMT                 PHPExcel_Calculation_Financial::CUMIPMT\n\tCUMPRINC                PHPExcel_Calculation_Financial::CUMPRINC\n\tDB                      PHPExcel_Calculation_Financial::DB\n\tDDB                     PHPExcel_Calculation_Financial::DDB\n\tDISC                    PHPExcel_Calculation_Financial::DISC\n\tDOLLARDE                PHPExcel_Calculation_Financial::DOLLARDE\n\tDOLLARFR                PHPExcel_Calculation_Financial::DOLLARFR\n\tDURATION                ***  Not yet Implemented\n\tEFFECT                  PHPExcel_Calculation_Financial::EFFECT\n\tFV                      PHPExcel_Calculation_Financial::FV\n\tFVSCHEDULE              PHPExcel_Calculation_Financial::FVSCHEDULE\n\tINTRATE                 PHPExcel_Calculation_Financial::INTRATE\n\tIPMT                    PHPExcel_Calculation_Financial::IPMT\n\tIRR                     PHPExcel_Calculation_Financial::IRR\n\tISPMT                   PHPExcel_Calculation_Financial::ISPMT\n\tMDURATION               ***  Not yet Implemented\n\tMIRR                    PHPExcel_Calculation_Financial::MIRR\n\tNOMINAL                 PHPExcel_Calculation_Financial::NOMINAL\n\tNPER                    PHPExcel_Calculation_Financial::NPER\n\tNPV                     PHPExcel_Calculation_Financial::NPV\n\tODDFPRICE               ***  Not yet Implemented\n\tODDFYIELD               ***  Not yet Implemented\n\tODDLPRICE               ***  Not yet Implemented\n\tODDLYIELD               ***  Not yet Implemented\n\tPMT                     PHPExcel_Calculation_Financial::PMT\n\tPPMT                    PHPExcel_Calculation_Financial::PPMT\n\tPRICE                   PHPExcel_Calculation_Financial::PRICE\n\tPRICEDISC               PHPExcel_Calculation_Financial::PRICEDISC\n\tPRICEMAT                PHPExcel_Calculation_Financial::PRICEMAT\n\tPV                      PHPExcel_Calculation_Financial::PV\n\tRATE                    PHPExcel_Calculation_Financial::RATE\n\tRECEIVED                PHPExcel_Calculation_Financial::RECEIVED\n\tSLN                     PHPExcel_Calculation_Financial::SLN\n\tSYD                     PHPExcel_Calculation_Financial::SYD\n\tTBILLEQ                 PHPExcel_Calculation_Financial::TBILLEQ\n\tTBILLPRICE              PHPExcel_Calculation_Financial::TBILLPRICE\n\tTBILLYIELD              PHPExcel_Calculation_Financial::TBILLYIELD\n\tUSDOLLAR                ***  Not yet Implemented\n\tVDB                     ***  Not yet Implemented\n\tXIRR                    PHPExcel_Calculation_Financial::XIRR\n\tXNPV                    PHPExcel_Calculation_Financial::XNPV\n\tYIELD                   ***  Not yet Implemented\n\tYIELDDISC               PHPExcel_Calculation_Financial::YIELDDISC\n\tYIELDMAT                PHPExcel_Calculation_Financial::YIELDMAT\n\nCATEGORY_INFORMATION\n\tCELL                    ***  Not yet Implemented\n\tERROR.TYPE              PHPExcel_Calculation_Functions::ERROR_TYPE\n\tINFO                    ***  Not yet Implemented\n\tISBLANK                 PHPExcel_Calculation_Functions::IS_BLANK\n\tISERR                   PHPExcel_Calculation_Functions::IS_ERR\n\tISERROR                 PHPExcel_Calculation_Functions::IS_ERROR\n\tISEVEN                  PHPExcel_Calculation_Functions::IS_EVEN\n\tISLOGICAL               PHPExcel_Calculation_Functions::IS_LOGICAL\n\tISNA                    PHPExcel_Calculation_Functions::IS_NA\n\tISNONTEXT               PHPExcel_Calculation_Functions::IS_NONTEXT\n\tISNUMBER                PHPExcel_Calculation_Functions::IS_NUMBER\n\tISODD                   PHPExcel_Calculation_Functions::IS_ODD\n\tISREF                   ***  Not yet Implemented\n\tISTEXT                  PHPExcel_Calculation_Functions::IS_TEXT\n\tN                       PHPExcel_Calculation_Functions::N\n\tNA                      PHPExcel_Calculation_Functions::NA\n\tTYPE                    PHPExcel_Calculation_Functions::TYPE\n\tVERSION                 PHPExcel_Calculation_Functions::VERSION\n\nCATEGORY_LOGICAL\n\tAND                     PHPExcel_Calculation_Logical::LOGICAL_AND\n\tFALSE                   PHPExcel_Calculation_Logical::FALSE\n\tIF                      PHPExcel_Calculation_Logical::STATEMENT_IF\n\tIFERROR                 PHPExcel_Calculation_Logical::IFERROR\n\tNOT                     PHPExcel_Calculation_Logical::NOT\n\tOR                      PHPExcel_Calculation_Logical::LOGICAL_OR\n\tTRUE                    PHPExcel_Calculation_Logical::TRUE\n\nCATEGORY_LOOKUP_AND_REFERENCE\n\tADDRESS                 PHPExcel_Calculation_LookupRef::CELL_ADDRESS\n\tAREAS                   ***  Not yet Implemented\n\tCHOOSE                  PHPExcel_Calculation_LookupRef::CHOOSE\n\tCOLUMN                  PHPExcel_Calculation_LookupRef::COLUMN\n\tCOLUMNS                 PHPExcel_Calculation_LookupRef::COLUMNS\n\tGETPIVOTDATA            ***  Not yet Implemented\n\tHLOOKUP                 PHPExcel_Calculation_LookupRef::HLOOKUP\n\tHYPERLINK               PHPExcel_Calculation_LookupRef::HYPERLINK\n\tINDEX                   PHPExcel_Calculation_LookupRef::INDEX\n\tINDIRECT                PHPExcel_Calculation_LookupRef::INDIRECT\n\tLOOKUP                  PHPExcel_Calculation_LookupRef::LOOKUP\n\tMATCH                   PHPExcel_Calculation_LookupRef::MATCH\n\tOFFSET                  PHPExcel_Calculation_LookupRef::OFFSET\n\tROW                     PHPExcel_Calculation_LookupRef::ROW\n\tROWS                    PHPExcel_Calculation_LookupRef::ROWS\n\tRTD                     ***  Not yet Implemented\n\tTRANSPOSE               PHPExcel_Calculation_LookupRef::TRANSPOSE\n\tVLOOKUP                 PHPExcel_Calculation_LookupRef::VLOOKUP\n\nCATEGORY_MATH_AND_TRIG\n\tABS                     abs\n\tACOS                    acos\n\tACOSH                   acosh\n\tASIN                    asin\n\tASINH                   asinh\n\tATAN                    atan\n\tATAN2                   PHPExcel_Calculation_MathTrig::REVERSE_ATAN2\n\tATANH                   atanh\n\tCEILING                 PHPExcel_Calculation_MathTrig::CEILING\n\tCOMBIN                  PHPExcel_Calculation_MathTrig::COMBIN\n\tCOS                     cos\n\tCOSH                    cosh\n\tDEGREES                 rad2deg\n\tEVEN                    PHPExcel_Calculation_MathTrig::EVEN\n\tEXP                     exp\n\tFACT                    PHPExcel_Calculation_MathTrig::FACT\n\tFACTDOUBLE              PHPExcel_Calculation_MathTrig::FACTDOUBLE\n\tFLOOR                   PHPExcel_Calculation_MathTrig::FLOOR\n\tGCD                     PHPExcel_Calculation_MathTrig::GCD\n\tINT                     PHPExcel_Calculation_MathTrig::INT\n\tLCM                     PHPExcel_Calculation_MathTrig::LCM\n\tLN                      log\n\tLOG                     PHPExcel_Calculation_MathTrig::LOG_BASE\n\tLOG10                   log10\n\tMDETERM                 PHPExcel_Calculation_MathTrig::MDETERM\n\tMINVERSE                PHPExcel_Calculation_MathTrig::MINVERSE\n\tMMULT                   PHPExcel_Calculation_MathTrig::MMULT\n\tMOD                     PHPExcel_Calculation_MathTrig::MOD\n\tMROUND                  PHPExcel_Calculation_MathTrig::MROUND\n\tMULTINOMIAL             PHPExcel_Calculation_MathTrig::MULTINOMIAL\n\tODD                     PHPExcel_Calculation_MathTrig::ODD\n\tPI                      pi\n\tPOWER                   PHPExcel_Calculation_MathTrig::POWER\n\tPRODUCT                 PHPExcel_Calculation_MathTrig::PRODUCT\n\tQUOTIENT                PHPExcel_Calculation_MathTrig::QUOTIENT\n\tRADIANS                 deg2rad\n\tRAND                    PHPExcel_Calculation_MathTrig::RAND\n\tRANDBETWEEN             PHPExcel_Calculation_MathTrig::RAND\n\tROMAN                   PHPExcel_Calculation_MathTrig::ROMAN\n\tROUND                   round\n\tROUNDDOWN               PHPExcel_Calculation_MathTrig::ROUNDDOWN\n\tROUNDUP                 PHPExcel_Calculation_MathTrig::ROUNDUP\n\tSERIESSUM               PHPExcel_Calculation_MathTrig::SERIESSUM\n\tSIGN                    PHPExcel_Calculation_MathTrig::SIGN\n\tSIN                     sin\n\tSINH                    sinh\n\tSQRT                    sqrt\n\tSQRTPI                  PHPExcel_Calculation_MathTrig::SQRTPI\n\tSUBTOTAL                PHPExcel_Calculation_MathTrig::SUBTOTAL\n\tSUM                     PHPExcel_Calculation_MathTrig::SUM\n\tSUMIF                   PHPExcel_Calculation_MathTrig::SUMIF\n\tSUMIFS                  ***  Not yet Implemented\n\tSUMPRODUCT              PHPExcel_Calculation_MathTrig::SUMPRODUCT\n\tSUMSQ                   PHPExcel_Calculation_MathTrig::SUMSQ\n\tSUMX2MY2                PHPExcel_Calculation_MathTrig::SUMX2MY2\n\tSUMX2PY2                PHPExcel_Calculation_MathTrig::SUMX2PY2\n\tSUMXMY2                 PHPExcel_Calculation_MathTrig::SUMXMY2\n\tTAN                     tan\n\tTANH                    tanh\n\tTRUNC                   PHPExcel_Calculation_MathTrig::TRUNC\n\nCATEGORY_STATISTICAL\n\tAVEDEV                  PHPExcel_Calculation_Statistical::AVEDEV\n\tAVERAGE                 PHPExcel_Calculation_Statistical::AVERAGE\n\tAVERAGEA                PHPExcel_Calculation_Statistical::AVERAGEA\n\tAVERAGEIF               PHPExcel_Calculation_Statistical::AVERAGEIF\n\tAVERAGEIFS              ***  Not yet Implemented\n\tBETADIST                PHPExcel_Calculation_Statistical::BETADIST\n\tBETAINV                 PHPExcel_Calculation_Statistical::BETAINV\n\tBINOMDIST               PHPExcel_Calculation_Statistical::BINOMDIST\n\tCHIDIST                 PHPExcel_Calculation_Statistical::CHIDIST\n\tCHIINV                  PHPExcel_Calculation_Statistical::CHIINV\n\tCHITEST                 ***  Not yet Implemented\n\tCONFIDENCE              PHPExcel_Calculation_Statistical::CONFIDENCE\n\tCORREL                  PHPExcel_Calculation_Statistical::CORREL\n\tCOUNT                   PHPExcel_Calculation_Statistical::COUNT\n\tCOUNTA                  PHPExcel_Calculation_Statistical::COUNTA\n\tCOUNTBLANK              PHPExcel_Calculation_Statistical::COUNTBLANK\n\tCOUNTIF                 PHPExcel_Calculation_Statistical::COUNTIF\n\tCOUNTIFS                ***  Not yet Implemented\n\tCOVAR                   PHPExcel_Calculation_Statistical::COVAR\n\tCRITBINOM               PHPExcel_Calculation_Statistical::CRITBINOM\n\tDEVSQ                   PHPExcel_Calculation_Statistical::DEVSQ\n\tEXPONDIST               PHPExcel_Calculation_Statistical::EXPONDIST\n\tFDIST                   ***  Not yet Implemented\n\tFINV                    ***  Not yet Implemented\n\tFISHER                  PHPExcel_Calculation_Statistical::FISHER\n\tFISHERINV               PHPExcel_Calculation_Statistical::FISHERINV\n\tFORECAST                PHPExcel_Calculation_Statistical::FORECAST\n\tFREQUENCY               ***  Not yet Implemented\n\tFTEST                   ***  Not yet Implemented\n\tGAMMADIST               PHPExcel_Calculation_Statistical::GAMMADIST\n\tGAMMAINV                PHPExcel_Calculation_Statistical::GAMMAINV\n\tGAMMALN                 PHPExcel_Calculation_Statistical::GAMMALN\n\tGEOMEAN                 PHPExcel_Calculation_Statistical::GEOMEAN\n\tGROWTH                  PHPExcel_Calculation_Statistical::GROWTH\n\tHARMEAN                 PHPExcel_Calculation_Statistical::HARMEAN\n\tHYPGEOMDIST             PHPExcel_Calculation_Statistical::HYPGEOMDIST\n\tINTERCEPT               PHPExcel_Calculation_Statistical::INTERCEPT\n\tKURT                    PHPExcel_Calculation_Statistical::KURT\n\tLARGE                   PHPExcel_Calculation_Statistical::LARGE\n\tLINEST                  PHPExcel_Calculation_Statistical::LINEST\n\tLOGEST                  PHPExcel_Calculation_Statistical::LOGEST\n\tLOGINV                  PHPExcel_Calculation_Statistical::LOGINV\n\tLOGNORMDIST             PHPExcel_Calculation_Statistical::LOGNORMDIST\n\tMAX                     PHPExcel_Calculation_Statistical::MAX\n\tMAXA                    PHPExcel_Calculation_Statistical::MAXA\n\tMAXIF                   PHPExcel_Calculation_Statistical::MAXIF\n\tMEDIAN                  PHPExcel_Calculation_Statistical::MEDIAN\n\tMEDIANIF                ***  Not yet Implemented\n\tMIN                     PHPExcel_Calculation_Statistical::MIN\n\tMINA                    PHPExcel_Calculation_Statistical::MINA\n\tMINIF                   PHPExcel_Calculation_Statistical::MINIF\n\tMODE                    PHPExcel_Calculation_Statistical::MODE\n\tNEGBINOMDIST            PHPExcel_Calculation_Statistical::NEGBINOMDIST\n\tNORMDIST                PHPExcel_Calculation_Statistical::NORMDIST\n\tNORMINV                 PHPExcel_Calculation_Statistical::NORMINV\n\tNORMSDIST               PHPExcel_Calculation_Statistical::NORMSDIST\n\tNORMSINV                PHPExcel_Calculation_Statistical::NORMSINV\n\tPEARSON                 PHPExcel_Calculation_Statistical::CORREL\n\tPERCENTILE              PHPExcel_Calculation_Statistical::PERCENTILE\n\tPERCENTRANK             PHPExcel_Calculation_Statistical::PERCENTRANK\n\tPERMUT                  PHPExcel_Calculation_Statistical::PERMUT\n\tPOISSON                 PHPExcel_Calculation_Statistical::POISSON\n\tPROB                    ***  Not yet Implemented\n\tQUARTILE                PHPExcel_Calculation_Statistical::QUARTILE\n\tRANK                    PHPExcel_Calculation_Statistical::RANK\n\tRSQ                     PHPExcel_Calculation_Statistical::RSQ\n\tSKEW                    PHPExcel_Calculation_Statistical::SKEW\n\tSLOPE                   PHPExcel_Calculation_Statistical::SLOPE\n\tSMALL                   PHPExcel_Calculation_Statistical::SMALL\n\tSTANDARDIZE             PHPExcel_Calculation_Statistical::STANDARDIZE\n\tSTDEV                   PHPExcel_Calculation_Statistical::STDEV\n\tSTDEVA                  PHPExcel_Calculation_Statistical::STDEVA\n\tSTDEVP                  PHPExcel_Calculation_Statistical::STDEVP\n\tSTDEVPA                 PHPExcel_Calculation_Statistical::STDEVPA\n\tSTEYX                   PHPExcel_Calculation_Statistical::STEYX\n\tTDIST                   PHPExcel_Calculation_Statistical::TDIST\n\tTINV                    PHPExcel_Calculation_Statistical::TINV\n\tTREND                   PHPExcel_Calculation_Statistical::TREND\n\tTRIMMEAN                PHPExcel_Calculation_Statistical::TRIMMEAN\n\tTTEST                   ***  Not yet Implemented\n\tVAR                     PHPExcel_Calculation_Statistical::VARFunc\n\tVARA                    PHPExcel_Calculation_Statistical::VARA\n\tVARP                    PHPExcel_Calculation_Statistical::VARP\n\tVARPA                   PHPExcel_Calculation_Statistical::VARPA\n\tWEIBULL                 PHPExcel_Calculation_Statistical::WEIBULL\n\tZTEST                   PHPExcel_Calculation_Statistical::ZTEST\n\nCATEGORY_TEXT_AND_DATA\n\tASC                     ***  Not yet Implemented\n\tBAHTTEXT                ***  Not yet Implemented\n\tCHAR                    PHPExcel_Calculation_TextData::CHARACTER\n\tCLEAN                   PHPExcel_Calculation_TextData::TRIMNONPRINTABLE\n\tCODE                    PHPExcel_Calculation_TextData::ASCIICODE\n\tCONCATENATE             PHPExcel_Calculation_TextData::CONCATENATE\n\tDOLLAR                  PHPExcel_Calculation_TextData::DOLLAR\n\tEXACT                   ***  Not yet Implemented\n\tFIND                    PHPExcel_Calculation_TextData::SEARCHSENSITIVE\n\tFINDB                   PHPExcel_Calculation_TextData::SEARCHSENSITIVE\n\tFIXED                   PHPExcel_Calculation_TextData::FIXEDFORMAT\n\tJIS                     ***  Not yet Implemented\n\tLEFT                    PHPExcel_Calculation_TextData::LEFT\n\tLEFTB                   PHPExcel_Calculation_TextData::LEFT\n\tLEN                     PHPExcel_Calculation_TextData::STRINGLENGTH\n\tLENB                    PHPExcel_Calculation_TextData::STRINGLENGTH\n\tLOWER                   PHPExcel_Calculation_TextData::LOWERCASE\n\tMID                     PHPExcel_Calculation_TextData::MID\n\tMIDB                    PHPExcel_Calculation_TextData::MID\n\tPHONETIC                ***  Not yet Implemented\n\tPROPER                  PHPExcel_Calculation_TextData::PROPERCASE\n\tREPLACE                 PHPExcel_Calculation_TextData::REPLACE\n\tREPLACEB                PHPExcel_Calculation_TextData::REPLACE\n\tREPT                    str_repeat\n\tRIGHT                   PHPExcel_Calculation_TextData::RIGHT\n\tRIGHTB                  PHPExcel_Calculation_TextData::RIGHT\n\tSEARCH                  PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\n\tSEARCHB                 PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\n\tSUBSTITUTE              PHPExcel_Calculation_TextData::SUBSTITUTE\n\tT                       PHPExcel_Calculation_TextData::RETURNSTRING\n\tTEXT                    PHPExcel_Calculation_TextData::TEXTFORMAT\n\tTRIM                    PHPExcel_Calculation_TextData::TRIMSPACES\n\tUPPER                   PHPExcel_Calculation_TextData::UPPERCASE\n\tVALUE                   PHPExcel_Calculation_TextData::VALUE\n"
  },
  {
    "path": "Documentation/FunctionListByName.txt",
    "content": "ABS                     CATEGORY_MATH_AND_TRIG          abs\nACCRINT                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::ACCRINT\nACCRINTM                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::ACCRINTM\nACOS                    CATEGORY_MATH_AND_TRIG          acos\nACOSH                   CATEGORY_MATH_AND_TRIG          acosh\nADDRESS                 CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::CELL_ADDRESS\nAMORDEGRC               CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::AMORDEGRC\nAMORLINC                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::AMORLINC\nAND                     CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::LOGICAL_AND\nAREAS                   CATEGORY_LOOKUP_AND_REFERENCE   ***  Not yet Implemented\nASC                     CATEGORY_TEXT_AND_DATA          ***  Not yet Implemented\nASIN                    CATEGORY_MATH_AND_TRIG          asin\nASINH                   CATEGORY_MATH_AND_TRIG          asinh\nATAN                    CATEGORY_MATH_AND_TRIG          atan\nATAN2                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::REVERSE_ATAN2\nATANH                   CATEGORY_MATH_AND_TRIG          atanh\nAVEDEV                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::AVEDEV\nAVERAGE                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::AVERAGE\nAVERAGEA                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::AVERAGEA\nAVERAGEIF               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::AVERAGEIF\nAVERAGEIFS              CATEGORY_STATISTICAL            ***  Not yet Implemented\n\nBAHTTEXT                CATEGORY_TEXT_AND_DATA          ***  Not yet Implemented\nBESSELI                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BESSELI\nBESSELJ                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BESSELJ\nBESSELK                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BESSELK\nBESSELY                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BESSELY\nBETADIST                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::BETADIST\nBETAINV                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::BETAINV\nBIN2DEC                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BINTODEC\nBIN2HEX                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BINTOHEX\nBIN2OCT                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::BINTOOCT\nBINOMDIST               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::BINOMDIST\n\nCEILING                 CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::CEILING\nCELL                    CATEGORY_INFORMATION            ***  Not yet Implemented\nCHAR                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::CHARACTER\nCHIDIST                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::CHIDIST\nCHIINV                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::CHIINV\nCHITEST                 CATEGORY_STATISTICAL            ***  Not yet Implemented\nCHOOSE                  CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::CHOOSE\nCLEAN                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::TRIMNONPRINTABLE\nCODE                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::ASCIICODE\nCOLUMN                  CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::COLUMN\nCOLUMNS                 CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::COLUMNS\nCOMBIN                  CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::COMBIN\nCOMPLEX                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::COMPLEX\nCONCATENATE             CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::CONCATENATE\nCONFIDENCE              CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::CONFIDENCE\nCONVERT                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::CONVERTUOM\nCORREL                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::CORREL\nCOS                     CATEGORY_MATH_AND_TRIG          cos\nCOSH                    CATEGORY_MATH_AND_TRIG          cosh\nCOUNT                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::COUNT\nCOUNTA                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::COUNTA\nCOUNTBLANK              CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::COUNTBLANK\nCOUNTIF                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::COUNTIF\nCOUNTIFS                CATEGORY_STATISTICAL            ***  Not yet Implemented\nCOUPDAYBS               CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::COUPDAYBS\nCOUPDAYS                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::COUPDAYS\nCOUPDAYSNC              CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::COUPDAYSNC\nCOUPNCD                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::COUPNCD\nCOUPNUM                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::COUPNUM\nCOUPPCD                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::COUPPCD\nCOVAR                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::COVAR\nCRITBINOM               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::CRITBINOM\nCUBEKPIMEMBER           CATEGORY_CUBE                   ***  Not yet Implemented\nCUBEMEMBER              CATEGORY_CUBE                   ***  Not yet Implemented\nCUBEMEMBERPROPERTY      CATEGORY_CUBE                   ***  Not yet Implemented\nCUBERANKEDMEMBER        CATEGORY_CUBE                   ***  Not yet Implemented\nCUBESET                 CATEGORY_CUBE                   ***  Not yet Implemented\nCUBESETCOUNT            CATEGORY_CUBE                   ***  Not yet Implemented\nCUBEVALUE               CATEGORY_CUBE                   ***  Not yet Implemented\nCUMIPMT                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::CUMIPMT\nCUMPRINC                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::CUMPRINC\n\nDATE                    CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DATE\nDATEDIF                 CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DATEDIF\nDATEVALUE               CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DATEVALUE\nDAVERAGE                CATEGORY_DATABASE               PHPExcel_Calculation_Database::DAVERAGE\nDAY                     CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DAYOFMONTH\nDAYS360                 CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DAYS360\nDB                      CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::DB\nDCOUNT                  CATEGORY_DATABASE               PHPExcel_Calculation_Database::DCOUNT\nDCOUNTA                 CATEGORY_DATABASE               PHPExcel_Calculation_Database::DCOUNTA\nDDB                     CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::DDB\nDEC2BIN                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::DECTOBIN\nDEC2HEX                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::DECTOHEX\nDEC2OCT                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::DECTOOCT\nDEGREES                 CATEGORY_MATH_AND_TRIG          rad2deg\nDELTA                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::DELTA\nDEVSQ                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::DEVSQ\nDGET                    CATEGORY_DATABASE               PHPExcel_Calculation_Database::DGET\nDISC                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::DISC\nDMAX                    CATEGORY_DATABASE               PHPExcel_Calculation_Database::DMAX\nDMIN                    CATEGORY_DATABASE               PHPExcel_Calculation_Database::DMIN\nDOLLAR                  CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::DOLLAR\nDOLLARDE                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::DOLLARDE\nDOLLARFR                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::DOLLARFR\nDPRODUCT                CATEGORY_DATABASE               PHPExcel_Calculation_Database::DPRODUCT\nDSTDEV                  CATEGORY_DATABASE               PHPExcel_Calculation_Database::DSTDEV\nDSTDEVP                 CATEGORY_DATABASE               PHPExcel_Calculation_Database::DSTDEVP\nDSUM                    CATEGORY_DATABASE               PHPExcel_Calculation_Database::DSUM\nDURATION                CATEGORY_FINANCIAL              ***  Not yet Implemented\nDVAR                    CATEGORY_DATABASE               PHPExcel_Calculation_Database::DVAR\nDVARP                   CATEGORY_DATABASE               PHPExcel_Calculation_Database::DVARP\n\nEDATE                   CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::EDATE\nEFFECT                  CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::EFFECT\nEOMONTH                 CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::EOMONTH\nERF                     CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::ERF\nERFC                    CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::ERFC\nERROR.TYPE              CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::ERROR_TYPE\nEVEN                    CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::EVEN\nEXACT                   CATEGORY_TEXT_AND_DATA          ***  Not yet Implemented\nEXP                     CATEGORY_MATH_AND_TRIG          exp\nEXPONDIST               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::EXPONDIST\n\nFACT                    CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::FACT\nFACTDOUBLE              CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::FACTDOUBLE\nFALSE                   CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::FALSE\nFDIST                   CATEGORY_STATISTICAL            ***  Not yet Implemented\nFIND                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::SEARCHSENSITIVE\nFINDB                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::SEARCHSENSITIVE\nFINV                    CATEGORY_STATISTICAL            ***  Not yet Implemented\nFISHER                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::FISHER\nFISHERINV               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::FISHERINV\nFIXED                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::FIXEDFORMAT\nFLOOR                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::FLOOR\nFORECAST                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::FORECAST\nFREQUENCY               CATEGORY_STATISTICAL            ***  Not yet Implemented\nFTEST                   CATEGORY_STATISTICAL            ***  Not yet Implemented\nFV                      CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::FV\nFVSCHEDULE              CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::FVSCHEDULE\n\nGAMMADIST               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::GAMMADIST\nGAMMAINV                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::GAMMAINV\nGAMMALN                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::GAMMALN\nGCD                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::GCD\nGEOMEAN                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::GEOMEAN\nGESTEP                  CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::GESTEP\nGETPIVOTDATA            CATEGORY_LOOKUP_AND_REFERENCE   ***  Not yet Implemented\nGROWTH                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::GROWTH\n\nHARMEAN                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::HARMEAN\nHEX2BIN                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::HEXTOBIN\nHEX2DEC                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::HEXTODEC\nHEX2OCT                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::HEXTOOCT\nHLOOKUP                 CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::HLOOKUP\nHOUR                    CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::HOUROFDAY\nHYPERLINK               CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::HYPERLINK\nHYPGEOMDIST             CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::HYPGEOMDIST\n\nIF                      CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::STATEMENT_IF\nIFERROR                 CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::IFERROR\nIMABS                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMABS\nIMAGINARY               CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMAGINARY\nIMARGUMENT              CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMARGUMENT\nIMCONJUGATE             CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMCONJUGATE\nIMCOS                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMCOS\nIMDIV                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMDIV\nIMEXP                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMEXP\nIMLN                    CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMLN\nIMLOG10                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMLOG10\nIMLOG2                  CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMLOG2\nIMPOWER                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMPOWER\nIMPRODUCT               CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMPRODUCT\nIMREAL                  CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMREAL\nIMSIN                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMSIN\nIMSQRT                  CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMSQRT\nIMSUB                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMSUB\nIMSUM                   CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::IMSUM\nINDEX                   CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::INDEX\nINDIRECT                CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::INDIRECT\nINFO                    CATEGORY_INFORMATION            ***  Not yet Implemented\nINT                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::INT\nINTERCEPT               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::INTERCEPT\nINTRATE                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::INTRATE\nIPMT                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::IPMT\nIRR                     CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::IRR\nISBLANK                 CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_BLANK\nISERR                   CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_ERR\nISERROR                 CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_ERROR\nISEVEN                  CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_EVEN\nISLOGICAL               CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_LOGICAL\nISNA                    CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_NA\nISNONTEXT               CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_NONTEXT\nISNUMBER                CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_NUMBER\nISODD                   CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_ODD\nISPMT                   CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::ISPMT\nISREF                   CATEGORY_INFORMATION            ***  Not yet Implemented\nISTEXT                  CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::IS_TEXT\n\nJIS                     CATEGORY_TEXT_AND_DATA          ***  Not yet Implemented\n\nKURT                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::KURT\n\nLARGE                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::LARGE\nLCM                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::LCM\nLEFT                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::LEFT\nLEFTB                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::LEFT\nLEN                     CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::STRINGLENGTH\nLENB                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::STRINGLENGTH\nLINEST                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::LINEST\nLN                      CATEGORY_MATH_AND_TRIG          log\nLOG                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::LOG_BASE\nLOG10                   CATEGORY_MATH_AND_TRIG          log10\nLOGEST                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::LOGEST\nLOGINV                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::LOGINV\nLOGNORMDIST             CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::LOGNORMDIST\nLOOKUP                  CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::LOOKUP\nLOWER                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::LOWERCASE\n\nMATCH                   CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::MATCH\nMAX                     CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MAX\nMAXA                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MAXA\nMAXIF                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MAXIF\nMDETERM                 CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::MDETERM\nMDURATION               CATEGORY_FINANCIAL              ***  Not yet Implemented\nMEDIAN                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MEDIAN\nMEDIANIF                CATEGORY_STATISTICAL            ***  Not yet Implemented\nMID                     CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::MID\nMIDB                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::MID\nMIN                     CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MIN\nMINA                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MINA\nMINIF                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MINIF\nMINUTE                  CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::MINUTEOFHOUR\nMINVERSE                CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::MINVERSE\nMIRR                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::MIRR\nMMULT                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::MMULT\nMOD                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::MOD\nMODE                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::MODE\nMONTH                   CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::MONTHOFYEAR\nMROUND                  CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::MROUND\nMULTINOMIAL             CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::MULTINOMIAL\n\nN                       CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::N\nNA                      CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::NA\nNEGBINOMDIST            CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::NEGBINOMDIST\nNETWORKDAYS             CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::NETWORKDAYS\nNOMINAL                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::NOMINAL\nNORMDIST                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::NORMDIST\nNORMINV                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::NORMINV\nNORMSDIST               CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::NORMSDIST\nNORMSINV                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::NORMSINV\nNOT                     CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::NOT\nNOW                     CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DATETIMENOW\nNPER                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::NPER\nNPV                     CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::NPV\n\nOCT2BIN                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::OCTTOBIN\nOCT2DEC                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::OCTTODEC\nOCT2HEX                 CATEGORY_ENGINEERING            PHPExcel_Calculation_Engineering::OCTTOHEX\nODD                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::ODD\nODDFPRICE               CATEGORY_FINANCIAL              ***  Not yet Implemented\nODDFYIELD               CATEGORY_FINANCIAL              ***  Not yet Implemented\nODDLPRICE               CATEGORY_FINANCIAL              ***  Not yet Implemented\nODDLYIELD               CATEGORY_FINANCIAL              ***  Not yet Implemented\nOFFSET                  CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::OFFSET\nOR                      CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::LOGICAL_OR\n\nPEARSON                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::CORREL\nPERCENTILE              CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::PERCENTILE\nPERCENTRANK             CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::PERCENTRANK\nPERMUT                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::PERMUT\nPHONETIC                CATEGORY_TEXT_AND_DATA          ***  Not yet Implemented\nPI                      CATEGORY_MATH_AND_TRIG          pi\nPMT                     CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::PMT\nPOISSON                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::POISSON\nPOWER                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::POWER\nPPMT                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::PPMT\nPRICE                   CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::PRICE\nPRICEDISC               CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::PRICEDISC\nPRICEMAT                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::PRICEMAT\nPROB                    CATEGORY_STATISTICAL            ***  Not yet Implemented\nPRODUCT                 CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::PRODUCT\nPROPER                  CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::PROPERCASE\nPV                      CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::PV\n\nQUARTILE                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::QUARTILE\nQUOTIENT                CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::QUOTIENT\n\nRADIANS                 CATEGORY_MATH_AND_TRIG          deg2rad\nRAND                    CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::RAND\nRANDBETWEEN             CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::RAND\nRANK                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::RANK\nRATE                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::RATE\nRECEIVED                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::RECEIVED\nREPLACE                 CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::REPLACE\nREPLACEB                CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::REPLACE\nREPT                    CATEGORY_TEXT_AND_DATA          str_repeat\nRIGHT                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::RIGHT\nRIGHTB                  CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::RIGHT\nROMAN                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::ROMAN\nROUND                   CATEGORY_MATH_AND_TRIG          round\nROUNDDOWN               CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::ROUNDDOWN\nROUNDUP                 CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::ROUNDUP\nROW                     CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::ROW\nROWS                    CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::ROWS\nRSQ                     CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::RSQ\nRTD                     CATEGORY_LOOKUP_AND_REFERENCE   ***  Not yet Implemented\n\nSEARCH                  CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\nSEARCHB                 CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\nSECOND                  CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::SECONDOFMINUTE\nSERIESSUM               CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SERIESSUM\nSIGN                    CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SIGN\nSIN                     CATEGORY_MATH_AND_TRIG          sin\nSINH                    CATEGORY_MATH_AND_TRIG          sinh\nSKEW                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::SKEW\nSLN                     CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::SLN\nSLOPE                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::SLOPE\nSMALL                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::SMALL\nSQRT                    CATEGORY_MATH_AND_TRIG          sqrt\nSQRTPI                  CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SQRTPI\nSTANDARDIZE             CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::STANDARDIZE\nSTDEV                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::STDEV\nSTDEVA                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::STDEVA\nSTDEVP                  CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::STDEVP\nSTDEVPA                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::STDEVPA\nSTEYX                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::STEYX\nSUBSTITUTE              CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::SUBSTITUTE\nSUBTOTAL                CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUBTOTAL\nSUM                     CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUM\nSUMIF                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUMIF\nSUMIFS                  CATEGORY_MATH_AND_TRIG          ***  Not yet Implemented\nSUMPRODUCT              CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUMPRODUCT\nSUMSQ                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUMSQ\nSUMX2MY2                CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUMX2MY2\nSUMX2PY2                CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUMX2PY2\nSUMXMY2                 CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::SUMXMY2\nSYD                     CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::SYD\n\nT                       CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::RETURNSTRING\nTAN                     CATEGORY_MATH_AND_TRIG          tan\nTANH                    CATEGORY_MATH_AND_TRIG          tanh\nTBILLEQ                 CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::TBILLEQ\nTBILLPRICE              CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::TBILLPRICE\nTBILLYIELD              CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::TBILLYIELD\nTDIST                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::TDIST\nTEXT                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::TEXTFORMAT\nTIME                    CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::TIME\nTIMEVALUE               CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::TIMEVALUE\nTINV                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::TINV\nTODAY                   CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DATENOW\nTRANSPOSE               CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::TRANSPOSE\nTREND                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::TREND\nTRIM                    CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::TRIMSPACES\nTRIMMEAN                CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::TRIMMEAN\nTRUE                    CATEGORY_LOGICAL                PHPExcel_Calculation_Logical::TRUE\nTRUNC                   CATEGORY_MATH_AND_TRIG          PHPExcel_Calculation_MathTrig::TRUNC\nTTEST                   CATEGORY_STATISTICAL            ***  Not yet Implemented\nTYPE                    CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::TYPE\n\nUPPER                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::UPPERCASE\nUSDOLLAR                CATEGORY_FINANCIAL              ***  Not yet Implemented\n\nVALUE                   CATEGORY_TEXT_AND_DATA          PHPExcel_Calculation_TextData::VALUE\nVAR                     CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::VARFunc\nVARA                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::VARA\nVARP                    CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::VARP\nVARPA                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::VARPA\nVDB                     CATEGORY_FINANCIAL              ***  Not yet Implemented\nVERSION                 CATEGORY_INFORMATION            PHPExcel_Calculation_Functions::VERSION\nVLOOKUP                 CATEGORY_LOOKUP_AND_REFERENCE   PHPExcel_Calculation_LookupRef::VLOOKUP\n\nWEEKDAY                 CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::DAYOFWEEK\nWEEKNUM                 CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::WEEKOFYEAR\nWEIBULL                 CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::WEIBULL\nWORKDAY                 CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::WORKDAY\n\nXIRR                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::XIRR\nXNPV                    CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::XNPV\n\nYEAR                    CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::YEAR\nYEARFRAC                CATEGORY_DATE_AND_TIME          PHPExcel_Calculation_DateTime::YEARFRAC\nYIELD                   CATEGORY_FINANCIAL              ***  Not yet Implemented\nYIELDDISC               CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::YIELDDISC\nYIELDMAT                CATEGORY_FINANCIAL              PHPExcel_Calculation_Financial::YIELDMAT\n\nZTEST                   CATEGORY_STATISTICAL            PHPExcel_Calculation_Statistical::ZTEST\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Architecture.cd",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ClassDiagram MajorVersion=\"1\" MinorVersion=\"1\">\r\n  <Font Name=\"Tahoma\" Size=\"8.25\" />\r\n  <Class Name=\"ClassDiagrams.PHPExcel\" Collapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"0.5\" Width=\"1.5\" />\r\n    <TypeIdentifier>\r\n      <FileName>Classes\\PHPExcel.cs</FileName>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAA=</HashCode>\r\n    </TypeIdentifier>\r\n    <ShowAsAssociation>\r\n      <Property Name=\"Worksheets\" />\r\n    </ShowAsAssociation>\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.Worksheet\" Collapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"0.5\" Width=\"1.5\" />\r\n    <TypeIdentifier>\r\n      <FileName>Classes\\Worksheet.cs</FileName>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n    </TypeIdentifier>\r\n  </Class>\r\n  <Interface Name=\"ClassDiagrams.PHPExcel_Reader_IReader\" Collapsed=\"true\">\r\n    <Position X=\"2.25\" Y=\"2.5\" Width=\"2\" />\r\n    <TypeIdentifier>\r\n      <FileName>Classes\\IReader.cs</FileName>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n    </TypeIdentifier>\r\n    <ShowAsAssociation>\r\n      <Property Name=\"reads\" />\r\n    </ShowAsAssociation>\r\n    <AssociationLine Name=\"reads\" Type=\"ClassDiagrams.PHPExcel\">\r\n      <MemberNameLabel ManuallyPlaced=\"true\" ManuallySized=\"true\">\r\n        <Position X=\"0.152\" Y=\"1.279\" Height=\"0.16\" Width=\"0.597\" />\r\n      </MemberNameLabel>\r\n    </AssociationLine>\r\n  </Interface>\r\n  <Interface Name=\"ClassDiagrams.PHPExcel_Writer_IWriter\" Collapsed=\"true\">\r\n    <Position X=\"4.5\" Y=\"2.5\" Width=\"2\" />\r\n    <TypeIdentifier>\r\n      <FileName>Classes\\IWriter.cs</FileName>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n    </TypeIdentifier>\r\n    <ShowAsAssociation>\r\n      <Property Name=\"writes\" />\r\n    </ShowAsAssociation>\r\n    <AssociationLine Name=\"writes\" Type=\"ClassDiagrams.PHPExcel\">\r\n      <MemberNameLabel ManuallyPlaced=\"true\" ManuallySized=\"true\">\r\n        <Position X=\"-1.002\" Y=\"1.298\" Height=\"0.16\" Width=\"0.764\" />\r\n      </MemberNameLabel>\r\n    </AssociationLine>\r\n  </Interface>\r\n</ClassDiagram>"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/ClassDiagrams.csproj",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\" ToolsVersion=\"3.5\">\r\n  <PropertyGroup>\r\n    <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\r\n    <Platform Condition=\" '$(Platform)' == '' \">AnyCPU</Platform>\r\n    <ProductVersion>8.0.50727</ProductVersion>\r\n    <SchemaVersion>2.0</SchemaVersion>\r\n    <ProjectGuid>{CC8CD7D2-8EFF-48E5-A17A-C1C482744D31}</ProjectGuid>\r\n    <OutputType>Exe</OutputType>\r\n    <AppDesignerFolder>Properties</AppDesignerFolder>\r\n    <RootNamespace>ClassDiagrams</RootNamespace>\r\n    <AssemblyName>ClassDiagrams</AssemblyName>\r\n    <FileUpgradeFlags>\r\n    </FileUpgradeFlags>\r\n    <OldToolsVersion>2.0</OldToolsVersion>\r\n    <UpgradeBackupLocation>\r\n    </UpgradeBackupLocation>\r\n  </PropertyGroup>\r\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\r\n    <DebugSymbols>true</DebugSymbols>\r\n    <DebugType>full</DebugType>\r\n    <Optimize>false</Optimize>\r\n    <OutputPath>bin\\Debug\\</OutputPath>\r\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\r\n    <ErrorReport>prompt</ErrorReport>\r\n    <WarningLevel>4</WarningLevel>\r\n  </PropertyGroup>\r\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\r\n    <DebugType>pdbonly</DebugType>\r\n    <Optimize>true</Optimize>\r\n    <OutputPath>bin\\Release\\</OutputPath>\r\n    <DefineConstants>TRACE</DefineConstants>\r\n    <ErrorReport>prompt</ErrorReport>\r\n    <WarningLevel>4</WarningLevel>\r\n  </PropertyGroup>\r\n  <Import Project=\"$(MSBuildBinPath)\\Microsoft.CSharp.targets\" />\r\n  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r\n       Other similar extension points exist, see Microsoft.Common.targets.\r\n  <Target Name=\"BeforeBuild\">\r\n  </Target>\r\n  <Target Name=\"AfterBuild\">\r\n  </Target>\r\n  -->\r\n  <ItemGroup>\r\n    <None Include=\"Architecture.cd\" />\r\n    <None Include=\"ReaderWriter.cd\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <Compile Include=\"Classes\\IReader.cs\" />\r\n    <Compile Include=\"Classes\\IWriter.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel_IOFactory.cs\" />\r\n    <Compile Include=\"Classes\\Worksheet.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel_Reader_Excel2007.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel_Reader_Serialized.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel_Writer_Excel2007.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel_Writer_Serialized.cs\" />\r\n    <Compile Include=\"Classes\\PHPExcel_Reader_Excel5.cs\" />\r\n  </ItemGroup>\r\n  <ItemGroup>\r\n    <Content Include=\"Exports\\Architecture.png\" />\r\n    <Content Include=\"Exports\\ReaderWriter.png\" />\r\n  </ItemGroup>\r\n</Project>"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/ClassDiagrams.csproj.user",
    "content": "﻿<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n  <PropertyGroup>\r\n    <ProjectView>ShowAllFiles</ProjectView>\r\n  </PropertyGroup>\r\n</Project>"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/ClassDiagrams.sln",
    "content": "﻿\r\nMicrosoft Visual Studio Solution File, Format Version 10.00\r\n# Visual Studio 2008\r\nProject(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"ClassDiagrams\", \"ClassDiagrams.csproj\", \"{CC8CD7D2-8EFF-48E5-A17A-C1C482744D31}\"\r\nEndProject\r\nGlobal\r\n\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\r\n\t\tDebug|Any CPU = Debug|Any CPU\r\n\t\tRelease|Any CPU = Release|Any CPU\r\n\tEndGlobalSection\r\n\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\r\n\t\t{CC8CD7D2-8EFF-48E5-A17A-C1C482744D31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r\n\t\t{CC8CD7D2-8EFF-48E5-A17A-C1C482744D31}.Debug|Any CPU.Build.0 = Debug|Any CPU\r\n\t\t{CC8CD7D2-8EFF-48E5-A17A-C1C482744D31}.Release|Any CPU.ActiveCfg = Release|Any CPU\r\n\t\t{CC8CD7D2-8EFF-48E5-A17A-C1C482744D31}.Release|Any CPU.Build.0 = Release|Any CPU\r\n\tEndGlobalSection\r\n\tGlobalSection(SolutionProperties) = preSolution\r\n\t\tHideSolutionNode = FALSE\r\n\tEndGlobalSection\r\nEndGlobal\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/IReader.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public interface PHPExcel_Reader_IReader\r\n    {\r\n        PHPExcel reads\r\n        {\r\n            get;\r\n            set;\r\n        }\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/IWriter.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public interface PHPExcel_Writer_IWriter\r\n    {\r\n        PHPExcel writes\r\n        {\r\n            get;\r\n            set;\r\n        }\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel\r\n    {\r\n        /// <remarks></remarks>\r\n        public Worksheet Worksheets\r\n        {\r\n            get\r\n            {\r\n                throw new System.NotImplementedException();\r\n            }\r\n            set\r\n            {\r\n            }\r\n        }\r\n    }\r\n\r\n    public class PHPExcel_Writer_PDF : PHPExcel_Writer_IWriter\r\n    {\r\n        #region PHPExcel_Writer_IWriter Members\r\n\r\n        public PHPExcel writes\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel_IOFactory.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel_IOFactory\r\n    {\r\n        public PHPExcel_Reader_IReader createsReader\r\n        {\r\n            get\r\n            {\r\n                throw new System.NotImplementedException();\r\n            }\r\n            set\r\n            {\r\n            }\r\n        }\r\n\r\n        public PHPExcel_Writer_IWriter createsWriter\r\n        {\r\n            get\r\n            {\r\n                throw new System.NotImplementedException();\r\n            }\r\n            set\r\n            {\r\n            }\r\n        }\r\n    \r\n        public PHPExcel_Writer_IWriter createWriter()\r\n        {\r\n            throw new System.NotImplementedException();\r\n        }\r\n\r\n        public PHPExcel_Reader_IReader createReader()\r\n        {\r\n            throw new System.NotImplementedException();\r\n        }\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel2007.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel_Reader_Excel2007 : PHPExcel_Reader_IReader\r\n    {\r\n        #region IReader Members\r\n\r\n        public PHPExcel reads\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel5.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel_Reader_Excel5 : PHPExcel_Reader_IReader\r\n    {\r\n        #region PHPExcel_Writer_IReader Members\r\n\r\n        public PHPExcel reads\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n\r\n    public class PHPExcel_Reader_Excel2003XML : PHPExcel_Reader_IReader\r\n    {\r\n        #region PHPExcel_Writer_IReader Members\r\n\r\n        public PHPExcel reads\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n\r\n    public class PHPExcel_Reader_SYLK : PHPExcel_Reader_IReader\r\n    {\r\n        #region PHPExcel_Writer_IReader Members\r\n\r\n        public PHPExcel reads\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Serialized.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel_Reader_Serialized : PHPExcel_Reader_IReader\r\n    {\r\n        #region IReader Members\r\n\r\n        public PHPExcel reads\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n\r\n    public class PHPExcel_Reader_CSV : PHPExcel_Reader_IReader\r\n    {\r\n        #region IReader Members\r\n\r\n        public PHPExcel reads\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel_Writer_Excel2007.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel_Writer_Excel2007 : PHPExcel_Writer_IWriter\r\n    {\r\n        #region IWriter Members\r\n\r\n        public PHPExcel writes\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/PHPExcel_Writer_Serialized.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class PHPExcel_Writer_Serialized : PHPExcel_Writer_IWriter\r\n    {\r\n        #region IWriter Members\r\n\r\n        public PHPExcel writes\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n\r\n    public class PHPExcel_Writer_CSV : PHPExcel_Writer_IWriter\r\n    {\r\n        #region IWriter Members\r\n\r\n        public PHPExcel writes\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n\r\n    public class PHPExcel_Writer_Excel5 : PHPExcel_Writer_IWriter\r\n    {\r\n        #region IWriter Members\r\n\r\n        public PHPExcel writes\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n\r\n    public class PHPExcel_Writer_HTML : PHPExcel_Writer_IWriter\r\n    {\r\n        #region IWriter Members\r\n\r\n        public PHPExcel writes\r\n        {\r\n            get\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n            set\r\n            {\r\n                throw new Exception(\"The method or operation is not implemented.\");\r\n            }\r\n        }\r\n\r\n        #endregion\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/Classes/Worksheet.cs",
    "content": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace ClassDiagrams\r\n{\r\n    public class Worksheet\r\n    {\r\n    }\r\n\r\n    public class CopyOfWorksheet\r\n    {\r\n    }\r\n}\r\n"
  },
  {
    "path": "Documentation/assets/ClassDiagrams/ReaderWriter.cd",
    "content": "﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ClassDiagram MajorVersion=\"1\" MinorVersion=\"1\">\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Reader_Excel2007\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"3.5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Reader_Excel2007.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Writer_Excel2007\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"3.5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Writer_Excel2007.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Reader_Serialized\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"4.25\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Reader_Serialized.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Writer_Serialized\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"4.25\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Writer_Serialized.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Reader_CSV\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Reader_Serialized.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Writer_CSV\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Writer_Serialized.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Writer_Excel5\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"5.75\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Writer_Serialized.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Writer_HTML\" Collapsed=\"true\" BaseTypeListCollapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"6.5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Writer_Serialized.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Reader_Excel5\" Collapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"5.75\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Reader_Excel5.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Writer_PDF\" Collapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"7.25\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_IOFactory\">\r\n    <Position X=\"2\" Y=\"0.5\" Width=\"2.25\" />\r\n    <AssociationLine Name=\"createsReader\" Type=\"ClassDiagrams.PHPExcel_Reader_IReader\">\r\n      <MemberNameLabel ManuallyPlaced=\"true\">\r\n        <Position X=\"0.11\" Y=\"0.06\" />\r\n      </MemberNameLabel>\r\n    </AssociationLine>\r\n    <AssociationLine Name=\"createsWriter\" Type=\"ClassDiagrams.PHPExcel_Writer_IWriter\">\r\n      <MemberNameLabel ManuallyPlaced=\"true\">\r\n        <Position X=\"-1.088\" Y=\"0.081\" />\r\n      </MemberNameLabel>\r\n    </AssociationLine>\r\n    <TypeIdentifier>\r\n      <HashCode>AIAAAAAAAAEAAAAAAQAAAAAAAAAAAAAAAAABAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_IOFactory.cs</FileName>\r\n    </TypeIdentifier>\r\n    <ShowAsAssociation>\r\n      <Property Name=\"createsReader\" />\r\n      <Property Name=\"createsWriter\" />\r\n    </ShowAsAssociation>\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Reader_Excel2003XML\" Collapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"6.5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Reader_Excel5.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Class Name=\"ClassDiagrams.PHPExcel_Reader_SYLK\" Collapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"7.25\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\PHPExcel_Reader_Excel5.cs</FileName>\r\n    </TypeIdentifier>\r\n    <Lollipop Position=\"0.2\" />\r\n  </Class>\r\n  <Interface Name=\"ClassDiagrams.PHPExcel_Writer_IWriter\" Collapsed=\"true\">\r\n    <Position X=\"3.5\" Y=\"2.5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\IWriter.cs</FileName>\r\n    </TypeIdentifier>\r\n  </Interface>\r\n  <Interface Name=\"ClassDiagrams.PHPExcel_Reader_IReader\" Collapsed=\"true\">\r\n    <Position X=\"0.5\" Y=\"2.5\" Width=\"2.25\" />\r\n    <TypeIdentifier>\r\n      <HashCode>AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>\r\n      <FileName>Classes\\IReader.cs</FileName>\r\n    </TypeIdentifier>\r\n  </Interface>\r\n  <Font Name=\"Tahoma\" Size=\"8.25\" />\r\n</ClassDiagram>"
  },
  {
    "path": "Documentation/markdown/CalculationEngine/FunctionReference/01-Introduction.md",
    "content": "# Calculation Engine - Formula Function Reference\n\n## Frequently asked questions\n\nThe up-to-date F.A.Q. page for PHPExcel can be found on [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements][1].\n\n### Formulas don’t seem to be calculated in Excel2003 using compatibility pack?\n\nThis is normal behaviour of the compatibility pack, Excel2007 displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.\n\n  [1]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements\n"
  },
  {
    "path": "Documentation/markdown/CalculationEngine/FunctionReference/02-01-Date-and-Time-Handling.md",
    "content": "# Calculation Engine - Formula Function Reference\n\n## Function Reference\n\n### Handling Date and Time Values\n\n#### Excel functions that return a Date and Time value\n\nAny of the Date and Time functions that return a date value in Excel can return either an Excel timestamp or a PHP timestamp or date object.\n\nIt is possible for scripts to change the data type used for returning date values by calling the PHPExcel_Calculation_Functions::setReturnDateType() method:\n\n```php\nPHPExcel_Calculation_Functions::setReturnDateType($returnDateType);\n```\n\nwhere the following constants can be used for $returnDateType\n\n - PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC\n - PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT\n - PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n\nThe method will return a Boolean True on success, False on failure (e.g. if an invalid value is passed in for the return date type).\n\nThe PHPExcel_Calculation_Functions::getReturnDateType() method can be used to determine the current value of this setting:\n\n```php\n$returnDateType = PHPExcel_Calculation_Functions::getReturnDateType();\n```\n\nThe default is RETURNDATE_PHP_NUMERIC.\n\n##### PHP Timestamps\n\nIf RETURNDATE_PHP_NUMERIC is set for the Return Date Type, then any date value returned to the calling script by any access to the Date and Time functions in Excel will be an integer value that represents the number of seconds from the PHP/Unix base date. The PHP/Unix base date (0) is 00:00 UST on 1st January 1970. This value can be positive or negative: so a value of -3600 would be 23:00 hrs on 31st December 1969; while a value of +3600 would be 01:00 hrs on 1st January 1970. This gives PHP a date range of between 14th December 1901 and 19th January 2038.\n\n##### PHP DateTime Objects\n\nIf the Return Date Type is set for RETURNDATE_PHP_NUMERIC, then any date value returned to the calling script by any access to the Date and Time functions in Excel will be a PHP date/time object.\n\n##### Excel Timestamps\n\nIf RETURNDATE_EXCEL is set for the Return Date Type, then the returned date value by any access to the Date and Time functions in Excel will be a floating point value that represents a number of days from the Excel base date. The Excel base date is determined by which calendar Excel uses: the Windows 1900 or the Mac 1904 calendar. 1st January 1900 is the base date for the Windows 1900 calendar while 1st January 1904 is the base date for the Mac 1904 calendar.\n\nIt is possible for scripts to change the calendar used for calculating Excel date values by calling the PHPExcel_Shared_Date::setExcelCalendar() method:\n\n```php\nPHPExcel_Shared_Date::setExcelCalendar($baseDate);\n```\n\nwhere the following constants can be used for $baseDate\n\n - PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900\n - PHPExcel_Shared_Date::CALENDAR_MAC_1904\n\nThe method will return a Boolean True on success, False on failure (e.g. if an invalid value is passed in).\n\nThe PHPExcel_Shared_Date::getExcelCalendar() method can be used to determine the current value of this setting:\n\n```php\n$baseDate = PHPExcel_Shared_Date::getExcelCalendar();\n```\nThe default is CALENDAR_WINDOWS_1900.\n\n##### Functions that return a Date/Time Value\n\n - DATE\n - DATEVALUE\n - EDATE\n - EOMONTH\n - NOW\n - TIME\n - TIMEVALUE\n - TODAY\n\n#### Excel functions that accept Date and Time values as parameters\n\nDate values passed in as parameters to a function can be an Excel timestamp or a PHP timestamp; or date object; or a string containing a date value (e.g. '1-Jan-2009'). PHPExcel will attempt to identify their type based on the PHP datatype:\n\nAn integer numeric value will be treated as a PHP/Unix timestamp. A real (floating point) numeric value will be treated as an Excel date/timestamp. Any PHP DateTime object will be treated as a DateTime object. Any string value (even one containing straight numeric data) will be converted to a date/time object for validation as a date value based on the server locale settings, so passing through an ambiguous value of '07/08/2008' will be treated as 7th August 2008 if your server settings are UK, but as 8th July 2008 if your server settings are US. However, if you pass through a value such as '31/12/2008' that would be considered an error by a US-based server, but which is not ambiguous, then PHPExcel will attempt to correct this to 31st December 2008. If the content of the string doesn’t match any of the formats recognised by the php date/time object implementation of strtotime() (which can handle a wider range of formats than the normal strtotime() function), then the function will return a '#VALUE' error. However, Excel recommends that you should always use date/timestamps for your date functions, and the recommendation for PHPExcel is the same: avoid strings because the result is not predictable.\n\nThe same principle applies when data is being written to Excel. Cells containing date actual values (rather than Excel functions that return a date value) are always written as Excel dates, converting where necessary. If a cell formatted as a date contains an integer or date/time object value, then it is converted to an Excel value for writing: if a cell formatted as a date contains a real value, then no conversion is required. Note that string values are written as strings rather than converted to Excel date timestamp values.\n\n##### Functions that expect a Date/Time Value\n\n - DATEDIF\n - DAY\n - DAYS360\n - EDATE\n - EOMONTH\n - HOUR\n - MINUTE\n - MONTH\n - NETWORKDAYS\n - SECOND\n - WEEKDAY\n - WEEKNUM\n - WORKDAY\n - YEAR\n - YEARFRAC\n\n#### Helper Methods\n\nIn addition to the setExcelCalendar() and getExcelCalendar() methods, a number of other methods are available in the PHPExcel_Shared_Date class that can help when working with dates:\n\n##### PHPExcel_Shared_Date::ExcelToPHP($excelDate)\n\nConverts a date/time from an Excel date timestamp to return a PHP serialized date/timestamp.\n\nNote that this method does not trap for Excel dates that fall outside of the valid range for a PHP date timestamp.\n\n##### PHPExcel_Shared_Date::ExcelToPHPObject($excelDate)\n\nConverts a date from an Excel date/timestamp to return a PHP DateTime object.\n\n##### PHPExcel_Shared_Date::PHPToExcel($PHPDate)\n\nConverts a PHP serialized date/timestamp or a PHP DateTime object to return an Excel date timestamp.\n\n##### PHPExcel_Shared_Date::FormattedPHPToExcel($year, $month, $day, $hours=0, $minutes=0, $seconds=0)\n\nTakes year, month and day values (and optional hour, minute and second values) and returns an Excel date timestamp value.\n\n"
  },
  {
    "path": "Documentation/markdown/CalculationEngine/FunctionReference/02-General-Introduction.md",
    "content": "# Calculation Engine - Formula Function Reference\n\n## General Introduction\n\n### Function that are not Supported in Excel5\n\nNot all functions are supported by the Excel 5 Writer. Use of these functions within your workbooks will result in an error when trying to write to Excel5.\n\nThe following is the list of those functions that are implemented within PHPExcel, but that cannot currently be written to Excel 5.\n\n#### Cube Functions\n\n    Excel Function      | Notes\n    --------------------|---------\n\tCUBEKPIMEMBER       | Not yet Implemented\n\tCUBEMEMBER          | Not yet Implemented\n\tCUBEMEMBERPROPERTY  | Not yet Implemented\n\tCUBERANKEDMEMBER    | Not yet Implemented\n\tCUBESET             | Not yet Implemented\n\tCUBESETCOUNT        | Not yet Implemented\n\tCUBEVALUE           | Not yet Implemented\n\n\n#### Database Functions\n\n    Excel Function | Notes\n    ---------------|---------\n\n\n#### Date and Time Functions\n\n    Excel Function | Notes\n    ---------------|---------\n    EDATE          | Not a standard function within Excel 5, but an add-in from the Analysis ToolPak.  \n    EOMONTH        | Not a standard function within Excel 5, but an add-in from the Analysis ToolPak.\n\n"
  },
  {
    "path": "Documentation/markdown/CalculationEngine/FunctionReference/03-01-Cube-Functions.md",
    "content": "# Calculation Engine - Formula Function Reference\n\n## Function Reference\n\n### Cube Functions\n\n#### CUBEKPIMEMBER\n\nNot yet implemented.\n\n#### CUBEMEMBER\n\nNot yet implemented.\n\n#### CUBEMEMBERPROPERTY\n\nNot yet implemented.\n\n#### CUBERANKEDMEMBER\n\nNot yet implemented.\n\n#### CUBESET\n\nNot yet implemented.\n\n#### CUBESETCOUNT\n\nNot yet implemented.\n\n#### CUBEVALUE\n\nNot yet implemented.\n\n"
  },
  {
    "path": "Documentation/markdown/CalculationEngine/FunctionReference/03-02-Database-Functions.md",
    "content": "# Calculation Engine - Formula Function Reference\n\n## Function Reference\n\n### Database Functions\n\n#### DAVERAGE\n\nThe DAVERAGE function returns the average value of the cells in a column of a list or database that match conditions you specify.\n\n##### Syntax\n\n```\nDAVERAGE (database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The average value of the matching cells.\n\nThis is the statistical mean.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DAVERAGE(A4:E10,\"Yield\",A1:B2)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 12\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DCOUNT\n\nThe DCOUNT function returns the count of cells that contain a number in a column of a list or database matching conditions that you specify.\n\n##### Syntax\n\n```\nDCOUNT(database, [field], criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float**  The count of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DCOUNT(A4:E10,\"Height\",A1:B3)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n\n// $retVal = 3\n```\n\n##### Notes\n\nIn MS Excel, The field argument is optional. If field is omitted, DCOUNT counts all records in the database that match the criteria. This logic has not yet been implemented in PHPExcel.\n\n#### DCOUNTA\n\nThe DCOUNT function returns the count of cells that aren’t blank in a column of a list or database and that match conditions that you specify.\n\n##### Syntax\n\n```\nDCOUNTA(database, [field], criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The count of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DCOUNTA(A4:E10,\"Yield\",A1:A3)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n\n// $retVal = 5\n```\n\n##### Notes\n\nIn MS Excel, The field argument is optional. If field is omitted, DCOUNTA counts all records in the database that match the criteria. This logic has not yet been implemented in PHPExcel.\n\n#### DGET\n\nThe DGET function extracts a single value from a column of a list or database that matches conditions that you specify.\n\n##### Syntax\n\n```\nDGET(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**mixed** The value from the selected column of the matching row.\n\n#### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=GET(A4:E10,\"Age\",A1:F2)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 14\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DMAX\n\nThe DMAX function returns the largest number in a column of a list or database that matches conditions you specify.\n\n##### Syntax\n\n```\nDMAX(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The maximum value of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DMAX(A4:E10,\"Profit\",A1:B2)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 105\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DMIN\n\nThe DMIN function returns the smallest number in a column of a list or database that matches conditions you specify.\n\n##### Syntax\n\n```\nDMIN(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria**  The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The minimum value of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DMIN(A4:E10,\"Yield\",A1:A3)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 6\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DPRODUCT\n\nThe DPRODUCT function multiplies the values in a column of a list or database that match conditions that you specify.\n\n##### Syntax\n\n```\nDPRODUCT(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The product of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DPRODUCT(A4:E10,\"Yield\",A1:B2)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 140\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DSTDEV\n\nThe DSTDEV function estimates the standard deviation of a population based on a sample by using the numbers in a column of a list or database that match conditions that you specify.\n\n##### Syntax\n\n```\nDSTDEV(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The estimated standard deviation of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DSTDEV(A4:E10,\"Yield\",A1:A3)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 2.97\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DSTDEVP\n\nThe DSTDEVP function calculates the standard deviation of a population based on the entire population by using the numbers in a column of a list or database that match conditions that you specify.\n\n##### Syntax\n\n```\nDSTDEVP(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The estimated standard deviation of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DSTDEVP(A4:E10,\"Yield\",A1:A3)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 2.65\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DSUM\n\nThe DSUM function adds the numbers in a column of a list or database that matches conditions you specify.\n\n##### Syntax\n\n```\nDSUM(database, field, criteria)\n```\n\n##### Parameters\n\n**database** The range of cells that makes up the list or database.  \n\nA database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.\n\n**field** Indicates which column of the database is used in the function.  \n\nEnter the column label as a string (enclosed between double quotation marks), such as \"Age\" or \"Yield,\" or as a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.\n\n**criteria** The range of cells that contains the conditions you specify.  \n\nYou can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.\n\n##### Return Value\n\n**float** The total value of the matching cells.\n\n##### Examples\n\n```php\n$database = array( \n    array( 'Tree',  'Height', 'Age', 'Yield', 'Profit' ),\n    array( 'Apple',  18,       20,    14,      105.00  ),\n    array( 'Pear',   12,       12,    10,       96.00  ),\n    array( 'Cherry', 13,       14,     9,      105.00  ),\n    array( 'Apple',  14,       15,    10,       75.00  ),\n    array( 'Pear',    9,        8,     8,       76.80  ),\n    array( 'Apple',   8,        9,     6,       45.00  ),\n);\n\n$criteria = array( \n    array( 'Tree',      'Height', 'Age', 'Yield', 'Profit', 'Height' ),\n    array( '=\"=Apple\"', '>10',    NULL,  NULL,    NULL,     '<16'    ),\n    array( '=\"=Pear\"',  NULL,     NULL,  NULL,    NULL,     NULL     ),\n);\n\n$worksheet->fromArray( $criteria, NULL, 'A1' )\n    ->fromArray( $database, NULL, 'A4' );\n\n$worksheet->setCellValue('A12', '=DMIN(A4:E10,\"Profit\",A1:A2)');\n\n$retVal = $worksheet->getCell('A12')->getCalculatedValue();\n// $retVal = 225\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DVAR\n\nNot yet documented.\n\n#### DVARP\n\nNot yet documented.\n\n"
  },
  {
    "path": "Documentation/markdown/CalculationEngine/FunctionReference/03-03-Date-and-Time-Functions.md",
    "content": "# Calculation Engine - Formula Function Reference\n\n## Function Reference\n\n### Date and Time Functions\n\nExcel provides a number of functions for the manipulation of dates and times, and calculations based on date/time values. it is worth spending some time reading the section titled \"Date and Time Values\" on passing date parameters and returning date values to understand how PHPExcel reconciles the differences between dates and times in Excel and in PHP.\n\n#### DATE\n\nThe DATE function returns an Excel timestamp or a PHP timestamp or date object representing the date that is referenced by the parameters.\n\n##### Syntax\n\n```\nDATE(year, month, day)\n```\n\n##### Parameters\n\n**year** The year number.  \n\nIf this value is between 0 (zero) and 1899 inclusive (for the Windows 1900 calendar), or between 4 and 1903 inclusive (for the Mac 1904), then PHPExcel adds it to the Calendar base year, so a value of 108 will interpret the year as 2008 when using the Windows 1900 calendar, or 2012 when using the Mac 1904 calendar.\n\n**month** The month number.  \n\nIf this value is greater than 12, the DATE function adds that number of months to the first month in the year specified. For example, DATE(2008,14,2) returns a value representing February 2, 2009.\n\nIf the value of __month__ is less than 1, then that value will be adjusted by -1, and that will then be subtracted from the first month of the year specified. For example, DATE(2008,0,2) returns a value representing December 2, 2007; while DATE(2008,-1,2) returns a value representing November 2, 2007.\n\n**day** The day number.  \n\nIf this value is greater than the number of days in the month (and year) specified, the DATE function adds that number of days to the first day in the month. For example, DATE(2008,1,35) returns a value representing February 4, 2008.\n\nIf the value of __day__ is less than 1, then that value will be adjusted by -1, and that will then be subtracted from the first month of the year specified. For example, DATE(2008,3,0) returns a value representing February 29, 2008; while DATE(2008,3,-2) returns a value representing February 27, 2008.\n\n##### Return Value\n\n**mixed** A date/time stamp that corresponds to the given date.  \n\nThis could be a PHP timestamp value (integer), a PHP date/time object, or an Excel timestamp value (real), depending on the value of PHPExcel_Calculation_Functions::getReturnDateType().\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Year')\n    ->setCellValue('A2', 'Month')\n    ->setCellValue('A3', 'Day');\n\n$worksheet->setCellValue('B1', 2008)\n    ->setCellValue('B2', 12)\n    ->setCellValue('B3', 31);\n\n$worksheet->setCellValue('D1', '=DATE(B1,B2,B3)');\n\n$retVal = $worksheet->getCell('D1')->getCalculatedValue();\n// $retVal = 1230681600\n```\n\n```php\n// We're going to be calling the same cell calculation multiple times,\n//    and expecting different return values, so disable calculation cacheing\nPHPExcel_Calculation::getInstance()->setCalculationCacheEnabled(FALSE);\n\n$saveFormat = PHPExcel_Calculation_Functions::getReturnDateType();\n\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n);\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATE'),\n    array(2008, 12, 31)\n);\n// $retVal = 39813.0\n\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC\n);\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATE'),\n    array(2008, 12, 31)\n);\n// $retVal = 1230681600\n\nPHPExcel_Calculation_Functions::setReturnDateType($saveFormat);\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### DATEDIF\n\nThe DATEDIF function computes the difference between two dates in a variety of different intervals, such number of years, months, or days.\n\n##### Syntax\n\n```\nDATEDIF(date1, date2 [, unit])\n```\n\n##### Parameters\n\n**date1** First Date.  \n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**date2** Second Date.  \n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**unit** The interval type to use for the calculation  \n\nThis is a string, comprising one of the values listed below:\n\nUnit | Meaning                         | Description\n-----|---------------------------------|--------------------------------\nm    | Months                          | Complete calendar months between the dates.\nd    | Days                            | Number of days between the dates.\ny    | Years                           | Complete calendar years between the dates.\nym   | Months Excluding Years          | Complete calendar months between the dates as if they were of the same year.\nyd   | Days Excluding Years            | Complete calendar days between the dates as if they were of the same year.\nmd   | Days Excluding Years And Months | Complete calendar days between the dates as if they were of the same month and same year.\n\nThe unit value is not case sensitive, and defaults to \"d\".\n\n##### Return Value\n\n**integer** An integer value that reflects the difference between the two dates.  \n\nThis could be the number of full days, months or years between the two dates, depending on the interval unit value passed into the function as the third parameter.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Year')\n    ->setCellValue('A2', 'Month')\n    ->setCellValue('A3', 'Day');\n\n$worksheet->setCellValue('B1', 2001)\n    ->setCellValue('C1', 2009)\n    ->setCellValue('B2', 7)\n    ->setCellValue('C2', 12)\n    ->setCellValue('B3', 1)\n    ->setCellValue('C3', 31);\n\n$worksheet->setCellValue('D1', '=DATEDIF(DATE(B1,B2,B3),DATE(C1,C2,C3),\"d\")')\n    ->setCellValue('D2', '=DATEDIF(DATE(B1,B2,B3),DATE(C1,C2,C3),\"m\")')\n    ->setCellValue('D3', '=DATEDIF(DATE(B1,B2,B3),DATE(C1,C2,C3),\"y\")')\n    ->setCellValue('D4', '=DATEDIF(DATE(B1,B2,B3),DATE(C1,C2,C3),\"ym\")')\n    ->setCellValue('D5', '=DATEDIF(DATE(B1,B2,B3),DATE(C1,C2,C3),\"yd\")')\n    ->setCellValue('D6', '=DATEDIF(DATE(B1,B2,B3),DATE(C1,C2,C3),\"md\")');\n\n$retVal = $worksheet->getCell('D1')->getCalculatedValue();\n// $retVal = 3105\n\n$retVal = $worksheet->getCell('D2')->getCalculatedValue();\n// $retVal = 101\n\n$retVal = $worksheet->getCell('D3')->getCalculatedValue();\n// $retVal = 8\n\n$retVal = $worksheet->getCell('D4')->getCalculatedValue();\n// $retVal = 5\n\n$retVal = $worksheet->getCell('D5')->getCalculatedValue();\n// $retVal = 183\n\n$retVal = $worksheet->getCell('D6')->getCalculatedValue();\n// $retVal = 30\n```\n\n```php\n$date1 = 1193317015; // PHP timestamp for 25-Oct-2007\n$date2 = 1449579415; // PHP timestamp for 8-Dec-2015\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEDIF'),\n    array($date1, $date2, 'd')\n);\n// $retVal = 2966\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEDIF'),\n    array($date1, $date2, 'm')\n);\n// $retVal = 97\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEDIF'),\n    array($date1, $date2, 'y')\n);\n// $retVal = 8\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEDIF'),\n    array($date1, $date2, 'ym')\n);\n// $retVal = 1\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEDIF'),\n    array($date1, $date2, 'yd')\n);\n// $retVal = 44\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEDIF'),\n    array($date1, $date2, 'md')\n);\n// $retVal = 13\n```\n\n##### Notes\n\nIf Date1 is later than Date2, DATEDIF will return a #NUM! error.\n\n#### DATEVALUE\n\nThe DATEVALUE function returns the date represented by a date formatted as a text string. Use DATEVALUE to convert a date represented by text to a serial number.\n\n##### Syntax\n\n```\nDATEVALUE(dateString)\n```\n\n##### Parameters\n\n**date** Date String.  \n\nA string, representing a date value.\n\n##### Return Value\n\n**mixed** A date/time stamp that corresponds to the given date.  \n\nThis could be a PHP timestamp value (integer), a PHP date/time object, or an Excel timestamp value (real), depending on the value of PHPExcel_Calculation_Functions::getReturnDateType().\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String');\n    ->setCellValue('A2', '31-Dec-2008')\n    ->setCellValue('A3', '31/12/2008')\n    ->setCellValue('A4', '12-31-2008');\n\n$worksheet->setCellValue('B2', '=DATEVALUE(A2)')\n    ->setCellValue('B3', '=DATEVALUE(A3)')\n    ->setCellValue('B4', '=DATEVALUE(A4)');\n\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n);\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n\n$retVal = $worksheet->getCell('B4')->getCalculatedValue();\n// $retVal = 39813.0 for all cases\n```\n\n```php\n// We're going to be calling the same cell calculation multiple times,\n//    and expecting different return values, so disable calculation cacheing\nPHPExcel_Calculation::getInstance()->setCalculationCacheEnabled(FALSE);\n\n$saveFormat = PHPExcel_Calculation_Functions::getReturnDateType();\n\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n);\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEVALUE'),\n    array('31-Dec-2008')\n);\n// $retVal = 39813.0\n\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC\n);\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DATEVALUE'),\n    array('31-Dec-2008')\n);\n// $retVal = 1230681600\n\nPHPExcel_Calculation_Functions::setReturnDateType($saveFormat);\n```\n\n##### Notes\n\nDATEVALUE uses the php date/time object implementation of strtotime() (which can handle a wider range of formats than the normal strtotime() function), and it is also called for any date parameter passed to other date functions (such as DATEDIF) when the parameter value is a string.\n\n__WARNING:-__ PHPExcel accepts a wider range of date formats than MS Excel, so it is entirely possible that Excel will return a #VALUE! error when passed a date string that it can’t interpret, while PHPExcel is able to translate that same string into a correct date value.\n\nCare should be taken in workbooks that use string formatted dates in calculations when writing to Excel5 or Excel2007.\n\n#### DAY\n\nThe DAY function returns the day of a date. The day is given as an integer ranging from 1 to 31.\n\n##### Syntax\n\n```\nDAY(datetime)\n```\n\n##### Parameters\n\n**datetime** Date. \n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n##### Return Value\n\n**integer** An integer value that reflects the day of the month.\n\nThis is an integer ranging from 1 to 31.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String')\n    ->setCellValue('A2', '31-Dec-2008')\n    ->setCellValue('A3', '14-Feb-2008');\n\n$worksheet->setCellValue('B2', '=DAY(A2)')\n    ->setCellValue('B3', '=DAY(A3)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 31\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 14\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DAYOFMONTH'),\n    array('25-Dec-2008')\n);\n// $retVal = 25\n```\n\n##### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::DAYOFMONTH() when the method is called statically.\n\n#### DAYS360\n\nThe DAYS360 function computes the difference between two dates based on a 360 day year (12 equal periods of 30 days each) used by some accounting systems.\n\n##### Syntax\n\n```\nDAYS360(date1, date2 [, method])\n```\n\n#### Parameters\n\n**date1** First Date.  \n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**date2** Second Date.  \n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**method** A boolean flag (TRUE or FALSE)\n\nThis is a flag that determines which method to use in the calculation, based on the values listed below:\n\n    method | Description\n    -------|------------\n    FALSE  | U.S. (NASD) method. If the starting date is the last day of a month, it becomes equal to the 30th of the same month. If the ending date is the last day of a month and the starting date is earlier than the 30th of a month, the ending date becomes equal to the 1st of the next month; otherwise the ending date becomes equal to the 30th of the same month.\n    TRUE   | European method. Starting dates and ending dates that occur on the 31st of a month become equal to the 30th of the same month.\n\nThe method value defaults to FALSE.\n\n##### Return Value\n\n**integer** An integer value that reflects the difference between the two dates.\n\nThis is the number of full days between the two dates, based on a 360 day year.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('B1', 'Start Date')\n    ->setCellValue('C1', 'End Date')\n    ->setCellValue('A2', 'Year')\n    ->setCellValue('A3', 'Month')\n    ->setCellValue('A4', 'Day');\n\n$worksheet->setCellValue('B2', 2003)\n    ->setCellValue('B3', 2)\n    ->setCellValue('B4', 3);\n\n$worksheet->setCellValue('C2', 2007)\n    ->setCellValue('C3', 5)\n    ->setCellValue('C4', 31);\n\n$worksheet->setCellValue('E2', '=DAYS360(DATE(B2,B3,B4),DATE(C2,C3,C4))')\n    ->setCellValue('E4', '=DAYS360(DATE(B2,B3,B4),DATE(C2,C3,C4),FALSE)');\n\n$retVal = $worksheet->getCell('E2')->getCalculatedValue();\n// $retVal = 1558\n\n$retVal = $worksheet->getCell('E4')->getCalculatedValue();\n// $retVal = 1557\n```\n\n```php\n$date1 = 37655.0; // Excel timestamp for 25-Oct-2007\n$date2 = 39233.0; // Excel timestamp for 8-Dec-2015\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DAYS360'),\n    array($date1, $date2)\n);\n// $retVal = 1558\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DAYS360'),\n    array($date1, $date2, TRUE)\n);\n// $retVal = 1557\n```\n\n##### Notes\n\n__WARNING:-__ This function does not currently work with the Excel5 Writer when a PHP Boolean is used for the third (optional) parameter (as shown in the example above), and the writer will generate and error. It will work if a numeric 0 or 1 is used for the method parameter; or if the Excel TRUE() and FALSE() functions are used instead.\n\n#### EDATE\n\nThe EDATE function returns an Excel timestamp or a PHP timestamp or date object representing the date that is the indicated number of months before or after a specified date (the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of issue.\n\n##### Syntax\n\n```\nEDATE(baseDate, months)\n```\n\n##### Parameters\n\n**baseDate** Start Date.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**months** Number of months to add.\n\nAn integer value indicating the number of months before or after baseDate. A positive value for months yields a future date; a negative value yields a past date.\n\n##### Return Value\n\n**mixed** A date/time stamp that corresponds to the basedate + months.\n\nThis could be a PHP timestamp value (integer), a PHP date/time object, or an Excel timestamp value (real), depending on the value of PHPExcel_Calculation_Functions::getReturnDateType().\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String')\n    ->setCellValue('A2', '1-Jan-2008')\n    ->setCellValue('A3', '29-Feb-2008');\n\n$worksheet->setCellValue('B2', '=EDATE(A2,5)')\n    ->setCellValue('B3', '=EDATE(A3,-12)');\n\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n);\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 39600.0 (1-Jun-2008)\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 39141.0 (28-Feb-2007)\n```\n\n```php\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n);\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'EDATE'),\n    array('31-Oct-2008',25)\n);\n// $retVal = 40512.0 (30-Nov-2010)\n```\n\n###### Notes\n\n__WARNING:-__ This function is currently not supported by the Excel5 Writer because it is not a standard function within Excel 5, but an add-in from the Analysis ToolPak.\n\n#### EOMONTH\n\nThe EOMONTH function returns an Excel timestamp or a PHP timestamp or date object representing the date of the last day of the month that is the indicated number of months before or after a specified date (the start_date). Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month.\n\n##### Syntax\n\n```\nEOMONTH(baseDate, months)\n```\n\n##### Parameters\n\n**baseDate** Start Date.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**months** Number of months to add.\n\nAn integer value indicating the number of months before or after baseDate. A positive value for months yields a future date; a negative value yields a past date.\n\n##### Return Value\n\n**mixed** A date/time stamp that corresponds to the last day of basedate + months.\n\nThis could be a PHP timestamp value (integer), a PHP date/time object, or an Excel timestamp value (real), depending on the value of PHPExcel_Calculation_Functions::getReturnDateType().\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String')\n    ->setCellValue('A2', '1-Jan-2000')\n    ->setCellValue('A3', '14-Feb-2009');\n\n$worksheet->setCellValue('B2', '=EOMONTH(A2,5)')\n    ->setCellValue('B3', '=EOMONTH(A3,-12)');\n\nPHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 39629.0 (30-Jun-2008)\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 39507.0 (29-Feb-2008)\n```\n\n```php\nPHPExcel_Calculation_Functions::setReturnDateType(\n    PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n);\n\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'EOMONTH'),\n    array('31-Oct-2008',13)\n);\n// $retVal = 40147.0 (30-Nov-2010)\n```\n\n##### Notes\n\n__WARNING:-__ This function is currently not supported by the Excel5 Writer because it is not a standard function within Excel 5, but an add-in from the Analysis ToolPak.\n\n#### HOUR\n\nThe HOUR function returns the hour of a time value. The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).\n\n##### Syntax\n\n```\nHOUR(datetime)\n```\n\n##### Parameters\n\n**datetime** Time.\n\nAn Excel date/time value, PHP date timestamp, PHP date object, or a date/time represented as a string.\n\n##### Return Value\n\n**integer** An integer value that reflects the hour of the day.\n\nThis is an integer ranging from 0 to 23.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Time String')\n    ->setCellValue('A2', '31-Dec-2008 17:30')\n    ->setCellValue('A3', '14-Feb-2008 4:20 AM')\n    ->setCellValue('A4', '14-Feb-2008 4:20 PM');\n\n$worksheet->setCellValue('B2', '=HOUR(A2)')\n    ->setCellValue('B3', '=HOUR(A3)')\n    ->setCellValue('B4', '=HOUR(A4)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 17\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 4\n\n$retVal = $worksheet->getCell('B4')->getCalculatedValue();\n// $retVal = 16\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'HOUROFDAY'),\n    array('09:30')\n);\n// $retVal = 9\n```\n\n##### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::HOUROFDAY() when the method is called statically.\n\n#### MINUTE\n\nThe MINUTE function returns the minutes of a time value. The minute is given as an integer, ranging from 0 to 59.\n\n##### Syntax\n\n```\nMINUTE(datetime)\n```\n\n##### Parameters\n\n**datetime** Time.\n\nAn Excel date/time value, PHP date timestamp, PHP date object, or a date/time represented as a string.\n\n##### Return Value\n\n**integer** An integer value that reflects the minutes within the hour.\n\nThis is an integer ranging from 0 to 59.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Time String')\n    ->setCellValue('A2', '31-Dec-2008 17:30')\n    ->setCellValue('A3', '14-Feb-2008 4:20 AM')\n    ->setCellValue('A4', '14-Feb-2008 4:45 PM');\n\n$worksheet->setCellValue('B2', '=MINUTE(A2)')\n    ->setCellValue('B3', '=MINUTE(A3)')\n    ->setCellValue('B4', '=MINUTE(A4)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 30\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 20\n\n$retVal = $worksheet->getCell('B4')->getCalculatedValue();\n// $retVal = 45\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'MINUTEOFHOUR'),\n    array('09:30')\n);\n// $retVal = 30\n```\n\n##### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::MINUTEOFHOUR() when the method is called statically.\n\n#### MONTH\n\nThe MONTH function returns the month of a date. The month is given as an integer ranging from 1 to 12.\n\n##### Syntax\n\n```\nMONTH(datetime)\n```\n\n##### Parameters\n\n**datetime** Date.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n##### Return Value\n\n**integer** An integer value that reflects the month of the year.\n\nThis is an integer ranging from 1 to 12.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String');\n$worksheet->setCellValue('A2', '31-Dec-2008');\n$worksheet->setCellValue('A3', '14-Feb-2008');\n\n$worksheet->setCellValue('B2', '=MONTH(A2)');\n$worksheet->setCellValue('B3', '=MONTH(A3)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 12\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 2\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'MONTHOFYEAR'),\n    array('14-July-2008')\n);\n// $retVal = 7\n```\n\n#### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::MONTHOFYEAR() when the method is called statically.\n\n#### NETWORKDAYS\n\nThe NETWORKDAYS function returns the number of whole working days between a *start date* and an *end date*. Working days exclude weekends and any dates identified in *holidays*. Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days worked during a specific term.\n\n##### Syntax\n\n```\nNETWORKDAYS(startDate, endDate [, holidays])\n```\n\n##### Parameters\n\n**startDate** Start Date of the period.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**endDate** End Date of the period.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**holidays** Optional array of Holiday dates.\n\nAn optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays.\n\nThe list can be either a range of cells that contains the dates or an array constant of Excel date values, PHP date timestamps, PHP date objects, or dates represented as strings.\n\n##### Return Value\n\n**integer** Number of working days.\n\nThe number of working days between startDate and endDate.\n\n##### Examples\n\n```php\n```\n\n```php\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n#### NOW\n\nThe NOW function returns the current date and time.\n\n##### Syntax\n\n```\nNOW()\n```\n\n##### Parameters\n\nThere are now parameters for the NOW() function.\n\n##### Return Value\n\n**mixed** A date/time stamp that corresponds to the current date and time.\n\nThis could be a PHP timestamp value (integer), a PHP date/time object, or an Excel timestamp value (real), depending on the value of PHPExcel_Calculation_Functions::getReturnDateType().\n\n##### Examples\n\n```php\n```\n\n```php\n```\n\n##### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::DATETIMENOW() when the method is called statically.\n\n#### SECOND\n\nThe SECOND function returns the seconds of a time value. The second is given as an integer, ranging from 0 to 59.\n\n##### Syntax\n\n```\nSECOND(datetime)\n```\n\n##### Parameters\n\n**datetime** Time.\n\nAn Excel date/time value, PHP date timestamp, PHP date object, or a date/time represented as a string.\n\n##### Return Value\n\n**integer** An integer value that reflects the seconds within the minute.\n\nThis is an integer ranging from 0 to 59.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Time String')\n    ->setCellValue('A2', '31-Dec-2008 17:30:20')\n    ->setCellValue('A3', '14-Feb-2008 4:20 AM')\n    ->setCellValue('A4', '14-Feb-2008 4:45:59 PM');\n\n$worksheet->setCellValue('B2', '=SECOND(A2)')\n    ->setCellValue('B3', '=SECOND(A3)');\n    ->setCellValue('B4', '=SECOND(A4)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 20\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 0\n\n$retVal = $worksheet->getCell('B4')->getCalculatedValue();\n// $retVal = 59\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'SECONDOFMINUTE'),\n    array('09:30:17')\n);\n// $retVal = 17\n```\n\n##### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::SECONDOFMINUTE() when the method is called statically.\n\n#### TIME\n\nNot yet documented.\n\n#### TIMEVALUE\n\nNot yet documented.\n\n#### TODAY\n\nNot yet documented.\n\n#### WEEKDAY\n\nThe WEEKDAY function returns the day of the week for a given date. The day is given as an integer ranging from 1 to 7, although this can be modified to return a value between 0 and 6.\n\n##### Syntax\n\n```\nWEEKDAY(datetime [, method])\n```\n\n##### Parameters\n\n**datetime** Date.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n**method** An integer flag (values 0, 1 or 2)\n\nThis is a flag that determines which method to use in the calculation, based on the values listed below:\n\n    method | Description\n    :-----:|------------------------------------------\n    0      | Returns 1 (Sunday) through 7 (Saturday).\n    1      | Returns 1 (Monday) through 7 (Sunday).\n    2      | Returns 0 (Monday) through 6 (Sunday).\n\nThe method value defaults to 1.\n\n##### Return Value\n\n**integer** An integer value that reflects the day of the week.\n\nThis is an integer ranging from 1 to 7, or 0 to 6, depending on the value of method.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String')\n    ->setCellValue('A2', '31-Dec-2008')\n    ->setCellValue('A3', '14-Feb-2008');\n\n$worksheet->setCellValue('B2', '=WEEKDAY(A2)')\n    ->setCellValue('B3', '=WEEKDAY(A3,0)')\n    ->setCellValue('B4', '=WEEKDAY(A3,2)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 12\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 2\n\n$retVal = $worksheet->getCell('B4')->getCalculatedValue();\n// $retVal = 2\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'DAYOFWEEK'),\n    array('14-July-2008')\n);\n// $retVal = 7\n```\n\n##### Notes\n\nNote that the PHPExcel function is PHPExcel_Calculation_Functions::DAYOFWEEK() when the method is called statically.\n\n#### WEEKNUM\n\nNot yet documented.\n\n#### WORKDAY\n\nNot yet documented.\n\n#### YEAR\n\nThe YEAR function returns the year of a date.\n\n##### Syntax\n\n```\nYEAR(datetime)\n```\n\n##### Parameters\n\n**datetime** Date.\n\nAn Excel date value, PHP date timestamp, PHP date object, or a date represented as a string.\n\n##### Return Value\n\n**integer** An integer value that reflects the month of the year.\n\nThis is an integer year value.\n\n##### Examples\n\n```php\n$worksheet->setCellValue('A1', 'Date String')\n    ->setCellValue('A2', '17-Jul-1982')\n    ->setCellValue('A3', '16-Apr-2009');\n\n$worksheet->setCellValue('B2', '=YEAR(A2)')\n    ->setCellValue('B3', '=YEAR(A3)');\n\n$retVal = $worksheet->getCell('B2')->getCalculatedValue();\n// $retVal = 1982\n\n$retVal = $worksheet->getCell('B3')->getCalculatedValue();\n// $retVal = 2009\n```\n\n```php\n$retVal = call_user_func_array(\n    array('PHPExcel_Calculation_Functions', 'YEAR'),\n    array('14-July-2001')\n);\n// $retVal = 2001\n```\n\n##### Notes\n\nThere are no additional notes on this function\n\n### YEARFRAC\n\nNot yet documented.\n\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/01-Autofilters.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## AutoFilters\n\nEach worksheet in an Excel Workbook can contain a single autoFilter range. Filtered data displays only the rows that meet criteria that you specify and hides rows that you do not want displayed. You can filter by more than one column: filters are additive, which means that each additional filter is based on the current filter and further reduces the subset of data.\n\n![01-01-autofilter.png](./images/01-01-autofilter.png \"\")\n\nWhen an AutoFilter is applied to a range of cells, the first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless), but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as the developer to avoid such errors.\n\nTo determine if a filter is applied, note the icon in the column heading. A drop-down arrow (![01-03-filter-icon-1.png](./images/01-03-filter-icon-1.png \"\")) means that filtering is enabled but not applied. In MS Excel, when you hover over the heading of a column with filtering enabled but not applied, a screen tip displays the cell text for the first row in that column, and the message \"(Showing All)\".\n\n![01-02-autofilter.png](./images/01-02-autofilter.png \"\")\n\n\nA Filter button (![01-03-filter-icon-2.png](./images/01-03-filter-icon-2.png \"\")) means that a filter is applied. When you hover over the heading of a filtered column, a screen tip displays the filter that has been applied to that column, such as \"Equals a red cell color\" or \"Larger than 150\".\n\n![01-04-autofilter.png](./images/01-04-autofilter.png \"\")\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/02-Setting-an-Autofilter.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Setting an AutoFilter area on a worksheet\n\nTo set an autoFilter on a range of cells.\n\n```php\n$objPHPExcel->getActiveSheet()->setAutoFilter('A1:E20');\n```\n\nThe first row in an autofilter range will be the heading row, which displays the autoFilter dropdown icons. It is not part of the actual autoFiltered data. All subsequent rows are the autoFiltered data. So an AutoFilter range should always contain the heading row and one or more data rows (one data row is pretty meaningless, but PHPExcel won't actually stop you specifying a meaningless range: it's up to you as the developer to avoid such errors.\n\nIf you want to set the whole worksheet as an autofilter region\n\n```php\n$objPHPExcel->getActiveSheet()->setAutoFilter(\n    $objPHPExcel->getActiveSheet()\n        ->calculateWorksheetDimension()\n);\n```\n\nThis enables filtering, but does not actually apply any filters.\n\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/03-Autofilter-Expressions.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Autofilter Expressions\n\nPHPEXcel 1.7.8 introduced the ability to actually create, read and write filter expressions; initially only for Excel2007 files, but later releases will extend this to other formats.\n\nTo apply a filter expression to an autoFilter range, you first need to identify which column you're going to be applying this filter to.\n\n```php\n$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();\n$columnFilter = $autoFilter->getColumn('C');\n```\n\nThis returns an autoFilter column object, and you can then apply filter expressions to that column.\n\nThere are a number of different types of autofilter expressions. The most commonly used are:\n\n - Simple Filters\n - DateGroup Filters\n - Custom filters\n - Dynamic Filters\n - Top Ten Filters\n\nThese different types are mutually exclusive within any single column. You should not mix the different types of filter in the same column. PHPExcel will not actively prevent you from doing this, but the results are unpredictable.\n\nOther filter expression types (such as cell colour filters) are not yet supported.\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/04-01-Autofilter-Expressions-Simple.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Autofilter Expressions\n\n### Simple filters\n\nIn MS Excel, Simple Filters are a dropdown list of all values used in that column, and the user can select which ones they want to display and which ones they want to hide by ticking and unticking the checkboxes alongside each option. When the filter is applied, rows containing the checked entries will be displayed, rows that don't contain those values will be hidden.\n\n![04-01-simple-autofilter.png](./images/04-01-simple-autofilter.png \"\")\n\nTo create a filter expression, we need to start by identifying the filter type. In this case, we're just going to specify that this filter is a standard filter.\n\n```php\n$columnFilter->setFilterType(\n    PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER\n);\n```\n\nNow we've identified the filter type, we can create a filter rule and set the filter values:\n\nWhen creating a simple filter in PHPExcel, you only need to specify the values for \"checked\" columns: you do this by creating a filter rule for each value.\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n        'France'\n    );\n\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n        'Germany'\n    );\n```\n\nThis creates two filter rules: the column will be filtered by values that match “France” OR “Germany”. For Simple Filters, you can create as many rules as you want\n\nSimple filters are always a comparison match of EQUALS, and multiple standard filters are always treated as being joined by an OR condition.\n\n#### Matching Blanks\n\nIf you want to create a filter to select blank cells, you would use:\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n        ''\n    );\n```\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/04-02-Autofilter-Expressions-Dategroup.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Autofilter Expressions\n\n### DateGroup Filters\n\nIn MS Excel, DateGroup filters provide a series of dropdown filter selectors for date values, so you can specify entire years, or months within a year, or individual days within each month.\n\n![04-02-dategroup-autofilter.png](./images/04-02-dategroup-autofilter.png \"\")\n\nDateGroup filters are still applied as a Standard Filter type.\n\n```php\n$columnFilter->setFilterType(\n    PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER\n);\n```\n\nCreating a dateGroup filter in PHPExcel, you specify the values for \"checked\" columns as an associative array of year. month, day, hour minute and second. To select a year and month, you need to create a DateGroup rule identifying the selected year and month:\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n        array(\n            'year' => 2012,\n            'month' => 1\n        )\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP\n    );\n```\n\nThe key values for the associative array are:\n\n - year\n - month\n - day\n - hour\n - minute\n - second\n\nLike Standard filters, DateGroup filters are always a match of EQUALS, and multiple standard filters are always treated as being joined by an OR condition.\n\nNote that we alse specify a ruleType: to differentiate this from a standard filter, we explicitly set the Rule's Type to AUTOFILTER_RULETYPE_DATEGROUP. As with standard filters, we can create any number  of DateGroup Filters.\n\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/04-03-Autofilter-Expressions-Custom.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Autofilter Expressions\n\n### Custom filters\n\nIn MS Excel, Custom filters allow us to select more complex conditions using an operator as well as a value. Typical examples might be values that fall within a range (e.g. between -20 and +20), or text values with wildcards (e.g. beginning with the letter U). To handle this, they\n\n![04-03-custom-autofilter-1.png](./images/04-03-custom-autofilter-1.png \"\")\n\n![04-03-custom-autofilter-2.png](./images/04-03-custom-autofilter-2.png \"\")\n\nCustom filters are limited to 2 rules, and these can be joined using either an AND or an OR.\n\nWe start by specifying a Filter type, this time a CUSTOMFILTER.\n\n```php\n$columnFilter->setFilterType(\n    PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER\n);\n```\n\nAnd then define our rules.\n\nThe following shows a simple wildcard filter to show all column entries beginning with the letter 'U'.\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n        'U*'\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER\n    );\n```\n\nMS Excel uses \\* as a wildcard to match any number of characters, and ? as a wildcard to match a single character. 'U\\*' equates to \"begins with a 'U'\"; '\\*U' equates to \"ends with a 'U'\"; and '\\*U\\*' equates to \"contains a 'U'\"\n\nIf you want to match explicitly against a \\* or a ? character, you can escape it with a tilde (~), so ?~\\*\\* would explicitly match for a \\* character as the second character in the cell value, followed by any number of other characters. The only other character that needs escaping is the ~ itself.\n\nTo create a \"between\" condition, we need to define two rules:\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL,\n        -20\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER\n    );\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL,\n        20\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER\n    );\n```\n\nWe also set the rule type to CUSTOMFILTER.\n\nThis defined two rules, filtering numbers that are >= -20 OR <= 20, so we also need to modify the join condition to reflect AND rather than OR.\n\n```php\n$columnFilter->setAndOr(\n    PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_ANDOR_AND\n);\n```\n\nThe valid set of operators for Custom Filters are defined in the PHPExcel_Worksheet_AutoFilter_Column_Rule class, and comprise:\n\n    Operator Constant                         | Value                |\n    ------------------------------------------|----------------------|\n    AUTOFILTER_COLUMN_RULE_EQUAL              | 'equal'              |\n    AUTOFILTER_COLUMN_RULE_NOTEQUAL           | 'notEqual'           |\n    AUTOFILTER_COLUMN_RULE_GREATERTHAN        | 'greaterThan'        |\n    AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL | 'greaterThanOrEqual' |\n    AUTOFILTER_COLUMN_RULE_LESSTHAN           | 'lessThan'           |\n    AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL    | 'lessThanOrEqual'    |\n\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/04-04-Autofilter-Expressions-Dynamic.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Autofilter Expressions\n\n### Dynamic Filters\n\nDynamic Filters are based on a dynamic comparison condition, where the value we're comparing against the cell values is variable, such as 'today'; or when we're testing against an aggregate of the cell data (e.g. 'aboveAverage'). Only a single dynamic filter can be applied to a column at a time.\n\n![04-04-dynamic-autofilter.png](./images/04-04-dynamic-autofilter.png \"\")\n\nAgain, we start by specifying a Filter type, this time a DYNAMICFILTER.\n\n```php\n$columnFilter->setFilterType(\n    PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER\n);\n```\n\nWhen defining the rule for a dynamic filter, we don't define a value (we can simply set that to NULL) but we do specify the dynamic filter category.\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n        NULL,\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER\n    );\n```\n\nWe also set the rule type to DYNAMICFILTER.\n\nThe valid set of dynamic filter categories is defined in the PHPExcel_Worksheet_AutoFilter_Column_Rule class, and comprises:\n\n    Operator Constant                        | Value          |\n    -----------------------------------------|----------------|\n    AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY    | 'yesterday'    |\n    AUTOFILTER_RULETYPE_DYNAMIC_TODAY        | 'today'        |\n    AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW     | 'tomorrow'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE   | 'yearToDate'   |\n    AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR     | 'thisYear'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER  | 'thisQuarter'  |\n    AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH    | 'thisMonth'    |\n    AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK     | 'thisWeek'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR     | 'lastYear'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER  | 'lastQuarter'  |\n    AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH    | 'lastMonth'    |\n    AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK     | 'lastWeek'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR     | 'nextYear'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER  | 'nextQuarter'  |\n    AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH    | 'nextMonth'    |\n    AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK     | 'nextWeek'     |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1      | 'M1'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_JANUARY      | 'M1'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2      | 'M2'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_FEBRUARY     | 'M2'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3      | 'M3'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MARCH        | 'M3'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4      | 'M4'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_APRIL        | 'M4'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5      | 'M5'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MAY          | 'M5'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6      | 'M6'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_JUNE         | 'M6'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7      | 'M7'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_JULY         | 'M7'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8      | 'M8'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_AUGUST       | 'M8'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9      | 'M9'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_SEPTEMBER    | 'M9'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10     | 'M10'          |\n    AUTOFILTER_RULETYPE_DYNAMIC_OCTOBER      | 'M10'          |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11     | 'M11'          |\n    AUTOFILTER_RULETYPE_DYNAMIC_NOVEMBER     | 'M11'          |\n    AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12     | 'M12'          |\n    AUTOFILTER_RULETYPE_DYNAMIC_DECEMBER     | 'M12'          |\n    AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1    | 'Q1'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2    | 'Q2'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3    | 'Q3'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4    | 'Q4'           |\n    AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE | 'aboveAverage' |\n    AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE | 'belowAverage' |\n\nWe can only apply a single Dynamic Filter rule to a column at a time.\n\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/04-05-Autofilter-Expressions-Topten.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Autofilter Expressions\n\n### Top Ten Filters\n\nTop Ten Filters are similar to Dynamic Filters in that they are based on a summarisation of the actual data values in the cells. However, unlike Dynamic Filters where you can only select a single option, Top Ten Filters allow you to select based on a number of criteria:\n\n![04-05-custom-topten-1.png](./images/04-05-topten-autofilter-1.png \"\")\n\n![04-05-custom-topten-2.png](./images/04-05-topten-autofilter-2.png \"\")\n\nYou can identify whether you want the top (highest) or bottom (lowest) values.You can identify how many values you wish to select in the filterYou can identify whether this should be a percentage or a number of items.\n\nLike Dynamic Filters, only a single Top Ten filter can be applied to a column at a time.\n\nWe start by specifying a Filter type, this time a DYNAMICFILTER.\n\n```php\n$columnFilter->setFilterType(\n    PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER\n);\n```\n\nThen we create the rule:\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT,\n        5,\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER\n    );\n```\n\nThis will filter the Top 5 percent of values in the column.\n\nTo specify the lowest (bottom 2 values), we would specify a rule of:\n\n```php\n$columnFilter->createRule()\n    ->setRule(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE,\n        5,\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM\n    )\n    ->setRuleType(\n        PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER\n    );\n```\n\nThe option values for TopTen Filters top/bottom value/percent are all defined in the PHPExcel_Worksheet_AutoFilter_Column_Rule class, and comprise:\n\n    Operator Constant                      | Value       |\n    ---------------------------------------|-------------|\n    AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE | 'byValue'   |\n    AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT  | 'byPercent' |\n\nand\n\n    Operator Constant                    | Value    |\n    -------------------------------------|----------|\n    AUTOFILTER_COLUMN_RULE_TOPTEN_TOP    | 'top'    |\n    AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM | 'bottom' |\n\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/05-Executing-Autofilters.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## Executing an AutoFilter\n\nWhen an autofilter is applied in MS Excel, it sets the row hidden/visible flags for each row of the autofilter area based on the selected criteria, so that only those rows that match the filter criteria are displayed.\n\nPHPExcel will not execute the equivalent function automatically when you set or change a filter expression, but only when the file is saved.\n\n### Applying the Filter\n\nIf you wish to execute your filter from within a script, you need to do this manually. You can do this using the autofilters showHideRows() method.\n\n```php\n$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();\n$autoFilter->showHideRows();\n```\n\nThis will set all rows that match the filter criteria to visible, while hiding all other rows within the autofilter area.\n\n### Displaying Filtered Rows\n\nSimply looping through the rows in an autofilter area will still access ever row, whether it matches the filter criteria or not. To selectively access only the filtered rows, you need to test each row’s visibility settings.\n\n```php\nforeach ($objPHPExcel->getActiveSheet()->getRowIterator() as $row) {\n    if ($objPHPExcel->getActiveSheet()\n        ->getRowDimension($row->getRowIndex())->getVisible()) {\n        echo '    Row number - ' , $row->getRowIndex() , ' ';\n        echo $objPHPExcel->getActiveSheet()\n            ->getCell(\n                'C'.$row->getRowIndex()\n            )\n            ->getValue(), ' ';\n        echo $objPHPExcel->getActiveSheet()\n            ->getCell(\n                'D'.$row->getRowIndex()\n            )->getFormattedValue(), ' ';\n        echo EOL;\n    }\n}\n```\n"
  },
  {
    "path": "Documentation/markdown/Features/Autofilters/06-Autofilter-Sorting.md",
    "content": "# PHPExcel AutoFilter Reference \n\n\n## AutoFilter Sorting\n\nIn MS Excel, Autofiltering also allows the rows to be sorted. This feature is ***not*** supported by PHPExcel.\n\n"
  },
  {
    "path": "Documentation/markdown/Functions/FunctionListByCategory.md",
    "content": "## CATEGORY_CUBE\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tCUBEKPIMEMBER       | **\\*\\*\\*  Not yet Implemented**\n\tCUBEMEMBER          | **\\*\\*\\*  Not yet Implemented**\n\tCUBEMEMBERPROPERTY  | **\\*\\*\\*  Not yet Implemented**\n\tCUBERANKEDMEMBER    | **\\*\\*\\*  Not yet Implemented**\n\tCUBESET             | **\\*\\*\\*  Not yet Implemented**\n\tCUBESETCOUNT        | **\\*\\*\\*  Not yet Implemented**\n\tCUBEVALUE           | **\\*\\*\\*  Not yet Implemented**\n\n## CATEGORY_DATABASE\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tDAVERAGE            | PHPExcel_Calculation_Database::DAVERAGE\n\tDCOUNT              | PHPExcel_Calculation_Database::DCOUNT\n\tDCOUNTA             | PHPExcel_Calculation_Database::DCOUNTA\n\tDGET                | PHPExcel_Calculation_Database::DGET\n\tDMAX                | PHPExcel_Calculation_Database::DMAX\n\tDMIN                | PHPExcel_Calculation_Database::DMIN\n\tDPRODUCT            | PHPExcel_Calculation_Database::DPRODUCT\n\tDSTDEV              | PHPExcel_Calculation_Database::DSTDEV\n\tDSTDEVP             | PHPExcel_Calculation_Database::DSTDEVP\n\tDSUM                | PHPExcel_Calculation_Database::DSUM\n\tDVAR                | PHPExcel_Calculation_Database::DVAR\n\tDVARP               | PHPExcel_Calculation_Database::DVARP\n\n## CATEGORY_DATE_AND_TIME\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tDATE                | PHPExcel_Calculation_DateTime::DATE\n\tDATEDIF             | PHPExcel_Calculation_DateTime::DATEDIF\n\tDATEVALUE           | PHPExcel_Calculation_DateTime::DATEVALUE\n\tDAY                 | PHPExcel_Calculation_DateTime::DAYOFMONTH\n\tDAYS360             | PHPExcel_Calculation_DateTime::DAYS360\n\tEDATE               | PHPExcel_Calculation_DateTime::EDATE\n\tEOMONTH             | PHPExcel_Calculation_DateTime::EOMONTH\n\tHOUR                | PHPExcel_Calculation_DateTime::HOUROFDAY\n\tMINUTE              | PHPExcel_Calculation_DateTime::MINUTEOFHOUR\n\tMONTH               | PHPExcel_Calculation_DateTime::MONTHOFYEAR\n\tNETWORKDAYS         | PHPExcel_Calculation_DateTime::NETWORKDAYS\n\tNOW                 | PHPExcel_Calculation_DateTime::DATETIMENOW\n\tSECOND              | PHPExcel_Calculation_DateTime::SECONDOFMINUTE\n\tTIME                | PHPExcel_Calculation_DateTime::TIME\n\tTIMEVALUE           | PHPExcel_Calculation_DateTime::TIMEVALUE\n\tTODAY               | PHPExcel_Calculation_DateTime::DATENOW\n\tWEEKDAY             | PHPExcel_Calculation_DateTime::DAYOFWEEK\n\tWEEKNUM             | PHPExcel_Calculation_DateTime::WEEKOFYEAR\n\tWORKDAY             | PHPExcel_Calculation_DateTime::WORKDAY\n\tYEAR                | PHPExcel_Calculation_DateTime::YEAR\n\tYEARFRAC            | PHPExcel_Calculation_DateTime::YEARFRAC\n\n## CATEGORY_ENGINEERING\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tBESSELI             | PHPExcel_Calculation_Engineering::BESSELI\n\tBESSELJ             | PHPExcel_Calculation_Engineering::BESSELJ\n\tBESSELK             | PHPExcel_Calculation_Engineering::BESSELK\n\tBESSELY             | PHPExcel_Calculation_Engineering::BESSELY\n\tBIN2DEC             | PHPExcel_Calculation_Engineering::BINTODEC\n\tBIN2HEX             | PHPExcel_Calculation_Engineering::BINTOHEX\n\tBIN2OCT             | PHPExcel_Calculation_Engineering::BINTOOCT\n\tCOMPLEX             | PHPExcel_Calculation_Engineering::COMPLEX\n\tCONVERT             | PHPExcel_Calculation_Engineering::CONVERTUOM\n\tDEC2BIN             | PHPExcel_Calculation_Engineering::DECTOBIN\n\tDEC2HEX             | PHPExcel_Calculation_Engineering::DECTOHEX\n\tDEC2OCT             | PHPExcel_Calculation_Engineering::DECTOOCT\n\tDELTA               | PHPExcel_Calculation_Engineering::DELTA\n\tERF                 | PHPExcel_Calculation_Engineering::ERF\n\tERFC                | PHPExcel_Calculation_Engineering::ERFC\n\tGESTEP              | PHPExcel_Calculation_Engineering::GESTEP\n\tHEX2BIN             | PHPExcel_Calculation_Engineering::HEXTOBIN\n\tHEX2DEC             | PHPExcel_Calculation_Engineering::HEXTODEC\n\tHEX2OCT             | PHPExcel_Calculation_Engineering::HEXTOOCT\n\tIMABS               | PHPExcel_Calculation_Engineering::IMABS\n\tIMAGINARY           | PHPExcel_Calculation_Engineering::IMAGINARY\n\tIMARGUMENT          | PHPExcel_Calculation_Engineering::IMARGUMENT\n\tIMCONJUGATE         | PHPExcel_Calculation_Engineering::IMCONJUGATE\n\tIMCOS               | PHPExcel_Calculation_Engineering::IMCOS\n\tIMDIV               | PHPExcel_Calculation_Engineering::IMDIV\n\tIMEXP               | PHPExcel_Calculation_Engineering::IMEXP\n\tIMLN                | PHPExcel_Calculation_Engineering::IMLN\n\tIMLOG10             | PHPExcel_Calculation_Engineering::IMLOG10\n\tIMLOG2              | PHPExcel_Calculation_Engineering::IMLOG2\n\tIMPOWER             | PHPExcel_Calculation_Engineering::IMPOWER\n\tIMPRODUCT           | PHPExcel_Calculation_Engineering::IMPRODUCT\n\tIMREAL              | PHPExcel_Calculation_Engineering::IMREAL\n\tIMSIN               | PHPExcel_Calculation_Engineering::IMSIN\n\tIMSQRT              | PHPExcel_Calculation_Engineering::IMSQRT\n\tIMSUB               | PHPExcel_Calculation_Engineering::IMSUB\n\tIMSUM               | PHPExcel_Calculation_Engineering::IMSUM\n\tOCT2BIN             | PHPExcel_Calculation_Engineering::OCTTOBIN\n\tOCT2DEC             | PHPExcel_Calculation_Engineering::OCTTODEC\n\tOCT2HEX             | PHPExcel_Calculation_Engineering::OCTTOHEX\n\n## CATEGORY_FINANCIAL\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tACCRINT             | PHPExcel_Calculation_Financial::ACCRINT\n\tACCRINTM            | PHPExcel_Calculation_Financial::ACCRINTM\n\tAMORDEGRC           | PHPExcel_Calculation_Financial::AMORDEGRC\n\tAMORLINC            | PHPExcel_Calculation_Financial::AMORLINC\n\tCOUPDAYBS           | PHPExcel_Calculation_Financial::COUPDAYBS\n\tCOUPDAYS            | PHPExcel_Calculation_Financial::COUPDAYS\n\tCOUPDAYSNC          | PHPExcel_Calculation_Financial::COUPDAYSNC\n\tCOUPNCD             | PHPExcel_Calculation_Financial::COUPNCD\n\tCOUPNUM             | PHPExcel_Calculation_Financial::COUPNUM\n\tCOUPPCD             | PHPExcel_Calculation_Financial::COUPPCD\n\tCUMIPMT             | PHPExcel_Calculation_Financial::CUMIPMT\n\tCUMPRINC            | PHPExcel_Calculation_Financial::CUMPRINC\n\tDB                  | PHPExcel_Calculation_Financial::DB\n\tDDB                 | PHPExcel_Calculation_Financial::DDB\n\tDISC                | PHPExcel_Calculation_Financial::DISC\n\tDOLLARDE            | PHPExcel_Calculation_Financial::DOLLARDE\n\tDOLLARFR            | PHPExcel_Calculation_Financial::DOLLARFR\n\tDURATION            | **\\*\\*\\*  Not yet Implemented**\n\tEFFECT              | PHPExcel_Calculation_Financial::EFFECT\n\tFV                  | PHPExcel_Calculation_Financial::FV\n\tFVSCHEDULE          | PHPExcel_Calculation_Financial::FVSCHEDULE\n\tINTRATE             | PHPExcel_Calculation_Financial::INTRATE\n\tIPMT                | PHPExcel_Calculation_Financial::IPMT\n\tIRR                 | PHPExcel_Calculation_Financial::IRR\n\tISPMT               | PHPExcel_Calculation_Financial::ISPMT\n\tMDURATION           | **\\*\\*\\*  Not yet Implemented**\n\tMIRR                | PHPExcel_Calculation_Financial::MIRR\n\tNOMINAL             | PHPExcel_Calculation_Financial::NOMINAL\n\tNPER                | PHPExcel_Calculation_Financial::NPER\n\tNPV                 | PHPExcel_Calculation_Financial::NPV\n\tODDFPRICE           | **\\*\\*\\*  Not yet Implemented**\n\tODDFYIELD           | **\\*\\*\\*  Not yet Implemented**\n\tODDLPRICE           | **\\*\\*\\*  Not yet Implemented**\n\tODDLYIELD           | **\\*\\*\\*  Not yet Implemented**\n\tPMT                 | PHPExcel_Calculation_Financial::PMT\n\tPPMT                | PHPExcel_Calculation_Financial::PPMT\n\tPRICE               | PHPExcel_Calculation_Financial::PRICE\n\tPRICEDISC           | PHPExcel_Calculation_Financial::PRICEDISC\n\tPRICEMAT            | PHPExcel_Calculation_Financial::PRICEMAT\n\tPV                  | PHPExcel_Calculation_Financial::PV\n\tRATE                | PHPExcel_Calculation_Financial::RATE\n\tRECEIVED            | PHPExcel_Calculation_Financial::RECEIVED\n\tSLN                 | PHPExcel_Calculation_Financial::SLN\n\tSYD                 | PHPExcel_Calculation_Financial::SYD\n\tTBILLEQ             | PHPExcel_Calculation_Financial::TBILLEQ\n\tTBILLPRICE          | PHPExcel_Calculation_Financial::TBILLPRICE\n\tTBILLYIELD          | PHPExcel_Calculation_Financial::TBILLYIELD\n\tUSDOLLAR            | **\\*\\*\\*  Not yet Implemented**\n\tVDB                 | **\\*\\*\\*  Not yet Implemented**\n\tXIRR                | PHPExcel_Calculation_Financial::XIRR\n\tXNPV                | PHPExcel_Calculation_Financial::XNPV\n\tYIELD               | **\\*\\*\\*  Not yet Implemented**\n\tYIELDDISC           | PHPExcel_Calculation_Financial::YIELDDISC\n\tYIELDMAT            | PHPExcel_Calculation_Financial::YIELDMAT\n\n## CATEGORY_INFORMATION\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tCELL                | **\\*\\*\\*  Not yet Implemented**\n\tERROR.TYPE          | PHPExcel_Calculation_Functions::ERROR_TYPE\n\tINFO                | **\\*\\*\\*  Not yet Implemented**\n\tISBLANK             | PHPExcel_Calculation_Functions::IS_BLANK\n\tISERR               | PHPExcel_Calculation_Functions::IS_ERR\n\tISERROR             | PHPExcel_Calculation_Functions::IS_ERROR\n\tISEVEN              | PHPExcel_Calculation_Functions::IS_EVEN\n\tISLOGICAL           | PHPExcel_Calculation_Functions::IS_LOGICAL\n\tISNA                | PHPExcel_Calculation_Functions::IS_NA\n\tISNONTEXT           | PHPExcel_Calculation_Functions::IS_NONTEXT\n\tISNUMBER            | PHPExcel_Calculation_Functions::IS_NUMBER\n\tISODD               | PHPExcel_Calculation_Functions::IS_ODD\n\tISREF               | **\\*\\*\\*  Not yet Implemented**\n\tISTEXT              | PHPExcel_Calculation_Functions::IS_TEXT\n\tN                   | PHPExcel_Calculation_Functions::N\n\tNA                  | PHPExcel_Calculation_Functions::NA\n\tTYPE                | PHPExcel_Calculation_Functions::TYPE\n\tVERSION             | PHPExcel_Calculation_Functions::VERSION\n\n## CATEGORY_LOGICAL\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tAND                 | PHPExcel_Calculation_Logical::LOGICAL_AND\n\tFALSE               | PHPExcel_Calculation_Logical::FALSE\n\tIF                  | PHPExcel_Calculation_Logical::STATEMENT_IF\n\tIFERROR             | PHPExcel_Calculation_Logical::IFERROR\n\tNOT                 | PHPExcel_Calculation_Logical::NOT\n\tOR                  | PHPExcel_Calculation_Logical::LOGICAL_OR\n\tTRUE                | PHPExcel_Calculation_Logical::TRUE\n\n## CATEGORY_LOOKUP_AND_REFERENCE\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tADDRESS             | PHPExcel_Calculation_LookupRef::CELL_ADDRESS\n\tAREAS               | **\\*\\*\\*  Not yet Implemented**\n\tCHOOSE              | PHPExcel_Calculation_LookupRef::CHOOSE\n\tCOLUMN              | PHPExcel_Calculation_LookupRef::COLUMN\n\tCOLUMNS             | PHPExcel_Calculation_LookupRef::COLUMNS\n\tGETPIVOTDATA        | **\\*\\*\\*  Not yet Implemented**\n\tHLOOKUP             | **\\*\\*\\*  Not yet Implemented**\n\tHYPERLINK           | PHPExcel_Calculation_LookupRef::HYPERLINK\n\tINDEX               | PHPExcel_Calculation_LookupRef::INDEX\n\tINDIRECT            | PHPExcel_Calculation_LookupRef::INDIRECT\n\tLOOKUP              | PHPExcel_Calculation_LookupRef::LOOKUP\n\tMATCH               | PHPExcel_Calculation_LookupRef::MATCH\n\tOFFSET              | PHPExcel_Calculation_LookupRef::OFFSET\n\tROW                 | PHPExcel_Calculation_LookupRef::ROW\n\tROWS                | PHPExcel_Calculation_LookupRef::ROWS\n\tRTD                 | **\\*\\*\\*  Not yet Implemented**\n\tTRANSPOSE           | PHPExcel_Calculation_LookupRef::TRANSPOSE\n\tVLOOKUP             | PHPExcel_Calculation_LookupRef::VLOOKUP\n\n## CATEGORY_MATH_AND_TRIG\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tABS                 | abs\n\tACOS                | acos\n\tACOSH               | acosh\n\tASIN                | asin\n\tASINH               | asinh\n\tATAN                | atan\n\tATAN2               | PHPExcel_Calculation_MathTrig::REVERSE_ATAN2\n\tATANH               | atanh\n\tCEILING             | PHPExcel_Calculation_MathTrig::CEILING\n\tCOMBIN              | PHPExcel_Calculation_MathTrig::COMBIN\n\tCOS                 | cos\n\tCOSH                | cosh\n\tDEGREES             | rad2deg\n\tEVEN                | PHPExcel_Calculation_MathTrig::EVEN\n\tEXP                 | exp\n\tFACT                | PHPExcel_Calculation_MathTrig::FACT\n\tFACTDOUBLE          | PHPExcel_Calculation_MathTrig::FACTDOUBLE\n\tFLOOR               | PHPExcel_Calculation_MathTrig::FLOOR\n\tGCD                 | PHPExcel_Calculation_MathTrig::GCD\n\tINT                 | PHPExcel_Calculation_MathTrig::INT\n\tLCM                 | PHPExcel_Calculation_MathTrig::LCM\n\tLN                  | log\n\tLOG                 | PHPExcel_Calculation_MathTrig::LOG_BASE\n\tLOG10               | log10\n\tMDETERM             | PHPExcel_Calculation_MathTrig::MDETERM\n\tMINVERSE            | PHPExcel_Calculation_MathTrig::MINVERSE\n\tMMULT               | PHPExcel_Calculation_MathTrig::MMULT\n\tMOD                 | PHPExcel_Calculation_MathTrig::MOD\n\tMROUND              | PHPExcel_Calculation_MathTrig::MROUND\n\tMULTINOMIAL         | PHPExcel_Calculation_MathTrig::MULTINOMIAL\n\tODD                 | PHPExcel_Calculation_MathTrig::ODD\n\tPI                  | pi\n\tPOWER               | PHPExcel_Calculation_MathTrig::POWER\n\tPRODUCT             | PHPExcel_Calculation_MathTrig::PRODUCT\n\tQUOTIENT            | PHPExcel_Calculation_MathTrig::QUOTIENT\n\tRADIANS             | deg2rad\n\tRAND                | PHPExcel_Calculation_MathTrig::RAND\n\tRANDBETWEEN         | PHPExcel_Calculation_MathTrig::RAND\n\tROMAN               | PHPExcel_Calculation_MathTrig::ROMAN\n\tROUND               | round\n\tROUNDDOWN           | PHPExcel_Calculation_MathTrig::ROUNDDOWN\n\tROUNDUP             | PHPExcel_Calculation_MathTrig::ROUNDUP\n\tSERIESSUM           | PHPExcel_Calculation_MathTrig::SERIESSUM\n\tSIGN                | PHPExcel_Calculation_MathTrig::SIGN\n\tSIN                 | sin\n\tSINH                | sinh\n\tSQRT                | sqrt\n\tSQRTPI              | PHPExcel_Calculation_MathTrig::SQRTPI\n\tSUBTOTAL            | PHPExcel_Calculation_MathTrig::SUBTOTAL\n\tSUM                 | PHPExcel_Calculation_MathTrig::SUM\n\tSUMIF               | PHPExcel_Calculation_MathTrig::SUMIF\n\tSUMIFS              | **\\*\\*\\*  Not yet Implemented**\n\tSUMPRODUCT          | PHPExcel_Calculation_MathTrig::SUMPRODUCT\n\tSUMSQ               | PHPExcel_Calculation_MathTrig::SUMSQ\n\tSUMX2MY2            | PHPExcel_Calculation_MathTrig::SUMX2MY2\n\tSUMX2PY2            | PHPExcel_Calculation_MathTrig::SUMX2PY2\n\tSUMXMY2             | PHPExcel_Calculation_MathTrig::SUMXMY2\n\tTAN                 | tan\n\tTANH                | tanh\n\tTRUNC               | PHPExcel_Calculation_MathTrig::TRUNC\n\n## CATEGORY_STATISTICAL\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tAVEDEV              | PHPExcel_Calculation_Statistical::AVEDEV\n\tAVERAGE             | PHPExcel_Calculation_Statistical::AVERAGE\n\tAVERAGEA            | PHPExcel_Calculation_Statistical::AVERAGEA\n\tAVERAGEIF           | PHPExcel_Calculation_Statistical::AVERAGEIF\n\tAVERAGEIFS          | **\\*\\*\\*  Not yet Implemented**\n\tBETADIST            | PHPExcel_Calculation_Statistical::BETADIST\n\tBETAINV             | PHPExcel_Calculation_Statistical::BETAINV\n\tBINOMDIST           | PHPExcel_Calculation_Statistical::BINOMDIST\n\tCHIDIST             | PHPExcel_Calculation_Statistical::CHIDIST\n\tCHIINV              | PHPExcel_Calculation_Statistical::CHIINV\n\tCHITEST             | **\\*\\*\\*  Not yet Implemented**\n\tCONFIDENCE          | PHPExcel_Calculation_Statistical::CONFIDENCE\n\tCORREL              | PHPExcel_Calculation_Statistical::CORREL\n\tCOUNT               | PHPExcel_Calculation_Statistical::COUNT\n\tCOUNTA              | PHPExcel_Calculation_Statistical::COUNTA\n\tCOUNTBLANK          | PHPExcel_Calculation_Statistical::COUNTBLANK\n\tCOUNTIF             | PHPExcel_Calculation_Statistical::COUNTIF\n\tCOUNTIFS            | **\\*\\*\\*  Not yet Implemented**\n\tCOVAR               | PHPExcel_Calculation_Statistical::COVAR\n\tCRITBINOM           | PHPExcel_Calculation_Statistical::CRITBINOM\n\tDEVSQ               | PHPExcel_Calculation_Statistical::DEVSQ\n\tEXPONDIST           | PHPExcel_Calculation_Statistical::EXPONDIST\n\tFDIST               | **\\*\\*\\*  Not yet Implemented**\n\tFINV                | **\\*\\*\\*  Not yet Implemented**\n\tFISHER              | PHPExcel_Calculation_Statistical::FISHER\n\tFISHERINV           | PHPExcel_Calculation_Statistical::FISHERINV\n\tFORECAST            | PHPExcel_Calculation_Statistical::FORECAST\n\tFREQUENCY           | **\\*\\*\\*  Not yet Implemented**\n\tFTEST               | **\\*\\*\\*  Not yet Implemented**\n\tGAMMADIST           | PHPExcel_Calculation_Statistical::GAMMADIST\n\tGAMMAINV            | PHPExcel_Calculation_Statistical::GAMMAINV\n\tGAMMALN             | PHPExcel_Calculation_Statistical::GAMMALN\n\tGEOMEAN             | PHPExcel_Calculation_Statistical::GEOMEAN\n\tGROWTH              | PHPExcel_Calculation_Statistical::GROWTH\n\tHARMEAN             | PHPExcel_Calculation_Statistical::HARMEAN\n\tHYPGEOMDIST         | PHPExcel_Calculation_Statistical::HYPGEOMDIST\n\tINTERCEPT           | PHPExcel_Calculation_Statistical::INTERCEPT\n\tKURT                | PHPExcel_Calculation_Statistical::KURT\n\tLARGE               | PHPExcel_Calculation_Statistical::LARGE\n\tLINEST              | PHPExcel_Calculation_Statistical::LINEST\n\tLOGEST              | PHPExcel_Calculation_Statistical::LOGEST\n\tLOGINV              | PHPExcel_Calculation_Statistical::LOGINV\n\tLOGNORMDIST         | PHPExcel_Calculation_Statistical::LOGNORMDIST\n\tMAX                 | PHPExcel_Calculation_Statistical::MAX\n\tMAXA                | PHPExcel_Calculation_Statistical::MAXA\n\tMAXIF               | PHPExcel_Calculation_Statistical::MAXIF\n\tMEDIAN              | PHPExcel_Calculation_Statistical::MEDIAN\n\tMEDIANIF            | **\\*\\*\\*  Not yet Implemented**\n\tMIN                 | PHPExcel_Calculation_Statistical::MIN\n\tMINA                | PHPExcel_Calculation_Statistical::MINA\n\tMINIF               | PHPExcel_Calculation_Statistical::MINIF\n\tMODE                | PHPExcel_Calculation_Statistical::MODE\n\tNEGBINOMDIST        | PHPExcel_Calculation_Statistical::NEGBINOMDIST\n\tNORMDIST            | PHPExcel_Calculation_Statistical::NORMDIST\n\tNORMINV             | PHPExcel_Calculation_Statistical::NORMINV\n\tNORMSDIST           | PHPExcel_Calculation_Statistical::NORMSDIST\n\tNORMSINV            | PHPExcel_Calculation_Statistical::NORMSINV\n\tPEARSON             | PHPExcel_Calculation_Statistical::CORREL\n\tPERCENTILE          | PHPExcel_Calculation_Statistical::PERCENTILE\n\tPERCENTRANK         | PHPExcel_Calculation_Statistical::PERCENTRANK\n\tPERMUT              | PHPExcel_Calculation_Statistical::PERMUT\n\tPOISSON             | PHPExcel_Calculation_Statistical::POISSON\n\tPROB                | **\\*\\*\\*  Not yet Implemented**\n\tQUARTILE            | PHPExcel_Calculation_Statistical::QUARTILE\n\tRANK                | PHPExcel_Calculation_Statistical::RANK\n\tRSQ                 | PHPExcel_Calculation_Statistical::RSQ\n\tSKEW                | PHPExcel_Calculation_Statistical::SKEW\n\tSLOPE               | PHPExcel_Calculation_Statistical::SLOPE\n\tSMALL               | PHPExcel_Calculation_Statistical::SMALL\n\tSTANDARDIZE         | PHPExcel_Calculation_Statistical::STANDARDIZE\n\tSTDEV               | PHPExcel_Calculation_Statistical::STDEV\n\tSTDEVA              | PHPExcel_Calculation_Statistical::STDEVA\n\tSTDEVP              | PHPExcel_Calculation_Statistical::STDEVP\n\tSTDEVPA             | PHPExcel_Calculation_Statistical::STDEVPA\n\tSTEYX               | PHPExcel_Calculation_Statistical::STEYX\n\tTDIST               | PHPExcel_Calculation_Statistical::TDIST\n\tTINV                | PHPExcel_Calculation_Statistical::TINV\n\tTREND               | PHPExcel_Calculation_Statistical::TREND\n\tTRIMMEAN            | PHPExcel_Calculation_Statistical::TRIMMEAN\n\tTTEST               | **\\*\\*\\*  Not yet Implemented**\n\tVAR                 | PHPExcel_Calculation_Statistical::VARFunc\n\tVARA                | PHPExcel_Calculation_Statistical::VARA\n\tVARP                | PHPExcel_Calculation_Statistical::VARP\n\tVARPA               | PHPExcel_Calculation_Statistical::VARPA\n\tWEIBULL             | PHPExcel_Calculation_Statistical::WEIBULL\n\tZTEST               | PHPExcel_Calculation_Statistical::ZTEST\n\n## CATEGORY_TEXT_AND_DATA\n\n    Excel Function      | PHPExcel Function\n    --------------------|-------------------------------------------\n\tASC                 | **\\*\\*\\*  Not yet Implemented**\n\tBAHTTEXT            | **\\*\\*\\*  Not yet Implemented**\n\tCHAR                | PHPExcel_Calculation_TextData::CHARACTER\n\tCLEAN               | PHPExcel_Calculation_TextData::TRIMNONPRINTABLE\n\tCODE                | PHPExcel_Calculation_TextData::ASCIICODE\n\tCONCATENATE         | PHPExcel_Calculation_TextData::CONCATENATE\n\tDOLLAR              | PHPExcel_Calculation_TextData::DOLLAR\n\tEXACT               | **\\*\\*\\*  Not yet Implemented**\n\tFIND                | PHPExcel_Calculation_TextData::SEARCHSENSITIVE\n\tFINDB               | PHPExcel_Calculation_TextData::SEARCHSENSITIVE\n\tFIXED               | PHPExcel_Calculation_TextData::FIXEDFORMAT\n\tJIS                 | **\\*\\*\\*  Not yet Implemented**\n\tLEFT                | PHPExcel_Calculation_TextData::LEFT\n\tLEFTB               | PHPExcel_Calculation_TextData::LEFT\n\tLEN                 | PHPExcel_Calculation_TextData::STRINGLENGTH\n\tLENB                | PHPExcel_Calculation_TextData::STRINGLENGTH\n\tLOWER               | PHPExcel_Calculation_TextData::LOWERCASE\n\tMID                 | PHPExcel_Calculation_TextData::MID\n\tMIDB                | PHPExcel_Calculation_TextData::MID\n\tPHONETIC            | **\\*\\*\\*  Not yet Implemented**\n\tPROPER              | PHPExcel_Calculation_TextData::PROPERCASE\n\tREPLACE             | PHPExcel_Calculation_TextData::REPLACE\n\tREPLACEB            | PHPExcel_Calculation_TextData::REPLACE\n\tREPT                | str_repeat\n\tRIGHT               | PHPExcel_Calculation_TextData::RIGHT\n\tRIGHTB              | PHPExcel_Calculation_TextData::RIGHT\n\tSEARCH              | PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\n\tSEARCHB             | PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\n\tSUBSTITUTE          | PHPExcel_Calculation_TextData::SUBSTITUTE\n\tT                   | PHPExcel_Calculation_TextData::RETURNSTRING\n\tTEXT                | PHPExcel_Calculation_TextData::TEXTFORMAT\n\tTRIM                | PHPExcel_Calculation_TextData::TRIMSPACES\n\tUPPER               | PHPExcel_Calculation_TextData::UPPERCASE\n\tVALUE               | **\\*\\*\\*  Not yet Implemented**\n\n"
  },
  {
    "path": "Documentation/markdown/Functions/FunctionListByName.md",
    "content": "#A\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    ABS                 | CATEGORY_MATH_AND_TRIG         | abs\n    ACCRINT             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::ACCRINT\n    ACCRINTM            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::ACCRINTM\n    ACOS                | CATEGORY_MATH_AND_TRIG         | acos\n    ACOSH               | CATEGORY_MATH_AND_TRIG         | acosh\n    ADDRESS             | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::CELL_ADDRESS\n    AMORDEGRC           | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::AMORDEGRC\n    AMORLINC            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::AMORLINC\n    AND                 | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::LOGICAL_AND\n    AREAS               | CATEGORY_LOOKUP_AND_REFERENCE  | **\\*\\*\\*  Not yet Implemented**\n    ASC                 | CATEGORY_TEXT_AND_DATA         | **\\*\\*\\*  Not yet Implemented**\n    ASIN                | CATEGORY_MATH_AND_TRIG         | asin\n    ASINH               | CATEGORY_MATH_AND_TRIG         | asinh\n    ATAN                | CATEGORY_MATH_AND_TRIG         | atan\n    ATAN2               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::REVERSE_ATAN2\n    ATANH               | CATEGORY_MATH_AND_TRIG         | atanh\n    AVEDEV              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::AVEDEV\n    AVERAGE             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::AVERAGE\n    AVERAGEA            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::AVERAGEA\n    AVERAGEIF           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::AVERAGEIF\n    AVERAGEIFS          | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n  \n#B\n  \n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    BAHTTEXT            | CATEGORY_TEXT_AND_DATA         | **\\*\\*\\*  Not yet Implemented**\n    BESSELI             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BESSELI\n    BESSELJ             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BESSELJ\n    BESSELK             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BESSELK\n    BESSELY             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BESSELY\n    BETADIST            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::BETADIST\n    BETAINV             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::BETAINV\n    BIN2DEC             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BINTODEC\n    BIN2HEX             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BINTOHEX\n    BIN2OCT             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::BINTOOCT\n    BINOMDIST           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::BINOMDIST\n\n#C\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    CEILING             | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::CEILING\n    CELL                | CATEGORY_INFORMATION           | **\\*\\*\\*  Not yet Implemented**\n    CHAR                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::CHARACTER\n    CHIDIST             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::CHIDIST\n    CHIINV              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::CHIINV\n    CHITEST             | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    CHOOSE              | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::CHOOSE\n    CLEAN               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::TRIMNONPRINTABLE\n    CODE                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::ASCIICODE\n    COLUMN              | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::COLUMN\n    COLUMNS             | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::COLUMNS\n    COMBIN              | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::COMBIN\n    COMPLEX             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::COMPLEX\n    CONCATENATE         | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::CONCATENATE\n    CONFIDENCE          | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::CONFIDENCE\n    CONVERT             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::CONVERTUOM\n    CORREL              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::CORREL\n    COS                 | CATEGORY_MATH_AND_TRIG         | cos\n    COSH                | CATEGORY_MATH_AND_TRIG         | cosh\n    COUNT               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::COUNT\n    COUNTA              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::COUNTA\n    COUNTBLANK          | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::COUNTBLANK\n    COUNTIF             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::COUNTIF\n    COUNTIFS            | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    COUPDAYBS           | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::COUPDAYBS\n    COUPDAYS            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::COUPDAYS\n    COUPDAYSNC          | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::COUPDAYSNC\n    COUPNCD             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::COUPNCD\n    COUPNUM             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::COUPNUM\n    COUPPCD             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::COUPPCD\n    COVAR               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::COVAR\n    CRITBINOM           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::CRITBINOM\n    CUBEKPIMEMBER       | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUBEMEMBER          | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUBEMEMBERPROPERTY  | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUBERANKEDMEMBER    | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUBESET             | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUBESETCOUNT        | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUBEVALUE           | CATEGORY_CUBE                  | **\\*\\*\\*  Not yet Implemented**\n    CUMIPMT             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::CUMIPMT\n    CUMPRINC            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::CUMPRINC\n\n#D\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    DATE                | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DATE\n    DATEDIF             | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DATEDIF\n    DATEVALUE           | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DATEVALUE\n    DAVERAGE            | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DAVERAGE\n    DAY                 | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DAYOFMONTH\n    DAYS360             | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DAYS360\n    DB                  | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::DB\n    DCOUNT              | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DCOUNT\n    DCOUNTA             | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DCOUNTA\n    DDB                 | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::DDB\n    DEC2BIN             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::DECTOBIN\n    DEC2HEX             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::DECTOHEX\n    DEC2OCT             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::DECTOOCT\n    DEGREES             | CATEGORY_MATH_AND_TRIG         | rad2deg\n    DELTA               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::DELTA\n    DEVSQ               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::DEVSQ\n    DGET                | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DGET\n    DISC                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::DISC\n    DMAX                | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DMAX\n    DMIN                | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DMIN\n    DOLLAR              | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::DOLLAR\n    DOLLARDE            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::DOLLARDE\n    DOLLARFR            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::DOLLARFR\n    DPRODUCT            | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DPRODUCT\n    DSTDEV              | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DSTDEV\n    DSTDEVP             | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DSTDEVP\n    DSUM                | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DSUM\n    DURATION            | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    DVAR                | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DVAR\n    DVARP               | CATEGORY_DATABASE              | PHPExcel_Calculation_Database::DVARP\n\n#E\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    EDATE               | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::EDATE\n    EFFECT              | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::EFFECT\n    EOMONTH             | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::EOMONTH\n    ERF                 | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::ERF\n    ERFC                | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::ERFC\n    ERROR.TYPE          | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::ERROR_TYPE\n    EVEN                | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::EVEN\n    EXACT               | CATEGORY_TEXT_AND_DATA         | **\\*\\*\\*  Not yet Implemented**\n    EXP                 | CATEGORY_MATH_AND_TRIG         | exp\n    EXPONDIST           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::EXPONDIST\n\n#F\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    FACT                | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::FACT\n    FACTDOUBLE          | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::FACTDOUBLE\n    FALSE               | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::FALSE\n    FDIST               | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    FIND                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::SEARCHSENSITIVE\n    FINDB               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::SEARCHSENSITIVE\n    FINV                | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    FISHER              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::FISHER\n    FISHERINV           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::FISHERINV\n    FIXED               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::FIXEDFORMAT\n    FLOOR               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::FLOOR\n    FORECAST            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::FORECAST\n    FREQUENCY           | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    FTEST               | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    FV                  | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::FV\n    FVSCHEDULE          | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::FVSCHEDULE\n\n#G\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    GAMMADIST           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::GAMMADIST\n    GAMMAINV            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::GAMMAINV\n    GAMMALN             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::GAMMALN\n    GCD                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::GCD\n    GEOMEAN             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::GEOMEAN\n    GESTEP              | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::GESTEP\n    GETPIVOTDATA        | CATEGORY_LOOKUP_AND_REFERENCE  | **\\*\\*\\*  Not yet Implemented**\n    GROWTH              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::GROWTH\n\n#H\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    HARMEAN             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::HARMEAN\n    HEX2BIN             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::HEXTOBIN\n    HEX2DEC             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::HEXTODEC\n    HEX2OCT             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::HEXTOOCT\n    HLOOKUP             | CATEGORY_LOOKUP_AND_REFERENCE  | **\\*\\*\\*  Not yet Implemented**\n    HOUR                | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::HOUROFDAY\n    HYPERLINK           | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::HYPERLINK\n    HYPGEOMDIST         | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::HYPGEOMDIST\n\n#I\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    IF                  | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::STATEMENT_IF\n    IFERROR             | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::IFERROR\n    IMABS               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMABS\n    IMAGINARY           | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMAGINARY\n    IMARGUMENT          | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMARGUMENT\n    IMCONJUGATE         | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMCONJUGATE\n    IMCOS               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMCOS\n    IMDIV               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMDIV\n    IMEXP               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMEXP\n    IMLN                | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMLN\n    IMLOG10             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMLOG10\n    IMLOG2              | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMLOG2\n    IMPOWER             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMPOWER\n    IMPRODUCT           | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMPRODUCT\n    IMREAL              | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMREAL\n    IMSIN               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMSIN\n    IMSQRT              | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMSQRT\n    IMSUB               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMSUB\n    IMSUM               | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::IMSUM\n    INDEX               | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::INDEX\n    INDIRECT            | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::INDIRECT\n    INFO                | CATEGORY_INFORMATION           | **\\*\\*\\*  Not yet Implemented**\n    INT                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::INT\n    INTERCEPT           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::INTERCEPT\n    INTRATE             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::INTRATE\n    IPMT                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::IPMT\n    IRR                 | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::IRR\n    ISBLANK             | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_BLANK\n    ISERR               | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_ERR\n    ISERROR             | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_ERROR\n    ISEVEN              | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_EVEN\n    ISLOGICAL           | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_LOGICAL\n    ISNA                | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_NA\n    ISNONTEXT           | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_NONTEXT\n    ISNUMBER            | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_NUMBER\n    ISODD               | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_ODD\n    ISPMT               | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::ISPMT\n    ISREF               | CATEGORY_INFORMATION           | **\\*\\*\\*  Not yet Implemented**\n    ISTEXT              | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::IS_TEXT\n\n#J\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    JIS                 | CATEGORY_TEXT_AND_DATA         | **\\*\\*\\*  Not yet Implemented**\n\n#K\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    KURT                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::KURT\n\n#L\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    LARGE               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::LARGE\n    LCM                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::LCM\n    LEFT                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::LEFT\n    LEFTB               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::LEFT\n    LEN                 | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::STRINGLENGTH\n    LENB                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::STRINGLENGTH\n    LINEST              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::LINEST\n    LN                  | CATEGORY_MATH_AND_TRIG         | log\n    LOG                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::LOG_BASE\n    LOG10               | CATEGORY_MATH_AND_TRIG         | log10\n    LOGEST              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::LOGEST\n    LOGINV              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::LOGINV\n    LOGNORMDIST         | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::LOGNORMDIST\n    LOOKUP              | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::LOOKUP\n    LOWER               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::LOWERCASE\n\n#M\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    MATCH               | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::MATCH\n    MAX                 | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MAX\n    MAXA                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MAXA\n    MAXIF               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MAXIF\n    MDETERM             | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::MDETERM\n    MDURATION           | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    MEDIAN              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MEDIAN\n    MEDIANIF            | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    MID                 | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::MID\n    MIDB                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::MID\n    MIN                 | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MIN\n    MINA                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MINA\n    MINIF               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MINIF\n    MINUTE              | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::MINUTEOFHOUR\n    MINVERSE            | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::MINVERSE\n    MIRR                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::MIRR\n    MMULT               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::MMULT\n    MOD                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::MOD\n    MODE                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::MODE\n    MONTH               | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::MONTHOFYEAR\n    MROUND              | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::MROUND\n    MULTINOMIAL         | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::MULTINOMIAL\n\n#N\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    N                   | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::N\n    NA                  | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::NA\n    NEGBINOMDIST        | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::NEGBINOMDIST\n    NETWORKDAYS         | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::NETWORKDAYS\n    NOMINAL             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::NOMINAL\n    NORMDIST            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::NORMDIST\n    NORMINV             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::NORMINV\n    NORMSDIST           | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::NORMSDIST\n    NORMSINV            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::NORMSINV\n    NOT                 | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::NOT\n    NOW                 | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DATETIMENOW\n    NPER                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::NPER\n    NPV                 | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::NPV\n\n#O\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    OCT2BIN             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::OCTTOBIN\n    OCT2DEC             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::OCTTODEC\n    OCT2HEX             | CATEGORY_ENGINEERING           | PHPExcel_Calculation_Engineering::OCTTOHEX\n    ODD                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::ODD\n    ODDFPRICE           | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    ODDFYIELD           | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    ODDLPRICE           | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    ODDLYIELD           | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    OFFSET              | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::OFFSET\n    OR                  | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::LOGICAL_OR\n\n#P\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    PEARSON             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::CORREL\n    PERCENTILE          | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::PERCENTILE\n    PERCENTRANK         | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::PERCENTRANK\n    PERMUT              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::PERMUT\n    PHONETIC            | CATEGORY_TEXT_AND_DATA         | **\\*\\*\\*  Not yet Implemented**\n    PI                  | CATEGORY_MATH_AND_TRIG         | pi\n    PMT                 | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::PMT\n    POISSON             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::POISSON\n    POWER               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::POWER\n    PPMT                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::PPMT\n    PRICE               | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::PRICE\n    PRICEDISC           | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::PRICEDISC\n    PRICEMAT            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::PRICEMAT\n    PROB                | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    PRODUCT             | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::PRODUCT\n    PROPER              | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::PROPERCASE\n    PV                  | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::PV\n\n#Q\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    QUARTILE            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::QUARTILE\n    QUOTIENT            | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::QUOTIENT\n\n#R\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    RADIANS             | CATEGORY_MATH_AND_TRIG         | deg2rad\n    RAND                | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::RAND\n    RANDBETWEEN         | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::RAND\n    RANK                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::RANK\n    RATE                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::RATE\n    RECEIVED            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::RECEIVED\n    REPLACE             | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::REPLACE\n    REPLACEB            | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::REPLACE\n    REPT                | CATEGORY_TEXT_AND_DATA         | str_repeat\n    RIGHT               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::RIGHT\n    RIGHTB              | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::RIGHT\n    ROMAN               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::ROMAN\n    ROUND               | CATEGORY_MATH_AND_TRIG         | round\n    ROUNDDOWN           | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::ROUNDDOWN\n    ROUNDUP             | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::ROUNDUP\n    ROW                 | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::ROW\n    ROWS                | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::ROWS\n    RSQ                 | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::RSQ\n    RTD                 | CATEGORY_LOOKUP_AND_REFERENCE  | **\\*\\*\\*  Not yet Implemented**\n\n#S\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    SEARCH              | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\n    SEARCHB             | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::SEARCHINSENSITIVE\n    SECOND              | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::SECONDOFMINUTE\n    SERIESSUM           | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SERIESSUM\n    SIGN                | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SIGN\n    SIN                 | CATEGORY_MATH_AND_TRIG         | sin\n    SINH                | CATEGORY_MATH_AND_TRIG         | sinh\n    SKEW                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::SKEW\n    SLN                 | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::SLN\n    SLOPE               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::SLOPE\n    SMALL               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::SMALL\n    SQRT                | CATEGORY_MATH_AND_TRIG         | sqrt\n    SQRTPI              | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SQRTPI\n    STANDARDIZE         | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::STANDARDIZE\n    STDEV               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::STDEV\n    STDEVA              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::STDEVA\n    STDEVP              | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::STDEVP\n    STDEVPA             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::STDEVPA\n    STEYX               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::STEYX\n    SUBSTITUTE          | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::SUBSTITUTE\n    SUBTOTAL            | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUBTOTAL\n    SUM                 | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUM\n    SUMIF               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUMIF\n    SUMIFS              | CATEGORY_MATH_AND_TRIG         | **\\*\\*\\*  Not yet Implemented**\n    SUMPRODUCT          | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUMPRODUCT\n    SUMSQ               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUMSQ\n    SUMX2MY2            | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUMX2MY2\n    SUMX2PY2            | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUMX2PY2\n    SUMXMY2             | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::SUMXMY2\n    SYD                 | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::SYD\n\n#T\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    T                   | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::RETURNSTRING\n    TAN                 | CATEGORY_MATH_AND_TRIG         | tan\n    TANH                | CATEGORY_MATH_AND_TRIG         | tanh\n    TBILLEQ             | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::TBILLEQ\n    TBILLPRICE          | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::TBILLPRICE\n    TBILLYIELD          | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::TBILLYIELD\n    TDIST               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::TDIST\n    TEXT                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::TEXTFORMAT\n    TIME                | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::TIME\n    TIMEVALUE           | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::TIMEVALUE\n    TINV                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::TINV\n    TODAY               | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DATENOW\n    TRANSPOSE           | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::TRANSPOSE\n    TREND               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::TREND\n    TRIM                | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::TRIMSPACES\n    TRIMMEAN            | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::TRIMMEAN\n    TRUE                | CATEGORY_LOGICAL               | PHPExcel_Calculation_Logical::TRUE\n    TRUNC               | CATEGORY_MATH_AND_TRIG         | PHPExcel_Calculation_MathTrig::TRUNC\n    TTEST               | CATEGORY_STATISTICAL           | **\\*\\*\\*  Not yet Implemented**\n    TYPE                | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::TYPE\n\n#U\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    UPPER               | CATEGORY_TEXT_AND_DATA         | PHPExcel_Calculation_TextData::UPPERCASE\n    USDOLLAR            | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n\n#V\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    VALUE               | CATEGORY_TEXT_AND_DATA         | **\\*\\*\\*  Not yet Implemented**\n    VAR                 | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::VARFunc\n    VARA                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::VARA\n    VARP                | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::VARP\n    VARPA               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::VARPA\n    VDB                 | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    VERSION             | CATEGORY_INFORMATION           | PHPExcel_Calculation_Functions::VERSION\n    VLOOKUP             | CATEGORY_LOOKUP_AND_REFERENCE  | PHPExcel_Calculation_LookupRef::VLOOKUP\n\n#W\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    WEEKDAY             | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::DAYOFWEEK\n    WEEKNUM             | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::WEEKOFYEAR\n    WEIBULL             | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::WEIBULL\n    WORKDAY             | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::WORKDAY\n\n#X\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    XIRR                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::XIRR\n    XNPV                | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::XNPV\n\n#Y\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    YEAR                | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::YEAR\n    YEARFRAC            | CATEGORY_DATE_AND_TIME         | PHPExcel_Calculation_DateTime::YEARFRAC\n    YIELD               | CATEGORY_FINANCIAL             | **\\*\\*\\*  Not yet Implemented**\n    YIELDDISC           | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::YIELDDISC\n    YIELDMAT            | CATEGORY_FINANCIAL             | PHPExcel_Calculation_Financial::YIELDMAT\n\n#Z\n\n    Excel Function      | Category                       | PHPExcel Function\n    --------------------|--------------------------------|-------------------------------------------\n    ZTEST               | CATEGORY_STATISTICAL           | PHPExcel_Calculation_Statistical::ZTEST\n"
  },
  {
    "path": "Documentation/markdown/Overview/01-Getting-Started.md",
    "content": "# PHPExcel Developer Documentation\n\n\n## Prerequisites, Installation, FAQ and Links\n\n### Software requirements\n\nThe following software is required to develop using PHPExcel:\n\n - PHP version 5.2.0 or newer\n - PHP extension php_zip enabled [^phpzip_footnote]\n - PHP extension php_xml enabled\n - PHP extension php_gd2 enabled (if not compiled in)\n\n\n### Installation instructions\n\nInstallation is quite easy: copy the contents of the Classes folder to any location within your application source directories.\n\n*Example:*\n\nIf your web root folder is /var/www/ you may want to create a subfolder called /var/www/Classes/ and copy the files into that folder so you end up with files:\n\n    /var/www/Classes/PHPExcel.php  \n    /var/www/Classes/PHPExcel/Calculation.php  \n    /var/www/Classes/PHPExcel/Cell.php  \n    ...  \n\n\n### Getting started\n\nA good way to get started is to run some of the tests included in the download.  \nCopy the \"Examples\" folder next to your \"Classes\" folder from above so you end up with:\n\n    /var/www/Examples/01simple.php  \n    /var/www/Examples/02types.php  \n    ...  \n\nStart running the tests by pointing your browser to the test scripts:\n\nhttp://example.com/Tests/01simple.php  \nhttp://example.com/Tests/02types.php  \n...  \n\n**Note:** It may be necessary to modify the include/require statements at the beginning of each of the test scripts if your \"Classes\" folder from above is named differently.\n\n\n### Useful links and tools\n\nThere are some links and tools which are very useful when developing using PHPExcel. Please refer to the [PHPExcel CodePlex pages][2] for an update version of the list below.\n\n#### OpenXML / SpreadsheetML\n\n - __File format documentation__  \n[http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm][3]\n - __OpenXML Explained e-book__  \n[http://openxmldeveloper.org/articles/1970.aspx][4] \n - __Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats__  \n[http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en][5]\n - __OpenXML Package Explorer__  \n[http://www.codeplex.com/PackageExplorer/][6]\n\n\n### Frequently asked questions\n\nThe up-to-date F.A.Q. page for PHPExcel can be found on [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements][7].\n\n##### There seems to be a problem with character encoding...\n\nIt is necessary to use UTF-8 encoding for all texts in PHPExcel. If the script uses different encoding then you can convert those texts with PHP's iconv() or mb_convert_encoding() functions.\n\n##### PHP complains about ZipArchive not being found\n\nMake sure you meet all requirements, especially php_zip extension should be enabled.\n\nThe ZipArchive class is only required when reading or writing formats that use Zip compression (Excel2007 and OOCalc). Since version 1.7.6 the PCLZip library has been bundled with PHPExcel as an alternative to the ZipArchive class.\n\nThis can be enabled by calling:\n```php\nPHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP);\n```\n*before* calling the save method of the Excel2007 Writer.\n\nYou can revert to using ZipArchive by calling:\n```php\nPHPExcel_Settings::setZipClass(PHPExcel_Settings::ZIPARCHIVE);\n```\nAt present, this only allows you to write Excel2007 files without the need for ZipArchive (not to read Excel2007 or OOCalc)\n\n##### Excel 2007 cannot open the file generated by PHPExcel_Writer_2007 on Windows\n\n\"Excel found unreadable content in '*.xlsx'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes.\"\n\nSome older versions of the 5.2.x php_zip extension on Windows contain an error when creating ZIP files. The version that can be found on [http://snaps.php.net/win32/php5.2-win32-latest.zip][8] should work at all times.\n\nAlternatively, upgrading to at least PHP 5.2.9 should solve the problem.\n\nIf you can't locate a clean copy of ZipArchive, then you can use the PCLZip library as an alternative when writing Excel2007 files, as described above.\n\n##### Fatal error: Allowed memory size of xxx bytes exhausted (tried to allocate yyy bytes) in zzz on line aaa\n\nPHPExcel holds an \"in memory\" representation of a spreadsheet, so it is susceptible to PHP's memory limitations. The memory made available to PHP can be increased by editing the value of the memory_limit directive in your php.ini file, or by using ini_set('memory_limit', '128M') within your code (ISP permitting).\n\nSome Readers and Writers are faster than others, and they also use differing amounts of memory. You can find some indication of the relative performance and memory usage for the different Readers and Writers, over the different versions of PHPExcel, on the [discussion board][9].\n\nIf you've already increased memory to a maximum, or can't change your memory limit, then [this discussion][10] on the board describes some of the methods that can be applied to reduce the memory usage of your scripts using PHPExcel.\n\n##### Protection on my worksheet is not working?\n\nWhen you make use of any of the worksheet protection features (e.g. cell range protection, prohibiting deleting rows, ...), make sure you enable worksheet security. This can for example be done like this:\n```php\n$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);\n```\n\n##### Feature X is not working with PHPExcel_Reader_Y / PHPExcel_Writer_Z\n\nNot all features of PHPExcel are implemented in all of the Reader / Writer classes. This is mostly due to underlying libraries not supporting a specific feature or not having implemented a specific feature.\n\nFor example autofilter is not implemented in PEAR Spreadsheet_Excel_writer, which is the base of our Excel5 writer.\n\nWe are slowly building up a list of features, together with the different readers and writers that support them, in the \"Functionality Cross-Reference.xls\" file in the /Documentation folder.\n\n##### Formulas don't seem to be calculated in Excel2003 using compatibility pack?\n\nThis is normal behaviour of the compatibility pack, Excel2007 displays this correctly. Use PHPExcel_Writer_Excel5 if you really need calculated values, or force recalculation in Excel2003.\n\n##### Setting column width is not 100% accurate\n\nTrying to set column width, I experience one problem. When I open the file in Excel, the actual width is 0.71 less than it should be.\n\nThe short answer is that PHPExcel uses a measure where padding is included. See section: \"Setting a column's width\" for more details.\n\n##### How do I use PHPExcel with my framework\n\n - There are some instructions for using PHPExcel with Joomla on the [Joomla message board][11]\n - A page of advice on using [PHPExcel in the Yii framework][12]\n - [The Bakery][13] has some helper classes for reading and writing with PHPExcel within CakePHP\n - Integrating [PHPExcel into Kohana 3][14] and [?????????? PHPExcel ? Kohana Framework][15]\n - Using [PHPExcel with Typo3][16]\n\n##### Joomla Autoloader interferes with PHPExcel Autoloader\n\nThanks to peterrlynch for the following advice on resolving issues between the [PHPExcel autoloader and Joomla Autoloader][17]\n\n\n#### Tutorials\n\n - __English PHPExcel tutorial__  \n   [http://openxmldeveloper.org][18]\n - __French PHPExcel tutorial__  \n   [http://g-ernaelsten.developpez.com/tutoriels/excel2007/][19]\n - __A Japanese-language introduction to PHPExcel__  \n  [http://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html][21]\n\n\n  [2]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Documents&referringTitle=Home\n  [3]: http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm\n  [4]: http://openxmldeveloper.org/articles/1970.aspx\n  [5]: http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en\n  [6]: http://www.codeplex.com/PackageExplorer/\n  [7]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=FAQ&referringTitle=Requirements\n  [8]: http://snaps.php.net/win32/php5.2-win32-latest.zip\n  [9]: http://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=234150\n  [10]: http://phpexcel.codeplex.com/Thread/View.aspx?ThreadId=242712\n  [11]: http://http:/forum.joomla.org/viewtopic.php?f=304&t=433060\n  [12]: http://www.yiiframework.com/wiki/101/how-to-use-phpexcel-external-library-with-yii/\n  [13]: http://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper\n  [14]: http://www.flynsarmy.com/2010/07/phpexcel-module-for-kohana-3/\n  [15]: http://szpargalki.blogspot.com/2011/02/phpexcel-kohana-framework.html\n  [16]: http://typo3.org/documentation/document-library/extension-manuals/phpexcel_library/1.1.1/view/toc/0/\n  [17]: http://phpexcel.codeplex.com/discussions/211925\n  [18]: http://openxmldeveloper.org\n  [19]: http://g-ernaelsten.developpez.com/tutoriels/excel2007/\n  [20]: http://www.web-junior.net/sozdanie-excel-fajjlov-s-pomoshhyu-phpexcel/\n  [21]: http://journal.mycom.co.jp/articles/2009/03/06/phpexcel/index.html\n\n\n[^phpzip_footnote]: __php_zip__ is only needed by __PHPExcel_Reader_Excel2007__, __PHPExcel_Writer_Excel2007__ and __PHPExcel_Reader_OOCalc__. In other words, if you need PHPExcel to handle .xlsx or .ods files you will need the zip extension, but otherwise not.<br />You can remove this dependency for writing Excel2007 files (though not yet for reading) by using the PCLZip library that is bundled with PHPExcel. See the FAQ section of this document for details about this. PCLZip does have a dependency on PHP's zlib extension being enabled.\n\n"
  },
  {
    "path": "Documentation/markdown/Overview/02-Architecture.md",
    "content": "# PHPExcel Developer Documentation\n\n\n## Architecture\n\n### Schematical\n\n![01-schematic.png](./images/01-schematic.png \"Basic Architecture Schematic\")\n\n\n### Lazy Loader\n\nPHPExcel implements an autoloader or \"lazy loader\", which means that it is not necessary to include every file within PHPExcel. It is only necessary to include the initial PHPExcel class file, then the autoloader will include other class files as and when required, so only those files that are actually required by your script will be loaded into PHP memory. The main benefit of this is that it reduces the memory footprint of PHPExcel itself, so that it uses less PHP memory.\n\nIf your own scripts already define an autoload function, then this may be overwritten by the PHPExcel autoload function. For example, if you have:\n```php\nfunction __autoload($class) {\n    ...\n}\n```\nDo this instead:\n```php\nfunction myAutoload($class) {\n    ...\n}\n\nspl_autoload_register('myAutoload');\n```\nYour autoloader will then co-exist with the autoloader of PHPExcel.\n\n\n### Spreadsheet in memory\n\nPHPExcel's architecture is built in a way that it can serve as an in-memory spreadsheet. This means that, if one would want to create a web based view of a spreadsheet which communicates with PHPExcel's object model, he would only have to write the front-end code.\n\nJust like desktop spreadsheet software, PHPExcel represents a spreadsheet containing one or more worksheets, which contain cells with data, formulas, images, ...\n\n\n### Readers and writers\n\nOn its own, PHPExcel does not provide the functionality to read from or write to a persisted spreadsheet (on disk or in a database). To provide that functionality, readers and writers can be used.\n\nBy default, the PHPExcel package provides some readers and writers, including one for the Open XML spreadsheet format (a.k.a. Excel 2007 file format). You are not limited to the default readers and writers, as you are free to implement the PHPExcel_Reader_IReader and PHPExcel_Writer_IWriter interface in a custom class.\n\n![02-readers-writers.png](./images/02-readers-writers.png \"Readers/Writers\")\n\n### Fluent interfaces\n\nPHPExcel supports fluent interfaces in most locations. This means that you can easily \"chain\" calls to specific methods without requiring a new PHP statement. For example, take the following code:\n\n```php\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\");\n$objPHPExcel->getProperties()->setLastModifiedBy(\"Maarten Balliauw\");\n$objPHPExcel->getProperties()->setTitle(\"Office 2007 XLSX Test Document\");\n$objPHPExcel->getProperties()->setSubject(\"Office 2007 XLSX Test Document\");\n$objPHPExcel->getProperties()->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\");\n$objPHPExcel->getProperties()->setKeywords(\"office 2007 openxml php\");\n$objPHPExcel->getProperties()->setCategory(\"Test result file\");\n```\n\nThis can be rewritten as:\n\n```php\n$objPHPExcel->getProperties()\n    ->setCreator(\"Maarten Balliauw\")\n    ->setLastModifiedBy(\"Maarten Balliauw\")\n    ->setTitle(\"Office 2007 XLSX Test Document\")\n    ->setSubject(\"Office 2007 XLSX Test Document\")\n    ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n    ->setKeywords(\"office 2007 openxml php\")\n    ->setCategory(\"Test result file\");\n```\n\n > __Using fluent interfaces is not required__  \n > Fluent interfaces have been implemented to provide a convenient programming API. Use of them is not required, but can make your code easier to read and maintain.  \n > It can also improve performance, as you are reducing the overall number of calls to PHPExcel methods: in the above example, the `getProperties()` method is being called only once rather than 7 times in the non-fluent version.\n"
  },
  {
    "path": "Documentation/markdown/Overview/03-Creating-a-Spreadsheet.md",
    "content": "# PHPExcel Developer Documentation\n\n\n## Creating a spreadsheet\n\n### The PHPExcel class\n\nThe PHPExcel class is the core of PHPExcel. It contains references to the contained worksheets, document security settings and document meta data.\n\nTo simplify the PHPExcel concept: the PHPExcel class represents your workbook.\n\nTypically, you will create a workbook in one of two ways, either by loading it from a spreadsheet file, or creating it manually. A third option, though less commonly used, is cloning an existing workbook that has been created using one of the previous two methods.\n\n#### Loading a Workbook from a file\n\nDetails of the different spreadsheet formats supported, and the options available to read them into a PHPExcel object are described fully in the PHPExcel User Documentation - Reading Spreadsheet Files document.\n\n```php\n$inputFileName = './sampleData/example1.xls';\n\n/** Load $inputFileName to a PHPExcel Object **/\n$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);\n```\n\n#### Creating a new workbook\n\nIf you want to create a new workbook, rather than load one from file, then you simply need to instantiate it as a new PHPExcel object.\n\n```php\n/** Create a new PHPExcel Object **/\n$objPHPExcel = new PHPExcel();\n```\n\nA new workbook will always be created with a single worksheet.\n"
  },
  {
    "path": "Documentation/markdown/Overview/04-Configuration-Settings.md",
    "content": "# PHPExcel Developer Documentation\n\n\n## Configuration Settings\n\nOnce you have included the PHPExcel files in your script, but before instantiating a PHPExcel object or loading a workbook file, there are a number of configuration options that can be set which will affect the subsequent behaviour of the script.\n\n### Cell Caching\n\nPHPExcel uses an average of about 1k/cell in your worksheets, so large workbooks can quickly use up available memory. Cell caching provides a mechanism that allows PHPExcel to maintain the cell objects in a smaller size of memory, on disk, or in APC, memcache or Wincache, rather than in PHP memory. This allows you to reduce the memory usage for large workbooks, although at a cost of speed to access cell data.\n\nBy default, PHPExcel still holds all cell objects in memory, but you can specify alternatives. To enable cell caching, you must call the PHPExcel_Settings::setCacheStorageMethod() method, passing in the caching method that you wish to use.\n\n```php\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory;\n\nPHPExcel_Settings::setCacheStorageMethod($cacheMethod);\n```\n\nsetCacheStorageMethod() will return a boolean true on success, false on failure (for example if trying to cache to APC when APC is not enabled).\n\nA separate cache is maintained for each individual worksheet, and is automatically created when the worksheet is instantiated based on the caching method and settings that you have configured. You cannot change the configuration settings once you have started to read a workbook, or have created your first worksheet.\n\nCurrently, the following caching methods are available.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_in_memory\n\nThe default. If you don't initialise any caching method, then this is the method that PHPExcel will use. Cell objects are maintained in PHP memory as at present.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_in_memory_serialized\n\nUsing this caching method, cells are held in PHP memory as an array of serialized objects, which reduces the memory footprint with minimal performance overhead.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip\n\nLike cache_in_memory_serialized, this method holds cells in PHP memory as an array of serialized objects, but gzipped to reduce the memory usage still further, although access to read or write a cell is slightly slower.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_igbinary\n\nUses PHPs igbinary extension (if its available) to serialize cell objects in memory. This is normally faster and uses less memory than standard PHP serialization, but isnt available in most hosting environments.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_discISAM\n\nWhen using cache_to_discISAM all cells are held in a temporary disk file, with only an index to their location in that file maintained in PHP memory. This is slower than any of the cache_in_memory methods, but significantly reduces the memory footprint. By default, PHPExcel will use PHP's temp directory for the cache file, but you can specify a different directory when initialising cache_to_discISAM.\n\n```php\n$cacheMethod = PHPExcel_CachedObjectStorageFactory:: cache_to_discISAM;\n$cacheSettings = array( \n    'dir' => '/usr/local/tmp'\n);\nPHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);\n```\n\nThe temporary disk file is automatically deleted when your script terminates.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_phpTemp\n\nLike cache_to_discISAM, when using cache_to_phpTemp all cells are held in the php://temp I/O stream, with only an index to their location maintained in PHP memory. In PHP, the php://memory wrapper stores data in the memory: php://temp behaves similarly, but uses a temporary file for storing the data when a certain memory limit is reached. The default is 1 MB, but you can change this when initialising cache_to_phpTemp.\n\n```php\n$cacheMethod = PHPExcel_CachedObjectStorageFactory:: cache_to_phpTemp;\n$cacheSettings = array( \n    'memoryCacheSize' => '8MB'\n);\nPHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);\n```\n\nThe php://temp file is automatically deleted when your script terminates.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_apc\n\nWhen using cache_to_apc, cell objects are maintained in APC with only an index maintained in PHP memory to identify that the cell exists. By default, an APC cache timeout of 600 seconds is used, which should be enough for most applications: although it is possible to change this when initialising cache_to_APC.\n\n```php\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_APC;\n$cacheSettings = array( \n    'cacheTime' => 600\n);\nPHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);\n```\n\nWhen your script terminates all entries will be cleared from APC, regardless of the cacheTime value, so it cannot be used for persistent storage using this mechanism.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_memcache\n\nWhen using cache_to_memcache, cell objects are maintained in memcache with only an index maintained in PHP memory to identify that the cell exists.\n\nBy default, PHPExcel looks for a memcache server on localhost at port 11211. It also sets a memcache timeout limit of 600 seconds. If you are running memcache on a different server or port, then you can change these defaults when you initialise cache_to_memcache:\n\n```php\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_memcache;\n$cacheSettings = array( \n    'memcacheServer' => 'localhost',\n    'memcachePort'   => 11211,\n    'cacheTime'      => 600\n);\nPHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);\n```\n\nWhen your script terminates all entries will be cleared from memcache, regardless of the cacheTime value, so it cannot be used for persistent storage using this mechanism.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_wincache\n\nWhen using cache_to_wincache, cell objects are maintained in Wincache with only an index maintained in PHP memory to identify that the cell exists. By default, a Wincache cache timeout of 600 seconds is used, which should be enough for most applications: although it is possible to change this when initialising cache_to_wincache.\n\n```php\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_wincache;\n$cacheSettings = array( \n    'cacheTime' => 600\n);\nPHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);\n```\n\nWhen your script terminates all entries will be cleared from Wincache, regardless of the cacheTime value, so it cannot be used for persistent storage using this mechanism.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_sqlite\n\nUses an SQLite 2 \"in-memory\" database for caching cell data. Unlike other caching methods, neither cells nor an index are held in PHP memory - an indexed database table makes it unnecessary to hold any index in PHP memory, which makes this the most memory-efficient of the cell caching methods.\n\n#### PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3;\n\nUses an SQLite 3 \"in-memory\" database for caching cell data. Unlike other caching methods, neither cells nor an index are held in PHP memory - an indexed database table makes it unnecessary to hold any index in PHP memory, which makes this the most memory-efficient of the cell caching methods.\n\n\n### Language/Locale\n\nSome localisation elements have been included in PHPExcel. You can set a locale by changing the settings. To set the locale to Brazilian Portuguese you would use:\n\n```php\n$locale = 'pt_br';\n$validLocale = PHPExcel_Settings::setLocale($locale);\nif (!$validLocale) {\n    echo 'Unable to set locale to ' . $locale . \" - reverting to en_us\" . PHP_EOL;\n}\n```\n\nIf Brazilian Portuguese language files aren't available, then Portuguese will be enabled instead: if Portuguese language files aren't available, then the setLocale() method will return an error, and American English (en_us) settings will be used throughout.\n\nMore details of the features available once a locale has been set, including a list of the languages and locales currently supported, can be found in the section of this document entitled \"Locale Settings for Formulae\".\n\n"
  },
  {
    "path": "Documentation/markdown/Overview/05-Deleting-a-Workbook.md",
    "content": "# PHPExcel Developer Documentation\n\n## Clearing a Workbook from memory\n\nThe PHPExcel object contains cyclic references (e.g. the workbook is linked to the worksheets, and the worksheets are linked to their parent workbook) which cause problems when PHP tries to clear the objects from memory when they are unset(), or at the end of a function when they are in local scope. The result of this is \"memory leaks\", which can easily use a large amount of PHP's limited memory.\n\nThis can only be resolved manually: if you need to unset a workbook, then you also need to \"break\" these cyclic references before doing so. PHPExcel provides the disconnectWorksheets() method for this purpose.\n\n```php\n$objPHPExcel->disconnectWorksheets();\n\nunset($objPHPExcel);\n```\n"
  },
  {
    "path": "Documentation/markdown/Overview/06-Worksheets.md",
    "content": "# PHPExcel Developer Documentation\n\n## Worksheets\n\nA worksheet is a collection of cells, formulae, images, graphs, etc. It holds all data necessary to represent a spreadsheet worksheet.\n\nWhen you load a workbook from a spreadsheet file, it will be loaded with all its existing worksheets (unless you specified that only certain sheets should be loaded). When you load from non-spreadsheet files (such as a CSV or HTML file) or from spreadsheet formats that don't identify worksheets by name (such as SYLK), then a single worksheet called \"WorkSheet1\" will be created containing the data from that file.\n\nWhen you instantiate a new workbook, PHPExcel will create it with a single worksheet called \"WorkSheet1\".\n\nThe `getSheetCount()` method will tell you the number of worksheets in the workbook; while the `getSheetNames()` method will return a list of all worksheets in the workbook, indexed by the order in which their \"tabs\" would appear when opened in MS Excel (or other appropriate Spreadsheet program).\n\nIndividual worksheets can be accessed by name, or by their index position in the workbook. The index position represents the order that each worksheet \"tab\" is shown when the workbook is opened in MS Excel (or other appropriate Spreadsheet program). To access a sheet by its index, use the `getSheet()` method.\n\n```php\n// Get the second sheet in the workbook\n// Note that sheets are indexed from 0\n$objPHPExcel->getSheet(1);\n```\n\nIf you don't specify a sheet index, then the first worksheet will be returned.\n\nMethods also exist allowing you to reorder the worksheets in the workbook.\n\nTo access a sheet by name, use the `getSheetByName()` method, specifying the name of the worksheet that you want to access.\n\n```php\n// Retrieve the worksheet called 'Worksheet 1'\n$objPHPExcel->getSheetByName('Worksheet 1');\n```\n\nAlternatively, one worksheet is always the currently active worksheet, and you can access that directly. The currently active worksheet is the one that will be active when the workbook is opened in MS Excel (or other appropriate Spreadsheet program).\n\n```php\n// Retrieve the current active worksheet\n$objPHPExcel->getActiveSheet();\n```\n\nYou can change the currently active sheet by index or by name using the `setActiveSheetIndex()` and `setActiveSheetIndexByName()` methods.\n\n### Adding a new Worksheet\n\nYou can add a new worksheet to the workbook using the `createSheet()` method of the PHPExcel object. By default, this will be created as a new \"last\" sheet; but you can also specify an index position as an argument, and the worksheet will be inserted at that position, shuffling all subsequent worksheets in the collection down a place.\n\n```php\n$objPHPExcel->createSheet();\n```\n\nA new worksheet created using this method will be called \"Worksheet\\<n\\>\" where \"\\<n\\>\" is the lowest number possible to guarantee that the title is unique.\n\nAlternatively, you can instantiate a new worksheet (setting the title to whatever you choose) and then insert it into your workbook using the addSheet() method.\n\n```php\n// Create a new worksheet called \"My Data\"\n$myWorkSheet = new PHPExcel_Worksheet($objPHPExcel, 'My Data');\n\n// Attach the \"My Data\" worksheet as the first worksheet in the PHPExcel object\n$objPHPExcel->addSheet($myWorkSheet, 0);\n```\n\nIf you don't specify an index position as the second argument, then the new worksheet will be added after the last existing worksheet.\n\n### Copying Worksheets\n\nSheets within the same workbook can be copied by creating a clone of the worksheet you wish to copy, and then using the addSheet() method to insert the clone into the workbook.\n\n```php\n$objClonedWorksheet = clone $objPHPExcel->getSheetByName('Worksheet 1');\n$objClonedWorksheet->setTitle('Copy of Worksheet 1')\n$objPHPExcel->addSheet($objClonedWorksheet);\n```\n\nYou can also copy worksheets from one workbook to another, though this is more complex as PHPExcel also has to replicate the styling between the two workbooks. The addExternalSheet() method is provided for this purpose.\n\n```\n$objClonedWorksheet = clone $objPHPExcel1->getSheetByName('Worksheet 1');\n$objPHPExcel->addExternalSheet($objClonedWorksheet);\n```\n\nIn both cases, it is the developer's responsibility to ensure that worksheet names are not duplicated. PHPExcel will throw an exception if you attempt to copy worksheets that will result in a duplicate name.\n\n### Removing a Worksheet\n\nYou can delete a worksheet from a workbook, identified by its index position, using the removeSheetByIndex() method\n\n```php\n$sheetIndex = $objPHPExcel->getIndex(\n    $objPHPExcel->getSheetByName('Worksheet 1')\n);\n$objPHPExcel->removeSheetByIndex($sheetIndex);\n```\n\nIf the currently active worksheet is deleted, then the sheet at the previous index position will become the currently active sheet.\n\n"
  },
  {
    "path": "Documentation/markdown/Overview/07-Accessing-Cells.md",
    "content": "# PHPExcel Developer Documentation\n\n## Accessing cells\n\nAccessing cells in a PHPExcel worksheet should be pretty straightforward. This topic lists some of the options to access a cell.\n\n### Setting a cell value by coordinate\n\nSetting a cell value by coordinate can be done using the worksheet's `setCellValue()` method.\n\n```php\n// Set cell A1 with a string value\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'PHPExcel');\n\n// Set cell A2 with a numeric value\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 12345.6789);\n\n// Set cell A3 with a boolean value\n$objPHPExcel->getActiveSheet()->setCellValue('A3', TRUE);\n\n// Set cell A4 with a formula\n$objPHPExcel->getActiveSheet()->setCellValue(\n    'A4', \n    '=IF(A3, CONCATENATE(A1, \" \", A2), CONCATENATE(A2, \" \", A1))'\n);\n```\n\nAlternatively, you can retrieve the cell object, and then call the cell’s setValue() method:\n\n```php\n$objPHPExcel->getActiveSheet()\n    ->getCell('B8')\n    ->setValue('Some value');\n```\n\n**Excel DataTypes**\n\nMS Excel supports 7 basic datatypes\n - string\n - number\n - boolean\n - null\n - formula\n - error\n - Inline (or rich text) string\n\nBy default, when you call the worksheet's `setCellValue()` method or the cell's `setValue()` method, PHPExcel will use the appropriate datatype for PHP nulls, booleans, floats or integers; or cast any string data value that you pass to the method into the most appropriate datatype, so numeric strings will be cast to numbers, while string values beginning with “=” will be converted to a formula. Strings that aren't numeric, or that don't begin with a leading \"=\" will be treated as genuine string values.\n\nThis \"conversion\" is handled by a cell \"value binder\", and you can write custom \"value binders\" to change the behaviour of these \"conversions\". The standard PHPExcel package also provides an \"advanced value binder\" that handles a number of more complex conversions, such as converting strings with a fractional format like \"3/4\" to a number value (0.75 in this case) and setting an appropriate \"fraction\" number format mask. Similarly, strings like \"5%\" will be converted to a value of 0.05, and a percentage number format mask applied, and strings containing values that look like dates will be converted to Excel serialized datetimestamp values, and a corresponding mask applied. This is particularly useful when loading data from csv files, or setting cell values from a database.\n\nFormats handled by the advanced value binder include\n - TRUE or FALSE (dependent on locale settings) are converted to booleans.\n - Numeric strings identified as scientific (exponential) format are converted to numbers.\n - Fractions and vulgar fractions are converted to numbers, and an appropriate number format mask applied.\n - Percentages are converted to numbers, divided by 100, and an appropriate number format mask applied.\n - Dates and times are converted to Excel timestamp values (numbers), and an appropriate number format mask applied.\n - When strings contain a newline character (\"\\n\"), then the cell styling is set to wrap.\n\nYou can read more about value binders later in this section of the documentation.\n\n#### Setting a date and/or time value in a cell\n\nDate or time values are held as timestamp in Excel (a simple floating point value), and a number format mask is used to show how that value should be formatted; so if we want to store a date in a cell, we need to calculate the correct Excel timestamp, and set a number format mask.\n\n```php\n// Get the current date/time and convert to an Excel date/time\n$dateTimeNow = time();\n$excelDateValue = PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow );\n// Set cell A6 with the Excel date/time value\n$objPHPExcel->getActiveSheet()->setCellValue(\n    'A6', \n    $excelDateValue\n);\n// Set the number format mask so that the excel timestamp will be displayed as a human-readable date/time\n$objPHPExcel->getActiveSheet()->getStyle('A6')\n    ->getNumberFormat()\n    ->setFormatCode(\n        PHPExcel_Style_NumberFormat::FORMAT_DATE_DATETIME\n    );\n```\n\n#### Setting a number with leading zeroes\n\nBy default, PHPExcel will automatically detect the value type and set it to the appropriate Excel numeric datatype. This type conversion is handled by a value binder, as described in the section of this document entitled \"Using value binders to facilitate data entry\".\n\nNumbers don't have leading zeroes, so if you try to set a numeric value that does have leading zeroes (such as a telephone number) then these will be normally be lost as the value is cast to a number, so \"01513789642\" will be displayed as 1513789642.\n\nThere are two ways you can force PHPExcel to override this behaviour.\n\nFirstly, you can set the datatype explicitly as a string so that it is not converted to a number.\n\n```php\n// Set cell A8 with a numeric value, but tell PHPExcel it should be treated as a string\n$objPHPExcel->getActiveSheet()->setCellValueExplicit(\n    'A8', \n    \"01513789642\",\n    PHPExcel_Cell_DataType::TYPE_STRING\n);\n```\n\nAlternatively, you can use a number format mask to display the value with leading zeroes.\n\n```php\n// Set cell A9 with a numeric value\n$objPHPExcel->getActiveSheet()->setCellValue('A9', 1513789642);\n// Set a number format mask to display the value as 11 digits with leading zeroes\n$objPHPExcel->getActiveSheet()->getStyle('A9')\n    ->getNumberFormat()\n    ->setFormatCode(\n        '00000000000'\n    );\n```\n\nWith number format masking, you can even break up the digits into groups to make the value more easily readable.\n\n```php\n// Set cell A10 with a numeric value\n$objPHPExcel->getActiveSheet()->setCellValue('A10', 1513789642);\n// Set a number format mask to display the value as 11 digits with leading zeroes\n$objPHPExcel->getActiveSheet()->getStyle('A10')\n    ->getNumberFormat()\n    ->setFormatCode(\n        '0000-000-0000'\n    );\n```\n\n![07-simple-example-1.png](./images/07-simple-example-1.png \"\")\n\n\n**Note** that not all complex format masks such as this one will work when retrieving a formatted value to display \"on screen\", or for certain writers such as HTML or PDF, but it will work with the true spreadsheet writers (Excel2007 and Excel5).\n\n### Setting a range of cells from an array\n\nIt is also possible to set a range of cell values in a single call by passing an array of values to the `fromArray()` method.\n\n```php\n$arrayData = array(\n    array(NULL, 2010, 2011, 2012),\n    array('Q1',   12,   15,   21),\n    array('Q2',   56,   73,   86),\n    array('Q3',   52,   61,   69),\n    array('Q4',   30,   32,    0),\n);\n$objPHPExcel->getActiveSheet()\n    ->fromArray(\n        $arrayData,  // The data to set\n        NULL,        // Array values with this value will not be set\n        'C3'         // Top left coordinate of the worksheet range where\n                     //    we want to set these values (default is A1)\n    );\n```\n\n![07-simple-example-2.png](./images/07-simple-example-2.png \"\")\n\nIf you pass a 2-d array, then this will be treated as a series of rows and columns. A 1-d array will be treated as a single row, which is particularly useful if you're fetching an array of data from a database.\n\n```php\n$rowArray = array('Value1', 'Value2', 'Value3', 'Value4');\n$objPHPExcel->getActiveSheet()\n    ->fromArray(\n        $rowArray,   // The data to set\n        NULL,        // Array values with this value will not be set\n        'C3'         // Top left coordinate of the worksheet range where\n                     //    we want to set these values (default is A1)\n    );\n```\n\n![07-simple-example-3.png](./images/07-simple-example-3.png \"\")\n\nIf you have a simple 1-d array, and want to write it as a column, then the following will convert it into an appropriately structured 2-d array that can be fed to the `fromArray()` method:\n\n```php\n$rowArray = array('Value1', 'Value2', 'Value3', 'Value4');\n$columnArray = array_chunk($rowArray, 1);\n$objPHPExcel->getActiveSheet()\n    ->fromArray(\n        $columnArray,   // The data to set\n        NULL,           // Array values with this value will not be set\n        'C3'            // Top left coordinate of the worksheet range where\n                        //    we want to set these values (default is A1)\n    );\n```\n\n![07-simple-example-4.png](./images/07-simple-example-4.png \"\")\n\n### Retrieving a cell value by coordinate\n\nTo retrieve the value of a cell, the cell should first be retrieved from the worksheet using the `getCell()` method. A cell's value can be read using the `getValue()` method.\n\n```php\n// Get the value fom cell A1\n$cellValue = $objPHPExcel->getActiveSheet()->getCell('A1')\n    ->getValue();\n```\n\nThis will retrieve the raw, unformatted value contained in the cell.\n\nIf a cell contains a formula, and you need to retrieve the calculated value rather than the formula itself, then use the cell's `getCalculatedValue()` method. This is further explained in .\n\n```php\n// Get the value fom cell A4\n$cellValue = $objPHPExcel->getActiveSheet()->getCell('A4')\n    ->getCalculatedValue();\n```\n\nAlternatively, if you want to see the value with any cell formatting applied (e.g. for a human-readable date or time value), then you can use the cell's `getFormattedValue()` method.\n\n```php\n// Get the value fom cell A6\n$cellValue = $objPHPExcel->getActiveSheet()->getCell('A6')\n    ->getFormattedValue();\n```\n\n\n### Setting a cell value by column and row\n\nSetting a cell value by coordinate can be done using the worksheet's `setCellValueByColumnAndRow()` method.\n\n```php\n// Set cell B5 with a string value\n$objPHPExcel->getActiveSheet()->setCellValueByColumnAndRow(1, 5, 'PHPExcel');\n```\n\n**Note** that column references start with '0' for column 'A', rather than from '1'.\n\n### Retrieving a cell value by column and row\n\nTo retrieve the value of a cell, the cell should first be retrieved from the worksheet using the getCellByColumnAndRow method. A cell’s value can be read again using the following line of code:\n\n```php\n// Get the value fom cell B5\n$cellValue = $objPHPExcel->getActiveSheet()->getCellByColumnAndRow(1, 5)\n    ->getValue();\n```\nIf you need the calculated value of a cell, use the following code. This is further explained in .\n\n```php\n// Get the value fom cell A4\n$cellValue = $objPHPExcel->getActiveSheet()->getCellByColumnAndRow(0, 4)\n    ->getCalculatedValue();\n```\n\n### Retrieving a range of cell values to an array\n\nIt is also possible to retrieve a range of cell values to an array in a single call using the `toArray()`, `rangeToArray()` or `namedRangeToArray()` methods.\n\n```php\n$dataArray = $objPHPExcel->getActiveSheet()\n    ->rangeToArray(\n        'C3:E5',     // The worksheet range that we want to retrieve\n        NULL,        // Value that should be returned for empty cells\n        TRUE,        // Should formulas be calculated (the equivalent of getCalculatedValue() for each cell)\n        TRUE,        // Should values be formatted (the equivalent of getFormattedValue() for each cell)\n        TRUE         // Should the array be indexed by cell row and cell column\n    );\n```\n\nThese methods will all return a 2-d array of rows and columns. The `toArray()` method will return the whole worksheet; `rangeToArray()` will return a specified range or cells; while `namedRangeToArray()` will return the cells within a defined `named range`.\n\n### Looping through cells\n\n#### Looping through cells using iterators\n\nThe easiest way to loop cells is by using iterators. Using iterators, one can use foreach to loop worksheets, rows within a worksheet, and cells within a row.\n\nBelow is an example where we read all the values in a worksheet and display them in a table.\n\n```php\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objReader->setReadDataOnly(TRUE);\n$objPHPExcel = $objReader->load(\"test.xlsx\");\n\n$objWorksheet = $objPHPExcel->getActiveSheet();\n\necho '<table>' . PHP_EOL;\nforeach ($objWorksheet->getRowIterator() as $row) {\n    echo '<tr>' . PHP_EOL;\n    $cellIterator = $row->getCellIterator();\n    $cellIterator->setIterateOnlyExistingCells(FALSE); // This loops through all cells,\n                                                       //    even if a cell value is not set.\n                                                       // By default, only cells that have a value \n                                                       //    set will be iterated.\n    foreach ($cellIterator as $cell) {\n        echo '<td>' . \n             $cell->getValue() . \n             '</td>' . PHP_EOL;\n    }\n    echo '</tr>' . PHP_EOL;\n}\necho '</table>' . PHP_EOL;\n```\n\nNote that we have set the cell iterator's `setIterateOnlyExistingCells()` to FALSE. This makes the iterator loop all cells within the worksheet range, even if they have not been set.\n\nThe cell iterator will return a __NULL__ as the cell value if it is not set in the worksheet.\nSetting the cell iterator's setIterateOnlyExistingCells() to FALSE will loop all cells in the worksheet that can be available at that moment. This will create new cells if required and increase memory usage! Only use it if it is intended to loop all cells that are possibly available.\n\n#### Looping through cells using indexes\n\nOne can use the possibility to access cell values by column and row index like (0,1) instead of 'A1' for reading and writing cell values in loops.\n\nNote: In PHPExcel column index is 0-based while row index is 1-based. That means 'A1' ~ (0,1)\n\nBelow is an example where we read all the values in a worksheet and display them in a table.\n\n```php\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objReader->setReadDataOnly(TRUE);\n$objPHPExcel = $objReader->load(\"test.xlsx\");\n\n$objWorksheet = $objPHPExcel->getActiveSheet();\n// Get the highest row and column numbers referenced in the worksheet\n$highestRow = $objWorksheet->getHighestRow(); // e.g. 10\n$highestColumn = $objWorksheet->getHighestColumn(); // e.g 'F'\n$highestColumnIndex = PHPExcel_Cell::columnIndexFromString($highestColumn); // e.g. 5\n\necho '<table>' . \"\\n\";\nfor ($row = 1; $row <= $highestRow; ++$row) {\n    echo '<tr>' . PHP_EOL;\n    for ($col = 0; $col <= $highestColumnIndex; ++$col) {\n        echo '<td>' . \n             $objWorksheet->getCellByColumnAndRow($col, $row)\n                 ->getValue() . \n             '</td>' . PHP_EOL;\n    }\n    echo '</tr>' . PHP_EOL;\n}\necho '</table>' . PHP_EOL;\n```\n\nAlternatively, you can take advantage of PHP's \"Perl-style\" character incrementors to loop through the cells by coordinate:\n\n```php\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objReader->setReadDataOnly(TRUE);\n$objPHPExcel = $objReader->load(\"test.xlsx\");\n\n$objWorksheet = $objPHPExcel->getActiveSheet();\n// Get the highest row number and column letter referenced in the worksheet\n$highestRow = $objWorksheet->getHighestRow(); // e.g. 10\n$highestColumn = $objWorksheet->getHighestColumn(); // e.g 'F'\n// Increment the highest column letter\n$highestColumn++;\n\necho '<table>' . \"\\n\";\nfor ($row = 1; $row <= $highestRow; ++$row) {\n    echo '<tr>' . PHP_EOL;\n    for ($col = 'A'; $col != $highestColumn; ++$col) {\n        echo '<td>' . \n             $objWorksheet->getCell($col . $row)\n                 ->getValue() . \n             '</td>' . PHP_EOL;\n    }\n    echo '</tr>' . PHP_EOL;\n}\necho '</table>' . PHP_EOL;\n```\n\nNote that we can't use a <= comparison here, because 'AA' would match as <= 'B', so we increment the highest column letter and then loop while $col != the incremented highest column.\n\n### Using value binders to facilitate data entry\n\nInternally, PHPExcel uses a default PHPExcel_Cell_IValueBinder implementation (PHPExcel_Cell_DefaultValueBinder) to determine data types of entered data using a cell's `setValue()` method (the `setValueExplicit()` method bypasses this check).\n\nOptionally, the default behaviour of PHPExcel can be modified, allowing easier data entry. For example, a PHPExcel_Cell_AdvancedValueBinder class is available. It automatically converts percentages, number in scientific format, and dates entered as strings to the correct format, also setting the cell's style information. The following example demonstrates how to set the value binder in PHPExcel:\n\n```php\n/** PHPExcel */\nrequire_once 'PHPExcel.php';\n\n// Set value binder\nPHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() );\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n\n// ...\n// Add some data, resembling some different data types\n$objPHPExcel->getActiveSheet()->setCellValue('A4', 'Percentage value:');\n// Converts the string value to 0.1 and sets percentage cell style\n$objPHPExcel->getActiveSheet()->setCellValue('B4', '10%');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A5', 'Date/time value:');\n// Converts the string value to an Excel datestamp and sets the date format cell style\n$objPHPExcel->getActiveSheet()->setCellValue('B5', '21 December 1983');  \n```\n\n__Creating your own value binder is easy.__  \nWhen advanced value binding is required, you can implement the PHPExcel_Cell_IValueBinder interface or extend the PHPExcel_Cell_DefaultValueBinder or PHPExcel_Cell_AdvancedValueBinder classes.\n\n"
  },
  {
    "path": "Documentation/markdown/Overview/08-Recipes.md",
    "content": "# PHPExcel Developer Documentation\n\n## PHPExcel recipes\n\nThe following pages offer you some widely-used PHPExcel recipes. Please note that these do NOT offer complete documentation on specific PHPExcel API functions, but just a bump to get you started. If you need specific API functions, please refer to the API documentation.\n\nFor example,  REF _Ref191885321 \\w \\h 4.4.7  REF _Ref191885321 \\h Setting a worksheet's page orientation and size covers setting a page orientation to A4. Other paper formats, like US Letter, are not covered in this document, but in the PHPExcel API documentation.\n\n### Setting a spreadsheet's metadata\n\nPHPExcel allows an easy way to set a spreadsheet's metadata, using document property accessors. Spreadsheet metadata can be useful for finding a specific document in a file repository or a document management system. For example Microsoft Sharepoint uses document metadata to search for a specific document in its document lists.\n\nSetting spreadsheet metadata is done as follows:\n\n```php\n$objPHPExcel->getProperties()\n    ->setCreator(\"Maarten Balliauw\")\n    ->setLastModifiedBy(\"Maarten Balliauw\");\n    ->setTitle(\"Office 2007 XLSX Test Document\")\n    ->setSubject(\"Office 2007 XLSX Test Document\")\n    ->setDescription(\n        \"Test document for Office 2007 XLSX, generated using PHP classes.\"\n    )\n    ->setKeywords(\"office 2007 openxml php\")\n    ->setCategory(\"Test result file\");\n```\n\n### Setting a spreadsheet's active sheet\n\nThe following line of code sets the active sheet index to the first sheet:\n\n```php\n$objPHPExcel->setActiveSheetIndex(0);\n```\n\nYou can also set the active sheet by its name/title\n\n```php\n$objPHPExcel->setActiveSheetIndexByName('DataSheet')\n```\n\nwill change the currently active sheet to the worksheet called \"DataSheet\".\n\n### Write a date or time into a cell\n\nIn Excel, dates and Times are stored as numeric values counting the number of days elapsed since 1900-01-01. For example, the date '2008-12-31' is represented as 39813. You can verify this in Microsoft Office Excel by entering that date in a cell and afterwards changing the number format to 'General' so the true numeric value is revealed. Likewise, '3:15 AM' is represented as 0.135417.\n\nPHPExcel works with UST (Universal Standard Time) date and Time values, but does no internal conversions; so it is up to the developer to ensure that values passed to the date/time conversion functions are UST.\n\nWriting a date value in a cell consists of 2 lines of code. Select the method that suits you the best. Here are some examples:\n\n```php\n/* PHPExcel_Cell_AdvanceValueBinder required for this sample */\nrequire_once 'PHPExcel/Cell/AdvancedValueBinder.php';\n\n// MySQL-like timestamp '2008-12-31' or date string\nPHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() );\n\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('D1', '2008-12-31');\n\n$objPHPExcel->getActiveSheet()->getStyle('D1')\n    ->getNumberFormat()\n    ->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDDSLASH);\n\n// PHP-time (Unix time)\n$time = gmmktime(0,0,0,12,31,2008); // int(1230681600)\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('D1', PHPExcel_Shared_Date::PHPToExcel($time));\n$objPHPExcel->getActiveSheet()->getStyle('D1')\n    ->getNumberFormat()\n    ->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDDSLASH);\n\n// Excel-date/time\n$objPHPExcel->getActiveSheet()->setCellValue('D1', 39813)\n$objPHPExcel->getActiveSheet()->getStyle('D1')\n    ->getNumberFormat()\n    ->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDDSLASH);\n```\n\nThe above methods for entering a date all yield the same result. PHPExcel_Style_NumberFormat provides a lot of pre-defined date formats.\n\nThe PHPExcel_Shared_Date::PHPToExcel() method will also work with a PHP DateTime object.\n\nSimilarly, times (or date and time values) can be entered in the same fashion: just remember to use an appropriate format code.\n\n__Notes:__\n\nSee section \"Using value binders to facilitate data entry\" to learn more about the AdvancedValueBinder used in the first example.\nIn previous versions of PHPExcel up to and including 1.6.6, when a cell had a date-like number format code, it was possible to enter a date directly using an integer PHP-time without converting to Excel date format. Starting with PHPExcel 1.6.7 this is no longer supported.\nExcel can also operate in a 1904-based calendar (default for workbooks saved on Mac). Normally, you do not have to worry about this when using PHPExcel.\n\n### Write a formula into a cell\n\nInside the Excel file, formulas are always stored as they would appear in an English version of Microsoft Office Excel, and PHPExcel handles all formulae internally in this format. This means that the following rules hold:\n\n - Decimal separator is '.' (period)\n - Function argument separator is ',' (comma)\n - Matrix row separator is ';' (semicolon)\n - English function names must be used\n\nThis is regardless of which language version of Microsoft Office Excel may have been used to create the Excel file.\n\nWhen the final workbook is opened by the user, Microsoft Office Excel will take care of displaying the formula according the applications language. Translation is taken care of by the application!\n\nThe following line of code writes the formula '=IF(C4>500,\"profit\",\"loss\")' into the cell B8. Note that the formula must start with \"=\" to make PHPExcel recognise this as a formula.\n\n```php\n$objPHPExcel->getActiveSheet()->setCellValue('B8','=IF(C4>500,\"profit\",\"loss\")');\n```\n\nIf you want to write a string beginning with an \"=\" character to a cell, then you should use the setCellValueExplicit() method.\n\n```php\n$objPHPExcel->getActiveSheet()\n    ->setCellValueExplicit(\n        'B8',\n        '=IF(C4>500,\"profit\",\"loss\")',\n        PHPExcel_Cell_DataType::TYPE_STRING\n    );\n```\n\nA cell's formula can be read again using the following line of code:\n\n```php\n$formula = $objPHPExcel->getActiveSheet()->getCell('B8')->getValue();\n```\n\nIf you need the calculated value of a cell, use the following code. This is further explained in  REF _Ref191885372 \\w \\h  \\* MERGEFORMAT 4.4.35.\n\n```php\n$value = $objPHPExcel->getActiveSheet()->getCell('B8')->getCalculatedValue();\n```\n\n### Locale Settings for Formulae\n\nSome localisation elements have been included in PHPExcel. You can set a locale by changing the settings. To set the locale to Russian you would use:\n\n```php\n$locale = 'ru';\n$validLocale = PHPExcel_Settings::setLocale($locale);\nif (!$validLocale) {\n    echo 'Unable to set locale to '.$locale.\" - reverting to en_us<br />\\n\";\n}\n```\n\nIf Russian language files aren't available, the `setLocale()` method will return an error, and English settings will be used throughout.\n\nOnce you have set a locale, you can translate a formula from its internal English coding.\n\n```php\n$formula = $objPHPExcel->getActiveSheet()->getCell('B8')->getValue();\n$translatedFormula = PHPExcel_Calculation::getInstance()->_translateFormulaToLocale($formula);\n```\n\nYou can also create a formula using the function names and argument separators appropriate to the defined locale; then translate it to English before setting the cell value:\n\n```php\n$formula = '=????360(????(2010;2;5);????(2010;12;31);??????)';\n$internalFormula = PHPExcel_Calculation::getInstance()->translateFormulaToEnglish($formula);\n$objPHPExcel->getActiveSheet()->setCellValue('B8',$internalFormula);\n```\n\nCurrently, formula translation only translates the function names, the constants TRUE and FALSE, and the function argument separators.\n\nAt present, the following locale settings are supported:\n\n    Language             |                      | Locale Code\n    ---------------------|----------------------|-------------\n    Czech                | Ceština              | cs\n    Danish               | Dansk                | da\n    German               | Deutsch              | de\n    Spanish              | Español              | es\n    Finnish              | Suomi                | fi\n    French               | Français             | fr\n    Hungarian            | Magyar               | hu\n    Italian              | Italiano             | it\n    Dutch                | Nederlands           | nl\n    Norwegian            | Norsk                | no\n    Polish               | Jezyk polski         | pl\n    Portuguese           | Português            | pt\n    Brazilian Portuguese | Português Brasileiro | pt_br\n    Russian              | ??????? ????         | ru\n    Swedish              | Svenska              | sv\n    Turkish              | Türkçe               | tr\n\n### Write a newline character \"\\n\" in a cell (ALT+\"Enter\")\n\nIn Microsoft Office Excel you get a line break in a cell by hitting ALT+\"Enter\". When you do that, it automatically turns on \"wrap text\" for the cell.\n\nHere is how to achieve this in PHPExcel:\n\n```php\n$objPHPExcel->getActiveSheet()->getCell('A1')->setValue(\"hello\\nworld\");\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getAlignment()->setWrapText(true);\n```\n\n__Tip__\n\nRead more about formatting cells using getStyle() elsewhere.\n\n__Tip__\n\nAdvancedValuebinder.php automatically turns on \"wrap text\" for the cell when it sees a newline character in a string that you are inserting in a cell. Just like Microsoft Office Excel. Try this:\n\n```php\nrequire_once 'PHPExcel/Cell/AdvancedValueBinder.php';\nPHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() );\n\n$objPHPExcel->getActiveSheet()->getCell('A1')->setValue(\"hello\\nworld\");\n```\n\nRead more about AdvancedValueBinder.php elsewhere.\n\n### Explicitly set a cell's datatype\n\nYou can set a cell's datatype explicitly by using the cell's setValueExplicit method, or the setCellValueExplicit method of a worksheet. Here's an example:\n\n```php\n$objPHPExcel->getActiveSheet()->getCell('A1')\n    ->setValueExplicit(\n        '25', \n        PHPExcel_Cell_DataType::TYPE_NUMERIC\n    );\n```\n\n### Change a cell into a clickable URL\n\nYou can make a cell a clickable URL by setting its hyperlink property:\n\n```php\n$objPHPExcel->getActiveSheet()->setCellValue('E26', 'www.phpexcel.net');\n$objPHPExcel->getActiveSheet()->getCell('E26')->getHyperlink()->setUrl('http://www.phpexcel.net');\n```\n\nIf you want to make a hyperlink to another worksheet/cell, use the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->setCellValue('E26', 'www.phpexcel.net');\n$objPHPExcel->getActiveSheet()->getCell('E26')->getHyperlink()->setUrl(\"sheet://'Sheetname'!A1\");\n```\n\n### Setting Printer Options for Excel files\n\n#### Setting a worksheet's page orientation and size\n\nSetting a worksheet's page orientation and size can be done using the following lines of code:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageSetup()\n    ->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE);\n$objPHPExcel->getActiveSheet()->getPageSetup()\n    ->setPaperSize(PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4);\n```\n\nNote that there are additional page settings available. Please refer to the API documentation for all possible options.\n\n#### Page Setup: Scaling options\n\nThe page setup scaling options in PHPExcel relate directly to the scaling options in the \"Page Setup\" dialog as shown in the illustration.\n\nDefault values in PHPExcel correspond to default values in MS Office Excel as shown in illustration\n\n![08-page-setup-scaling-options.png](./images/08-page-setup-scaling-options.png \"\")\n\n    method              | initial value | calling method will trigger | Note\n    --------------------|:-------------:|-----------------------------|------\n    setFitToPage(...)   | FALSE         | -                           | \n    setScale(...)       | 100           | setFitToPage(FALSE)         |\n    setFitToWidth(...)  | 1             | setFitToPage(TRUE)          | value 0 means do-not-fit-to-width\n    setFitToHeight(...) | 1             | setFitToPage(TRUE)          | value 0 means do-not-fit-to-height\n\n##### Example\n\nHere is how to fit to 1 page wide by infinite pages tall:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageSetup()->setFitToWidth(1);\n$objPHPExcel->getActiveSheet()->getPageSetup()->setFitToHeight(0);\n```\n\nAs you can see, it is not necessary to call setFitToPage(TRUE) since setFitToWidth(...) and setFitToHeight(...) triggers this.\n\nIf you use setFitToWidth() you should in general also specify setFitToHeight() explicitly like in the example. Be careful relying on the initial values. This is especially true if you are upgrading from PHPExcel 1.7.0 to 1.7.1 where the default values for fit-to-height and fit-to-width changed from 0 to 1.\n\n#### Page margins\n\nTo set page margins for a worksheet, use this code:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageMargins()->setTop(1);\n$objPHPExcel->getActiveSheet()->getPageMargins()->setRight(0.75);\n$objPHPExcel->getActiveSheet()->getPageMargins()->setLeft(0.75);\n$objPHPExcel->getActiveSheet()->getPageMargins()->setBottom(1);\n```\n\nNote that the margin values are specified in inches.\n\n![08-page-setup-margins.png](./images/08-page-setup-margins.png \"\")\n\n#### Center a page horizontally/vertically\n\nTo center a page horizontally/vertically, you can use the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageSetup()->setHorizontalCentered(true);\n$objPHPExcel->getActiveSheet()->getPageSetup()->setVerticalCentered(false);\n```\n\n#### Setting the print header and footer of a worksheet\n\nSetting a worksheet's print header and footer can be done using the following lines of code:\n\n```php\n$objPHPExcel->getActiveSheet()->getHeaderFooter()\n    ->setOddHeader('&C&HPlease treat this document as confidential!');\n$objPHPExcel->getActiveSheet()->getHeaderFooter()\n    ->setOddFooter('&L&B' . $objPHPExcel->getProperties()->getTitle() . '&RPage &P of &N');\n```\n\nSubstitution and formatting codes (starting with &) can be used inside headers and footers. There is no required order in which these codes must appear.\n\nThe first occurrence of the following codes turns the formatting ON, the second occurrence turns it OFF again:\n\n - Strikethrough\n - Superscript\n - Subscript\n\nSuperscript and subscript cannot both be ON at same time. Whichever comes first wins and the other is ignored, while the first is ON.\n\nThe following codes are supported by Excel2007:\n\nCode                   | Meaning\n-----------------------|-----------\n&L                     | Code for \"left section\" (there are three header / footer locations, \"left\", \"center\", and \"right\"). When two or more occurrences of this section marker exist, the contents from all markers are concatenated, in the order of appearance, and placed into the left section.\n&P                     | Code for \"current page #\"\n&N                     | Code for \"total pages\"\n&font size             | Code for \"text font size\", where font size is a font size in points.\n&K                     | Code for \"text font color\" - RGB Color is specified as RRGGBB Theme Color is specifed as TTSNN where TT is the theme color Id, S is either \"+\" or \"-\" of the tint/shade value, NN is the tint/shade value.\n&S                     | Code for \"text strikethrough\" on / off\n&X                     | Code for \"text super script\" on / off\n&Y                     | Code for \"text subscript\" on / off\n&C                     | Code for \"center section\". When two or more occurrences of this section marker exist, the contents from all markers are concatenated, in the order of appearance, and placed into the center section.\n&D                     | Code for \"date\"\n&T                     | Code for \"time\"\n&G                     | Code for \"picture as background\" - Please make sure to add the image to the header/footer[^print-footer-image-footnote]\n&U                     | Code for \"text single underline\"\n&E                     | Code for \"double underline\"\n&R                     | Code for \"right section\". When two or more occurrences of this section marker exist, the contents from all markers are concatenated, in the order of appearance, and placed into the right section.\n&Z                     | Code for \"this workbook's file path\"\n&F                     | Code for \"this workbook's file name\"\n&A                     | Code for \"sheet tab name\"\n&+                     | Code for add to page #\n&-                     | Code for subtract from page #\n&\"font name,font type\" | Code for \"text font name\" and \"text font type\", where font name and font type are strings specifying the name and type of the font, separated by a comma. When a hyphen appears in font name, it means \"none specified\". Both of font name and font type can be localized values.\n&\"-,Bold\"              | Code for \"bold font style\"\n&B                     | Code for \"bold font style\"\n&\"-,Regular\"           | Code for \"regular font style\"\n&\"-,Italic\"            | Code for \"italic font style\"\n&I                     | Code for \"italic font style\"\n&\"-,Bold Italic\"       | Code for \"bold italic font style\"\n&O                     | Code for \"outline style\"\n&H                     | Code for \"shadow style\"\n\n [^print-footer-image-footnote]: z\n```php\n$objDrawing = new PHPExcel_Worksheet_HeaderFooterDrawing();\n$objDrawing->setName('PHPExcel logo');\n$objDrawing->setPath('./images/phpexcel_logo.gif');\n$objDrawing->setHeight(36);\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->addImage($objDrawing, PHPExcel_Worksheet_HeaderFooter::IMAGE_HEADER_LEFT);\n```\n\n__Tip__\n\nThe above table of codes may seem overwhelming first time you are trying to figure out how to write some header or footer. Luckily, there is an easier way. Let Microsoft Office Excel do the work for you.For example, create in Microsoft Office Excel an xlsx file where you insert the header and footer as desired using the programs own interface. Save file as test.xlsx. Now, take that file and read off the values using PHPExcel as follows:\n\n```php\n$objPHPexcel = PHPExcel_IOFactory::load('test.xlsx');\n$objWorksheet = $objPHPexcel->getActiveSheet();\n\nvar_dump($objWorksheet->getHeaderFooter()->getOddFooter());\nvar_dump($objWorksheet->getHeaderFooter()->getEvenFooter());\nvar_dump($objWorksheet->getHeaderFooter()->getOddHeader());\nvar_dump($objWorksheet->getHeaderFooter()->getEvenHeader());\n```\n\nThat reveals the codes for the even/odd header and footer. Experienced users may find it easier to rename test.xlsx to test.zip, unzip it, and inspect directly the contents of the relevant xl/worksheets/sheetX.xml to find the codes for header/footer.\n\n#### Setting printing breaks on a row or column\n\nTo set a print break, use the following code, which sets a row break on row 10.\n\n```php\n$objPHPExcel->getActiveSheet()->setBreak( 'A10' , PHPExcel_Worksheet::BREAK_ROW );\n```\n\nThe following line of code sets a print break on column D:\n\n```php\n$objPHPExcel->getActiveSheet()->setBreak( 'D10' , PHPExcel_Worksheet::BREAK_COLUMN );\n```\n\n#### Show/hide gridlines when printing\n\nTo show/hide gridlines when printing, use the following code:\n\n$objPHPExcel->getActiveSheet()->setShowGridlines(true);\n\n#### Setting rows/columns to repeat at top/left\n\nPHPExcel can repeat specific rows/cells at top/left of a page. The following code is an example of how to repeat row 1 to 5 on each printed page of a specific worksheet:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 5);\n```\n\n#### Specify printing area\n\nTo specify a worksheet's printing area, use the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageSetup()->setPrintArea('A1:E5');\n```\n\nThere can also be multiple printing areas in a single worksheet:\n\n```php\n$objPHPExcel->getActiveSheet()->getPageSetup()->setPrintArea('A1:E5,G4:M20');\n```\n\n### Styles\n\n#### Formatting cells\n\nA cell can be formatted with font, border, fill, ... style information. For example, one can set the  foreground colour of a cell to red, aligned to the right, and the border to black and thick border style. Let's do that on cell B2:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_RED);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getBorders()->getTop()->setBorderStyle(PHPExcel_Style_Border::BORDER_THICK);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getBorders()->getBottom()->setBorderStyle(PHPExcel_Style_Border::BORDER_THICK);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getBorders()->getLeft()->setBorderStyle(PHPExcel_Style_Border::BORDER_THICK);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getBorders()->getRight()->setBorderStyle(PHPExcel_Style_Border::BORDER_THICK);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getFill()->setFillType(PHPExcel_Style_Fill::FILL_SOLID);\n$objPHPExcel->getActiveSheet()->getStyle('B2')\n    ->getFill()->getStartColor()->setARGB('FFFF0000');\n```\n\nStarting with PHPExcel 1.7.0 getStyle() also accepts a cell range as a parameter. For example, you can set a red background color on a range of cells:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('B3:B7')->getFill()\n    ->setFillType(PHPExcel_Style_Fill::FILL_SOLID)\n    ->getStartColor()->setARGB('FFFF0000');\n```\n\n__Tip__\nIt is recommended to style many cells at once, using e.g. getStyle('A1:M500'), rather than styling the cells individually in a loop. This is much faster compared to looping through cells and styling them individually.\n\nThere is also an alternative manner to set styles. The following code sets a cell's style to font bold, alignment right, top border thin and a gradient fill:\n\n```php\n$styleArray = array(\n    'font' => array(\n        'bold' => true,\n    ),\n    'alignment' => array(\n        'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_RIGHT,\n    ),\n    'borders' => array(\n        'top' => array(\n            'style' => PHPExcel_Style_Border::BORDER_THIN,\n        ),\n    ),\n    'fill' => array(\n        'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR,\n        'rotation' => 90,\n        'startcolor' => array(\n            'argb' => 'FFA0A0A0',\n        ),\n        'endcolor' => array(\n            'argb' => 'FFFFFFFF',\n        ),\n    ),\n);\n\n$objPHPExcel->getActiveSheet()->getStyle('A3')->applyFromArray($styleArray);\n```\n\nOr with a range of cells:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('B3:B7')->applyFromArray($styleArray);\n```\n\nThis alternative method using arrays should be faster in terms of execution whenever you are setting more than one style property. But the difference may barely be measurable unless you have many different styles in your workbook.\n\nPrior to PHPExcel 1.7.0 duplicateStyleArray() was the recommended method for styling a cell range, but this method has now been deprecated since getStyle() has started to accept a cell range.\n\n#### Number formats\n\nYou often want to format numbers in Excel. For example you may want a thousands separator plus a fixed number of decimals after the decimal separator. Or perhaps you want some numbers to be zero-padded.\n\nIn Microsoft Office Excel you may be familiar with selecting a number format from the \"Format Cells\" dialog. Here there are some predefined number formats available including some for dates. The dialog is designed in a way so you don't have to interact with the underlying raw number format code unless you need a custom number format.\n\nIn PHPExcel, you can also apply various predefined number formats. Example:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getNumberFormat()\n    ->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_NUMBER_COMMA_SEPARATED1);\n```\n\nThis will format a number e.g. 1587.2 so it shows up as 1,587.20 when you open the workbook in MS Office Excel. (Depending on settings for decimal and thousands separators in Microsoft Office Excel it may show up as 1.587,20)\n\nYou can achieve exactly the same as the above by using this:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getNumberFormat()\n    ->setFormatCode('#,##0.00');\n```\n\nIn Microsoft Office Excel, as well as in PHPExcel, you will have to interact with raw number format codes whenever you need some special custom number format. Example:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getNumberFormat()\n    ->setFormatCode('[Blue][>=3000]$#,##0;[Red][<0]$#,##0;$#,##0');\n```\n\nAnother example is when you want numbers zero-padded with leading zeros to a fixed length:\n\n```php\n$objPHPExcel->getActiveSheet()->getCell('A1')->setValue(19);\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getNumberFormat()\n    ->setFormatCode('0000'); // will show as 0019 in Excel\n```\n\n__Tip__\nThe rules for composing a number format code in Excel can be rather complicated. Sometimes you know how to create some number format in Microsoft Office Excel, but don't know what the underlying number format code looks like. How do you find it?\n\nThe readers shipped with PHPExcel come to the rescue. Load your template workbook using e.g. Excel2007 reader to reveal the number format code. Example how read a number format code for cell A1:\n\n```php\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objPHPExcel = $objReader->load('template.xlsx');\nvar_dump($objPHPExcel->getActiveSheet()->getStyle('A1')->getNumberFormat()->getFormatCode());\n```\n\nAdvanced users may find it faster to inspect the number format code directly by renaming template.xlsx to template.zip, unzipping, and looking for the relevant piece of XML code holding the number format code in *xl/styles.xml*.\n\n#### Alignment and wrap text\n\nLet's set vertical alignment to the top for cells A1:D4\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('A1:D4')\n    ->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP);\n```\n\nHere is how to achieve wrap text:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('A1:D4')\n    ->getAlignment()->setWrapText(true);\n```\n\n#### Setting the default style of a workbook\n\nIt is possible to set the default style of a workbook. Let's set the default font to Arial size 8:\n\n```php\n$objPHPExcel->getDefaultStyle()->getFont()->setName('Arial');\n$objPHPExcel->getDefaultStyle()->getFont()->setSize(8);\n```\n\n#### Styling cell borders\n\nIn PHPExcel it is easy to apply various borders on a rectangular selection. Here is how to apply a thick red border outline around cells B2:G8.\n\n```php\n$styleArray = array(\n    'borders' => array(\n        'outline' => array(\n            'style' => PHPExcel_Style_Border::BORDER_THICK,\n            'color' => array('argb' => 'FFFF0000'),\n        ),\n    ),\n);\n\n$objWorksheet->getStyle('B2:G8')->applyFromArray($styleArray);\n```\n\nIn Microsoft Office Excel, the above operation would correspond to selecting the cells B2:G8, launching the style dialog, choosing a thick red border, and clicking on the \"Outline\" border component.\n\nNote that the border outline is applied to the rectangular selection B2:G8 as a whole, not on each cell individually.\n\nYou can achieve any border effect by using just the 5 basic borders and operating on a single cell at a time:\n\n    Array key | Maps to property\n    ----------|------------------\n    left      | getLeft()\n    right     | getRight()\n    top       | getTop()\n    bottom    | getBottom()\n    diagonal  | getDiagonal()\n\nAdditional shortcut borders come in handy like in the example above. These are the shortcut borders available:\n\n    Array key  | Maps to property\n    -----------|------------------\n    allborders | getAllBorders()\n    outline    | getOutline()\n    inside     | getInside()\n    vertical   | getVertical()\n    horizontal | getHorizontal()\n\n\n\nAn overview of all border shortcuts can be seen in the following image:\n\n![08-styling-border-options.png](./images/08-styling-border-options.png \"\")\n\nIf you simultaneously set e.g. allborders and vertical, then we have \"overlapping\" borders, and one of the components has to win over the other where there is border overlap. In PHPExcel, from weakest to strongest borders, the list is as follows: allborders, outline/inside, vertical/horizontal, left/right/top/bottom/diagonal.\n\nThis border hierarchy can be utilized to achieve various effects in an easy manner.\n\n### Conditional formatting a cell\n\nA cell can be formatted conditionally, based on a specific rule. For example, one can set the foreground colour of a cell to red if its value is below zero, and to green if its value is zero or more.\n\nOne can set a conditional style ruleset to a cell using the following code:\n\n```php\n$objConditional1 = new PHPExcel_Style_Conditional();\n$objConditional1->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS);\n$objConditional1->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_LESSTHAN);\n$objConditional1->addCondition('0');\n$objConditional1->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_RED);\n$objConditional1->getStyle()->getFont()->setBold(true);\n\n$objConditional2 = new PHPExcel_Style_Conditional();\n$objConditional2->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS);\n$objConditional2->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_GREATERTHANOREQUAL);\n$objConditional2->addCondition('0');\n$objConditional2->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_GREEN);\n$objConditional2->getStyle()->getFont()->setBold(true);\n\n$conditionalStyles = $objPHPExcel->getActiveSheet()->getStyle('B2')->getConditionalStyles();\narray_push($conditionalStyles, $objConditional1);\narray_push($conditionalStyles, $objConditional2);\n\n$objPHPExcel->getActiveSheet()->getStyle('B2')->setConditionalStyles($conditionalStyles);\n```\n\nIf you want to copy the ruleset to other cells, you can duplicate the style object:\n\n```php\n$objPHPExcel->getActiveSheet()\n    ->duplicateStyle(\n        $objPHPExcel->getActiveSheet()->getStyle('B2'), \n        'B3:B7' \n    );\n```\n\n### Add a comment to a cell\n\nTo add a comment to a cell, use the following code. The example below adds a comment to cell E11:\n\n```php\n$objPHPExcel->getActiveSheet()\n    ->getComment('E11')\n    ->setAuthor('Mark Baker');\n$objCommentRichText = $objPHPExcel->getActiveSheet()\n    ->getComment('E11')\n    ->getText()->createTextRun('PHPExcel:');\n$objCommentRichText->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()\n    ->getComment('E11')\n    ->getText()->createTextRun(\"\\r\\n\");\n$objPHPExcel->getActiveSheet()\n    ->getComment('E11')\n    ->getText()->createTextRun('Total amount on the current invoice, excluding VAT.');\n```\n\n![08-cell-comment.png](./images/08-cell-comment.png \"\")\n\n### Apply autofilter to a range of cells\n\nTo apply an autofilter to a range of cells, use the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->setAutoFilter('A1:C9');\n```\n\n__Make sure that you always include the complete filter range!__\nExcel does support setting only the captionrow, but that's __not__ a best practice...\n\n### Setting security on a spreadsheet\n\nExcel offers 3 levels of \"protection\": document security, sheet security and cell security.\n\nDocument security allows you to set a password on a complete spreadsheet, allowing changes to be made only when that password is entered.Worksheet security offers other security options: you can disallow inserting rows on a specific sheet, disallow sorting, ... Cell security offers the option to lock/unlock a cell as well as show/hide the internal formulaAn example on setting document security:\n\n```php\n$objPHPExcel->getSecurity()->setLockWindows(true);\n$objPHPExcel->getSecurity()->setLockStructure(true);\n$objPHPExcel->getSecurity()->setWorkbookPassword(\"PHPExcel\");\n```\n\nAn example on setting worksheet security:\n\n```php\n$objPHPExcel->getActiveSheet()\n    ->getProtection()->setPassword('PHPExcel');\n$objPHPExcel->getActiveSheet()\n    ->getProtection()->setSheet(true);\n$objPHPExcel->getActiveSheet()\n    ->getProtection()->setSort(true);\n$objPHPExcel->getActiveSheet()\n    ->getProtection()->setInsertRows(true);\n$objPHPExcel->getActiveSheet()\n    ->getProtection()->setFormatCells(true);\n```\n\nAn example on setting cell security:\n\n```php\n$objPHPExcel->getActiveSheet()->getStyle('B1')\n    ->getProtection()\n    ->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);\n```\n\n__Make sure you enable worksheet protection if you need any of the worksheet protection features!__ This can be done using the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);\n```\n\n### Setting data validation on a cell\n\nData validation is a powerful feature of Excel2007. It allows to specify an input filter on the data that can be inserted in a specific cell. This filter can be a range (i.e. value must be between 0 and 10), a list (i.e. value must be picked from a list), ...\n\nThe following piece of code only allows numbers between 10 and 20 to be entered in cell B3:\n\n```php\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B3')\n    ->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_WHOLE );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );\n$objValidation->setAllowBlank(true);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Number is not allowed!');\n$objValidation->setPromptTitle('Allowed input');\n$objValidation->setPrompt('Only numbers between 10 and 20 are allowed.');\n$objValidation->setFormula1(10);\n$objValidation->setFormula2(20);\n```\n\nThis validation will limit the length of text that can be entered in a cell to 6 characters.\n\n```\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B9')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );\n$objValidation->setAllowBlank(true);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Text exceeds maximum length');\n$objValidation->setPromptTitle('Allowed input');\n$objValidation->setPrompt('Maximum text length is 6 characters.');\n$objValidation->setFormula1(6);\n```\n\nThe following piece of code only allows an item picked from a list of data to be entered in cell B3:\n\n```php\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B5')\n    ->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION );\n$objValidation->setAllowBlank(false);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setShowDropDown(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Value is not in list.');\n$objValidation->setPromptTitle('Pick from list');\n$objValidation->setPrompt('Please pick a value from the drop-down list.');\n$objValidation->setFormula1('\"Item A,Item B,Item C\"');\n```\n\nWhen using a data validation list like above, make sure you put the list between \" and \" and that you split the items with a comma (,).\n\nIt is important to remember that any string participating in an Excel formula is allowed to be maximum 255 characters (not bytes). This sets a limit on how many items you can have in the string \"Item A,Item B,Item C\". Therefore it is normally a better idea to type the item values directly in some cell range, say A1:A3, and instead use, say, $objValidation->setFormula1('Sheet!$A$1:$A$3');. Another benefit is that the item values themselves can contain the comma \",\" character itself.\n\nIf you need data validation on multiple cells, one can clone the ruleset:\n\n```php\n$objPHPExcel->getActiveSheet()->getCell('B8')->setDataValidation(clone $objValidation);\n```\n\n### Setting a column's width\n\nA column's width can be set using the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(12);\n```\n\nIf you want PHPExcel to perform an automatic width calculation, use the following code. PHPExcel will approximate the column with to the width of the widest column value.\n\n```php\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);\n```\n\n![08-column-width.png](./images/08-column-width.png \"\")\n\nThe measure for column width in PHPExcel does __not__ correspond exactly to the measure you may be used to in Microsoft Office Excel. Column widths are difficult to deal with in Excel, and there are several measures for the column width.1) __Inner width in character units__ (e.g. 8.43 this is probably what you are familiar with in Excel)2) __Full width in pixels__ (e.g. 64 pixels)3) __Full width in character units__ (e.g. 9.140625, value -1 indicates unset width)__PHPExcel always operates with 3) \"Full width in character units\"__ which is in fact the only value that is stored in any Excel file, hence the most reliable measure. Unfortunately, __Microsoft ____Office ____Excel does not present you with this ____measure__. Instead measures 1) and 2) are computed by the application when the file is opened and these values are presented in various dialogues and tool tips.The character width unit is the width of a '0' (zero) glyph in the workbooks default font. Therefore column widths measured in character units in two different workbooks can only be compared if they have the same default workbook font.If you have some Excel file and need to know the column widths in measure 3), you can read the Excel file with PHPExcel and echo the retrieved values.\n\n### Show/hide a column\n\nTo set a worksheet's column visibility, you can use the following code. The first line explicitly shows the column C, the second line hides column D.\n\n```php\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setVisible(true);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setVisible(false);\n```\n\n### Group/outline a column\n\nTo group/outline a column, you can use the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1);\n```\n\nYou can also collapse the column. Note that you should also set the column invisible, otherwise the collapse will not be visible in Excel 2007.\n\n```php\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setCollapsed(true);\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setVisible(false);\n```\n\nPlease refer to the section \"group/outline a row\" for a complete example on collapsing.\n\nYou can instruct PHPExcel to add a summary to the right (default), or to the left. The following code adds the summary to the left:\n\n```php\n$objPHPExcel->getActiveSheet()->setShowSummaryRight(false);\n```\n\n### Setting a row's height\n\nA row's height can be set using the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getRowDimension('10')->setRowHeight(100);\n```\n\nExcel measures row height in points, where 1 pt is 1/72 of an inch (or about 0.35mm). The default value is 12.75 pts; and the permitted range of values is between 0 and 409 pts, where 0 pts is a hidden row.\n\n### Show/hide a row\n\nTo set a worksheet''s row visibility, you can use the following code. The following example hides row number 10.\n\n```php\n$objPHPExcel->getActiveSheet()->getRowDimension('10')->setVisible(false);\n```\n\nNote that if you apply active filters using an AutoFilter, then this will override any rows that you hide or unhide manually within that AutoFilter range if you save the file.\n\n### Group/outline a row\n\nTo group/outline a row, you can use the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getRowDimension('5')->setOutlineLevel(1);\n```\n\nYou can also collapse the row. Note that you should also set the row invisible, otherwise the collapse will not be visible in Excel 2007.\n\n```php\n$objPHPExcel->getActiveSheet()->getRowDimension('5')->setCollapsed(true);\n$objPHPExcel->getActiveSheet()->getRowDimension('5')->setVisible(false);\n```\n\nHere's an example which collapses rows 50 to 80:\n\n```php\nfor ($i = 51; $i <= 80; $i++) {\n    $objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\");\n    $objPHPExcel->getActiveSheet()->setCellValue('B' . $i, \"LName $i\");\n    $objPHPExcel->getActiveSheet()->setCellValue('C' . $i, \"PhoneNo $i\");\n    $objPHPExcel->getActiveSheet()->setCellValue('D' . $i, \"FaxNo $i\");\n    $objPHPExcel->getActiveSheet()->setCellValue('E' . $i, true);\n    $objPHPExcel->getActiveSheet()->getRowDimension($i)->setOutlineLevel(1);\n    $objPHPExcel->getActiveSheet()->getRowDimension($i)->setVisible(false);\n}\n\n$objPHPExcel->getActiveSheet()->getRowDimension(81)->setCollapsed(true);\n```\n\nYou can instruct PHPExcel to add a summary below the collapsible rows (default), or above. The following code adds the summary above:\n\n```php\n$objPHPExcel->getActiveSheet()->setShowSummaryBelow(false);\n```\n\n### Merge/unmerge cells\n\nIf you have a big piece of data you want to display in a worksheet, you can merge two or more cells together, to become one cell. This can be done using the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->mergeCells('A18:E22');\n```\n\nRemoving a merge can be done using the unmergeCells method:\n\n```php\n$objPHPExcel->getActiveSheet()->unmergeCells('A18:E22');\n```\n\n### Inserting rows/columns\n\nYou can insert/remove rows/columns at a specific position. The following code inserts 2 new rows, right before row 7:\n\n```php\n$objPHPExcel->getActiveSheet()->insertNewRowBefore(7, 2);\n```\n\n### Add a drawing to a worksheet\n\nA drawing is always represented as a separate object, which can be added to a worksheet. Therefore, you must first instantiate a new PHPExcel_Worksheet_Drawing, and assign its properties a meaningful value:\n\n```php\n$objDrawing = new PHPExcel_Worksheet_Drawing();\n$objDrawing->setName('Logo');\n$objDrawing->setDescription('Logo');\n$objDrawing->setPath('./images/officelogo.jpg');\n$objDrawing->setHeight(36);\n```\n\nTo add the above drawing to the worksheet, use the following snippet of code. PHPExcel creates the link between the drawing and the worksheet:\n\n```php\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n```\n\nYou can set numerous properties on a drawing, here are some examples:\n\n```php\n$objDrawing->setName('Paid');\n$objDrawing->setDescription('Paid');\n$objDrawing->setPath('./images/paid.png');\n$objDrawing->setCoordinates('B15');\n$objDrawing->setOffsetX(110);\n$objDrawing->setRotation(25);\n$objDrawing->getShadow()->setVisible(true);\n$objDrawing->getShadow()->setDirection(45);\n```\n\nYou can also add images created using GD functions without needing to save them to disk first as In-Memory drawings.\n\n```php\n//  Use GD to create an in-memory image\n$gdImage = @imagecreatetruecolor(120, 20) or die('Cannot Initialize new GD image stream');\n$textColor = imagecolorallocate($gdImage, 255, 255, 255);\nimagestring($gdImage, 1, 5, 5,  'Created with PHPExcel', $textColor);\n\n//  Add the In-Memory image to a worksheet\n$objDrawing = new PHPExcel_Worksheet_MemoryDrawing();\n$objDrawing->setName('In-Memory image 1');\n$objDrawing->setDescription('In-Memory image 1');\n$objDrawing->setCoordinates('A1');\n$objDrawing->setImageResource($gdImage);\n$objDrawing->setRenderingFunction(\n    PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG\n);\n$objDrawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT);\n$objDrawing->setHeight(36);\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n```\n\n### Reading Images from a worksheet\n\nA commonly asked question is how to retrieve the images from a workbook that has been loaded, and save them as individual image files to disk.\n\nThe following code extracts images from the current active worksheet, and writes each as a separate file.\n\n```php\n$i = 0;\nforeach ($objPHPExcel->getActiveSheet()->getDrawingCollection() as $drawing) {\n    if ($drawing instanceof PHPExcel_Worksheet_MemoryDrawing) {\n        ob_start();\n        call_user_func(\n            $drawing->getRenderingFunction(),\n            $drawing->getImageResource()\n        );\n        $imageContents = ob_get_contents();\n        ob_end_clean();\n        switch ($drawing->getMimeType()) {\n            case PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_PNG :\n                $extension = 'png'; \n                break;\n            case PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_GIF:\n                $extension = 'gif'; \n                break;\n            case PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_JPEG :\n                $extension = 'jpg'; \n                break;\n        }\n    } else {\n        $zipReader = fopen($drawing->getPath(),'r');\n        $imageContents = '';\n        while (!feof($zipReader)) {\n            $imageContents .= fread($zipReader,1024);\n        }\n        fclose($zipReader);\n        $extension = $drawing->getExtension();\n    }\n    $myFileName = '00_Image_'.++$i.'.'.$extension;\n    file_put_contents($myFileName,$imageContents);\n}\n```\n\n### Add rich text to a cell\n\nAdding rich text to a cell can be done using PHPExcel_RichText instances. Here''s an example, which creates the following rich text string:\n\n > This invoice is *__payable within thirty days after the end of the month__* unless specified otherwise on the invoice.\n\n```php\n$objRichText = new PHPExcel_RichText();\n$objRichText->createText('This invoice is ');\n$objPayable = $objRichText->createTextRun('payable within thirty days after the end of the month');\n$objPayable->getFont()->setBold(true);\n$objPayable->getFont()->setItalic(true);\n$objPayable->getFont()->setColor( new PHPExcel_Style_Color( PHPExcel_Style_Color::COLOR_DARKGREEN ) );\n$objRichText->createText(', unless specified otherwise on the invoice.');\n$objPHPExcel->getActiveSheet()->getCell('A18')->setValue($objRichText);\n```\n\n### Define a named range\n\nPHPExcel supports the definition of named ranges. These can be defined using the following code:\n\n```php\n// Add some data\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Firstname:');\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 'Lastname:');\n$objPHPExcel->getActiveSheet()->setCellValue('B1', 'Maarten');\n$objPHPExcel->getActiveSheet()->setCellValue('B2', 'Balliauw');\n\n// Define named ranges\n$objPHPExcel->addNamedRange( new PHPExcel_NamedRange('PersonFN', $objPHPExcel->getActiveSheet(), 'B1') );\n$objPHPExcel->addNamedRange( new PHPExcel_NamedRange('PersonLN', $objPHPExcel->getActiveSheet(), 'B2') );\n```\n\nOptionally, a fourth parameter can be passed defining the named range local (i.e. only usable on the current worksheet). Named ranges are global by default.\n\n### Redirect output to a client's web browser\n\nSometimes, one really wants to output a file to a client''s browser, especially when creating spreadsheets on-the-fly. There are some easy steps that can be followed to do this:\n\n 1. Create your PHPExcel spreadsheet\n 2. Output HTTP headers for the type of document you wish to output\n 3. Use the PHPExcel_Writer_* of your choice, and save to \"php://output\" \n\nPHPExcel_Writer_Excel2007 uses temporary storage when writing to php://output. By default, temporary files are stored in the script's working directory. When there is no access, it falls back to the operating system's temporary files location.\n\n__This may not be safe for unauthorized viewing!__ \nDepending on the configuration of your operating system, temporary storage can be read by anyone using the same temporary storage folder. When confidentiality of your document is needed, it is recommended not to use php://output.\n\n#### HTTP headers\n\nExample of a script redirecting an Excel 2007 file to the client's browser:\n\n```php\n/* Here there will be some code where you create $objPHPExcel */\n\n// redirect output to client browser\nheader('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');\nheader('Content-Disposition: attachment;filename=\"myfile.xlsx\"');\nheader('Cache-Control: max-age=0');\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save('php://output');\n```\n\nExample of a script redirecting an Excel5 file to the client's browser:\n\n```php\n/* Here there will be some code where you create $objPHPExcel */\n\n// redirect output to client browser\nheader('Content-Type: application/vnd.ms-excel');\nheader('Content-Disposition: attachment;filename=\"myfile.xls\"');\nheader('Cache-Control: max-age=0');\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save('php://output');\n```\n\n**Caution:**\n\nMake sure not to include any echo statements or output any other contents than the Excel file. There should be no whitespace before the opening <?php tag and at most one line break after the closing ?> tag (which can also be omitted to avoid problems). Make sure that your script is saved without a BOM (Byte-order mark) because this counts as echoing output. The same things apply to all included files.  \nFailing to follow the above guidelines may result in corrupt Excel files arriving at the client browser, and/or that headers cannot be set by PHP (resulting in warning messages).\n\n### Setting the default column width\n\nDefault column width can be set using the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getDefaultColumnDimension()->setWidth(12);\n```\n\n### Setting the default row height\n\nDefault row height can be set using the following code:\n\n```php\n$objPHPExcel->getActiveSheet()->getDefaultRowDimension()->setRowHeight(15);\n```\n\n### Add a GD drawing to a worksheet\n\nThere might be a situation where you want to generate an in-memory image using GD and add it to a PHPExcel worksheet without first having to save this file to a temporary location.\n\nHere''s an example which generates an image in memory and adds it to the active worksheet:\n\n```php\n// Generate an image\n$gdImage = @imagecreatetruecolor(120, 20) or die('Cannot Initialize new GD image stream');\n$textColor = imagecolorallocate($gdImage, 255, 255, 255);\nimagestring($gdImage, 1, 5, 5,  'Created with PHPExcel', $textColor);\n\n// Add a drawing to the worksheet\n$objDrawing = new PHPExcel_Worksheet_MemoryDrawing();\n$objDrawing->setName('Sample image');\n$objDrawing->setDescription('Sample image');\n$objDrawing->setImageResource($gdImage);\n$objDrawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG);\n$objDrawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT);\n$objDrawing->setHeight(36);\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n```\n\n### Setting worksheet zoom level\n\nTo set a worksheet's zoom level, the following code can be used:\n\n```php\n$objPHPExcel->getActiveSheet()->getSheetView()->setZoomScale(75);\n```\n\nNote that zoom level should be in range 10 â€“ 400.\n\n### Sheet tab color\n\nSometimes you want to set a color for sheet tab. For example you can have a red sheet tab:\n\n```php\n$objWorksheet->getTabColor()->setRGB('FF0000');\n```\n\n### Creating worksheets in a workbook\n\nIf you need to create more worksheets in the workbook, here is how:\n\n```php\n$objWorksheet1 = $objPHPExcel->createSheet();\n$objWorksheet1->setTitle('Another sheet');\n```\n\nThink of createSheet() as the \"Insert sheet\" button in Excel. When you hit that button a new sheet is appended to the existing collection of worksheets in the workbook.\n\n### Hidden worksheets (Sheet states)\n\nSet a worksheet to be __hidden__ using this code:\n\n```php\n$objPHPExcel->getActiveSheet()\n    ->setSheetState(PHPExcel_Worksheet::SHEETSTATE_HIDDEN);\n```\n\nSometimes you may even want the worksheet to be __\"very hidden\"__. The available sheet states are :\n\n - PHPExcel_Worksheet::SHEETSTATE_VISIBLE\n - PHPExcel_Worksheet::SHEETSTATE_HIDDEN\n - PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN\n\nIn Excel the sheet state \"very hidden\" can only be set programmatically, e.g. with Visual Basic Macro. It is not possible to make such a sheet visible via the user interface.\n\n### Right-to-left worksheet\n\nWorksheets can be set individually whether column \"A\" should start at left or right side. Default is left. Here is how to set columns from right-to-left.\n\n```php\n// right-to-left worksheet\n$objPHPExcel->getActiveSheet()\n    ->setRightToLeft(true);\n```\n\n"
  },
  {
    "path": "Documentation/markdown/Overview/09-Calculation-Engine.md",
    "content": "# PHPExcel Developer Documentation\n\n## Using the PHPExcel calculation engine\n\n### Performing formula calculations\n\nAs PHPExcel represents an in-memory spreadsheet, it also offers formula calculation capabilities. A cell can be of a value type (containing a number or text), or a formula type (containing a formula which can be evaluated). For example, the formula \"=SUM(A1:A10)\" evaluates to the sum of values in A1, A2, ..., A10.\n\nTo calculate a formula, you can call the cell containing the formula’s method getCalculatedValue(), for example:\n\n```php\n$objPHPExcel->getActiveSheet()->getCell('E11')->getCalculatedValue();\n```\nIf you write the following line of code in the invoice demo included with PHPExcel, it evaluates to the value \"64\":\n\n![09-command-line-calculation.png](./images/09-command-line-calculation.png \"\")\n\nAnother nice feature of PHPExcel's formula parser, is that it can automatically adjust a formula when inserting/removing rows/columns. Here's an example:\n\n![09-formula-in-cell-1.png](./images/09-formula-in-cell-1.png \"\")\n\nYou see that the formula contained in cell E11 is \"SUM(E4:E9)\". Now, when I write the following line of code, two new product lines are added:\n\n```php\n$objPHPExcel->getActiveSheet()->insertNewRowBefore(7, 2);\n```\n\n![09-formula-in-cell-2.png](./images/09-formula-in-cell-2.png \"\")\n\nDid you notice? The formula in the former cell E11 (now E13, as I inserted 2 new rows), changed to \"SUM(E4:E11)\". Also, the inserted cells duplicate style information of the previous cell, just like Excel's behaviour. Note that you can both insert rows and columns.\n\n### Known limitations\n\nThere are some known limitations to the PHPExcel calculation engine. Most of them are due to the fact that an Excel formula is converted into PHP code before being executed. This means that Excel formula calculation is subject to PHP's language characteristics.\n\n#### Operator precedence\n\nIn Excel '+' wins over '&', just like '*' wins over '+' in ordinary algebra. The former rule is not what one finds using the calculation engine shipped with PHPExcel.\n\nReference for operator precedence in Excel: [http://support.microsoft.com/kb/25189][18]\n\nReference for operator precedence in PHP: [http://www.php.net/operators][19]\n\n#### Formulas involving numbers and text\n\nFormulas involving numbers and text may produce unexpected results or even unreadable file contents. For example, the formula '=3+\"Hello \"' is expected to produce an error in Excel (#VALUE!). Due to the fact that PHP converts “Hello” to a numeric value (zero), the result of this formula is evaluated as 3 instead of evaluating as an error. This also causes the Excel document being generated as containing unreadable content.\n\nReference for this behaviour in PHP: [http://be.php.net/manual/en/language.types.string.php#language.types.string.conversion][20]\n\n  [18]: http://support.microsoft.com/kb/25189\n  [19]: http://www.php.net/operators\n  [20]: http://be.php.net/manual/en/language.types.string.php#language.types.string.conversion\n"
  },
  {
    "path": "Documentation/markdown/Overview/10-Reading-and-Writing.md",
    "content": "# PHPExcel Developer Documentation\n\n## Reading and writing to file\n\nAs you already know from part  REF _Ref191885438 \\w \\h 3.3  REF _Ref191885438 \\h Readers and writers, reading and writing to a persisted storage is not possible using the base PHPExcel classes. For this purpose, PHPExcel provides readers and writers, which are implementations of PHPExcel_Writer_IReader and PHPExcel_Writer_IWriter.\n\n### PHPExcel_IOFactory\n\nThe PHPExcel API offers multiple methods to create a PHPExcel_Writer_IReader or PHPExcel_Writer_IWriter instance:\n\nDirect creation via PHPExcel_IOFactory.  All examples underneath demonstrate the direct creation method. Note that you can also use the PHPExcel_IOFactory class to do this.\n\n#### Creating PHPExcel_Reader_IReader using PHPExcel_IOFactory\n\nThere are 2 methods for reading in a file into PHPExcel: using automatic file type resolving or explicitly.\n\nAutomatic file type resolving checks the different PHPExcel_Reader_IReader distributed with PHPExcel. If one of them can load the specified file name, the file is loaded using that PHPExcel_Reader_IReader. Explicit mode requires you to specify which PHPExcel_Reader_IReader should be used.\n\nYou can create a PHPExcel_Reader_IReader instance using PHPExcel_IOFactory in automatic file type resolving mode using the following code sample:\n\n```php\n$objPHPExcel = PHPExcel_IOFactory::load(\"05featuredemo.xlsx\");\n```\n\nA typical use of this feature is when you need to read files uploaded by your users, and you don’t know whether they are uploading xls or xlsx files.\n\nIf you need to set some properties on the reader, (e.g. to only read data, see more about this later), then you may instead want to use this variant:\n\n```php\n$objReader = PHPExcel_IOFactory::createReaderForFile(\"05featuredemo.xlsx\");\n$objReader->setReadDataOnly(true);\n$objReader->load(\"05featuredemo.xlsx\");\n```\n\nYou can create a PHPExcel_Reader_IReader instance using PHPExcel_IOFactory in explicit mode using the following code sample:\n\n```php\n$objReader = PHPExcel_IOFactory::createReader(\"Excel2007\");\n$objPHPExcel = $objReader->load(\"05featuredemo.xlsx\");\n```\n\nNote that automatic type resolving mode is slightly slower than explicit mode.\n\n#### Creating PHPExcel_Writer_IWriter using PHPExcel_IOFactory\n\nYou can create a PHPExcel_Writer_Iwriter instance using PHPExcel_IOFactory:\n\n```php\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, \"Excel2007\");\n$objWriter->save(\"05featuredemo.xlsx\");\n```\n\n### Excel 2007 (SpreadsheetML) file format\n\nExcel2007 file format is the main file format of PHPExcel. It allows outputting the in-memory spreadsheet to a .xlsx file.\n\n#### PHPExcel_Reader_Excel2007\n\n##### Reading a spreadsheet\n\nYou can read an .xlsx file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_Excel2007();\n$objPHPExcel = $objReader->load(\"05featuredemo.xlsx\");\n```\n\n##### Read data only\n\nYou can set the option setReadDataOnly on the reader, to instruct the reader to ignore styling, data validation, … and just read cell data:\n\n```php\n$objReader = new PHPExcel_Reader_Excel2007();\n$objReader->setReadDataOnly(true);\n$objPHPExcel = $objReader->load(\"05featuredemo.xlsx\");\n```\n\n##### Read specific sheets only\n\nYou can set the option setLoadSheetsOnly on the reader, to instruct the reader to only load the sheets with a given name:\n\n```php\n$objReader = new PHPExcel_Reader_Excel2007();\n$objReader->setLoadSheetsOnly( array(\"Sheet 1\", \"My special sheet\") );\n$objPHPExcel = $objReader->load(\"05featuredemo.xlsx\");\n```\n\n##### Read specific cells only\n\nYou can set the option setReadFilter on the reader, to instruct the reader to only load the cells which match a given rule. A read filter can be any class which implements PHPExcel_Reader_IReadFilter. By default, all cells are read using the PHPExcel_Reader_DefaultReadFilter.\n\nThe following code will only read row 1 and rows 20 – 30 of any sheet in the Excel file:\n\n```php\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter {\n\n    public function readCell($column, $row, $worksheetName = '') {\n        // Read title row and rows 20 - 30\n        if ($row == 1 || ($row >= 20 && $row <= 30)) {\n            return true;\n        }\n        return false;\n    }\n}\n\n$objReader = new PHPExcel_Reader_Excel2007();\n$objReader->setReadFilter( new MyReadFilter() );\n$objPHPExcel = $objReader->load(\"06largescale.xlsx\");\n```\n\n#### PHPExcel_Writer_Excel2007\n\n##### Writing a spreadsheet\n\nYou can write an .xlsx file using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel);\n$objWriter->save(\"05featuredemo.xlsx\");\n```\n\n##### Formula pre-calculation\n\nBy default, this writer pre-calculates all formulas in the spreadsheet. This can be slow on large spreadsheets, and maybe even unwanted. You can however disable formula pre-calculation:\n\n```php\n$objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel);\n$objWriter->setPreCalculateFormulas(false);\n$objWriter->save(\"05featuredemo.xlsx\");\n```\n\n##### Office 2003 compatibility pack\n\nBecause of a bug in the Office2003 compatibility pack, there can be some small issues when opening Excel2007 spreadsheets (mostly related to formula calculation). You can enable Office2003 compatibility with the following code:\n\n```\n$objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel);\n$objWriter->setOffice2003Compatibility(true);\n$objWriter->save(\"05featuredemo.xlsx\");\n```\n\n__Office2003 compatibility should only be used when needed__\nOffice2003 compatibility option should only be used when needed. This option disables several Office2007 file format options, resulting in a lower-featured Office2007 spreadsheet when this option is used.\n\n### Excel 5 (BIFF) file format\n\nExcel5 file format is the old Excel file format, implemented in PHPExcel to provide a uniform manner to create both .xlsx and .xls files. It is basically a modified version of [PEAR Spreadsheet_Excel_Writer][21], although it has been extended and has fewer limitations and more features than the old PEAR library. This can read all BIFF versions that use OLE2: BIFF5 (introduced with office 95) through BIFF8, but cannot read earlier versions.\n\nExcel5 file format will not be developed any further, it just provides an additional file format for PHPExcel.\n\n__Excel5 (BIFF) limitations__\nPlease note that BIFF file format has some limits regarding to styling cells and handling large spreadsheets via PHP.\n\n#### PHPExcel_Reader_Excel5\n\n##### Reading a spreadsheet\n\nYou can read an .xls file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_Excel5();\n$objPHPExcel = $objReader->load(\"05featuredemo.xls\");\n```\n\n##### Read data only\n\nYou can set the option setReadDataOnly on the reader, to instruct the reader to ignore styling, data validation, … and just read cell data:\n\n```php\n$objReader = new PHPExcel_Reader_Excel5();\n$objReader->setReadDataOnly(true);\n$objPHPExcel = $objReader->load(\"05featuredemo.xls\");\n```\n\n##### Read specific sheets only\n\nYou can set the option setLoadSheetsOnly on the reader, to instruct the reader to only load the sheets with a given name:\n\n```php\n$objReader = new PHPExcel_Reader_Excel5();\n$objReader->setLoadSheetsOnly( array(\"Sheet 1\", \"My special sheet\") );\n$objPHPExcel = $objReader->load(\"05featuredemo.xls\");\n```\n\n##### Read specific cells only\n\nYou can set the option setReadFilter on the reader, to instruct the reader to only load the cells which match a given rule. A read filter can be any class which implements PHPExcel_Reader_IReadFilter. By default, all cells are read using the PHPExcel_Reader_DefaultReadFilter.\n\nThe following code will only read row 1 and rows 20 to 30 of any sheet in the Excel file:\n\n```php\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter {\n\n    public function readCell($column, $row, $worksheetName = '') {\n        // Read title row and rows 20 - 30\n        if ($row == 1 || ($row >= 20 && $row <= 30)) {\n            return true;\n        }\n        return false;\n    }\n}\n\n$objReader = new PHPExcel_Reader_Excel5();\n$objReader->setReadFilter( new MyReadFilter() );\n$objPHPExcel = $objReader->load(\"06largescale.xls\");\n```\n\n#### PHPExcel_Writer_Excel5\n\n##### Writing a spreadsheet\n\nYou can write an .xls file using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_Excel5($objPHPExcel);\n$objWriter->save(\"05featuredemo.xls\");\n```\n\n### Excel 2003 XML file format\n\nExcel 2003 XML file format is a file format which can be used in older versions of Microsoft Excel.\n\n__Excel 2003 XML limitations__\nPlease note that Excel 2003 XML format has some limits regarding to styling cells and handling large spreadsheets via PHP.\n\n#### PHPExcel_Reader_Excel2003XML\n\n##### Reading a spreadsheet\n\nYou can read an Excel 2003 .xml file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_Excel2003XML();\n$objPHPExcel = $objReader->load(\"05featuredemo.xml\");\n```\n\n##### Read specific cells only\n\nYou can set the option setReadFilter on the reader, to instruct the reader to only load the cells which match a given rule. A read filter can be any class which implements PHPExcel_Reader_IReadFilter. By default, all cells are read using the PHPExcel_Reader_DefaultReadFilter.\n\nThe following code will only read row 1 and rows 20 to 30 of any sheet in the Excel file:\n\n```php\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter {\n\n    public function readCell($column, $row, $worksheetName = '') {\n        // Read title row and rows 20 - 30\n        if ($row == 1 || ($row >= 20 && $row <= 30)) {\n            return true;\n        }\n        return false;\n    }\n\n}\n\n$objReader = new PHPExcel_Reader_Excel2003XML();\n$objReader->setReadFilter( new MyReadFilter() );\n$objPHPExcel = $objReader->load(\"06largescale.xml\");\n```\n\n### Symbolic LinK (SYLK)\n\nSymbolic Link (SYLK) is a Microsoft file format typically used to exchange data between applications, specifically spreadsheets. SYLK files conventionally have a .slk suffix. Composed of only displayable ANSI characters, it can be easily created and processed by other applications, such as databases.\n\n__SYLK limitations__\nPlease note that SYLK file format has some limits regarding to styling cells and handling large spreadsheets via PHP.\n\n#### PHPExcel_Reader_SYLK\n\n##### Reading a spreadsheet\n\nYou can read an .slk file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_SYLK();\n$objPHPExcel = $objReader->load(\"05featuredemo.slk\");\n```\n\n##### Read specific cells only\n\nYou can set the option setReadFilter on the reader, to instruct the reader to only load the cells which match a given rule. A read filter can be any class which implements PHPExcel_Reader_IReadFilter. By default, all cells are read using the PHPExcel_Reader_DefaultReadFilter.\n\nThe following code will only read row 1 and rows 20 to 30 of any sheet in the SYLK file:\n\n```php\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter {\n\n    public function readCell($column, $row, $worksheetName = '') {\n        // Read title row and rows 20 - 30\n        if ($row == 1 || ($row >= 20 && $row <= 30)) {\n            return true;\n        }\n        return false;\n    }\n\n}\n\n$objReader = new PHPExcel_Reader_SYLK();\n$objReader->setReadFilter( new MyReadFilter() );\n$objPHPExcel = $objReader->load(\"06largescale.slk\");\n```\n\n### Open/Libre Office (.ods)\n\nOpen Office or Libre Office .ods files are the standard file format for Open Office or Libre Office Calc files.\n\n#### PHPExcel_Reader_OOCalc\n\n##### Reading a spreadsheet\n\nYou can read an .ods file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_OOCalc();\n$objPHPExcel = $objReader->load(\"05featuredemo.ods\");\n```\n\n##### Read specific cells only\n\nYou can set the option setReadFilter on the reader, to instruct the reader to only load the cells which match a given rule. A read filter can be any class which implements PHPExcel_Reader_IReadFilter. By default, all cells are read using the PHPExcel_Reader_DefaultReadFilter.\n\nThe following code will only read row 1 and rows 20 to 30 of any sheet in the Calc file:\n\n```php\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter {\n\n    public function readCell($column, $row, $worksheetName = '') {\n        // Read title row and rows 20 - 30\n        if ($row == 1 || ($row >= 20 && $row <= 30)) {\n            return true;\n        }\n        return false;\n    }\n\n}\n\n$objReader = new PHPExcel_Reader_OOcalc();\n$objReader->setReadFilter( new MyReadFilter() );\n$objPHPExcel = $objReader->load(\"06largescale.ods\");\n```\n\n### CSV (Comma Separated Values)\n\nCSV (Comma Separated Values) are often used as an import/export file format with other systems. PHPExcel allows reading and writing to CSV files.\n\n__CSV limitations__\nPlease note that CSV file format has some limits regarding to styling cells, number formatting, ...\n\n#### PHPExcel_Reader_CSV\n\n##### Reading a CSV file\n\nYou can read a .csv file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_CSV();\n$objPHPExcel = $objReader->load(\"sample.csv\");\n```\n\n##### Setting CSV options\n\nOften, CSV files are not really “comma separated”, or use semicolon (;) as a separator. You can instruct PHPExcel_Reader_CSV some options before reading a CSV file.\n\nNote that PHPExcel_Reader_CSV by default assumes that the loaded CSV file is UTF-8 encoded. If you are reading CSV files that were created in Microsoft Office Excel the correct input encoding may rather be Windows-1252 (CP1252). Always make sure that the input encoding is set appropriately.\n\n```php\n$objReader = new PHPExcel_Reader_CSV();\n$objReader->setInputEncoding('CP1252');\n$objReader->setDelimiter(';');\n$objReader->setEnclosure('');\n$objReader->setLineEnding(\"\\r\\n\");\n$objReader->setSheetIndex(0);\n\n$objPHPExcel = $objReader->load(\"sample.csv\");\n```\n\n##### Read a specific worksheet\n\nCSV files can only contain one worksheet. Therefore, you can specify which sheet to read from CSV:\n\n```php\n$objReader->setSheetIndex(0);\n```\n\n##### Read into existing spreadsheet\n\nWhen working with CSV files, it might occur that you want to import CSV data into an existing PHPExcel object. The following code loads a CSV file into an existing $objPHPExcel containing some sheets, and imports onto the 6th sheet:\n\n```php\n$objReader = new PHPExcel_Reader_CSV();\n$objReader->setDelimiter(';');\n$objReader->setEnclosure('');\n$objReader->setLineEnding(\"\\r\\n\");\n$objReader->setSheetIndex(5); \n\n$objReader->loadIntoExisting(\"05featuredemo.csv\", $objPHPExcel);\n```\n\n#### PHPExcel_Writer_CSV\n\n##### Writing a CSV file\n\nYou can write a .csv file using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_CSV($objPHPExcel);\n$objWriter->save(\"05featuredemo.csv\");\n```\n\n##### Setting CSV options\n\nOften, CSV files are not really “comma separated”, or use semicolon (;) as a separator. You can instruct PHPExcel_Writer_CSV some options before writing a CSV file:\n\n```php\n$objWriter = new PHPExcel_Writer_CSV($objPHPExcel);\n$objWriter->setDelimiter(';');\n$objWriter->setEnclosure('');\n$objWriter->setLineEnding(\"\\r\\n\");\n$objWriter->setSheetIndex(0);\n\n$objWriter->save(\"05featuredemo.csv\");\n```\n\n##### Write a specific worksheet\n\nCSV files can only contain one worksheet. Therefore, you can specify which sheet to write to CSV:\n\n```php\n$objWriter->setSheetIndex(0);\n```\n\n##### Formula pre-calculation\n\nBy default, this writer pre-calculates all formulas in the spreadsheet. This can be slow on large spreadsheets, and maybe even unwanted. You can however disable formula pre-calculation:\n\n```php\n$objWriter = new PHPExcel_Writer_CSV($objPHPExcel);\n$objWriter->setPreCalculateFormulas(false);\n$objWriter->save(\"05featuredemo.csv\");\n```\n\n##### Writing UTF-8 CSV files\n\nA CSV file can be marked as UTF-8 by writing a BOM file header. This can be enabled by using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_CSV($objPHPExcel);\n$objWriter->setUseBOM(true);\n$objWriter->save(\"05featuredemo.csv\");\n```\n\n##### Decimal and thousands separators\n\nIf the worksheet you are exporting contains numbers with decimal or thousands separators then you should think about what characters you want to use for those before doing the export.\n\nBy default PHPExcel looks up in the server's locale settings to decide what characters to use. But to avoid problems it is recommended to set the characters explicitly as shown below.\n\nEnglish users will want to use this before doing the export:\n\n```php\nPHPExcel_Shared_String::setDecimalSeparator('.');\nPHPExcel_Shared_String::setThousandsSeparator(',');\n```\n\nGerman users will want to use the opposite values.\n\n```php\nPHPExcel_Shared_String::setDecimalSeparator(',');\nPHPExcel_Shared_String::setThousandsSeparator('.');\n```\n\nNote that the above code sets decimal and thousand separators as global options. This also affects how HTML and PDF is exported.\n\n### HTML\n\nPHPExcel allows you to read or write a spreadsheet as HTML format, for quick representation of the data in it to anyone who does not have a spreadsheet application on their PC, or loading files saved by other scripts that simply create HTML markup and give it a .xls file extension.\n\n__HTML limitations__\nPlease note that HTML file format has some limits regarding to styling cells, number formatting, ...\n\n#### PHPExcel_Reader_HTML\n\n##### Reading a spreadsheet\n\nYou can read an .html or .htm file using the following code:\n\n```php\n$objReader = new PHPExcel_Reader_HTML();\n\n$objPHPExcel = $objReader->load(\"05featuredemo.html\");\n```\n\n__HTML limitations__\nPlease note that HTML reader is still experimental and does not yet support merged cells or nested tables cleanly\n\n#### PHPExcel_Writer_HTML\n\nPlease note that PHPExcel_Writer_HTML only outputs the first worksheet by default.\n\n##### Writing a spreadsheet\n\nYou can write a .htm file using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_HTML($objPHPExcel);\n\n$objWriter->save(\"05featuredemo.htm\");\n```\n\n##### Write all worksheets\n\nHTML files can contain one or more worksheets. If you want to write all sheets into a single HTML file, use the following code:\n\n```php\n$objWriter->writeAllSheets();\n```\n\n##### Write a specific worksheet\n\nHTML files can contain one or more worksheets. Therefore, you can specify which sheet to write to HTML:\n\n```php\n$objWriter->setSheetIndex(0);\n```\n\n##### Setting the images root of the HTML file\n\nThere might be situations where you want to explicitly set the included images root. For example, one might want to see \n```html\n<img style=\"position: relative; left: 0px; top: 0px; width: 140px; height: 78px;\" src=\"http://www.domain.com/*images/logo.jpg\" border=\"0\"> \n```\n\ninstead of\n\n```html\n<img style=\"position: relative; left: 0px; top: 0px; width: 140px; height: 78px;\" src=\"./images/logo.jpg\" border=\"0\">.\n```\n\nYou can use the following code to achieve this result:\n\n```php\n$objWriter->setImagesRoot('http://www.example.com');\n```\n\n##### Formula pre-calculation\n\nBy default, this writer pre-calculates all formulas in the spreadsheet. This can be slow on large spreadsheets, and maybe even unwanted. You can however disable formula pre-calculation:\n\n```php\n$objWriter = new PHPExcel_Writer_HTML($objPHPExcel);\n$objWriter->setPreCalculateFormulas(false);\n\n$objWriter->save(\"05featuredemo.htm\");\n```\n\n##### Embedding generated HTML in a web page\n\nThere might be a situation where you want to embed the generated HTML in an existing website. PHPExcel_Writer_HTML provides support to generate only specific parts of the HTML code, which allows you to use these parts in your website.\n\nSupported methods:\n\n - generateHTMLHeader()\n - generateStyles()\n - generateSheetData()\n - generateHTMLFooter()\n\nHere's an example which retrieves all parts independently and merges them into a resulting HTML page:\n\n```php\n<?php\n$objWriter = new PHPExcel_Writer_HTML($objPHPExcel);\necho $objWriter->generateHTMLHeader();\n?>\n\n<style>\n<!--\nhtml {\n    font-family: Times New Roman;\n    font-size: 9pt;\n    background-color: white;\n}\n\n<?php\necho $objWriter->generateStyles(false); // do not write <style> and </style>\n?>\n\n-->\n</style>\n\n<?php\necho $objWriter->generateSheetData();\necho $objWriter->generateHTMLFooter();\n?>\n```\n\n##### Writing UTF-8 HTML files\n\nA HTML file can be marked as UTF-8 by writing a BOM file header. This can be enabled by using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_HTML($objPHPExcel);\n$objWriter->setUseBOM(true);\n\n$objWriter->save(\"05featuredemo.htm\");\n```\n\n##### Decimal and thousands separators\n\nSee section PHPExcel_Writer_CSV how to control the appearance of these.\n\n### PDF\n\nPHPExcel allows you to write a spreadsheet into PDF format, for fast distribution of represented data.\n\n__PDF limitations__\nPlease note that PDF file format has some limits regarding to styling cells, number formatting, ...\n\n#### PHPExcel_Writer_PDF\n\nPHPExcel’s PDF Writer is a wrapper for a 3rd-Party PDF Rendering library such as tcPDF, mPDF or DomPDF. Prior to version 1.7.8 of PHPExcel, the tcPDF library was bundled with PHPExcel; but from version 1.7.8 this was removed. Instead, you must now install a PDF Rendering library yourself; but PHPExcel will work with a number of different libraries.\n\nCurrently, the following libraries are supported:\n\nLibrary | Version used for testing | Downloadable from                | PHPExcel Internal Constant\n--------|--------------------------|----------------------------------|----------------------------\ntcPDF   | 5.9                      | http://www.tcpdf.org/            | PDF_RENDERER_TCPDF\nmPDF    | 5.4                      | http://www.mpdf1.com/mpdf/       | PDF_RENDERER_MPDF\ndomPDF  | 0.6.0 beta 3             | http://code.google.com/p/dompdf/ | PDF_RENDERER_DOMPDF\n\nThe different libraries have different strengths and weaknesses. Some generate better formatted output than others, some are faster or use less memory than others, while some generate smaller .pdf files. It is the developers choice which one they wish to use, appropriate to their own circumstances.\n\nBefore instantiating a Writer to generate PDF output, you will need to indicate which Rendering library you are using, and where it is located.\n\n```php\n$rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;\n$rendererLibrary = 'mPDF5.4';\n$rendererLibraryPath = dirname(__FILE__).'/../../../libraries/PDF/' . $rendererLibrary;\n\nif (!PHPExcel_Settings::setPdfRenderer(\n    $rendererName,\n    $rendererLibraryPath\n    )) {\n    die(\n        'Please set the $rendererName and $rendererLibraryPath values' .\n        PHP_EOL .\n        ' as appropriate for your directory structure'\n    );\n}\n```\n\n##### Writing a spreadsheet\n\nOnce you have identified the Renderer that you wish to use for PDF generation, you can write a .pdf file using the following code:\n\n```php\n$objWriter = new PHPExcel_Writer_PDF($objPHPExcel);\n$objWriter->save(\"05featuredemo.pdf\");\n```\n\nPlease note that PHPExcel_Writer_PDF only outputs the first worksheet by default.\n\n##### Write all worksheets\n\nPDF files can contain one or more worksheets. If you want to write all sheets into a single PDF file, use the following code:\n\n```php\n$objWriter->writeAllSheets();\n```\n\n##### Write a specific worksheet\n\nPDF files can contain one or more worksheets. Therefore, you can specify which sheet to write to PDF:\n\n```php\n$objWriter->setSheetIndex(0);\n```\n\n##### Formula pre-calculation\n\nBy default, this writer pre-calculates all formulas in the spreadsheet. This can be slow on large spreadsheets, and maybe even unwanted. You can however disable formula pre-calculation:\n\n```php\n$objWriter = new PHPExcel_Writer_PDF($objPHPExcel);\n$objWriter->setPreCalculateFormulas(false);\n\n$objWriter->save(\"05featuredemo.pdf\");\n```\n\n##### Decimal and thousands separators\n\nSee section PHPExcel_Writer_CSV how to control the appearance of these.\n\n### Generating Excel files from templates (read, modify, write)\n\nReaders and writers are the tools that allow you to generate Excel files from templates. This requires less coding effort than generating the Excel file from scratch, especially if your template has many styles, page setup properties, headers etc.\n\nHere is an example how to open a template file, fill in a couple of fields and save it again:\n\n```php\n$objPHPexcel = PHPExcel_IOFactory::load('template.xlsx');\n\n$objWorksheet = $objPHPexcel->getActiveSheet();\n\n$objWorksheet->getCell('A1')->setValue('John');\n$objWorksheet->getCell('A2')->setValue('Smith');\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPexcel, 'Excel5');\n$objWriter->save('write.xls');\n```\n\nNotice that it is ok to load an xlsx file and generate an xls file.\n\n  [21]: http://pear.php.net/package/Spreadsheet_Excel_Writer\n  [22]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home\n"
  },
  {
    "path": "Documentation/markdown/Overview/11-Appendices.md",
    "content": "# PHPExcel Developer Documentation\n\n## Credits\n\nPlease refer to the internet page [http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home][22] for up-to-date credits.\n\n## Valid array keys for style applyFromArray()\n\nThe following table lists the valid array keys for PHPExcel_Style applyFromArray() classes. If the \"Maps to property\" column maps a key to a setter, the value provided for that key will be applied directly. If the \"Maps to property\" column maps a key to a getter, the value provided for that key will be applied as another style array.\n\n__PHPExcel_Style__\n\n    Array key    | Maps to property\n    -------------|-------------------\n    fill         | getFill()\n    font         | getFont()\n    borders      | getBorders()\n    alignment    | getAlignment()\n    numberformat | getNumberFormat()\n    protection   | getProtection()\n\n\n__PHPExcel_Style_Fill__\n\n    Array key  | Maps to property\n    -----------|-------------------\n    type       | setFillType()\n    rotation   | setRotation()\n    startcolor | getStartColor()\n    endcolor   | getEndColor()\n    color      | getStartColor()\n\n\n__PHPExcel_Style_Font__\n\n    Array key   | Maps to property\n    ------------|-------------------\n    name        | setName()\n    bold        | setBold()\n    italic      | setItalic()\n    underline   | setUnderline()\n    strike      | setStrikethrough()\n    color       | getColor()\n    size        | setSize()\n    superScript | setSuperScript()\n    subScript   | setSubScript()\n\n\n__PHPExcel_Style_Borders__\n\n    Array key         | Maps to property\n    ------------------|-------------------\n    allborders        | getLeft(); getRight(); getTop(); getBottom()\n    left              | getLeft()\n    right             | getRight()\n    top               | getTop()\n    bottom            | getBottom()\n    diagonal          | getDiagonal()\n    vertical          | getVertical()\n    horizontal        | getHorizontal()\n    diagonaldirection | setDiagonalDirection()\n    outline           | setOutline()\n\n\n__PHPExcel_Style_Border__\n\n    Array key | Maps to property\n    ----------|-------------------\n    style     | setBorderStyle()\n    color     | getColor()\n\n\n__PHPExcel_Style_Alignment__\n\n    Array key   | Maps to property\n    ------------|-------------------\n    horizontal  | setHorizontal()\n    vertical    | setVertical()\n    rotation    | setTextRotation()\n    wrap        | setWrapText()\n    shrinkToFit | setShrinkToFit()\n    indent      | setIndent()\n\n\n__PHPExcel_Style_NumberFormat__\n\n    Array key | Maps to property\n    ----------|-------------------\n    code      | setFormatCode()\n\n\n__PHPExcel_Style_Protection__\n\n    Array key | Maps to property\n    ----------|-------------------\n    locked    | setLocked()\n    hidden    | setHidden()\n\n\n  [22]: http://www.codeplex.com/PHPExcel/Wiki/View.aspx?title=Credits&referringTitle=Home\n"
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/01-File-Formats.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n\n## Spreadsheet File Formats\n\nPHPExcel can read a number of different spreadsheet and file formats, although not all features are supported by all of the readers. Check the Functionality Cross-Reference document (Functionality Cross-Reference.xls) for a list that identifies which features are supported by which readers.\n\nCurrently, PHPExcel supports the following File Types for Reading:\n\n### Excel5\n\nThe Microsoft Excel™ Binary file format (BIFF5 and BIFF8) is a binary file format that was used by Microsoft Excel™ between versions 95 and 2003. The format is supported (to various extents) by most spreadsheet programs. BIFF files normally have an extension of .xls. Documentation describing the format can be found online at [http://msdn.microsoft.com/en-us/library/cc313154(v=office.12).aspx][1] or from [http://download.microsoft.com/download/2/4/8/24862317-78F0-4C4B-B355-C7B2C1D997DB/[MS-XLS].pdf][2] (as a downloadable PDF).\n\n### Excel2003XML\n\nMicrosoft Excel™ 2003 included options for a file format called SpreadsheetML. This file is a zipped XML document. It is not very common, but its core features are supported. Documentation for the format can be found at [http://msdn.microsoft.com/en-us/library/aa140066%28office.10%29.aspx][3] though it’s sadly rather sparse in its detail.\n\n### Excel2007\n\nMicrosoft Excel™ 2007 shipped with a new file format, namely Microsoft Office Open XML SpreadsheetML, and Excel 2010 extended this still further with its new features such as sparklines. These files typically have an extension of .xlsx. This format is based around a zipped collection of eXtensible Markup Language (XML) files. Microsoft Office Open XML SpreadsheetML is mostly standardized in ECMA 376 ([http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm][4]) and ISO 29500.\n\n### OOCalc\n\naka Open Document Format (ODF) or OASIS, this is the OpenOffice.org XML File Format for spreadsheets. It comprises a zip archive including several components all of which are text files, most of these with markup in the eXtensible Markup Language (XML). It is the standard file format for OpenOffice.org Calc and StarCalc, and files typically have an extension of .ods. The published specification for the file format is available from the OASIS Open Office XML Format Technical Committee web page ([http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office#technical][5]). Other information is available from the OpenOffice.org XML File Format web page ([http://xml.openoffice.org/general.html][6]), part of the OpenOffice.org project.\n\n### SYLK\n\nThis is the Microsoft Multiplan Symbolic Link Interchange (SYLK) file format. Multiplan was a predecessor to Microsoft Excel™. Files normally have an extension of .slk. While not common, there are still a few applications that generate SYLK files as a cross-platform option, because (despite being limited to a single worksheet) it is a simple format to implement, and supports some basic data and cell formatting options (unlike CSV files).\n\n### Gnumeric\n\nThe Gnumeric file format is used by the Gnome Gnumeric spreadsheet application, and typically files have an extension of .gnumeric. The file contents are stored using eXtensible Markup Language (XML) markup, and the file is then compressed using the GNU project's gzip compression library. [http://projects.gnome.org/gnumeric/doc/file-format-gnumeric.shtml][7]\n\n### CSV\n\nComma Separated Value (CSV) file format is a common structuring strategy for text format files. In CSV flies, each line in the file represents a row of data and (within each line of the file) the different data fields (or columns) are separated from one another using a comma (\",\"). If a data field contains a comma, then it should be enclosed (typically in quotation marks (\"). Sometimes tabs \"\\t\", or the pipe symbol (\"|\"), or a semi-colon (\";\") are used as separators instead of a comma, although other symbols can be used. Because CSV is a text-only format, it doesn't support any data formatting options.\n\n\"CSV\" is not a single, well-defined format (although see RFC 4180 for one definition that is commonly used). Rather, in practice the term \"CSV\" refers to any file that:\n - is plain text using a character set such as ASCII, Unicode, EBCDIC, or Shift JIS,\n - consists of records (typically one record per line),\n - with the records divided into fields separated by delimiters (typically a single reserved character such as comma, semicolon, or tab,\n - where every record has the same sequence of fields.\n\nWithin these general constraints, many variations are in use. Therefore \"CSV\" files are not entirely portable. Nevertheless, the variations are fairly small, and many implementations allow users to glance at the file (which is feasible because it is plain text), and then specify the delimiter character(s), quoting rules, etc.\n\n**Warning:** Microsoft Excel™ will open .csv files, but depending on the system's regional settings, it may expect a semicolon as a separator instead of a comma, since in some languages the comma is used as the decimal separator. Also, many regional versions of Excel will not be able to deal with Unicode characters in a CSV file.\n\n### HTML\n\nHyperText Markup Language (HTML) is the main markup language for creating web pages and other information that can be displayed in a web browser. Files typically have an extension of .html or .htm.  HTML markup provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. Since 1996, the HTML specifications have been maintained, with input from commercial software vendors, by the World Wide Web Consortium (W3C). However, in 2000, HTML also became an international standard (ISO/IEC 15445:2000). HTML 4.01 was published in late 1999, with further errata published through 2001. In 2004 development began on HTML5 in the Web Hypertext Application Technology Working Group (WHATWG), which became a joint deliverable with the W3C in 2008.\n\n\n\n  [1]: http://msdn.microsoft.com/en-us/library/cc313154(v=office.12).aspx\n  [2]: http://download.microsoft.com/download/2/4/8/24862317-78F0-4C4B-B355-C7B2C1D997DB/%5bMS-XLS%5d.pdf\n  [3]: http://msdn.microsoft.com/en-us/library/aa140066%28office.10%29.aspx\n  [4]: http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm\n  [5]: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office\n  [6]: http://xml.openoffice.org/general.html\n  [7]: http://projects.gnome.org/gnumeric/doc/file-format-gnumeric.shtml\n"
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/02-Security.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n\n## Security\n\nXML-based formats such as OfficeOpen XML, Excel2003 XML, OASIS and Gnumeric are susceptible to XML External Entity Processing (XXE) injection attacks (for an explanation of XXE injection see http://websec.io/2012/08/27/Preventing-XEE-in-PHP.html) when reading spreadsheet files. This can lead to:\n\n - Disclosure whether a file is existent\n - Server Side Request Forgery\n - Command Execution (depending on the installed PHP wrappers)\n \n\nTo prevent this, PHPExcel sets `libxml_disable_entity_loader` to `true` for the XML-based Readers by default. "
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/03-Loading-a-Spreadsheet.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n\n## Loading a Spreadsheet File\n\nThe simplest way to load a workbook file is to let PHPExcel's IO Factory identify the file type and load it, calling the static load() method of the PHPExcel_IOFactory class.\n\n```php\n$inputFileName = './sampleData/example1.xls';\n\n/** Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);\n```\n > See Examples/Reader/exampleReader01.php for a working example of this code.\n\nThe load() method will attempt to identify the file type, and instantiate a loader for that file type; using it to load the file and store the data and any formatting in a PHPExcel object.\n\nThe method makes an initial guess at the loader to instantiate based on the file extension; but will test the file before actually executing the load: so if (for example) the file is actually a CSV file or contains HTML markup, but that has been given a .xls extension (quite a common practise), it will reject the Excel5 loader that it would normally use for a .xls file; and test the file using the other loaders until it finds the appropriate loader, and then use that to read the file.\n\nWhile easy to implement in your code, and you don't need to worry about the file type; this isn't the most efficient method to load a file; and it lacks the flexibility to configure the loader in any way before actually reading the file into a PHPExcel object.\n\n"
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/04-Loading-with-a-Reader.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n\n## Creating a Reader and Loading a Spreadsheet File\n\nIf you know the file type of the spreadsheet file that you need to load, you can instantiate a new reader object for that file type, then use the reader's load() method to read the file to a PHPExcel object. It is possible to instantiate the reader objects for each of the different supported filetype by name. However, you may get unpredictable results if the file isn't of the right type (e.g. it is a CSV with an extension of .xls), although this type of exception should normally be trapped.\n\n```php\n$inputFileName = './sampleData/example1.xls';\n\n/** Create a new Excel5 Reader  **/\n$objReader = new PHPExcel_Reader_Excel5();\n//    $objReader = new PHPExcel_Reader_Excel2007();\n//    $objReader = new PHPExcel_Reader_Excel2003XML();\n//    $objReader = new PHPExcel_Reader_OOCalc();\n//    $objReader = new PHPExcel_Reader_SYLK();\n//    $objReader = new PHPExcel_Reader_Gnumeric();\n//    $objReader = new PHPExcel_Reader_CSV();\n/** Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader02.php for a working example of this code.\n\nAlternatively, you can use the IO Factory's createReader() method to instantiate the reader object for you, simply telling it the file type of the reader that you want instantiating.\n\n```php\n$inputFileType = 'Excel5';\n//    $inputFileType = 'Excel2007';\n//    $inputFileType = 'Excel2003XML';\n//    $inputFileType = 'OOCalc';\n//    $inputFileType = 'SYLK';\n//    $inputFileType = 'Gnumeric';\n//    $inputFileType = 'CSV';\n$inputFileName = './sampleData/example1.xls';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader03.php for a working example of this code.\n\nIf you're uncertain of the filetype, you can use the IO Factory's identify() method to identify the reader that you need, before using the createReader() method to instantiate the reader object.\n\n```php\n$inputFileName = './sampleData/example1.xls';\n\n/**  Identify the type of $inputFileName  **/\n$inputFileType = PHPExcel_IOFactory::identify($inputFileName);\n/**  Create a new Reader of the type that has been identified  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader04.php for a working example of this code.\n\n"
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/05-Reader-Options.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n## Spreadsheet Reader Options\n\nOnce you have created a reader object for the workbook that you want to load, you have the opportunity to set additional options before executing the load() method.\n\n### Reading Only Data from a Spreadsheet File\n\nIf you're only interested in the cell values in a workbook, but don't need any of the cell formatting information, then you can set the reader to read only the data values and any formulae from each cell using the setReadDataOnly() method.\n\n```php\n$inputFileType = 'Excel5';\n$inputFileName = './sampleData/example1.xls';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Advise the Reader that we only want to load cell data  **/\n$objReader->setReadDataOnly(true);\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader05.php for a working example of this code.\n\nIt is important to note that Workbooks (and PHPExcel) store dates and times as simple numeric values: they can only be distinguished from other numeric values by the format mask that is applied to that cell. When setting read data only to true, PHPExcel doesn't read the cell format masks, so it is not possible to differentiate between dates/times and numbers.\n\nThe Gnumeric loader has been written to read the format masks for date values even when read data only has been set to true, so it can differentiate between dates/times and numbers; but this change hasn't yet been implemented for the other readers.\n\nReading Only Data from a Spreadsheet File applies to Readers:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | YES | Excel5 | YES | Excel2003XML | YES |  \nOOCalc    | YES | SYLK   | NO  | Gnumeric     | YES |  \nCSV       | NO  | HTML   | NO\n\n### Reading Only Named WorkSheets from a File\n\nIf your workbook contains a number of worksheets, but you are only interested in reading some of those, then you can use the setLoadSheetsOnly() method to identify those sheets you are interested in reading.\n\nTo read a single sheet, you can pass that sheet name as a parameter to the setLoadSheetsOnly() method.\n\n```php\n$inputFileType = 'Excel5'; \n$inputFileName = './sampleData/example1.xls'; \n$sheetname = 'Data Sheet #2'; \n\n/**  Create a new Reader of the type defined in $inputFileType  **/ \n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n/**  Advise the Reader of which WorkSheets we want to load  **/ \n$objReader->setLoadSheetsOnly($sheetname); \n/**  Load $inputFileName to a PHPExcel Object  **/ \n$objPHPExcel = $objReader->load($inputFileName); \n```\n > See Examples/Reader/exampleReader07.php for a working example of this code.\n\nIf you want to read more than just a single sheet, you can pass a list of sheet names as an array parameter to the setLoadSheetsOnly() method.\n\n```php\n$inputFileType = 'Excel5'; \n$inputFileName = './sampleData/example1.xls'; \n$sheetnames = array('Data Sheet #1','Data Sheet #3'); \n\n/**  Create a new Reader of the type defined in $inputFileType  **/ \n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n/**  Advise the Reader of which WorkSheets we want to load  **/ \n$objReader->setLoadSheetsOnly($sheetnames); \n/**  Load $inputFileName to a PHPExcel Object  **/ \n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader08.php for a working example of this code.\n\nTo reset this option to the default, you can call the setLoadAllSheets() method.\n\n```php\n$inputFileType = 'Excel5';\n$inputFileName = './sampleData/example1.xls';\n\n/**  Create a new Reader of the type defined in $inputFileType  **/\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n/**  Advise the Reader to load all Worksheets  **/\n$objReader->setLoadAllSheets();\n/**  Load $inputFileName to a PHPExcel Object  **/\n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader06.php for a working example of this code.\n\nReading Only Named WorkSheets from a File applies to Readers:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | YES | Excel5 | YES | Excel2003XML | YES |  \nOOCalc    | YES | SYLK   | NO  | Gnumeric     | YES |  \nCSV       | NO  | HTML   | NO\n\n### Reading Only Specific Columns and Rows from a File (Read Filters)\n\nIf you are only interested in reading part of a worksheet, then you can write a filter class that identifies whether or not individual cells should be read by the loader. A read filter must implement the PHPExcel_Reader_IReadFilter interface, and contain a readCell() method that accepts arguments of $column, $row and $worksheetName, and return a boolean true or false that indicates whether a workbook cell identified by those arguments should be read or not.\n\n```php\n$inputFileType = 'Excel5'; \n$inputFileName = './sampleData/example1.xls'; \n$sheetname = 'Data Sheet #3'; \n\n\n/**  Define a Read Filter class implementing PHPExcel_Reader_IReadFilter  */ \nclass MyReadFilter implements PHPExcel_Reader_IReadFilter \n{ \n    public function readCell($column, $row, $worksheetName = '') { \n        //  Read rows 1 to 7 and columns A to E only \n        if ($row >= 1 && $row <= 7) { \n            if (in_array($column,range('A','E'))) { \n                return true; \n            } \n        } \n        return false; \n    } \n} \n\n/**  Create an Instance of our Read Filter  **/ \n$filterSubset = new MyReadFilter(); \n\n/**  Create a new Reader of the type defined in $inputFileType  **/ \n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n/**  Tell the Reader that we want to use the Read Filter  **/ \n$objReader->setReadFilter($filterSubset); \n/**  Load only the rows and columns that match our filter to PHPExcel  **/ \n$objPHPExcel = $objReader->load($inputFileName); \n```\n > See Examples/Reader/exampleReader09.php for a working example of this code.\n\nThis example is not particularly useful, because it can only be used in a very specific circumstance (when you only want cells in the range A1:E7 from your worksheet. A generic Read Filter would probably be more useful:\n\n```php\n/**  Define a Read Filter class implementing PHPExcel_Reader_IReadFilter  */ \nclass MyReadFilter implements PHPExcel_Reader_IReadFilter \n{ \n    private $_startRow = 0; \n    private $_endRow   = 0; \n    private $_columns  = array(); \n\n    /**  Get the list of rows and columns to read  */ \n    public function __construct($startRow, $endRow, $columns) { \n        $this->_startRow = $startRow; \n        $this->_endRow   = $endRow; \n        $this->_columns  = $columns; \n    } \n\n    public function readCell($column, $row, $worksheetName = '') { \n        //  Only read the rows and columns that were configured \n        if ($row >= $this->_startRow && $row <= $this->_endRow) { \n            if (in_array($column,$this->_columns)) { \n                return true; \n            } \n        } \n        return false; \n    } \n} \n\n/**  Create an Instance of our Read Filter, passing in the cell range  **/ \n$filterSubset = new MyReadFilter(9,15,range('G','K'));\n```\n > See Examples/Reader/exampleReader10.php for a working example of this code.\n\nThis can be particularly useful for conserving memory, by allowing you to read and process a large workbook in “chunks”: an example of this usage might be when transferring data from an Excel worksheet to a database.\n\n```php\n$inputFileType = 'Excel5'; \n$inputFileName = './sampleData/example2.xls'; \n\n\n/**  Define a Read Filter class implementing PHPExcel_Reader_IReadFilter  */ \nclass chunkReadFilter implements PHPExcel_Reader_IReadFilter \n{ \n    private $_startRow = 0; \n    private $_endRow   = 0; \n\n    /**  Set the list of rows that we want to read  */ \n    public function setRows($startRow, $chunkSize) { \n        $this->_startRow = $startRow; \n        $this->_endRow   = $startRow + $chunkSize; \n    } \n\n    public function readCell($column, $row, $worksheetName = '') { \n        //  Only read the heading row, and the configured rows \n        if (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) { \n            return true; \n        } \n        return false; \n    } \n} \n\n\n/**  Create a new Reader of the type defined in $inputFileType  **/ \n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n\n\n/**  Define how many rows we want to read for each \"chunk\"  **/ \n$chunkSize = 2048; \n/**  Create a new Instance of our Read Filter  **/ \n$chunkFilter = new chunkReadFilter(); \n\n/**  Tell the Reader that we want to use the Read Filter  **/ \n$objReader->setReadFilter($chunkFilter); \n\n/**  Loop to read our worksheet in \"chunk size\" blocks  **/ \nfor ($startRow = 2; $startRow <= 65536; $startRow += $chunkSize) { \n    /**  Tell the Read Filter which rows we want this iteration  **/ \n    $chunkFilter->setRows($startRow,$chunkSize); \n    /**  Load only the rows that match our filter  **/ \n    $objPHPExcel = $objReader->load($inputFileName); \n    //    Do some processing here \n} \n```\n > See Examples/Reader/exampleReader12.php for a working example of this code.\n\nUsing Read Filters applies to:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | YES | Excel5 | YES | Excel2003XML | YES |  \nOOCalc    | YES | SYLK   | NO  | Gnumeric     | YES |  \nCSV       | YES | HTML   | NO\n\n### Combining Multiple Files into a Single PHPExcel Object\n\nWhile you can limit the number of worksheets that are read from a workbook file using the setLoadSheetsOnly() method, certain readers also allow you to combine several individual \"sheets\" from different files into a single PHPExcel object, where each individual file is a single worksheet within that workbook. For each file that you read, you need to indicate which worksheet index it should be loaded into using the setSheetIndex() method of the $objReader, then use the loadIntoExisting() method rather than the load() method to actually read the file into that worksheet.\n\n```php\n$inputFileType = 'CSV'; \n$inputFileNames = array('./sampleData/example1.csv',\n    './sampleData/example2.csv'\n    './sampleData/example3.csv'\n); \n\n/**  Create a new Reader of the type defined in $inputFileType  **/ \n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n\n\n/**  Extract the first named file from the array list  **/ \n$inputFileName = array_shift($inputFileNames); \n/**  Load the initial file to the first worksheet in a PHPExcel Object  **/ \n$objPHPExcel = $objReader->load($inputFileName); \n/**  Set the worksheet title (to the filename that we've loaded)  **/ \n$objPHPExcel->getActiveSheet()\n    ->setTitle(pathinfo($inputFileName,PATHINFO_BASENAME)); \n\n\n/**  Loop through all the remaining files in the list  **/ \nforeach($inputFileNames as $sheet => $inputFileName) { \n    /**  Increment the worksheet index pointer for the Reader  **/ \n    $objReader->setSheetIndex($sheet+1); \n    /**  Load the current file into a new worksheet in PHPExcel  **/ \n    $objReader->loadIntoExisting($inputFileName,$objPHPExcel); \n    /**  Set the worksheet title (to the filename that we've loaded)  **/ \n    $objPHPExcel->getActiveSheet()\n        ->setTitle(pathinfo($inputFileName,PATHINFO_BASENAME)); \n} \n```\n > See Examples/Reader/exampleReader13.php for a working example of this code.\n\nNote that using the same sheet index for multiple sheets won't append files into the same sheet, but overwrite the results of the previous load. You cannot load multiple CSV files into the same worksheet.\n\nCombining Multiple Files into a Single PHPExcel Object applies to:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | NO  | Excel5 | NO  | Excel2003XML | NO  |  \nOOCalc    | NO  | SYLK   | YES | Gnumeric     | NO  |  \nCSV       | YES | HTML   | NO\n\n###  Combining Read Filters with the setSheetIndex() method to split a large CSV file across multiple Worksheets\n\nAn Excel5 BIFF .xls file is limited to 65536 rows in a worksheet, while the Excel2007 Microsoft Office Open XML SpreadsheetML .xlsx file is limited to 1,048,576 rows in a worksheet; but a CSV file is not limited other than by available disk space. This means that we wouldn’t ordinarily be able to read all the rows from a very large CSV file that exceeded those limits, and save it as an Excel5 or Excel2007 file. However, by using Read Filters to read the CSV file in “chunks” (using the chunkReadFilter Class that we defined in section  REF _Ref275604563 \\r \\p 5.3 above), and the setSheetIndex() method of the $objReader, we can split the CSV file across several individual worksheets.\n\n```php\n$inputFileType = 'CSV'; \n$inputFileName = './sampleData/example2.csv'; \n\n\necho 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />'; \n/**  Create a new Reader of the type defined in $inputFileType  **/ \n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n\n\n/**  Define how many rows we want to read for each \"chunk\"  **/ \n$chunkSize = 65530; \n/**  Create a new Instance of our Read Filter  **/ \n$chunkFilter = new chunkReadFilter(); \n\n/**  Tell the Reader that we want to use the Read Filter  **/ \n/**    and that we want to store it in contiguous rows/columns  **/\n\n$objReader->setReadFilter($chunkFilter)\n    ->setContiguous(true);\n\n/**  Instantiate a new PHPExcel object manually  **/ \n$objPHPExcel = new PHPExcel(); \n\n/**  Set a sheet index  **/ \n$sheet = 0; \n/**  Loop to read our worksheet in \"chunk size\" blocks  **/ \n/**  $startRow is set to 2 initially because we always read the headings in row #1  **/ \nfor ($startRow = 2; $startRow <= 1000000; $startRow += $chunkSize) { \n    /**  Tell the Read Filter which rows we want to read this loop  **/ \n    $chunkFilter->setRows($startRow,$chunkSize); \n\n    /**  Increment the worksheet index pointer for the Reader  **/ \n    $objReader->setSheetIndex($sheet); \n    /**  Load only the rows that match our filter into a new worksheet  **/ \n    $objReader->loadIntoExisting($inputFileName,$objPHPExcel); \n    /**  Set the worksheet title for the sheet that we've justloaded)  **/\n    /**    and increment the sheet index as well  **/ \n    $objPHPExcel->getActiveSheet()->setTitle('Country Data #'.(++$sheet)); \n} \n```\n > See Examples/Reader/exampleReader14.php for a working example of this code.\n\nThis code will read 65,530 rows at a time from the CSV file that we’re loading, and store each \"chunk\" in a new worksheet.\n\nThe setContiguous() method for the Reader is important here. It is applicable only when working with a Read Filter, and identifies whether or not the cells should be stored by their position within the CSV file, or their position relative to the filter.\n\nFor example, if the filter returned true for cells in the range B2:C3, then with setContiguous set to false (the default) these would be loaded as B2:C3 in the PHPExcel object; but with setContiguous set to true, they would be loaded as A1:B2.\n\nSplitting a single loaded file across multiple worksheets applies to:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | NO  | Excel5 | NO  | Excel2003XML | NO  |  \nOOCalc    | NO  | SYLK   | NO  | Gnumeric     | NO  |  \nCSV       | YES | HTML   | NO\n\n### Pipe or Tab Separated Value Files\n\nThe CSV loader defaults to loading a file where comma is used as the separator, but you can modify this to load tab- or pipe-separated value files using the setDelimiter() method.\n\n```php\n$inputFileType = 'CSV'; \n$inputFileName = './sampleData/example1.tsv'; \n\n/**  Create a new Reader of the type defined in $inputFileType  **/ $objReader = PHPExcel_IOFactory::createReader($inputFileType); \n/**  Set the delimiter to a TAB character  **/ \n$objReader->setDelimiter(\"\\t\"); \n//    $objReader->setDelimiter('|');\n\n/**  Load the file to a PHPExcel Object  **/ \n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader15.php for a working example of this code.\n\nIn addition to the delimiter, you can also use the following methods to set other attributes for the data load:\n\nsetEnclosure() | default is \"  \nsetLineEnding() | default is PHP_EOL  \nsetInputEncoding() | default is UTF-8  \n\nSetting CSV delimiter applies to:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | NO  | Excel5 | NO  | Excel2003XML | NO  |  \nOOCalc    | NO  | SYLK   | NO  | Gnumeric     | NO  |  \nCSV       | YES | HTML   | NO\n\n### A Brief Word about the Advanced Value Binder\n\nWhen loading data from a file that contains no formatting information, such as a CSV file, then data is read either as strings or numbers (float or integer). This means that PHPExcel does not automatically recognise dates/times (such as \"16-Apr-2009\" or \"13:30\"), booleans (\"TRUE\" or \"FALSE\"), percentages (\"75%\"), hyperlinks (\"http://www.phpexcel.net\"), etc as anything other than simple strings. However, you can apply additional processing that is executed against these values during the load process within a Value Binder.\n\nA Value Binder is a class that implement the PHPExcel_Cell_IValueBinder interface. It must contain a bindValue() method that accepts a PHPExcel_Cell and a value as arguments, and return a boolean true or false that indicates whether the workbook cell has been populated with the value or not. The Advanced Value Binder implements such a class: amongst other tests, it identifies a string comprising \"TRUE\" or \"FALSE\" (based on locale settings) and sets it to a boolean; or a number in scientific format (e.g. \"1.234e-5\") and converts it to a float; or dates and times, converting them to their Excel timestamp value – before storing the value in the cell object. It also sets formatting for strings that are identified as dates, times or percentages. It could easily be extended to provide additional handling (including text or cell formatting) when it encountered a hyperlink, or HTML markup within a CSV file.\n\nSo using a Value Binder allows a great deal more flexibility in the loader logic when reading unformatted text files.\n\n```php\n/**  Tell PHPExcel that we want to use the Advanced Value Binder  **/ \nPHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() ); \n\n$inputFileType = 'CSV'; \n$inputFileName = './sampleData/example1.tsv'; \n\n$objReader = PHPExcel_IOFactory::createReader($inputFileType); \n$objReader->setDelimiter(\"\\t\"); \n$objPHPExcel = $objReader->load($inputFileName);\n```\n > See Examples/Reader/exampleReader15.php for a working example of this code.\n\nLoading using a Value Binder applies to:\n\nReader    | Y/N |Reader  | Y/N |Reader        | Y/N |  \n----------|:---:|--------|:---:|--------------|:---:|  \nExcel2007 | NO  | Excel5 | NO  | Excel2003XML | NO  |  \nOOCalc    | NO  | SYLK   | NO  | Gnumeric     | NO  |  \nCSV       | YES | HTML   | YES\n\n"
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/06-Error-Handling.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n## Error Handling\n\nOf course, you should always apply some error handling to your scripts as well. PHPExcel throws exceptions, so you can wrap all your code that accesses the library methods within Try/Catch blocks to trap for any problems that are encountered, and deal with them in an appropriate manner.\n\nThe PHPExcel Readers throw a PHPExcel_Reader_Exception.\n\n```php\n$inputFileName = './sampleData/example-1.xls';\n\ntry {\n    /** Load $inputFileName to a PHPExcel Object  **/\n    $objPHPExcel = PHPExcel_IOFactory::load($inputFileName);\n} catch(PHPExcel_Reader_Exception $e) {\n    die('Error loading file: '.$e->getMessage());\n}\n```\n > See Examples/Reader/exampleReader16.php for a working example of this code.\n\n"
  },
  {
    "path": "Documentation/markdown/ReadingSpreadsheetFiles/07-Helper-Methods.md",
    "content": "# PHPExcel User Documentation – Reading Spreadsheet Files\n\n\n## Helper Methods\n\nYou can retrieve a list of worksheet names contained in a file without loading the whole file by using the Reader’s `listWorksheetNames()` method; similarly, a `listWorksheetInfo()` method will retrieve the dimensions of worksheet in a file without needing to load and parse the whole file.\n\n### listWorksheetNames\n\nThe `listWorksheetNames()` method returns a simple array listing each worksheet name within the workbook:\n\n```php\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n\n$worksheetNames = $objReader->listWorksheetNames($inputFileName);\n\necho '<h3>Worksheet Names</h3>';\necho '<ol>';\nforeach ($worksheetNames as $worksheetName) {\n    echo '<li>', $worksheetName, '</li>';\n}\necho '</ol>';\n```\n > See Examples/Reader/exampleReader18.php for a working example of this code.\n\n### listWorksheetInfo\n\nThe `listWorksheetInfo()` method returns a nested array, with each entry listing the name and dimensions for a worksheet:\n\n```php\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n\n$worksheetData = $objReader->listWorksheetInfo($inputFileName);\n\necho '<h3>Worksheet Information</h3>';\necho '<ol>';\nforeach ($worksheetData as $worksheet) {\n    echo '<li>', $worksheet['worksheetName'], '<br />';\n    echo 'Rows: ', $worksheet['totalRows'],\n         ' Columns: ', $worksheet['totalColumns'], '<br />';\n    echo 'Cell Range: A1:',\n    $worksheet['lastColumnLetter'], $worksheet['totalRows'];\n    echo '</li>';\n}\necho '</ol>';\n```\n > See Examples/Reader/exampleReader19.php for a working example of this code.\n"
  },
  {
    "path": "Examples/.gitignore",
    "content": "*.xls\n*.xlsx\n*.csv\n*.jpg\n*.pdf\n"
  },
  {
    "path": "Examples/01pharSimple.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once '../Build/PHPExcel.phar';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office PHPExcel php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel5 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/01simple-download-ods.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\nif (PHP_SAPI == 'cli')\n\tdie('This example should only be run from a Web Browser');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n// Rename worksheet\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Redirect output to a client’s web browser (OpenDocument)\nheader('Content-Type: application/vnd.oasis.opendocument.spreadsheet');\nheader('Content-Disposition: attachment;filename=\"01simple.ods\"');\nheader('Cache-Control: max-age=0');\n// If you're serving to IE 9, then the following may be needed\nheader('Cache-Control: max-age=1');\n\n// If you're serving to IE over SSL, then the following may be needed\nheader ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past\nheader ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); // always modified\nheader ('Cache-Control: cache, must-revalidate'); // HTTP/1.1\nheader ('Pragma: public'); // HTTP/1.0\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'OpenDocument');\n$objWriter->save('php://output');\nexit;\n"
  },
  {
    "path": "Examples/01simple-download-pdf.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\nif (PHP_SAPI == 'cli')\n\tdie('This example should only be run from a Web Browser');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n//\tChange these values to select the Rendering library that you wish to use\n//\t\tand its directory location on your server\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_TCPDF;\n$rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF;\n//$rendererLibrary = 'tcPDF5.9';\n$rendererLibrary = 'mPDF5.4';\n//$rendererLibrary = 'domPDF0.6.0beta3';\n$rendererLibraryPath = dirname(__FILE__).'/../../../libraries/PDF/' . $rendererLibrary;\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"PDF Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PDF Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PDF, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"pdf php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n// Rename worksheet\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n$objPHPExcel->getActiveSheet()->setShowGridLines(false);\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\nif (!PHPExcel_Settings::setPdfRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\tdie(\n\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\t'<br />' .\n\t\t'at the top of this script as appropriate for your directory structure'\n\t);\n}\n\n\n// Redirect output to a client’s web browser (PDF)\nheader('Content-Type: application/pdf');\nheader('Content-Disposition: attachment;filename=\"01simple.pdf\"');\nheader('Cache-Control: max-age=0');\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'PDF');\n$objWriter->save('php://output');\nexit;\n"
  },
  {
    "path": "Examples/01simple-download-xls.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\nif (PHP_SAPI == 'cli')\n\tdie('This example should only be run from a Web Browser');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n// Rename worksheet\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Redirect output to a client’s web browser (Excel5)\nheader('Content-Type: application/vnd.ms-excel');\nheader('Content-Disposition: attachment;filename=\"01simple.xls\"');\nheader('Cache-Control: max-age=0');\n// If you're serving to IE 9, then the following may be needed\nheader('Cache-Control: max-age=1');\n\n// If you're serving to IE over SSL, then the following may be needed\nheader ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past\nheader ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); // always modified\nheader ('Cache-Control: cache, must-revalidate'); // HTTP/1.1\nheader ('Pragma: public'); // HTTP/1.0\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save('php://output');\nexit;\n"
  },
  {
    "path": "Examples/01simple-download-xlsx.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\nif (PHP_SAPI == 'cli')\n\tdie('This example should only be run from a Web Browser');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n// Rename worksheet\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Redirect output to a client’s web browser (Excel2007)\nheader('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');\nheader('Content-Disposition: attachment;filename=\"01simple.xlsx\"');\nheader('Cache-Control: max-age=0');\n// If you're serving to IE 9, then the following may be needed\nheader('Cache-Control: max-age=1');\n\n// If you're serving to IE over SSL, then the following may be needed\nheader ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past\nheader ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); // always modified\nheader ('Cache-Control: cache, must-revalidate'); // HTTP/1.1\nheader ('Pragma: public'); // HTTP/1.0\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save('php://output');\nexit;\n"
  },
  {
    "path": "Examples/01simple.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office PHPExcel php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8',\"Hello\\nWorld\");\n$objPHPExcel->getActiveSheet()->getRowDimension(8)->setRowHeight(-1);\n$objPHPExcel->getActiveSheet()->getStyle('A8')->getAlignment()->setWrapText(true);\n\n\n$value = \"-ValueA\\n-Value B\\n-Value C\";\n$objPHPExcel->getActiveSheet()->setCellValue('A10', $value);\n$objPHPExcel->getActiveSheet()->getRowDimension(10)->setRowHeight(-1);\n$objPHPExcel->getActiveSheet()->getStyle('A10')->getAlignment()->setWrapText(true);\n$objPHPExcel->getActiveSheet()->getStyle('A10')->setQuotePrefix(true);\n\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/01simplePCLZip.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office PHPExcel php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8',\"Hello\\nWorld\");\n$objPHPExcel->getActiveSheet()->getRowDimension(8)->setRowHeight(-1);\n$objPHPExcel->getActiveSheet()->getStyle('A8')->getAlignment()->setWrapText(true);\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n// Use PCLZip rather than ZipArchive to create the Excel2007 OfficeOpenXML file\nPHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/02types-xls.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE); \nini_set('display_startup_errors', TRUE); \ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n// Set default font\necho date('H:i:s') , \" Set default font\" , EOL;\n$objPHPExcel->getDefaultStyle()->getFont()->setName('Arial')\n                                          ->setSize(10);\n\n// Add some data, resembling some different data types\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'String')\n                              ->setCellValue('B1', 'Simple')\n                              ->setCellValue('C1', 'PHPExcel');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 'String')\n                              ->setCellValue('B2', 'Symbols')\n                              ->setCellValue('C2', '!+&=()~§±æþ');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A3', 'String')\n                              ->setCellValue('B3', 'UTF-8')\n                              ->setCellValue('C3', 'Создать MS Excel Книги из PHP скриптов');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A4', 'Number')\n                              ->setCellValue('B4', 'Integer')\n                              ->setCellValue('C4', 12);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A5', 'Number')\n                              ->setCellValue('B5', 'Float')\n                              ->setCellValue('C5', 34.56);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A6', 'Number')\n                              ->setCellValue('B6', 'Negative')\n                              ->setCellValue('C6', -7.89);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A7', 'Boolean')\n                              ->setCellValue('B7', 'True')\n                              ->setCellValue('C7', true);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8', 'Boolean')\n                              ->setCellValue('B8', 'False')\n                              ->setCellValue('C8', false);\n\n$dateTimeNow = time();\n$objPHPExcel->getActiveSheet()->setCellValue('A9', 'Date/Time')\n                              ->setCellValue('B9', 'Date')\n                              ->setCellValue('C9', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));\n$objPHPExcel->getActiveSheet()->getStyle('C9')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A10', 'Date/Time')\n                              ->setCellValue('B10', 'Time')\n                              ->setCellValue('C10', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));\n$objPHPExcel->getActiveSheet()->getStyle('C10')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A11', 'Date/Time')\n                              ->setCellValue('B11', 'Date and Time')\n                              ->setCellValue('C11', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));\n$objPHPExcel->getActiveSheet()->getStyle('C11')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_DATETIME);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A12', 'NULL')\n                              ->setCellValue('C12', NULL);\n\n$objRichText = new PHPExcel_RichText();\n$objRichText->createText('你好 ');\n$objPayable = $objRichText->createTextRun('你 好 吗？');\n$objPayable->getFont()->setBold(true);\n$objPayable->getFont()->setItalic(true);\n$objPayable->getFont()->setColor( new PHPExcel_Style_Color( PHPExcel_Style_Color::COLOR_DARKGREEN ) );\n\n$objRichText->createText(', unless specified otherwise on the invoice.');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A13', 'Rich Text')\n                              ->setCellValue('C13', $objRichText);\n\n\n$objRichText2 = new PHPExcel_RichText();\n$objRichText2->createText(\"black text\\n\");\n\n$objRed = $objRichText2->createTextRun(\"red text\");\n$objRed->getFont()->setColor( new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_RED  ) );\n\n$objPHPExcel->getActiveSheet()->getCell(\"C14\")->setValue($objRichText2);\n$objPHPExcel->getActiveSheet()->getStyle(\"C14\")->getAlignment()->setWrapText(true);\n\n\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setAutoSize(true);\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Datatypes');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Reload workbook from saved file\" , EOL;\n$callStartTime = microtime(true);\n\n$objPHPExcel = PHPExcel_IOFactory::load(str_replace('.php', '.xls', __FILE__));\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to reload Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\nvar_dump($objPHPExcel->getActiveSheet()->toArray());\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done testing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/02types.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE); \nini_set('display_startup_errors', TRUE); \ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n// Set default font\necho date('H:i:s') , \" Set default font\" , EOL;\n$objPHPExcel->getDefaultStyle()->getFont()->setName('Arial')\n                                          ->setSize(10);\n\n// Add some data, resembling some different data types\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'String')\n                              ->setCellValue('B1', 'Simple')\n                              ->setCellValue('C1', 'PHPExcel');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 'String')\n                              ->setCellValue('B2', 'Symbols')\n                              ->setCellValue('C2', '!+&=()~§±æþ');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A3', 'String')\n                              ->setCellValue('B3', 'UTF-8')\n                              ->setCellValue('C3', 'Создать MS Excel Книги из PHP скриптов');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A4', 'Number')\n                              ->setCellValue('B4', 'Integer')\n                              ->setCellValue('C4', 12);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A5', 'Number')\n                              ->setCellValue('B5', 'Float')\n                              ->setCellValue('C5', 34.56);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A6', 'Number')\n                              ->setCellValue('B6', 'Negative')\n                              ->setCellValue('C6', -7.89);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A7', 'Boolean')\n                              ->setCellValue('B7', 'True')\n                              ->setCellValue('C7', true);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8', 'Boolean')\n                              ->setCellValue('B8', 'False')\n                              ->setCellValue('C8', false);\n\n$dateTimeNow = time();\n$objPHPExcel->getActiveSheet()->setCellValue('A9', 'Date/Time')\n                              ->setCellValue('B9', 'Date')\n                              ->setCellValue('C9', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));\n$objPHPExcel->getActiveSheet()->getStyle('C9')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A10', 'Date/Time')\n                              ->setCellValue('B10', 'Time')\n                              ->setCellValue('C10', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));\n$objPHPExcel->getActiveSheet()->getStyle('C10')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A11', 'Date/Time')\n                              ->setCellValue('B11', 'Date and Time')\n                              ->setCellValue('C11', PHPExcel_Shared_Date::PHPToExcel( $dateTimeNow ));\n$objPHPExcel->getActiveSheet()->getStyle('C11')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_DATETIME);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A12', 'NULL')\n                              ->setCellValue('C12', NULL);\n\n$objRichText = new PHPExcel_RichText();\n$objRichText->createText('你好 ');\n\n$objPayable = $objRichText->createTextRun('你 好 吗？');\n$objPayable->getFont()->setBold(true);\n$objPayable->getFont()->setItalic(true);\n$objPayable->getFont()->setColor( new PHPExcel_Style_Color( PHPExcel_Style_Color::COLOR_DARKGREEN ) );\n\n$objRichText->createText(', unless specified otherwise on the invoice.');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A13', 'Rich Text')\n                              ->setCellValue('C13', $objRichText);\n\n\n$objRichText2 = new PHPExcel_RichText();\n$objRichText2->createText(\"black text\\n\");\n\n$objRed = $objRichText2->createTextRun(\"red text\");\n$objRed->getFont()->setColor( new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_RED  ) );\n\n$objPHPExcel->getActiveSheet()->getCell(\"C14\")->setValue($objRichText2);\n$objPHPExcel->getActiveSheet()->getStyle(\"C14\")->getAlignment()->setWrapText(true);\n\n\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setAutoSize(true);\n\n$objRichText3 = new PHPExcel_RichText();\n$objRichText3->createText(\"Hello \");\n\n$objUnderlined = $objRichText3->createTextRun(\"underlined\");\n$objUnderlined->getFont()->setUnderline(true);\n$objRichText3->createText(' World.');\n\n$objPHPExcel->getActiveSheet()\n    ->getCell(\"C15\")\n    ->setValue($objRichText3);\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('A17', 'Hyperlink');\n\n$objPHPExcel->getActiveSheet()->setCellValue('C17', 'www.phpexcel.net');\n$objPHPExcel->getActiveSheet()->getCell('C17')->getHyperlink()->setUrl('http://www.phpexcel.net');\n$objPHPExcel->getActiveSheet()->getCell('C17')->getHyperlink()->setTooltip('Navigate to website');\n\n$objPHPExcel->getActiveSheet()->setCellValue('C18', '=HYPERLINK(\"mailto:abc@def.com\",\"abc@def.com\")');\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Datatypes');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Reload workbook from saved file\" , EOL;\n$callStartTime = microtime(true);\n\n$objPHPExcel = PHPExcel_IOFactory::load(str_replace('.php', '.xlsx', __FILE__));\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to reload Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\nvar_dump($objPHPExcel->getActiveSheet()->toArray());\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done testing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/03formulas.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data, we will use some formulas here\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('A5', 'Sum:');\n\n$objPHPExcel->getActiveSheet()->setCellValue('B1', 'Range #1')\n                              ->setCellValue('B2', 3)\n                              ->setCellValue('B3', 7)\n                              ->setCellValue('B4', 13)\n                              ->setCellValue('B5', '=SUM(B2:B4)');\necho date('H:i:s') , \" Sum of Range #1 is \" ,\n                     $objPHPExcel->getActiveSheet()->getCell('B5')->getCalculatedValue() , EOL;\n\n$objPHPExcel->getActiveSheet()->setCellValue('C1', 'Range #2')\n                              ->setCellValue('C2', 5)\n                              ->setCellValue('C3', 11)\n                              ->setCellValue('C4', 17)\n                              ->setCellValue('C5', '=SUM(C2:C4)');\necho date('H:i:s') , \" Sum of Range #2 is \" ,\n                     $objPHPExcel->getActiveSheet()->getCell('C5')->getCalculatedValue() , EOL;\n\n$objPHPExcel->getActiveSheet()->setCellValue('A7', 'Total of both ranges:');\n$objPHPExcel->getActiveSheet()->setCellValue('B7', '=SUM(B5:C5)');\necho date('H:i:s') , \" Sum of both Ranges is \" ,\n                     $objPHPExcel->getActiveSheet()->getCell('B7')->getCalculatedValue() , EOL;\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8', 'Minimum of both ranges:');\n$objPHPExcel->getActiveSheet()->setCellValue('B8', '=MIN(B2:C4)');\necho date('H:i:s') , \" Minimum value in either Range is \" ,\n                     $objPHPExcel->getActiveSheet()->getCell('B8')->getCalculatedValue() , EOL;\n\n$objPHPExcel->getActiveSheet()->setCellValue('A9', 'Maximum of both ranges:');\n$objPHPExcel->getActiveSheet()->setCellValue('B9', '=MAX(B2:C4)');\necho date('H:i:s') , \" Maximum value in either Range is \" ,\n                     $objPHPExcel->getActiveSheet()->getCell('B9')->getCalculatedValue() , EOL;\n\n$objPHPExcel->getActiveSheet()->setCellValue('A10', 'Average of both ranges:');\n$objPHPExcel->getActiveSheet()->setCellValue('B10', '=AVERAGE(B2:C4)');\necho date('H:i:s') , \" Average value of both Ranges is \" ,\n                     $objPHPExcel->getActiveSheet()->getCell('B10')->getCalculatedValue() , EOL;\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Formulas');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n\n//\n//  If we set Pre Calculated Formulas to true then PHPExcel will calculate all formulae in the\n//    workbook before saving. This adds time and memory overhead, and can cause some problems with formulae\n//    using functions or features (such as array formulae) that aren't yet supported by the calculation engine\n//  If the value is false (the default) for the Excel2007 Writer, then MS Excel (or the application used to\n//    open the file) will need to recalculate values itself to guarantee that the correct results are available.\n//\n//$objWriter->setPreCalculateFormulas(true);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/04printing.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data, we will use printing features\necho date('H:i:s') , \" Add some data\" , EOL;\nfor ($i = 1; $i < 200; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, $i);\n\t$objPHPExcel->getActiveSheet()->setCellValue('B' . $i, 'Test value');\n}\n\n// Set header and footer. When no different headers for odd/even are used, odd header is assumed.\necho date('H:i:s') , \" Set header/footer\" , EOL;\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddHeader('&L&G&C&HPlease treat this document as confidential!');\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddFooter('&L&B' . $objPHPExcel->getProperties()->getTitle() . '&RPage &P of &N');\n\n// Add a drawing to the header\necho date('H:i:s') , \" Add a drawing to the header\" , EOL;\n$objDrawing = new PHPExcel_Worksheet_HeaderFooterDrawing();\n$objDrawing->setName('PHPExcel logo');\n$objDrawing->setPath('./images/phpexcel_logo.gif');\n$objDrawing->setHeight(36);\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->addImage($objDrawing, PHPExcel_Worksheet_HeaderFooter::IMAGE_HEADER_LEFT);\n\n// Set page orientation and size\necho date('H:i:s') , \" Set page orientation and size\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE);\n$objPHPExcel->getActiveSheet()->getPageSetup()->setPaperSize(PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4);\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Printing');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/05featuredemo.inc.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet, representing sales data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('B1', 'Invoice');\n$objPHPExcel->getActiveSheet()->setCellValue('D1', PHPExcel_Shared_Date::PHPToExcel( gmmktime(0,0,0,date('m'),date('d'),date('Y')) ));\n$objPHPExcel->getActiveSheet()->getStyle('D1')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15);\n$objPHPExcel->getActiveSheet()->setCellValue('E1', '#12566');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A3', 'Product Id');\n$objPHPExcel->getActiveSheet()->setCellValue('B3', 'Description');\n$objPHPExcel->getActiveSheet()->setCellValue('C3', 'Price');\n$objPHPExcel->getActiveSheet()->setCellValue('D3', 'Amount');\n$objPHPExcel->getActiveSheet()->setCellValue('E3', 'Total');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A4', '1001');\n$objPHPExcel->getActiveSheet()->setCellValue('B4', 'PHP for dummies');\n$objPHPExcel->getActiveSheet()->setCellValue('C4', '20');\n$objPHPExcel->getActiveSheet()->setCellValue('D4', '1');\n$objPHPExcel->getActiveSheet()->setCellValue('E4', '=IF(D4<>\"\",C4*D4,\"\")');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A5', '1012');\n$objPHPExcel->getActiveSheet()->setCellValue('B5', 'OpenXML for dummies');\n$objPHPExcel->getActiveSheet()->setCellValue('C5', '22');\n$objPHPExcel->getActiveSheet()->setCellValue('D5', '2');\n$objPHPExcel->getActiveSheet()->setCellValue('E5', '=IF(D5<>\"\",C5*D5,\"\")');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E6', '=IF(D6<>\"\",C6*D6,\"\")');\n$objPHPExcel->getActiveSheet()->setCellValue('E7', '=IF(D7<>\"\",C7*D7,\"\")');\n$objPHPExcel->getActiveSheet()->setCellValue('E8', '=IF(D8<>\"\",C8*D8,\"\")');\n$objPHPExcel->getActiveSheet()->setCellValue('E9', '=IF(D9<>\"\",C9*D9,\"\")');\n\n$objPHPExcel->getActiveSheet()->setCellValue('D11', 'Total excl.:');\n$objPHPExcel->getActiveSheet()->setCellValue('E11', '=SUM(E4:E9)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('D12', 'VAT:');\n$objPHPExcel->getActiveSheet()->setCellValue('E12', '=E11*0.21');\n\n$objPHPExcel->getActiveSheet()->setCellValue('D13', 'Total incl.:');\n$objPHPExcel->getActiveSheet()->setCellValue('E13', '=E11+E12');\n\n// Add comment\necho date('H:i:s') , \" Add comments\" , EOL;\n\n$objPHPExcel->getActiveSheet()->getComment('E11')->setAuthor('PHPExcel');\n$objCommentRichText = $objPHPExcel->getActiveSheet()->getComment('E11')->getText()->createTextRun('PHPExcel:');\n$objCommentRichText->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getComment('E11')->getText()->createTextRun(\"\\r\\n\");\n$objPHPExcel->getActiveSheet()->getComment('E11')->getText()->createTextRun('Total amount on the current invoice, excluding VAT.');\n\n$objPHPExcel->getActiveSheet()->getComment('E12')->setAuthor('PHPExcel');\n$objCommentRichText = $objPHPExcel->getActiveSheet()->getComment('E12')->getText()->createTextRun('PHPExcel:');\n$objCommentRichText->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getComment('E12')->getText()->createTextRun(\"\\r\\n\");\n$objPHPExcel->getActiveSheet()->getComment('E12')->getText()->createTextRun('Total amount of VAT on the current invoice.');\n\n$objPHPExcel->getActiveSheet()->getComment('E13')->setAuthor('PHPExcel');\n$objCommentRichText = $objPHPExcel->getActiveSheet()->getComment('E13')->getText()->createTextRun('PHPExcel:');\n$objCommentRichText->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getComment('E13')->getText()->createTextRun(\"\\r\\n\");\n$objPHPExcel->getActiveSheet()->getComment('E13')->getText()->createTextRun('Total amount on the current invoice, including VAT.');\n$objPHPExcel->getActiveSheet()->getComment('E13')->setWidth('100pt');\n$objPHPExcel->getActiveSheet()->getComment('E13')->setHeight('100pt');\n$objPHPExcel->getActiveSheet()->getComment('E13')->setMarginLeft('150pt');\n$objPHPExcel->getActiveSheet()->getComment('E13')->getFillColor()->setRGB('EEEEEE');\n\n\n// Add rich-text string\necho date('H:i:s') , \" Add rich-text string\" , EOL;\n$objRichText = new PHPExcel_RichText();\n$objRichText->createText('This invoice is ');\n\n$objPayable = $objRichText->createTextRun('payable within thirty days after the end of the month');\n$objPayable->getFont()->setBold(true);\n$objPayable->getFont()->setItalic(true);\n$objPayable->getFont()->setColor( new PHPExcel_Style_Color( PHPExcel_Style_Color::COLOR_DARKGREEN ) );\n\n$objRichText->createText(', unless specified otherwise on the invoice.');\n\n$objPHPExcel->getActiveSheet()->getCell('A18')->setValue($objRichText);\n\n// Merge cells\necho date('H:i:s') , \" Merge cells\" , EOL;\n$objPHPExcel->getActiveSheet()->mergeCells('A18:E22');\n$objPHPExcel->getActiveSheet()->mergeCells('A28:B28');\t\t// Just to test...\n$objPHPExcel->getActiveSheet()->unmergeCells('A28:B28');\t// Just to test...\n\n// Protect cells\necho date('H:i:s') , \" Protect cells\" , EOL;\n$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);\t// Needs to be set to true in order to enable any worksheet protection!\n$objPHPExcel->getActiveSheet()->protectCells('A3:E13', 'PHPExcel');\n\n// Set cell number formats\necho date('H:i:s') , \" Set cell number formats\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('E4:E13')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE);\n\n// Set column widths\necho date('H:i:s') , \" Set column widths\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(12);\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(12);\n\n// Set fonts\necho date('H:i:s') , \" Set fonts\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('B1')->getFont()->setName('Candara');\n$objPHPExcel->getActiveSheet()->getStyle('B1')->getFont()->setSize(20);\n$objPHPExcel->getActiveSheet()->getStyle('B1')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('B1')->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n$objPHPExcel->getActiveSheet()->getStyle('B1')->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_WHITE);\n\n$objPHPExcel->getActiveSheet()->getStyle('D1')->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_WHITE);\n$objPHPExcel->getActiveSheet()->getStyle('E1')->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_WHITE);\n\n$objPHPExcel->getActiveSheet()->getStyle('D13')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('E13')->getFont()->setBold(true);\n\n// Set alignments\necho date('H:i:s') , \" Set alignments\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('D11')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n$objPHPExcel->getActiveSheet()->getStyle('D12')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n$objPHPExcel->getActiveSheet()->getStyle('D13')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n\n$objPHPExcel->getActiveSheet()->getStyle('A18')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY);\n$objPHPExcel->getActiveSheet()->getStyle('A18')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);\n\n$objPHPExcel->getActiveSheet()->getStyle('B5')->getAlignment()->setShrinkToFit(true);\n\n// Set thin black border outline around column\necho date('H:i:s') , \" Set thin black border outline around column\" , EOL;\n$styleThinBlackBorderOutline = array(\n\t'borders' => array(\n\t\t'outline' => array(\n\t\t\t'style' => PHPExcel_Style_Border::BORDER_THIN,\n\t\t\t'color' => array('argb' => 'FF000000'),\n\t\t),\n\t),\n);\n$objPHPExcel->getActiveSheet()->getStyle('A4:E10')->applyFromArray($styleThinBlackBorderOutline);\n\n\n// Set thick brown border outline around \"Total\"\necho date('H:i:s') , \" Set thick brown border outline around Total\" , EOL;\n$styleThickBrownBorderOutline = array(\n\t'borders' => array(\n\t\t'outline' => array(\n\t\t\t'style' => PHPExcel_Style_Border::BORDER_THICK,\n\t\t\t'color' => array('argb' => 'FF993300'),\n\t\t),\n\t),\n);\n$objPHPExcel->getActiveSheet()->getStyle('D13:E13')->applyFromArray($styleThickBrownBorderOutline);\n\n// Set fills\necho date('H:i:s') , \" Set fills\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1:E1')->getFill()->setFillType(PHPExcel_Style_Fill::FILL_SOLID);\n$objPHPExcel->getActiveSheet()->getStyle('A1:E1')->getFill()->getStartColor()->setARGB('FF808080');\n\n// Set style for header row using alternative method\necho date('H:i:s') , \" Set style for header row using alternative method\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A3:E3')->applyFromArray(\n\t\tarray(\n\t\t\t'font'    => array(\n\t\t\t\t'bold'      => true\n\t\t\t),\n\t\t\t'alignment' => array(\n\t\t\t\t'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_RIGHT,\n\t\t\t),\n\t\t\t'borders' => array(\n\t\t\t\t'top'     => array(\n \t\t\t\t\t'style' => PHPExcel_Style_Border::BORDER_THIN\n \t\t\t\t)\n\t\t\t),\n\t\t\t'fill' => array(\n\t \t\t\t'type'       => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR,\n\t  \t\t\t'rotation'   => 90,\n\t \t\t\t'startcolor' => array(\n\t \t\t\t\t'argb' => 'FFA0A0A0'\n\t \t\t\t),\n\t \t\t\t'endcolor'   => array(\n\t \t\t\t\t'argb' => 'FFFFFFFF'\n\t \t\t\t)\n\t \t\t)\n\t\t)\n);\n\n$objPHPExcel->getActiveSheet()->getStyle('A3')->applyFromArray(\n\t\tarray(\n\t\t\t'alignment' => array(\n\t\t\t\t'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_LEFT,\n\t\t\t),\n\t\t\t'borders' => array(\n\t\t\t\t'left'     => array(\n \t\t\t\t\t'style' => PHPExcel_Style_Border::BORDER_THIN\n \t\t\t\t)\n\t\t\t)\n\t\t)\n);\n\n$objPHPExcel->getActiveSheet()->getStyle('B3')->applyFromArray(\n\t\tarray(\n\t\t\t'alignment' => array(\n\t\t\t\t'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_LEFT,\n\t\t\t)\n\t\t)\n);\n\n$objPHPExcel->getActiveSheet()->getStyle('E3')->applyFromArray(\n\t\tarray(\n\t\t\t'borders' => array(\n\t\t\t\t'right'     => array(\n \t\t\t\t\t'style' => PHPExcel_Style_Border::BORDER_THIN\n \t\t\t\t)\n\t\t\t)\n\t\t)\n);\n\n// Unprotect a cell\necho date('H:i:s') , \" Unprotect a cell\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('B1')->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED);\n\n// Add a hyperlink to the sheet\necho date('H:i:s') , \" Add a hyperlink to an external website\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('E26', 'www.phpexcel.net');\n$objPHPExcel->getActiveSheet()->getCell('E26')->getHyperlink()->setUrl('http://www.phpexcel.net');\n$objPHPExcel->getActiveSheet()->getCell('E26')->getHyperlink()->setTooltip('Navigate to website');\n$objPHPExcel->getActiveSheet()->getStyle('E26')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n\necho date('H:i:s') , \" Add a hyperlink to another cell on a different worksheet within the workbook\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('E27', 'Terms and conditions');\n$objPHPExcel->getActiveSheet()->getCell('E27')->getHyperlink()->setUrl(\"sheet://'Terms and conditions'!A1\");\n$objPHPExcel->getActiveSheet()->getCell('E27')->getHyperlink()->setTooltip('Review terms and conditions');\n$objPHPExcel->getActiveSheet()->getStyle('E27')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT);\n\n// Add a drawing to the worksheet\necho date('H:i:s') , \" Add a drawing to the worksheet\" , EOL;\n$objDrawing = new PHPExcel_Worksheet_Drawing();\n$objDrawing->setName('Logo');\n$objDrawing->setDescription('Logo');\n$objDrawing->setPath('./images/officelogo.jpg');\n$objDrawing->setHeight(36);\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n\n// Add a drawing to the worksheet\necho date('H:i:s') , \" Add a drawing to the worksheet\" , EOL;\n$objDrawing = new PHPExcel_Worksheet_Drawing();\n$objDrawing->setName('Paid');\n$objDrawing->setDescription('Paid');\n$objDrawing->setPath('./images/paid.png');\n$objDrawing->setCoordinates('B15');\n$objDrawing->setOffsetX(110);\n$objDrawing->setRotation(25);\n$objDrawing->getShadow()->setVisible(true);\n$objDrawing->getShadow()->setDirection(45);\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n\n// Add a drawing to the worksheet\necho date('H:i:s') , \" Add a drawing to the worksheet\" , EOL;\n$objDrawing = new PHPExcel_Worksheet_Drawing();\n$objDrawing->setName('PHPExcel logo');\n$objDrawing->setDescription('PHPExcel logo');\n$objDrawing->setPath('./images/phpexcel_logo.gif');\n$objDrawing->setHeight(36);\n$objDrawing->setCoordinates('D24');\n$objDrawing->setOffsetX(10);\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n\n// Play around with inserting and removing rows and columns\necho date('H:i:s') , \" Play around with inserting and removing rows and columns\" , EOL;\n$objPHPExcel->getActiveSheet()->insertNewRowBefore(6, 10);\n$objPHPExcel->getActiveSheet()->removeRow(6, 10);\n$objPHPExcel->getActiveSheet()->insertNewColumnBefore('E', 5);\n$objPHPExcel->getActiveSheet()->removeColumn('E', 5);\n\n// Set header and footer. When no different headers for odd/even are used, odd header is assumed.\necho date('H:i:s') , \" Set header/footer\" , EOL;\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddHeader('&L&BInvoice&RPrinted on &D');\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddFooter('&L&B' . $objPHPExcel->getProperties()->getTitle() . '&RPage &P of &N');\n\n// Set page orientation and size\necho date('H:i:s') , \" Set page orientation and size\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT);\n$objPHPExcel->getActiveSheet()->getPageSetup()->setPaperSize(PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4);\n\n// Rename first worksheet\necho date('H:i:s') , \" Rename first worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Invoice');\n\n\n// Create a new worksheet, after the default sheet\necho date('H:i:s') , \" Create a second Worksheet object\" , EOL;\n$objPHPExcel->createSheet();\n\n// Llorem ipsum...\n$sLloremIpsum = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus eget ante. Sed cursus nunc semper tortor. Aliquam luctus purus non elit. Fusce vel elit commodo sapien dignissim dignissim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur accumsan magna sed massa. Nullam bibendum quam ac ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin augue. Praesent malesuada justo sed orci. Pellentesque lacus ligula, sodales quis, ultricies a, ultricies vitae, elit. Sed luctus consectetuer dolor. Vivamus vel sem ut nisi sodales accumsan. Nunc et felis. Suspendisse semper viverra odio. Morbi at odio. Integer a orci a purus venenatis molestie. Nam mattis. Praesent rhoncus, nisi vel mattis auctor, neque nisi faucibus sem, non dapibus elit pede ac nisl. Cras turpis.';\n\n// Add some data to the second sheet, resembling some different data types\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(1);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Terms and conditions');\n$objPHPExcel->getActiveSheet()->setCellValue('A3', $sLloremIpsum);\n$objPHPExcel->getActiveSheet()->setCellValue('A4', $sLloremIpsum);\n$objPHPExcel->getActiveSheet()->setCellValue('A5', $sLloremIpsum);\n$objPHPExcel->getActiveSheet()->setCellValue('A6', $sLloremIpsum);\n\n// Set the worksheet tab color\necho date('H:i:s') , \" Set the worksheet tab color\" , EOL;\n$objPHPExcel->getActiveSheet()->getTabColor()->setARGB('FF0094FF');;\n\n// Set alignments\necho date('H:i:s') , \" Set alignments\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A3:A6')->getAlignment()->setWrapText(true);\n\n// Set column widths\necho date('H:i:s') , \" Set column widths\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(80);\n\n// Set fonts\necho date('H:i:s') , \" Set fonts\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getFont()->setName('Candara');\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getFont()->setSize(20);\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('A1')->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE);\n\n$objPHPExcel->getActiveSheet()->getStyle('A3:A6')->getFont()->setSize(8);\n\n// Add a drawing to the worksheet\necho date('H:i:s') , \" Add a drawing to the worksheet\" , EOL;\n$objDrawing = new PHPExcel_Worksheet_Drawing();\n$objDrawing->setName('Terms and conditions');\n$objDrawing->setDescription('Terms and conditions');\n$objDrawing->setPath('./images/termsconditions.jpg');\n$objDrawing->setCoordinates('B14');\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n\n// Set page orientation and size\necho date('H:i:s') , \" Set page orientation and size\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE);\n$objPHPExcel->getActiveSheet()->getPageSetup()->setPaperSize(PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4);\n\n// Rename second worksheet\necho date('H:i:s') , \" Rename second worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Terms and conditions');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n"
  },
  {
    "path": "Examples/05featuredemo.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\ninclude \"05featuredemo.inc.php\";\n\n/** Include PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/06largescale-with-cellcaching-sqlite.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite;\nif (PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {\n    echo date('H:i:s') , \" Enable Cell Caching using \" , $cacheMethod , \" method\" , EOL;\n} else {\n    echo date('H:i:s') , \" Unable to set Cell Caching using \" , $cacheMethod , \" method, reverting to memory\" , EOL;\n}\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Firstname\");\n$objPHPExcel->getActiveSheet()->setCellValue('B1', \"Lastname\");\n$objPHPExcel->getActiveSheet()->setCellValue('C1', \"Phone\");\n$objPHPExcel->getActiveSheet()->setCellValue('D1', \"Fax\");\n$objPHPExcel->getActiveSheet()->setCellValue('E1', \"Is Client ?\");\n\n\n// Hide \"Phone\" and \"fax\" column\necho date('H:i:s') , \" Hide 'Phone' and 'fax' columns\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setVisible(false);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setVisible(false);\n\n\n// Set outline levels\necho date('H:i:s') , \" Set outline levels\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1)\n                                                       ->setVisible(false)\n                                                       ->setCollapsed(true);\n\n// Freeze panes\necho date('H:i:s') , \" Freeze panes\" , EOL;\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n// Rows to repeat at top\necho date('H:i:s') , \" Rows to repeat at top\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 1);\n\n\n// Add data\nfor ($i = 2; $i <= 5000; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\")\n\t                              ->setCellValue('B' . $i, \"LName $i\")\n\t                              ->setCellValue('C' . $i, \"PhoneNo $i\")\n\t                              ->setCellValue('D' . $i, \"FaxNo $i\")\n\t                              ->setCellValue('E' . $i, true);\n}\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/06largescale-with-cellcaching-sqlite3.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3;\nif (PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {\n    echo date('H:i:s') , \" Enable Cell Caching using \" , $cacheMethod , \" method\" , EOL;\n} else {\n    echo date('H:i:s') , \" Unable to set Cell Caching using \" , $cacheMethod , \" method, reverting to memory\" , EOL;\n}\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Firstname\");\n$objPHPExcel->getActiveSheet()->setCellValue('B1', \"Lastname\");\n$objPHPExcel->getActiveSheet()->setCellValue('C1', \"Phone\");\n$objPHPExcel->getActiveSheet()->setCellValue('D1', \"Fax\");\n$objPHPExcel->getActiveSheet()->setCellValue('E1', \"Is Client ?\");\n\n\n// Hide \"Phone\" and \"fax\" column\necho date('H:i:s') , \" Hide 'Phone' and 'fax' columns\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setVisible(false);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setVisible(false);\n\n\n// Set outline levels\necho date('H:i:s') , \" Set outline levels\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1)\n                                                       ->setVisible(false)\n                                                       ->setCollapsed(true);\n\n// Freeze panes\necho date('H:i:s') , \" Freeze panes\" , EOL;\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n// Rows to repeat at top\necho date('H:i:s') , \" Rows to repeat at top\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 1);\n\n\n// Add data\nfor ($i = 2; $i <= 5000; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\")\n\t                              ->setCellValue('B' . $i, \"LName $i\")\n\t                              ->setCellValue('C' . $i, \"PhoneNo $i\")\n\t                              ->setCellValue('D' . $i, \"FaxNo $i\")\n\t                              ->setCellValue('E' . $i, true);\n}\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/06largescale-with-cellcaching.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip;\nif (!PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {\n\tdie($cacheMethod . \" caching method is not available\" . EOL);\n}\necho date('H:i:s') , \" Enable Cell Caching using \" , $cacheMethod , \" method\" , EOL;\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Firstname\");\n$objPHPExcel->getActiveSheet()->setCellValue('B1', \"Lastname\");\n$objPHPExcel->getActiveSheet()->setCellValue('C1', \"Phone\");\n$objPHPExcel->getActiveSheet()->setCellValue('D1', \"Fax\");\n$objPHPExcel->getActiveSheet()->setCellValue('E1', \"Is Client ?\");\n\n\n// Hide \"Phone\" and \"fax\" column\necho date('H:i:s') , \" Hide 'Phone' and 'fax' columns\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setVisible(false);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setVisible(false);\n\n\n// Set outline levels\necho date('H:i:s') , \" Set outline levels\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1)\n                                                       ->setVisible(false)\n                                                       ->setCollapsed(true);\n\n// Freeze panes\necho date('H:i:s') , \" Freeze panes\" , EOL;\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n// Rows to repeat at top\necho date('H:i:s') , \" Rows to repeat at top\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 1);\n\n\n// Add data\nfor ($i = 2; $i <= 5000; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\")\n\t                              ->setCellValue('B' . $i, \"LName $i\")\n\t                              ->setCellValue('C' . $i, \"PhoneNo $i\")\n\t                              ->setCellValue('D' . $i, \"FaxNo $i\")\n\t                              ->setCellValue('E' . $i, true);\n}\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/06largescale-xls.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n/*\nAfter doing some test, I've got these results benchmarked\nfor writing to Excel2007:\n\n\tNumber of rows\tSeconds to generate\n\t200\t\t\t\t3\n\t500\t\t\t\t4\n\t1000\t\t\t6\n\t2000\t\t\t12\n\t4000\t\t\t36\n\t8000\t\t\t64\n\t15000\t\t\t465\n*/\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Firstname\");\n$objPHPExcel->getActiveSheet()->setCellValue('B1', \"Lastname\");\n$objPHPExcel->getActiveSheet()->setCellValue('C1', \"Phone\");\n$objPHPExcel->getActiveSheet()->setCellValue('D1', \"Fax\");\n$objPHPExcel->getActiveSheet()->setCellValue('E1', \"Is Client ?\");\n\n\n// Hide \"Phone\" and \"fax\" column\necho date('H:i:s') , \" Hide 'Phone' and 'fax' columns\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setVisible(false);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setVisible(false);\n\n\n// Set outline levels\necho date('H:i:s') , \" Set outline levels\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1)\n                                                       ->setVisible(false)\n                                                       ->setCollapsed(true);\n\n// Freeze panes\necho date('H:i:s') , \" Freeze panes\" , EOL;\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n// Rows to repeat at top\necho date('H:i:s') , \" Rows to repeat at top\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 1);\n\n\n// Add data\nfor ($i = 2; $i <= 5000; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\")\n\t                              ->setCellValue('B' . $i, \"LName $i\")\n\t                              ->setCellValue('C' . $i, \"PhoneNo $i\")\n\t                              ->setCellValue('D' . $i, \"FaxNo $i\")\n\t                              ->setCellValue('E' . $i, true);\n}\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/06largescale.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n/*\nAfter doing some test, I've got these results benchmarked\nfor writing to Excel2007:\n\n\tNumber of rows\tSeconds to generate\n\t200\t\t\t\t3\n\t500\t\t\t\t4\n\t1000\t\t\t6\n\t2000\t\t\t12\n\t4000\t\t\t36\n\t8000\t\t\t64\n\t15000\t\t\t465\n*/\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Firstname\");\n$objPHPExcel->getActiveSheet()->setCellValue('B1', \"Lastname\");\n$objPHPExcel->getActiveSheet()->setCellValue('C1', \"Phone\");\n$objPHPExcel->getActiveSheet()->setCellValue('D1', \"Fax\");\n$objPHPExcel->getActiveSheet()->setCellValue('E1', \"Is Client ?\");\n\n\n// Hide \"Phone\" and \"fax\" column\necho date('H:i:s') , \" Hide 'Phone' and 'fax' columns\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setVisible(false);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setVisible(false);\n\n\n// Set outline levels\necho date('H:i:s') , \" Set outline levels\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setOutlineLevel(1)\n                                                       ->setVisible(false)\n                                                       ->setCollapsed(true);\n\n// Freeze panes\necho date('H:i:s') , \" Freeze panes\" , EOL;\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n// Rows to repeat at top\necho date('H:i:s') , \" Rows to repeat at top\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1, 1);\n\n\n// Add data\nfor ($i = 2; $i <= 5000; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\")\n\t                              ->setCellValue('B' . $i, \"LName $i\")\n\t                              ->setCellValue('C' . $i, \"PhoneNo $i\")\n\t                              ->setCellValue('D' . $i, \"FaxNo $i\")\n\t                              ->setCellValue('E' . $i, true);\n}\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/07reader.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\nif (!file_exists(\"05featuredemo.xlsx\")) {\n\texit(\"Please run 05featuredemo.php first.\" . EOL);\n}\n\necho date('H:i:s') , \" Load from Excel2007 file\" , EOL;\n$callStartTime = microtime(true);\n\n$objPHPExcel = PHPExcel_IOFactory::load(\"05featuredemo.xlsx\");\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/07readerPCLZip.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\nif (!file_exists(\"05featuredemo.xlsx\")) {\n\texit(\"Please run 05featuredemo.php first.\" . EOL);\n}\n\n// Use PCLZip rather than ZipArchive to read the Excel2007 OfficeOpenXML file\nPHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP);\n\necho date('H:i:s') , \" Load from Excel2007 file\" , EOL;\n$callStartTime = microtime(true);\n\n$objPHPExcel = PHPExcel_IOFactory::load(\"05featuredemo.xlsx\");\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/08conditionalformatting.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet, representing sales data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Description')\n                              ->setCellValue('B1', 'Amount');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 'Paycheck received')\n                              ->setCellValue('B2', 100);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A3', 'Cup of coffee bought')\n                              ->setCellValue('B3', -1.5);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A4', 'Cup of coffee bought')\n                              ->setCellValue('B4', -1.5);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A5', 'Cup of tea bought')\n                              ->setCellValue('B5', -1.2);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A6', 'Found some money')\n                              ->setCellValue('B6', 8);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A7', 'Total:')\n                              ->setCellValue('B7', '=SUM(B2:B6)');\n\n\n// Set column widths\necho date('H:i:s') , \" Set column widths\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(30);\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(12);\n\n\n// Add conditional formatting\necho date('H:i:s') , \" Add conditional formatting\" , EOL;\n$objConditional1 = new PHPExcel_Style_Conditional();\n$objConditional1->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS)\n                ->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_BETWEEN)\n                ->addCondition('200')\n                ->addCondition('400');\n$objConditional1->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_YELLOW);\n$objConditional1->getStyle()->getFont()->setBold(true);\n$objConditional1->getStyle()->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE);\n\n$objConditional2 = new PHPExcel_Style_Conditional();\n$objConditional2->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS)\n                ->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_LESSTHAN)\n                ->addCondition('0');\n$objConditional2->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_RED);\n$objConditional2->getStyle()->getFont()->setItalic(true);\n$objConditional2->getStyle()->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE);\n\n$objConditional3 = new PHPExcel_Style_Conditional();\n$objConditional3->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS)\n                ->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_GREATERTHANOREQUAL)\n                ->addCondition('0');\n$objConditional3->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_GREEN);\n$objConditional3->getStyle()->getFont()->setItalic(true);\n$objConditional3->getStyle()->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE);\n\n$conditionalStyles = $objPHPExcel->getActiveSheet()->getStyle('B2')->getConditionalStyles();\narray_push($conditionalStyles, $objConditional1);\narray_push($conditionalStyles, $objConditional2);\narray_push($conditionalStyles, $objConditional3);\n$objPHPExcel->getActiveSheet()->getStyle('B2')->setConditionalStyles($conditionalStyles);\n\n\n//\tduplicate the conditional styles across a range of cells\necho date('H:i:s') , \" Duplicate the conditional formatting across a range of cells\" , EOL;\n$objPHPExcel->getActiveSheet()->duplicateConditionalStyle(\n\t\t\t\t$objPHPExcel->getActiveSheet()->getStyle('B2')->getConditionalStyles(),\n\t\t\t\t'B3:B7'\n\t\t\t  );\n\n\n// Set fonts\necho date('H:i:s') , \" Set fonts\" , EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1:B1')->getFont()->setBold(true);\n//$objPHPExcel->getActiveSheet()->getStyle('B1')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('A7:B7')->getFont()->setBold(true);\n//$objPHPExcel->getActiveSheet()->getStyle('B7')->getFont()->setBold(true);\n\n\n// Set header and footer. When no different headers for odd/even are used, odd header is assumed.\necho date('H:i:s') , \" Set header/footer\" , EOL;\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddHeader('&L&BPersonal cash register&RPrinted on &D');\n$objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddFooter('&L&B' . $objPHPExcel->getProperties()->getTitle() . '&RPage &P of &N');\n\n\n// Set page orientation and size\necho date('H:i:s') , \" Set page orientation and size\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT);\n$objPHPExcel->getActiveSheet()->getPageSetup()->setPaperSize(PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4);\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Invoice');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Save Excel5 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/08conditionalformatting2.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet, representing sales data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A1', '-0.5')\n    ->setCellValue('A2', '-0.25')\n    ->setCellValue('A3', '0.0')\n    ->setCellValue('A4', '0.25')\n    ->setCellValue('A5', '0.5')\n    ->setCellValue('A6', '0.75')\n    ->setCellValue('A7', '1.0')\n    ->setCellValue('A8', '1.25')\n;\n\n$objPHPExcel->getActiveSheet()->getStyle('A1:A8')\n    ->getNumberFormat()\n    ->setFormatCode(\n        PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00\n    );\n\n\n// Add conditional formatting\necho date('H:i:s') , \" Add conditional formatting\" , EOL;\n$objConditional1 = new PHPExcel_Style_Conditional();\n$objConditional1->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS)\n    ->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_LESSTHAN)\n    ->addCondition('0');\n$objConditional1->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_RED);\n\n$objConditional3 = new PHPExcel_Style_Conditional();\n$objConditional3->setConditionType(PHPExcel_Style_Conditional::CONDITION_CELLIS)\n    ->setOperatorType(PHPExcel_Style_Conditional::OPERATOR_GREATERTHANOREQUAL)\n    ->addCondition('1');\n$objConditional3->getStyle()->getFont()->getColor()->setARGB(PHPExcel_Style_Color::COLOR_GREEN);\n\n$conditionalStyles = $objPHPExcel->getActiveSheet()->getStyle('A1')->getConditionalStyles();\narray_push($conditionalStyles, $objConditional1);\narray_push($conditionalStyles, $objConditional3);\n$objPHPExcel->getActiveSheet()->getStyle('A1')->setConditionalStyles($conditionalStyles);\n\n\n//\tduplicate the conditional styles across a range of cells\necho date('H:i:s') , \" Duplicate the conditional formatting across a range of cells\" , EOL;\n$objPHPExcel->getActiveSheet()->duplicateConditionalStyle(\n\t\t\t\t$objPHPExcel->getActiveSheet()->getStyle('A1')->getConditionalStyles(),\n\t\t\t\t'A2:A8'\n\t\t\t  );\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Save Excel5 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/09pagebreaks.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data and page breaks\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Firstname\")\n                              ->setCellValue('B1', \"Lastname\")\n                              ->setCellValue('C1', \"Phone\")\n                              ->setCellValue('D1', \"Fax\")\n                              ->setCellValue('E1', \"Is Client ?\");\n\n\n// Add data\nfor ($i = 2; $i <= 50; $i++) {\n\t$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, \"FName $i\");\n\t$objPHPExcel->getActiveSheet()->setCellValue('B' . $i, \"LName $i\");\n\t$objPHPExcel->getActiveSheet()->setCellValue('C' . $i, \"PhoneNo $i\");\n\t$objPHPExcel->getActiveSheet()->setCellValue('D' . $i, \"FaxNo $i\");\n\t$objPHPExcel->getActiveSheet()->setCellValue('E' . $i, true);\n\n\t// Add page breaks every 10 rows\n\tif ($i % 10 == 0) {\n\t\t// Add a page break\n\t\t$objPHPExcel->getActiveSheet()->setBreak( 'A' . $i, PHPExcel_Worksheet::BREAK_ROW );\n\t}\n}\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setTitle('Printing Options');\n\n// Set print headers\n$objPHPExcel->getActiveSheet()\n    ->getHeaderFooter()->setOddHeader('&C&24&K0000FF&B&U&A');\n$objPHPExcel->getActiveSheet()\n    ->getHeaderFooter()->setEvenHeader('&C&24&K0000FF&B&U&A');\n\n// Set print footers\n$objPHPExcel->getActiveSheet()\n    ->getHeaderFooter()->setOddFooter('&R&D &T&C&F&LPage &P / &N');\n$objPHPExcel->getActiveSheet()\n    ->getHeaderFooter()->setEvenFooter('&L&D &T&C&F&RPage &P / &N');\n\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/10autofilter-selection-1.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s').' Create new PHPExcel object'.EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s').' Set document properties'.EOL;\n$objPHPExcel->getProperties()->setCreator('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setLastModifiedBy('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setTitle('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setSubject('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setDescription('Test document for PHPExcel, generated using PHP classes.')\n\t\t\t\t\t\t\t ->setKeywords('office PHPExcel php')\n\t\t\t\t\t\t\t ->setCategory('Test result file');\n\n// Create the worksheet\necho date('H:i:s').' Add data'.EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Financial Year')\n                              ->setCellValue('B1', 'Financial Period')\n                              ->setCellValue('C1', 'Country')\n                              ->setCellValue('D1', 'Date')\n                              ->setCellValue('E1', 'Sales Value')\n                              ->setCellValue('F1', 'Expenditure')\n                              ;\n$startYear = $endYear = $currentYear = date('Y');\n$startYear--;\n$endYear++;\n\n$years = range($startYear,$endYear);\n$periods = range(1,12);\n$countries = array(\t'United States',\t'UK',\t\t'France',\t'Germany',\n\t\t\t\t\t'Italy',\t\t\t'Spain',\t'Portugal',\t'Japan'\n\t\t\t\t  );\n\n$row = 2;\nforeach($years as $year) {\n\tforeach($periods as $period) {\n\t\tforeach($countries as $country) {\n\t\t\t$endDays = date('t',mktime(0,0,0,$period,1,$year));\n\t\t\tfor($i = 1; $i <= $endDays; ++$i) {\n\t\t\t\t$eDate = PHPExcel_Shared_Date::FormattedPHPToExcel(\n\t\t\t\t\t$year,\n\t\t\t\t\t$period,\n\t\t\t\t\t$i\n\t\t\t\t);\n\t\t\t\t$value = rand(500,1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t$salesValue = $invoiceValue = NULL;\n\t\t\t\t$incomeOrExpenditure = rand(-1,1);\n\t\t\t\tif ($incomeOrExpenditure == -1) {\n\t\t\t\t\t$expenditure = rand(-500,-1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t\t$income = NULL;\n\t\t\t\t} elseif ($incomeOrExpenditure == 1) {\n\t\t\t\t\t$expenditure = rand(-500,-1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t\t$income = rand(500,1000) * (1 + rand(-0.25,+0.25));;\n\t\t\t\t} else {\n\t\t\t\t\t$expenditure = NULL;\n\t\t\t\t\t$income = rand(500,1000) * (1 + rand(-0.25,+0.25));;\n\t\t\t\t}\n\t\t\t\t$dataArray = array(\t$year,\n\t\t\t\t\t\t\t\t\t$period,\n\t\t\t\t\t\t\t\t\t$country,\n\t\t\t\t\t\t\t\t\t$eDate,\n\t\t\t\t\t\t\t\t\t$income,\n\t\t\t\t\t\t\t\t\t$expenditure,\n\t\t\t\t\t\t\t\t  );\n\t\t\t\t$objPHPExcel->getActiveSheet()->fromArray($dataArray, NULL, 'A'.$row++);\n\t\t\t}\n\t\t}\n\t}\n}\n$row--;\n\n\n// Set styling\necho date('H:i:s').' Set styling'.EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1:F1')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('A1:F1')->getAlignment()->setWrapText(TRUE);\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(12.5);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(10.5);\n$objPHPExcel->getActiveSheet()->getStyle('D2:D'.$row)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2);\n$objPHPExcel->getActiveSheet()->getStyle('E2:F'.$row)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE);\n$objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(14);\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n\n// Set autofilter range\necho date('H:i:s').' Set autofilter range'.EOL;\n// Always include the complete filter range!\n// Excel does support setting only the caption\n// row, but that's not a best practise...\n$objPHPExcel->getActiveSheet()->setAutoFilter($objPHPExcel->getActiveSheet()->calculateWorksheetDimension());\n\n// Set active filters\n$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();\necho date('H:i:s').' Set active filters'.EOL;\n// Filter the Country column on a filter value of countries beginning with the letter U (or Japan)\n//     We use * as a wildcard, so specify as U* and using a wildcard requires customFilter\n$autoFilter->getColumn('C')\n    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t'u*'\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n$autoFilter->getColumn('C')\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t'japan'\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n// Filter the Date column on a filter value of the first day of every period of the current year\n//\tWe us a dateGroup ruletype for this, although it is still a standard filter\nforeach($periods as $period) {\n\t$endDate = date('t',mktime(0,0,0,$period,1,$currentYear));\n\n\t$autoFilter->getColumn('D')\n\t    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER)\n\t    ->createRule()\n\t\t\t->setRule(\n\t\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t\tarray(\n\t\t\t\t\t'year' => $currentYear,\n\t\t\t\t\t'month' => $period,\n\t\t\t\t\t'day' => $endDate\n\t\t\t\t)\n\t\t\t)\n\t\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP);\n}\n// Display only sales values that are blank\n//     Standard filter, operator equals, and value of NULL\n$autoFilter->getColumn('E')\n    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t''\n\t\t);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s').' Peak memory usage: '.(memory_get_peak_usage(true) / 1024 / 1024).' MB'.EOL;\n\n// Echo done\necho date('H:i:s').' Done writing files'.EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/10autofilter-selection-2.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s').' Create new PHPExcel object'.EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s').' Set document properties'.EOL;\n$objPHPExcel->getProperties()->setCreator('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setLastModifiedBy('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setTitle('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setSubject('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setDescription('Test document for PHPExcel, generated using PHP classes.')\n\t\t\t\t\t\t\t ->setKeywords('office PHPExcel php')\n\t\t\t\t\t\t\t ->setCategory('Test result file');\n\n// Create the worksheet\necho date('H:i:s').' Add data'.EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Financial Year')\n                              ->setCellValue('B1', 'Financial Period')\n                              ->setCellValue('C1', 'Country')\n                              ->setCellValue('D1', 'Date')\n                              ->setCellValue('E1', 'Sales Value')\n                              ->setCellValue('F1', 'Expenditure')\n                              ;\n$startYear = $endYear = $currentYear = date('Y');\n$startYear--;\n$endYear++;\n\n$years = range($startYear,$endYear);\n$periods = range(1,12);\n$countries = array(\t'United States',\t'UK',\t\t'France',\t'Germany',\n\t\t\t\t\t'Italy',\t\t\t'Spain',\t'Portugal',\t'Japan'\n\t\t\t\t  );\n\n$row = 2;\nforeach($years as $year) {\n\tforeach($periods as $period) {\n\t\tforeach($countries as $country) {\n\t\t\t$endDays = date('t',mktime(0,0,0,$period,1,$year));\n\t\t\tfor($i = 1; $i <= $endDays; ++$i) {\n\t\t\t\t$eDate = PHPExcel_Shared_Date::FormattedPHPToExcel(\n\t\t\t\t\t$year,\n\t\t\t\t\t$period,\n\t\t\t\t\t$i\n\t\t\t\t);\n\t\t\t\t$value = rand(500,1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t$salesValue = $invoiceValue = NULL;\n\t\t\t\t$incomeOrExpenditure = rand(-1,1);\n\t\t\t\tif ($incomeOrExpenditure == -1) {\n\t\t\t\t\t$expenditure = rand(-500,-1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t\t$income = NULL;\n\t\t\t\t} elseif ($incomeOrExpenditure == 1) {\n\t\t\t\t\t$expenditure = rand(-500,-1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t\t$income = rand(500,1000) * (1 + rand(-0.25,+0.25));;\n\t\t\t\t} else {\n\t\t\t\t\t$expenditure = NULL;\n\t\t\t\t\t$income = rand(500,1000) * (1 + rand(-0.25,+0.25));;\n\t\t\t\t}\n\t\t\t\t$dataArray = array(\t$year,\n\t\t\t\t\t\t\t\t\t$period,\n\t\t\t\t\t\t\t\t\t$country,\n\t\t\t\t\t\t\t\t\t$eDate,\n\t\t\t\t\t\t\t\t\t$income,\n\t\t\t\t\t\t\t\t\t$expenditure,\n\t\t\t\t\t\t\t\t  );\n\t\t\t\t$objPHPExcel->getActiveSheet()->fromArray($dataArray, NULL, 'A'.$row++);\n\t\t\t}\n\t\t}\n\t}\n}\n$row--;\n\n\n// Set styling\necho date('H:i:s').' Set styling'.EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1:F1')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('A1:F1')->getAlignment()->setWrapText(TRUE);\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(12.5);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(10.5);\n$objPHPExcel->getActiveSheet()->getStyle('D2:D'.$row)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2);\n$objPHPExcel->getActiveSheet()->getStyle('E2:F'.$row)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE);\n$objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(14);\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n\n// Set autofilter range\necho date('H:i:s').' Set autofilter range'.EOL;\n// Always include the complete filter range!\n// Excel does support setting only the caption\n// row, but that's not a best practise...\n$objPHPExcel->getActiveSheet()->setAutoFilter($objPHPExcel->getActiveSheet()->calculateWorksheetDimension());\n\n// Set active filters\n$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();\necho date('H:i:s').' Set active filters'.EOL;\n// Filter the Country column on a filter value of Germany\n//\tAs it's just a simple value filter, we can use FILTERTYPE_FILTER\n$autoFilter->getColumn('C')\n    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t'Germany'\n\t\t);\n// Filter the Date column on a filter value of the year to date\n$autoFilter->getColumn('D')\n\t->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER)\n\t->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\tNULL,\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER);\n// Display only sales values that are between 400 and 600\n$autoFilter->getColumn('E')\n    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL,\n\t\t\t400\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n$autoFilter->getColumn('E')\n    ->setJoin(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL,\n\t\t\t600\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s').' Peak memory usage: '.(memory_get_peak_usage(true) / 1024 / 1024).' MB'.EOL;\n\n// Echo done\necho date('H:i:s').' Done writing files'.EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/10autofilter-selection-display.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s').' Create new PHPExcel object'.EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s').' Set document properties'.EOL;\n$objPHPExcel->getProperties()->setCreator('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setLastModifiedBy('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setTitle('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setSubject('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setDescription('Test document for PHPExcel, generated using PHP classes.')\n\t\t\t\t\t\t\t ->setKeywords('office PHPExcel php')\n\t\t\t\t\t\t\t ->setCategory('Test result file');\n\n// Create the worksheet\necho date('H:i:s').' Add data'.EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Financial Year')\n                              ->setCellValue('B1', 'Financial Period')\n                              ->setCellValue('C1', 'Country')\n                              ->setCellValue('D1', 'Date')\n                              ->setCellValue('E1', 'Sales Value')\n                              ->setCellValue('F1', 'Expenditure')\n                              ;\n$startYear = $endYear = $currentYear = date('Y');\n$startYear--;\n$endYear++;\n\n$years = range($startYear,$endYear);\n$periods = range(1,12);\n$countries = array(\t'United States',\t'UK',\t\t'France',\t'Germany',\n\t\t\t\t\t'Italy',\t\t\t'Spain',\t'Portugal',\t'Japan'\n\t\t\t\t  );\n\n$row = 2;\nforeach($years as $year) {\n\tforeach($periods as $period) {\n\t\tforeach($countries as $country) {\n\t\t\t$endDays = date('t',mktime(0,0,0,$period,1,$year));\n\t\t\tfor($i = 1; $i <= $endDays; ++$i) {\n\t\t\t\t$eDate = PHPExcel_Shared_Date::FormattedPHPToExcel(\n\t\t\t\t\t$year,\n\t\t\t\t\t$period,\n\t\t\t\t\t$i\n\t\t\t\t);\n\t\t\t\t$value = rand(500,1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t$salesValue = $invoiceValue = NULL;\n\t\t\t\t$incomeOrExpenditure = rand(-1,1);\n\t\t\t\tif ($incomeOrExpenditure == -1) {\n\t\t\t\t\t$expenditure = rand(-500,-1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t\t$income = NULL;\n\t\t\t\t} elseif ($incomeOrExpenditure == 1) {\n\t\t\t\t\t$expenditure = rand(-500,-1000) * (1 + rand(-0.25,+0.25));\n\t\t\t\t\t$income = rand(500,1000) * (1 + rand(-0.25,+0.25));;\n\t\t\t\t} else {\n\t\t\t\t\t$expenditure = NULL;\n\t\t\t\t\t$income = rand(500,1000) * (1 + rand(-0.25,+0.25));;\n\t\t\t\t}\n\t\t\t\t$dataArray = array(\t$year,\n\t\t\t\t\t\t\t\t\t$period,\n\t\t\t\t\t\t\t\t\t$country,\n\t\t\t\t\t\t\t\t\t$eDate,\n\t\t\t\t\t\t\t\t\t$income,\n\t\t\t\t\t\t\t\t\t$expenditure,\n\t\t\t\t\t\t\t\t  );\n\t\t\t\t$objPHPExcel->getActiveSheet()->fromArray($dataArray, NULL, 'A'.$row++);\n\t\t\t}\n\t\t}\n\t}\n}\n$row--;\n\n\n// Set styling\necho date('H:i:s').' Set styling'.EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1:F1')->getFont()->setBold(true);\n$objPHPExcel->getActiveSheet()->getStyle('A1:F1')->getAlignment()->setWrapText(TRUE);\n$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(12.5);\n$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(10.5);\n$objPHPExcel->getActiveSheet()->getStyle('D2:D'.$row)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2);\n$objPHPExcel->getActiveSheet()->getStyle('E2:F'.$row)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE);\n$objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(14);\n$objPHPExcel->getActiveSheet()->freezePane('A2');\n\n\n\n// Set autofilter range\necho date('H:i:s').' Set autofilter range'.EOL;\n// Always include the complete filter range!\n// Excel does support setting only the caption\n// row, but that's not a best practise...\n$objPHPExcel->getActiveSheet()->setAutoFilter($objPHPExcel->getActiveSheet()->calculateWorksheetDimension());\n\n// Set active filters\n$autoFilter = $objPHPExcel->getActiveSheet()->getAutoFilter();\necho date('H:i:s').' Set active filters'.EOL;\n// Filter the Country column on a filter value of countries beginning with the letter U (or Japan)\n//     We use * as a wildcard, so specify as U* and using a wildcard requires customFilter\n$autoFilter->getColumn('C')\n    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t'u*'\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n$autoFilter->getColumn('C')\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t'japan'\n\t\t)\n\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER);\n// Filter the Date column on a filter value of the first day of every period of the current year\n//\tWe us a dateGroup ruletype for this, although it is still a standard filter\nforeach($periods as $period) {\n\t$endDate = date('t',mktime(0,0,0,$period,1,$currentYear));\n\n\t$autoFilter->getColumn('D')\n\t    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER)\n\t    ->createRule()\n\t\t\t->setRule(\n\t\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t\tarray(\n\t\t\t\t\t'year' => $currentYear,\n\t\t\t\t\t'month' => $period,\n\t\t\t\t\t'day' => $endDate\n\t\t\t\t)\n\t\t\t)\n\t\t\t->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP);\n}\n// Display only sales values that are blank\n//     Standard filter, operator equals, and value of NULL\n$autoFilter->getColumn('E')\n    ->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER)\n    ->createRule()\n\t\t->setRule(\n\t\t\tPHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL,\n\t\t\t''\n\t\t);\n\n// Execute filtering\necho date('H:i:s').' Execute filtering'.EOL;\n$autoFilter->showHideRows();\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Display Results of filtering\necho date('H:i:s').' Display filtered rows'.EOL;\nforeach ($objPHPExcel->getActiveSheet()->getRowIterator() as $row) {\n\tif ($objPHPExcel->getActiveSheet()->getRowDimension($row->getRowIndex())->getVisible()) {\n\t\techo '    Row number - ' , $row->getRowIndex() , ' ';\n\t\techo $objPHPExcel->getActiveSheet()->getCell('C'.$row->getRowIndex())->getValue(), ' ';\n\t\techo $objPHPExcel->getActiveSheet()->getCell('D'.$row->getRowIndex())->getFormattedValue(), ' ';\n\t\techo EOL;\n\t}\n}\n"
  },
  {
    "path": "Examples/10autofilter.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n// Create new PHPExcel object\necho date('H:i:s').' Create new PHPExcel object'.EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s').' Set document properties'.EOL;\n$objPHPExcel->getProperties()->setCreator('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setLastModifiedBy('Maarten Balliauw')\n\t\t\t\t\t\t\t ->setTitle('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setSubject('PHPExcel Test Document')\n\t\t\t\t\t\t\t ->setDescription('Test document for PHPExcel, generated using PHP classes.')\n\t\t\t\t\t\t\t ->setKeywords('office PHPExcel php')\n\t\t\t\t\t\t\t ->setCategory('Test result file');\n\n// Create the worksheet\necho date('H:i:s').' Add data'.EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Year')\n                              ->setCellValue('B1', 'Quarter')\n                              ->setCellValue('C1', 'Country')\n                              ->setCellValue('D1', 'Sales');\n\n$dataArray = array(array('2010',\t'Q1',\t'United States',\t790),\n                   array('2010',\t'Q2',\t'United States',\t730),\n                   array('2010',\t'Q3',\t'United States',\t860),\n                   array('2010',\t'Q4',\t'United States',\t850),\n                   array('2011',\t'Q1',\t'United States',\t800),\n                   array('2011',\t'Q2',\t'United States',\t700),\n                   array('2011',\t'Q3',\t'United States',\t900),\n                   array('2011',\t'Q4',\t'United States',\t950),\n                   array('2010',\t'Q1',\t'Belgium',\t\t\t380),\n                   array('2010',\t'Q2',\t'Belgium',\t\t\t390),\n                   array('2010',\t'Q3',\t'Belgium',\t\t\t420),\n                   array('2010',\t'Q4',\t'Belgium',\t\t\t460),\n                   array('2011',\t'Q1',\t'Belgium',\t\t\t400),\n                   array('2011',\t'Q2',\t'Belgium',\t\t\t350),\n                   array('2011',\t'Q3',\t'Belgium',\t\t\t450),\n                   array('2011',\t'Q4',\t'Belgium',\t\t\t500),\n                   array('2010',\t'Q1',\t'UK',\t\t\t\t690),\n                   array('2010',\t'Q2',\t'UK',\t\t\t\t610),\n                   array('2010',\t'Q3',\t'UK',\t\t\t\t620),\n                   array('2010',\t'Q4',\t'UK',\t\t\t\t600),\n                   array('2011',\t'Q1',\t'UK',\t\t\t\t720),\n                   array('2011',\t'Q2',\t'UK',\t\t\t\t650),\n                   array('2011',\t'Q3',\t'UK',\t\t\t\t580),\n                   array('2011',\t'Q4',\t'UK',\t\t\t\t510),\n                   array('2010',\t'Q1',\t'France',\t\t\t510),\n                   array('2010',\t'Q2',\t'France',\t\t\t490),\n                   array('2010',\t'Q3',\t'France',\t\t\t460),\n                   array('2010',\t'Q4',\t'France', \t\t\t590),\n                   array('2011',\t'Q1',\t'France',\t\t\t620),\n                   array('2011',\t'Q2',\t'France',\t\t\t650),\n                   array('2011',\t'Q3',\t'France',\t\t\t415),\n                   array('2011',\t'Q4',\t'France', \t\t\t570),\n                   array('2010',\t'Q1',\t'Germany',\t\t\t720),\n                   array('2010',\t'Q2',\t'Germany',\t\t\t680),\n                   array('2010',\t'Q3',\t'Germany',\t\t\t640),\n                   array('2010',\t'Q4',\t'Germany',\t\t\t660),\n                   array('2011',\t'Q1',\t'Germany',\t\t\t680),\n                   array('2011',\t'Q2',\t'Germany',\t\t\t620),\n                   array('2011',\t'Q3',\t'Germany',\t\t\t710),\n                   array('2011',\t'Q4',\t'Germany',\t\t\t690),\n                   array('2010',\t'Q1',\t'Spain',\t\t\t510),\n                   array('2010',\t'Q2',\t'Spain',\t\t\t490),\n                   array('2010',\t'Q3',\t'Spain',\t\t\t470),\n                   array('2010',\t'Q4',\t'Spain',\t\t\t420),\n                   array('2011',\t'Q1',\t'Spain',\t\t\t460),\n                   array('2011',\t'Q2',\t'Spain',\t\t\t390),\n                   array('2011',\t'Q3',\t'Spain',\t\t\t430),\n                   array('2011',\t'Q4',\t'Spain',\t\t\t415),\n                   array('2010',\t'Q1',\t'Italy',\t\t\t440),\n                   array('2010',\t'Q2',\t'Italy',\t\t\t410),\n                   array('2010',\t'Q3',\t'Italy',\t\t\t420),\n                   array('2010',\t'Q4',\t'Italy',\t\t\t450),\n                   array('2011',\t'Q1',\t'Italy',\t\t\t430),\n                   array('2011',\t'Q2',\t'Italy',\t\t\t370),\n                   array('2011',\t'Q3',\t'Italy',\t\t\t350),\n                   array('2011',\t'Q4',\t'Italy',\t\t\t335),\n                  );\n$objPHPExcel->getActiveSheet()->fromArray($dataArray, NULL, 'A2');\n\n// Set title row bold\necho date('H:i:s').' Set title row bold'.EOL;\n$objPHPExcel->getActiveSheet()->getStyle('A1:D1')->getFont()->setBold(true);\n\n// Set autofilter\necho date('H:i:s').' Set autofilter'.EOL;\n// Always include the complete filter range!\n// Excel does support setting only the caption\n// row, but that's not a best practise...\n$objPHPExcel->getActiveSheet()->setAutoFilter($objPHPExcel->getActiveSheet()->calculateWorksheetDimension());\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s').' Peak memory usage: '.(memory_get_peak_usage(true) / 1024 / 1024).' MB'.EOL;\n\n// Echo done\necho date('H:i:s').' Done writing files'.EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/11documentsecurity-xls.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Hello');\n$objPHPExcel->getActiveSheet()->setCellValue('B2', 'world!');\n$objPHPExcel->getActiveSheet()->setCellValue('C1', 'Hello');\n$objPHPExcel->getActiveSheet()->setCellValue('D2', 'world!');\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set document security\necho date('H:i:s') , \" Set document security\" , EOL;\n$objPHPExcel->getSecurity()->setLockWindows(true);\n$objPHPExcel->getSecurity()->setLockStructure(true);\n$objPHPExcel->getSecurity()->setWorkbookPassword(\"PHPExcel\");\n\n\n// Set sheet security\necho date('H:i:s') , \" Set sheet security\" , EOL;\n$objPHPExcel->getActiveSheet()->getProtection()->setPassword('PHPExcel');\n$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true); // This should be enabled in order to enable any of the following!\n$objPHPExcel->getActiveSheet()->getProtection()->setSort(true);\n$objPHPExcel->getActiveSheet()->getProtection()->setInsertRows(true);\n$objPHPExcel->getActiveSheet()->getProtection()->setFormatCells(true);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/11documentsecurity.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Hello');\n$objPHPExcel->getActiveSheet()->setCellValue('B2', 'world!');\n$objPHPExcel->getActiveSheet()->setCellValue('C1', 'Hello');\n$objPHPExcel->getActiveSheet()->setCellValue('D2', 'world!');\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set document security\necho date('H:i:s') , \" Set document security\" , EOL;\n$objPHPExcel->getSecurity()->setLockWindows(true);\n$objPHPExcel->getSecurity()->setLockStructure(true);\n$objPHPExcel->getSecurity()->setWorkbookPassword(\"PHPExcel\");\n\n\n// Set sheet security\necho date('H:i:s') , \" Set sheet security\" , EOL;\n$objPHPExcel->getActiveSheet()->getProtection()->setPassword('PHPExcel');\n$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true); // This should be enabled in order to enable any of the following!\n$objPHPExcel->getActiveSheet()->getProtection()->setSort(true);\n$objPHPExcel->getActiveSheet()->getProtection()->setInsertRows(true);\n$objPHPExcel->getActiveSheet()->getProtection()->setFormatCells(true);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/12cellProtection.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Mark Baker\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Mark Baker\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Crouching');\n$objPHPExcel->getActiveSheet()->setCellValue('B1', 'Tiger');\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 'Hidden');\n$objPHPExcel->getActiveSheet()->setCellValue('B2', 'Dragon');\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set document security\necho date('H:i:s') , \" Set cell protection\" , EOL;\n\n\n// Set sheet security\necho date('H:i:s') , \" Set sheet security\" , EOL;\n$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);\n$objPHPExcel->getActiveSheet()\n\t->getStyle('A2:B2')\n\t->getProtection()->setLocked(\n\t\tPHPExcel_Style_Protection::PROTECTION_UNPROTECTED\n\t);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/13calculation.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\nmt_srand(1234567890);\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// List functions\necho date('H:i:s') , \" List implemented functions\" , EOL;\n$objCalc = PHPExcel_Calculation::getInstance();\nprint_r($objCalc->listFunctionNames());\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Add some data, we will use some formulas here\necho date('H:i:s') , \" Add some data and formulas\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('A14', 'Count:')\n                              ->setCellValue('A15', 'Sum:')\n                              ->setCellValue('A16', 'Max:')\n                              ->setCellValue('A17', 'Min:')\n                              ->setCellValue('A18', 'Average:')\n                              ->setCellValue('A19', 'Median:')\n                              ->setCellValue('A20', 'Mode:');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A22', 'CountA:')\n                              ->setCellValue('A23', 'MaxA:')\n                              ->setCellValue('A24', 'MinA:');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A26', 'StDev:')\n                              ->setCellValue('A27', 'StDevA:')\n                              ->setCellValue('A28', 'StDevP:')\n                              ->setCellValue('A29', 'StDevPA:');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A31', 'DevSq:')\n                              ->setCellValue('A32', 'Var:')\n                              ->setCellValue('A33', 'VarA:')\n                              ->setCellValue('A34', 'VarP:')\n                              ->setCellValue('A35', 'VarPA:');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A37', 'Date:');\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('B1', 'Range 1')\n                              ->setCellValue('B2', 2)\n                              ->setCellValue('B3', 8)\n                              ->setCellValue('B4', 10)\n                              ->setCellValue('B5', True)\n                              ->setCellValue('B6', False)\n                              ->setCellValue('B7', 'Text String')\n                              ->setCellValue('B9', '22')\n                              ->setCellValue('B10', 4)\n                              ->setCellValue('B11', 6)\n                              ->setCellValue('B12', 12);\n\n$objPHPExcel->getActiveSheet()->setCellValue('B14', '=COUNT(B2:B12)')\n                              ->setCellValue('B15', '=SUM(B2:B12)')\n                              ->setCellValue('B16', '=MAX(B2:B12)')\n                              ->setCellValue('B17', '=MIN(B2:B12)')\n                              ->setCellValue('B18', '=AVERAGE(B2:B12)')\n                              ->setCellValue('B19', '=MEDIAN(B2:B12)')\n                              ->setCellValue('B20', '=MODE(B2:B12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('B22', '=COUNTA(B2:B12)')\n                              ->setCellValue('B23', '=MAXA(B2:B12)')\n                              ->setCellValue('B24', '=MINA(B2:B12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('B26', '=STDEV(B2:B12)')\n                              ->setCellValue('B27', '=STDEVA(B2:B12)')\n                              ->setCellValue('B28', '=STDEVP(B2:B12)')\n                              ->setCellValue('B29', '=STDEVPA(B2:B12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('B31', '=DEVSQ(B2:B12)')\n                              ->setCellValue('B32', '=VAR(B2:B12)')\n                              ->setCellValue('B33', '=VARA(B2:B12)')\n                              ->setCellValue('B34', '=VARP(B2:B12)')\n                              ->setCellValue('B35', '=VARPA(B2:B12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('B37', '=DATE(2007, 12, 21)')\n                              ->setCellValue('B38', '=DATEDIF( DATE(2007, 12, 21), DATE(2007, 12, 22), \"D\" )')\n                              ->setCellValue('B39', '=DATEVALUE(\"01-Feb-2006 10:06 AM\")')\n                              ->setCellValue('B40', '=DAY( DATE(2006, 1, 2) )')\n                              ->setCellValue('B41', '=DAYS360( DATE(2002, 2, 3), DATE(2005, 5, 31) )');\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('C1', 'Range 2')\n                              ->setCellValue('C2', 1)\n                              ->setCellValue('C3', 2)\n                              ->setCellValue('C4', 2)\n                              ->setCellValue('C5', 3)\n                              ->setCellValue('C6', 3)\n                              ->setCellValue('C7', 3)\n                              ->setCellValue('C8', '0')\n                              ->setCellValue('C9', 4)\n                              ->setCellValue('C10', 4)\n                              ->setCellValue('C11', 4)\n                              ->setCellValue('C12', 4);\n\n$objPHPExcel->getActiveSheet()->setCellValue('C14', '=COUNT(C2:C12)')\n                              ->setCellValue('C15', '=SUM(C2:C12)')\n                              ->setCellValue('C16', '=MAX(C2:C12)')\n                              ->setCellValue('C17', '=MIN(C2:C12)')\n                              ->setCellValue('C18', '=AVERAGE(C2:C12)')\n                              ->setCellValue('C19', '=MEDIAN(C2:C12)')\n                              ->setCellValue('C20', '=MODE(C2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('C22', '=COUNTA(C2:C12)')\n                              ->setCellValue('C23', '=MAXA(C2:C12)')\n                              ->setCellValue('C24', '=MINA(C2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('C26', '=STDEV(C2:C12)')\n                              ->setCellValue('C27', '=STDEVA(C2:C12)')\n                              ->setCellValue('C28', '=STDEVP(C2:C12)')\n                              ->setCellValue('C29', '=STDEVPA(C2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('C31', '=DEVSQ(C2:C12)')\n                              ->setCellValue('C32', '=VAR(C2:C12)')\n                              ->setCellValue('C33', '=VARA(C2:C12)')\n                              ->setCellValue('C34', '=VARP(C2:C12)')\n                              ->setCellValue('C35', '=VARPA(C2:C12)');\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('D1', 'Range 3')\n                              ->setCellValue('D2', 2)\n                              ->setCellValue('D3', 3)\n                              ->setCellValue('D4', 4);\n\n$objPHPExcel->getActiveSheet()->setCellValue('D14', '=((D2 * D3) + D4) & \" should be 10\"');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E12', 'Other functions')\n                              ->setCellValue('E14', '=PI()')\n                              ->setCellValue('E15', '=RAND()')\n                              ->setCellValue('E16', '=RANDBETWEEN(5, 10)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E17', 'Count of both ranges:')\n                              ->setCellValue('F17', '=COUNT(B2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E18', 'Total of both ranges:')\n                              ->setCellValue('F18', '=SUM(B2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E19', 'Maximum of both ranges:')\n                              ->setCellValue('F19', '=MAX(B2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E20', 'Minimum of both ranges:')\n                              ->setCellValue('F20', '=MIN(B2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E21', 'Average of both ranges:')\n                              ->setCellValue('F21', '=AVERAGE(B2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E22', 'Median of both ranges:')\n                              ->setCellValue('F22', '=MEDIAN(B2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E23', 'Mode of both ranges:')\n                              ->setCellValue('F23', '=MODE(B2:C12)');\n\n\n// Calculated data\necho date('H:i:s') , \" Calculated data\" , EOL;\nfor ($col = 'B'; $col != 'G'; ++$col) {\n    for($row = 14; $row <= 41; ++$row) {\n        if ((!is_null($formula = $objPHPExcel->getActiveSheet()->getCell($col.$row)->getValue())) &&\n\t\t\t($formula[0] == '=')) {\n            echo 'Value of ' , $col , $row , ' [' , $formula , ']: ' ,\n                               $objPHPExcel->getActiveSheet()->getCell($col.$row)->getCalculatedValue() . EOL;\n        }\n    }\n}\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n\n//\n//  If we set Pre Calculated Formulas to true then PHPExcel will calculate all formulae in the\n//    workbook before saving. This adds time and memory overhead, and can cause some problems with formulae\n//    using functions or features (such as array formulae) that aren't yet supported by the calculation engine\n//  If the value is false (the default) for the Excel2007 Writer, then MS Excel (or the application used to\n//    open the file) will need to recalculate values itself to guarantee that the correct results are available.\n//\n//$objWriter->setPreCalculateFormulas(true);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/13calculationCyclicFormulae.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (C) 2006 - 2014 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Add some data, we will use some formulas here\necho date('H:i:s') , \" Add some data and formulas\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('A1', '=B1')\n                              ->setCellValue('A2', '=B2+1')\n                              ->setCellValue('B1', '=A1+1')\n                              ->setCellValue('B2', '=A2');\n\nPHPExcel_Calculation::getInstance($objPHPExcel)->cyclicFormulaCount = 100;\n\n// Calculated data\necho date('H:i:s') , \" Calculated data\" , EOL;\nfor($row = 1; $row <= 2; ++$row) {\n    for ($col = 'A'; $col != 'C'; ++$col) {\n        if ((!is_null($formula = $objPHPExcel->getActiveSheet()->getCell($col.$row)->getValue())) &&\n\t\t\t($formula[0] == '=')) {\n            echo 'Value of ' , $col , $row , ' [' , $formula , ']: ' ,\n                               $objPHPExcel->getActiveSheet()->getCell($col.$row)->getCalculatedValue() . EOL;\n        }\n    }\n}\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n\n//\n//  If we set Pre Calculated Formulas to true then PHPExcel will calculate all formulae in the\n//    workbook before saving. This adds time and memory overhead, and can cause some problems with formulae\n//    using functions or features (such as array formulae) that aren't yet supported by the calculation engine\n//  If the value is false (the default) for the Excel2007 Writer, then MS Excel (or the application used to\n//    open the file) will need to recalculate values itself to guarantee that the correct results are available.\n//\n//$objWriter->setPreCalculateFormulas(true);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/14excel5.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\ninclude \"05featuredemo.inc.php\";\n\n/** PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/15datavalidation-xls.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t->setLastModifiedBy(\"Maarten Balliauw\")\n\t->setTitle(\"Office 2007 XLSX Test Document\")\n\t->setSubject(\"Office 2007 XLSX Test Document\")\n\t->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t->setKeywords(\"office 2007 openxml php\")\n\t->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Cell B3 and B5 contain data validation...\")\n    ->setCellValue('A3', \"Number:\")\n    ->setCellValue('B3', \"10\")\n    ->setCellValue('A5', \"List:\")\n    ->setCellValue('B5', \"Item A\")\n    ->setCellValue('A7', \"List #2:\")\n    ->setCellValue('B7', \"Item #2\")\n    ->setCellValue('D2', \"Item #1\")\n    ->setCellValue('D3', \"Item #2\")\n    ->setCellValue('D4', \"Item #3\")\n    ->setCellValue('D5', \"Item #4\")\n    ->setCellValue('D6', \"Item #5\")\n    ->setCellValue('A9', 'Text:')\n    ;\n\n\n// Set data validation\necho date('H:i:s') , \" Set data validation\" , EOL;\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B3')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_WHOLE );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );\n$objValidation->setAllowBlank(true);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Only numbers between 10 and 20 are allowed!');\n$objValidation->setPromptTitle('Allowed input');\n$objValidation->setPrompt('Only numbers between 10 and 20 are allowed.');\n$objValidation->setFormula1(10);\n$objValidation->setFormula2(20);\n\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B5')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION );\n$objValidation->setAllowBlank(false);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setShowDropDown(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Value is not in list.');\n$objValidation->setPromptTitle('Pick from list');\n$objValidation->setPrompt('Please pick a value from the drop-down list.');\n$objValidation->setFormula1('\"Item A,Item B,Item C\"');\t// Make sure to put the list items between \" and \"  !!!\n\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B7')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION );\n$objValidation->setAllowBlank(false);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setShowDropDown(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Value is not in list.');\n$objValidation->setPromptTitle('Pick from list');\n$objValidation->setPrompt('Please pick a value from the drop-down list.');\n$objValidation->setFormula1('$D$2:$D$6');\t// Make sure NOT to put a range of cells or a formula between \" and \"  !!!\n\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B9')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );\n$objValidation->setAllowBlank(true);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Text exceeds maximum length');\n$objValidation->setPromptTitle('Allowed input');\n$objValidation->setPrompt('Maximum text length is 6 characters.');\n$objValidation->setFormula1(6);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/15datavalidation.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t->setLastModifiedBy(\"Maarten Balliauw\")\n\t->setTitle(\"Office 2007 XLSX Test Document\")\n\t->setSubject(\"Office 2007 XLSX Test Document\")\n\t->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t->setKeywords(\"office 2007 openxml php\")\n\t->setCategory(\"Test result file\");\n\n\n// Create a first sheet\necho date('H:i:s') , \" Add data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', \"Cell B3 and B5 contain data validation...\")\n    ->setCellValue('A3', \"Number:\")\n    ->setCellValue('B3', \"10\")\n    ->setCellValue('A5', \"List:\")\n    ->setCellValue('B5', \"Item A\")\n    ->setCellValue('A7', \"List #2:\")\n    ->setCellValue('B7', \"Item #2\")\n    ->setCellValue('D2', \"Item #1\")\n    ->setCellValue('D3', \"Item #2\")\n    ->setCellValue('D4', \"Item #3\")\n    ->setCellValue('D5', \"Item #4\")\n    ->setCellValue('D6', \"Item #5\")\n    ->setCellValue('A9', 'Text:')\n    ;\n\n\n// Set data validation\necho date('H:i:s') , \" Set data validation\" , EOL;\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B3')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_WHOLE );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );\n$objValidation->setAllowBlank(true);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Only numbers between 10 and 20 are allowed!');\n$objValidation->setPromptTitle('Allowed input');\n$objValidation->setPrompt('Only numbers between 10 and 20 are allowed.');\n$objValidation->setFormula1(10);\n$objValidation->setFormula2(20);\n\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B5')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION );\n$objValidation->setAllowBlank(false);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setShowDropDown(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Value is not in list.');\n$objValidation->setPromptTitle('Pick from list');\n$objValidation->setPrompt('Please pick a value from the drop-down list.');\n$objValidation->setFormula1('\"Item A,Item B,Item C\"');\t// Make sure to put the list items between \" and \" if your list is simply a comma-separated list of values !!!\n\n\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B7')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION );\n$objValidation->setAllowBlank(false);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setShowDropDown(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Value is not in list.');\n$objValidation->setPromptTitle('Pick from list');\n$objValidation->setPrompt('Please pick a value from the drop-down list.');\n$objValidation->setFormula1('$D$2:$D$6');\t// Make sure NOT to put a range of cells or a formula between \" and \"  !!!\n\n$objValidation = $objPHPExcel->getActiveSheet()->getCell('B9')->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH );\n$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_STOP );\n$objValidation->setAllowBlank(true);\n$objValidation->setShowInputMessage(true);\n$objValidation->setShowErrorMessage(true);\n$objValidation->setErrorTitle('Input error');\n$objValidation->setError('Text exceeds maximum length');\n$objValidation->setPromptTitle('Allowed input');\n$objValidation->setPrompt('Maximum text length is 6 characters.');\n$objValidation->setFormula1(6);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/16csv.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\ninclude \"05featuredemo.inc.php\";\n\n/** PHPExcel_IOFactory */\nrequire_once '../Classes/PHPExcel/IOFactory.php';\n\n\necho date('H:i:s') , \" Write to CSV format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'CSV')->setDelimiter(',')\n                                                                  ->setEnclosure('\"')\n                                                                  ->setSheetIndex(0)\n                                                                  ->save(str_replace('.php', '.csv', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.csv', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Read from CSV format\" , EOL;\n$callStartTime = microtime(true);\n$objReader = PHPExcel_IOFactory::createReader('CSV')->setDelimiter(',')\n                                                    ->setEnclosure('\"')\n                                                    ->setSheetIndex(0);\n$objPHPExcelFromCSV = $objReader->load(str_replace('.php', '.csv', __FILE__));\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to reload Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter2007 = PHPExcel_IOFactory::createWriter($objPHPExcelFromCSV, 'Excel2007');\n$objWriter2007->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Write to CSV format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriterCSV = PHPExcel_IOFactory::createWriter($objPHPExcelFromCSV, 'CSV');\n$objWriterCSV->setExcelCompatibility(true);\n$objWriterCSV->save(str_replace('.php', '_excel.csv', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho date('H:i:s') , \" File written to \" , str_replace('.php', '_excel.csv', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/17html.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\ninclude \"05featuredemo.inc.php\";\n\n/** PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\necho date('H:i:s') , \" Write to HTML format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'HTML');\n$objWriter->setSheetIndex(0);\n//$objWriter->setImagesRoot('http://www.example.com');\n$objWriter->save(str_replace('.php', '.htm', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.htm', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/18extendedcalculation.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// List functions\necho date('H:i:s') . \" List implemented functions\\n\";\n$objCalc = PHPExcel_Calculation::getInstance();\nprint_r($objCalc->listFunctionNames());\n\n// Create new PHPExcel object\necho date('H:i:s') . \" Create new PHPExcel object\\n\";\n$objPHPExcel = new PHPExcel();\n\n// Add some data, we will use some formulas here\necho date('H:i:s') . \" Add some data\\n\";\n$objPHPExcel->getActiveSheet()->setCellValue('A14', 'Count:');\n\n$objPHPExcel->getActiveSheet()->setCellValue('B1', 'Range 1');\n$objPHPExcel->getActiveSheet()->setCellValue('B2', 2);\n$objPHPExcel->getActiveSheet()->setCellValue('B3', 8);\n$objPHPExcel->getActiveSheet()->setCellValue('B4', 10);\n$objPHPExcel->getActiveSheet()->setCellValue('B5', True);\n$objPHPExcel->getActiveSheet()->setCellValue('B6', False);\n$objPHPExcel->getActiveSheet()->setCellValue('B7', 'Text String');\n$objPHPExcel->getActiveSheet()->setCellValue('B9', '22');\n$objPHPExcel->getActiveSheet()->setCellValue('B10', 4);\n$objPHPExcel->getActiveSheet()->setCellValue('B11', 6);\n$objPHPExcel->getActiveSheet()->setCellValue('B12', 12);\n\n$objPHPExcel->getActiveSheet()->setCellValue('B14', '=COUNT(B2:B12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('C1', 'Range 2');\n$objPHPExcel->getActiveSheet()->setCellValue('C2', 1);\n$objPHPExcel->getActiveSheet()->setCellValue('C3', 2);\n$objPHPExcel->getActiveSheet()->setCellValue('C4', 2);\n$objPHPExcel->getActiveSheet()->setCellValue('C5', 3);\n$objPHPExcel->getActiveSheet()->setCellValue('C6', 3);\n$objPHPExcel->getActiveSheet()->setCellValue('C7', 3);\n$objPHPExcel->getActiveSheet()->setCellValue('C8', '0');\n$objPHPExcel->getActiveSheet()->setCellValue('C9', 4);\n$objPHPExcel->getActiveSheet()->setCellValue('C10', 4);\n$objPHPExcel->getActiveSheet()->setCellValue('C11', 4);\n$objPHPExcel->getActiveSheet()->setCellValue('C12', 4);\n\n$objPHPExcel->getActiveSheet()->setCellValue('C14', '=COUNT(C2:C12)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('D1', 'Range 3');\n$objPHPExcel->getActiveSheet()->setCellValue('D2', 2);\n$objPHPExcel->getActiveSheet()->setCellValue('D3', 3);\n$objPHPExcel->getActiveSheet()->setCellValue('D4', 4);\n\n$objPHPExcel->getActiveSheet()->setCellValue('D5', '=((D2 * D3) + D4) & \" should be 10\"');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E1', 'Other functions');\n$objPHPExcel->getActiveSheet()->setCellValue('E2', '=PI()');\n$objPHPExcel->getActiveSheet()->setCellValue('E3', '=RAND()');\n$objPHPExcel->getActiveSheet()->setCellValue('E4', '=RANDBETWEEN(5, 10)');\n\n$objPHPExcel->getActiveSheet()->setCellValue('E14', 'Count of both ranges:');\n$objPHPExcel->getActiveSheet()->setCellValue('F14', '=COUNT(B2:C12)');\n\n// Calculated data\necho date('H:i:s') . \" Calculated data\\n\";\necho 'Value of B14 [=COUNT(B2:B12)]: ' . $objPHPExcel->getActiveSheet()->getCell('B14')->getCalculatedValue() . \"\\r\\n\";\n\n\n// Echo memory peak usage\necho date('H:i:s') . \" Peak memory usage: \" . (memory_get_peak_usage(true) / 1024 / 1024) . \" MB\\r\\n\";\n\n// Echo done\necho date('H:i:s') . \" Done\" , EOL;\n"
  },
  {
    "path": "Examples/19namedrange.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Firstname:')\n                              ->setCellValue('A2', 'Lastname:')\n                              ->setCellValue('A3', 'Fullname:')\n                              ->setCellValue('B1', 'Maarten')\n                              ->setCellValue('B2', 'Balliauw')\n                              ->setCellValue('B3', '=B1 & \" \" & B2');\n\n// Define named ranges\necho date('H:i:s') , \" Define named ranges\" , EOL;\n$objPHPExcel->addNamedRange( new PHPExcel_NamedRange('PersonName', $objPHPExcel->getActiveSheet(), 'B1') );\n$objPHPExcel->addNamedRange( new PHPExcel_NamedRange('PersonLN', $objPHPExcel->getActiveSheet(), 'B2') );\n\n// Rename named ranges\necho date('H:i:s') , \" Rename named ranges\" , EOL;\n$objPHPExcel->getNamedRange('PersonName')->setName('PersonFN');\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Person');\n\n\n// Create a new worksheet, after the default sheet\necho date('H:i:s') , \" Create new Worksheet object\" , EOL;\n$objPHPExcel->createSheet();\n\n// Add some data to the second sheet, resembling some different data types\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(1);\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'Firstname:')\n                              ->setCellValue('A2', 'Lastname:')\n                              ->setCellValue('A3', 'Fullname:')\n                              ->setCellValue('B1', '=PersonFN')\n                              ->setCellValue('B2', '=PersonLN')\n                              ->setCellValue('B3', '=PersonFN & \" \" & PersonLN');\n\n// Resolve range\necho date('H:i:s') , \" Resolve range\" , EOL;\necho 'Cell B1 {=PersonFN}: ' , $objPHPExcel->getActiveSheet()->getCell('B1')->getCalculatedValue() , EOL;\necho 'Cell B3 {=PersonFN & \" \" & PersonLN}: ' , $objPHPExcel->getActiveSheet()->getCell('B3')->getCalculatedValue() , EOL;\necho 'Cell Person!B1: ' , $objPHPExcel->getActiveSheet()->getCell('Person!B1')->getCalculatedValue() , EOL;\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Person (cloned)');\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/20readexcel5.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\nini_set('display_errors', TRUE);\r\nini_set('display_startup_errors', TRUE);\r\ndate_default_timezone_set('Europe/London');\r\n\r\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** Include PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\n\r\nif (!file_exists(\"14excel5.xls\")) {\r\n\texit(\"Please run 14excel5.php first.\\n\");\r\n}\r\n\r\necho date('H:i:s') , \" Load workbook from Excel5 file\" , EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objPHPExcel = PHPExcel_IOFactory::load(\"14excel5.xls\");\r\n\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\n\r\necho 'Call time to load Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n\r\n// Save Excel 2007 file\r\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\n\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\r\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done reading file\" , EOL;\r\necho 'File has been created in ' , getcwd() , EOL;\r\n"
  },
  {
    "path": "Examples/21pdf.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\ninclude \"05featuredemo.inc.php\";\n\n/** PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\n//\tChange these values to select the Rendering library that you wish to use\n//\t\tand its directory location on your server\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_TCPDF;\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;\n$rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF;\n//$rendererLibrary = 'tcPDF5.9';\n//$rendererLibrary = 'mPDF5.4';\n$rendererLibrary = 'domPDF0.6.0beta3';\n$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary;\n\n\necho date('H:i:s') , \" Hide grid lines\" , EOL;\n$objPHPExcel->getActiveSheet()->setShowGridLines(false);\n\necho date('H:i:s') , \" Set orientation to landscape\" , EOL;\n$objPHPExcel->getActiveSheet()->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE);\n\n\necho date('H:i:s') , \" Write to PDF format using {$rendererName}\" , EOL;\n\nif (!PHPExcel_Settings::setPdfRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\tdie(\n\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\tEOL .\n\t\t'at the top of this script as appropriate for your directory structure'\n\t);\n}\n\n\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'PDF');\n$objWriter->setSheetIndex(0);\n$objWriter->save(str_replace('.php', '_'.$rendererName.'.pdf', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho date('H:i:s') , \" File written to \" , str_replace('.php', '_'.$rendererName.'.pdf', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/22heavilyformatted.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n\n$objPHPExcel->getActiveSheet()->getStyle('A1:T100')->applyFromArray(\n\tarray('fill' \t=> array(\n\t\t\t\t\t\t\t\t'type'\t\t=> PHPExcel_Style_Fill::FILL_SOLID,\n\t\t\t\t\t\t\t\t'color'\t\t=> array('argb' => 'FFCCFFCC')\n\t\t\t\t\t\t\t),\n\t\t  'borders' => array(\n\t\t\t\t\t\t\t\t'bottom'\t=> array('style' => PHPExcel_Style_Border::BORDER_THIN),\n\t\t\t\t\t\t\t\t'right'\t\t=> array('style' => PHPExcel_Style_Border::BORDER_MEDIUM)\n\t\t\t\t\t\t\t)\n\t\t )\n\t);\n\n$objPHPExcel->getActiveSheet()->getStyle('C5:R95')->applyFromArray(\n\tarray('fill' \t=> array(\n\t\t\t\t\t\t\t\t'type'\t\t=> PHPExcel_Style_Fill::FILL_SOLID,\n\t\t\t\t\t\t\t\t'color'\t\t=> array('argb' => 'FFFFFF00')\n\t\t\t\t\t\t\t),\n\t\t )\n\t);\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/23sharedstyles.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0);\n\n$sharedStyle1 = new PHPExcel_Style();\n$sharedStyle2 = new PHPExcel_Style();\n\n$sharedStyle1->applyFromArray(\n\tarray('fill' \t=> array(\n\t\t\t\t\t\t\t\t'type'\t\t=> PHPExcel_Style_Fill::FILL_SOLID,\n\t\t\t\t\t\t\t\t'color'\t\t=> array('argb' => 'FFCCFFCC')\n\t\t\t\t\t\t\t),\n\t\t  'borders' => array(\n\t\t\t\t\t\t\t\t'bottom'\t=> array('style' => PHPExcel_Style_Border::BORDER_THIN),\n\t\t\t\t\t\t\t\t'right'\t\t=> array('style' => PHPExcel_Style_Border::BORDER_MEDIUM)\n\t\t\t\t\t\t\t)\n\t\t ));\n\n$sharedStyle2->applyFromArray(\n\tarray('fill' \t=> array(\n\t\t\t\t\t\t\t\t'type'\t\t=> PHPExcel_Style_Fill::FILL_SOLID,\n\t\t\t\t\t\t\t\t'color'\t\t=> array('argb' => 'FFFFFF00')\n\t\t\t\t\t\t\t),\n\t\t  'borders' => array(\n\t\t\t\t\t\t\t\t'bottom'\t=> array('style' => PHPExcel_Style_Border::BORDER_THIN),\n\t\t\t\t\t\t\t\t'right'\t\t=> array('style' => PHPExcel_Style_Border::BORDER_MEDIUM)\n\t\t\t\t\t\t\t)\n\t\t ));\n\n$objPHPExcel->getActiveSheet()->setSharedStyle($sharedStyle1, \"A1:T100\");\n$objPHPExcel->getActiveSheet()->setSharedStyle($sharedStyle2, \"C5:R95\");\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/24readfilter.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\n// Check prerequisites\nif (!file_exists(\"06largescale.xlsx\")) {\n\texit(\"Please run 06largescale.php first.\\n\");\n}\n\nclass MyReadFilter implements PHPExcel_Reader_IReadFilter\n{\n\tpublic function readCell($column, $row, $worksheetName = '') {\n\t\t// Read title row and rows 20 - 30\n\t\tif ($row == 1 || ($row >= 20 && $row <= 30)) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n}\n\n\necho date('H:i:s') , \" Load from Excel2007 file\" , EOL;\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objReader->setReadFilter( new MyReadFilter() );\n$objPHPExcel = $objReader->load(\"06largescale.xlsx\");\n\necho date('H:i:s') , \" Remove unnecessary rows\" , EOL;\n$objPHPExcel->getActiveSheet()->removeRow(2, 18);\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/25inmemoryimage.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n// Generate an image\necho date('H:i:s') , \" Generate an image\" , EOL;\n$gdImage = @imagecreatetruecolor(120, 20) or die('Cannot Initialize new GD image stream');\n$textColor = imagecolorallocate($gdImage, 255, 255, 255);\nimagestring($gdImage, 1, 5, 5,  'Created with PHPExcel', $textColor);\n\n// Add a drawing to the worksheet\necho date('H:i:s') , \" Add a drawing to the worksheet\" , EOL;\n$objDrawing = new PHPExcel_Worksheet_MemoryDrawing();\n$objDrawing->setName('Sample image');\n$objDrawing->setDescription('Sample image');\n$objDrawing->setImageResource($gdImage);\n$objDrawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG);\n$objDrawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT);\n$objDrawing->setHeight(36);\n$objDrawing->setWorksheet($objPHPExcel->getActiveSheet());\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\necho date('H:i:s') , \" Write to HTML format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'HTML');\n$objWriter->save(str_replace('.php', '.html', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.html', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/26utf8.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n//\tChange these values to select the PDF Rendering library that you wish to use\n//\t\tand its directory location on your server\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_TCPDF;\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;\n$rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF;\n//$rendererLibrary = 'tcPDF5.9';\n//$rendererLibrary = 'mPDF5.4';\n$rendererLibrary = 'domPDF0.6.0beta3';\n$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary;\n\n\n// Read from Excel2007 (.xlsx) template\necho date('H:i:s') , \" Load Excel2007 template file\" , EOL;\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objPHPExcel = $objReader->load(\"templates/26template.xlsx\");\n\n/** at this point, we could do some manipulations with the template, but we skip this step */\n\n// Export to Excel2007 (.xlsx)\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Export to Excel5 (.xls)\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Export to HTML (.html)\necho date('H:i:s') , \" Write to HTML format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'HTML');\n$objWriter->save(str_replace('.php', '.htm', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.htm', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Export to PDF (.pdf)\necho date('H:i:s') , \" Write to PDF format\" , EOL;\ntry {\n\tif (!PHPExcel_Settings::setPdfRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\t\techo (\n\t\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\t\tEOL .\n\t\t\t'at the top of this script as appropriate for your directory structure' .\n\t\t\tEOL\n\t\t);\n\t} else {\n\t\t$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'PDF');\n\t\t$objWriter->save(str_replace('.php', '.pdf', __FILE__));\n\t\techo date('H:i:s') , \" File written to \" , str_replace('.php', '.pdf', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\t}\n} catch (Exception $e) {\n\techo date('H:i:s') , ' EXCEPTION: ', $e->getMessage() , EOL;\n}\n\n// Remove first two rows with field headers before exporting to CSV\necho date('H:i:s') , \" Removing first two heading rows for CSV export\" , EOL;\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->removeRow(1, 2);\n\n// Export to CSV (.csv)\necho date('H:i:s') , \" Write to CSV format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'CSV');\n$objWriter->save(str_replace('.php', '.csv', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.csv', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Export to CSV with BOM (.csv)\necho date('H:i:s') , \" Write to CSV format (with BOM)\" , EOL;\n$objWriter->setUseBOM(true);\n$objWriter->save(str_replace('.php', '-bom.csv', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '-bom.csv', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/27imagesexcel5.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Read from Excel5 (.xls) template\necho date('H:i:s') , \" Load Excel2007 template file\" , EOL;\n$objReader = PHPExcel_IOFactory::createReader('Excel5');\n$objPHPExcel = $objReader->load(\"templates/27template.xls\");\n\n// Export to Excel2007 (.xlsx)\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Export to Excel5 (.xls)\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/28iterator.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\necho date('H:i:s') , \" Load from Excel2007 file\" , EOL;\n$objReader = PHPExcel_IOFactory::createReader('Excel2007');\n$objPHPExcel = $objReader->load(\"./templates/28iterators.xlsx\");\n\necho date('H:i:s') , \" Iterate worksheets by Row\" , EOL;\nforeach ($objPHPExcel->getWorksheetIterator() as $worksheet) {\n\techo 'Worksheet - ' , $worksheet->getTitle() , EOL;\n\n\tforeach ($worksheet->getRowIterator() as $row) {\n\t\techo '    Row number - ' , $row->getRowIndex() , EOL;\n\n\t\t$cellIterator = $row->getCellIterator();\n\t\t$cellIterator->setIterateOnlyExistingCells(false); // Loop all cells, even if it is not set\n\t\tforeach ($cellIterator as $cell) {\n\t\t\tif (!is_null($cell)) {\n\t\t\t\techo '        Cell - ' , $cell->getCoordinate() , ' - ' , $cell->getCalculatedValue() , EOL;\n\t\t\t}\n\t\t}\n\t}\n}\n\n\necho date('H:i:s') , \" Iterate worksheets by Column\" , EOL;\nforeach ($objPHPExcel->getWorksheetIterator() as $worksheet) {\n\techo 'Worksheet - ' , $worksheet->getTitle() , EOL;\n\n\tforeach ($worksheet->getColumnIterator() as $column) {\n\t\techo '    Column index - ' , $column->getColumnIndex() , EOL;\n\n\t\t$cellIterator = $column->getCellIterator();\n\t\t$cellIterator->setIterateOnlyExistingCells(true); // Loop all cells, even if it is not set\n\t\tforeach ($cellIterator as $cell) {\n\t\t\tif (!is_null($cell)) {\n\t\t\t\techo '        Cell - ' , $cell->getCoordinate() , ' - ' , $cell->getCalculatedValue() , EOL;\n\t\t\t}\n\t\t}\n\t}\n}\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n"
  },
  {
    "path": "Examples/29advancedvaluebinder.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Set timezone\necho date('H:i:s') , \" Set timezone\" , EOL;\ndate_default_timezone_set('UTC');\n\n// Set value binder\necho date('H:i:s') , \" Set value binder\" , EOL;\nPHPExcel_Cell::setValueBinder( new PHPExcel_Cell_AdvancedValueBinder() );\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for Office 2007 XLSX, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n// Set default font\necho date('H:i:s') , \" Set default font\" , EOL;\n$objPHPExcel->getActiveSheet()->getDefaultStyle()->getFont()->setName('Arial');\n$objPHPExcel->getActiveSheet()->getDefaultStyle()->getFont()->setSize(10);\n\n// Set column widths\necho date('H:i:s') , \" Set column widths\" , EOL;\n$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setAutoSize(true);\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(14);\n\n// Add some data, resembling some different data types\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->getActiveSheet()->setCellValue('A1', 'String value:')\n                              ->setCellValue('B1', 'Mark Baker');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A2', 'Numeric value #1:')\n                              ->setCellValue('B2', 12345);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A3', 'Numeric value #2:')\n                              ->setCellValue('B3', -12.345);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A4', 'Numeric value #3:')\n                              ->setCellValue('B4', .12345);\n\n$objPHPExcel->getActiveSheet()->setCellValue('A5', 'Numeric value #4:')\n                              ->setCellValue('B5', '12345');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A6', 'Numeric value #5:')\n                              ->setCellValue('B6', '1.2345');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A7', 'Numeric value #6:')\n                              ->setCellValue('B7', '.12345');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8', 'Numeric value #7:')\n                              ->setCellValue('B8', '1.234e-5');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A9', 'Numeric value #8:')\n                              ->setCellValue('B9', '-1.234e+5');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A10', 'Boolean value:')\n                              ->setCellValue('B10', 'TRUE');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A11', 'Percentage value #1:')\n                              ->setCellValue('B11', '10%');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A12', 'Percentage value #2:')\n                              ->setCellValue('B12', '12.5%');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A13', 'Fraction value #1:')\n                              ->setCellValue('B13', '-1/2');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A14', 'Fraction value #2:')\n                              ->setCellValue('B14', '3 1/2');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A15', 'Fraction value #3:')\n                              ->setCellValue('B15', '-12 3/4');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A16', 'Fraction value #4:')\n                              ->setCellValue('B16', '13/4');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A17', 'Currency value #1:')\n                              ->setCellValue('B17', '$12345');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A18', 'Currency value #2:')\n                              ->setCellValue('B18', '$12345.67');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A19', 'Currency value #3:')\n                              ->setCellValue('B19', '$12,345.67');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A20', 'Date value #1:')\n                              ->setCellValue('B20', '21 December 1983');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A21', 'Date value #2:')\n                              ->setCellValue('B21', '19-Dec-1960');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A22', 'Date value #3:')\n                              ->setCellValue('B22', '07/12/1982');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A23', 'Date value #4:')\n                              ->setCellValue('B23', '24-11-1950');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A24', 'Date value #5:')\n                              ->setCellValue('B24', '17-Mar');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A25', 'Time value #1:')\n                              ->setCellValue('B25', '01:30');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A26', 'Time value #2:')\n                              ->setCellValue('B26', '01:30:15');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A27', 'Date/Time value:')\n                              ->setCellValue('B27', '19-Dec-1960 01:30');\n\n$objPHPExcel->getActiveSheet()->setCellValue('A28', 'Formula:')\n                              ->setCellValue('B28', '=SUM(B2:B9)');\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Advanced value binder');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n// Save Excel5 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/30template.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\nini_set('display_errors', TRUE);\r\nini_set('display_startup_errors', TRUE);\r\n\r\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\n\r\n\r\necho date('H:i:s') , \" Load from Excel5 template\" , EOL;\r\n$objReader = PHPExcel_IOFactory::createReader('Excel5');\r\n$objPHPExcel = $objReader->load(\"templates/30template.xls\");\r\n\r\n\r\n\r\n\r\necho date('H:i:s') , \" Add new data to the template\" , EOL;\r\n$data = array(array('title'\t\t=> 'Excel for dummies',\r\n\t\t\t\t\t'price'\t\t=> 17.99,\r\n\t\t\t\t\t'quantity'\t=> 2\r\n\t\t\t\t   ),\r\n\t\t\t  array('title'\t\t=> 'PHP for dummies',\r\n\t\t\t\t\t'price'\t\t=> 15.99,\r\n\t\t\t\t\t'quantity'\t=> 1\r\n\t\t\t\t   ),\r\n\t\t\t  array('title'\t\t=> 'Inside OOP',\r\n\t\t\t\t\t'price'\t\t=> 12.95,\r\n\t\t\t\t\t'quantity'\t=> 1\r\n\t\t\t\t   )\r\n\t\t\t );\r\n\r\n$objPHPExcel->getActiveSheet()->setCellValue('D1', PHPExcel_Shared_Date::PHPToExcel(time()));\r\n\r\n$baseRow = 5;\r\nforeach($data as $r => $dataRow) {\r\n\t$row = $baseRow + $r;\r\n\t$objPHPExcel->getActiveSheet()->insertNewRowBefore($row,1);\r\n\r\n\t$objPHPExcel->getActiveSheet()->setCellValue('A'.$row, $r+1)\r\n\t                              ->setCellValue('B'.$row, $dataRow['title'])\r\n\t                              ->setCellValue('C'.$row, $dataRow['price'])\r\n\t                              ->setCellValue('D'.$row, $dataRow['quantity'])\r\n\t                              ->setCellValue('E'.$row, '=C'.$row.'*D'.$row);\r\n}\r\n$objPHPExcel->getActiveSheet()->removeRow($baseRow-1,1);\r\n\r\n\r\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\r\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing file\" , EOL;\r\necho 'File has been created in ' , getcwd() , EOL;\r\n"
  },
  {
    "path": "Examples/31docproperties_write-xls.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\nini_set('display_errors', TRUE);\r\nini_set('display_startup_errors', TRUE);\r\n\r\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** Include PHPExcel */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\r\n\r\n\r\n$inputFileType = 'Excel5';\r\n$inputFileName = 'templates/31docproperties.xls';\r\n\r\n\r\necho date('H:i:s') , \" Load Tests from $inputFileType file\" , EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n$objPHPExcel = $objPHPExcelReader->load($inputFileName);\r\n\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n\r\necho date('H:i:s') , \" Adjust properties\" , EOL;\r\n$objPHPExcel->getProperties()->setTitle(\"Office 95 XLS Test Document\")\r\n\t\t\t\t\t\t\t ->setSubject(\"Office 95 XLS Test Document\")\r\n\t\t\t\t\t\t\t ->setDescription(\"Test XLS document, generated using PHPExcel\")\r\n\t\t\t\t\t\t\t ->setKeywords(\"office 95 biff php\");\r\n\r\n\r\n// Save Excel 95 file\r\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\r\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" . (memory_get_peak_usage(true) / 1024 / 1024) . \" MB\" , EOL;\r\n\r\n\r\necho EOL;\r\n// Reread File\r\necho date('H:i:s') , \" Reread Excel5 file\" , EOL;\r\n$objPHPExcelRead = PHPExcel_IOFactory::load(str_replace('.php', '.xls', __FILE__));\r\n\r\n// Set properties\r\necho date('H:i:s') , \" Get properties\" , EOL;\r\n\r\necho 'Core Properties:' , EOL;\r\necho '    Created by - ' , $objPHPExcel->getProperties()->getCreator() , EOL;\r\necho '    Created on - ' , date('d-M-Y',$objPHPExcel->getProperties()->getCreated()) , ' at ' ,\r\n                       date('H:i:s',$objPHPExcel->getProperties()->getCreated()) , EOL;\r\necho '    Last Modified by - ' , $objPHPExcel->getProperties()->getLastModifiedBy() , EOL;\r\necho '    Last Modified on - ' , date('d-M-Y',$objPHPExcel->getProperties()->getModified()) , ' at ' ,\r\n                             date('H:i:s',$objPHPExcel->getProperties()->getModified()) , EOL;\r\necho '    Title - ' , $objPHPExcel->getProperties()->getTitle() , EOL;\r\necho '    Subject - ' , $objPHPExcel->getProperties()->getSubject() , EOL;\r\necho '    Description - ' , $objPHPExcel->getProperties()->getDescription() , EOL;\r\necho '    Keywords: - ' , $objPHPExcel->getProperties()->getKeywords() , EOL;\r\n\r\n\r\necho 'Extended (Application) Properties:' , EOL;\r\necho '    Category - ' , $objPHPExcel->getProperties()->getCategory() , EOL;\r\necho '    Company - ' , $objPHPExcel->getProperties()->getCompany() , EOL;\r\necho '    Manager - ' , $objPHPExcel->getProperties()->getManager() , EOL;\r\n\r\n\r\necho 'Custom Properties:' , EOL;\r\n$customProperties = $objPHPExcel->getProperties()->getCustomProperties();\r\nforeach($customProperties as $customProperty) {\r\n\t$propertyValue = $objPHPExcel->getProperties()->getCustomPropertyValue($customProperty);\r\n\t$propertyType = $objPHPExcel->getProperties()->getCustomPropertyType($customProperty);\r\n\techo '    ' , $customProperty , ' - (' , $propertyType , ') - ';\r\n\tif ($propertyType == PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE) {\r\n\t\techo date('d-M-Y H:i:s',$propertyValue) , EOL;\r\n\t} elseif ($propertyType == PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN) {\r\n\t\techo (($propertyValue) ? 'TRUE' : 'FALSE') , EOL;\r\n\t} else {\r\n\t\techo $propertyValue , EOL;\r\n\t}\r\n}\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) . \" MB\" , EOL;\r\n"
  },
  {
    "path": "Examples/31docproperties_write.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\nini_set('display_errors', TRUE);\r\nini_set('display_startup_errors', TRUE);\r\n\r\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** Include PHPExcel */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\r\n\r\n\r\n$inputFileType = 'Excel2007';\r\n$inputFileName = 'templates/31docproperties.xlsx';\r\n\r\n\r\necho date('H:i:s') , \" Load Tests from $inputFileType file\" , EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n$objPHPExcel = $objPHPExcelReader->load($inputFileName);\r\n\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n\r\necho date('H:i:s') , \" Adjust properties\" , EOL;\r\n$objPHPExcel->getProperties()->setTitle(\"Office 2007 XLSX Test Document\")\r\n\t\t\t\t\t\t\t ->setSubject(\"Office 2007 XLSX Test Document\")\r\n\t\t\t\t\t\t\t ->setDescription(\"Test XLSX document, generated using PHPExcel\")\r\n\t\t\t\t\t\t\t ->setKeywords(\"office 2007 openxml php\");\r\n\r\n\r\n// Save Excel 2007 file\r\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" . (memory_get_peak_usage(true) / 1024 / 1024) . \" MB\" , EOL;\r\n\r\n\r\necho EOL;\r\n// Reread File\r\necho date('H:i:s') , \" Reread Excel2007 file\" , EOL;\r\n$objPHPExcelRead = PHPExcel_IOFactory::load(str_replace('.php', '.xlsx', __FILE__));\r\n\r\n// Set properties\r\necho date('H:i:s') , \" Get properties\" , EOL;\r\n\r\necho 'Core Properties:' , EOL;\r\necho '    Created by - ' , $objPHPExcel->getProperties()->getCreator() , EOL;\r\necho '    Created on - ' , date('d-M-Y',$objPHPExcel->getProperties()->getCreated()) , ' at ' ,\r\n                       date('H:i:s',$objPHPExcel->getProperties()->getCreated()) , EOL;\r\necho '    Last Modified by - ' , $objPHPExcel->getProperties()->getLastModifiedBy() , EOL;\r\necho '    Last Modified on - ' , date('d-M-Y',$objPHPExcel->getProperties()->getModified()) , ' at ' ,\r\n                             date('H:i:s',$objPHPExcel->getProperties()->getModified()) , EOL;\r\necho '    Title - ' , $objPHPExcel->getProperties()->getTitle() , EOL;\r\necho '    Subject - ' , $objPHPExcel->getProperties()->getSubject() , EOL;\r\necho '    Description - ' , $objPHPExcel->getProperties()->getDescription() , EOL;\r\necho '    Keywords: - ' , $objPHPExcel->getProperties()->getKeywords() , EOL;\r\n\r\n\r\necho 'Extended (Application) Properties:' , EOL;\r\necho '    Category - ' , $objPHPExcel->getProperties()->getCategory() , EOL;\r\necho '    Company - ' , $objPHPExcel->getProperties()->getCompany() , EOL;\r\necho '    Manager - ' , $objPHPExcel->getProperties()->getManager() , EOL;\r\n\r\n\r\necho 'Custom Properties:' , EOL;\r\n$customProperties = $objPHPExcel->getProperties()->getCustomProperties();\r\nforeach($customProperties as $customProperty) {\r\n\t$propertyValue = $objPHPExcel->getProperties()->getCustomPropertyValue($customProperty);\r\n\t$propertyType = $objPHPExcel->getProperties()->getCustomPropertyType($customProperty);\r\n\techo '    ' , $customProperty , ' - (' , $propertyType , ') - ';\r\n\tif ($propertyType == PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE) {\r\n\t\techo date('d-M-Y H:i:s',$propertyValue) , EOL;\r\n\t} elseif ($propertyType == PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN) {\r\n\t\techo (($propertyValue) ? 'TRUE' : 'FALSE') , EOL;\r\n\t} else {\r\n\t\techo $propertyValue , EOL;\r\n\t}\r\n}\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) . \" MB\" , EOL;\r\n"
  },
  {
    "path": "Examples/32chartreadwrite.php",
    "content": "<?php\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\nini_set('display_errors', TRUE);\r\nini_set('display_startup_errors', TRUE);\r\ndate_default_timezone_set('Europe/London');\r\n\r\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Include path **/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');\r\n\r\n/** PHPExcel_IOFactory */\r\ninclude 'PHPExcel/IOFactory.php';\r\n\r\n$inputFileType = 'Excel2007';\r\n$inputFileNames = 'templates/32readwrite*[0-9].xlsx';\r\n\r\nif ((isset($argc)) && ($argc > 1)) {\r\n\t$inputFileNames = array();\r\n\tfor($i = 1; $i < $argc; ++$i) {\r\n\t\t$inputFileNames[] = dirname(__FILE__) . '/templates/' . $argv[$i];\r\n\t}\r\n} else {\r\n\t$inputFileNames = glob($inputFileNames);\r\n}\r\nforeach($inputFileNames as $inputFileName) {\r\n\t$inputFileNameShort = basename($inputFileName);\r\n\r\n\tif (!file_exists($inputFileName)) {\r\n\t\techo date('H:i:s') , \" File \" , $inputFileNameShort , ' does not exist' , EOL;\r\n\t\tcontinue;\r\n\t}\r\n\r\n\techo date('H:i:s') , \" Load Test from $inputFileType file \" , $inputFileNameShort , EOL;\r\n\r\n\t$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n\t$objReader->setIncludeCharts(TRUE);\r\n\t$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\n\techo date('H:i:s') , \" Iterate worksheets looking at the charts\" , EOL;\r\n\tforeach ($objPHPExcel->getWorksheetIterator() as $worksheet) {\r\n\t\t$sheetName = $worksheet->getTitle();\r\n\t\techo 'Worksheet: ' , $sheetName , EOL;\r\n\r\n\t\t$chartNames = $worksheet->getChartNames();\r\n\t\tif(empty($chartNames)) {\r\n\t\t\techo '    There are no charts in this worksheet' , EOL;\r\n\t\t} else {\r\n\t\t\tnatsort($chartNames);\r\n\t\t\tforeach($chartNames as $i => $chartName) {\r\n\t\t\t\t$chart = $worksheet->getChartByName($chartName);\r\n\t\t\t\tif (!is_null($chart->getTitle())) {\r\n\t\t\t\t\t$caption = '\"' . implode(' ',$chart->getTitle()->getCaption()) . '\"';\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$caption = 'Untitled';\r\n\t\t\t\t}\r\n\t\t\t\techo '    ' , $chartName , ' - ' , $caption , EOL;\r\n\t\t\t\techo str_repeat(' ',strlen($chartName)+3);\r\n\t\t\t\t$groupCount = $chart->getPlotArea()->getPlotGroupCount();\r\n\t\t\t\tif ($groupCount == 1) {\r\n\t\t\t\t\t$chartType = $chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotType();\r\n\t\t\t\t\techo '    ' , $chartType , EOL;\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$chartTypes = array();\r\n\t\t\t\t\tfor($i = 0; $i < $groupCount; ++$i) {\r\n\t\t\t\t\t\t$chartTypes[] = $chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$chartTypes = array_unique($chartTypes);\r\n\t\t\t\t\tif (count($chartTypes) == 1) {\r\n\t\t\t\t\t\t$chartType = 'Multiple Plot ' . array_pop($chartTypes);\r\n\t\t\t\t\t\techo '    ' , $chartType , EOL;\r\n\t\t\t\t\t} elseif (count($chartTypes) == 0) {\r\n\t\t\t\t\t\techo '    *** Type not yet implemented' , EOL;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\techo '    Combination Chart' , EOL;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t$outputFileName = basename($inputFileName);\r\n\r\n\techo date('H:i:s') , \" Write Tests to Excel2007 file \" , EOL;\r\n\t$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n\t$objWriter->setIncludeCharts(TRUE);\r\n\t$objWriter->save($outputFileName);\r\n\techo date('H:i:s') , \" File written to \" , $outputFileName , EOL;\r\n\r\n\t$objPHPExcel->disconnectWorksheets();\r\n\tunset($objPHPExcel);\r\n}\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , ' Peak memory usage: ' , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing files\" , EOL;\r\necho 'Files have been created in ' , getcwd() , EOL;\r\n"
  },
  {
    "path": "Examples/33chartcreate-area.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_AREACHART,\t\t\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_PERCENT_STACKED,\t// plotGrouping\n\trange(0, count($dataSeriesValues)-1),\t\t\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t\t\t\t// plotValues\n);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_TOPRIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test %age-Stacked Area Chart');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-bar-stacked.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_BARCHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_STACKED,\t// plotGrouping\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t\t// plotValues\n);\n//\tSet additional dataseries parameters\n//\t\tMake it a horizontal bar rather than a vertical column graph\n$series->setPlotDirection(PHPExcel_Chart_DataSeries::DIRECTION_BAR);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Chart');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-bar.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_BARCHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_CLUSTERED,\t// plotGrouping\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t\t// plotValues\n);\n//\tSet additional dataseries parameters\n//\t\tMake it a horizontal bar rather than a vertical column graph\n$series->setPlotDirection(PHPExcel_Chart_DataSeries::DIRECTION_BAR);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Bar Chart');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-column-2.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t\t'',\t\t'Budget',\t'Forecast',\t'Actual'),\n\t\tarray('2010',\t'Q1',   47,   \t\t44,\t\t\t43\t\t),\n\t\tarray('',\t\t'Q2',   56,   \t\t53,\t\t\t50\t\t),\n\t\tarray('',\t\t'Q3',   52,   \t\t46,\t\t\t45\t\t),\n\t\tarray('',\t\t'Q4',   45,   \t\t40,\t\t\t40\t\t),\n\t\tarray('2011',\t'Q1',   51,   \t\t42,\t\t\t46\t\t),\n\t\tarray('',\t\t'Q2',   53,   \t\t58,\t\t\t56\t\t),\n\t\tarray('',\t\t'Q3',   64,   \t\t66,\t\t\t69\t\t),\n\t\tarray('',\t\t'Q4',   54,   \t\t55,\t\t\t56\t\t),\n\t\tarray('2012',\t'Q1',   49,   \t\t52,\t\t\t58\t\t),\n\t\tarray('',\t\t'Q2',   68,   \t\t73,\t\t\t86\t\t),\n\t\tarray('',\t\t'Q3',   72,   \t\t78,\t\t\t0\t\t),\n\t\tarray('',\t\t'Q4',   50,   \t\t60,\t\t\t0\t\t),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t'Budget'\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t'Forecast'\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$E$1', NULL, 1),\t//\t'Actual'\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$B$13', NULL, 12),\t//\tQ1 to Q4 for 2010 to 2012\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$13', NULL, 12),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$13', NULL, 12),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$E$2:$E$13', NULL, 12),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_BARCHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_CLUSTERED,\t// plotGrouping\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t\t// plotValues\n);\n//\tSet additional dataseries parameters\n//\t\tMake it a vertical column rather than a horizontal bar graph\n$series->setPlotDirection(PHPExcel_Chart_DataSeries::DIRECTION_COL);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_BOTTOM, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Grouped Column Chart');\n$xAxisLabel = new PHPExcel_Chart_Title('Financial Period');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\t$xAxisLabel,\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('G2');\n$chart->setBottomRightPosition('P20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-column.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_BARCHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_STANDARD,\t// plotGrouping\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t\t// plotValues\n);\n//\tSet additional dataseries parameters\n//\t\tMake it a vertical column rather than a horizontal bar graph\n$series->setPlotDirection(PHPExcel_Chart_DataSeries::DIRECTION_COL);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Column Chart');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-composite.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t\t'Rainfall (mm)',\t'Temperature (°F)',\t'Humidity (%)'),\n\t\tarray('Jan',\t\t78,   \t\t\t\t52,\t\t\t\t\t61),\n\t\tarray('Feb',\t\t64,   \t\t\t\t54,\t\t\t\t\t62),\n\t\tarray('Mar',\t\t62,   \t\t\t\t57,\t\t\t\t\t63),\n\t\tarray('Apr',\t\t21,   \t\t\t\t62,\t\t\t\t\t59),\n\t\tarray('May',\t\t11,   \t\t\t\t75,\t\t\t\t\t60),\n\t\tarray('Jun',\t\t1,   \t\t\t\t75,\t\t\t\t\t57),\n\t\tarray('Jul',\t\t1,   \t\t\t\t79,\t\t\t\t\t56),\n\t\tarray('Aug',\t\t1,   \t\t\t\t79,\t\t\t\t\t59),\n\t\tarray('Sep',\t\t10,   \t\t\t\t75,\t\t\t\t\t60),\n\t\tarray('Oct',\t\t40,   \t\t\t\t68,\t\t\t\t\t63),\n\t\tarray('Nov',\t\t69,   \t\t\t\t62,\t\t\t\t\t64),\n\t\tarray('Dec',\t\t89,   \t\t\t\t57,\t\t\t\t\t66),\n\t)\n);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\tTemperature\n);\n$dataSeriesLabels2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\tRainfall\n);\n$dataSeriesLabels3 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\tHumidity\n);\n\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$13', NULL, 12),\t//\tJan to Dec\n);\n\n\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$13', NULL, 12),\n);\n\n//\tBuild the dataseries\n$series1 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_BARCHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_CLUSTERED,\t// plotGrouping\n\trange(0, count($dataSeriesValues1)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels1,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues1\t\t\t\t\t\t\t\t// plotValues\n);\n//\tSet additional dataseries parameters\n//\t\tMake it a vertical column rather than a horizontal bar graph\n$series1->setPlotDirection(PHPExcel_Chart_DataSeries::DIRECTION_COL);\n\n\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$13', NULL, 12),\n);\n\n//\tBuild the dataseries\n$series2 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_LINECHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_STANDARD,\t// plotGrouping\n\trange(0, count($dataSeriesValues2)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels2,\t\t\t\t\t\t\t\t// plotLabel\n\tNULL,\t\t\t\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues2\t\t\t\t\t\t\t\t// plotValues\n);\n\n\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues3 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$13', NULL, 12),\n);\n\n//\tBuild the dataseries\n$series3 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_AREACHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_STANDARD,\t// plotGrouping\n\trange(0, count($dataSeriesValues2)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels3,\t\t\t\t\t\t\t\t// plotLabel\n\tNULL,\t\t\t\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues3\t\t\t\t\t\t\t\t// plotValues\n);\n\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series1, $series2, $series3));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Average Weather Chart for Crete');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\tNULL\t\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('F2');\n$chart->setBottomRightPosition('O16');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-line.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_LINECHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_STACKED,\t// plotGrouping\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t\t// plotValues\n);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_TOPRIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Stacked Line Chart');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-multiple-charts.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series1 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_AREACHART,\t\t\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_PERCENT_STACKED,\t// plotGrouping\n\trange(0, count($dataSeriesValues1)-1),\t\t\t\t\t// plotOrder\n\t$dataSeriesLabels1,\t\t\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues1,\t\t\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues1\t\t\t\t\t\t\t\t\t\t// plotValues\n);\n\n//\tSet the series in the plot area\n$plotArea1 = new PHPExcel_Chart_PlotArea(NULL, array($series1));\n//\tSet the chart legend\n$legend1 = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_TOPRIGHT, NULL, false);\n\n$title1 = new PHPExcel_Chart_Title('Test %age-Stacked Area Chart');\n$yAxisLabel1 = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart1 = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title1,\t\t// title\n\t$legend1,\t\t// legend\n\t$plotArea1,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel1\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart1->setTopLeftPosition('A7');\n$chart1->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart1);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series2 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_BARCHART,\t\t// plotType\n\tPHPExcel_Chart_DataSeries::GROUPING_STANDARD,\t// plotGrouping\n\trange(0, count($dataSeriesValues2)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels2,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues2,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues2\t\t\t\t\t\t\t\t// plotValues\n);\n//\tSet additional dataseries parameters\n//\t\tMake it a vertical column rather than a horizontal bar graph\n$series2->setPlotDirection(PHPExcel_Chart_DataSeries::DIRECTION_COL);\n\n//\tSet the series in the plot area\n$plotArea2 = new PHPExcel_Chart_PlotArea(NULL, array($series2));\n//\tSet the chart legend\n$legend2 = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title2 = new PHPExcel_Chart_Title('Test Column Chart');\n$yAxisLabel2 = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart2 = new PHPExcel_Chart(\n\t'chart2',\t\t// name\n\t$title2,\t\t// title\n\t$legend2,\t\t// legend\n\t$plotArea2,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel2\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart2->setTopLeftPosition('I7');\n$chart2->setBottomRightPosition('P20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart2);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-pie.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues1 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series1 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_PIECHART,\t\t\t\t// plotType\n\tNULL,\t\t\t                                        // plotGrouping (Pie charts don't have any grouping)\n\trange(0, count($dataSeriesValues1)-1),\t\t\t\t\t// plotOrder\n\t$dataSeriesLabels1,\t\t\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues1,\t\t\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues1\t\t\t\t\t\t\t\t\t\t// plotValues\n);\n\n//\tSet up a layout object for the Pie chart\n$layout1 = new PHPExcel_Chart_Layout();\n$layout1->setShowVal(TRUE);\n$layout1->setShowPercent(TRUE);\n\n//\tSet the series in the plot area\n$plotArea1 = new PHPExcel_Chart_PlotArea($layout1, array($series1));\n//\tSet the chart legend\n$legend1 = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title1 = new PHPExcel_Chart_Title('Test Pie Chart');\n\n\n//\tCreate the chart\n$chart1 = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title1,\t\t// title\n\t$legend1,\t\t// legend\n\t$plotArea1,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\tNULL\t\t\t// yAxisLabel\t\t- Pie charts don't have a Y-Axis\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart1->setTopLeftPosition('A7');\n$chart1->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart1);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues2 = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series2 = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_DONUTCHART,\t\t// plotType\n\tNULL,\t\t\t                                // plotGrouping (Donut charts don't have any grouping)\n\trange(0, count($dataSeriesValues2)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels2,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues2,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues2\t\t\t\t\t\t\t\t// plotValues\n);\n\n//\tSet up a layout object for the Pie chart\n$layout2 = new PHPExcel_Chart_Layout();\n$layout2->setShowVal(TRUE);\n$layout2->setShowCatName(TRUE);\n\n//\tSet the series in the plot area\n$plotArea2 = new PHPExcel_Chart_PlotArea($layout2, array($series2));\n\n$title2 = new PHPExcel_Chart_Title('Test Donut Chart');\n\n\n//\tCreate the chart\n$chart2 = new PHPExcel_Chart(\n\t'chart2',\t\t// name\n\t$title2,\t\t// title\n\tNULL,\t\t\t// legend\n\t$plotArea2,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\tNULL\t\t\t// yAxisLabel\t\t- Like Pie charts, Donut charts don't have a Y-Axis\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart2->setTopLeftPosition('I7');\n$chart2->setBottomRightPosition('P20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart2);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-radar.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Jan',   47,   45,\t\t71),\n\t\tarray('Feb',   56,   73,\t\t86),\n\t\tarray('Mar',   52,   61,\t\t69),\n\t\tarray('Apr',   40,   52,\t\t60),\n\t\tarray('May',   42,   55,\t\t71),\n\t\tarray('Jun',   58,   63,\t\t76),\n\t\tarray('Jul',   53,   61,\t\t89),\n\t\tarray('Aug',   46,   69,\t\t85),\n\t\tarray('Sep',   62,   75,\t\t81),\n\t\tarray('Oct',   51,   70,\t\t96),\n\t\tarray('Nov',   55,   66,\t\t89),\n\t\tarray('Dec',   68,   62,\t\t0),\n\t)\n);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$13', NULL, 12),\t//\tJan to Dec\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$13', NULL, 12),\t//\tJan to Dec\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$13', NULL, 12),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$13', NULL, 12),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_RADARCHART,\t\t// plotType\n\tNULL,\t\t\t\t\t\t\t\t\t\t\t// plotGrouping (Radar charts don't have any grouping)\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues,\t\t\t\t\t\t\t\t// plotValues\n    NULL,                                           // plotDirection\n\tNULL,\t\t\t\t\t\t\t\t\t\t\t// smooth line\n\tPHPExcel_Chart_DataSeries::STYLE_MARKER\t\t\t// plotStyle\n);\n\n//\tSet up a layout object for the Pie chart\n$layout = new PHPExcel_Chart_Layout();\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea($layout, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Radar Chart');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\tNULL\t\t\t// yAxisLabel\t\t- Radar charts don't have a Y-Axis\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('F2');\n$chart->setBottomRightPosition('M15');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-scatter.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('',\t2010,\t2011,\t2012),\n\t\tarray('Q1',   12,   15,\t\t21),\n\t\tarray('Q2',   56,   73,\t\t86),\n\t\tarray('Q3',   52,   61,\t\t69),\n\t\tarray('Q4',   30,   32,\t\t0),\n\t)\n);\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1),\t//\t2010\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),\t//\t2011\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1),\t//\t2012\n);\n//\tSet the X-Axis Labels\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),\t//\tQ1 to Q4\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$5', NULL, 4),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_SCATTERCHART,\t// plotType\n\tNULL,\t\t\t\t\t\t\t\t\t\t\t// plotGrouping (Scatter charts don't have any grouping)\n\trange(0, count($dataSeriesValues)-1),\t\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues,\t\t\t\t\t\t\t\t// plotValues\n    NULL,                                           // plotDirection\n\tNULL,\t\t\t\t\t\t\t\t\t\t\t// smooth line\n\tPHPExcel_Chart_DataSeries::STYLE_LINEMARKER\t\t// plotStyle\n);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_TOPRIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Scatter Chart');\n$yAxisLabel = new PHPExcel_Chart_Title('Value ($k)');\n\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'chart1',\t\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\tNULL,\t\t\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/33chartcreate-stock.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n$objPHPExcel = new PHPExcel();\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray('Counts', \t\t'Max', \t\t'Min', \t\t'Min Threshold', \t'Max Threshold'\t),\n\t\tarray(10,\t\t \t\t10, \t\t5, \t\t\t0, \t\t\t\t\t50\t\t\t\t),\n\t\tarray(30,\t\t \t\t20, \t\t10, \t\t0,\t \t\t\t\t50\t\t\t\t),\n\t\tarray(20,\t\t \t\t30, \t\t15, \t\t0,\t \t\t\t\t50\t\t\t\t),\n\t\tarray(40,\t\t \t\t10, \t\t0, \t\t\t0, \t\t\t\t\t50\t\t\t\t),\n\t\tarray(100,\t\t \t\t40, \t\t5, \t\t\t0, \t\t\t\t\t50\t\t\t\t),\n\t), null, 'A1', true\n);\n$objWorksheet->getStyle('B2:E6')->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_NUMBER_00);\n\n\n//\tSet the Labels for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesLabels = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$B$1', NULL, 1), //Max / Open\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1), //Min / Close\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$D$1', NULL, 1), //Min Threshold / Min\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$E$1', NULL, 1), //Max Threshold / Max\n);\n//\tSet the X-Axis Labels\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$xAxisTickValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$6', NULL, 5),\t//\tCounts\n);\n//\tSet the Data values for each data series we want to plot\n//\t\tDatatype\n//\t\tCell reference for data\n//\t\tFormat Code\n//\t\tNumber of datapoints in series\n//\t\tData values\n//\t\tData Marker\n$dataSeriesValues = array(\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$6', NULL, 5),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$6', NULL, 5),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$6', NULL, 5),\n\tnew PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$E$2:$E$6', NULL, 5),\n);\n\n//\tBuild the dataseries\n$series = new PHPExcel_Chart_DataSeries(\n\tPHPExcel_Chart_DataSeries::TYPE_STOCKCHART,\t// plotType\n\tnull,\t\t\t\t\t\t\t\t\t\t// plotGrouping - if we set this to not null, then xlsx throws error\n\trange(0, count($dataSeriesValues)-1),\t\t// plotOrder\n\t$dataSeriesLabels,\t\t\t\t\t\t\t// plotLabel\n\t$xAxisTickValues,\t\t\t\t\t\t\t// plotCategory\n\t$dataSeriesValues\t\t\t\t\t\t\t// plotValues\n);\n\n//\tSet the series in the plot area\n$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series));\n//\tSet the chart legend\n$legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false);\n\n$title = new PHPExcel_Chart_Title('Test Stock Chart');\n$xAxisLabel = new PHPExcel_Chart_Title('Counts');\n$yAxisLabel = new PHPExcel_Chart_Title('Values');\n\n//\tCreate the chart\n$chart = new PHPExcel_Chart(\n\t'stock-chart',\t// name\n\t$title,\t\t\t// title\n\t$legend,\t\t// legend\n\t$plotArea,\t\t// plotArea\n\ttrue,\t\t\t// plotVisibleOnly\n\t0,\t\t\t\t// displayBlanksAs\n\t$xAxisLabel,\t// xAxisLabel\n\t$yAxisLabel\t\t// yAxisLabel\n);\n\n//\tSet the position where the chart should appear in the worksheet\n$chart->setTopLeftPosition('A7');\n$chart->setBottomRightPosition('H20');\n\n//\tAdd the chart to the worksheet\n$objWorksheet->addChart($chart);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$filename = str_replace('.php', '.xlsx', __FILE__);\nif(file_exists($filename)) {\n\tunlink($filename);\n}\n$objWriter->save($filename);\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/34chartupdate.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\nif (!file_exists(\"33chartcreate-bar.xlsx\")) {\n\texit(\"Please run 33chartcreate-bar.php first.\" . EOL);\n}\n\necho date('H:i:s') , \" Load from Excel2007 file\" , EOL;\n$objReader = PHPExcel_IOFactory::createReader(\"Excel2007\");\n$objReader->setIncludeCharts(TRUE);\n$objPHPExcel = $objReader->load(\"33chartcreate-bar.xlsx\");\n\n\necho date('H:i:s') , \" Update cell data values that are displayed in the chart\" , EOL;\n$objWorksheet = $objPHPExcel->getActiveSheet();\n$objWorksheet->fromArray(\n\tarray(\n\t\tarray(50-12,   50-15,\t\t50-21),\n\t\tarray(50-56,   50-73,\t\t50-86),\n\t\tarray(50-52,   50-61,\t\t50-69),\n\t\tarray(50-30,   50-32,\t\t50),\n\t),\n\tNULL,\n\t'B2'\n);\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->setIncludeCharts(TRUE);\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/35chartrender.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n//\tChange these values to select the Rendering library that you wish to use\n//\t\tand its directory location on your server\n$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;\n$rendererLibrary = 'jpgraph3.5.0b1/src/';\n$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;\n\n\nif (!PHPExcel_Settings::setChartRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\tdie(\n\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\tEOL .\n\t\t'at the top of this script as appropriate for your directory structure'\n\t);\n}\n\n\n$inputFileType = 'Excel2007';\n$inputFileNames = 'templates/32readwrite*[0-9].xlsx';\n\n\tif ((isset($argc)) && ($argc > 1)) {\n\t$inputFileNames = array();\n\tfor($i = 1; $i < $argc; ++$i) {\n\t\t$inputFileNames[] = dirname(__FILE__) . '/templates/' . $argv[$i];\n\t}\n} else {\n\t$inputFileNames = glob($inputFileNames);\n}\nforeach($inputFileNames as $inputFileName) {\n\t$inputFileNameShort = basename($inputFileName);\n\n\tif (!file_exists($inputFileName)) {\n\t\techo date('H:i:s') , \" File \" , $inputFileNameShort , ' does not exist' , EOL;\n\t\tcontinue;\n\t}\n\n\techo date('H:i:s') , \" Load Test from $inputFileType file \" , $inputFileNameShort , EOL;\n\n\t$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n\t$objReader->setIncludeCharts(TRUE);\n\t$objPHPExcel = $objReader->load($inputFileName);\n\n\n\techo date('H:i:s') , \" Iterate worksheets looking at the charts\" , EOL;\n\tforeach ($objPHPExcel->getWorksheetIterator() as $worksheet) {\n\t\t$sheetName = $worksheet->getTitle();\n\t\techo 'Worksheet: ' , $sheetName , EOL;\n\n\t\t$chartNames = $worksheet->getChartNames();\n\t\tif(empty($chartNames)) {\n\t\t\techo '    There are no charts in this worksheet' , EOL;\n\t\t} else {\n\t\t\tnatsort($chartNames);\n\t\t\tforeach($chartNames as $i => $chartName) {\n\t\t\t\t$chart = $worksheet->getChartByName($chartName);\n\t\t\t\tif (!is_null($chart->getTitle())) {\n\t\t\t\t\t$caption = '\"' . implode(' ',$chart->getTitle()->getCaption()) . '\"';\n\t\t\t\t} else {\n\t\t\t\t\t$caption = 'Untitled';\n\t\t\t\t}\n\t\t\t\techo '    ' , $chartName , ' - ' , $caption , EOL;\n\t\t\t\techo str_repeat(' ',strlen($chartName)+3);\n\n\t\t\t\t$jpegFile = '35'.str_replace('.xlsx', '.jpg', substr($inputFileNameShort,2));\n\t\t\t\tif (file_exists($jpegFile)) {\n\t\t\t\t\tunlink($jpegFile);\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\t$chart->render($jpegFile);\n\t\t\t\t} catch (Exception $e) {\n\t\t\t\t\techo 'Error rendering chart: ',$e->getMessage();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\n\t$objPHPExcel->disconnectWorksheets();\n\tunset($objPHPExcel);\n}\n\n// Echo memory peak usage\necho date('H:i:s') , ' Peak memory usage: ' , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done rendering charts as images\" , EOL;\necho 'Image files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/36chartreadwriteHTML.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n//\tChange these values to select the Rendering library that you wish to use\n//\t\tand its directory location on your server\n$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;\n$rendererLibrary = 'jpgraph3.5.0b1/src/';\n$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;\n\n\nif (!PHPExcel_Settings::setChartRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\tdie(\n\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\tEOL .\n\t\t'at the top of this script as appropriate for your directory structure'\n\t);\n}\n\n\n$inputFileType = 'Excel2007';\n$inputFileNames = 'templates/36write*.xlsx';\n\nif ((isset($argc)) && ($argc > 1)) {\n\t$inputFileNames = array();\n\tfor($i = 1; $i < $argc; ++$i) {\n\t\t$inputFileNames[] = dirname(__FILE__) . '/templates/' . $argv[$i];\n\t}\n} else {\n\t$inputFileNames = glob($inputFileNames);\n}\nforeach($inputFileNames as $inputFileName) {\n\t$inputFileNameShort = basename($inputFileName);\n\n\tif (!file_exists($inputFileName)) {\n\t\techo date('H:i:s') , \" File \" , $inputFileNameShort , ' does not exist' , EOL;\n\t\tcontinue;\n\t}\n\n\techo date('H:i:s') , \" Load Test from $inputFileType file \" , $inputFileNameShort , EOL;\n\n\t$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n\t$objReader->setIncludeCharts(TRUE);\n\t$objPHPExcel = $objReader->load($inputFileName);\n\n\n\techo date('H:i:s') , \" Iterate worksheets looking at the charts\" , EOL;\n\tforeach ($objPHPExcel->getWorksheetIterator() as $worksheet) {\n\t\t$sheetName = $worksheet->getTitle();\n\t\techo 'Worksheet: ' , $sheetName , EOL;\n\n\t\t$chartNames = $worksheet->getChartNames();\n\t\tif(empty($chartNames)) {\n\t\t\techo '    There are no charts in this worksheet' , EOL;\n\t\t} else {\n\t\t\tnatsort($chartNames);\n\t\t\tforeach($chartNames as $i => $chartName) {\n\t\t\t\t$chart = $worksheet->getChartByName($chartName);\n\t\t\t\tif (!is_null($chart->getTitle())) {\n\t\t\t\t\t$caption = '\"' . implode(' ',$chart->getTitle()->getCaption()) . '\"';\n\t\t\t\t} else {\n\t\t\t\t\t$caption = 'Untitled';\n\t\t\t\t}\n\t\t\t\techo '    ' , $chartName , ' - ' , $caption , EOL;\n\t\t\t\techo str_repeat(' ',strlen($chartName)+3);\n\t\t\t\t$groupCount = $chart->getPlotArea()->getPlotGroupCount();\n\t\t\t\tif ($groupCount == 1) {\n\t\t\t\t\t$chartType = $chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotType();\n\t\t\t\t\techo '    ' , $chartType , EOL;\n\t\t\t\t} else {\n\t\t\t\t\t$chartTypes = array();\n\t\t\t\t\tfor($i = 0; $i < $groupCount; ++$i) {\n\t\t\t\t\t\t$chartTypes[] = $chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType();\n\t\t\t\t\t}\n\t\t\t\t\t$chartTypes = array_unique($chartTypes);\n\t\t\t\t\tif (count($chartTypes) == 1) {\n\t\t\t\t\t\t$chartType = 'Multiple Plot ' . array_pop($chartTypes);\n\t\t\t\t\t\techo '    ' , $chartType , EOL;\n\t\t\t\t\t} elseif (count($chartTypes) == 0) {\n\t\t\t\t\t\techo '    *** Type not yet implemented' , EOL;\n\t\t\t\t\t} else {\n\t\t\t\t\t\techo '    Combination Chart' , EOL;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\n\t$outputFileName = str_replace('.xlsx', '.html', basename($inputFileName));\n\n\techo date('H:i:s') , \" Write Tests to HTML file \" , EOL;\n\t$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'HTML');\n\t$objWriter->setIncludeCharts(TRUE);\n\t$objWriter->save($outputFileName);\n\techo date('H:i:s') , \" File written to \" , $outputFileName , EOL;\n\n\t$objPHPExcel->disconnectWorksheets();\n\tunset($objPHPExcel);\n}\n\n// Echo memory peak usage\necho date('H:i:s') , ' Peak memory usage: ' , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/36chartreadwritePDF.php",
    "content": "<?php\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Include path **/\nset_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');\n\n/** PHPExcel_IOFactory */\ninclude 'PHPExcel/IOFactory.php';\n\n\n//\tChange these values to select the Rendering library that you wish to use\n//\t\tfor PDF files, and its directory location on your server\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_TCPDF;\n$rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;\n//$rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF;\n//$rendererLibrary = 'tcPDF5.9';\n$rendererLibrary = 'mPDF5.4';\n//$rendererLibrary = 'domPDF0.6.0beta3';\n$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary;\n\n\nif (!PHPExcel_Settings::setPdfRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\tdie(\n\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\tEOL .\n\t\t'at the top of this script as appropriate for your directory structure'\n\t);\n}\n\n\n//\tChange these values to select the Rendering library that you wish to use\n//\t\tfor Chart images, and its directory location on your server\n$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;\n$rendererLibrary = 'jpgraph3.5.0b1/src/';\n$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;\n\n\nif (!PHPExcel_Settings::setChartRenderer(\n\t\t$rendererName,\n\t\t$rendererLibraryPath\n\t)) {\n\tdie(\n\t\t'NOTICE: Please set the $rendererName and $rendererLibraryPath values' .\n\t\tEOL .\n\t\t'at the top of this script as appropriate for your directory structure'\n\t);\n}\n\n\n$inputFileType = 'Excel2007';\n$inputFileNames = 'templates/36write*.xlsx';\n\nif ((isset($argc)) && ($argc > 1)) {\n\t$inputFileNames = array();\n\tfor($i = 1; $i < $argc; ++$i) {\n\t\t$inputFileNames[] = dirname(__FILE__) . '/templates/' . $argv[$i];\n\t}\n} else {\n\t$inputFileNames = glob($inputFileNames);\n}\nforeach($inputFileNames as $inputFileName) {\n\t$inputFileNameShort = basename($inputFileName);\n\n\tif (!file_exists($inputFileName)) {\n\t\techo date('H:i:s') , \" File \" , $inputFileNameShort , ' does not exist' , EOL;\n\t\tcontinue;\n\t}\n\n\techo date('H:i:s') , \" Load Test from $inputFileType file \" , $inputFileNameShort , EOL;\n\n\t$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n\t$objReader->setIncludeCharts(TRUE);\n\t$objPHPExcel = $objReader->load($inputFileName);\n\n\n\techo date('H:i:s') , \" Iterate worksheets looking at the charts\" , EOL;\n\tforeach ($objPHPExcel->getWorksheetIterator() as $worksheet) {\n\t\t$sheetName = $worksheet->getTitle();\n\t\techo 'Worksheet: ' , $sheetName , EOL;\n\n\t\t$chartNames = $worksheet->getChartNames();\n\t\tif(empty($chartNames)) {\n\t\t\techo '    There are no charts in this worksheet' , EOL;\n\t\t} else {\n\t\t\tnatsort($chartNames);\n\t\t\tforeach($chartNames as $i => $chartName) {\n\t\t\t\t$chart = $worksheet->getChartByName($chartName);\n\t\t\t\tif (!is_null($chart->getTitle())) {\n\t\t\t\t\t$caption = '\"' . implode(' ',$chart->getTitle()->getCaption()) . '\"';\n\t\t\t\t} else {\n\t\t\t\t\t$caption = 'Untitled';\n\t\t\t\t}\n\t\t\t\techo '    ' , $chartName , ' - ' , $caption , EOL;\n\t\t\t\techo str_repeat(' ',strlen($chartName)+3);\n\t\t\t\t$groupCount = $chart->getPlotArea()->getPlotGroupCount();\n\t\t\t\tif ($groupCount == 1) {\n\t\t\t\t\t$chartType = $chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotType();\n\t\t\t\t\techo '    ' , $chartType , EOL;\n\t\t\t\t} else {\n\t\t\t\t\t$chartTypes = array();\n\t\t\t\t\tfor($i = 0; $i < $groupCount; ++$i) {\n\t\t\t\t\t\t$chartTypes[] = $chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType();\n\t\t\t\t\t}\n\t\t\t\t\t$chartTypes = array_unique($chartTypes);\n\t\t\t\t\tif (count($chartTypes) == 1) {\n\t\t\t\t\t\t$chartType = 'Multiple Plot ' . array_pop($chartTypes);\n\t\t\t\t\t\techo '    ' , $chartType , EOL;\n\t\t\t\t\t} elseif (count($chartTypes) == 0) {\n\t\t\t\t\t\techo '    *** Type not yet implemented' , EOL;\n\t\t\t\t\t} else {\n\t\t\t\t\t\techo '    Combination Chart' , EOL;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\n\t$outputFileName = str_replace('.xlsx', '.pdf', basename($inputFileName));\n\n\techo date('H:i:s') , \" Write Tests to HTML file \" , EOL;\n\t$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'PDF');\n\t$objWriter->setIncludeCharts(TRUE);\n\t$objWriter->save($outputFileName);\n\techo date('H:i:s') , \" File written to \" , $outputFileName , EOL;\n\n\t$objPHPExcel->disconnectWorksheets();\n\tunset($objPHPExcel);\n}\n\n// Echo memory peak usage\necho date('H:i:s') , ' Peak memory usage: ' , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/37page_layout_view.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"PHPOffice\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"PHPOffice\")\n\t\t\t\t\t\t\t ->setTitle(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"Office PHPExcel php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!');\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n// Set the page layout view as page layout\n$objPHPExcel->getActiveSheet()->getSheetView()->setView(PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT);\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n// Save Excel5 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/38cloneWorksheet.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office PHPExcel php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A1', 'Hello')\n            ->setCellValue('B2', 'world!')\n            ->setCellValue('C1', 'Hello')\n            ->setCellValue('D2', 'world!');\n\n// Miscellaneous glyphs, UTF-8\n$objPHPExcel->setActiveSheetIndex(0)\n            ->setCellValue('A4', 'Miscellaneous glyphs')\n            ->setCellValue('A5', 'éàèùâêîôûëïüÿäöüç');\n\n\n$objPHPExcel->getActiveSheet()->setCellValue('A8',\"Hello\\nWorld\");\n$objPHPExcel->getActiveSheet()->getRowDimension(8)->setRowHeight(-1);\n$objPHPExcel->getActiveSheet()->getStyle('A8')->getAlignment()->setWrapText(true);\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Clone worksheet\necho date('H:i:s') , \" Clone worksheet\" , EOL;\n$clonedSheet = clone $objPHPExcel->getActiveSheet();\n$clonedSheet\n    ->setCellValue('A1', 'Goodbye')\n    ->setCellValue('A2', 'cruel')\n    ->setCellValue('C1', 'Goodbye')\n    ->setCellValue('C2', 'cruel');\n\n// Rename cloned worksheet\necho date('H:i:s') , \" Rename cloned worksheet\" , EOL;\n$clonedSheet->setTitle('Simple Clone');\n$objPHPExcel->addSheet($clonedSheet);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/39dropdown.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()\n    ->setCreator(\"PHPOffice\")\n\t->setLastModifiedBy(\"PHPOffice\")\n\t->setTitle(\"PHPExcel Test Document\")\n\t->setSubject(\"PHPExcel Test Document\")\n\t->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t->setKeywords(\"Office PHPExcel php\")\n\t->setCategory(\"Test result file\");\n\n\nfunction transpose($value) {\n    return array($value);\n}\n\n// Add some data\n$continentColumn = 'D';\n$column = 'F';\n\n// Set data for dropdowns\nforeach(glob('./data/continents/*') as $key => $filename) {\n    $continent = pathinfo($filename, PATHINFO_FILENAME);\n    echo \"Loading $continent\", EOL;\n    $continent = str_replace(' ','_',$continent);\n    $countries = file($filename, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);\n    $countryCount = count($countries);\n\n    // Transpose $countries from a row to a column array\n    $countries = array_map('transpose', $countries);\n    $objPHPExcel->getActiveSheet()\n        ->fromArray($countries, null, $column . '1');\n    $objPHPExcel->addNamedRange(\n        new PHPExcel_NamedRange(\n            $continent, \n            $objPHPExcel->getActiveSheet(), $column . '1:' . $column . $countryCount\n        )\n    );\n    $objPHPExcel->getActiveSheet()\n        ->getColumnDimension($column)\n        ->setVisible(false);\n\n    $objPHPExcel->getActiveSheet()\n        ->setCellValue($continentColumn . ($key+1), $continent);\n\n    ++$column;\n}\n\n// Hide the dropdown data\n$objPHPExcel->getActiveSheet()\n    ->getColumnDimension($continentColumn)\n    ->setVisible(false);\n\n$objPHPExcel->addNamedRange(\n    new PHPExcel_NamedRange(\n        'Continents', \n        $objPHPExcel->getActiveSheet(), $continentColumn . '1:' . $continentColumn . ($key+1)\n    )\n);\n\n\n// Set selection cells\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A1', 'Continent:');\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('B1', 'Select continent');\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('B3', '=' . $column . 1);\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('B3', 'Select country');\n$objPHPExcel->getActiveSheet()\n    ->getStyle('A1:A3')\n    ->getFont()->setBold(true);\n\n// Set linked validators\n$objValidation = $objPHPExcel->getActiveSheet()\n    ->getCell('B1')\n    ->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST )\n    ->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION )\n    ->setAllowBlank(false)\n    ->setShowInputMessage(true)\n    ->setShowErrorMessage(true)\n    ->setShowDropDown(true)\n    ->setErrorTitle('Input error')\n    ->setError('Continent is not in the list.')\n    ->setPromptTitle('Pick from the list')\n    ->setPrompt('Please pick a continent from the drop-down list.')\n    ->setFormula1('=Continents');\n\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A3', 'Country:');\n$objPHPExcel->getActiveSheet()\n    ->getStyle('A3')\n    ->getFont()->setBold(true);\n\n$objValidation = $objPHPExcel->getActiveSheet()\n    ->getCell('B3')\n    ->getDataValidation();\n$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST )\n    ->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION )\n    ->setAllowBlank(false)\n    ->setShowInputMessage(true)\n    ->setShowErrorMessage(true)\n    ->setShowDropDown(true)\n    ->setErrorTitle('Input error')\n    ->setError('Country is not in the list.')\n    ->setPromptTitle('Pick from the list')\n    ->setPrompt('Please pick a country from the drop-down list.')\n    ->setFormula1('=INDIRECT($B$1)');\n\n\n$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(12);\n$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(30);\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n// Save Excel 2007 file\n// This linked validation list method only seems to work for Excel2007, not for Excel5\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/40duplicateStyle.php",
    "content": "<?php\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n$worksheet = $objPHPExcel->getActiveSheet();\n\necho date('H:i:s') , \" Create styles array\" , EOL;\n$styles = array();\nfor ($i = 0; $i < 10; $i++) {\n    $style = new PHPExcel_Style();\n    $style->getFont()->setSize($i + 4);\n    $styles[] = $style;\n}\n\necho date('H:i:s') , \" Add data (begin)\" , EOL;\n$t = microtime(true);\nfor ($col = 0; $col < 50; $col++) {\n    for ($row = 0; $row < 100; $row++) {\n        $str = ($row + $col);\n        $style = $styles[$row % 10];\n        $coord = PHPExcel_Cell::stringFromColumnIndex($col) . ($row + 1);\n        $worksheet->setCellValue($coord, $str);\n        $worksheet->duplicateStyle($style, $coord);\n    }\n}\n$d = microtime(true) - $t;\necho date('H:i:s') , \" Add data (end), time: \" . round($d, 2) . \" s\", EOL;\n\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\n\n\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/41password.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\ninclude \"05featuredemo.inc.php\";\n\n/** Include PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\n// Set password against the spreadsheet file\n$objPHPExcel->getSecurity()->setLockWindows(true);\n$objPHPExcel->getSecurity()->setLockStructure(true);\n$objPHPExcel->getSecurity()->setWorkbookPassword('secret');\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/42richText.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (C) 2006 - 2014 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\ndate_default_timezone_set('Europe/London');\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\n/** Include PHPExcel */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel.php';\n\n\n// Create new PHPExcel object\necho date('H:i:s') , \" Create new PHPExcel object\" , EOL;\n$objPHPExcel = new PHPExcel();\n\n// Set document properties\necho date('H:i:s') , \" Set document properties\" , EOL;\n$objPHPExcel->getProperties()->setCreator(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setLastModifiedBy(\"Maarten Balliauw\")\n\t\t\t\t\t\t\t ->setTitle(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setSubject(\"PHPExcel Test Document\")\n\t\t\t\t\t\t\t ->setDescription(\"Test document for PHPExcel, generated using PHP classes.\")\n\t\t\t\t\t\t\t ->setKeywords(\"office PHPExcel php\")\n\t\t\t\t\t\t\t ->setCategory(\"Test result file\");\n\n\n// Add some data\necho date('H:i:s') , \" Add some data\" , EOL;\n\n$html1 = '<font color=\"#0000ff\">\n<h1 align=\"center\">My very first example of rich text<br />generated from html markup</h1>\n<p>\n<font size=\"14\" COLOR=\"rgb(0,255,128)\">\n<b>This block</b> contains an <i>italicized</i> word;\nwhile this block uses an <u>underline</u>.\n</font>\n</p>\n<p align=\"right\"><font size=\"9\" color=\"red\">\nI want to eat <ins><del>healthy food</del> <strong>pizza</strong></ins>.\n</font>\n';\n\n$html2 = '<p>\n<font color=\"#ff0000\">\n    100&deg;C is a hot temperature\n</font>\n<br>\n<font color=\"#0080ff\">\n    10&deg;F is cold\n</font>\n</p>';\n\n$html3 = '2<sup>3</sup> equals 8';\n\n$html4 = 'H<sub>2</sub>SO<sub>4</sub> is the chemical formula for Sulphuric acid';\n\n$html5 = '<strong>bold</strong>, <em>italic</em>, <strong><em>bold+italic</em></strong>';\n\n\n$wizard = new PHPExcel_Helper_HTML;\n$richText = $wizard->toRichTextObject($html1);\n\n$objPHPExcel->setActiveSheetIndex(0)\n    ->setCellValue('A1', $richText);\n\n$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(48);\n$objPHPExcel->getActiveSheet()->getRowDimension(1)->setRowHeight(-1);\n$objPHPExcel->getActiveSheet()->getStyle('A1')\n    ->getAlignment()\n    ->setWrapText(true);\n\n$richText = $wizard->toRichTextObject($html2);\n\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A2', $richText);\n\n$objPHPExcel->getActiveSheet()->getRowDimension(1)->setRowHeight(-1);\n$objPHPExcel->getActiveSheet()->getStyle('A2')\n    ->getAlignment()\n    ->setWrapText(true);\n\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A3', $wizard->toRichTextObject($html3));\n\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A4', $wizard->toRichTextObject($html4));\n\n$objPHPExcel->getActiveSheet()\n    ->setCellValue('A5', $wizard->toRichTextObject($html5));\n\n\n// Rename worksheet\necho date('H:i:s') , \" Rename worksheet\" , EOL;\n$objPHPExcel->getActiveSheet()->setTitle('Simple');\n\n\n// Set active sheet index to the first sheet, so Excel opens this as the first sheet\n$objPHPExcel->setActiveSheetIndex(0);\n\n\n// Save Excel 2007 file\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Save Excel 95 file\necho date('H:i:s') , \" Write to Excel5 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing files\" , EOL;\necho 'Files have been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/43mergeWorkbooks.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\necho date('H:i:s') , \" Load MergeBook1 from Excel2007 file\" , EOL;\n$callStartTime = microtime(true);\n\n$objPHPExcel1 = PHPExcel_IOFactory::load(dirname(__FILE__) . \"/templates/43mergeBook1.xlsx\");\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to read Mergebook1 was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\necho date('H:i:s') , \" Load MergeBook2 from Excel2007 file\" , EOL;\n$callStartTime = microtime(true);\n\n$objPHPExcel2 = PHPExcel_IOFactory::load(dirname(__FILE__) . \"/templates/43mergeBook2.xlsx\");\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to read Mergebook2 was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\nforeach($objPHPExcel2->getSheetNames() as $sheetName) {\n    $sheet = $objPHPExcel2->getSheetByName($sheetName);\n    $sheet->setTitle($sheet->getTitle() . ' copied');\n    $objPHPExcel1->addExternalSheet($sheet);\n}\n\n\necho date('H:i:s') , \" Write to Excel2007 format\" , EOL;\n$callStartTime = microtime(true);\n\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel1, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\n\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', pathinfo(__FILE__, PATHINFO_BASENAME)) , EOL;\necho 'Call time to write Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , EOL;\necho 'File has been created in ' , getcwd() , EOL;\n"
  },
  {
    "path": "Examples/44worksheetInfo.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\nerror_reporting(E_ALL);\nini_set('display_errors', TRUE);\nini_set('display_startup_errors', TRUE);\n\ndefine('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');\n\ndate_default_timezone_set('Europe/London');\n\n/** Include PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n\nif (!file_exists(\"05featuredemo.xlsx\")) {\n\texit(\"Please run 05featuredemo.php first.\" . EOL);\n}\n\n$inputFileName = \"05featuredemo.xlsx\";\n$inputFileType = PHPExcel_IOFactory::identify($inputFileName);\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\n$sheetList = $objReader->listWorksheetNames($inputFileName);\n$sheetInfo = $objReader->listWorksheetInfo($inputFileName);\n\necho 'File Type:', PHP_EOL;\nvar_dump($inputFileType);\n\necho 'Worksheet Names:', PHP_EOL;\nvar_dump($sheetList);\n\necho 'Worksheet Names:', PHP_EOL;\nvar_dump($sheetInfo);\n\n"
  },
  {
    "path": "Examples/Excel2003XMLReader.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\n\r\necho date('H:i:s') , \" Load from Excel2003XML file\" , PHP_EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objReader = PHPExcel_IOFactory::createReader('Excel2003XML');\r\n$objPHPExcel = $objReader->load(\"Excel2003XMLTest.xml\");\r\n\r\n\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , PHP_EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n\r\necho date('H:i:s') , \" Write to Excel5 format\" , PHP_EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');\r\n$objWriter->save(str_replace('.php', '.xls', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xls', __FILE__) , PHP_EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing file\" , PHP_EOL;\r\n"
  },
  {
    "path": "Examples/Excel2003XMLTest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><?mso-application progid=\"Excel.Sheet\"?><Workbook xmlns:c=\"urn:schemas-microsoft-com:office:component:spreadsheet\" xmlns:html=\"http://www.w3.org/TR/REC-html40\" xmlns:o=\"urn:schemas-microsoft-com:office:office\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\" xmlns:x2=\"http://schemas.microsoft.com/office/excel/2003/xml\" xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\" xmlns:x=\"urn:schemas-microsoft-com:office:excel\"><OfficeDocumentSettings xmlns=\"urn:schemas-microsoft-com:office:office\"><Colors><Color><Index>3</Index><RGB>#000000</RGB></Color><Color><Index>4</Index><RGB>#0000ff</RGB></Color><Color><Index>5</Index><RGB>#008000</RGB></Color><Color><Index>6</Index><RGB>#00ccff</RGB></Color><Color><Index>7</Index><RGB>#800080</RGB></Color><Color><Index>8</Index><RGB>#993366</RGB></Color><Color><Index>9</Index><RGB>#c0c0c0</RGB></Color><Color><Index>10</Index><RGB>#c47512</RGB></Color><Color><Index>11</Index><RGB>#ccffcc</RGB></Color><Color><Index>12</Index><RGB>#ddbc7d</RGB></Color><Color><Index>13</Index><RGB>#ff0000</RGB></Color><Color><Index>14</Index><RGB>#ff00ff</RGB></Color><Color><Index>15</Index><RGB>#ff6600</RGB></Color><Color><Index>16</Index><RGB>#ff9900</RGB></Color><Color><Index>17</Index><RGB>#ff99cc</RGB></Color><Color><Index>18</Index><RGB>#ffff00</RGB></Color></Colors></OfficeDocumentSettings><ExcelWorkbook xmlns=\"urn:schemas-microsoft-com:office:excel\"><WindowHeight>9000</WindowHeight><WindowWidth>13860</WindowWidth><WindowTopX>240</WindowTopX><WindowTopY>75</WindowTopY><ProtectStructure>False</ProtectStructure><ProtectWindows>False</ProtectWindows></ExcelWorkbook><Styles><Style ss:ID=\"Default\" ss:Name=\"Default\"/><Style ss:ID=\"Result\" ss:Name=\"Result\"><Font ss:Bold=\"1\" ss:Italic=\"1\" ss:Underline=\"Single\"/></Style><Style ss:ID=\"Result2\" ss:Name=\"Result2\"><Font ss:Bold=\"1\" ss:Italic=\"1\" ss:Underline=\"Single\"/><NumberFormat ss:Format=\"Currency\"/></Style><Style ss:ID=\"Heading\" ss:Name=\"Heading\"><Font ss:Bold=\"1\" ss:Italic=\"1\" ss:Size=\"16\"/></Style><Style ss:ID=\"Heading1\" ss:Name=\"Heading1\"><Font ss:Bold=\"1\" ss:Italic=\"1\" ss:Size=\"16\"/></Style><Style ss:ID=\"Gnumeric-default\" ss:Name=\"Gnumeric-default\"><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"co1\"/><Style ss:ID=\"co2\"/><Style ss:ID=\"co3\"/><Style ss:ID=\"co4\"/><Style ss:ID=\"co5\"/><Style ss:ID=\"co6\"/><Style ss:ID=\"co7\"/><Style ss:ID=\"co8\"/><Style ss:ID=\"co9\"/><Style ss:ID=\"ta1\"/><Style ss:ID=\"ce1\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Bold=\"1\" ss:Color=\"#ff0000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce2\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Bold=\"1\" ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Italic=\"1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce3\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\" ss:Underline=\"Single\"/></Style><Style ss:ID=\"ce4\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce5\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce6\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\" ss:Underline=\"Single\"/></Style><Style ss:ID=\"ce7\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\" ss:Underline=\"Double\"/></Style><Style ss:ID=\"ce8\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\" ss:StrikeThrough=\"1\"/></Style><Style ss:ID=\"ce9\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/><NumberFormat ss:Format=\"Short Date\"/></Style><Style ss:ID=\"ce10\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/><NumberFormat ss:Format=\"Fixed\"/></Style><Style ss:ID=\"ce11\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><NumberFormat ss:Format=\"Short Time\"/></Style><Style ss:ID=\"ce12\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><NumberFormat ss:Format=\"General Date\"/></Style><Style ss:ID=\"ce13\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"ce14\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\" ss:Underline=\"Single\"/></Style><Style ss:ID=\"ce15\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\" ss:Underline=\"Double\"/></Style><Style ss:ID=\"ce16\"><Alignment ss:Vertical=\"Bottom\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"ce17\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#0000ff\" ss:FontName=\"Sans\" ss:Size=\"10\" ss:Underline=\"Single\"/></Style><Style ss:ID=\"ce18\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\" ss:Color=\"#00b050\"/><Border ss:Position=\"Left\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\" ss:Color=\"#0070c0\"/><Border ss:Position=\"Right\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\" ss:Color=\"#ffff00\"/><Border ss:Position=\"Top\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\" ss:Color=\"#ff0000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce19\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Top\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce20\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce21\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Left\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce22\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Right\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce23\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:Rotate=\"90\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"ce24\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/><NumberFormat ss:Format=\"General\"/></Style><Style ss:ID=\"ce25\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><NumberFormat ss:Format=\"General\"/></Style><Style ss:ID=\"ce26\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Bold=\"1\" ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce27\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Italic=\"1\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce28\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:Rotate=\"45\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"ce29\"><Alignment ss:Vertical=\"Top\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce30\"><Alignment ss:Vertical=\"Bottom\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce31\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:Rotate=\"-90\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"ce32\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce33\"><Alignment ss:Vertical=\"Bottom\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce34\"><Alignment ss:Vertical=\"Bottom\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce35\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:Rotate=\"-45\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"ce36\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce37\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#ff0000\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce38\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#ff9900\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce39\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#ffff00\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce40\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#008000\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce41\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#0000ff\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce42\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#993366\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce43\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#ff99cc\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce44\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#ddbc7d\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce45\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#00ccff\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce46\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#ff0000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce47\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#ff6600\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce48\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#ffff00\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce49\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#008000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce50\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#0000ff\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce51\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#800080\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce52\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#ff00ff\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce53\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#c47512\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce54\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#ccffcc\" ss:FontName=\"Calibri\" ss:Size=\"11\"/><Interior ss:Color=\"#ff0000\" ss:Pattern=\"Solid\"/></Style><Style ss:ID=\"ce55\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"1\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce56\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"1\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce57\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"1\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce58\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"1\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce59\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce60\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce61\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce62\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce63\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce64\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce65\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders><Border ss:Position=\"Bottom\" ss:LineStyle=\"Double\" ss:Weight=\"3\" ss:Color=\"#000000\"/></Borders><Font ss:Color=\"#000000\" ss:FontName=\"Calibri\" ss:Size=\"11\"/></Style><Style ss:ID=\"ce66\"><Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Bottom\" ss:WrapText=\"1\" ss:Rotate=\"0\"/><Borders/><Font ss:Bold=\"1\" ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"12\"/></Style><Style ss:ID=\"ce67\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/><NumberFormat ss:Format=\"General\"/></Style><Style ss:ID=\"ce68\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/><NumberFormat ss:Format=\"Medium Date\"/></Style><Style ss:ID=\"ce69\"><Alignment ss:Vertical=\"Bottom\" ss:Rotate=\"0\"/><Borders/><Font ss:Color=\"#000000\" ss:FontName=\"Arial1\" ss:Size=\"11\"/><NumberFormat ss:Format=\"Medium Time\"/></Style><Style ss:ID=\"gr1\"/><Style ss:ID=\"gr2\"/><Style ss:ID=\"ta_extref\"/><Style ss:ID=\"P1\"><Font ss:FontName=\"Sans\" ss:Size=\"10\"/></Style><Style ss:ID=\"T1\"/></Styles><ss:Worksheet ss:Name=\"Sample Data\"><Table ss:StyleID=\"ta1\"><Column ss:Width=\"96.4913\"/><Column ss:Span=\"1\" ss:Width=\"48.3874\"/><Column ss:Index=\"4\" ss:Width=\"35.8866\"/><Column ss:Span=\"6\" ss:Width=\"48.3874\"/><Column ss:Index=\"12\" ss:Width=\"50.2583\"/><Column ss:Span=\"1011\" ss:Width=\"48.3874\"/><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce1\"><ss:Data xmlns=\"http://www.w3.org/TR/REC-html40\" ss:Type=\"String\">Test String 1</ss:Data><Comment><ss:Data xmlns=\"http://www.w3.org/TR/REC-html40\"><Font html:Face=\"Sans\" html:Size=\"10\">Test for a simple colour-formatted string</Font></ss:Data></Comment></Cell><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"Number\">1</Data></Cell><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"Number\">5</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce2\"><Data ss:Type=\"String\">A</Data></Cell><Cell ss:StyleID=\"ce26\"><Data ss:Type=\"String\">E</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B1]+[.C1]\"><Data ss:Type=\"Number\">6</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.E1]&amp;[.F1]\"><Data ss:Type=\"String\">AE</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce2\"><Data ss:Type=\"String\">Test - String 2</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">2</Data></Cell><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"Number\">6</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">B</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">F</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B2]+[.C2]\"><Data ss:Type=\"Number\">8</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.E2]&amp;[.F2]\"><Data ss:Type=\"String\">BF</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce55\"><Data ss:Type=\"String\">Dot</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce3\"><Data ss:Type=\"String\">Test #3</Data></Cell><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"Number\">3</Data></Cell><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"Number\">7</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce26\"><Data ss:Type=\"String\">C</Data></Cell><Cell ss:StyleID=\"ce2\"><Data ss:Type=\"String\">G</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B3]+[.C3]\"><Data ss:Type=\"Number\">10</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.E3]&amp;[.F3]\"><Data ss:Type=\"String\">CG</Data></Cell><Cell ss:StyleID=\"ce37\"><Data ss:Type=\"String\">Red</Data></Cell><Cell ss:StyleID=\"ce46\"><Data ss:Type=\"String\">Red</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce56\"><Data ss:Type=\"String\">Dash</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"String\">Test with (\") in string</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">4</Data></Cell><Cell ss:StyleID=\"ce4\"><Data ss:Type=\"Number\">8</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce27\"><Data ss:Type=\"String\">D</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">H</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B4]+[.C4]\"><Data ss:Type=\"Number\">12</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.E4]&amp;[.F4]\"><Data ss:Type=\"String\">DH</Data></Cell><Cell ss:StyleID=\"ce38\"><Data ss:Type=\"String\">Orange</Data></Cell><Cell ss:StyleID=\"ce47\"><Data ss:Type=\"String\">Orange</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce57\"><Data ss:Type=\"String\">Dash/Dot/Dot</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=SUM([.B1:.B4])\"><Data ss:Type=\"Number\">10</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=SUM([.C1:.C4])\"><Data ss:Type=\"Number\">26</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=SUM([.B1:.C4])\"><Data ss:Type=\"Number\">36</Data></Cell><Cell ss:StyleID=\"ce39\"><Data ss:Type=\"String\">Yellow</Data></Cell><Cell ss:StyleID=\"ce48\"><Data ss:Type=\"String\">Yellow</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce58\"><Data ss:Type=\"String\">Dash/Dot</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce6\"><Data ss:Type=\"String\">Test #3</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">1.23</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=TRUE()\"><Data ss:Type=\"Boolean\">1</Data></Cell><Cell ss:StyleID=\"ce24\"><Data ss:Type=\"Boolean\">1</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce40\"><Data ss:Type=\"String\">Green</Data></Cell><Cell ss:StyleID=\"ce49\"><Data ss:Type=\"String\">Green</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce56\"><Data ss:Type=\"String\">Thin Line</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce7\"><Data ss:Type=\"String\">Test #3</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">2.34</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=FALSE()\"><Data ss:Type=\"Boolean\">0</Data></Cell><Cell ss:StyleID=\"ce25\"><Data ss:Type=\"Boolean\">0</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=SUM(marksrange)\"><Data ss:Type=\"Number\">0</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce41\"><Data ss:Type=\"String\">Blue</Data></Cell><Cell ss:StyleID=\"ce50\"><Data ss:Type=\"String\">Blue</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce59\"><Data ss:Type=\"String\">Thick Dash/Dot/Dot</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Index=\"8\" ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce8\"><Data ss:Type=\"String\">Test #3</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">3.45</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce42\"><Data ss:Type=\"String\">Purple</Data></Cell><Cell ss:StyleID=\"ce51\"><Data ss:Type=\"String\">Purple</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce60\"><Data ss:Type=\"String\">Variant Thick Dash/Dot/Dot</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"13.4929\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce43\"><Data ss:Type=\"String\">Pink</Data></Cell><Cell ss:StyleID=\"ce52\"><Data ss:Type=\"String\">Pink</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce61\"><Data ss:Type=\"String\">Thick Dash/Dot</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce9\"><Data ss:Type=\"DateTime\">1960-12-19T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce19\"><Data ss:Type=\"String\">TOP</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">0</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce44\"><Data ss:Type=\"String\">Brown</Data></Cell><Cell ss:StyleID=\"ce53\"><Data ss:Type=\"String\">Brown</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce62\"><Data ss:Type=\"String\">Thick Dash</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce10\"><Data ss:Type=\"Number\">1.5</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=12/0\"><Data ss:Type=\"Number\">0</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce63\"><Data ss:Type=\"String\">Thick Line</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"13.4929\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce20\"><Data ss:Type=\"String\">BOTTOM</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce64\"><Data ss:Type=\"String\">Extra Thick Line</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce11\"><Data ss:Type=\"DateTime\">1899-12-31T02:30:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><ss:Data xmlns=\"http://www.w3.org/TR/REC-html40\" ss:Type=\"String\">Мойва сушеная</ss:Data><Comment><ss:Data xmlns=\"http://www.w3.org/TR/REC-html40\"><Font html:Face=\"Sans\" html:Size=\"10\">Tests for UTF-8 content</Font></ss:Data></Comment></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce65\"><Data ss:Type=\"String\">Double Line</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce21\"><Data ss:Type=\"String\">LEFT</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">Ärendetext</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce12\"><Data ss:Type=\"DateTime\">1960-12-19T01:30:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">Højde</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Index=\"16\" ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce22\"><Data ss:Type=\"String\">RIGHT</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"13.4929\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Height=\"41.7543\"><Cell ss:StyleID=\"ce5\"/><Cell ss:MergeAcross=\"1\" ss:MergeDown=\"1\" ss:StyleID=\"ce18\"><Data ss:Type=\"String\">BOX</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce29\"><Data ss:Type=\"String\">Test Column 1</Data></Cell><Cell ss:StyleID=\"ce30\"/><Cell ss:StyleID=\"ce33\"/><Cell ss:StyleID=\"ce36\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Height=\"41.7543\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce30\"/><Cell ss:StyleID=\"ce32\"><Data ss:Type=\"String\">Test Column 2</Data></Cell><Cell ss:StyleID=\"ce30\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce45\"><Data ss:Type=\"String\">Patterned</Data></Cell><Cell ss:StyleID=\"ce54\"><Data ss:Type=\"String\">Patterned 2</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Height=\"41.7543\"><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce30\"/><Cell ss:StyleID=\"ce30\"/><Cell ss:StyleID=\"ce34\"><Data ss:Type=\"String\">Test Column 3</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">Underline None</Data></Cell><Cell ss:Index=\"3\" ss:MergeAcross=\"1\" ss:MergeDown=\"4\" ss:StyleID=\"ce23\"><Data ss:Type=\"String\">Rotate 90</Data></Cell><Cell ss:MergeAcross=\"1\" ss:MergeDown=\"4\" ss:StyleID=\"ce28\"><Data ss:Type=\"String\">Rotate 45</Data></Cell><Cell ss:MergeAcross=\"1\" ss:MergeDown=\"4\" ss:StyleID=\"ce31\"><Data ss:Type=\"String\">Rotate -90</Data></Cell><Cell ss:MergeAcross=\"1\" ss:MergeDown=\"4\" ss:StyleID=\"ce35\"><Data ss:Type=\"String\">Rotate -45</Data></Cell><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:StyleID=\"ce14\"><Data ss:Type=\"String\">Underline 1</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">Subscript</Data></Cell><Cell ss:Index=\"1016\" ss:StyleID=\"ce13\"/></Row><Row ss:Index=\"24\" ss:Height=\"12.8409\"><Cell ss:StyleID=\"ce15\"><Data ss:Type=\"String\">Underline 2</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">Superscript</Data></Cell><Cell ss:Index=\"1016\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:StyleID=\"ce14\"><Data ss:Type=\"String\">Underline 3</Data></Cell><Cell ss:Index=\"1016\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:StyleID=\"ce15\"><Data ss:Type=\"String\">Underline 4</Data></Cell><Cell ss:Index=\"1016\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"49.2378\"><Cell ss:MergeAcross=\"2\" ss:StyleID=\"ce16\"><ss:Data xmlns=\"http://www.w3.org/TR/REC-html40\" ss:Type=\"String\">I don't know if Gnumeric supports <B><Font html:Face=\"Sans\" html:Color=\"#000000\" html:Size=\"10\">Rich Text</Font></B> in the same way as <B><Font html:Face=\"Sans\" html:Color=\"#000000\" html:Size=\"10\">Excel</Font></B>, And this row should be autofit height with text wrap</ss:Data></Cell><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/><Cell ss:StyleID=\"ce16\"/></Row><Row ss:Height=\"13.4079\"><Cell ss:MergeAcross=\"2\" ss:HRef=\"http://www.phpexcel.net/\" ss:StyleID=\"ce17\"><Data ss:Type=\"String\">PHPExcel</Data></Cell><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Index=\"65536\" ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row></Table><x:WorksheetOptions/></ss:Worksheet><ss:Worksheet ss:Name=\"Report Data\"><Table ss:StyleID=\"ta1\"><Column ss:Span=\"2\" ss:Width=\"56.2394\"/><Column ss:Index=\"4\" ss:Width=\"78.7465\"/><Column ss:Width=\"58.5071\"/><Column ss:Width=\"27.4961\"/><Column ss:Width=\"78.7465\"/><Column ss:Width=\"68.5984\"/><Column ss:Span=\"1015\" ss:Width=\"48.3874\"/><Column ss:Index=\"1025\"/><Column ss:Span=\"1\"/><Row ss:AutoFitHeight=\"0\" ss:Height=\"31.4929\"><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce66\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"31.4929\"><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Heading 1</Data></Cell><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Heading 2</Data></Cell><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Third Heading</Data></Cell><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Date Heading</Data></Cell><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Time Heading</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Adjusted Date</Data></Cell><Cell ss:StyleID=\"ce66\"><Data ss:Type=\"String\">Adjusted Number</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce13\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\"/></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">Adjusted Number</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">Third Heading</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">1</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">1.11</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">1.11</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">2</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">4.44</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">2.22</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">3</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">9.99</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">3.33</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">4</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">17.76</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">4.44</Data></Cell></Row><Row ss:Index=\"8\"><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">5</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">27.75</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">5.55</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">6</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">39.96</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">6.66</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">7</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">54.39</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">7.77</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">8</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">71.04</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">8.88</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">9</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">89.91</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">9.99</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">10</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">111</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">11.1</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">11</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">134.31</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">12.21</Data></Cell></Row><Row><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">12</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">159.84</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">13.32</Data></Cell></Row><Row ss:Index=\"16\"><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"String\">13</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">1.11</Data></Cell><Cell ss:StyleID=\"ce13\"><Data ss:Type=\"Number\">-1.11</Data></Cell></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">ABC</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">1</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">1.11</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2001-01-01T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T01:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D3]-[.B3]\"><Data ss:Type=\"DateTime\">2000-12-31T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B3]*[.C3]\"><Data ss:Type=\"Number\">1.11</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">A</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B3]&amp;[.J3]\"><Data ss:Type=\"String\">1A</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">BCD</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">2</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">2.22</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2002-02-02T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T02:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D4]-[.B4]\"><Data ss:Type=\"DateTime\">2002-01-31T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B4]*[.C4]\"><Data ss:Type=\"Number\">4.44</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">B</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B4]&amp;[.J4]\"><Data ss:Type=\"String\">2B</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">CDE</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">3</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">3.33</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2003-03-03T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T03:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D5]-[.B5]\"><Data ss:Type=\"DateTime\">2003-02-28T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B5]*[.C5]\"><Data ss:Type=\"Number\">9.99</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">C</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B5]&amp;[.J5]\"><Data ss:Type=\"String\">3C</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">DEF</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">4</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">4.44</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2004-04-03T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T04:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D6]-[.B6]\"><Data ss:Type=\"DateTime\">2004-03-30T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B6]*[.C6]\"><Data ss:Type=\"Number\">17.76</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">D</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B6]&amp;[.J6]\"><Data ss:Type=\"String\">4D</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">EFG</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">5</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">5.55</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2005-05-04T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T05:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D7]-[.B7]\"><Data ss:Type=\"DateTime\">2005-04-29T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B7]*[.C7]\"><Data ss:Type=\"Number\">27.75</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">E</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B7]&amp;[.J7]\"><Data ss:Type=\"String\">5E</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">FGH</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">6</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">6.66</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2006-06-05T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T06:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D8]-[.B8]\"><Data ss:Type=\"DateTime\">2006-05-30T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B8]*[.C8]\"><Data ss:Type=\"Number\">39.96</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">F</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B8]&amp;[.J8]\"><Data ss:Type=\"String\">6F</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">GHI</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">7</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">7.77</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2007-07-06T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T07:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D9]-[.B9]\"><Data ss:Type=\"DateTime\">2007-06-29T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B9]*[.C9]\"><Data ss:Type=\"Number\">54.39</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">G</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B9]&amp;[.J9]\"><Data ss:Type=\"String\">7G</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:Index=\"24\" ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">HIJ</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">8</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">8.88</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2008-08-07T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T08:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D10]-[.B10]\"><Data ss:Type=\"DateTime\">2008-07-30T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B10]*[.C10]\"><Data ss:Type=\"Number\">71.04</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">H</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B10]&amp;[.J10]\"><Data ss:Type=\"String\">8H</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">IJK</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">9</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">9.99</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2009-09-08T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T09:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D11]-[.B11]\"><Data ss:Type=\"DateTime\">2009-08-30T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B11]*[.C11]\"><Data ss:Type=\"Number\">89.91</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">I</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B11]&amp;[.J11]\"><Data ss:Type=\"String\">9I</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">JKL</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">10</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">11.1</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2010-10-09T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T10:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D12]-[.B12]\"><Data ss:Type=\"DateTime\">2010-09-29T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B12]*[.C12]\"><Data ss:Type=\"Number\">111</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">J</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B12]&amp;[.J12]\"><Data ss:Type=\"String\">10J</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">KLM</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">11</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">12.21</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2011-11-11T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T11:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D13]-[.B13]\"><Data ss:Type=\"DateTime\">2011-10-31T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B13]*[.C13]\"><Data ss:Type=\"Number\">134.31</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">K</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B13]&amp;[.J13]\"><Data ss:Type=\"String\">11K</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">LMN</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">12</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">13.32</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">2012-12-12T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T288:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D14]-[.B14]\"><Data ss:Type=\"DateTime\">2012-11-30T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B14]*[.C14]\"><Data ss:Type=\"Number\">159.84</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">L</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B14]&amp;[.J14]\"><Data ss:Type=\"String\">12L</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">ZYX</Data></Cell><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"Number\">-1</Data></Cell><Cell ss:StyleID=\"ce67\"><Data ss:Type=\"Number\">-1.11</Data></Cell><Cell ss:StyleID=\"ce68\"><Data ss:Type=\"DateTime\">1999-12-01T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce69\"><Data ss:Type=\"DateTime\">1899-12-31T23:00:00.000</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce68\" ss:Formula=\"of:=[.D15]-[.B15]\"><Data ss:Type=\"DateTime\">1999-12-02T00:00:00.000</Data></Cell><Cell ss:StyleID=\"ce67\" ss:Formula=\"of:=[.B15]*[.C15]\"><Data ss:Type=\"Number\">1.11</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"><Data ss:Type=\"String\">M</Data></Cell><Cell ss:StyleID=\"ce5\" ss:Formula=\"of:=[.B15]&amp;[.J15]\"><Data ss:Type=\"String\">-1M</Data></Cell><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/><Cell ss:StyleID=\"ce5\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:AutoFitHeight=\"0\" ss:Height=\"14.9953\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row><Row ss:Index=\"65550\" ss:Height=\"12.8409\"><Cell ss:Index=\"1024\" ss:StyleID=\"ce13\"/></Row></Table><x:WorksheetOptions/></ss:Worksheet></Workbook>"
  },
  {
    "path": "Examples/GnumericReader.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\necho date('H:i:s') , \" Load from Gnumeric file\" , PHP_EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objReader = PHPExcel_IOFactory::createReader('Gnumeric');\r\n$objPHPExcel = $objReader->load(\"GnumericTest.gnumeric\");\r\n\r\n\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , PHP_EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n\r\necho date('H:i:s') , \" Write to Excel2007 format\" , PHP_EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', __FILE__) , PHP_EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing file\" , PHP_EOL;\r\n"
  },
  {
    "path": "Examples/OOCalcReader.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\necho date('H:i:s') , \" Load from OOCalc file\" , PHP_EOL;\r\n$callStartTime = microtime(true);\r\n\r\n$objReader = PHPExcel_IOFactory::createReader('OOCalc');\r\n$objPHPExcel = $objReader->load(\"OOCalcTest.ods\");\r\n\r\n\r\n$callEndTime = microtime(true);\r\n$callTime = $callEndTime - $callStartTime;\r\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , PHP_EOL;\r\n// Echo memory usage\r\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n\r\necho date('H:i:s') , \" Write to Excel2007 format\" , PHP_EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', __FILE__) , PHP_EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing file\" , PHP_EOL;\r\n\r\n"
  },
  {
    "path": "Examples/OOCalcReaderPCLZip.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\n\ndate_default_timezone_set('Europe/London');\n\n/** PHPExcel_IOFactory */\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\n\n// Use PCLZip rather than ZipArchive to read the Excel2007 OfficeOpenXML file\nPHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP);\n\necho date('H:i:s') , \" Load from OOCalc file\" , PHP_EOL;\n$callStartTime = microtime(true);\n\n$objReader = PHPExcel_IOFactory::createReader('OOCalc');\n$objPHPExcel = $objReader->load(\"OOCalcTest.ods\");\n\n\n$callEndTime = microtime(true);\n$callTime = $callEndTime - $callStartTime;\necho 'Call time to read Workbook was ' , sprintf('%.4f',$callTime) , \" seconds\" , PHP_EOL;\n// Echo memory usage\necho date('H:i:s') , ' Current memory usage: ' , (memory_get_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\n\n\necho date('H:i:s') , \" Write to Excel2007 format\" , PHP_EOL;\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', __FILE__) , PHP_EOL;\n\n\n// Echo memory peak usage\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\n\n// Echo done\necho date('H:i:s') , \" Done writing file\" , PHP_EOL;\n\n"
  },
  {
    "path": "Examples/Quadratic.php",
    "content": "<html>\r\n<head>\r\n<title>Quadratic Equation Solver</title>\r\n</head>\r\n<body>\r\n<?php\r\n\r\n/**\tError reporting\t\t**/\r\nerror_reporting(E_ALL);\r\n\r\n/**\tInclude path\t\t**/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');\r\n\r\n?>\r\n<h1>Quadratic Equation Solver</h1>\r\n<form action=\"Quadratic.php\" method=\"POST\">\r\nEnter the coefficients for the Ax<sup>2</sup> + Bx + C = 0\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t<tr><td><b>A&nbsp;</b></td>\r\n\t\t<td><input name=\"A\" type=\"text\" size=\"8\" value=\"<?php echo (isset($_POST['A'])) ? htmlentities($_POST['A']) : ''; ?>\"></td>\r\n\t</tr>\r\n\t<tr><td><b>B&nbsp;</b></td>\r\n\t\t<td><input name=\"B\" type=\"text\" size=\"8\" value=\"<?php echo (isset($_POST['B'])) ? htmlentities($_POST['B']) : ''; ?>\"></td>\r\n\t</tr>\r\n\t<tr><td><b>C&nbsp;</b></td>\r\n\t\t<td><input name=\"C\" type=\"text\" size=\"8\" value=\"<?php echo (isset($_POST['C'])) ? htmlentities($_POST['C']) : ''; ?>\"></td>\r\n\t</tr>\r\n</table>\r\n<input name=\"submit\" type=\"submit\" value=\"calculate\"><br />\r\nIf A=0, the equation is not quadratic.\r\n</form>\r\n\r\n<?php\r\n/**\tIf the user has submitted the form, then we need to execute a calculation **/\r\nif (isset($_POST['submit'])) {\r\n\tif ($_POST['A'] == 0) {\r\n\t\techo 'The equation is not quadratic';\r\n\t} else {\r\n\t\t/**\tSo we include PHPExcel to perform the calculations\t**/\r\n\t\tinclude 'PHPExcel/IOFactory.php';\r\n\r\n\t\t/**\tLoad the quadratic equation solver worksheet into memory\t\t\t**/\r\n\t\t$objPHPExcel = PHPExcel_IOFactory::load('./Quadratic.xlsx');\r\n\r\n\t\t/**\tSet our A, B and C values\t\t\t**/\r\n\t\t$objPHPExcel->getActiveSheet()->setCellValue('A1', $_POST['A']);\r\n\t\t$objPHPExcel->getActiveSheet()->setCellValue('B1', $_POST['B']);\r\n\t\t$objPHPExcel->getActiveSheet()->setCellValue('C1', $_POST['C']);\r\n\r\n\r\n\t\t/**\tCalculate and Display the results\t\t\t**/\r\n\t\techo '<hr /><b>Roots:</b><br />';\r\n\r\n\t\t$callStartTime = microtime(true);\r\n\t\techo $objPHPExcel->getActiveSheet()->getCell('B5')->getCalculatedValue().'<br />';\r\n\t\techo $objPHPExcel->getActiveSheet()->getCell('B6')->getCalculatedValue().'<br />';\r\n\t\t$callEndTime = microtime(true);\r\n\t\t$callTime = $callEndTime - $callStartTime;\r\n\r\n\t\techo '<hr />Call time for Quadratic Equation Solution was '.sprintf('%.4f',$callTime).' seconds<br /><hr />';\r\n\t\techo ' Peak memory usage: '.(memory_get_peak_usage(true) / 1024 / 1024).' MB<br />';\r\n\t}\r\n}\r\n\r\n?>\r\n\r\n</body>\r\n<html>\r\n"
  },
  {
    "path": "Examples/Quadratic2.php",
    "content": "<html>\r\n<head>\r\n<title>Quadratic Equation Solver</title>\r\n</head>\r\n<body>\r\n<?php\r\n\r\n/**\tError reporting\t\t**/\r\nerror_reporting(E_ALL);\r\n\r\n/**\tInclude path\t\t**/\r\nset_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');\r\n\r\n?>\r\n<h1>Quadratic Equation Solver</h1>\r\n<form action=\"Quadratic2.php\" method=\"POST\">\r\nEnter the coefficients for the Ax<sup>2</sup> + Bx + C = 0\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t<tr><td><b>A&nbsp;</b></td>\r\n\t\t<td><input name=\"A\" type=\"text\" size=\"8\" value=\"<?php echo (isset($_POST['A'])) ? htmlentities($_POST['A']) : ''; ?>\"></td>\r\n\t</tr>\r\n\t<tr><td><b>B&nbsp;</b></td>\r\n\t\t<td><input name=\"B\" type=\"text\" size=\"8\" value=\"<?php echo (isset($_POST['B'])) ? htmlentities($_POST['B']) : ''; ?>\"></td>\r\n\t</tr>\r\n\t<tr><td><b>C&nbsp;</b></td>\r\n\t\t<td><input name=\"C\" type=\"text\" size=\"8\" value=\"<?php echo (isset($_POST['C'])) ? htmlentities($_POST['C']) : ''; ?>\"></td>\r\n\t</tr>\r\n</table>\r\n<input name=\"submit\" type=\"submit\" value=\"calculate\"><br />\r\nIf A=0, the equation is not quadratic.\r\n</form>\r\n\r\n<?php\r\n/**\tIf the user has submitted the form, then we need to execute a calculation **/\r\nif (isset($_POST['submit'])) {\r\n\tif ($_POST['A'] == 0) {\r\n\t\techo 'The equation is not quadratic';\r\n\t} else {\r\n\t\t/**\tSo we include PHPExcel to perform the calculations\t**/\r\n\t\tinclude 'PHPExcel/Calculation.php';\r\n\r\n\t\t/**\tCalculate and Display the results\t\t\t**/\r\n\t\techo '<hr /><b>Roots:</b><br />';\r\n\r\n\t\t$callStartTime = microtime(true);\r\n\t\t$discriminantFormula = '=POWER('.$_POST['B'].',2) - (4 * '.$_POST['A'].' * '.$_POST['C'].')';\r\n\t\t$discriminant = PHPExcel_Calculation::getInstance()->calculateFormula($discriminantFormula);\r\n\r\n\t\t$r1Formula = '=IMDIV(IMSUM(-'.$_POST['B'].',IMSQRT('.$discriminant.')),2 * '.$_POST['A'].')';\r\n\t\t$r2Formula = '=IF('.$discriminant.'=0,\"Only one root\",IMDIV(IMSUB(-'.$_POST['B'].',IMSQRT('.$discriminant.')),2 * '.$_POST['A'].'))';\r\n\r\n\t\techo PHPExcel_Calculation::getInstance()->calculateFormula($r1Formula).'<br />';\r\n\t\techo PHPExcel_Calculation::getInstance()->calculateFormula($r2Formula).'<br />';\r\n\t\t$callEndTime = microtime(true);\r\n\t\t$callTime = $callEndTime - $callStartTime;\r\n\r\n\t\techo '<hr />Call time for Quadratic Equation Solution was '.sprintf('%.4f',$callTime).' seconds<br /><hr />';\r\n\t\techo ' Peak memory usage: '.(memory_get_peak_usage(true) / 1024 / 1024).' MB<br />';\r\n\t}\r\n}\r\n\r\n?>\r\n\r\n</body>\r\n<html>\r\n"
  },
  {
    "path": "Examples/SylkReader.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\n\r\necho date('H:i:s') , \" Load from SYLK file\" , PHP_EOL;\r\n$objPHPExcel = PHPExcel_IOFactory::load(\"SylkTest.slk\");\r\n\r\necho date('H:i:s') , \" Write to Excel2007 format\" , PHP_EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', __FILE__) , PHP_EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing file\" , PHP_EOL;\r\n"
  },
  {
    "path": "Examples/SylkTest.slk",
    "content": "ID;PWXL;N;E\r\nP;PGeneral\r\nP;P0\r\nP;P0.00\r\nP;P#,##0\r\nP;P#,##0.00\r\nP;P#,##0;;\\-#,##0\r\nP;P#,##0;;[Red]\\-#,##0\r\nP;P#,##0.00;;\\-#,##0.00\r\nP;P#,##0.00;;[Red]\\-#,##0.00\r\nP;P\"$\"#,##0;;\\-\"$\"#,##0\r\nP;P\"$\"#,##0;;[Red]\\-\"$\"#,##0\r\nP;P\"$\"#,##0.00;;\\-\"$\"#,##0.00\r\nP;P\"$\"#,##0.00;;[Red]\\-\"$\"#,##0.00\r\nP;P0%\r\nP;P0.00%\r\nP;P0.00E+00\r\nP;P##0.0E+0\r\nP;P#\\ ?/?\r\nP;P#\\ ??/??\r\nP;Pdd/mm/yyyy\r\nP;Pdd\\-mmm\\-yy\r\nP;Pdd\\-mmm\r\nP;Pmmm\\-yy\r\nP;Ph:mm\\ AM/PM\r\nP;Ph:mm:ss\\ AM/PM\r\nP;Phh:mm\r\nP;Phh:mm:ss\r\nP;Pdd/mm/yyyy\\ hh:mm\r\nP;Pmm:ss\r\nP;Pmm:ss.0\r\nP;P@\r\nP;P[h]:mm:ss\r\nP;P_-\"$\"* #,##0_-;;\\-\"$\"* #,##0_-;;_-\"$\"* \"-\"_-;;_-@_-\r\nP;P_-* #,##0_-;;\\-* #,##0_-;;_-* \"-\"_-;;_-@_-\r\nP;P_-\"$\"* #,##0.00_-;;\\-\"$\"* #,##0.00_-;;_-\"$\"* \"-\"??_-;;_-@_-\r\nP;P_-* #,##0.00_-;;\\-* #,##0.00_-;;_-* \"-\"??_-;;_-@_-\r\nP;FArial;M200\r\nP;FArial;M200\r\nP;FArial;M200\r\nP;FArial;M200\r\nP;EArial;M200\r\nP;EArial;M200\r\nP;EArial;M200\r\nP;EArial;M200;SB\r\nP;EArial;M200;SBI\r\nP;EArial;M200;SI\r\nP;EArial;M200;SU\r\nP;EArial;M200;L11\r\nP;EArial;M200;SB\r\nP;EArial;M200\r\nP;EArial;M200;SI\r\nP;EArial;M200;SBI\r\nP;EArial;M200;SBU\r\nP;EArial;M200;SBIU\r\nP;EArial;M200\r\nP;EArial;M200;SI\r\nF;P0;DG0G8;M255\r\nB;Y18;X10;D0 0 17 9\r\nO;L;D;V0;K47;G100 0.001\r\nF;W1 1 17\r\nF;W4 6 6\r\nF;M270;R9\r\nF;M270;R12\r\nF;M270;R17\r\nF;M270;R18\r\nF;SM12;Y1;X1\r\nC;K\"Test String 1\"\r\nF;SM19;X2\r\nC;K1\r\nF;SM19;X3\r\nC;K5\r\nF;SIDM18;X5\r\nC;K\"A\"\r\nF;SDM17;X6\r\nC;K\"E\"\r\nC;X8;K6;ERC[-6]+RC[-5]\r\nC;X10;K\"AE\";ERC[-5]&RC[-4]\r\nF;SSM0;Y2;X1\r\nC;K\"Test - String 2\"\r\nC;X2;K2\r\nF;SM19;X3\r\nC;K6\r\nC;X5;K\"B\"\r\nC;X6;K\"F\"\r\nC;X8;K8;ERC[-6]+RC[-5]\r\nC;X10;K\"BF\";ERC[-5]&RC[-4]\r\nC;Y3;X1;K\"Test #3\"\r\nF;SM19;X2\r\nC;K3\r\nF;SM19;X3\r\nC;K7\r\nF;SDM13;X5\r\nC;K\"C\"\r\nF;SIDM16;X6\r\nC;K\"G\"\r\nC;X8;K10;ERC[-6]+RC[-5]\r\nC;X10;K\"CG\";ERC[-5]&RC[-4]\r\nF;SM11;Y4;X1\r\nC;K\"Test with (;;) in string\"\r\nC;X2;K4\r\nF;SM19;X3\r\nC;K8\r\nF;SIM15;X5\r\nC;K\"D\"\r\nC;X6;K\"H\"\r\nC;X8;K12;ERC[-6]+RC[-5]\r\nC;X10;K\"DH\";ERC[-5]&RC[-4]\r\nC;Y5;X8;K10;ESUM(R[-4]C[-6]:R[-1]C[-6])\r\nC;X9;K26;ESUM(R[-4]C[-6]:R[-1]C[-6])\r\nC;X10;K36;ESUM(R[-4]C[-8]:R[-1]C[-7])\r\nC;Y6;X2;K1.23\r\nC;X3;KTRUE\r\nF;P19;FG0G;X4\r\nC;Y7;X2;K2.34\r\nC;X3;KFALSE\r\nC;Y8;X2;K3.45\r\nF;Y9;X1\r\nF;X2\r\nF;X3\r\nF;X4\r\nF;X5\r\nF;X6\r\nF;X7\r\nF;X8\r\nF;X9\r\nF;X10\r\nF;P19;FG0G;Y10;X1\r\nC;K22269\r\nF;STM0;X3\r\nC;K\"TOP\"\r\nF;P17;FG0G;Y11;X1\r\nC;K1.5\r\nF;Y12\r\nF;X2\r\nF;SBM0;X3\r\nC;K\"BOTTOM\"\r\nF;X4\r\nF;X5\r\nF;X6\r\nF;X7\r\nF;X8\r\nF;X9\r\nF;X10\r\nF;SLM0;Y14;X3\r\nC;K\"LEFT\"\r\nF;SRM0;Y16\r\nC;K\"RIGHT\"\r\nF;Y17\r\nF;SLRTBM0;Y18\r\nC;K\"BOX\"\r\nE\r\n"
  },
  {
    "path": "Examples/XMLReader.php",
    "content": "<?php\r\n/**\r\n * PHPExcel\r\n *\r\n * Copyright (c) 2006 - 2015 PHPExcel\r\n *\r\n * This library is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License as published by the Free Software Foundation; either\r\n * version 2.1 of the License, or (at your option) any later version.\r\n *\r\n * This library is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU Lesser General Public\r\n * License along with this library; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r\n *\r\n * @category   PHPExcel\r\n * @package    PHPExcel\r\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\r\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\r\n * @version    ##VERSION##, ##DATE##\r\n */\r\n\r\n/** Error reporting */\r\nerror_reporting(E_ALL);\r\n\r\ndate_default_timezone_set('Europe/London');\r\n\r\n/** PHPExcel_IOFactory */\r\nrequire_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';\r\n\r\n\r\necho date('H:i:s') , \" Load from XML file\" , PHP_EOL;\r\n$inputFileName = \"XMLTest.xml\";\r\n\r\n/**  Identify the type of $inputFileName  **/\r\n$inputFileType = PHPExcel_IOFactory::identify($inputFileName);\r\necho 'Loading ' , $inputFileName , ' using ' , $inputFileType , \" Reader\" , PHP_EOL;\r\n\r\n/**  Create a new Reader of the type that has been identified  **/\r\n$objReader = PHPExcel_IOFactory::createReader($inputFileType);\r\n/**  Load $inputFileName to a PHPExcel Object  **/\r\n$objPHPExcel = $objReader->load($inputFileName);\r\n\r\n\r\necho date('H:i:s') , \" Write to Excel2007 format\" , PHP_EOL;\r\n$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');\r\n$objWriter->save(str_replace('.php', '.xlsx', __FILE__));\r\necho date('H:i:s') , \" File written to \" , str_replace('.php', '.xlsx', __FILE__) , PHP_EOL;\r\n\r\n\r\n// Echo memory peak usage\r\necho date('H:i:s') , \" Peak memory usage: \" , (memory_get_peak_usage(true) / 1024 / 1024) , \" MB\" , PHP_EOL;\r\n\r\n// Echo done\r\necho date('H:i:s') , \" Done writing file\" , PHP_EOL;\r\n"
  },
  {
    "path": "Examples/XMLTest.xml",
    "content": "<?xml version=\"1.0\"?>\r\n<?mso-application progid=\"Excel.Sheet\"?>\r\n<Workbook xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\"\r\n xmlns:o=\"urn:schemas-microsoft-com:office:office\"\r\n xmlns:x=\"urn:schemas-microsoft-com:office:excel\"\r\n xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\"\r\n xmlns:html=\"http://www.w3.org/TR/REC-html40\">\r\n <DocumentProperties xmlns=\"urn:schemas-microsoft-com:office:office\">\r\n  <Title>Excel 2003 XML Test Workbook</Title>\r\n  <Subject>This is a test workbook saved as Excel 2003 XML</Subject>\r\n  <Author>Mark Baker</Author>\r\n  <Keywords>PHPExcel Excel 2003 XML Reader</Keywords>\r\n  <Description>This is a test for the PHPExcel Reader for workbooks saved using Excel 2003's XML Format</Description>\r\n  <LastAuthor>Mark Baker</LastAuthor>\r\n  <Created>2009-09-11T08:26:08Z</Created>\r\n  <LastSaved>2009-09-17T22:53:09Z</LastSaved>\r\n  <Category>Reader</Category>\r\n  <Company>PHPExcel</Company>\r\n  <Version>14.00</Version>\r\n </DocumentProperties>\r\n <OfficeDocumentSettings xmlns=\"urn:schemas-microsoft-com:office:office\">\r\n  <AllowPNG/>\r\n </OfficeDocumentSettings>\r\n <ExcelWorkbook xmlns=\"urn:schemas-microsoft-com:office:excel\">\r\n  <WindowHeight>13176</WindowHeight>\r\n  <WindowWidth>28452</WindowWidth>\r\n  <WindowTopX>240</WindowTopX>\r\n  <WindowTopY>516</WindowTopY>\r\n  <ProtectStructure>False</ProtectStructure>\r\n  <ProtectWindows>False</ProtectWindows>\r\n </ExcelWorkbook>\r\n <Styles>\r\n  <Style ss:ID=\"Default\" ss:Name=\"Normal\">\r\n   <Alignment ss:Vertical=\"Bottom\"/>\r\n   <Borders/>\r\n   <Font ss:FontName=\"Calibri\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n   <Interior/>\r\n   <NumberFormat/>\r\n   <Protection/>\r\n  </Style>\r\n  <Style ss:ID=\"m42221568\">\r\n   <Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Center\"/>\r\n   <Borders>\r\n    <Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\"\r\n     ss:Color=\"#00B050\"/>\r\n    <Border ss:Position=\"Left\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\"\r\n     ss:Color=\"#0070C0\"/>\r\n    <Border ss:Position=\"Right\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\"\r\n     ss:Color=\"#FFFF00\"/>\r\n    <Border ss:Position=\"Top\" ss:LineStyle=\"Continuous\" ss:Weight=\"3\"\r\n     ss:Color=\"#FF0000\"/>\r\n   </Borders>\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s62\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#FF0000\" ss:Bold=\"1\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s63\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s64\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Bold=\"1\"\r\n    ss:Italic=\"1\" ss:Underline=\"Single\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s65\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Bold=\"1\"\r\n    ss:Underline=\"Single\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s66\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Bold=\"1\"/>\r\n   <Interior/>\r\n  </Style>\r\n  <Style ss:ID=\"s67\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n   <Interior/>\r\n  </Style>\r\n  <Style ss:ID=\"s68\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Bold=\"1\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s69\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Bold=\"1\"\r\n    ss:Italic=\"1\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s70\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Underline=\"Single\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s71\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\" ss:Italic=\"1\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s72\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n   <NumberFormat ss:Format=\"Short Date\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s73\">\r\n   <Borders>\r\n    <Border ss:Position=\"Top\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\"\r\n     ss:Color=\"#000000\"/>\r\n   </Borders>\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s74\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n   <NumberFormat ss:Format=\"#\\ ?/?\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s75\">\r\n   <Borders>\r\n    <Border ss:Position=\"Bottom\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\"\r\n     ss:Color=\"#000000\"/>\r\n   </Borders>\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s76\">\r\n   <Borders>\r\n    <Border ss:Position=\"Left\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\"\r\n     ss:Color=\"#000000\"/>\r\n   </Borders>\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s77\">\r\n   <Borders>\r\n    <Border ss:Position=\"Right\" ss:LineStyle=\"Continuous\" ss:Weight=\"2\"\r\n     ss:Color=\"#000000\"/>\r\n   </Borders>\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s85\">\r\n   <Borders>\r\n    <Border ss:Position=\"DiagonalLeft\" ss:LineStyle=\"Double\" ss:Weight=\"3\"\r\n     ss:Color=\"#FF0000\"/>\r\n    <Border ss:Position=\"DiagonalRight\" ss:LineStyle=\"Double\" ss:Weight=\"3\"\r\n     ss:Color=\"#FF0000\"/>\r\n   </Borders>\r\n  </Style>\r\n  <Style ss:ID=\"s86\">\r\n   <Alignment ss:Horizontal=\"Center\" ss:Vertical=\"Bottom\" ss:WrapText=\"1\"/>\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"12\" ss:Color=\"#000000\" ss:Bold=\"1\"\r\n    ss:Underline=\"Single\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s87\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n   <NumberFormat ss:Format=\"0.00;[Red]0.00\"/>\r\n  </Style>\r\n  <Style ss:ID=\"s88\">\r\n   <Font ss:FontName=\"Arial\" ss:Size=\"11\" ss:Color=\"#000000\"/>\r\n   <NumberFormat ss:Format=\"dd\\-mmm\\-yyyy\"/>\r\n  </Style>\r\n </Styles>\r\n <Worksheet ss:Name=\"Sample Data\">\r\n  <Table ss:ExpandedColumnCount=\"10\" ss:ExpandedRowCount=\"20\" x:FullColumns=\"1\"\r\n   x:FullRows=\"1\" ss:DefaultRowHeight=\"15\">\r\n   <Column ss:AutoFitWidth=\"0\" ss:Width=\"90.6\"/>\r\n   <Column ss:Index=\"4\" ss:AutoFitWidth=\"0\" ss:Width=\"33.6\"/>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:StyleID=\"s62\"><Data ss:Type=\"String\">Test String 1</Data></Cell>\r\n    <Cell ss:StyleID=\"s63\"><Data ss:Type=\"Number\">1</Data></Cell>\r\n    <Cell ss:StyleID=\"s63\"><Data ss:Type=\"Number\">5</Data></Cell>\r\n    <Cell ss:Index=\"5\" ss:StyleID=\"s64\"><Data ss:Type=\"String\">A</Data></Cell>\r\n    <Cell ss:StyleID=\"s65\"><Data ss:Type=\"String\">E</Data></Cell>\r\n    <Cell ss:Index=\"8\" ss:Formula=\"=RC[-6]+RC[-5]\"><Data ss:Type=\"Number\">6</Data></Cell>\r\n    <Cell ss:Index=\"10\" ss:Formula=\"=RC[-5]&amp;RC[-4]\"><Data ss:Type=\"String\">AE</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:StyleID=\"s66\"><Data ss:Type=\"String\">Test - String 2</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">2</Data></Cell>\r\n    <Cell ss:StyleID=\"s63\"><Data ss:Type=\"Number\">6</Data></Cell>\r\n    <Cell ss:Index=\"5\"><Data ss:Type=\"String\">B</Data></Cell>\r\n    <Cell><Data ss:Type=\"String\">F</Data></Cell>\r\n    <Cell ss:Index=\"8\" ss:Formula=\"=RC[-6]+RC[-5]\"><Data ss:Type=\"Number\">8</Data></Cell>\r\n    <Cell ss:Index=\"10\" ss:Formula=\"=RC[-5]&amp;RC[-4]\"><Data ss:Type=\"String\">BF</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:StyleID=\"s67\"><Data ss:Type=\"String\">Test #3</Data></Cell>\r\n    <Cell ss:StyleID=\"s63\"><Data ss:Type=\"Number\">3</Data></Cell>\r\n    <Cell ss:StyleID=\"s63\"><Data ss:Type=\"Number\">7</Data></Cell>\r\n    <Cell ss:Index=\"5\" ss:StyleID=\"s68\"><Data ss:Type=\"String\">C</Data></Cell>\r\n    <Cell ss:StyleID=\"s69\"><Data ss:Type=\"String\">G</Data></Cell>\r\n    <Cell ss:Index=\"8\" ss:Formula=\"=RC[-6]+RC[-5]\"><Data ss:Type=\"Number\">10</Data></Cell>\r\n    <Cell ss:Index=\"10\" ss:Formula=\"=RC[-5]&amp;RC[-4]\"><Data ss:Type=\"String\">CG</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:StyleID=\"s70\"><Data ss:Type=\"String\">Test with (&quot;) in string</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">4</Data></Cell>\r\n    <Cell ss:StyleID=\"s63\"><Data ss:Type=\"Number\">8</Data></Cell>\r\n    <Cell ss:Index=\"5\" ss:StyleID=\"s71\"><Data ss:Type=\"String\">D</Data></Cell>\r\n    <Cell><Data ss:Type=\"String\">H</Data></Cell>\r\n    <Cell ss:Index=\"8\" ss:Formula=\"=RC[-6]+RC[-5]\"><Data ss:Type=\"Number\">12</Data></Cell>\r\n    <Cell ss:Index=\"10\" ss:Formula=\"=RC[-5]&amp;RC[-4]\"><Data ss:Type=\"String\">DH</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"8\" ss:Formula=\"=SUM(R[-4]C[-6]:R[-1]C[-6])\"><Data\r\n      ss:Type=\"Number\">10</Data></Cell>\r\n    <Cell ss:Formula=\"=SUM(R[-4]C[-6]:R[-1]C[-6])\"><Data ss:Type=\"Number\">26</Data></Cell>\r\n    <Cell ss:Formula=\"=SUM(R[-4]C[-8]:R[-1]C[-7])\"><Data ss:Type=\"Number\">36</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"2\"><Data ss:Type=\"Number\">1.23</Data></Cell>\r\n    <Cell><Data ss:Type=\"Boolean\">1</Data></Cell>\r\n    <Cell ss:StyleID=\"s72\"/>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"2\"><Data ss:Type=\"Number\">2.34</Data></Cell>\r\n    <Cell><Data ss:Type=\"Boolean\">0</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"2\"><Data ss:Type=\"Number\">3.45</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\" ss:Height=\"13.5\"/>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:StyleID=\"s72\"><Data ss:Type=\"DateTime\">1960-12-19T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"3\" ss:StyleID=\"s73\"><Data ss:Type=\"String\">TOP</Data></Cell>\r\n    <Cell ss:Index=\"7\" ss:Formula=\"=#N/A\"><Data ss:Type=\"Error\">#N/A</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:StyleID=\"s74\"><Data ss:Type=\"Number\">1.5</Data></Cell>\r\n    <Cell ss:Index=\"7\" ss:Formula=\"=12/0\"><Data ss:Type=\"Error\">#DIV/0!</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\" ss:Height=\"13.5\">\r\n    <Cell ss:Index=\"3\" ss:StyleID=\"s75\"><Data ss:Type=\"String\">BOTTOM</Data></Cell>\r\n   </Row>\r\n   <Row ss:Index=\"14\" ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"3\" ss:StyleID=\"s76\"><Data ss:Type=\"String\">LEFT</Data></Cell>\r\n   </Row>\r\n   <Row ss:Index=\"16\" ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"3\" ss:StyleID=\"s77\"><Data ss:Type=\"String\">RIGHT</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\" ss:Height=\"13.5\"/>\r\n   <Row ss:AutoFitHeight=\"0\" ss:Height=\"13.5\">\r\n    <Cell ss:Index=\"2\" ss:MergeAcross=\"1\" ss:MergeDown=\"1\" ss:StyleID=\"m42221568\"><Data\r\n      ss:Type=\"String\">BOX</Data></Cell>\r\n    <Cell ss:Index=\"5\" ss:StyleID=\"s85\"/>\r\n    <Cell ss:Index=\"7\"><Data ss:Type=\"String\">Test Column 1</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"8\"><Data ss:Type=\"String\">Test Column 2</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell ss:Index=\"9\"><Data ss:Type=\"String\">Test Column 3</Data></Cell>\r\n   </Row>\r\n  </Table>\r\n  <WorksheetOptions xmlns=\"urn:schemas-microsoft-com:office:excel\">\r\n   <PageSetup>\r\n    <Header x:Margin=\"0.3\"/>\r\n    <Footer x:Margin=\"0.3\"/>\r\n    <PageMargins x:Bottom=\"0.75\" x:Left=\"0.7\" x:Right=\"0.7\" x:Top=\"0.75\"/>\r\n   </PageSetup>\r\n   <Unsynced/>\r\n   <Print>\r\n    <ValidPrinterInfo/>\r\n    <HorizontalResolution>600</HorizontalResolution>\r\n    <VerticalResolution>600</VerticalResolution>\r\n   </Print>\r\n   <Selected/>\r\n   <Panes>\r\n    <Pane>\r\n     <Number>3</Number>\r\n     <ActiveRow>17</ActiveRow>\r\n     <ActiveCol>4</ActiveCol>\r\n    </Pane>\r\n   </Panes>\r\n   <ProtectObjects>False</ProtectObjects>\r\n   <ProtectScenarios>False</ProtectScenarios>\r\n   <AllowFormatCells/>\r\n   <AllowSizeCols/>\r\n   <AllowSizeRows/>\r\n   <AllowInsertCols/>\r\n   <AllowInsertRows/>\r\n   <AllowInsertHyperlinks/>\r\n   <AllowDeleteCols/>\r\n   <AllowDeleteRows/>\r\n   <AllowSort/>\r\n   <AllowFilter/>\r\n   <AllowUsePivotTables/>\r\n  </WorksheetOptions>\r\n </Worksheet>\r\n <Worksheet ss:Name=\"Report Data\">\r\n  <Table ss:ExpandedColumnCount=\"7\" ss:ExpandedRowCount=\"14\" x:FullColumns=\"1\"\r\n   x:FullRows=\"1\" ss:DefaultRowHeight=\"15\">\r\n   <Column ss:AutoFitWidth=\"0\" ss:Width=\"66.600000000000009\"/>\r\n   <Column ss:AutoFitWidth=\"0\" ss:Width=\"68.399999999999991\"/>\r\n   <Column ss:AutoFitWidth=\"0\" ss:Width=\"62.400000000000006\"/>\r\n   <Column ss:Width=\"69.599999999999994\"/>\r\n   <Column ss:Index=\"6\" ss:Width=\"69.599999999999994\"/>\r\n   <Column ss:AutoFitWidth=\"0\" ss:Width=\"64.8\"/>\r\n   <Row ss:AutoFitHeight=\"0\" ss:Height=\"31.5\">\r\n    <Cell ss:StyleID=\"s86\"><Data ss:Type=\"String\">Heading 1</Data></Cell>\r\n    <Cell ss:StyleID=\"s86\"><Data ss:Type=\"String\">Heading 2</Data></Cell>\r\n    <Cell ss:StyleID=\"s86\"><Data ss:Type=\"String\">Third Heading</Data></Cell>\r\n    <Cell ss:StyleID=\"s86\"><Data ss:Type=\"String\">Date Heading</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s86\"><Data ss:Type=\"String\">Adjusted Date</Data></Cell>\r\n    <Cell ss:StyleID=\"s86\"><Data ss:Type=\"String\">Adjusted Number</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">ABC</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">1</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">1.1100000000000001</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2001-01-01T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2000-12-31T00:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">1.1100000000000001</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">BCD</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">2</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">2.2200000000000002</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2002-02-02T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2002-01-31T00:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">4.4400000000000004</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">CDE</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">3</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">3.33</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2003-03-03T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2003-02-28T00:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">9.99</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">DEF</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">4</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">4.4400000000000004</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2004-04-03T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2004-03-30T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">17.760000000000002</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">EFG</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">5</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">5.55</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2005-05-04T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2005-04-29T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">27.75</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">FGH</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">6</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">6.66</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2006-06-05T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2006-05-30T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">39.96</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">GHI</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">7</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">7.77</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2007-07-06T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2007-06-29T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">54.39</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">HIJ</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">8</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">8.8800000000000008</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2008-08-07T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2008-07-30T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">71.040000000000006</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">IJK</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">9</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">9.99</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2009-09-08T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2009-08-30T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">89.91</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">JKL</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">10</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">11.1</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2010-10-09T23:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2010-09-29T23:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">111</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">KLM</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">11</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">12.21</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2011-11-11T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2011-10-31T00:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">134.31</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">LMN</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">12</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">13.32</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">2012-12-12T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">2012-11-30T00:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">159.84</Data></Cell>\r\n   </Row>\r\n   <Row ss:AutoFitHeight=\"0\">\r\n    <Cell><Data ss:Type=\"String\">ZYX</Data></Cell>\r\n    <Cell><Data ss:Type=\"Number\">-1</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\"><Data ss:Type=\"Number\">-1.1100000000000001</Data></Cell>\r\n    <Cell ss:StyleID=\"s88\"><Data ss:Type=\"DateTime\">1999-12-01T00:00:00.000</Data></Cell>\r\n    <Cell ss:Index=\"6\" ss:StyleID=\"s88\" ss:Formula=\"=RC[-2]-RC[-4]\"><Data\r\n      ss:Type=\"DateTime\">1999-12-02T00:00:00.000</Data></Cell>\r\n    <Cell ss:StyleID=\"s87\" ss:Formula=\"=RC[-5]*RC[-4]\"><Data ss:Type=\"Number\">1.1100000000000001</Data></Cell>\r\n   </Row>\r\n  </Table>\r\n  <WorksheetOptions xmlns=\"urn:schemas-microsoft-com:office:excel\">\r\n   <PageSetup>\r\n    <Header x:Margin=\"0.3\"/>\r\n    <Footer x:Margin=\"0.3\"/>\r\n    <PageMargins x:Bottom=\"0.75\" x:Left=\"0.7\" x:Right=\"0.7\" x:Top=\"0.75\"/>\r\n   </PageSetup>\r\n   <Unsynced/>\r\n   <Print>\r\n    <ValidPrinterInfo/>\r\n    <HorizontalResolution>600</HorizontalResolution>\r\n    <VerticalResolution>600</VerticalResolution>\r\n   </Print>\r\n   <ProtectObjects>False</ProtectObjects>\r\n   <ProtectScenarios>False</ProtectScenarios>\r\n   <AllowFormatCells/>\r\n   <AllowSizeCols/>\r\n   <AllowSizeRows/>\r\n   <AllowInsertCols/>\r\n   <AllowInsertRows/>\r\n   <AllowInsertHyperlinks/>\r\n   <AllowDeleteCols/>\r\n   <AllowDeleteRows/>\r\n   <AllowSort/>\r\n   <AllowFilter/>\r\n   <AllowUsePivotTables/>\r\n  </WorksheetOptions>\r\n  <ConditionalFormatting xmlns=\"urn:schemas-microsoft-com:office:excel\">\r\n   <Range>R2C3:R14C3</Range>\r\n   <Condition>\r\n    <Qualifier>Greater</Qualifier>\r\n    <Value1>0</Value1>\r\n    <Format Style='color:#006100;background:#C6EFCE'/>\r\n   </Condition>\r\n   <Condition>\r\n    <Qualifier>Less</Qualifier>\r\n    <Value1>0</Value1>\r\n    <Format Style='color:#9C0006;background:#FFC7CE'/>\r\n   </Condition>\r\n  </ConditionalFormatting>\r\n </Worksheet>\r\n</Workbook>\r\n"
  },
  {
    "path": "Examples/data/continents/Africa.txt",
    "content": "Algeria\nAngola\nBenin\nBotswana\nBurkina\nBurundi\nCameroon\nCape Verde\nCentral African Republic\nChad\nComoros\nCongo\nCongo, Democratic Republic of\nDjibouti\nEgypt\nEquatorial Guinea\nEritrea\nEthiopia\nGabon\nGambia\nGhana\nGuinea\nGuinea-Bissau\nIvory Coast\nKenya\nLesotho\nLiberia\nLibya\nMadagascar\nMalawi\nMali\nMauritania\nMauritius\nMorocco\nMozambique\nNamibia\nNiger\nNigeria\nRwanda\nSao Tome and Principe \nSenegal\nSeychelles\nSierra Leone\nSomalia\nSouth Africa\nSouth Sudan\nSudan\nSwaziland\nTanzania\nTogo\nTunisia\nUganda\nZambia\nZimbabwe\n"
  },
  {
    "path": "Examples/data/continents/Asia.txt",
    "content": "Afghanistan\nBahrain\nBangladesh\nBhutan\nBrunei\nBurma (Myanmar)\nCambodia\nChina\nEast Timor\nIndia\nIndonesia\nIran\nIraq\nIsrael\nJapan\nJordan\nKazakhstan\nKorea, North\nKorea, South\nKuwait\nKyrgyzstan\nLaos\nLebanon\nMalaysia\nMaldives\nMongolia\nNepal\nOman\nPakistan\nPhilippines\nQatar\nRussian Federation\nSaudi Arabia\nSingapore\nSri Lanka\nSyria\nTajikistan\nThailand\nTurkey\nTurkmenistan\nUnited Arab Emirates\nUzbekistan\nVietnam\nYemen\n"
  },
  {
    "path": "Examples/data/continents/Europe.txt",
    "content": "Albania\nAndorra\nArmenia\nAustria\nAzerbaijan\nBelarus\nBelgium\nBosnia and Herzegovina\nBulgaria\nCroatia\nCyprus\nCzech Republic\nDenmark\nEstonia\nFinland\nFrance\nGeorgia\nGermany\nGreece\nHungary\nIceland\nIreland\nItaly\nLatvia\nLiechtenstein\nLithuania\nLuxembourg\nMacedonia\nMalta\nMoldova\nMonaco\nMontenegro\nNetherlands\nNorway\nPoland\nPortugal\nRomania\nSan Marino\nSerbia\nSlovakia\nSlovenia\nSpain\nSweden\nSwitzerland\nUkraine\nUnited Kingdom\nVatican City\n"
  },
  {
    "path": "Examples/data/continents/North America.txt",
    "content": "Antigua and Barbuda\nBahamas\nBarbados\nBelize\nCanada\nCosta Rica\nCuba\nDominica\nDominican Republic\nEl Salvador\nGrenada\nGuatemala\nHaiti\nHonduras\nJamaica\nMexico\nNicaragua\nPanama\nSaint Kitts and Nevis\nSaint Lucia\nSaint Vincent and the Grenadines\nTrinidad and Tobago\nUnited States\n"
  },
  {
    "path": "Examples/data/continents/Oceania.txt",
    "content": "Australia\nFiji\nKiribati\nMarshall Islands\nMicronesia\nNauru\nNew Zealand\nPalau\nPapua New Guinea\nSamoa\nSolomon Islands\nTonga\nTuvalu\nVanuatu\n"
  },
  {
    "path": "Examples/data/continents/South America.txt",
    "content": "Argentina\nBolivia\nBrazil\nChile\nColombia\nEcuador\nGuyana\nParaguay\nPeru\nSuriname\nUruguay\nVenezuela\n"
  },
  {
    "path": "Examples/runall.php",
    "content": "<?php\n/**\n * PHPExcel\n *\n * Copyright (c) 2006 - 2015 PHPExcel\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * @category   PHPExcel\n * @package    PHPExcel\n * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)\n * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n * @version    ##VERSION##, ##DATE##\n */\n\n/** Error reporting */\nerror_reporting(E_ALL);\n\nif (PHP_SAPI != 'cli') {\n\tdie ('This script executes all tests, and should only be run from the command line');\n}\n\n// List of tests\n$aTests = array(\n\t  '01simple.php'\n\t, '01simplePCLZip.php'\n\t, '02types.php'\n\t, '02types-xls.php'\n\t, '03formulas.php'\n\t, '04printing.php'\n\t, '05featuredemo.php'\n\t, '06largescale.php'\n\t, '06largescale-with-cellcaching.php'\n\t, '06largescale-with-cellcaching-sqlite.php'\n\t, '06largescale-with-cellcaching-sqlite3.php'\n\t, '06largescale-xls.php'\n\t, '07reader.php'\n\t, '07readerPCLZip.php'\n\t, '08conditionalformatting.php'\n\t, '08conditionalformatting2.php'\n\t, '09pagebreaks.php'\n\t, '10autofilter.php'\n\t, '10autofilter-selection-1.php'\n\t, '10autofilter-selection-2.php'\n\t, '10autofilter-selection-display.php'\n\t, '11documentsecurity.php'\n\t, '11documentsecurity-xls.php'\n\t, '12cellProtection.php'\n\t, '13calculation.php'\n    , '13calculationCyclicFormulae.php'\n\t, '14excel5.php'\n\t, '15datavalidation.php'\n\t, '15datavalidation-xls.php'\n\t, '16csv.php'\n\t, '17html.php'\n\t, '18extendedcalculation.php'\n\t, '19namedrange.php'\n\t, '20readexcel5.php'\n\t, '21pdf.php'\n\t, '22heavilyformatted.php'\n\t, '23sharedstyles.php'\n\t, '24readfilter.php'\n\t, '25inmemoryimage.php'\n\t, '26utf8.php'\n\t, '27imagesexcel5.php'\n\t, '28iterator.php'\n\t, '29advancedvaluebinder.php'\n\t, '30template.php'\n\t, '31docproperties_write.php'\n\t, '31docproperties_write-xls.php'\n\t, '32chartreadwrite.php'\n\t, '33chartcreate-area.php'\n\t, '33chartcreate-bar.php'\n\t, '33chartcreate-bar-stacked.php'\n\t, '33chartcreate-column.php'\n\t, '33chartcreate-column-2.php'\n\t, '33chartcreate-line.php'\n\t, '33chartcreate-pie.php'\n\t, '33chartcreate-radar.php'\n\t, '33chartcreate-stock.php'\n\t, '33chartcreate-multiple-charts.php'\n\t, '33chartcreate-composite.php'\n\t, '34chartupdate.php'\n\t, '35chartrender.php'\n\t, '36chartreadwriteHTML.php'\n\t, '36chartreadwritePDF.php'\n\t, '37page_layout_view.php'\n\t, '38cloneWorksheet.php'\n    , '39dropdown.php'\n\t, '40duplicateStyle.php'\n\t, '41password.php'\n\t, '42richText.php'\n    , '43mergeWorkbooks.php'\n    , '44worksheetInfo.php'\n\t, 'OOCalcReader.php'\n\t, 'OOCalcReaderPCLZip.php'\n\t, 'SylkReader.php'\n\t, 'Excel2003XMLReader.php'\n\t, 'XMLReader.php'\n\t, 'GnumericReader.php'\n);\n\n// First, clear all previous run results\nforeach ($aTests as $sTest) {\n\t@unlink( str_replace('.php', '.xls', \t$sTest) );\n\t@unlink( str_replace('.php', '.xlsx', \t$sTest) );\n\t@unlink( str_replace('.php', '.csv',\t$sTest) );\n\t@unlink( str_replace('.php', '.htm',\t$sTest) );\n\t@unlink( str_replace('.php', '.pdf',\t$sTest) );\n}\n\n// Run all tests\nforeach ($aTests as $sTest) {\n\techo '============== TEST ==============' . \"\\r\\n\";\n\techo 'Test name: ' . $sTest . \"\\r\\n\";\n\techo \"\\r\\n\";\n\techo shell_exec('php ' . $sTest);\n\techo \"\\r\\n\";\n\techo \"\\r\\n\";\n}"
  },
  {
    "path": "README.md",
    "content": "# PHPExcel - DEAD\n\nPHPExcel last version, 1.8.1, was released in 2015. The project was officially deprecated in 2017 and permanently archived in 2019.\n\nThe project has not be maintained for years and must not be used anymore. **All users must migrate** to its direct successor [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet), or another alternative.\n\n## License\n\nPHPExcel is licensed under [LGPL (GNU LESSER GENERAL PUBLIC LICENSE)](https://github.com/PHPOffice/PHPExcel/blob/master/license.md)\n"
  },
  {
    "path": "changelog.txt",
    "content": "**************************************************************************************\n* PHPExcel\n*\n* Copyright (c) 2006 - 2014 PHPExcel\n*\n* This library is free software; you can redistribute it and/or\n* modify it under the terms of the GNU Lesser General Public\n* License as published by the Free Software Foundation; either\n* version 2.1 of the License, or (at your option) any later version.\n*\n* This library is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n* Lesser General Public License for more details.\n*\n* You should have received a copy of the GNU Lesser General Public\n* License along with this library; if not, write to the Free Software\n* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\n* @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)\n* @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL\n* @version    ##VERSION##, ##DATE##\n**************************************************************************************\n\n\nPlanned for 1.8.2\n- Bugfix:   (MBaker)                            - Fix to getCell() method when cell reference includes a worksheet reference\n- Bugfix:   (ncrypthic)       Work Item GH-570  - Ignore inlineStr type if formula element exists\n- Bugfix:   (hernst42)        Work Item GH-709  - Fixed missing renames of writeRelationShip (from _writeRelationShip)\n- General:  (umpirsky)        Work Item GH-548  - Optimize vlookup() sort\n- Bugfix:   (MBaker)          Work Item GH-554  - Whitespace after toRichTextObject()\n- Feature:  (MBaker)                            - Initial implementation of SUMIFS() function\n- Feature:  (MBaker)                            - Additional codepages\n- Feature:  (Tomino2112)      Work Item GH-808  - MemoryDrawing not working in HTML writer\n- General:  (rentalhost)      Work Item GH-575  - Excel 2007 Reader freezes because of conditional formatting\n- Bugfix:   (vitalyrepin)     Pull Request 869  - c:max and c:min elements shall NOT be inside c:orientation elements\n- General:  (sim642)          Pull Request 489  - Implement actual timezone adjustment into PHPExcel_Shared_Date::PHPToExcel\n\n\n2015-04-30 (v1.8.1):\n- Bugfix:   (goncons)         Work Item GH-397  - Fix for Writing an Open Document cell with non-numeric formula\n- Bugfix:   (sarciszewski)    Work Item GH-329  - Avoid potential divide by zero in basedrawing\n- Bugfix:   (ymaerschalck)    Work Item GH-405  - XML External Entity (XXE) Processing, different behaviour between simplexml_load_string() and simplexml_load_file().\n- Bugfix:   (MBaker)                            - Fix to ensure that current cell is maintained when executing formula calculations\n- Bugfix:   (MBaker)          Work Item GH-350  - Keep/set the value on Reader _loadSheetsOnly as NULL, courtesy of Restless-ET \n- Bugfix:   (MBaker)          Work Item CP18105 - Loading an Excel 2007 spreadsheet throws an \"Autofilter must be set on a range of cells\" exception\n- Bugfix:   (MBaker)          Work Item GH-388  - Fix to autoloader registration for backward compatibility with PHP 5.2.0 not accepting the prepend flag\n- Bugfix:   (MBaker)          Work Item GH-384  - DOM loadHTMLFile() failing with options flags when using PHP < 5.4.0\n- Bugfix:   (MBaker)                            - Fix for percentage operator in formulae for BIFF Writer\n- Bugfix:   (MBaker)                            - Fix to getStyle() call for cell object\n- Bugfix:   (MBaker)                            - Discard Autofilters in Excel2007 Reader when filter range isn't a valid range\n- Bugfix:   (frozenstupidity) Work Item GH-423  - Fix invalid NA return in VLOOKUP\n- Bugfix:   (wiseloren)       Work Item CP21454 - \"No Impact\" conditional formatting fix for NumberFormat\n- Bugfix:   (bobwitlox)       Work Item GH-467  - Bug in Excel2003XML reader, parsing merged cells\n- Bugfix:   (MBaker)          Work Item GH-302  - Fix for CEIL() and FLOOR() when number argument is zero\n- Bugfix:   (MBaker)                            - Remove cells cleanly when calling RemoveRow() or RemoveColumn()\n- General:  (MBaker)                            - Small performance improvement for autosize columns\n- General:  (frost-nzcr4)     Work Item GH-379  - Change the getter/setter for zeroHeight to camel case\n- General:  (MBaker)          Work Item GH-394  - DefaultValueBinder is too much aggressive when converting string to numeric\n- General:  (MBaker)                            - Default precalculate formulas to false for writers\n- General:  (MBaker)                            - Set default Cyclic Reference behaviour to 1 to eliminate exception when using a single cyclic iteration in formulae\n- General:  (MBaker)          Work Item GH-396  - Some Excel writer libraries erroneously use Codepage 21010 for UTF-16LE\n- Feature:  (WiktrzGE)        Work Item GH-404  - Methods to manage most of the existing options for Chart Axis, Major Grid-lines and Minor Grid-lines\n- Feature:  (frost-nzcr4)     Work Item GH-403  - ODS read/write comments in the cell\n- Feature:  (CQD)             Work Item GH-389  - Additional Mac CJK codepage definitions\n- Feature:  (bolovincev)      Work Item GH-269  - Update Worksheet.php getStyleByColumnAndRow() to allow a range of cells rather than just a single cell\n- Feature:  (MBaker)                            - New methods added for testing cell status within merge groups\n- Feature:  (cifren/MBaker)   Work Item GH-205  - Handling merge cells in HTML Reader\n- Feature:  (MBaker)                            - Helper to convert basic HTML markup to a Rich Text object\n- Feature:  (MBaker)                            - Improved Iterators\n                                                    New Column Iterator\n                                                    Support for row and column ranges\n                                                    Improved handling for next/prev\n- Security: (MBaker)                            - XML filescan in XML-based Readers to prevent XML Entity Expansion (XEE)\n                                                    (see http://projects.webappsec.org/w/page/13247002/XML%20Entity%20Expansion for an explanation of XEE injection) attacks\n                                                  Reference CVE-2015-3542 - Identification of problem courtesy of Dawid Golunski (Pentest Ltd.)\n\n2014-03-02 (v1.8.0):\n- Bugfix:   (MBaker)          Work item CP19830 - Undefined variable: fileHandle in CSV Reader\n- Bugfix:   (MBaker)          Work item CP19968 - Out of memory in style/supervisor.php\n- Bugfix:   (MBaker)                            - Style error with merged cells in PDF Writer\n- Bugfix:   (MBaker)                            - Problem with cloning worksheets\n- Bugfix:   (tavoarcila)      Work Item GH-259  - Bug fix reading Open Office files\n- Bugfix:   (MBaker)          Work item CP20397 - Serious bug in absolute cell reference used in shared formula\n                                                  Would also have affected insert/delete column/row\n- Bugfix:   (RomanSyroeshko)  Work Item GH-267  - CHOOSE() returns \"#VALUE!\" if the 1st entry is chosen\n- Bugfix:   (Gemorroj)        Work Item GH-268  - When duplicating styles, styles shifted by one column to the right\n                                                  Fix also applied to duplicating conditional styles\n- Bugfix:   (IndrekHaav)      Work Item GH-212  - Fix for formulae that reference a sheet whose name begins with a digit:\n                                                  these were erroneously identified as numeric values, causing the parser to throw an undefined variable error.\n- Bugfix:   (IndrekHaav)      Work Item CP16208 - Fixed undefined variable error due to $styleArray being used before it's initialised\n- Bugfix:   (PowerKiKi)       Work Item GH-273  - ISTEXT() return wrong result if referencing an empty but formatted cell\n- Bugfix:   (PowerKiKi)       Work Item GH-270/GH-31  - Binary comparison of strings are case insensitive\n- Bugfix:   (MBaker)          Work Item GH-275  - Insert New Row/Column Before is not correctly updating formula references\n- Bugfix:   (MBaker)          Work Item GH-257  - Passing an array of cells to _generateRow() in the HTML/PDF Writer causes caching problems with last cell in the range\n- Bugfix:   (MBaker)          Work Item GH-193  - Fix to empty worksheet garbage collection when using cell caching\n- Bugfix:   (Jazzo)           Work Item GH-248  - Excel2007 does not correctly mark rows as hidden\n- Bugfix:   (Roy Shahbazian)  Work Item GH-299  - Fixed typo in Chart/Layout set/getYMode()\n- Bugfix:   (EliuFlorez)      Work item GH-279  - Fatal error: Call to a member function cellExists() line: 3327 in calculation.php if referenced worksheet doesn't exist\n- Bugfix:   (MBaker)          Work Item GH-290  - AdvancedValueBinder \"Division by zero\"-error\n- Bugfix:   (MBaker)          Work Item CP20604 - Adding Sheet to Workbook Bug\n- Bugfix:   (MBaker)          Work item CP20703 - Calculation engine incorrectly evaluates empty cells as #VALUE\n- Bugfix:   (MBaker)          Work item CP20760 - Formula references to cell on another sheet in ODS files\n- Bugfix:   (MBaker)          Work item GH321,GH158,CP17824 - LibreOffice created XLSX files results in an empty file.\n- Feature:  (amerov)                            - Implementation of the Excel HLOOKUP() function\n- Feature:  (MBaker)                            - Added \"Quote Prefix\" to style settings (Excel2007 Reader and Writer only)\n- Feature:  (MBaker)                            - Added Horizontal FILL alignment for Excel5 and Excel2007 Readers/Writers, and Horizontal DISTRIBUTED alignment for Excel2007 Reader/Writer\n- Feature:  (trvrnrth)        Work Item GH-261  - Add support for reading protected (RC4 encrypted) .xls files\n- Feature:  (LWol)            Work Item GH-252  - Adding support for macros, Ribbon in Excel 2007\n- General:  (cdhutch)         Work item CP20055 - Remove array_shift in ReferenceHelper::insertNewBefore improves column or row delete speed\n- General:  (MBaker)                            - Improve stock chart handling and rendering, with help from Swashata Ghosh\n- General:  (MBaker)                            - Fix to calculation properties for Excel2007 so that the opening application will only recalculate on load if it's actually required\n- General:  (MBaker)                            - Modified Excel2007 Writer to default preCalculateFormulas to false\n                                                  Note that autosize columns will still recalculate affected formulae internally\n- General:  (dresenhista)     Work Item GH-242  - Functionality to getHighestRow() for a specified column, and getHighestColumn() for a specified row\n- General:  (adamriyadi)      Work Item GH-247  - Modify PHPExcel_Reader_Excel2007 to use zipClass from PHPExcel_Settings::getZipClass()\n                                                  This allows the use of PCLZip when reading for people that don't have access to ZipArchive\n- General:  (infojunkie)      Work Item GH-276  - Convert properties to string in OOCalc reader\n- Security: (maartenba)       Work Item GH-322  - Disable libxml external entity loading by default.\n                                                  This is to prevent XML External Entity Processing (XXE) injection attacks (see http://websec.io/2012/08/27/Preventing-XEE-in-PHP.html for an explanation of XXE injection).\n                                                  Reference CVE-2014-2054\n\n\n2013-06-02 (v1.7.9):\n- Feature:  (MBaker)    Include charts option for HTML Writer\n- Feature:  (MBaker)    Added composer file\n- Feature:  (MBaker)    Added getStyle() method to Cell object\n- Bugfix:   (Asker)     Work item 18777  - Error in PHPEXCEL/Calculation.php script on line 2976 (stack pop check)\n- Bugfix:   (MBaker)    Work item 18794  - CSV files without a file extension being identified as HTML\n- Bugfix:   (AndreKR)   Work item GH-66  - Wrong check for maximum number of rows in Excel5 Writer\n- Bugfix:   (MBaker)    Work item GH-67  - Cache directory for DiscISAM cache storage cannot be set\n- Bugfix:   (MBaker)    Work item 17976  - Fix to Excel2007 Reader for hyperlinks with an anchor fragment (following a #), otherwise they were treated as sheet references\n- Bugfix:   (MBaker)    Work item 18963  - getSheetNames() fails on numeric (floating point style) names with trailing zeroes\n- Bugfix:   (MBaker)    Work item GH-130 - Single cell print area\n- General:  (kea)       Work item GH-69  - Improved AdvancedValueBinder for currency\n- General:  (MBaker)    Work items 17936 and 17840 - Fix for environments where there is no access to /tmp but to upload_tmp_dir\n                        Provided an option to set the sys_get_temp_dir() call to use the upload_tmp_dir; though by default the standard temp directory will still be used\n- General:  (amironov ) Work item GH-84  - Search style by identity in PHPExcel_Worksheet::duplicateStyle()\n- General:  (karak)     Work item GH-85  - Fill SheetView IO in Excel5\n- General:  (cfhay)     Work item 18958  - Memory and Speed improvements in PHPExcel_Reader_Excel5\n- General:  (MBaker)    Work item GH-78  - Modify listWorksheetNames() and listWorksheetInfo to use XMLReader with streamed XML rather than SimpleXML\n- General:  (dbonsch)                      Restructuring of PHPExcel Exceptions\n- General:  (MBaker)    Work items 16926 and 15145 - Refactor Calculation Engine from singleton to a Multiton\n                        Ensures that calculation cache is maintained independently for different workbooks\n- General:  (MBaker)                       Modify cell's getCalculatedValue() method to return the content of RichText objects rather than the RichText object itself\n- Bugfix:   (techhead)  Work item GH-70  - Fixed formula/formatting bug when removing rows\n- Bugfix:   (alexgann)  Work item GH-63  - Fix to cellExists for non-existent namedRanges\n- Bugfix:   (MBaker)    Work item 18844  - cache_in_memory_gzip \"eats\" last worksheet line, cache_in_memory doesn't\n- Feature:  (Progi1984) Work item GH-22  - Sheet View in Excel5 Writer\n- Bugfix:   (amironov)  Work item GH-82  - PHPExcel_Worksheet::getCellCollection() may not return last cached cell\n- Bugfix:   (teso)      Work item 18551  - Rich Text containing UTF-8 characters creating unreadable content with Excel5 Writer\n- Bugfix:   (MBaker)    Work item GH-104 - echo statements in HTML.php\n- Feature:  (Progi1984) Work item GH-8/CP11704 : Conditional formatting in Excel 5 Writer\n- Bugfix:   (MBaker)    Work item GH-113 - canRead() Error for GoogleDocs ODS files: in ODS files from Google Docs there is no mimetype file\n- Bugfix:   (MBaker)    Work item GH-80  - \"Sheet index is out of bounds.\" Exception\n- Bugfix:   (ccorliss)  Work item GH-105 - Fixed number format fatal error\n- Bugfix:   (MBaker)                     - Add DROP TABLE in destructor for SQLite and SQLite3 cache controllers\n- Bugfix:   (alexgann)  Work item GH-154 - Fix merged-cell borders on HTML/PDF output\n- Bugfix:   (Shanto)    Work item GH-161 - Fix: Hyperlinks break when removing rows\n- Bugfix:   (neclimdul) Work item GH-166 - Fix Extra Table Row From Images and Charts\n\n\n2012-10-12 (v1.7.8):\n- Special:  (kkamkou)    Phar builder script to add phar file as a distribution option\n- Feature:  (MBaker)     Refactor PDF Writer to allow use with a choice of PDF Rendering library\n                         rather than restricting to tcPDF\n                         Current options are tcPDF, mPDF, DomPDF\n                         tcPDF Library has now been removed from the deployment bundle\n- Feature:  (MBaker)     Initial version of HTML Reader\n- Feature:  (Progi1984) & (blazzy) Work items 9605 - Implement support for AutoFilter in PHPExcel_Writer_Excel5\n- Feature:  (MBaker)     Modified ERF and ERFC Engineering functions to accept Excel 2010's modified acceptance of negative arguments\n- Feature:  (k1LoW)      Support SheetView `view` attribute (Excel2007)\n- Feature:  (MBaker)     Excel compatibility option added for writing CSV files\n                         While Excel 2010 can read CSV files with a simple UTF-8 BOM, Excel2007 and earlier require UTF-16LE encoded tab-separated files.\n                         The new setExcelCompatibility(TRUE) option for the CSV Writer will generate files with this formatting for easy import into Excel2007 and below.\n- Feature:  (MBaker)     Language implementations for Turkish (tr)\n- Feature:  (MBaker)     Added fraction tests to advanced value binder\n- Feature:  (MBaker)     Allow call to font setUnderline() for underline format to specify a simple boolean for UNDERLINE_NONE or UNDERLINE_SINGLE\n- General:  (alexgann)   Add Currency detection to the Advanced Value Binder\n- General:  (MBaker)     Work item 18404 - setCellValueExplicitByColumnAndRow() do not return PHPExcel_Worksheet\n- General:  (MBaker)     Work item 18324 - Reader factory doesn't read anymore XLTX and XLT files\n- General:  (MBaker)     Magic __toString() method added to Cell object to return raw data value as a string\n- General:  (alexgann)   Add cell indent to html rendering\n- General:  (Raghav1981) ZeroHeight for rows in sheet format\n- Bugfix:   (cyberconte) Patch 12318 - OOCalc cells containing <text:span> inside the <text:p> tag\n- Bugfix:   (schir1964)  Fix to listWorksheetInfo() method for OOCalc Reader\n- Bugfix:   (MBaker)     Support for \"e\" (epoch) date format mask\n                         Rendered as a 4-digit CE year in non-Excel outputs\n- Bugfix:   (MBaker)     Work items 15799 and 18278 - Background color cell is always black when editing cell\n- Bugfix:   (MBaker)     Work items 15905 and 18183 - Allow \"no impact\" to formats on Conditional Formatting\n- Bugfix:   (wackonline) OOCalc Reader fix for NULL cells\n- Bugfix:   (seltzlab)   Fix to excel2007 Chart Writer when a $plotSeriesValues is empty\n- Bugfix:   (MBaker)     Various fixes to Chart handling\n- Bugfix:   (MBaker)     Work item 18370 - Error loading xlsx file with column breaks\n- Bugfix:   (MBaker)     OOCalc Reader now handles percentage and currency data types\n- Bugfix:   (MBaker)     Work Item 18415 - mb_stripos empty delimiter\n- Bugfix:   (takaakik)   Work Item 15455 - getNestingLevel() Error on Excel5 Read\n- Bugfix:   (MBaker)     Fix to Excel5 Reader when cell annotations are defined before their referenced text objects\n- Bugfix:   (MBaker)     OOCalc Reader modified to process number-rows-repeated\n- Bugfix:   (MBaker)     Work item 18377 - Chart Title compatibility on Excel 2007\n- Bugfix:   (MBaker)     Work item 18146 - Chart Refresh returning cell reference rather than values\n- Bugfix:   (MBaker)     Work item 18145 - Autoshape being identified in twoCellAnchor when includeCharts is TRUE triggering load error\n- Bugfix:   (MBaker)     Work item 18325 - v-type texts for series labels now recognised and parsed correctly\n- Bugfix:   (wolf5x)     Work item 18492 - load file failed if the file has no extensionType\n- Bugfix:   (dverspui)   Pattern fill colours in Excel2007 Style Writer\n- Bugfix:   (MBaker)     Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack\n- Bugfix:   (MBaker)     Work item 18425 - Problems with $_activeSheetIndex when decreased below 0.\n- Bugfix:   (MBaker)     Work item 18597 - PHPExcel_CachedObjectStorage_SQLite3::cacheMethodIsAvailable() uses class_exists - autoloader throws error\n- Bugfix:   (MBaker)     Work item 18598 - Cannot access private property PHPExcel_CachedObjectStorageFactory::$_cacheStorageMethod\n- Bugfix:   (MBaker)     Work item 18397 - Data titles for charts\n                         PHPExcel_Chart_Layout now has methods for getting/setting switches for displaying/hiding chart data labels\n- Bugfix:   (MBaker)     Discard single cell merge ranges when reading (stupid that Excel allows them in the first place)\n- Bugfix:   (MBaker)     Discard hidden autoFilter named ranges\n\n\n2012-05-19 (v1.7.7):\n- Bugfix:   (Progi1984) Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5\n- Bugfix:   (cyberconte) Work item 17471 - OOCalc cells contain same data bug?\n- Feature:  (schir1964) listWorksheetInfo() method added to Readers... courtesy of Christopher Mullins\n- Feature:  (MBaker)    Options for cell caching using Igbinary and SQLite/SQlite3.\n- Feature:  (MBaker)    Additional row iterator options: allow a start row to be defined in the constructor; seek(), and prev() methods added.\n- Feature:  (Progi1984) Work item 9759 - Implement document properties in Excel5 writer\n- Feature:  (MBaker)    Work item 16 - Implement chart functionality (EXPERIMENTAL)\n                        Initial definition of chart objects.\n                        Reading Chart definitions through the Excel2007 Reader\n                        Facility to render charts to images using the 3rd-party jpgraph library\n                        Writing Charts using the Excel2007 Writer\n- General:  (MBaker)    Fix to build to ensure that Examples are included with the documentation\n- General:  (MBaker)    Reduce cell caching overhead using dirty flag to ensure that cells are only rewritten to the cache if they have actually been changed\n- General:  (MBaker)    Improved memory usage in CSV Writer\n- General:  (MBaker)    Improved speed and memory usage in Excel5 Writer\n- General:  (MBaker)    Experimental -\n                        Added getHighestDataColumn(), getHighestDataRow(), getHighestRowAndColumn() and calculateWorksheetDataDimension() methods for the worksheet that return the highest row and column that have cell records\n- General:  (MBaker)    Change iterators to implement Iterator rather than extend CachingIterator, as a fix for PHP 5.4. changes in SPL\n- Bugfix:   (MBaker)    Work item 15459 - Invalid cell coordinate in Autofilter for Excel2007 Writer\n- Bugfix:   (MBaker)    Work item 15518 - PCLZip library issue\n- Bugfix:   (MBaker)    Work item 15537 - Excel2007 Reader canRead function bug\n- Bugfix:   (MBaker)    Support for Excel functions whose return can be used as either a value or as a cell reference depending on its context within a formula\n- Bugfix:   (gilles06)  Work item 15707 - ini_set() call in Calculation class destructor\n- Bugfix:   (MBaker)    Work item 15786 - RangeToArray strange array keys\n- Bugfix:   (MBaker)    Work item 15762 - INDIRECT() function doesn't work with named ranges\n- Bugfix:   (MBaker)    Locale-specific fix to text functions when passing a boolean argument instead of a string\n- Bugfix:   (MBaker)    Work item 16246 - reader/CSV fails on this file\n                        auto_detect_line_endings now set in CSV reader\n- Bugfix:   (MBaker)    Work item 16212 - $arguments improperly used in CachedObjectStorage/PHPTemp.php\n- Bugfix:   (MBaker)    Work item 16643 - Bug In Cache System (cell reference when throwing caching errors)\n- Bugfix:   (MBaker)    Work item 16895 - PHP Invalid index notice on writing excel file when active sheet has been deleted\n- Bugfix:   (MBaker)    Work item 16956 - External links in Excel2010 files cause Fatal error\n- Bugfix:   (MBaker)    Work item 16960 - Previous calculation engine error conditions trigger cyclic reference errors\n- Bugfix:   (mkopinsky) Work item 16266 - PHPExcel_Style::applyFromArray() returns null rather than style object in advanced mode\n- Bugfix:   (fauvel)    Work item 16958 - Cell::getFormattedValue returns RichText object instead of string\n- Bugfix:   (MBaker)    Work item 17166 - Indexed colors do not refer to Excel's indexed colors?\n- Bugfix:   (MBaker)    Work item 17199 - Indexed colors should be consistent with Excel and start from 1 (current index starts at 0)\n- Bugfix:   (MBaker)    Work item 17262 - Named Range definition in .xls when sheet reeference is quote wrapped\n- Bugfix:   (MBaker)    Work item 17403 - duplicateStyle() method doesn't duplicate conditional formats\n                                          Added an equivalent duplicateConditionalStyle() method for duplicating conditional styles\n- Bugfix:   (bnr)       Work item 17501 - =sumproduct(A,B) <> =sumproduct(B,A) in xlsx\n- Bugfix:   (Progi1984) Work item 8916  - Support for Rich-Text in PHPExcel_Writer_Excel5\n- General:  (MBaker)    Work item 15405 - Two easy to fix Issues concerning PHPExcel_Token_Stack (l10n/UC)\n- General:  (MBaker)    Work item 15461 - Locale file paths not fit for windows\n- General:  (MBaker)    Work item 16643 - Add file directory as a cache option for cache_to_discISAM\n- General:  (MBaker)    Work item 16923 - Datatype.php & constant TYPE_NULL\n- General:  (MBaker)    Ensure use of system temp directory for all temporary work files, unless explicitly specified\n- General:  (char101)   Work item 16359 - [Patch] faster stringFromColumnIndex()\n- General:  (whit1206)  Work item 16028 - Fix for projects that still use old autoloaders\n- General:  (atz)       Work item 17024 - Unknown codepage: 10007\n                        Additional Mac codepages\n\n\n2011-02-27 (v1.7.6):\n- Feature:  (MBaker)  Provide option to use PCLZip as an alternative to ZipArchive.\n                      This allows the writing of Excel2007 files, even without ZipArchive enabled (it does require zlib), or when php_zip is one of the buggy PHP 5.2.6 or 5.2.8 versions\n                      It can be enabled using PHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP);\n                      Note that it is not yet implemented as an alternative to ZipArchive for those Readers that are extracting from zips\n- Feature:  (MBaker)  Work item 14979 - Added listWorksheetNames() method to Readers that support multiple worksheets in a workbook, allowing a user to extract a list of all the worksheet names from a file without parsing/loading the whole file.\n- Feature:  (MBaker)  Speed boost and memory reduction in the Worksheet toArray() method.\n- Feature:  (MBaker)  Added new rangeToArray() and namedRangeToArray() methods to the PHPExcel_Worksheet object.\n                      Functionally, these are identical to the toArray() method, except that they take an additional first parameter of a Range (e.g. 'B2:C3') or a Named Range name.\n                      Modified the toArray() method so that it actually uses rangeToArray().\n- Feature:  (MBaker)  Added support for cell comments in the OOCalc, Gnumeric and Excel2003XML Readers, and in the Excel5 Reader\n- Feature:  (MBaker)  Improved toFormattedString() handling for Currency and Accounting formats to render currency symbols\n- Feature:  (MBaker)  Work Item  2346 - Implement more Excel calculation functions\n                      Implemented the DAVERAGE(), DCOUNT(), DCOUNTA(), DGET(), DMAX(), DMIN(), DPRODUCT(), DSTDEV(), DSTDEVP(), DSUM(), DVAR() and DVARP() Database functions\n- Bugfix:   (MBaker)  Work item 14888 - Simple =IF() formula disappears\n- Bugfix:   (MBaker)  Work item 14898 - PHP Warning: preg_match(): Compilation failed: PCRE does not support \\\\L, \\\\l, \\\\N, \\\\P, \\\\p, \\\\U, \\\\u, or \\\\X\n- Bugfix:   (MBaker)  Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007\n- Bugfix:   (MBaker)  Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column\n- Bugfix:   (MBaker)  Treat CodePage of 0 as CP1251 (for .xls files written by applications that don't set the CodePage correctly, such as Apple Numbers)\n- Bugfix:   (MB)      Work item 11583 - Need method for removing autoFilter\n- Bugfix:   (MBaker)  Work item 15029 - coordinateFromString throws exception for rows greater than 99,999\n- Bugfix:   (MBaker)  Work item 14999 - PHPExcel Excel2007 Reader colour problems with solidfill\n- Bugfix:   (MBaker)  Work item 13215 - Formatting get lost and edit a template XLSX file\n- Bugfix:   (MBaker)  Work item 14029 - Excel 2007 Reader /writer lost fontcolor\n- Bugfix:   (MBaker)  Work item 13374 - file that makes cells go black\n- Bugfix:   (MBaker)  Minor patchfix for Excel2003XML Reader when XML is defined with a charset attribute\n- Bugfix:   (MBaker)  Work item 15089 - PHPExcel_Worksheet->toArray() index problem\n- Bugfix:   (MBaker)  Work item 15094 - Merge cells 'un-merge' when using an existing spreadsheet\n- Bugfix:   (MBaker)  Work item 15129 - Worksheet fromArray() only working with 2-D arrays\n- Bugfix:   (xkeshav) Work item 15172 - rangeToarray function modified for non-existent cells\n- Bugfix:   (MBaker)  Work item 14980 - Images not getting copyied with the ->clone function\n- Bugfix:   (MBaker)  Work item 11576 - AdvancedValueBinder.php: String sometimes becomes a date when it shouldn't\n- Bugfix:   (MBaker)  Fix Excel5 Writer so that it only writes column dimensions for columns that are actually used rather than the full range (A to IV)\n- Bugfix:   (MBaker)  Work item 15198 - FreezePane causing damaged or modified error\n                      The freezePaneByColumnAndRow() method row argument should default to 1 rather than 0.\n                      Default row argument for all __ByColumnAndRow() methods should be 1\n- Bugfix:   (MBaker)  Work item 15121 - Column reference rather than cell reference in Print Area definition\n                      Fix Excel2007 Writer to handle print areas that are defined as row or column ranges rather than just as cell ranges\n- Bugfix:   (MBaker)  Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings\n- Bugfix:   (MBaker)  Work item 15312 - Caching and tmp partition exhaustion\n- Bugfix:   (MBaker)  Work item 15308 - Writing to Variable No Longer Works. $_tmp_dir Missing in PHPExcel\\PHPExcel\\Shared\\OLE\\PPS\\Root.php\n- Bugfix:   (MBaker)  Work item 15379 - Named ranges with dot don't get parsed properly\n- Bugfix:   (MBaker)  Work item 15096 - insertNewRowBefore fails to consistently update references\n- Bugfix:   (MBaker)  \"i\" is not a valid character for Excel date format masks (in isDateTimeFormatCode() method)\n- Bugfix:   (MKunert) Work item 15421 - PHPExcel_ReferenceHelper::insertNewBefore() is missing an 'Update worksheet: comments' section\n- Bugfix:   (MBaker)  Work item 15409 - Full column/row references in named ranges not supported by updateCellReference()\n- General:  (MBaker)  Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.\n- General:  (MBaker)  Improved performance (speed), for PHP to Excel date conversions\n- General:  (MBaker)  Enhanced SheetViews element structures in the Excel2007 Writer for frozen panes.\n- General:  (MBaker)  Removed Serialized Reader/Writer as these no longer work.\n\n\n2010-12-10 (v1.7.5):\n- Feature:  (MBaker)    Work item 8769 - Implement Gnumeric File Format\n                        Initial work on Gnumeric Reader (Worksheet Data, Document Properties and basic Formatting)\n- Feature:  (MBaker)    (incorporating part of Workitem 9759) - Support for Extended Workbook Properties in Excel2007, Excel5 and OOCalc Readers; support for User-defined Workbook Properties in Excel2007 and OOCalc Readers\n- Feature:  (MBaker)    Support for Extended and User-defined Workbook Properties in Excel2007 Writer\n- Feature:  (MBaker)    Provided a setGenerateSheetNavigationBlock(false); option to suppress generation of the sheet navigation block when writing multiple worksheets to HTML\n- Feature:  (MBaker)    Advanced Value Binder now recognises TRUE/FALSE strings (locale-specific) and converts to boolean\n- Feature:  (MBaker)    Work item 14301 - PHPExcel_Worksheet->toArray() is returning truncated values\n- Feature:  (MBaker)    Configure PDF Writer margins based on Excel Worksheet Margin Settings value\n- Feature:  (MBaker)    Added Contiguous flag for the CSV Reader, when working with Read Filters\n- Feature:  (MBaker)    Added getFormattedValue() method for cell object\n- Feature:  (MBaker)    Added strictNullComparison argument to the worksheet fromArray() method\n- Feature:  (MBaker)    Fix to toFormattedString() method in PHPExcel_Style_NumberFormat to handle fractions with a # code for the integer part\n- Bugfix:   (MB)        Work item 14143 - NA() doesn't propagate in matrix calc - quick fix in JAMA/Matrix.php\n- Bugfix:   (Progi1984) Work item 7895 - Excel5 : Formula : String constant containing double quotation mark\n- Bugfix:   (Progi1984) Work item 7895 - Excel5 : Formula : Percent\n- Bugfix:   (Progi1984) Work item 7895 - Excel5 : Formula : Error constant\n- Bugfix:   (Progi1984) Work item 7895 - Excel5 : Formula : Concatenation operator\n- Bugfix:   (MBaker)    Work item 14146 - Worksheet clone broken for CachedObjectStorage_Memory\n- Bugfix:   (MBaker)    Work item 12998 - PHPExcel_Reader_Excel2007 fails when gradient fill without type is present in a file\n- Bugfix:   (MBaker)    Work item 14176 - @ format for numeric strings in XLSX to CSV conversion\n- Bugfix:   (MBaker)    Work item 14223 - Advanced Value Binder Not Working?\n- Bugfix:   (MBaker)    Work item 14226 - unassigned object variable in PHPExcel->removeCellXfByIndex\n- Bugfix:   (MBaker)    Work item 14236 - problem with getting cell values from another worksheet... (if cell doesn't exist)\n- Bugfix:   (MBaker)    Work items 14260 & 14233 - Setting cell values to one char strings & Trouble reading one character string (thanks gorfou)\n- Bugfix:   (MBaker)    Work item 14256 - Worksheet title exception when duplicate worksheet is being renamed but exceeds the 31 character limit\n- Bugfix:   (MBaker)    Work item 14086 - Named range with sheet name that contains the $ throws exception when getting the cell\n- Bugfix:   (MBaker)    Added autoloader to DefaultValueBinder and AdvancedValueBinder\n- Bugfix:   (MBaker)    Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with \"_\" or with \"0 \" to prevent false positives\n                        These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats\n- Bugfix:   (MBaker)    Work item 14374 - BUG : Excel5 and setReadFilter ?\n- Bugfix:   (MBaker)    Work item 14425 - Wrong exception message while deleting column\n- Bugfix:   (MBaker)    Work item 14679 - Formula evaluation fails with Japanese sheet refs\n- Bugfix:   (MBaker)    Work item 13559 - PHPExcel_Writer_PDF does not handle cell borders correctly\n- Bugfix:   (MBaker)    Work item 14831 - Style : applyFromArray() for 'allborders' not working\n- Bugfix:   (MBaker)    Work item 14837 - Using $this when not in object context in Excel5 Reader\n- General:  (MBaker)    Applied patch 6609 - Removes a unnecessary loop through each cell when applying conditional formatting to a range.\n- General:  (MBaker)    Applied patch 7169 - Removed spurious PHP end tags (?>)\n- General:  (MBaker)    Improved performance (speed) and reduced memory overheads, particularly for the Writers, but across the whole library.\n\n\n2010-08-26 (v1.7.4):\n- Bugfix:   (Progi1984) Work item 7895 - Excel5 : Formula : Power\n- Bugfix:   (Progi1984) Work item 7895 - Excel5 : Formula : Unary plus\n- Bugfix:   (Progi1984) Excel5 : Just write the Escher stream if necessary in Worksheet\n- Bugfix:   (MBaker)    Work item 13433 - Syntax errors in memcache.php 1.7.3c\n- Bugfix:   (MBaker)    Work item 13450 - Standard Deviation functions returning DIV/0 Error when Standard Deviation is zero\n- Feature:  (MBaker)    Support for print area with several ranges in the Excel2007 reader, and improved features for editing print area with several ranges\n- Feature:  (MBaker)    Work item 13769 - Improved Cell Exception Reporting\n- Feature:  (MBaker)    Support for row or column ranges in the calculation engine, e.g. =SUM(C:C) or =SUM(1:2)\n                        Also support in the calculation engine for absolute row or column ranges e.g. =SUM($C:$E) or =SUM($3:5)\n- Bugfix:   (ET)        Work item 13455 - Picture problem with Excel 2003\n- Bugfix:   (MBaker)    Work item 13484 - Wrong variable used in addExternalSheet in PHPExcel.php\n- Bugfix:   (MBaker)    Work item 13515 - \"Invalid cell coordinate\" error when formula access data from an other sheet\n- Bugfix:   (MBaker)    (related to Work item 13515) Calculation engine confusing cell range worksheet when referencing cells in a different worksheet to the formula\n- Bugfix:   (MBaker)    Work item 13752 - Wrong var naming in Worksheet->garbageCollect()\n- Bugfix:   (MBaker)    Work item 13764 - PHPExcel_Style_*::__clone() methods cause cloning loops?\n- Bugfix:   (MBaker)    Work item 11488 - Recent builds causing problems loading xlsx files? (ZipArchive issue?)\n- Bugfix:   (MBaker)    Work item 13856 - cache_to_apc causes fatal error when processing large data sets\n- Bugfix:   (MBaker)    Work item 13880 - OOCalc reader misses first line if it's a 'table-header-row'\n- Bugfix:   (MBaker)    Work item 14011 - using cache with copy or clone bug?\n                                        Fixed $worksheet->copy() or clone $worksheet when using cache_in_memory, cache_in_memory_gzip, cache_in_memory_serialized, cache_to_discISAM, cache_to_phpTemp, cache_to_apc and cache_to_memcache;\n                                        Fixed but untested when using cache_to_wincache.\n- Bugfix:   (MBaker)    Fixed problems with reading Excel2007 Properties\n- General:  (MB)        Applied patch 6324 - PHP Strict Standards: Non-static method PHPExcel_Shared_String::utf16_decode() should not be called statically\n- General:  (MBaker)    Applied patch 6360 - Array functions were ignored when loading an existing file containing them, and as a result, they would lose their 'cse' status.\n- General:  (MBaker)    Minor memory tweaks to Excel2007 Writer\n- General:  (MBaker)    Modified ReferenceHelper updateFormulaReferences() method to handle updates to row and column cell ranges (including absolute references e.g. =SUM(A:$E) or =SUM($5:5), and range/cell references that reference a worksheet by name), and to provide both performance and memory improvements.\n- General:  (MBaker)    Modified Excel2007 Reader so that ReferenceHelper class is instantiated only once rather than for every shared formula in a workbook.\n- General:  (MBaker)    Correct handling for additional (synonym) formula tokens in Excel5 Reader\n- General:  (MBaker)    Additional reading of some Excel2007 Extended Properties (Company, Manager)\n\n\n2010-06-01 (v1.7.3c):\n- Bugfix:   (MB)     Work item 13012 - Fatal error: Class 'ZipArchive' not found... ...Reader/Excel2007.php on line 217\n- Bugfix:   (MBaker) Work item 13398 - PHPExcel_Writer_Excel2007 error after 1.7.3b\n\n\n2010-05-31 (v1.7.3b):\n- Bugfix:   (MBaker) Work item 12903 - Infinite loop when reading\n- Bugfix:   (MB)     Work item 13381 - Wrong method chaining on PHPExcel_Worksheet class\n\n\n2010-05-17 (v1.7.3):\n- General:  (ET)     Applied patch 4990 (modified)\n- General:  (MB)     Applied patch 5568 (modified)\n- General:  (MB)     Applied patch 5943\n- General:  (MB)     Work item 13042 - Upgrade build script to use Phing\n- General:  (ET)     Work item 11586 - Replacing var with public/private\n- General:  (MBaker) Applied Anthony's Sterling's Class Autoloader to reduce memory overhead by \"Lazy Loading\" of classes\n- General:  (MBaker) Modification to functions that accept a date parameter to support string values containing ordinals as per Excel (English language only)\n- General:  (MBaker) Modify PHPExcel_Style_NumberFormat::toFormattedString() to handle dates that fall outside of PHP's 32-bit date range\n- General:  (MBaker) Applied patch 5207\n- General:  (ET)     Work item 11970 - PHPExcel developer documentation: Set page margins\n- Feature:  (ET)     Work item 11038 - Special characters and accents in SYLK reader\n- Feature:  (MBaker) Work Item  2346 - Implement more Excel calculation functions\n                     - Implemented the COUPDAYS(), COUPDAYBS(), COUPDAYSNC(), COUPNCD(), COUPPCD() and PRICE() Financial functions\n                     - Implemented the N() and TYPE() Information functions\n                     - Implemented the HYPERLINK() Lookup and Reference function\n- Feature:  (ET)     Work item 11526 - Horizontal page break support in PHPExcel_Writer_PDF\n- Feature:  (ET)     Work item 11529 - Introduce method setActiveSheetIndexByName()\n- Feature:  (ET)     Work item 11550 - AdvancedValueBinder.php: Automatically wrap text when there is new line in string (ALT+\"Enter\")\n- Feature:  (ET)     Work item 10300 - Data validation support in PHPExcel_Reader_Excel5 and PHPExcel_Writer_Excel5\n- Feature:  (MB)     Work item 11616 - Improve autosize calculation\n- Feature:  (MBaker) Methods to translate locale-specific function names in formulae\n                     - Language implementations for Czech (cs), Danish (da), German (de), English (uk), Spanish (es), Finnish (fi), French (fr), Hungarian (hu), Italian (it), Dutch (nl), Norwegian (no), Polish (pl), Portuguese (pt), Brazilian Portuguese (pt_br), Russian (ru) and Swedish (sv)\n- Feature:  (ET)     Work item 9759 - Implement document properties in Excel5 reader/writer\n                     - Fixed so far for PHPExcel_Reader_Excel5\n- Feature:  (ET)     Work item 11849 - Show/hide row and column headers in worksheet\n- Feature:  (ET)     Work item 11919 - Can't set font on writing PDF (by key)\n- Feature:  (ET)     Work item 12096 - Thousands scale (1000^n) support in PHPExcel_Style_NumberFormat::toFormattedString\n- Feature:  (ET)     Work item  6911 - Implement repeating rows in PDF and HTML writer\n- Feature:  (ET)     Work item 12289 - Sheet tabs in PHPExcel_Writer_HTML\n- Feature:  (MB)     Work item 13041 - Add Wincache CachedObjectProvider\n- Feature:  (MBaker) Configure PDF Writer paper size based on Excel Page Settings value, and provided methods to override paper size and page orientation with the writer\n                     - Note PHPExcel defaults to Letter size, while the previous PDF writer enforced A4 size, so PDF writer will now default to Letter\n- Feature:  (MBaker) Initial implementation of cell caching: allowing larger workbooks to be managed, but at a cost in speed\n- Feature:  (MBaker) Added an identify() method to the IO Factory that identifies the reader which will be used to load a particular file without actually loading it.\n- Bugfix:   (MBaker) Work item 10979 - Warning messages with INDEX function having 2 arguments\n- Bugfix:   (ET)     Work item 11473 - setValue('=') should result in string instead of formula\n- Bugfix:   (MBaker) Work item 11471 - method _raiseFormulaError should no be private\n- Bugfix:   (ET)     Work item 11485 - Fatal error: Call to undefined function mb_substr() in ...Classes\\PHPExcel\\Reader\\Excel5.php on line 2903\n- Bugfix:   (ET)     Work item 11487 - getBold(), getItallic(), getStrikeThrough() not always working with PHPExcel_Reader_Excel2007\n- Bugfix:   (ET)     Work item 11492 - AdvancedValueBinder.php not working correctly for $cell->setValue('hh:mm:ss')\n- Bugfix:   (MBaker) Fixed leap year handling for the YEARFRAC() Date/Time function when basis ia 1 (Actual/actual)\n- Bugfix:   (MBaker) Work item 11490 - Warning messages\n                     - Calculation Engine code modified to enforce strict standards for pass by reference\n- Bugfix:   (ET)     Work item 11483 - PHPExcel_Cell_AdvancedValueBinder doesnt work for dates in far future\n- Bugfix:   (ET)     Work item 11528 - MSODRAWING bug with long CONTINUE record in PHPExcel_Reader_Excel5\n- Bugfix:   (ET)     Work item 11571 - PHPExcel_Reader_Excel2007 reads print titles as named range when there is more than one sheet\n- Bugfix:   (ET)     Work item 11561 - missing @return in phpdocblock in reader classes\n- Bugfix:   (ET)     Work item 11576 - AdvancedValueBinder.php: String sometimes becomes a date when it shouldn't\n- Bugfix:   (ET)     Work item 11588 - Small numbers escape treatment in PHPExcel_Style_NumberFormat::toFormattedString()\n- Bugfix:   (ET)     Work item 11590 - Blank styled cells are not blank in output by HTML writer due to &nbsp;\n- Bugfix:   (MBaker) Work item 11587 - Calculation engine bug: Existing, blank cell + number gives #NUM\n- Bugfix:   (ET)     Work item 11608 - AutoSize only measures length of first line in cell with multiple lines (ALT+Enter)\n- Bugfix:   (ET)     Work item 11608 - Fatal error running Tests/12serializedfileformat.php (PHPExcel 1.7.2)\n- Bugfix:   (MBaker) Fixed various errors in the WORKDAY() and NETWORKDAYS() Date/Time functions (particularly related to holidays)\n- Bugfix:   (ET)     Work item 11660 - Uncaught exception 'Exception' with message 'Valid scale is between 10 and 400.' in Classes/PHPExcel/Worksheet/SheetView.php:115\n- Bugfix:   (ET)     Work item 11551 - \"Unrecognized token 39 in formula\" with PHPExcel_Reader_Excel5 (occuring with add-in functions)\n- Bugfix:   (ET)     Work item 11668 - Excel2007 reader not reading PHPExcel_Style_Conditional::CONDITION_EXPRESSION\n- Bugfix:   (MBaker) Fix to the BESSELI(), BESSELJ(), BESSELK(), BESSELY() and COMPLEX() Engineering functions to use correct default values for parameters\n- Bugfix:   (MBaker) Work item 11525 - DATEVALUE function not working for pure time values + allow DATEVALUE() function to handle partial dates (e.g. \"1-Jun\" or \"12/2010\")\n- Bugfix:   (MBaker) Fix for empty quoted strings in formulae\n- Bugfix:   (MBaker) Trap for division by zero in Bessel functions\n- Bugfix:   (MBaker) Fix to OOCalc Reader to convert semi-colon (;) argument separator in formulae to a comma (,)\n- Bugfix:   (ET)     Work item 11693 - PHPExcel_Writer_Excel5_Parser cannot parse formula like =SUM(C$5:C5)\n- Bugfix:   (MBaker) Fix to OOCalc Reader to handle dates that fall outside 32-bit PHP's date range\n- Bugfix:   (ET)     Work item 11692 - File->sys_get_temp_dir() can fail in safe mode\n- Bugfix:   (ET)     Work item 11727 - Sheet references in Excel5 writer do not work when referenced sheet title contains non-Latin symbols\n- Bugfix:   (ET)     Work item 11743 - Bug in HTML writer can result in missing rows in output\n- Bugfix:   (ET)     Work item 11674 - setShowGridLines(true) not working with PHPExcel_Writer_PDF\n- Bugfix:   (ET)     Work item 11836 - PHPExcel_Worksheet_RowIterator initial position incorrect\n- Bugfix:   (ET)     Work item 11835 - PHPExcel_Worksheet_HeaderFooterDrawing Strict Exception thrown (by jshaw86)\n- Bugfix:   (ET)     Work item 11850 - Parts of worksheet lost when there are embedded charts (Excel5 reader)\n- Bugfix:   (MBaker) VLOOKUP() function error when lookup value is passed as a cell reference rather than an absolute value\n- Bugfix:   (ET)     Work item 12041 - First segment of Rich-Text not read correctly by PHPExcel_Reader_Excel2007\n- Bugfix:   (MBaker) Work item 12048 - Fatal Error with getCell('name') when name matches the pattern for a cell reference\n- Bugfix:   (ET)     Work item 12039 - excel5 writer appears to be swapping image locations\n- Bugfix:   (ET)     Work item 11954 - Undefined index: host in ZipStreamWrapper.php, line 94 and line 101\n- Bugfix:   (ET)     Work item 11672 - BIFF8 File Format problem (too short COLINFO record)\n- Bugfix:   (ET)     Work item 12121 - Column width sometimes changed after read/write with Excel2007 reader/writer\n- Bugfix:   (ET)     Work item 11964 - Worksheet.php throws a fatal error when styling is turned off via setReadDataOnly on the reader\n- Bugfix:   (MBaker) Work item 11851 - Checking for Circular References in Formulae\n                     - Calculation Engine code now traps for cyclic references, raising an error or throwing an exception, or allows 1 or more iterations through cyclic references, based on a configuration setting\n- Bugfix:   (ET)     Work item 12244 - PNG transparency using Excel2007 writer\n- Bugfix:   (ET)     Work item 12221 - Custom readfilter error when cell formulas reference excluded cells (Excel5 reader)\n- Bugfix:   (ET)     Work item 12288 - Protection problem in XLS\n- Bugfix:   (ET)     Work item 12300 - getColumnDimension()->setAutoSize() incorrect on cells with Number Formatting\n- Bugfix:   (ET)     Work item 12378 - Notices reading Excel file with Add-in funcitons (PHPExcel_Reader_Excel5)\n- Bugfix:   (ET)     Work item 12380 - Excel5 reader not reading formulas with deleted sheet references\n- Bugfix:   (ET)     Work item 12404 - Named range (defined name) scope problems for in PHPExcel\n- Bugfix:   (ET)     Work item 12423 - PHP Parse error: syntax error, unexpected T_PUBLIC in PHPExcel/Calculation.php on line 3482\n- Bugfix:   (ET)     Work item 12505 - Named ranges don't appear in name box using Excel5 writer\n- Bugfix:   (ET)     Work item 12509 - Many merged cells + autoSize column -> slows down the writer\n- Bugfix:   (ET)     Work item 12539 - Incorrect fallback order comment in Shared/Strings.php ConvertEncoding()\n- Bugfix:   (ET)     Work item 12538 - IBM AIX iconv() will not work, should revert to mbstring etc. instead\n- Bugfix:   (ET)     Work item 12568 - Excel5 writer and mbstring functions overload\n- Bugfix:   (MBaker) Work item 12672 - OFFSET needs to flattenSingleValue the $rows and $columns args\n- Bugfix:   (MBaker) Work item 12546 - Formula with DMAX(): Notice: Undefined offset: 2 in ...\\PHPExcel\\Calculation.php on line 2365\n                     - Note that the Database functions have not yet been implemented\n- Bugfix:   (MBaker) Work item 12839 - Call to a member function getParent() on a non-object in Classes\\\\PHPExcel\\\\Calculation.php Title is required\n- Bugfix:   (MBaker) Work item 12935 - Cyclic Reference in Formula\n- Bugfix:   (MBaker) Work item 13025 - Memory error...data validation?\n\n\n2010/01/11 (v1.7.2):\n- General:  (ET)     Applied patch 4362\n- General:  (ET)     Applied patch 4363 (modified)\n- General:  (MBaker) Work item 10874 - 1.7.1 Extremely Slow - Refactored PHPExcel_Calculation_Functions::flattenArray() method and set calculation cache timer default to 2.5 seconds\n- General:  (MBaker) Allow formulae to contain line breaks\n- General:  (ET)     Work item 10910 - split() function deprecated in PHP 5.3.0\n- General:  (ET)     sys_get_temp_dir() requires PHP 5.2.1, not PHP 5.2 [provide fallback function for PHP 5.2.0]\n- General:  (MBaker) Applied patch 4640 - Implementation of the ISPMT() Financial function by Matt Groves\n- General:  (MBaker) Work item 11052 - Put the example of formula with more arguments in documentation\n- General:  (MBaker) Improved accuracy for the GAMMAINV() Statistical Function\n- Feature:  (ET)     Work item 10409 - XFEXT record support to fix colors change from Excel5 reader, and copy/paste color change with Excel5 writer\n                     - Excel5 reader reads RGB color information in XFEXT records for borders, font color and fill color\n- Feature:  (MBaker) Work Item  2346 - Implement more Excel calculation functions\n                     - Implemented the FVSCHEDULE(), XNPV(), IRR(), MIRR(), XIRR() and RATE() Financial functions\n                     - Implemented the SUMPRODUCT() Mathematical function\n                     - Implemented the ZTEST() Statistical Function\n- Feature:  (ET)     Work item 10919 - Multiple print areas in one sheet\n- Feature:  (ET)     Work item 10930 - Store calculated values in output by PHPExcel_Writer_Excel5\n- Feature:  (ET)     Work item 10939 - Sheet protection options in Excel5 reader/writer\n- Feature:  (MBaker) Modification of the COUNT(), AVERAGE(), AVERAGEA(), DEVSQ, AVEDEV(), STDEV(), STDEVA(), STDEVP(), STDEVPA(), VARA() and VARPA() SKEW() and KURT() functions to correctly handle boolean values depending on whether they're passed in as values, values within a matrix or values within a range of cells.\n- Feature:  (ET)     Work item  9932 - Cell range selection\n- Feature:  (MB)     Work item 10266 - Root-relative path handling\n- Feature:  (ET)     Work item 11315 - Named Ranges not working with PHPExcel_Writer_Excel5\n- Bugfix:   (MB)     Work item 11206 - Excel2007 Reader fails to load Apache POI generated Excel\n- Bugfix:   (MB)     Work item 11154 - Number format is broken when system's thousands separator is empty\n- Bugfix:   (MB)     Work item 11401 - ReferenceHelper::updateNamedFormulas throws errors if oldName is empty\n- Bugfix:   (MB)     Work item 11296 - parse_url() fails to parse path to an image in xlsx\n- Bugfix:   (ET)     Work item 10876 - Workaround for iconv_substr() bug in PHP 5.2.0\n- Bugfix:   (ET)     Work item 10877 - 1 pixel error for image width and height with PHPExcel_Writer_Excel5\n- Bugfix:   (MBaker) Fix to GEOMEAN() Statistical function\n- Bugfix:   (ET)     Work item 10884 - setValue('-') and setValue('.') sets numeric 0 instead of 1-character string\n- Bugfix:   (ET)     Work item 10885 - Row height sometimes much too low after read with PHPExcel_Reader_Excel5\n- Bugfix:   (ET)     Work item 10888 - Diagonal border. Miscellaneous missing support.\n                     - Constant PHPExcel_Style_Borders::DIAGONAL_BOTH added to support double-diagonal (cross)\n                     - PHPExcel_Reader_Excel2007 not always reading diagonal borders (only recognizes 'true' and not '1')\n                     - PHPExcel_Reader_Excel5 support for diagonal borders\n                     - PHPExcel_Writer_Excel5 support for diagonal borders\n- Bugfix:   (ET)     Work item 10894 - Session bug: Fatal error: Call to a member function bindValue() on a non-object in ...\\Classes\\PHPExcel\\Cell.php on line 217\n- Bugfix:   (ET)     Work item 10896 - Colors messed up saving twice with same instance of PHPExcel_Writer_Excel5 (regression since 1.7.0)\n- Bugfix:   (ET)     Work item 10917 - Method PHPExcel_Worksheet::setDefaultStyle is not working\n- Bugfix:   (ET)     Work item 10897 - PHPExcel_Reader_CSV::canRead() sometimes says false when it shouldn't\n- Bugfix:   (ET)     Work item 10922 - Changes in workbook not picked up between two saves with PHPExcel_Writer_Excel2007\n- Bugfix:   (ET)     Work item 10913 - Decimal and thousands separators missing in HTML and PDF output\n- Bugfix:   (ET)     Work item 10936 - Notices with PHPExcel_Reader_Excel5 and named array constants\n- Bugfix:   (MBaker) Work item 10938 - Calculation engine limitation on 32-bit platform with integers > 2147483647\n- Bugfix:   (ET)     Work item 10959 - Shared(?) formulae containing absolute cell references not read correctly using Excel5 Reader\n- Bugfix:   (MBaker) Work item 10962 - Warning messages with intersection operator involving single cell\n- Bugfix:   (ET)     Work item 10980 - Infinite loop in Excel5 reader caused by zero-length string in SST\n- Bugfix:   (ET)     Work item 10983 - Remove unnecessary cell sorting to improve speed by approx. 18% in HTML and PDF writers\n- Bugfix:   (MBaker) Work item 10977 - Cannot read A1 cell content - OO_Reader\n- Bugfix:   (ET)     Work item 11000 - Transliteration failed, invalid encoding\n\n\n2009/11/02 (v1.7.1):\n- General:  (ET) Work item 10687 - ereg() function deprecated in PHP 5.3.0\n- General:  (MB) Work item 10739 - Writer Interface Inconsequence - setTempDir and setUseDiskCaching\n- General:  (ET) Upgrade to TCPDF 4.8.009\n- Feature:  (ET) Work item  7333 - Support for row and column styles (feature request)\n            -   Basic implementation for Excel2007/Excel5 reader/writer\n- Feature:  (ET) Work item 10459 - Hyperlink to local file in Excel5 reader/writer\n- Feature:  (MB) Work item 10472 - Color Tab (Color Sheet's name)\n- Feature:  (ET) Work item 10488 - Border style \"double\" support in PHPExcel_Writer_HTML\n- Feature:  (ET) Work item 10492 - Multi-section number format support in HTML/PDF/CSV writers\n- Feature:  (MBaker) - Some additional performance tweaks in the calculation engine\n- Feature:  (MBaker) - Fix result of DB() and DDB() Financial functions to 2dp when in Gnumeric Compatibility mode\n- Feature:  (MBaker) - Added AMORDEGRC(), AMORLINC() and COUPNUM() Financial function (no validation of parameters yet)\n- Feature:  (MBaker) - Improved accuracy of TBILLEQ(), TBILLPRICE() and TBILLYIELD() Financial functions when in Excel or Gnumeric mode\n- Feature:  (MBaker) - Added INDIRECT() Lookup/Reference function (only supports full addresses at the moment)\n- Feature:  (MB) Work item 10498 - PHPExcel_Reader_CSV::canRead() improvements\n- Feature:  (ET) Work item 10500 - Input encoding option for PHPExcel_Reader_CSV\n- Feature:  (ET) Work item 10493 - Colored number format support, e.g. [Red], in HTML/PDF output\n- Feature:  (ET) Work item 10559 - Color Tab (Color Sheet's name) [Excel5 reader/writer support]\n- Feature:  (MBaker) Initial version of SYLK (slk) and Excel 2003 XML Readers (Cell data and basic cell formatting)\n- Feature:  (MBaker) Initial version of Open Office Calc (ods) Reader (Cell data only)\n- Feature:  (MBaker) Initial use of \"pass by reference\" in the calculation engine for ROW() and COLUMN() Lookup/Reference functions\n- Feature:  (MBaker) Work item 2346 - COLUMNS() and ROWS() Lookup/Reference functions, and SUBSTITUTE() Text function\n- Feature:  (ET) Work item 10502 - AdvancedValueBinder(): Re-enable zero-padded string-to-number conversion, e.g '0004' -> 4\n- Feature:  (ET) Work item 10600 - Make PHP type match Excel datatype\n- Feature:  (MB) Work item 10630 - Change first page number on header\n- Feature:  (MB) Applied patch 3941\n- Feature:  (MB,ET) Work item 10745 - Hidden sheets\n- Feature:  (ET) Work item 10761 - mbstring fallback when iconv is broken\n- Feature:  (MBaker) Added support for matrix/value comparisons (e.g. ={1,2;3,4}>=3 or 2<>{1,2;3,4}) - Note, can't yet handle comparison of two matrices\n- Feature:  (MBaker) Improved handling for validation and error trapping in a number of functions\n- Feature:  (MBaker) Improved support for fraction number formatting\n- Feature:  (ET) Work item 10455 - Support Reading CSV with Byte Order Mark (BOM)\n- Feature:  (ET) Work item 10860 - addExternalSheet() at specified index\n- Bugfix:   (MBaker) Work item 10684 - Named range can no longer be passed to worksheet->getCell()\n- Bugfix:   (ET) Work item 10455 - RichText HTML entities no longer working in PHPExcel 1.7.0\n- Bugfix:   (ET) Work item  7610 - Fit-to-width value of 1 is lost after read/write of Excel2007 spreadsheet [+ support for simultaneous scale/fitToPage]\n- Bugfix:   (MB) Work item 10469 - Performance issue identified by profiling\n- Bugfix:   (ET) Work item 10473 - setSelectedCell is wrong\n- Bugfix:   (ET) Work item 10481 - Images get squeezed/stretched with (Mac) Verdana 10 Excel files using Excel5 reader/writer\n- Bugfix:   (MBaker) Work item 10482 - Error in argument count for DATEDIF() function\n- Bugfix:   (MBaker) Work item 10452 - updateFormulaReferences is buggy\n- Bugfix:   (MB) Work item 10485 - CellIterator returns null Cell if onlyExistingCells is set and key() is in use\n- Bugfix:   (MBaker) Work item 10453 - Wrong RegEx for parsing cell references in formulas\n- Bugfix:   (MB) Work item 10486 - Optimisation subverted to devastating effect if IterateOnlyExistingCells is clear\n- Bugfix:   (ET) Work item 10494 - Fatal error: Uncaught exception 'Exception' with message 'Unrecognized token 6C in formula'... with PHPExcel_Reader_Excel5\n- Bugfix:   (MBaker) Work item 10490 - Fractions stored as text are not treated as numbers by PHPExcel's calculation engine\n- Bugfix:   (ET) Work item 10503 - AutoFit (autosize) row height not working in PHPExcel_Writer_Excel5\n- Bugfix:   (MBaker) Fixed problem with null values breaking the calculation stack\n- Bugfix:   (ET) Work item 10524 - Date number formats sometimes fail with PHPExcel_Style_NumberFormat::toFormattedString, e.g. [$-40047]mmmm d yyyy\n- Bugfix:   (MBaker) Fixed minor problem with DATEDIFF YM calculation\n- Bugfix:   (MB) Applied patch 3695\n- Bugfix:   (ET) Work item 10536 - setAutosize() and Date cells not working properly\n- Bugfix:   (ET) Work item 10556 - Time value hour offset in output by HTML/PDF/CSV writers (system timezone problem)\n- Bugfix:   (ET) Work item 10558 - Control characters 0x14-0x1F are not treated by PHPExcel\n- Bugfix:   (ET) Work item 10560 - PHPExcel_Writer_Excel5 not working when open_basedir restriction is in effect\n- Bugfix:   (MBaker) Work item 10563 - IF formula calculation problem in PHPExcel 1.7.0 (string comparisons)\n- Bugfix:   (MBaker) Improved CODE() Text function result for UTF-8 characters\n- Bugfix:   (ET) Work item 10568 - Empty rows are collapsed with HTML/PDF writer\n- Bugfix:   (ET) Work item 10569 - Gaps between rows in output by PHPExcel_Writer_PDF (Upgrading to TCPDF 4.7.003)\n- Bugfix:   (ET) Work item 10575 - Problem reading formulas (Excel5 reader problem with \"fake\" shared formulas)\n- Bugfix:   (MBaker) Work item 10588 - Error type in formula: \"_raiseFormulaError message is Formula Error: An unexpected error occured\"\n- Bugfix:   (ET) Work item 10599 - Miscellaneous column width problems in Excel5/Excel2007 writer\n- Bugfix:   (ET) Work item 10615 - Reader/Excel5 'Unrecognized token 2D in formula' in latest version\n- Bugfix:   (ET) Work item 10623 - on php 5.3 PHPExcel 1.7 Excel 5 reader fails in _getNextToken, token = 2C, throws exception\n- Bugfix:   (ET) Work item 10617 - Fatal error when altering styles after workbook has been saved\n- Bugfix:   (ET) Work item 10661 - Images vertically stretched or squeezed when default font size is changed (PHPExcel_Writer_Excel5)\n- Bugfix:   (ET) Work item 10676 - Styles not read in \"manipulated\" Excel2007 workbook\n- Bugfix:   (ET) Work item 10059 - Windows 7 says corrupt file by PHPExcel_Writer_Excel5 when opening in Excel\n- Bugfix:   (MBaker) Work item 10708 - Calculations sometimes not working with cell references to other sheets\n- Bugfix:   (ET) Work item 10706 - Problem with merged cells after insertNewRowBefore()\n- Bugfix:   (MBaker) Applied patch 4023\n- Bugfix:   (MBaker) Fix to SUMIF() and COUNTIF() Statistical functions for when condition is a match against a string value\n- Bugfix:   (ET) Work item 10721 - PHPExcel_Cell::coordinateFromString should throw exception for bad string parameter\n- Bugfix:   (ET) Work item 10723 - EucrosiaUPC (Thai font) not working with PHPExcel_Writer_Excel5\n- Bugfix:   (MBaker) Improved the return of calculated results when the result value is an array\n- Bugfix:   (MBaker) Allow calculation engine to support Functions prefixed with @ within formulae\n- Bugfix:   (MBaker) Work item 10632 - Intersection operator (space operator) fatal error with calculation engine\n- Bugfix:   (ET) Work item 10742 - Chinese, Japanese, Korean characters show as squares in PDF\n- Bugfix:   (ET) Work item 10756 - sheet title allows invalid characters\n- Bugfix:   (ET) Work item 10757 - Sheet!$A$1 as function argument in formula causes infinite loop in Excel5 writer\n- Bugfix:   (MBaker) Work item 10740 - Cell range involving name not working with calculation engine - Modified calculation parser to handle range operator (:), but doesn't currently handle worksheet references with spaces or other non-alphameric characters, or trap erroneous references\n- Bugfix:   (MBaker) Work item 10798 - DATE function problem with calculation engine (says too few arguments given)\n- Bugfix:   (MBaker) Work item 10799 - Blank cell can cause wrong calculated value\n- Bugfix:   (MBaker) Modified ROW() and COLUMN() Lookup/Reference Functions to return an array when passed a cell range, plus some additional work on INDEX()\n- Bugfix:   (ET) Work item 10817 - Images not showing in Excel 97 using PHPExcel_Writer_Excel5 (patch by Jordi Gutiérrez Hermoso)\n- Bugfix:   (ET) Work item 10785 - When figures are contained in the excel sheet, Reader was stopped\n- Bugfix:   (MBaker) Work item 10818 - Formulas changed after insertNewRowBefore()\n- Bugfix:   (ET) Work item 10825 - Cell range row offset problem with shared formulas using PHPExcel_Reader_Excel5\n- Bugfix:   (MBaker) Work item 10832 - Warning: Call-time pass-by-reference has been deprecated\n- Bugfix:   (ET) Work item 10849 - Image should \"Move but don't size with cells\" instead of \"Move and size with cells\" with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 10856 - Opening a Excel5 generated XLS in Excel 2007 results in header/footer entry not showing on input\n- Bugfix:   (ET) Work item 10859 - addExternalSheet() not returning worksheet\n- Bugfix:   (MBaker) Work item 10629 - Invalid results in formulas with named ranges\n\n\n2009/08/10 (v1.7.0):\n- General:  (ET) Work item  9893 - Expand documentation: Number formats\n- General:  (ET) Work item  9941 - Class 'PHPExcel_Cell_AdvancedValueBinder' not found\n- General:  (MB) Work item  9960 - Change return type of date functions to PHPExcel_Calculation_Functions::RETURNDATE_EXCEL\n- Feature:  (MBaker) - New RPN and stack-based calculation engine for improved performance of formula calculation\n            -   Faster (anything between 2 and 12 times faster than the old parser, depending on the complexity and nature of the formula)\n            -   Significantly more memory efficient when formulae reference cells across worksheets\n            -   Correct behaviour when referencing Named Ranges that exist on several worksheets\n            -   Support for Excel ^ (Exponential) and % (Percentage) operators\n            -   Support for matrices within basic arithmetic formulae (e.g. ={1,2,3;4,5,6;7,8,9}/2)\n            -   Better trapping/handling of NaN and infinity results (return #NUM! error)\n            -   Improved handling of empty parameters for Excel functions\n            -   Optional logging of calculation steps\n- Feature:  (MBaker) - New calculation engine can be accessed independently of workbooks (for use as a standalone calculator)\n- Feature:  (MBaker) Work Item  2346 - Implement more Excel calculation functions\n            -   Initial implementation of the COUNTIF() and SUMIF() Statistical functions\n            -   Added ACCRINT() Financial function\n- Feature:  (MBaker) - Modifications to number format handling for dddd and ddd masks in dates, use of thousand separators even when locale only implements it for money, and basic fraction masks (0 ?/? and ?/?)\n- Feature:  (ET) Work item  9794 - Support arbitrary fixed number of decimals in PHPExcel_Style_NumberFormat::toFormattedString()\n- Feature:  (ET) Work item  6857 - Improving performance and memory on data dumps\n            -    Various style optimizations (merging from branch wi6857-memory)\n            -    Moving hyperlink and dataValidation properties from cell to worksheet for lower PHP memory usage\n- Feature:  (MB) Work item  9869 - Provide fluent interfaces where possible\n- Feature:  (ET) Work item  9899 - Make easy way to apply a border to a rectangular selection\n- Feature:  (ET) Work item  9906 - Support for system window colors in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item  9911 - Horizontal center across selection\n- Feature:  (ET) Work item  9919 - Merged cells record, write to full record size in PHPExcel_Writer_Excel5\n- Feature:  (MB) Work item  9895 - Add page break between sheets in exported PDF\n- Feature:  (ET) Work item  9902 - Sanitization of UTF-8 input for cell values\n- Feature:  (ET) Work item  9930 - Read cached calculated value with PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item  9896 - Miscellaneous CSS improvements for PHPExcel_Writer_HTML\n- Feature:  (ET) Work item  9947 - getProperties: setCompany feature request\n- Feature:  (MB) Patch 2981 - Insert worksheet at a specified index\n- Feature:  (MB) Patch 3018 - Change worksheet index\n- Feature:  (MB) Patch 3039 - Readfilter for CSV reader\n- Feature:  (ET) Work item 10172 - Check value of mbstring.func_overload when saving with PHPExcel_Writer_Excel5\n- Feature:  (ET) Work item 10251 - Eliminate dependency of an include path pointing to class directory\n- Feature:  (ET) Work item 10292 - Method for getting the correct reader for a certain file (contribution)\n- Feature:  (ET) Work item 10287 - Choosing specific row in fromArray method\n- Feature:  (ET) Work item 10319 - Shared formula support in PHPExcel_Reader_Excel5\n- Feature:  (MB,ET) Work item 10345 - Right-to-left column direction in worksheet\n- Bugfix:   (ET) Work item  9824 - PHPExcel_Reader_Excel5 not reading PHPExcel_Style_NumberFormat::FORMAT_NUMBER ('0')\n- Bugfix:   (ET) Work item  9858 - Fractional row height in locale other than English results in corrupt output using PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item  9846 - Fractional (decimal) numbers not inserted correctly when locale is other than English\n- Bugfix:   (ET) Work item  9863 - Fractional calculated value in locale other than English results in corrupt output using PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item  9830 - Locale aware decimal and thousands separator in exported formats HTML, CSV, PDF\n- Bugfix:   (MB) Work item  9819 - Cannot Add Image with Space on its Name\n- Bugfix:   (ET) Work item  9884 - Black line at top of every page in output by PHPExcel_Writer_PDF\n- Bugfix:   (ET) Work item  9885 - Border styles and border colors not showing in HTML output (regression since 1.6.4)\n- Bugfix:   (ET) Work item  9888 - Hidden screen gridlines setting in worksheet not read by PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item  9913 - Some valid sheet names causes corrupt output using PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item  9934 - More than 32,767 characters in a cell gives corrupt Excel file\n- Bugfix:   (ET) Work item  9937 - Images not getting copyied with the ->copy() function\n- Bugfix:   (ET) Work item  9940 - Bad calculation of column width setAutoSize(true) function\n- Bugfix:   (ET) Work item  9968 - Dates are sometimes offset by 1 day in output by HTML and PDF writers depending on system timezone setting\n- Bugfix:   (ET) Work item 10003 - Wingdings symbol fonts not working with PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 10010 - White space string prefix stripped by PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item 10023 - The name of the Workbook stream MUST be \"Workbook\", not \"Book\"\n- Bugfix:   (ET) Work item 10030 - Avoid message \"Microsoft Excel recalculates formulas...\" when closing xls file from Excel\n- Bugfix:   (ET) Work item 10031 - Non-unique newline representation causes problems with LEN formula\n- Bugfix:   (ET) Work item 10033 - Newline in cell not showing with PHPExcel_Writer_HTML and PHPExcel_Writer_PDF\n- Bugfix:   (ET) Work item 10046 - Rich-Text strings get prefixed by &nbsp; when output by HTML writer\n- Bugfix:   (ET) Work item 10052 - Leading spaces do not appear in output by HTML/PDF writers\n- Bugfix:   (MB) Work item 10061 - Empty Apache POI-generated file can not be read\n- Bugfix:   (ET) Work item 10068 - Column width not scaling correctly with font size in HTML and PDF writers\n- Bugfix:   (ET) Work item 10069 - Inaccurate row heights with HTML writer\n- Bugfix:   (MB) Patch 2992 - Reference helper\n- Bugfix:   (MBaker)  - Excel 5 Named ranges should not be local to the worksheet, but accessible from all worksheets\n- Bugfix:   (ET) Work item 10088 - Row heights are ignored by PHPExcel_Writer_PDF\n- Bugfix:   (MB) Patch 3003 - Write raw XML\n- Bugfix:   (ET) Work item 10098 - removeRow(), removeColumn() not always clearing cell values\n- Bugfix:   (ET) Work item 10142 - Problem reading certain hyperlink records with PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10143 - Hyperlink cell range read failure with PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 10149 - 'Column string index can not be empty.'\n- Bugfix:   (ET) Work item 10204 - getHighestColumn() sometimes says there are 256 columns with PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10220 - extractSheetTitle fails when sheet title contains exclamation mark (!)\n- Bugfix:   (ET) Work item 10221 - setTitle() sometimes erroneously appends integer to sheet name\n- Bugfix:   (ET) Work item 10229 - Mac BIFF5 Excel file read failure (missing support for Mac OS Roman character set)\n- Bugfix:   (ET) Work item 10230 - BIFF5 header and footer incorrectly read by PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10259 - iconv notices when reading hyperlinks with PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10252 - Excel5 reader OLE read failure with small Mac BIFF5 Excel files\n- Bugfix:   (ET) Work item 10272 - Problem in reading formula : IF( IF ) with PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10274 - Error reading formulas referencing external sheets with PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10291 - Image horizontally stretched when default font size is increased (PHPExcel_Writer_Excel5)\n- Bugfix:   (ET) Work item 10333 - Undefined offset in Reader\\Excel5.php on line 3572\n- Bugfix:   (MB) Work item 10340 - PDF output different then XLS (copied data)\n- Bugfix:   (ET) Work item 10352 - Internal hyperlinks with UTF-8 sheet names not working in PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 10361 - String shared formula result read error with PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 10363 - Uncaught exception 'Exception' with message 'Valid scale is between 10 and 400.' in Classes/PHPExcel/Worksheet/PageSetup.php:338\n- Bugfix:   (ET) Work item 10355 - Using setLoadSheetsOnly fails if you do not use setReadDataOnly(true) and sheet is not the first sheet\n- Bugfix:   (MB) Work item 10362 - getCalculatedValue() sometimes incorrect with IF formula and 0-values\n- Bugfix:   (MBaker) Work Item  10198 - Excel Reader 2007 problem with \"shared\" formulae when \"master\" is an error\n- Bugfix:   (MBaker) Work Item  10106 - Named Range Bug, using the same range name on different worksheets\n- Bugfix:   (MBaker) Work Item  10004 - Java code in JAMA classes\n- Bugfix:   (MBaker) Work Item  9659 - getCalculatedValue() not working with some formulas involving error types\n- Bugfix:   (MBaker) Work Item  9447 - evaluation of both return values in an IF() statement returning an error if either result was an error, irrespective of the IF evaluation\n- Bugfix:   (MBaker) Work Item  6203 - Power in formulas: new calculation engine no longer treats ^ as a bitwise XOR operator\n- Bugfix:   (MBaker) - Bugfixes and improvements to many of the Excel functions in PHPExcel\n            -   Added optional \"places\" parameter in the BIN2HEX(), BIN2OCT, DEC2BIN(), DEC2OCT(), DEC2HEX(), HEX2BIN(), HEX2OCT(), OCT2BIN() and OCT2HEX() Engineering Functions\n            -    Trap for unbalanced matrix sizes in MDETERM() and MINVERSE() Mathematic and Trigonometric functions\n            -    Fix for default characters parameter value for LEFT() and RIGHT() Text functions\n            -    Fix for GCD() and LCB() Mathematical functions when the parameters include a zero (0) value\n            -    Fix for BIN2OCT() Engineering Function for 2s complement values (which were returning hex values)\n            -    Fix for BESSELK() and BESSELY() Engineering functions\n            -    Fix for IMDIV() Engineering Function when result imaginary component is positive (wasn't setting the sign)\n            -    Fix for ERF() Engineering Function when called with an upper limit value for the integration\n            -    Fix to DATE() Date/Time Function for year value of 0\n            -    Set ISPMT() function as category FINANCIAL\n            -    Fix for DOLLARDE() and DOLLARFR() Financial functions\n            -    Fix to EFFECT() Financial function (treating $nominal_rate value as a variable name rather than a value)\n            -    Fix to CRITBINOM() Statistical function (CurrentValue and EssentiallyZero treated as constants rather than variables)\n                     Note that an Error in the function logic can still lead to a permanent loop\n            -    Fix to MOD() Mathematical function to work with floating point results\n            -    Fix for QUOTIENT() Mathematical function\n            -    Fix to HOUR(), MINUTE() and SECOND() Date/Time functions to return an error when passing in a floating point value of 1.0 or greater, or less than 0\n            -    LOG() Function now correctly returns base-10 log when called with only one parameter, rather than the natural log as the default base\n            -    Modified text functions to handle multibyte character set (UTF-8).\n\n\n2009/04/22 (v1.6.7):\n- General:  (MB) Work item 9416 - Deprecate misspelled setStriketrough() and getStriketrough() methods\n- General:  (MB) Work item 9526 - Performance improvement when saving file\n- Feature:  (MB) Work item 9598 - Check that sheet title has maximum 31 characters\n- Feature:  (MB, ET) Work item 9631 - True support for Excel built-in number format codes\n- Feature:  (ET) Work item 9683 - Ability to read defect BIFF5 Excel file without CODEPAGE record\n- Feature:  (MB) Work item 9701 - Auto-detect which reader to invoke\n- Feature:  (ET) Work item 9214 - Deprecate insertion of dates using PHP-time (Unix time) [request for removal of feature]\n- Feature:  (ET) Work item 9747 - Support for entering time values like '9:45', '09:45' using AdvancedValueBinder\n- Feature:  (ET) Work item 9797 - DataType dependent horizontal alignment in HTML and PDF writer\n- Bugfix:   (MB) Work item 9375 - Cloning data validation object causes script to stop\n- Bugfix:   (ET) Work item 9400 - Simultaneous repeating rows and repeating columns not working with PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 9399 - Simultaneous repeating rows and repeating columns not working with PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item 9437 - Row outline level not working with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 9452 - Occasional notices with PHPExcel_Reader_Excel5 when Excel file contains drawing elements\n- Bugfix:   (ET) Work item 9453 - PHPExcel_Reader_Excel5 fails as a whole when workbook contains images other than JPEG/PNG\n- Bugfix:   (ET) Work item 9444 - Excel5 writer checks for iconv but does not necessarily use it\n- Bugfix:   (ET) Work item 9463 - Altering a style on copied worksheet alters also the original\n- Bugfix:   (MB) Work item 9480 - Formulas are incorrectly updated when a sheet is renamed\n- Bugfix:   (MB) Work item 9513 - PHPExcel_Worksheet::extractSheetTitle not treating single quotes correctly\n- Bugfix:   (MB) Work item 9477 - PHP Warning raised in function array_key_exists\n- Bugfix:   (MB) Work item 9599 - getAlignWithMargins() gives wrong value when using PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 9600 - getScaleWithDocument() gives wrong value when using PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 9630 - PHPExcel_Reader_Excel2007 not reading the first user-defined number format\n- Bugfix:   (MB) Work item 9647 - Print area converted to uppercase after read with PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 9661 - Incorrect reading of scope for named range using PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 9690 - Error with pattern (getFillType) and rbg (getRGB)\n- Bugfix:   (ET) Work item 9712 - AdvancedValueBinder affected by system timezone setting when inserting date values\n- Bugfix:   (ET) Work item 9743 - PHPExcel_Reader_Excel2007 not reading value of active sheet index\n- Bugfix:   (ET) Work item 9742 - getARGB() sometimes returns SimpleXMLElement object instead of string with PHPExcel_Reader_Excel2007\n- Bugfix:   (ET) Work item 9731 - Negative image offset causes defects in 14excel5.xls and 20readexcel5.xlsx\n- Bugfix:   (ET) Work item 9758 - HTML & PDF Writer not working with mergeCells (regression since 1.6.5)\n- Bugfix:   (ET) Work item 9774 - Too wide columns with HTML and PDF writer\n- Bugfix:   (MB) Work item 9775 - PDF and cyrillic fonts\n- Bugfix:   (ET) Work item 9793 - Percentages not working correctly with HTML and PDF writers (shows 0.25% instead of 25%)\n- Bugfix:   (ET) Work item 9791 - PHPExcel_Writer_HTML creates extra borders around cell contents using setUseInlineCss(true)\n- Bugfix:   (ET) Work item 9784 - Problem with text wrap + merged cells in HTML and PDF writer\n- Bugfix:   (ET) Work item 9814 - Adjacent path separators in include_path causing IOFactory to violate open_basedir restriction\n\n\n--------------------------------------------------------------------------------\nBREAKING CHANGE! In previous versions of PHPExcel up to and including 1.6.6,\nwhen a cell had a date-like number format code, it was possible to enter a date\ndirectly using an integer PHP-time without converting to Excel date format.\n\nStarting with PHPExcel 1.6.7 this is no longer supported. Refer to the developer\ndocumentation for more information on entering dates into a cell.\n--------------------------------------------------------------------------------\n\n\n2009/03/02 (v1.6.6):\n- General:  (MB) Work item 9102 - Improve support for built-in number formats in PHPExcel_Reader_Excel2007\n- General:  (ET) Work item 9281 - Source files are in both UNIX and DOS formats - changed to UNIX\n- General:  (MB) Work item 9338 - Update documentation: Which language to write formulas in?\n- Feature:  (ET) Work item 8817 - Ignore DEFCOLWIDTH records with value 8 in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 8847 - Support for width, height, offsetX, offsetY for images in PHPExcel_Reader_Excel5\n- Feature:  (MB) Work item 8870 - Disk Caching in specific folder\n- Feature:  (MBaker) Work item 2346 - Added SUMX2MY2, SUMX2PY2, SUMXMY2, MDETERM and MINVERSE Mathematical and Trigonometric Functions\n- Feature:  (MBaker) Work item 2346 - Added CONVERT Engineering Function\n- Feature:  (MBaker) Work item 2346 - Added DB, DDB, DISC, DOLLARDE, DOLLARFR, INTRATE, IPMT, PPMT, PRICEDISC, PRICEMAT and RECEIVED Financial Functions\n- Feature:  (MBaker) Work item 2346 - Added ACCRINTM, CUMIPMT, CUMPRINC, TBILLEQ, TBILLPRICE, TBILLYIELD, YIELDDISC and YIELDMAT Financial Functions\n- Feature:  (MBaker) Work item 2346 - Added DOLLAR Text Function\n- Feature:  (MBaker) Work item 2346 - Added CORREL, COVAR, FORECAST, INTERCEPT, RSQ, SLOPE and STEYX Statistical Functions\n- Feature:  (MBaker) Work item 2346 - Added PEARSON Statistical Functions as a synonym for CORREL\n- Feature:  (MBaker) Work item 2346 - Added LINEST, LOGEST (currently only valid for stats = false), TREND and GROWTH Statistical Functions\n- Feature:  (MBaker) Work item 2346 - Added RANK and PERCENTRANK Statistical Functions\n- Feature:  (MBaker) Work item 2346 - Added ROMAN Mathematical Function (Classic form only)\n- Feature:  (MB) Work item 8931 - Update documentation to show example of getCellByColumnAndRow($col, $row)\n- Feature:  (MB) Work item 8770 - Implement worksheet, row and cell iterators\n- Feature:  (MB) Work item 9001 - Support for arbitrary defined names (named range)\n- Feature:  (MB, ET) Work item 9016 - Update formulas when sheet title / named range title changes\n- Feature:  (MB) Work item 9103 - Ability to read cached calculated value\n- Feature:  (MBaker, ET) Work item 8483 - Support for Excel 1904 calendar date mode (Mac)\n- Feature:  (ET) Work item 9194 - PHPExcel_Writer_Excel5 improvements writing shared strings table\n- Feature:  (ET) Work item 9248 - PHPExcel_Writer_Excel5 iconv fallback when mbstring extension is not enabled\n- Feature:  (ET) Work item 9253 - UTF-8 support in font names in PHPExcel_Writer_Excel5\n- Feature:  (MB) Work item 9215 - Implement value binding architecture\n- Feature:  (MB) Work item 6742 - PDF writer not working with UTF-8\n- Feature:  (ET) Work item 9355 - Eliminate duplicate style entries in multisheet workbook written by PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8810 - Redirect to client browser fails due to trailing white space in class definitions\n- Bugfix:   (MB) Work item 8816 - Spurious column dimension element introduced in blank worksheet after using PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item 8830 - Image gets slightly narrower than expected when using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8831 - Image laid over non-visible row gets squeezed in height when using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8860 - PHPExcel_Reader_Excel5 fails when there are 10 or more images in the workbook\n- Bugfix:   (MB) Work item 8909 - Different header/footer images in different sheets not working with PHPExcel_Writer_Excel2007\n- Bugfix:   (MB, ET) Work item 8924 - Fractional seconds disappear when using PHPExcel_Reader_Excel2007 and PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 7994 - Images not showing in OpenOffice when using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 9047 - Images not showing on print using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 9085 - PHPExcel_Writer_Excel5 maximum allowed record size 4 bytes too short\n- Bugfix:   (MB) Work item 9119 - Not numeric strings are formatted as dates and numbers using worksheet's toArray method\n- Bugfix:   (ET) Work item 9132 - Excel5 simple formula parsing error\n- Bugfix:   (ET) Work item 9206 - Problems writing dates with CSV\n- Bugfix:   (ET) Work item 9203 - PHPExcel_Reader_Excel5 reader fails with fatal error when reading group shapes\n- Bugfix:   (ET) Work item 9231 - PHPExcel_Writer_Excel5 fails completely when workbook contains more than 57 colors\n- Bugfix:   (ET) Work item 9244 - PHPExcel_Writer_PDF not compatible with autoload\n- Bugfix:   (ET) Work item 9250 - Fatal error: Call to a member function getNestingLevel() on a non-object in PHPExcel/Reader/Excel5.php on line 690\n- Bugfix:   (MB) Work item 9246 - Notices when running test 04printing.php on PHP 5.2.8\n- Bugfix:   (MB) Work item 9294 - insertColumn() spawns creation of spurious RowDimension\n- BugFix:   (MBaker) Work item 9296 - Fix declarations for methods in extended Trend classes\n- Bugfix:   (MBaker) Work item 2346 - Fix to parameters for the FORECAST Statistical Function\n- Bugfix:   (MB) Work item 7083 - PDF writer problems with cell height and text wrapping\n- Bugfix:   (MBaker) Work Item 9337 - Fix test for calculated value in case the returned result is an array\n- Bugfix:   (ET) Work Item 9354 - Column greater than 256 results in corrupt Excel file using PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 9351 - Excel Numberformat 0.00 results in non internal decimal places values in toArray() Method\n- Bugfix:   (MB,ET) Work item 9356 - setAutoSize not taking into account text rotation\n- Bugfix:   (ET) Work item 9372 - Call to undefined method PHPExcel_Worksheet_MemoryDrawing::getPath() in PHPExcel/Writer/HTML.php\n\n\n2009/01/05 (v1.6.5):\n- General:  (MB) Applied patch 2063\n- General:  (MB) Applied patch from work item 8073 - Optimise Shared Strings\n- General:  (MB) Applied patch from work item 8074 - Optimise Cell Sorting\n- General:  (MB) Applied patch from work item 8075 - Optimise Style Hashing\n- General:  (ET) Applied patch from work item 8245 - UTF-8 enhancements\n- General:  (ET) Applied patch from work item 8283 - PHPExcel_Writer_HTML validation errors against strict HTML 4.01 / CSS 2.1\n- General:  (MB) Documented work items 6203 and 8110 in manual\n- General:  (ET) Restructure package hierachy so classes can be found more easily in auto-generated API (from work item 8468)\n- General:  (MB) Work item 8806 - Redirect output to a client's browser: Update recommendation in documentation\n- Feature:  (ET) Work item 7897 - PHPExcel_Reader_Excel5 support for print gridlines\n- Feature:  (ET) Work item 7899 - Screen gridlines support in Excel5 reader/writer\n- Feature:  (MB, ET) Work item 7552 - Option for adding image to spreadsheet from image resource in memory\n- Feature:  (ET) Work item 7862 - PHPExcel_Reader_Excel5 style support for BIFF5 files (Excel 5.0 - Excel 95)\n- Feature:  (ET) Work item 7918 - PHPExcel_Reader_Excel5 support for user-defined colors and special built-in colors\n- Feature:  (ET) Work item 7992 - Support for freeze panes in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 7996 - Support for header and footer margins in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 7997 - Support for active sheet index in Excel5 reader/writer\n- Feature:  (MB) Work item 7991 - Freeze panes not read by PHPExcel_Reader_Excel2007\n- Feature:  (MB, ET) Work item 7993 - Support for screen zoom level (feature request)\n- Feature:  (ET) Work item 8012 - Support for default style in PHPExcel_Reader_Excel5\n- Feature:  (MB) Work item 8094 - Apple iWork / Numbers.app incompatibility\n- Feature:  (MB) Work item 7931 - Support \"between rule\" in conditional formatting\n- Feature:  (MB) Work item 8308 - Comment size, width and height control (feature request)\n- Feature:  (ET) Work item 8418 - Improve method for storing MERGEDCELLS records in PHPExcel_Writer_Excel5\n- Feature:  (ET) Work item 8435 - Support for protectCells() in Excel5 reader/writer\n- Feature:  (ET) Work item 8472 - Support for fitToWidth and fitToHeight pagesetup properties in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 8489 - Support for setShowSummaryBelow() and setShowSummaryRight() in PHPExcel_Writer_Excel5\n- Feature:  (MB) Work item 8483 - Support for Excel 1904 calendar date mode (Mac)\n- Feature:  (ET) Work item 7538 - Excel5 reader: Support for reading images (bitmaps)\n- Feature:  (ET) Work item 8787 - Support for default style in PHPExcel_Writer_Excel5\n- Feature:  (MBaker) Modified calculate() method to return either an array or the first value from the array for those functions that return arrays rather than single values (e.g the MMULT and TRANSPOSE function). This performance can be modified based on the $returnArrayAsType which can be set/retrieved by calling the setArrayReturnType() and getArrayReturnType() methods of the PHPExcel_Calculation class.\n- Feature:  (MBaker) Work item 2346 - Added ERROR.TYPE Information Function, MMULT Mathematical and Trigonometry Function, and TRANSPOSE Lookup and Reference Function\n- Bugfix:   (ET) Work item 7896 - setPrintGridlines(true) not working with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7907 - Incorrect mapping of fill patterns in PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 7898 - setShowGridlines(false) not working with PHPExcel_Writer_Excel2007\n- Bugfix:   (MB) Work item 7905 - getShowGridlines() gives inverted value when reading sheet with PHPExcel_Reader_Excel2007\n- Bugfix:   (ET) Work item 7944 - User-defined column width becomes slightly larger after read/write with Excel5\n- Bugfix:   (ET) Work item 7949 - Incomplete border style support in PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 7928 - Conditional formatting \"containsText\" read/write results in MS Office Excel 2007 crash\n- Bugfix:   (MB) Work item 7995 - All sheets are always selected in output when using PHPExcel_Writer_Excel2007\n- Bugfix:   (MB) Work item 8013 - COLUMN function warning message during plain read/write\n- Bugfix:   (MB) Work item 8155 - setValue(0) results in string data type '0'\n- Bugfix:   (MB) Work item 8226 - Styles not removed when removing rows from sheet\n- Bugfix:   (MB) Work item 8301 - =IF formula causes fatal error during $objWriter->save() in Excel2007 format\n- Bugfix:   (ET) Work item 8333 - Exception thrown reading valid xls file: \"Excel file is corrupt. Didn't find CONTINUE record while reading shared strings\"\n- Bugfix:   (ET) Work item 8320 - MS Outlook corrupts files generated by PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 8351 - Undefined method PHPExcel_Worksheet::setFreezePane() in ReferenceHelper.php on line 271\n- Bugfix:   (MB) Work item 8401 - Ampersands (&), left and right angles (<, >) in Rich-Text strings leads to corrupt output using PHPExcel_Writer_Excel2007\n- Bugfix:   (ET) Work item 8408 - Print header and footer not supporting UTF-8 in PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8463 - Vertical page breaks not working with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8476 - Missing support for accounting underline types in PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8482 - Infinite loops when reading corrupt xls file using PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 8566 - Sheet protection password not working with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8596 - PHPExcel_Style_NumberFormat::FORMAT_NUMBER ignored by PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8781 - PHPExcel_Reader_Excel5 fails a whole when workbook contains a chart\n- Bugfix:   (ET) Work item 8788 - Occasional loss of column widths using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 8795 - Notices while reading formulas with deleted sheet references using PHPExcel_Reader_Excel5\n- Bugfix:   (MB) Work item 8807 - Default style not read by PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 9341 - Blank rows occupy too much space in file generated by PHPExcel_Writer_Excel2007\n\n\n2008/10/27 (v1.6.4):\n- General:  (ET) Work item 7882 - RK record number error in MS developer documentation: 0x007E should be 0x027E\n- Feature:  (MBaker) Work item 7878 - getHighestColumn() returning \"@\" for blank worksheet causes corrupt output\n- Feature:  (MBaker) Work item 2346 - Implement ROW and COLUMN Lookup/Reference Functions (when specified with a parameter)\n- Feature:  (MBaker) Work item 2346 - Implement initial work on OFFSET Lookup/Reference Function (returning address rather than value at address)\n- Feature:  (ET) Work item 7416 - Excel5 reader: Page margins\n- Feature:  (ET) Work item 7417 - Excel5 reader: Header & Footer\n- Feature:  (ET) Work item 7449 - Excel5 reader support for page setup (paper size etc.)\n- Feature:  (MB) Work item 7445 - Improve speed and memory consumption of PHPExcel_Writer_CSV\n- Feature:  (MB) Work item 7432 - Better recognition of number format in HTML, CSV, and PDF writer\n- Feature:  (MB) Work item 7485 - Font support: Superscript and Subscript\n- Feature:  (ET) Work item 7509 - Excel5 reader font support: Super- and subscript\n- Feature:  (ET) Work item 7521 - Excel5 reader style support: Text rotation and stacked text\n- Feature:  (ET) Work item 7530 - Excel5 reader: Support for hyperlinks\n- Feature:  (MB, ET) Work item 7557 - Import sheet by request\n- Feature:  (ET) Work item 7607 - PHPExcel_Reader_Excel5 support for page breaks\n- Feature:  (ET) Work item 7622 - PHPExcel_Reader_Excel5 support for shrink-to-fit\n- Feature:  (MB, ET) Work item 7675 - Support for error types\n- Feature:  (ET) Work item 7388 - Excel5 reader true formula support\n- Feature:  (ET) Work item 7701 - Support for named ranges (defined names) in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 7781 - Support for repeating rows and repeating columns (print titles) in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 7783 - Support for print area in PHPExcel_Reader_Excel5\n- Feature:  (ET) Work item 7795 - Excel5 reader and writer support for horizontal and vertical centering of page\n- Feature:  (MB) Applied patch 1962\n- Feature:  (ET) Work item 7866 - Excel5 reader and writer support for hidden cells (formulas)\n- Feature:  (MB, ET) Work item 7612 - Support for indentation in cells (feature request)\n- Feature:  (MB, ET) Work item 7828 - Option for reading only specified interval of rows in a sheet\n- Bugfix:   (MBaker) Work item 7367 - PHPExcel_Calculation_Functions::DATETIMENOW() and PHPExcel_Calculation_Functions::DATENOW() to force UTC\n- Bugfix:   (MBaker) Work item 7395 - Modified PHPExcel_Shared_Date::FormattedPHPToExcel() and PHPExcel_Shared_Date::ExcelToPHP to force datatype for return values\n- Bugfix:   (ET) Work item 7450 - Excel5 reader not producing UTF-8 strings with BIFF5 files\n- Bugfix:   (MB) Work item 7470 - Array constant in formula gives run-time notice with Excel2007 writer\n- Bugfix:   (MB) Work item 7494 - PHPExcel_Reader_Excel2007 setReadDataOnly(true) returns Rich-Text\n- Bugfix:   (ET) Work item 7496 - PHPExcel_Reader_Excel5 setReadDataOnly(true) returns Rich-Text\n- Bugfix:   (MB) Work item 7497 - Characters before superscript or subscript losing style\n- Bugfix:   (MB) Work item 7507 - Subscript not working with HTML writer\n- Bugfix:   (MB) Work item 7508 - DefaultColumnDimension not working on first column (A)\n- Bugfix:   (MB) Work item 7527 - Negative numbers are stored as text in PHPExcel_Writer_2007\n- Bugfix:   (ET) Work item 7531 - Text rotation and stacked text not working with PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 7536 - PHPExcel_Shared_Date::isDateTimeFormatCode erroneously says true\n- Bugfix:   (MB) Work item 7559 - Different images with same filename in separate directories become duplicates\n- Bugfix:   (ET) Work item 7568 - PHPExcel_Reader_Excel5 not returning sheet names as UTF-8 using for Excel 95 files\n- Bugfix:   (MB) Work item 7575 - setAutoSize(true) on empty column gives column width of 10 using PHPExcel_Writer_Excel2007\n- Bugfix:   (MB, ET) Work item 7573 - setAutoSize(true) on empty column gives column width of 255 using PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 7514 - Worksheet_Drawing bug\n- Bugfix:   (MB) Work item 7593 - getCalculatedValue() with REPT function causes script to stop\n- Bugfix:   (MB) Work item 7594 - getCalculatedValue() with LEN function causes script to stop\n- Bugfix:   (MB) Work item 7600 - Explicit fit-to-width (page setup) results in fit-to-height becoming 1\n- Bugfix:   (MB) Work item 7610 - Fit-to-width value of 1 is lost after read/write of Excel2007 spreadsheet\n- Bugfix:   (MB) Work item 7516 - Conditional styles not read properly using PHPExcel_Reader_Excel2007\n- Bugfix:   (MB) Work item 7611 - PHPExcel_Writer_2007: Default worksheet style works only for first sheet\n- Bugfix:   (ET) Work item 6940 - Cannot Lock Cells using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7621 - Incorrect cell protection values found when using Excel5 reader\n- Bugfix:   (ET) Work item 7623 - Default row height not working above highest row using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7637 - Default column width does not get applied when using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7642 - Broken support for UTF-8 string formula results in PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 7643 - UTF-8 sheet names not working with PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 7631 - getCalculatedValue() with ISNONTEXT function causes script to stop\n- Bugfix:   (ET) Work item 7652 - Missing BIFF3 functions in PHPExcel_Writer_Excel5: USDOLLAR (YEN), FINDB, SEARCHB, REPLACEB, LEFTB, RIGHTB, MIDB, LENB, ASC, DBCS (JIS)\n- Bugfix:   (ET) Work item 7663 - Excel5 reader doesn't read numbers correctly in 64-bit systems\n- Bugfix:   (ET) Work item 7667 - Missing BIFF5 functions in PHPExcel_Writer_Excel5: ISPMT, DATEDIF, DATESTRING, NUMBERSTRING\n- Bugfix:   (ET) Work item 7668 - Missing BIFF8 functions in PHPExcel_Writer_Excel5: GETPIVOTDATA, HYPERLINK, PHONETIC, AVERAGEA, MAXA, MINA, STDEVPA, VARPA, STDEVA, VARA\n- Bugfix:   (MB) Work item 7657 - Wrong host value in PHPExcel_Shared_ZipStreamWrapper::stream_open()\n- Bugfix:   (ET) Work item 7676 - PHPExcel_Reader_Excel5 not reading explicitly entered error types in cells\n- Bugfix:   (ET) Work item 7678 - Boolean and error data types not preserved for formula results in PHPExcel_Reader_Excel5\n- Bugfix:   (MB) Work item 7695 - PHPExcel_Reader_Excel2007 ignores cell data type\n- Bugfix:   (ET) Work item 7712 - PHPExcel_Reader_Excel5 ignores cell data type\n- Bugfix:   (ET) Work item 7587 - PHPExcel_Writer_Excel5 not aware of data type\n- Bugfix:   (ET) Work item 7713 - Long strings sometimes truncated when using PHPExcel_Reader_Excel5\n- Bugfix:   (ET) Work item 7727 - Direct entry of boolean or error type in cell not supported by PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 7714 - PHPExcel_Reader_Excel2007: Error reading cell with data type string, date number format, and numeric-like cell value\n- Bugfix:   (ET) Work item 7735 - Row and column outlines (group indent level) not showing after using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7737 - Missing UTF-8 support in number format codes for PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7750 - Missing UTF-8 support with PHPExcel_Writer_Excel5 for explicit string in formula\n- Bugfix:   (MB) Work item 7726 - Problem with class constants in PHPExcel_Style_NumberFormat\n- Bugfix:   (ET) Work item 7758 - Sometimes errors with PHPExcel_Reader_Excel5 reading hyperlinks\n- Bugfix:   (ET) Work item 7759 - Hyperlink in cell always results in string data type when using PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7771 - Excel file with blank sheet seen as broken in MS Office Excel 2007 when created by PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7785 - PHPExcel_Reader_Excel5: Incorrect reading of formula with explicit string containing (escaped) double-quote\n- Bugfix:   (MB) Work item 7787 - getCalculatedValue() fails on formula with sheet name containing (escaped) single-quote\n- Bugfix:   (MB) Work item 7786 - getCalculatedValue() fails on formula with explicit string containing (escaped) double-quote\n- Bugfix:   (MB) Work item 7780 - Problems with simultaneous repeatRowsAtTop and repeatColumnsAtLeft using Excel2007 reader and writer\n- Bugfix:   (ET) Work item 7802 - PHPExcel_Reader_Excel5: Error reading formulas with sheet reference containing special characters\n- Bugfix:   (ET) Work item 7831 - Off-sheet references sheet!A1 not working with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7834 - Repeating rows/columns (print titles), print area not working with PHPExcel_Writer_Excel5\n- Bugfix:   (ET) Work item 7849 - Formula having datetime number format shows as text when using PHPExcel_Writer_Excel5\n- Bugfix:   (MBaker) Work item 7863 - Cannot set formula to hidden using applyFromArray()\n- Bugfix:   (MBaker) Work item 7805 - HTML/PDF Writers limited to 26 columns by calculateWorksheetDimension (erroneous comparison in getHighestColumn() method)\n- Bugfix:   (MB) Work item 7873 - Formula returning error type is lost when read by PHPExcel_Reader_Excel2007\n- Bugfix:   (ET) Work item 7883 - PHPExcel_Reader_Excel5: Cell style lost for last column in group of blank cells\n- Bugfix:   (MB) Work item 7886 - Column width sometimes collapses to auto size using Excel2007 reader/writer\n- Bugfix:   (MB) Work item 9343 - Data Validation Formula = 0 crashes Excel\n\n\n2008/08/25 (v1.6.3):\n- Bugfix:   (MBaker) Work item 7367 - Modified PHPExcel_Shared_Date::PHPToExcel() to force UTC\n- General:  (MB) Applied patch 1629\n- General:  (MB) Applied patch 1644\n- General:  (MB) Work item 6485 - Implement repeatRow and repeatColumn in Excel5 writer\n- General:  (MB) Work item 6838 - Remove scene3d filter in Excel2007 drawing\n- Feature:  (MBaker) Work item 2346 - Implement CHOOSE and INDEX Lookup/Reference Functions\n- Feature:  (MBaker) Work item 2346 - Implement CLEAN Text Functions\n- Feature:  (MBaker) Work item 2346 - Implement YEARFRAC Date/Time Functions\n- Feature:  (MB) Work item 6508 - Implement 2 options for print/show gridlines\n- Feature:  (MB) Work item 7270 - Add VLOOKUP function (contribution)\n- Feature:  (MB) Work item 7182 - Implemented: ShrinkToFit\n- Feature:  (MB) Work item 7218 - Row heights not updated correctly when inserting new rows\n- Feature:  (MB) Work item 7157 - Copy worksheets within the same workbook\n- Feature:  (ET) Work item 7290 - Excel5 reader style support: horizontal and vertical alignment plus text wrap\n- Feature:  (ET) Work item 7294 - Excel5 reader support for merged cells\n- Feature:  (ET) Work item 7296 - Excel5 reader: Sheet Protection\n- Feature:  (ET) Work item 7297 - Excel5 reader: Password for sheet protection\n- Feature:  (ET) Work item 7299 - Excel5 reader: Column width\n- Feature:  (ET) Work item 7301 - Excel5 reader: Row height\n- Feature:  (ET) Work item 7304 - Excel5 reader: Font support\n- Feature:  (ET) Work item 7324 - Excel5 reader: support for locked cells\n- Feature:  (ET) Work item 7330 - Excel5 reader style support: Fill (background colors and patterns)\n- Feature:  (ET) Work item 7332 - Excel5 reader style support: Borders (style and color)\n- Feature:  (ET) Work item 7346 - Excel5 reader: Rich-Text support\n- Feature:  (MB) Work item 7313 - Read Excel built-in number formats with Excel 2007 reader\n- Feature:  (ET) Work item 7317 - Excel5 reader: Number format support\n- Feature:  (MB) Work item 7362 - Creating a copy of PHPExcel object\n- Feature:  (ET) Work item 7373 - Excel5 reader: support for row / column outline (group)\n- Feature:  (MB) Work item 7380 - Implement default row/column sizes\n- Feature:  (MB) Work item 7364 - Writer HTML - option to return styles and table separately\n- Feature:  (ET) Work item 7393 - Excel5 reader: Support for remaining built-in number formats\n- Bugfix:   (MBaker) Fixed rounding in HOUR MINUTE and SECOND Time functions, and improved performance for these\n- Bugfix:   (MBaker) Fix to TRIM function\n- Bugfix:   (MBaker) Fixed range validation in TIME Functions.php\n- Bugfix:   (MBaker) EDATE and EOMONTH functions now return date values based on the returnDateType flag\n- Bugfix:   (MBaker) Write date values that are the result of a calculation function correctly as Excel serialized dates rather than PHP serialized date values\n- Bugfix:   (MB) Work item 6690 - Excel2007 reader not always reading boolean correctly\n- Bugfix:   (MB) Work item 6275 - Columns above IZ\n- Bugfix:   (MB) Work item 6853 - Other locale than English causes Excel2007 writer to produce broken xlsx\n- Bugfix:   (MB) Work item 7061 - Typo: Number_fromat in NumberFormat.php\n- Bugfix:   (MB) Work item 6865 - Bug in Worksheet_BaseDrawing setWidth()\n- Bugfix:   (MB) Work item 6891 - PDF writer collapses column width for merged cells\n- Bugfix:   (MB) Work item 6867 - Issues with drawings filenames\n- Bugfix:   (MB) Work item 7073 - fromArray() local variable isn't defined\n- Bugfix:   (MB) Work item 7276 - PHPExcel_Writer_Excel5->setTempDir() not passed to all classes involved in writing to a file\n- Bugfix:   (MB) Work item 7277 - Excel5 reader not handling UTF-8 properly\n- Bugfix:   (MB) Work item 7327 - If you write a 0 value in cell, cell shows as empty\n- Bugfix:   (MB) Work item 7302 - Excel2007 writer: Row height ignored for empty rows\n- Bugfix:   (MB) Work item 7281 - Excel2007 (comments related error)\n- Bugfix:   (MB) Work item 7345 - Column width in other locale\n- Bugfix:   (MB) Work item 7347 - Excel2007 reader not reading underlined Rich-Text\n- Bugfix:   (ET) Work item 7357 - Excel5 reader converting booleans to strings\n- Bugfix:   (MB) Work item 7365 - Recursive Object Memory Leak\n- Bugfix:   (MB) Work item 7372 - Excel2007 writer ignoring row dimensions without cells\n- Bugfix:   (ET) Work item 7382 - Excel5 reader is converting formatted numbers / dates to strings\n\n\n2008/06/23 (v1.6.2):\n- General:  (MB) Work item 6088 - Document style array values\n- General:  (MB) Applied patch 1195\n- General:  (MB) Work item 6178 - Redirecting output to a client’s web browser - http headers\n- General:  (MB) Work item 6187 - Improve worksheet garbage collection\n- General:  (MBaker) Functions that return date values can now be configured to return as Excel serialized date/time, PHP serialized date/time, or a PHP date/time object.\n- General:  (MBaker) Functions that explicitly accept dates as parameters now permit values as Excel serialized date/time, PHP serialized date/time, a valid date string, or a PHP date/time object.\n- General:  (MBaker) Implement ACOSH, ASINH and ATANH functions for those operating platforms/PHP versions that don't include these functions\n- General:  (MBaker) Implement ATAN2 logic reversing the arguments as per Excel\n- General:  (MBaker) Additional validation of parameters for COMBIN\n- General:  (MBaker) Fixed validation for CEILING and FLOOR when the value and significance parameters have different signs; and allowed default value of 1 or -1 for significance when in GNUMERIC compatibility mode\n- Feature:  (MBaker) Work item 2346 - Implement ADDRESS, ISLOGICAL, ISTEXT and ISNONTEXT functions\n- Feature:  (MBaker) Work item 2346 - Implement COMPLEX, IMAGINARY, IMREAL, IMARGUMENT, IMCONJUGATE, IMABS, IMSUB, IMDIV, IMSUM, IMPRODUCT, IMSQRT, IMEXP, IMLN, IMLOG10, IMLOG2, IMPOWER IMCOS and IMSIN Engineering functions\n- Feature:  (MBaker) Work item 2346 - Implement NETWORKDAYS and WORKDAY Date/Time functions\n- Feature:  (MB) Work item 6100 - Make cell column AAA available\n- Feature:  (MB) Work item 6095 - Mark particular cell as selected when opening Excel\n- Feature:  (MB) Work item 6120 - Multiple sheets in PDF and HTML\n- Feature:  (MB) Work item 6227 - Implement PHPExcel_ReaderFactory and PHPExcel_WriterFactory\n- Feature:  (MB) Work item 6249 - Set image root of PHPExcel_Writer_HTML\n- Feature:  (MB) Work item 6264 - Enable/disable calculation cache\n- Feature:  (MB) Work item 6259 - PDF writer and multi-line text\n- Feature:  (MB) Work item 6350 - Feature request - setCacheExpirationTime()\n- Feature:  (JB) Work item 6370 - Implement late-binding mechanisms to reduce memory footprint\n- Feature:  (JB) Work item 6430 - Implement shared styles\n- Feature:  (MB) Work item 6391 - Copy sheet from external Workbook to active Workbook\n- Feature:  (MB) Work item 6428 - Functions in Conditional Formatting\n- Bugfix:   (MB) Work item 6096 - Default Style in Excel5\n- Bugfix:   (MB) Work item 6150 - Numbers starting with '+' cause Excel 2007 errors\n- Bugfix:   (MB) Work item 6092 - ExcelWriter5 is not PHP5 compatible, using it with E_STRICT results in a bunch of errors (applied patches)\n- Bugfix:   (MB) Work item 6179 - Error Reader Excel2007 line 653 foreach ($relsDrawing->Relationship as $ele)\n- Bugfix:   (MB) Work item 6229 - Worksheet toArray() screws up DATE\n- Bugfix:   (MB) Work item 6253 - References to a Richtext cell in a formula\n- Bugfix:   (MB) Work item 6285 - insertNewColumnBefore Bug\n- Bugfix:   (MB) Work item 6319 - Error reading Excel2007 file with shapes\n- Bugfix:   (MBaker) Work item 6302 - Determine whether date values need conversion from PHP dates to Excel dates before writing to file, based on the data type (float or integer)\n- Bugfix:   (MBaker) Fixes to DATE function when it is given negative input parameters\n- Bugfix:   (MB) Work item 6347 - PHPExcel handles empty cells other than Excel\n- Bugfix:   (MB) Work item 6348 - PHPExcel handles 0 and \"\" as being the same\n- Bugfix:   (MB) Work item 6357 - Problem Using Excel2007 Reader for Spreadsheets containing images\n- Bugfix:   (MB) Work item 6359 - ShowGridLines ignored when reading/writing Excel 2007\n- Bugfix:   (MB) Work item 6426 - Bug With Word Wrap in Excel 2007 Reader\n\n\n2008/04/28 (v1.6.1):\n- General:  (MB) Work item 5532 - Fix documentation printing\n- General:  (MB) Work item 5586 - Memory usage improvements\n- General:  (MB) Applied patch 990\n- General:  (MB) Applied patch 991\n- Feature:  (BM) Work item 2841 - Implement PHPExcel_Reader_Excel5\n- Feature:  (MB) Work item 5564 - Implement \"toArray\" and \"fromArray\" method\n- Feature:  (MB) Work item 5665 - Read shared formula\n- Feature:  (MB) Work item 5681 - Read image twoCellAnchor\n- Feature:  (MB) Work item 4446 - &G Image as bg for headerfooter\n- Feature:  (MB) Work item 5834 - Implement page layout functionality for Excel5 format\n- Feature:  (MB) Work item 6039 - Feature request: PHPExcel_Writer_PDF\n- Bugfix:   (MB) Work item 5517 - DefinedNames null check\n- Bugfix:   (MB) Work item 5463 - Hyperlinks should not always have trailing slash\n- Bugfix:   (MB) Work item 5592 - Saving Error - Uncaught exception (#REF! named range)\n- Bugfix:   (MB) Work item 5634 - Error when creating Zip file on Linux System (Not Windows)\n- Bugfix:   (MB) Work item 5876 - Time incorrecly formated\n- Bugfix:   (MB) Work item 5914 - Conditional formatting - second rule not applied\n- Bugfix:   (MB) Work item 5978 - PHPExcel_Reader_Excel2007 cannot load PHPExcel_Shared_File\n- Bugfix:   (MB) Work item 6020 - Output redirection to web browser\n\n\n2008/02/14 (v1.6.0):\n- General:  (MB) Work item 3156 - Use PHPExcel datatypes in formula calculation\n- Feature:  (MB) Work item 5019 - Center on page when printing\n- Feature:  (MB) Work item 5099 - Hyperlink to other spreadsheet\n- Feature:  (MB) Work item 5104 - Set the print area of a worksheet\n- Feature:  (MB) Work item 5118 - Read \"definedNames\" property of worksheet\n- Feature:  (MB) Work item 5338 - Set default style for all cells\n- Feature:  (MB) Work item 4216 - Named Ranges\n- Feature:  (MB) Work item 5398 - Implement worksheet references (Sheet1!A1)\n- Bugfix:   (MB) Work item 4967 - Redirect output to a client's web browser\n- Bugfix:   (MB) Work item 5008 - \"File Error: data may have been lost.\" seen in Excel 2007 and Excel 2003 SP3 when opening XLS file\n- Bugfix:   (MB) Work item 5165 - Bug in style's getHashCode()\n- Bugfix:   (MB) Work item 5165 - PHPExcel_Reader not correctly reading numeric values\n- Bugfix:   (MB) Work item 5324 - Text rotation is read incorrectly\n- Bugfix:   (MB) Work item 5326 - Enclosure \" and data \" result a bad data : \\\" instead of \"\"\n- Bugfix:   (MB) Work item 5332 - Formula parser - IF statement returning array instead of scalar\n- Bugfix:   (MB) Work item 5351 - setFitToWidth(nbpage) & setFitToWidth(nbpage) work partially\n- Bugfix:   (MB) Work item 5361 - Worksheet::setTitle() causes unwanted renaming\n- Bugfix:   (MB) Work item 5407 - Hyperlinks not working. Results in broken xlsx file.\n\n\n2007/12/24 (v1.5.5):\n- General:  (MB) Work item 4135 - Grouping Rows\n- General:  (MB) Work item 4427 - Semi-nightly builds\n- Feature:  (MB) Work item 3155 - Implement \"date\" datatype\n- Feature:  (MB) Work item 4150 - Date format not honored in CSV writer\n- Feature:  (MB) Work item 4199 - RichText and sharedStrings\n- Feature:  (MB) Work item 2346 - Implement more Excel calculation functions\n            -    Addition of DATE, DATEDIF, DATEVALUE, DAY, DAYS360\n- Feature:  (MBaker) Work item 2346 - Implement more Excel calculation functions\n            -    Addition of AVEDEV, HARMEAN and GEOMEAN\n            -    Addition of the BINOMDIST (Non-cumulative only), COUNTBLANK, EXPONDIST, FISHER, FISHERINV, NORMDIST, NORMSDIST, PERMUT, POISSON (Non-cumulative only) and STANDARDIZE Statistical Functions\n            -    Addition of the CEILING, COMBIN, EVEN, FACT, FACTDOUBLE, FLOOR, MULTINOMIAL, ODD, ROUNDDOWN, ROUNDUP, SIGN, SQRTPI and SUMSQ Mathematical Functions\n            -    Addition of the NORMINV, NORMSINV, CONFIDENCE and SKEW Statistical Functions\n            -    Addition of the CRITBINOM, HYPGEOMDIST, KURT, LOGINV, LOGNORMDIST, NEGBINOMDIST and WEIBULL Statistical Functions\n            -    Addition of the LARGE, PERCENTILE, QUARTILE, SMALL and TRIMMEAN Statistical Functions\n            -    Addition of the BIN2HEX, BIN2OCT, DELTA, ERF, ERFC, GESTEP, HEX2BIN, HEX2DEC, HEX2OCT, OCT2BIN and OCT2HEX Engineering Functions\n            -    Addition of the CHIDIST, GAMMADIST and GAMMALN Statistical Functions\n            -    Addition of the GCD, LCM, MROUND and SUBTOTAL Mathematical Functions\n            -    Addition of the LOWER, PROPER and UPPER Text Functions\n            -    Addition of the BETADIST and BETAINV Statistical Functions\n            -    Addition of the CHIINV and GAMMAINV Statistical Functions\n            -    Addition of the SERIESSUM Mathematical Function\n            -    Addition of the CHAR, CODE, FIND, LEN, REPT, SEARCH, T, TRIM Text Functions\n            -    Addition of the FALSE and TRUE Boolean Functions\n            -    Addition of the TDIST and TINV Statistical Functions\n            -    Addition of the EDATE, EOMONTH, YEAR, MONTH, TIME, TIMEVALUE, HOUR, MINUTE, SECOND, WEEKDAY, WEEKNUM, NOW, TODAY and Date/Time Function\n            -    Addition of the BESSELI, BESSELJ, BESSELK and BESSELY Engineering Functions\n            -    Addition of the SLN and SYD Financial Functions\n            -    reworked MODE calculation to handle floating point numbers\n            -    Improved error trapping for invalid input values\n            -    Fix to SMALL, LARGE, PERCENTILE and TRIMMEAN to eliminate non-numeric values\n            -    Added CDF to BINOMDIST and POISSON\n            -    Fix to a potential endless loop in CRITBINOM, together with other bugfixes to the algorithm\n            -    Fix to SQRTPI so that it will work with a real value parameter rather than just integers\n            -    Trap for passing negative values to FACT\n            -    Improved accuracy of the NORMDIST cumulative function, and of the ERF and ERFC functions\n            -    Replicated Excel data-type and error handling for BIN, DEC, OCT and HEX conversion functions\n            -    Replicated Excel data-type and error handling for AND and OR Boolean functions\n            -    Bugfix to MROUND\n            -    Rework of the DATE, DATEVALUE, DAY, DAYS360 and DATEDIF date/Time functions to use Excel dates rather than straight PHP dates\n            -    Rework of the AND, OR Boolean functions to ignore string values\n            -    Rework of the BIN2DEC, BIN2HEX, BIN2OCT, DEC2BIN, DEC2HEX, DEC2OCT Engineering functions to handle two's complement\n            -    Excel, Gnumeric and OpenOffice Calc compatibility flag for functions\n                 Note, not all functions have yet been written to work with the Gnumeric and OpenOffice Calc compatibility flags\n            -    1900 or 1904 Calendar flag for date functions\n            -    Reworked ExcelToPHP date method to handle the Excel 1900 leap year\n                 Note that this will not correctly return values prior to 13-Dec-1901 20:45:52 as this is the minimum value that PHP date serial values can handle. If you need to work with dates prior to this, then an ExcelToPHPObject method has been added which will work correctly with values between Excel's 1900 calendar base date of 1-Jan-1900, and 13-Dec-1901\n            -    Addition of ExcelToPHPObject date method to return a PHP DateTime object from an Excel date serial value\n            -    PHPToExcel method modified to accept either PHP date serial numbers or PHP DateTime objects\n            -    Addition of FormattedPHPToExcel which will accept a date and time broken to into year, month, day, hour, minute, second and return an Excel date serial value\n- Feature:  (MB) Work item 4485 - Control characters in Excel 2007\n- Feature:  (MB) Work item 4796 - BaseDrawing::setWidthAndHeight method request\n- Feature:  (MB) Work item 4798 - Page Setup -> Print Titles -> Sheet -> 'Rows to repeat at top'\n- Feature:  (MB) Work item 4433 - Comment functionality\n- Bugfix:   (MB) Work item 4124 - Undefined variable in PHPExcel_Writer_Serialized\n- Bugfix:   (MB) Work item 4125 - Notice: Object of class PHPExcel_RichText could not be converted to int\n- Bugfix:   (MB) Work item 4126 - Excel5Writer: utf8 string not converted to utf16\n- Bugfix:   (MB) Work item 4180 - PHPExcel_RichText and autosize\n- Bugfix:   (MB) Work item 4574 - Excel5Writer produces broken xls files after change mentioned in work item 4126\n- Bugfix:   (MB) Work item 4797 - Small bug in PHPExcel_Reader_Excel2007 function _readStyle\n\n\n2007/10/23 (v 1.5.0):\n- General:  (MB) Work item 3265 - Refactor PHPExcel Drawing\n- Feature:  (CS) Work item 3079 - Update Shared/OLE.php to latest version from PEAR\n- Feature:  (MB) Work item 3217 - Excel2007 vs Excel2003 compatibility pack\n- Feature:  (MB) Work item 3234 - Cell protection (lock/unlock)\n- Feature:  (MB) Work item 3543 - Create clickable links (hyperlinks)\n- Feature:  (MB) Work item 3241 - Additional page setup parameters\n- Feature:  (MB) Work item 3300 - Make temporary file path configurable (Excel5)\n- Feature:  (MB) Work item 3306 - Small addition to applyFromArray for font\n- Feature:  (MB) Work item 3373 - Better feedback when save of file is not possible\n- Bugfix:   (MB) Work item 3181 - Text Rotation\n- Bugfix:   (MB) Work item 3237 - Small bug in Page Orientation\n- Bugfix:   (MB) Work item 3812 - insertNewColumnBeforeByColumn undefined\n- Bugfix:   (MB) Work item 3893 - Sheet references not working in formula (Excel5 Writer)\n\n\n2007/08/23 (v 1.4.5):\n- General:  (MB) Work item 3003 - Class file endings\n- General:  (MB) Work item 3081 - Different calculation engine improvements\n- General:  (MB) Work item 3082 - Different improvements in PHPExcel_Reader_Excel2007\n- General:  (MB) Work item 3146 - Set XML indentation in PHPExcel_Writer_Excel2007\n- Feature:  (MB) Work item 3159 -  Optionally store temporary Excel2007 writer data in file instead of memory\n- Feature:  (MB) Work item 3063 - Implement show/hide gridlines\n- Feature:  (MB) Work item 3064 - Implement option to read only data\n- Feature:  (MB) Work item 3080 - Optionally disable formula precalculation\n- Feature:  (MB) Work item 3154 - Explicitly set cell datatype\n- Feature:  (MBaker) Work item 2346 - Implement more Excel calculation functions\n             -    Addition of MINA, MAXA, COUNTA, AVERAGEA, MEDIAN, MODE, DEVSQ, STDEV, STDEVA, STDEVP, STDEVPA, VAR, VARA, VARP and VARPA Excel Functions\n             -    Fix to SUM, PRODUCT, QUOTIENT, MIN, MAX, COUNT and AVERAGE functions when cell contains a numeric value in a string datatype, bringing it in line with MS Excel behaviour\n- Bugfix:   (MB) Work item 2881 - File_exists on ZIP fails on some installations\n- Bugfix:   (MB) Work item 2879 - Argument in textRotation should be -90..90\n- Bugfix:   (MB) Work item 2883 - Excel2007 reader/writer not implementing OpenXML/SpreadsheetML styles 100% correct\n- Bugfix:   (MB) Work item 2513 - Active sheet index not read/saved\n- Bugfix:   (MB) Work item 2935 - Print and print preview of generated XLSX causes Excel2007 to crash\n- Bugfix:   (MB) Work item 2952 - Error in Calculations - COUNT() function\n- Bugfix:   (MB) Work item 3002 - HTML and CSV writer not writing last row\n- Bugfix:   (MB) Work item 3017 - Memory leak in Excel5 writer\n- Bugfix:   (MB) Work item 3044 - Printing (PHPExcel_Writer_Excel5)\n- Bugfix:   (MB) Work item 3046 - Problems reading zip://\n- Bugfix:   (MB) Work item 3047 - Error reading conditional formatting\n- Bugfix:   (MB) Work item 3067 - Bug in Excel5 writer (storePanes)\n- Bugfix:   (MB) Work item 3077 - Memory leak in PHPExcel_Style_Color\n\n\n2007/07/23 (v 1.4.0):\n- General:  (MB) Work item 2687 - Coding convention / code cleanup\n- General:  (MB) Work item 2717 - Use set_include_path in tests\n- General:  (MB) Work item 2812 - Move PHPExcel_Writer_Excel5 OLE to PHPExcel_Shared_OLE\n- Feature:  (MB) Work item 2679 - Hide/Unhide Column or Row\n- Feature:  (MB) Work item 2271 - Implement multi-cell styling\n- Feature:  (MB) Work item 2720 - Implement CSV file format (reader/writer)\n- Feature:  (MB) Work item 2845 - Implement HTML file format\n- Bugfix:   (MB) Work item 2513 - Active sheet index not read/saved\n- Bugfix:   (MB) Work item 2678 - Freeze Panes with PHPExcel_Writer_Excel5\n- Bugfix:   (MB) Work item 2680 - OLE.php\n- Bugfix:   (MB) Work item 2736 - Copy and pasting multiple drop-down list cells breaks reader\n- Bugfix:   (MB) Work item 2775 - Function setAutoFilterByColumnAndRow takes wrong arguments\n- Bugfix:   (MB) Work item 2858 - Simplexml_load_file fails on ZipArchive\n\n\n2007/06/27 (v 1.3.5):\n- General:  (MB) Work item 15   - Documentation\n- Feature:  (JV) PHPExcel_Writer_Excel5\n- Feature:  (JV) PHPExcel_Reader_Excel2007: Image shadows\n- Feature:  (MB) Work item 2385 - Data validation\n- Feature:  (MB) Work item  187 - Implement richtext strings\n- Bugfix:   (MB) Work item 2443 - Empty relations when adding image to any sheet but the first one\n- Bugfix:   (MB) Work item 2536 - Excel2007 crashes on print preview\n\n\n2007/06/05 (v 1.3.0):\n- General:  (MB) Work item 1942 - Create PEAR package\n- General:  (MB) Work item 2331 - Replace *->duplicate() by __clone()\n- Feature:  (JV) PHPExcel_Reader_Excel2007: Column auto-size, Protection, Merged cells, Wrap text, Page breaks, Auto filter, Images\n- Feature:  (MB) Work item 245  - Implement \"freezing\" panes\n- Feature:  (MB) Work item 2273 - Cell addressing alternative\n- Feature:  (MB) Work item 2270 - Implement cell word-wrap attribute\n- Feature:  (MB) Work item 2282 - Auto-size column\n- Feature:  (MB) Work item 241  - Implement formula calculation\n- Feature:  (MB) Work item 2375 - Insert/remove row/column\n- Bugfix:   (MB) Work item 1931 - PHPExcel_Worksheet::getCell() should not accept absolute coordinates\n- Bugfix:   (MB) Work item 2272 - Cell reference without row number\n- Bugfix:   (MB) Work item 2276 - Styles with same coordinate but different worksheet\n- Bugfix:   (MB) Work item 2290 - PHPExcel_Worksheet->getCellCollection() usort error\n- Bugfix:   (SS) Work item 2353 - Bug in PHPExcel_Cell::stringFromColumnIndex\n- Bugfix:   (JV) Work item 2353 - Reader: numFmts can be missing, use cellStyleXfs instead of cellXfs in styles\n\n\n2007/04/26 (v 1.2.0):\n- General:  (MB) Stringtable attribute \"count\" not necessary, provides wrong info to Excel sometimes...\n- General:  (MB) Updated tests to address more document properties\n- General:  (MB) Some refactoring in PHPExcel_Writer_Excel2007_Workbook\n- General:  (MB) New package: PHPExcel_Shared\n- General:  (MB) Password hashing algorithm implemented in PHPExcel_Shared_PasswordHasher\n- General:  (MB) Moved pixel conversion functions to PHPExcel_Shared_Drawing\n- General:  (MB) Work item 244 - Switch over to LGPL license\n- General:  (MB) Work item 5 - Include PHPExcel version in file headers\n- Feature:  (MB) Work item 6 - Autofilter\n- Feature:  (MB) Work item 7 - Extra document property: keywords\n- Feature:  (MB) Work item 8 - Extra document property: category\n- Feature:  (MB) Work item 9 - Document security\n- Feature:  (MB) Work item 10 - PHPExcel_Writer_Serialized and PHPExcel_Reader_Serialized\n- Feature:  (MB) Work item 11 - Alternative syntax: Addressing a cell\n- Feature:  (MB) Work item 12 - Merge cells\n- Feature:  (MB) Work item 13 - Protect ranges of cells with a password\n- Bugfix:   (JV) Work item 14 - (style/fill/patternFill/fgColor or bgColor can be empty)\n\n\n2007/03/26 (v 1.1.1):\n- Bugfix:   (MB) Work item 1250 - Syntax error in \"Classes/PHPExcel/Writer/Excel2007.php\" on line 243\n- General:  (MB) Work item 1282 - Reader should check if file exists and throws an exception when it doesn't\n\n\n2007/03/22 (v 1.1.0):\n- Changed filenames of tests\n- Bugfix:   (MB) Work item 836 - Style information lost after passing trough Excel2007_Reader\n- Bugfix:   (MB) Work item 913 - Number of columns > AZ fails fixed in PHPExcel_Cell::columnIndexFromString\n- General:  (MB) Added a brief file with installation instructions\n- Feature:  (MB) Page breaks (horizontal and vertical)\n- Feature:  (MB) Image shadows\n\n\n\n2007/02/22 (v 1.0.0):\n- Changelog now includes developer initials\n- Bugfix:   (JV) PHPExcel->removeSheetByIndex now re-orders sheets after deletion, so no array indexes are lost\n- Bugfix:   (JV) PHPExcel_Writer_Excel2007_Worksheet::_writeCols() used direct assignment to $pSheet->getColumnDimension('A')->Width instead of $pSheet->getColumnDimension('A')->setWidth()\n- Bugfix:   (JV) DocumentProperties used $this->LastModifiedBy instead of $this->_lastModifiedBy.\n- Bugfix:   (JV) Only first = should be removed when writing formula in PHPExcel_Writer_Excel2007_Worksheet.\n- General:  (JV) Consistency of method names to camelCase\n- General:  (JV) Updated tests to match consistency changes\n- General:  (JV) Detection of mime-types now with image_type_to_mime_type()\n- General:  (JV) Constants now hold string value used in Excel 2007\n- General:  (MB) Fixed folder name case (WorkSheet -> Worksheet)\n- Feature:  (MB) PHPExcel classes (not the Writer classes) can be duplicated, using a duplicate() method.\n- Feature:  (MB) Cell styles can now be duplicated to a range of cells using PHPExcel_Worksheet->duplicateStyle()\n- Feature:  (MB) Conditional formatting\n- Feature:  (JV) Reader for Excel 2007 (not supporting full specification yet!)\n\n\n\n2007/01/31 (v 1.0.0 RC):\n- Project name has been changed to PHPExcel\n- Project homepage is now http://www.codeplex.com/PHPExcel\n- Started versioning at number: PHPExcel 1.0.0 RC\n\n\n\n2007/01/22:\n- Fixed some performance issues on large-scale worksheets (mainly loops vs. indexed arrays)\n- Performance on creating StringTable has been increased\n- Performance on writing Excel2007 worksheet has been increased\n\n\n\n2007/01/18:\n- Images can now be rotated\n- Fixed bug: When drawings have full path specified, no mime type can be deducted\n- Fixed bug: Only one drawing can be added to a worksheet\n\n\n\n2007/01/12:\n- Refactoring of some classes to use ArrayObject instead of array()\n- Cell style now has support for number format (i.e. #,##0)\n- Implemented embedding images\n\n\n\n2007/01/02:\n- Cell style now has support for fills, including gradient fills\n- Cell style now has support for fonts\n- Cell style now has support for border colors\n- Cell style now has support for font colors\n- Cell style now has support for alignment\n\n\n\n2006/12/21:\n- Support for cell style borders\n- Support for cell styles\n- Refactoring of Excel2007 Writer into multiple classes in package SpreadSheet_Writer_Excel2007\n- Refactoring of all classes, changed public members to public properties using getter/setter\n- Worksheet names are now unique. On duplicate worksheet names, a number is appended.\n- Worksheet now has parent SpreadSheet object\n- Worksheet now has support for page header and footer\n- Worksheet now has support for page margins\n- Worksheet now has support for page setup (only Paper size and Orientation)\n- Worksheet properties now accessible by using getProperties()\n- Worksheet now has support for row and column dimensions (height / width)\n- Exceptions thrown have a more clear description\n\n\n\nInitial version:\n- Create a Spreadsheet object\n- Add one or more Worksheet objects\n- Add cells to Worksheet objects\n- Export Spreadsheet object to Excel 2007 OpenXML format\n- Each cell supports the following data formats: string, number, formula, boolean."
  },
  {
    "path": "composer.json",
    "content": "{\n    \"name\": \"phpoffice/phpexcel\",\n    \"description\": \"PHPExcel - OpenXML - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine\",\n    \"keywords\": [\"PHP\",\"Excel\",\"OpenXML\",\"xlsx\",\"xls\",\"spreadsheet\"],\n    \"homepage\": \"https://github.com/PHPOffice/PHPExcel\",\n    \"type\": \"library\",\n    \"license\": \"LGPL-2.1\",\n    \"authors\": [\n        {\n            \"name\": \"Maarten Balliauw\",\n            \"homepage\": \"http://blog.maartenballiauw.be\"\n        },\n        {\n            \"name\": \"Mark Baker\",\n            \"homepage\": \"http://markbakeruk.net\"\n        },\n        {\n            \"name\": \"Franck Lefevre\",\n            \"homepage\": \"http://rootslabs.net\"\n        },\n        {\n            \"name\": \"Erik Tilt\"\n        }\n    ],\n    \"require\": {\n        \"php\": \"^5.2|^7.0\",\n        \"ext-mbstring\": \"*\",\n        \"ext-xml\": \"*\",\n        \"ext-xmlwriter\": \"*\"\n    },\n    \"require-dev\": {\n        \"squizlabs/php_codesniffer\": \"2.*\"\n    },\n    \"recommend\": {\n        \"ext-zip\": \"*\",\n        \"ext-gd\": \"*\"\n    },\n    \"autoload\": {\n        \"psr-0\": {\n            \"PHPExcel\": \"Classes/\"\n        }\n    }\n}\n"
  },
  {
    "path": "install.txt",
    "content": "**************************************************************************************\n* PHPExcel\n*\n* Copyright (c) 2006 - 2011 PHPExcel\n*\n* This library is free software; you can redistribute it and/or\n* modify it under the terms of the GNU Lesser General Public\n* License as published by the Free Software Foundation; either\n* version 2.1 of the License, or (at your option) any later version.\n*\n* This library is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n* Lesser General Public License for more details.\n*\n* You should have received a copy of the GNU Lesser General Public\n* License along with this library; if not, write to the Free Software\n* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\n* @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)\n* @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt\tLGPL\n* @version    ##VERSION##, ##DATE##\n**************************************************************************************\n\nRequirements\n------------\n\nThe following requirements should be met prior to using PHPExcel:\n* PHP version 5.2.0 or higher\n* PHP extension php_zip enabled *)\n* PHP extension php_xml enabled\n* PHP extension php_gd2 enabled (if not compiled in)\n\n*) php_zip is only needed by PHPExcel_Reader_Excel2007, PHPExcel_Writer_Excel2007,\n   PHPExcel_Reader_OOCalc. In other words, if you need PHPExcel to handle .xlsx or .ods\n   files you will need the zip extension, but otherwise not.\n\n\n\nInstallation instructions\n-------------------------\n\nInstallation is quite easy: copy the contents of the Classes folder to any location\nin your application required.\n\nExample:\n\nIf your web root folder is /var/www/ you may want to create a subfolder called\n/var/www/Classes/ and copy the files into that folder so you end up with files:\n\n/var/www/Classes/PHPExcel.php\n/var/www/Classes/PHPExcel/Calculation.php\n/var/www/Classes/PHPExcel/Cell.php\n...\n\n\n\nGetting started\n---------------\n\nA good way to get started is to run some of the tests included in the download.\nCopy the \"Examples\" folder next to your \"Classes\" folder from above so you end up with:\n\n/var/www/Examples/01simple.php\n/var/www/Examples/02types.php\n...\n\nStart running the test by pointing your browser to the test scripts:\n\nhttp://example.com/Examples/01simple.php\nhttp://example.com/Examples/02types.php\n...\n\nNote: It may be necessary to modify the include/require statements at the beginning of\neach of the test scripts if your \"Classes\" folder from above is named differently.\n"
  },
  {
    "path": "license.md",
    "content": "GNU LESSER GENERAL PUBLIC LICENSE\n\n   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n  0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n  A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n  The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms.  A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language.  (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n  \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it.  For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\n  Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope.  The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it).  Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n  \n  1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n  You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\n  2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n    a) The modified work must itself be a software library.\n\n    b) You must cause the files modified to carry prominent notices\n    stating that you changed the files and the date of any change.\n\n    c) You must cause the whole of the work to be licensed at no\n    charge to all third parties under the terms of this License.\n\n    d) If a facility in the modified Library refers to a function or a\n    table of data to be supplied by an application program that uses\n    the facility, other than as an argument passed when the facility\n    is invoked, then you must make a good faith effort to ensure that,\n    in the event an application does not supply such function or\n    table, the facility still operates, and performs whatever part of\n    its purpose remains meaningful.\n\n    (For example, a function in a library to compute square roots has\n    a purpose that is entirely well-defined independent of the\n    application.  Therefore, Subsection 2d requires that any\n    application-supplied function or table used by this function must\n    be optional: if the application does not supply it, the square\n    root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole.  If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works.  But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n  3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library.  To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License.  (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.)  Do not make any other change in\nthese notices.\n\n  Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n  This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n  4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n  If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n  5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\".  Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n  However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\".  The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n  When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library.  The\nthreshold for this to be true is not precisely defined by law.\n\n  If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork.  (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n  Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\n  6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n  You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License.  You must supply a copy of this License.  If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License.  Also, you must do one\nof these things:\n\n    a) Accompany the work with the complete corresponding\n    machine-readable source code for the Library including whatever\n    changes were used in the work (which must be distributed under\n    Sections 1 and 2 above); and, if the work is an executable linked\n    with the Library, with the complete machine-readable \"work that\n    uses the Library\", as object code and/or source code, so that the\n    user can modify the Library and then relink to produce a modified\n    executable containing the modified Library.  (It is understood\n    that the user who changes the contents of definitions files in the\n    Library will not necessarily be able to recompile the application\n    to use the modified definitions.)\n\n    b) Use a suitable shared library mechanism for linking with the\n    Library.  A suitable mechanism is one that (1) uses at run time a\n    copy of the library already present on the user's computer system,\n    rather than copying library functions into the executable, and (2)\n    will operate properly with a modified version of the library, if\n    the user installs one, as long as the modified version is\n    interface-compatible with the version that the work was made with.\n\n    c) Accompany the work with a written offer, valid for at\n    least three years, to give the same user the materials\n    specified in Subsection 6a, above, for a charge no more\n    than the cost of performing this distribution.\n\n    d) If distribution of the work is made by offering access to copy\n    from a designated place, offer equivalent access to copy the above\n    specified materials from the same place.\n\n    e) Verify that the user has already received a copy of these\n    materials or that you have already sent this user a copy.\n\n  For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it.  However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n  It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system.  Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\n  7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n    a) Accompany the combined library with a copy of the same work\n    based on the Library, uncombined with any other library\n    facilities.  This must be distributed under the terms of the\n    Sections above.\n\n    b) Give prominent notice with the combined library of the fact\n    that part of it is a work based on the Library, and explaining\n    where to find the accompanying uncombined form of the same work.\n\n  8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License.  Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License.  However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n  9. You are not required to accept this License, since you have not\nsigned it.  However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works.  These actions are\nprohibited by law if you do not accept this License.  Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n  10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions.  You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\n  11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all.  For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices.  Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n  12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded.  In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n  13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number.  If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation.  If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\n  14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission.  For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this.  Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\nNO WARRANTY\n\n  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\nEND OF TERMS AND CONDITIONS"
  },
  {
    "path": "unitTests/Classes/PHPExcel/AutoloaderTest.php",
    "content": "<?php\n\n\nclass AutoloaderTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testAutoloaderNonPHPExcelClass()\n    {\n        $className = 'InvalidClass';\n\n        $result = PHPExcel_Autoloader::Load($className);\n        //    Must return a boolean...\n        $this->assertTrue(is_bool($result));\n        //    ... indicating failure\n        $this->assertFalse($result);\n    }\n\n    public function testAutoloaderInvalidPHPExcelClass()\n    {\n        $className = 'PHPExcel_Invalid_Class';\n\n        $result = PHPExcel_Autoloader::Load($className);\n        //    Must return a boolean...\n        $this->assertTrue(is_bool($result));\n        //    ... indicating failure\n        $this->assertFalse($result);\n    }\n\n    public function testAutoloadValidPHPExcelClass()\n    {\n        $className = 'PHPExcel_IOFactory';\n\n        $result = PHPExcel_Autoloader::Load($className);\n        //    Check that class has been loaded\n        $this->assertTrue(class_exists($className));\n    }\n\n    public function testAutoloadInstantiateSuccess()\n    {\n        $result = new PHPExcel_Calculation_Function(1, 2, 3);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'PHPExcel_Calculation_Function'));\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass DateTimeTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerDATE\n     */\n    public function testDATE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'DATE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDATE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/DATE.data');\n    }\n\n    public function testDATEtoPHP()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $result = PHPExcel_Calculation_DateTime::DATE(2012, 1, 31);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $this->assertEquals(1327968000, $result, null, 1E-8);\n    }\n\n    public function testDATEtoPHPObject()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT);\n        $result = PHPExcel_Calculation_DateTime::DATE(2012, 1, 31);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'DateTime'));\n        //    ... with the correct value\n        $this->assertEquals($result->format('d-M-Y'), '31-Jan-2012');\n    }\n\n    public function testDATEwith1904Calendar()\n    {\n        PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904);\n        $result = PHPExcel_Calculation_DateTime::DATE(1918, 11, 11);\n        PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900);\n        $this->assertEquals($result, 5428);\n    }\n\n    public function testDATEwith1904CalendarError()\n    {\n        PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904);\n        $result = PHPExcel_Calculation_DateTime::DATE(1901, 1, 31);\n        PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900);\n        $this->assertEquals($result, '#NUM!');\n    }\n\n    /**\n     * @dataProvider providerDATEVALUE\n     */\n    public function testDATEVALUE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'DATEVALUE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDATEVALUE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/DATEVALUE.data');\n    }\n\n    public function testDATEVALUEtoPHP()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $result = PHPExcel_Calculation_DateTime::DATEVALUE('2012-1-31');\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $this->assertEquals(1327968000, $result, null, 1E-8);\n    }\n\n    public function testDATEVALUEtoPHPObject()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT);\n        $result = PHPExcel_Calculation_DateTime::DATEVALUE('2012-1-31');\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'DateTime'));\n        //    ... with the correct value\n        $this->assertEquals($result->format('d-M-Y'), '31-Jan-2012');\n    }\n\n    /**\n     * @dataProvider providerYEAR\n     */\n    public function testYEAR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'YEAR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerYEAR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/YEAR.data');\n    }\n\n    /**\n     * @dataProvider providerMONTH\n     */\n    public function testMONTH()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'MONTHOFYEAR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerMONTH()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/MONTH.data');\n    }\n\n    /**\n     * @dataProvider providerWEEKNUM\n     */\n    public function testWEEKNUM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'WEEKOFYEAR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerWEEKNUM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/WEEKNUM.data');\n    }\n\n    /**\n     * @dataProvider providerWEEKDAY\n     */\n    public function testWEEKDAY()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'DAYOFWEEK'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerWEEKDAY()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/WEEKDAY.data');\n    }\n\n    /**\n     * @dataProvider providerDAY\n     */\n    public function testDAY()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'DAYOFMONTH'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDAY()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/DAY.data');\n    }\n\n    /**\n     * @dataProvider providerTIME\n     */\n    public function testTIME()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'TIME'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerTIME()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/TIME.data');\n    }\n\n    public function testTIMEtoPHP()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $result = PHPExcel_Calculation_DateTime::TIME(7, 30, 20);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $this->assertEquals(27020, $result, null, 1E-8);\n    }\n\n    public function testTIMEtoPHPObject()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT);\n        $result = PHPExcel_Calculation_DateTime::TIME(7, 30, 20);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'DateTime'));\n        //    ... with the correct value\n        $this->assertEquals($result->format('H:i:s'), '07:30:20');\n    }\n\n    /**\n     * @dataProvider providerTIMEVALUE\n     */\n    public function testTIMEVALUE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'TIMEVALUE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerTIMEVALUE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/TIMEVALUE.data');\n    }\n\n    public function testTIMEVALUEtoPHP()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $result = PHPExcel_Calculation_DateTime::TIMEVALUE('7:30:20');\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $this->assertEquals(23420, $result, null, 1E-8);\n    }\n\n    public function testTIMEVALUEtoPHPObject()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT);\n        $result = PHPExcel_Calculation_DateTime::TIMEVALUE('7:30:20');\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'DateTime'));\n        //    ... with the correct value\n        $this->assertEquals($result->format('H:i:s'), '07:30:20');\n    }\n\n    /**\n     * @dataProvider providerHOUR\n     */\n    public function testHOUR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'HOUROFDAY'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerHOUR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/HOUR.data');\n    }\n\n    /**\n     * @dataProvider providerMINUTE\n     */\n    public function testMINUTE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'MINUTEOFHOUR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerMINUTE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/MINUTE.data');\n    }\n\n    /**\n     * @dataProvider providerSECOND\n     */\n    public function testSECOND()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'SECONDOFMINUTE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerSECOND()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/SECOND.data');\n    }\n\n    /**\n     * @dataProvider providerNETWORKDAYS\n     */\n    public function testNETWORKDAYS()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'NETWORKDAYS'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerNETWORKDAYS()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/NETWORKDAYS.data');\n    }\n\n    /**\n     * @dataProvider providerWORKDAY\n     */\n    public function testWORKDAY()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'WORKDAY'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerWORKDAY()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/WORKDAY.data');\n    }\n\n    /**\n     * @dataProvider providerEDATE\n     */\n    public function testEDATE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'EDATE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerEDATE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/EDATE.data');\n    }\n\n    public function testEDATEtoPHP()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $result = PHPExcel_Calculation_DateTime::EDATE('2012-1-26', -1);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $this->assertEquals(1324857600, $result, null, 1E-8);\n    }\n\n    public function testEDATEtoPHPObject()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT);\n        $result = PHPExcel_Calculation_DateTime::EDATE('2012-1-26', -1);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'DateTime'));\n        //    ... with the correct value\n        $this->assertEquals($result->format('d-M-Y'), '26-Dec-2011');\n    }\n\n    /**\n     * @dataProvider providerEOMONTH\n     */\n    public function testEOMONTH()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'EOMONTH'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerEOMONTH()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/EOMONTH.data');\n    }\n\n    public function testEOMONTHtoPHP()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC);\n        $result = PHPExcel_Calculation_DateTime::EOMONTH('2012-1-26', -1);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        $this->assertEquals(1325289600, $result, null, 1E-8);\n    }\n\n    public function testEOMONTHtoPHPObject()\n    {\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT);\n        $result = PHPExcel_Calculation_DateTime::EOMONTH('2012-1-26', -1);\n        PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL);\n        //    Must return an object...\n        $this->assertTrue(is_object($result));\n        //    ... of the correct type\n        $this->assertTrue(is_a($result, 'DateTime'));\n        //    ... with the correct value\n        $this->assertEquals($result->format('d-M-Y'), '31-Dec-2011');\n    }\n\n    /**\n     * @dataProvider providerDATEDIF\n     */\n    public function testDATEDIF()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'DATEDIF'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDATEDIF()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/DATEDIF.data');\n    }\n\n    /**\n     * @dataProvider providerDAYS360\n     */\n    public function testDAYS360()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'DAYS360'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDAYS360()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/DAYS360.data');\n    }\n\n    /**\n     * @dataProvider providerYEARFRAC\n     */\n    public function testYEARFRAC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_DateTime', 'YEARFRAC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerYEARFRAC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/DateTime/YEARFRAC.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/EngineeringTest.php",
    "content": "<?php\n\n//  Custom assertion class for handling precision of Complex numbers\nrequire_once 'custom/complexAssert.php';\n\n//  Data Provider handler\nrequire_once 'testDataFileIterator.php';\n\n\nclass EngineeringTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerBESSELI\n     */\n    public function testBESSELI()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELI'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerBESSELI()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELI.data');\n    }\n\n    /**\n     * @dataProvider providerBESSELJ\n     */\n    public function testBESSELJ()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELJ'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerBESSELJ()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELJ.data');\n    }\n\n    /**\n     * @dataProvider providerBESSELK\n     */\n    public function testBESSELK()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELK'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerBESSELK()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELK.data');\n    }\n\n    /**\n     * @dataProvider providerBESSELY\n     */\n    public function testBESSELY()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BESSELY'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerBESSELY()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BESSELY.data');\n    }\n\n    /**\n     * @dataProvider providerCOMPLEX\n     */\n    public function testCOMPLEX()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','COMPLEX'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCOMPLEX()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/COMPLEX.data');\n    }\n\n    /**\n     * @dataProvider providerIMAGINARY\n     */\n    public function testIMAGINARY()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMAGINARY'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIMAGINARY()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMAGINARY.data');\n    }\n\n    /**\n     * @dataProvider providerIMREAL\n     */\n    public function testIMREAL()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMREAL'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIMREAL()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMREAL.data');\n    }\n\n    /**\n     * @dataProvider providerIMABS\n     */\n    public function testIMABS()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMABS'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIMABS()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMABS.data');\n    }\n\n    /**\n     * @dataProvider providerIMARGUMENT\n     */\n    public function testIMARGUMENT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMARGUMENT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIMARGUMENT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMARGUMENT.data');\n    }\n\n    /**\n     * @dataProvider providerIMCONJUGATE\n     */\n    public function testIMCONJUGATE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMCONJUGATE'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMCONJUGATE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMCONJUGATE.data');\n    }\n\n    /**\n     * @dataProvider providerIMCOS\n     */\n    public function testIMCOS()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMCOS'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMCOS()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMCOS.data');\n    }\n\n    /**\n     * @dataProvider providerIMDIV\n     */\n    public function testIMDIV()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMDIV'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMDIV()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMDIV.data');\n    }\n\n    /**\n     * @dataProvider providerIMEXP\n     */\n    public function testIMEXP()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMEXP'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMEXP()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMEXP.data');\n    }\n\n    /**\n     * @dataProvider providerIMLN\n     */\n    public function testIMLN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMLN'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMLN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMLN.data');\n    }\n\n    /**\n     * @dataProvider providerIMLOG2\n     */\n    public function testIMLOG2()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMLOG2'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMLOG2()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMLOG2.data');\n    }\n\n    /**\n     * @dataProvider providerIMLOG10\n     */\n    public function testIMLOG10()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMLOG10'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMLOG10()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMLOG10.data');\n    }\n\n    /**\n     * @dataProvider providerIMPOWER\n     */\n    public function testIMPOWER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMPOWER'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMPOWER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMPOWER.data');\n    }\n\n    /**\n     * @dataProvider providerIMPRODUCT\n     */\n    public function testIMPRODUCT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMPRODUCT'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMPRODUCT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMPRODUCT.data');\n    }\n\n    /**\n     * @dataProvider providerIMSIN\n     */\n    public function testIMSIN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSIN'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMSIN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSIN.data');\n    }\n\n    /**\n     * @dataProvider providerIMSQRT\n     */\n    public function testIMSQRT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSQRT'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMSQRT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSQRT.data');\n    }\n\n    /**\n     * @dataProvider providerIMSUB\n     */\n    public function testIMSUB()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSUB'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMSUB()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSUB.data');\n    }\n\n    /**\n     * @dataProvider providerIMSUM\n     */\n    public function testIMSUM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','IMSUM'), $args);\n        $complexAssert = new complexAssert();\n        $this->assertTrue($complexAssert->assertComplexEquals($expectedResult, $result, 1E-8), $complexAssert->getErrorMessage());\n    }\n\n    public function providerIMSUM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/IMSUM.data');\n    }\n\n    /**\n     * @dataProvider providerERF\n     */\n    public function testERF()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','ERF'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerERF()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/ERF.data');\n    }\n\n    /**\n     * @dataProvider providerERFC\n     */\n    public function testERFC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','ERFC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerERFC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/ERFC.data');\n    }\n\n    /**\n     * @dataProvider providerBIN2DEC\n     */\n    public function testBIN2DEC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BINTODEC'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerBIN2DEC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BIN2DEC.data');\n    }\n\n    /**\n     * @dataProvider providerBIN2HEX\n     */\n    public function testBIN2HEX()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BINTOHEX'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerBIN2HEX()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BIN2HEX.data');\n    }\n\n    /**\n     * @dataProvider providerBIN2OCT\n     */\n    public function testBIN2OCT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','BINTOOCT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerBIN2OCT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/BIN2OCT.data');\n    }\n\n    /**\n     * @dataProvider providerDEC2BIN\n     */\n    public function testDEC2BIN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DECTOBIN'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerDEC2BIN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/DEC2BIN.data');\n    }\n\n    /**\n     * @dataProvider providerDEC2HEX\n     */\n    public function testDEC2HEX()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DECTOHEX'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerDEC2HEX()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/DEC2HEX.data');\n    }\n\n    /**\n     * @dataProvider providerDEC2OCT\n     */\n    public function testDEC2OCT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DECTOOCT'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerDEC2OCT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/DEC2OCT.data');\n    }\n\n    /**\n     * @dataProvider providerHEX2BIN\n     */\n    public function testHEX2BIN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','HEXTOBIN'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerHEX2BIN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/HEX2BIN.data');\n    }\n\n    /**\n     * @dataProvider providerHEX2DEC\n     */\n    public function testHEX2DEC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','HEXTODEC'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerHEX2DEC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/HEX2DEC.data');\n    }\n\n    /**\n     * @dataProvider providerHEX2OCT\n     */\n    public function testHEX2OCT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','HEXTOOCT'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerHEX2OCT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/HEX2OCT.data');\n    }\n\n    /**\n     * @dataProvider providerOCT2BIN\n     */\n    public function testOCT2BIN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','OCTTOBIN'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerOCT2BIN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/OCT2BIN.data');\n    }\n\n    /**\n     * @dataProvider providerOCT2DEC\n     */\n    public function testOCT2DEC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','OCTTODEC'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerOCT2DEC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/OCT2DEC.data');\n    }\n\n    /**\n     * @dataProvider providerOCT2HEX\n     */\n    public function testOCT2HEX()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','OCTTOHEX'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerOCT2HEX()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/OCT2HEX.data');\n    }\n\n    /**\n     * @dataProvider providerDELTA\n     */\n    public function testDELTA()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','DELTA'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerDELTA()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/DELTA.data');\n    }\n\n    /**\n     * @dataProvider providerGESTEP\n     */\n    public function testGESTEP()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','GESTEP'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerGESTEP()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/GESTEP.data');\n    }\n\n    public function testGetConversionGroups()\n    {\n        $result = PHPExcel_Calculation_Engineering::getConversionGroups();\n        $this->assertInternalType('array', $result);\n    }\n\n    public function testGetConversionGroupUnits()\n    {\n        $result = PHPExcel_Calculation_Engineering::getConversionGroupUnits();\n        $this->assertInternalType('array', $result);\n    }\n\n    public function testGetConversionGroupUnitDetails()\n    {\n        $result = PHPExcel_Calculation_Engineering::getConversionGroupUnitDetails();\n        $this->assertInternalType('array', $result);\n    }\n\n    public function testGetConversionMultipliers()\n    {\n        $result = PHPExcel_Calculation_Engineering::getConversionMultipliers();\n        $this->assertInternalType('array', $result);\n    }\n\n    /**\n     * @dataProvider providerCONVERTUOM\n     */\n    public function testCONVERTUOM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Engineering','CONVERTUOM'), $args);\n        $this->assertEquals($expectedResult, $result, null);\n    }\n\n    public function providerCONVERTUOM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Engineering/CONVERTUOM.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/FinancialTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass FinancialTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerACCRINT\n     */\n    public function testACCRINT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','ACCRINT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerACCRINT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/ACCRINT.data');\n    }\n\n    /**\n     * @dataProvider providerACCRINTM\n     */\n    public function testACCRINTM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','ACCRINTM'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerACCRINTM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/ACCRINTM.data');\n    }\n\n    /**\n     * @dataProvider providerAMORDEGRC\n     */\n    public function testAMORDEGRC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','AMORDEGRC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerAMORDEGRC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/AMORDEGRC.data');\n    }\n\n    /**\n     * @dataProvider providerAMORLINC\n     */\n    public function testAMORLINC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','AMORLINC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerAMORLINC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/AMORLINC.data');\n    }\n\n    /**\n     * @dataProvider providerCOUPDAYBS\n     */\n    public function testCOUPDAYBS()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','COUPDAYBS'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCOUPDAYBS()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/COUPDAYBS.data');\n    }\n\n    /**\n     * @dataProvider providerCOUPDAYS\n     */\n    public function testCOUPDAYS()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','COUPDAYS'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCOUPDAYS()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/COUPDAYS.data');\n    }\n\n    /**\n     * @dataProvider providerCOUPDAYSNC\n     */\n    public function testCOUPDAYSNC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','COUPDAYSNC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCOUPDAYSNC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/COUPDAYSNC.data');\n    }\n\n    /**\n     * @dataProvider providerCOUPNCD\n     */\n    public function testCOUPNCD()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','COUPNCD'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCOUPNCD()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/COUPNCD.data');\n    }\n\n    /**\n     * @dataProvider providerCOUPNUM\n     */\n    public function testCOUPNUM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','COUPNUM'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCOUPNUM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/COUPNUM.data');\n    }\n\n    /**\n     * @dataProvider providerCOUPPCD\n     */\n    public function testCOUPPCD()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','COUPPCD'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCOUPPCD()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/COUPPCD.data');\n    }\n\n    /**\n     * @dataProvider providerCUMIPMT\n     */\n    public function testCUMIPMT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','CUMIPMT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCUMIPMT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/CUMIPMT.data');\n    }\n\n    /**\n     * @dataProvider providerCUMPRINC\n     */\n    public function testCUMPRINC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','CUMPRINC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerCUMPRINC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/CUMPRINC.data');\n    }\n\n    /**\n     * @dataProvider providerDB\n     */\n    public function testDB()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','DB'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDB()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/DB.data');\n    }\n\n    /**\n     * @dataProvider providerDDB\n     */\n    public function testDDB()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','DDB'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDDB()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/DDB.data');\n    }\n\n    /**\n     * @dataProvider providerDISC\n     */\n    public function testDISC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','DISC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDISC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/DISC.data');\n    }\n\n    /**\n     * @dataProvider providerDOLLARDE\n     */\n    public function testDOLLARDE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','DOLLARDE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDOLLARDE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/DOLLARDE.data');\n    }\n\n    /**\n     * @dataProvider providerDOLLARFR\n     */\n    public function testDOLLARFR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','DOLLARFR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerDOLLARFR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/DOLLARFR.data');\n    }\n\n    /**\n     * @dataProvider providerEFFECT\n     */\n    public function testEFFECT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','EFFECT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerEFFECT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/EFFECT.data');\n    }\n\n    /**\n     * @dataProvider providerFV\n     */\n    public function testFV()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','FV'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerFV()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/FV.data');\n    }\n\n    /**\n     * @dataProvider providerFVSCHEDULE\n     */\n    public function testFVSCHEDULE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','FVSCHEDULE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerFVSCHEDULE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/FVSCHEDULE.data');\n    }\n\n    /**\n     * @dataProvider providerINTRATE\n     */\n    public function testINTRATE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','INTRATE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerINTRATE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/INTRATE.data');\n    }\n\n    /**\n     * @dataProvider providerIPMT\n     */\n    public function testIPMT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','IPMT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIPMT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/IPMT.data');\n    }\n\n    /**\n     * @dataProvider providerIRR\n     */\n    public function testIRR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','IRR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIRR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/IRR.data');\n    }\n\n    /**\n     * @dataProvider providerISPMT\n     */\n    public function testISPMT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','ISPMT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerISPMT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/ISPMT.data');\n    }\n\n    /**\n     * @dataProvider providerMIRR\n     */\n    public function testMIRR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','MIRR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerMIRR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/MIRR.data');\n    }\n\n    /**\n     * @dataProvider providerNOMINAL\n     */\n    public function testNOMINAL()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','NOMINAL'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerNOMINAL()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/NOMINAL.data');\n    }\n\n    /**\n     * @dataProvider providerNPER\n     */\n    public function testNPER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','NPER'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerNPER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/NPER.data');\n    }\n\n    /**\n     * @dataProvider providerNPV\n     */\n    public function testNPV()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','NPV'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerNPV()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/NPV.data');\n    }\n\n    /**\n     * @dataProvider providerPRICE\n     */\n    public function testPRICE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','PRICE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerPRICE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/PRICE.data');\n    }\n\n    /**\n     * @dataProvider providerRATE\n     */\n    public function testRATE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','RATE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerRATE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/RATE.data');\n    }\n\n    /**\n     * @dataProvider providerXIRR\n     */\n    public function testXIRR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Financial','XIRR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerXIRR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Financial/XIRR.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/FunctionsTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass FunctionsTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    public function testDUMMY()\n    {\n        $result = PHPExcel_Calculation_Functions::DUMMY();\n        $this->assertEquals('#Not Yet Implemented', $result);\n    }\n\n    public function testDIV0()\n    {\n        $result = PHPExcel_Calculation_Functions::DIV0();\n        $this->assertEquals('#DIV/0!', $result);\n    }\n\n    public function testNA()\n    {\n        $result = PHPExcel_Calculation_Functions::NA();\n        $this->assertEquals('#N/A', $result);\n    }\n\n    public function testNaN()\n    {\n        $result = PHPExcel_Calculation_Functions::NaN();\n        $this->assertEquals('#NUM!', $result);\n    }\n\n    public function testNAME()\n    {\n        $result = PHPExcel_Calculation_Functions::NAME();\n        $this->assertEquals('#NAME?', $result);\n    }\n\n    public function testREF()\n    {\n        $result = PHPExcel_Calculation_Functions::REF();\n        $this->assertEquals('#REF!', $result);\n    }\n\n    public function testNULL()\n    {\n        $result = PHPExcel_Calculation_Functions::null();\n        $this->assertEquals('#NULL!', $result);\n    }\n\n    public function testVALUE()\n    {\n        $result = PHPExcel_Calculation_Functions::VALUE();\n        $this->assertEquals('#VALUE!', $result);\n    }\n\n    /**\n     * @dataProvider providerIS_BLANK\n     */\n    public function testIS_BLANK()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_BLANK'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_BLANK()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_BLANK.data');\n    }\n\n    /**\n     * @dataProvider providerIS_ERR\n     */\n    public function testIS_ERR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_ERR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_ERR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_ERR.data');\n    }\n\n    /**\n     * @dataProvider providerIS_ERROR\n     */\n    public function testIS_ERROR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_ERROR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_ERROR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_ERROR.data');\n    }\n\n    /**\n     * @dataProvider providerERROR_TYPE\n     */\n    public function testERROR_TYPE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','ERROR_TYPE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerERROR_TYPE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/ERROR_TYPE.data');\n    }\n\n    /**\n     * @dataProvider providerIS_LOGICAL\n     */\n    public function testIS_LOGICAL()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_LOGICAL'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_LOGICAL()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_LOGICAL.data');\n    }\n\n    /**\n     * @dataProvider providerIS_NA\n     */\n    public function testIS_NA()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_NA'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_NA()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_NA.data');\n    }\n\n    /**\n     * @dataProvider providerIS_NUMBER\n     */\n    public function testIS_NUMBER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_NUMBER'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_NUMBER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_NUMBER.data');\n    }\n\n    /**\n     * @dataProvider providerIS_TEXT\n     */\n    public function testIS_TEXT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_TEXT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_TEXT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_TEXT.data');\n    }\n\n    /**\n     * @dataProvider providerIS_NONTEXT\n     */\n    public function testIS_NONTEXT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_NONTEXT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_NONTEXT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_NONTEXT.data');\n    }\n\n    /**\n     * @dataProvider providerIS_EVEN\n     */\n    public function testIS_EVEN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_EVEN'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_EVEN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_EVEN.data');\n    }\n\n    /**\n     * @dataProvider providerIS_ODD\n     */\n    public function testIS_ODD()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','IS_ODD'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerIS_ODD()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/IS_ODD.data');\n    }\n\n    /**\n     * @dataProvider providerTYPE\n     */\n    public function testTYPE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','TYPE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerTYPE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/TYPE.data');\n    }\n\n    /**\n     * @dataProvider providerN\n     */\n    public function testN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Functions','N'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Functions/N.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/LogicalTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass LogicalTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    public function testTRUE()\n    {\n        $result = PHPExcel_Calculation_Logical::TRUE();\n        $this->assertEquals(true, $result);\n    }\n\n    public function testFALSE()\n    {\n        $result = PHPExcel_Calculation_Logical::FALSE();\n        $this->assertEquals(false, $result);\n    }\n\n    /**\n     * @dataProvider providerAND\n     */\n    public function testAND()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Logical','LOGICAL_AND'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerAND()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Logical/AND.data');\n    }\n\n    /**\n     * @dataProvider providerOR\n     */\n    public function testOR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Logical','LOGICAL_OR'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerOR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Logical/OR.data');\n    }\n\n    /**\n     * @dataProvider providerNOT\n     */\n    public function testNOT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Logical','NOT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerNOT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Logical/NOT.data');\n    }\n\n    /**\n     * @dataProvider providerIF\n     */\n    public function testIF()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Logical','STATEMENT_IF'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerIF()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Logical/IF.data');\n    }\n\n    /**\n     * @dataProvider providerIFERROR\n     */\n    public function testIFERROR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_Logical','IFERROR'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerIFERROR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/Logical/IFERROR.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/LookupRefTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass LookupRefTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerHLOOKUP\n     */\n    public function testHLOOKUP()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_LookupRef','HLOOKUP'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerHLOOKUP()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/LookupRef/HLOOKUP.data');\n    }\n\n    /**\n     * @dataProvider providerVLOOKUP\n     */\n    public function testVLOOKUP()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_LookupRef','VLOOKUP'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerVLOOKUP()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/LookupRef/VLOOKUP.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/MathTrigTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass MathTrigTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerATAN2\n     */\n    public function testATAN2()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ATAN2'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerATAN2()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/ATAN2.data');\n    }\n\n    /**\n     * @dataProvider providerCEILING\n     */\n    public function testCEILING()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','CEILING'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerCEILING()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/CEILING.data');\n    }\n\n    /**\n     * @dataProvider providerCOMBIN\n     */\n    public function testCOMBIN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','COMBIN'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerCOMBIN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/COMBIN.data');\n    }\n\n    /**\n     * @dataProvider providerEVEN\n     */\n    public function testEVEN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','EVEN'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerEVEN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/EVEN.data');\n    }\n\n    /**\n     * @dataProvider providerODD\n     */\n    public function testODD()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ODD'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerODD()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/ODD.data');\n    }\n\n    /**\n     * @dataProvider providerFACT\n     */\n    public function testFACT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','FACT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerFACT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/FACT.data');\n    }\n\n    /**\n     * @dataProvider providerFACTDOUBLE\n     */\n    public function testFACTDOUBLE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','FACTDOUBLE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerFACTDOUBLE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/FACTDOUBLE.data');\n    }\n\n    /**\n     * @dataProvider providerFLOOR\n     */\n    public function testFLOOR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','FLOOR'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerFLOOR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/FLOOR.data');\n    }\n\n    /**\n     * @dataProvider providerGCD\n     */\n    public function testGCD()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','GCD'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerGCD()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/GCD.data');\n    }\n\n    /**\n     * @dataProvider providerLCM\n     */\n    public function testLCM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','LCM'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerLCM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/LCM.data');\n    }\n\n    /**\n     * @dataProvider providerINT\n     */\n    public function testINT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','INT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerINT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/INT.data');\n    }\n\n    /**\n     * @dataProvider providerSIGN\n     */\n    public function testSIGN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SIGN'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerSIGN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/SIGN.data');\n    }\n\n    /**\n     * @dataProvider providerPOWER\n     */\n    public function testPOWER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','POWER'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerPOWER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/POWER.data');\n    }\n\n    /**\n     * @dataProvider providerLOG\n     */\n    public function testLOG()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','LOG_BASE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerLOG()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/LOG.data');\n    }\n\n    /**\n     * @dataProvider providerMOD\n     */\n    public function testMOD()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MOD'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerMOD()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/MOD.data');\n    }\n\n    /**\n     * @dataProvider providerMDETERM\n     */\n    public function testMDETERM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MDETERM'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerMDETERM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/MDETERM.data');\n    }\n\n    /**\n     * @dataProvider providerMINVERSE\n     */\n    public function testMINVERSE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MINVERSE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerMINVERSE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/MINVERSE.data');\n    }\n\n    /**\n     * @dataProvider providerMMULT\n     */\n    public function testMMULT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MMULT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerMMULT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/MMULT.data');\n    }\n\n    /**\n     * @dataProvider providerMULTINOMIAL\n     */\n    public function testMULTINOMIAL()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MULTINOMIAL'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerMULTINOMIAL()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/MULTINOMIAL.data');\n    }\n\n    /**\n     * @dataProvider providerMROUND\n     */\n    public function testMROUND()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','MROUND'), $args);\n        PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_ARRAY);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerMROUND()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/MROUND.data');\n    }\n\n    /**\n     * @dataProvider providerPRODUCT\n     */\n    public function testPRODUCT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','PRODUCT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerPRODUCT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/PRODUCT.data');\n    }\n\n    /**\n     * @dataProvider providerQUOTIENT\n     */\n    public function testQUOTIENT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','QUOTIENT'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerQUOTIENT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/QUOTIENT.data');\n    }\n\n    /**\n     * @dataProvider providerROUNDUP\n     */\n    public function testROUNDUP()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ROUNDUP'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerROUNDUP()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/ROUNDUP.data');\n    }\n\n    /**\n     * @dataProvider providerROUNDDOWN\n     */\n    public function testROUNDDOWN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ROUNDDOWN'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerROUNDDOWN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/ROUNDDOWN.data');\n    }\n\n    /**\n     * @dataProvider providerSERIESSUM\n     */\n    public function testSERIESSUM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SERIESSUM'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerSERIESSUM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/SERIESSUM.data');\n    }\n\n    /**\n     * @dataProvider providerSUMIFS\n     */\n    public function testSUMIFS()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SUMIFS'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerSUMIFS()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/SUMIFS.data');\n    }\n\n    /**\n     * @dataProvider providerSUMSQ\n     */\n    public function testSUMSQ()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SUMSQ'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerSUMSQ()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/SUMSQ.data');\n    }\n\n    /**\n     * @dataProvider providerTRUNC\n     */\n    public function testTRUNC()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','TRUNC'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerTRUNC()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/TRUNC.data');\n    }\n\n    /**\n     * @dataProvider providerROMAN\n     */\n    public function testROMAN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','ROMAN'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerROMAN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/ROMAN.data');\n    }\n\n    /**\n     * @dataProvider providerSQRTPI\n     */\n    public function testSQRTPI()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig','SQRTPI'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerSQRTPI()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/MathTrig/SQRTPI.data');\n    }\n\n    /**\n     * @dataProvider providerSUMIF\n     */\n    public function testSUMIF()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_MathTrig', 'SUMIF'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-12);\n    }\n\n    public function providerSUMIF()\n    {\n        return array(\n            array(\n                array(\n                    array(1),\n                    array(5),\n                    array(10),\n                ),\n                '>=5',\n                15,\n            ),\n            array(\n                array(\n                    array('text'),\n                    array(2),\n                ),\n                '=text',\n                array(\n                    array(10),\n                    array(100),\n                ),\n                10,\n            ),\n            array(\n                array(\n                    array('\"text with quotes\"'),\n                    array(2),\n                ),\n                '=\"text with quotes\"',\n                array(\n                    array(10),\n                    array(100),\n                ),\n                10,\n            ),\n            array(\n                array(\n                    array('\"text with quotes\"'),\n                    array(''),\n                ),\n                '>\"', // Compare to the single characater \" (double quote)\n                array(\n                    array(10),\n                    array(100),\n                ),\n                10\n            ),\n            array(\n                array(\n                    array(''),\n                    array('anything'),\n                ),\n                '>\"', // Compare to the single characater \" (double quote)\n                array(\n                    array(10),\n                    array(100),\n                ),\n                100\n            ),\n        );\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Calculation/TextDataTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass TextDataTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerCHAR\n     */\n    public function testCHAR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','CHARACTER'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCHAR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/CHAR.data');\n    }\n\n    /**\n     * @dataProvider providerCODE\n     */\n    public function testCODE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','ASCIICODE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCODE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/CODE.data');\n    }\n\n    /**\n     * @dataProvider providerCONCATENATE\n     */\n    public function testCONCATENATE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','CONCATENATE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCONCATENATE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/CONCATENATE.data');\n    }\n\n    /**\n     * @dataProvider providerLEFT\n     */\n    public function testLEFT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','LEFT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerLEFT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/LEFT.data');\n    }\n\n    /**\n     * @dataProvider providerMID\n     */\n    public function testMID()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','MID'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerMID()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/MID.data');\n    }\n\n    /**\n     * @dataProvider providerRIGHT\n     */\n    public function testRIGHT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','RIGHT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerRIGHT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/RIGHT.data');\n    }\n\n    /**\n     * @dataProvider providerLOWER\n     */\n    public function testLOWER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','LOWERCASE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerLOWER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/LOWER.data');\n    }\n\n    /**\n     * @dataProvider providerUPPER\n     */\n    public function testUPPER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','UPPERCASE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerUPPER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/UPPER.data');\n    }\n\n    /**\n     * @dataProvider providerPROPER\n     */\n    public function testPROPER()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','PROPERCASE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerPROPER()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/PROPER.data');\n    }\n\n    /**\n     * @dataProvider providerLEN\n     */\n    public function testLEN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','STRINGLENGTH'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerLEN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/LEN.data');\n    }\n\n    /**\n     * @dataProvider providerSEARCH\n     */\n    public function testSEARCH()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','SEARCHINSENSITIVE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerSEARCH()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/SEARCH.data');\n    }\n\n    /**\n     * @dataProvider providerFIND\n     */\n    public function testFIND()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','SEARCHSENSITIVE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerFIND()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/FIND.data');\n    }\n\n    /**\n     * @dataProvider providerREPLACE\n     */\n    public function testREPLACE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','REPLACE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerREPLACE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/REPLACE.data');\n    }\n\n    /**\n     * @dataProvider providerSUBSTITUTE\n     */\n    public function testSUBSTITUTE()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','SUBSTITUTE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerSUBSTITUTE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/SUBSTITUTE.data');\n    }\n\n    /**\n     * @dataProvider providerTRIM\n     */\n    public function testTRIM()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','TRIMSPACES'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerTRIM()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/TRIM.data');\n    }\n\n    /**\n     * @dataProvider providerCLEAN\n     */\n    public function testCLEAN()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','TRIMNONPRINTABLE'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCLEAN()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/CLEAN.data');\n    }\n\n    /**\n     * @dataProvider providerDOLLAR\n     */\n    public function testDOLLAR()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','DOLLAR'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerDOLLAR()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/DOLLAR.data');\n    }\n\n    /**\n     * @dataProvider providerFIXED\n     */\n    public function testFIXED()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','FIXEDFORMAT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerFIXED()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/FIXED.data');\n    }\n\n    /**\n     * @dataProvider providerT\n     */\n    public function testT()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData','RETURNSTRING'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/T.data');\n    }\n\n    /**\n     * @dataProvider providerTEXT\n     */\n    public function testTEXT()\n    {\n        //    Enforce decimal and thousands separator values to UK/US, and currency code to USD\n        call_user_func(array('PHPExcel_Shared_String', 'setDecimalSeparator'), '.');\n        call_user_func(array('PHPExcel_Shared_String', 'setThousandsSeparator'), ',');\n        call_user_func(array('PHPExcel_Shared_String', 'setCurrencyCode'), '$');\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData', 'TEXTFORMAT'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerTEXT()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/TEXT.data');\n    }\n\n    /**\n     * @dataProvider providerVALUE\n     */\n    public function testVALUE()\n    {\n        call_user_func(array('PHPExcel_Shared_String', 'setDecimalSeparator'), '.');\n        call_user_func(array('PHPExcel_Shared_String', 'setThousandsSeparator'), ' ');\n        call_user_func(array('PHPExcel_Shared_String', 'setCurrencyCode'), '$');\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Calculation_TextData', 'VALUE'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-8);\n    }\n\n    public function providerVALUE()\n    {\n        return new testDataFileIterator('rawTestData/Calculation/TextData/VALUE.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/CalculationTest.php",
    "content": "<?php\n\nrequire_once 'testDataFileIterator.php';\n\nclass CalculationTest extends PHPUnit_Framework_TestCase\n{\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n    }\n\n    /**\n     * @dataProvider providerBinaryComparisonOperation\n     */\n    public function testBinaryComparisonOperation($formula, $expectedResultExcel, $expectedResultOpenOffice)\n    {\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);\n        $resultExcel = \\PHPExcel_Calculation::getInstance()->_calculateFormulaValue($formula);\n        $this->assertEquals($expectedResultExcel, $resultExcel, 'should be Excel compatible');\n\n        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE);\n        $resultOpenOffice = \\PHPExcel_Calculation::getInstance()->_calculateFormulaValue($formula);\n        $this->assertEquals($expectedResultOpenOffice, $resultOpenOffice, 'should be OpenOffice compatible');\n    }\n\n    public function providerBinaryComparisonOperation()\n    {\n        return new testDataFileIterator('rawTestData/CalculationBinaryComparisonOperation.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Cell/AdvancedValueBinderTest.php",
    "content": "<?php\n\nclass AdvancedValueBinderTest extends PHPUnit_Framework_TestCase\n{\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function provider()\n    {\n        if (!class_exists('PHPExcel_Style_NumberFormat')) {\n            $this->setUp();\n        }\n        $currencyUSD = PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE;\n        $currencyEURO = str_replace('$', '€', PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE);\n\n        return array(\n            array('10%', 0.1, PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00, ',', '.', '$'),\n            array('$10.11', 10.11, $currencyUSD, ',', '.', '$'),\n            array('$1,010.12', 1010.12, $currencyUSD, ',', '.', '$'),\n            array('$20,20', 20.2, $currencyUSD, '.', ',', '$'),\n            array('$2.020,20', 2020.2, $currencyUSD, '.', ',', '$'),\n            array('€2.020,20', 2020.2, $currencyEURO, '.', ',', '€'),\n            array('€ 2.020,20', 2020.2, $currencyEURO, '.', ',', '€'),\n            array('€2,020.22', 2020.22, $currencyEURO, ',', '.', '€'),\n        );\n    }\n\n    /**\n     * @dataProvider provider\n     */\n    public function testCurrency($value, $valueBinded, $format, $thousandsSeparator, $decimalSeparator, $currencyCode)\n    {\n        $sheet = $this->getMock(\n            'PHPExcel_Worksheet',\n            array('getStyle', 'getNumberFormat', 'setFormatCode','getCellCacheController')\n        );\n        $cache = $this->getMockBuilder('PHPExcel_CachedObjectStorage_Memory')\n            ->disableOriginalConstructor()\n            ->getMock();\n        $cache->expects($this->any())\n                 ->method('getParent')\n                 ->will($this->returnValue($sheet));\n\n        $sheet->expects($this->once())\n                 ->method('getStyle')\n                 ->will($this->returnSelf());\n        $sheet->expects($this->once())\n                 ->method('getNumberFormat')\n                 ->will($this->returnSelf());\n        $sheet->expects($this->once())\n                 ->method('setFormatCode')\n                 ->with($format)\n                 ->will($this->returnSelf());\n        $sheet->expects($this->any())\n                 ->method('getCellCacheController')\n                 ->will($this->returnValue($cache));\n\n        PHPExcel_Shared_String::setCurrencyCode($currencyCode);\n        PHPExcel_Shared_String::setDecimalSeparator($decimalSeparator);\n        PHPExcel_Shared_String::setThousandsSeparator($thousandsSeparator);\n\n        $cell = new PHPExcel_Cell(null, PHPExcel_Cell_DataType::TYPE_STRING, $sheet);\n\n        $binder = new PHPExcel_Cell_AdvancedValueBinder();\n        $binder->bindValue($cell, $value);\n        $this->assertEquals($valueBinded, $cell->getValue());\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Cell/DataTypeTest.php",
    "content": "<?php\n\n\nclass DataTypeTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testGetErrorCodes()\n    {\n        $result = call_user_func(array('PHPExcel_Cell_DataType','getErrorCodes'));\n        $this->assertInternalType('array', $result);\n        $this->assertGreaterThan(0, count($result));\n        $this->assertArrayHasKey('#NULL!', $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Cell/DefaultValueBinderTest.php",
    "content": "<?php\n\nrequire_once 'testDataFileIterator.php';\n\nclass DefaultValueBinderTest extends PHPUnit_Framework_TestCase\n{\n    protected $cellStub;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    protected function createCellStub()\n    {\n        // Create a stub for the Cell class.\n        $this->cellStub = $this->getMockBuilder('PHPExcel_Cell')\n            ->disableOriginalConstructor()\n            ->getMock();\n        // Configure the stub.\n        $this->cellStub->expects($this->any())\n             ->method('setValueExplicit')\n             ->will($this->returnValue(true));\n\n    }\n\n    /**\n     * @dataProvider binderProvider\n     */\n    public function testBindValue($value)\n    {\n        $this->createCellStub();\n        $binder = new PHPExcel_Cell_DefaultValueBinder();\n        $result = $binder->bindValue($this->cellStub, $value);\n        $this->assertTrue($result);\n    }\n\n    public function binderProvider()\n    {\n        return array(\n            array(null),\n            array(''),\n            array('ABC'),\n            array('=SUM(A1:B2)'),\n            array(true),\n            array(false),\n            array(123),\n            array(-123.456),\n            array('123'),\n            array('-123.456'),\n            array('#REF!'),\n            array(new DateTime()),\n        );\n    }\n\n    /**\n     * @dataProvider providerDataTypeForValue\n     */\n    public function testDataTypeForValue()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell_DefaultValueBinder','dataTypeForValue'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerDataTypeForValue()\n    {\n        return new testDataFileIterator('rawTestData/Cell/DefaultValueBinder.data');\n    }\n\n    public function testDataTypeForRichTextObject()\n    {\n        $objRichText = new PHPExcel_RichText();\n        $objRichText->createText('Hello World');\n\n        $expectedResult = PHPExcel_Cell_DataType::TYPE_INLINE;\n        $result = call_user_func(array('PHPExcel_Cell_DefaultValueBinder','dataTypeForValue'), $objRichText);\n        $this->assertEquals($expectedResult, $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Cell/HyperlinkTest.php",
    "content": "<?php\n\n\nclass HyperlinkTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testGetUrl()\n    {\n        $urlValue = 'http://www.phpexcel.net';\n\n        $testInstance = new PHPExcel_Cell_Hyperlink($urlValue);\n\n        $result = $testInstance->getUrl();\n        $this->assertEquals($urlValue, $result);\n    }\n\n    public function testSetUrl()\n    {\n        $initialUrlValue = 'http://www.phpexcel.net';\n        $newUrlValue = 'http://github.com/PHPOffice/PHPExcel';\n\n        $testInstance = new PHPExcel_Cell_Hyperlink($initialUrlValue);\n        $result = $testInstance->setUrl($newUrlValue);\n        $this->assertTrue($result instanceof PHPExcel_Cell_Hyperlink);\n\n        $result = $testInstance->getUrl();\n        $this->assertEquals($newUrlValue, $result);\n    }\n\n    public function testGetTooltip()\n    {\n        $tooltipValue = 'PHPExcel Web Site';\n\n        $testInstance = new PHPExcel_Cell_Hyperlink(null, $tooltipValue);\n\n        $result = $testInstance->getTooltip();\n        $this->assertEquals($tooltipValue, $result);\n    }\n\n    public function testSetTooltip()\n    {\n        $initialTooltipValue = 'PHPExcel Web Site';\n        $newTooltipValue = 'PHPExcel Repository on Github';\n\n        $testInstance = new PHPExcel_Cell_Hyperlink(null, $initialTooltipValue);\n        $result = $testInstance->setTooltip($newTooltipValue);\n        $this->assertTrue($result instanceof PHPExcel_Cell_Hyperlink);\n\n        $result = $testInstance->getTooltip();\n        $this->assertEquals($newTooltipValue, $result);\n    }\n\n    public function testIsInternal()\n    {\n        $initialUrlValue = 'http://www.phpexcel.net';\n        $newUrlValue = 'sheet://Worksheet1!A1';\n\n        $testInstance = new PHPExcel_Cell_Hyperlink($initialUrlValue);\n        $result = $testInstance->isInternal();\n        $this->assertFalse($result);\n\n        $testInstance->setUrl($newUrlValue);\n        $result = $testInstance->isInternal();\n        $this->assertTrue($result);\n    }\n\n    public function testGetHashCode()\n    {\n        $urlValue = 'http://www.phpexcel.net';\n        $tooltipValue = 'PHPExcel Web Site';\n        $initialExpectedHash = 'd84d713aed1dbbc8a7c5af183d6c7dbb';\n\n        $testInstance = new PHPExcel_Cell_Hyperlink($urlValue, $tooltipValue);\n\n        $result = $testInstance->getHashCode();\n        $this->assertEquals($initialExpectedHash, $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/CellTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass CellTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    /**\n     * @dataProvider providerColumnString\n     */\n    public function testColumnIndexFromString()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','columnIndexFromString'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerColumnString()\n    {\n        return new testDataFileIterator('rawTestData/ColumnString.data');\n    }\n\n    public function testColumnIndexFromStringTooLong()\n    {\n        $cellAddress = 'ABCD';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','columnIndexFromString'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Column string index can not be longer than 3 characters');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    public function testColumnIndexFromStringTooShort()\n    {\n        $cellAddress = '';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','columnIndexFromString'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Column string index can not be empty');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    /**\n     * @dataProvider providerColumnIndex\n     */\n    public function testStringFromColumnIndex()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','stringFromColumnIndex'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerColumnIndex()\n    {\n        return new testDataFileIterator('rawTestData/ColumnIndex.data');\n    }\n\n    /**\n     * @dataProvider providerCoordinates\n     */\n    public function testCoordinateFromString()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','coordinateFromString'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCoordinates()\n    {\n        return new testDataFileIterator('rawTestData/CellCoordinates.data');\n    }\n\n    public function testCoordinateFromStringWithRangeAddress()\n    {\n        $cellAddress = 'A1:AI2012';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','coordinateFromString'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Cell coordinate string can not be a range of cells');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    public function testCoordinateFromStringWithEmptyAddress()\n    {\n        $cellAddress = '';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','coordinateFromString'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Cell coordinate can not be zero-length string');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    public function testCoordinateFromStringWithInvalidAddress()\n    {\n        $cellAddress = 'AI';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','coordinateFromString'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Invalid cell coordinate '.$cellAddress);\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    /**\n     * @dataProvider providerAbsoluteCoordinates\n     */\n    public function testAbsoluteCoordinateFromString()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','absoluteCoordinate'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerAbsoluteCoordinates()\n    {\n        return new testDataFileIterator('rawTestData/CellAbsoluteCoordinate.data');\n    }\n\n    public function testAbsoluteCoordinateFromStringWithRangeAddress()\n    {\n        $cellAddress = 'A1:AI2012';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','absoluteCoordinate'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Cell coordinate string can not be a range of cells');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    /**\n     * @dataProvider providerAbsoluteReferences\n     */\n    public function testAbsoluteReferenceFromString()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','absoluteReference'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerAbsoluteReferences()\n    {\n        return new testDataFileIterator('rawTestData/CellAbsoluteReference.data');\n    }\n\n    public function testAbsoluteReferenceFromStringWithRangeAddress()\n    {\n        $cellAddress = 'A1:AI2012';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','absoluteReference'), $cellAddress);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Cell coordinate string can not be a range of cells');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    /**\n     * @dataProvider providerSplitRange\n     */\n    public function testSplitRange()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','splitRange'), $args);\n        foreach ($result as $key => $split) {\n            if (!is_array($expectedResult[$key])) {\n                $this->assertEquals($expectedResult[$key], $split[0]);\n            } else {\n                $this->assertEquals($expectedResult[$key], $split);\n            }\n        }\n    }\n\n    public function providerSplitRange()\n    {\n        return new testDataFileIterator('rawTestData/CellSplitRange.data');\n    }\n\n    /**\n     * @dataProvider providerBuildRange\n     */\n    public function testBuildRange()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','buildRange'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerBuildRange()\n    {\n        return new testDataFileIterator('rawTestData/CellBuildRange.data');\n    }\n\n    public function testBuildRangeInvalid()\n    {\n        $cellRange = '';\n        try {\n            $result = call_user_func(array('PHPExcel_Cell','buildRange'), $cellRange);\n        } catch (PHPExcel_Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Range does not contain any information');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    /**\n     * @dataProvider providerRangeBoundaries\n     */\n    public function testRangeBoundaries()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','rangeBoundaries'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerRangeBoundaries()\n    {\n        return new testDataFileIterator('rawTestData/CellRangeBoundaries.data');\n    }\n\n    /**\n     * @dataProvider providerRangeDimension\n     */\n    public function testRangeDimension()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','rangeDimension'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerRangeDimension()\n    {\n        return new testDataFileIterator('rawTestData/CellRangeDimension.data');\n    }\n\n    /**\n     * @dataProvider providerGetRangeBoundaries\n     */\n    public function testGetRangeBoundaries()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','getRangeBoundaries'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerGetRangeBoundaries()\n    {\n        return new testDataFileIterator('rawTestData/CellGetRangeBoundaries.data');\n    }\n\n    /**\n     * @dataProvider providerExtractAllCellReferencesInRange\n     */\n    public function testExtractAllCellReferencesInRange()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Cell','extractAllCellReferencesInRange'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerExtractAllCellReferencesInRange()\n    {\n        return new testDataFileIterator('rawTestData/CellExtractAllCellReferencesInRange.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Chart/DataSeriesValuesTest.php",
    "content": "<?php\n\n\nclass DataSeriesValuesTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testSetDataType()\n    {\n        $dataTypeValues = array(\n            'Number',\n            'String'\n        );\n\n        $testInstance = new PHPExcel_Chart_DataSeriesValues;\n\n        foreach ($dataTypeValues as $dataTypeValue) {\n            $result = $testInstance->setDataType($dataTypeValue);\n            $this->assertTrue($result instanceof PHPExcel_Chart_DataSeriesValues);\n        }\n    }\n\n    public function testSetInvalidDataTypeThrowsException()\n    {\n        $testInstance = new PHPExcel_Chart_DataSeriesValues;\n\n        try {\n            $result = $testInstance->setDataType('BOOLEAN');\n        } catch (Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Invalid datatype for chart data series values');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    public function testGetDataType()\n    {\n        $dataTypeValue = 'String';\n\n        $testInstance = new PHPExcel_Chart_DataSeriesValues;\n        $setValue = $testInstance->setDataType($dataTypeValue);\n\n        $result = $testInstance->getDataType();\n        $this->assertEquals($dataTypeValue, $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Chart/LayoutTest.php",
    "content": "<?php\n\n\nclass LayoutTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testSetLayoutTarget()\n    {\n        $LayoutTargetValue = 'String';\n\n        $testInstance = new PHPExcel_Chart_Layout;\n\n        $result = $testInstance->setLayoutTarget($LayoutTargetValue);\n        $this->assertTrue($result instanceof PHPExcel_Chart_Layout);\n    }\n\n    public function testGetLayoutTarget()\n    {\n        $LayoutTargetValue = 'String';\n\n        $testInstance = new PHPExcel_Chart_Layout;\n        $setValue = $testInstance->setLayoutTarget($LayoutTargetValue);\n\n        $result = $testInstance->getLayoutTarget();\n        $this->assertEquals($LayoutTargetValue, $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Chart/LegendTest.php",
    "content": "<?php\n\n\nclass LegendTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testSetPosition()\n    {\n        $positionValues = array(\n            PHPExcel_Chart_Legend::POSITION_RIGHT,\n            PHPExcel_Chart_Legend::POSITION_LEFT,\n            PHPExcel_Chart_Legend::POSITION_TOP,\n            PHPExcel_Chart_Legend::POSITION_BOTTOM,\n            PHPExcel_Chart_Legend::POSITION_TOPRIGHT,\n        );\n\n        $testInstance = new PHPExcel_Chart_Legend;\n\n        foreach ($positionValues as $positionValue) {\n            $result = $testInstance->setPosition($positionValue);\n            $this->assertTrue($result);\n        }\n    }\n\n    public function testSetInvalidPositionReturnsFalse()\n    {\n        $testInstance = new PHPExcel_Chart_Legend;\n\n        $result = $testInstance->setPosition('BottomLeft');\n        $this->assertFalse($result);\n        //    Ensure that value is unchanged\n        $result = $testInstance->getPosition();\n        $this->assertEquals(PHPExcel_Chart_Legend::POSITION_RIGHT, $result);\n    }\n\n    public function testGetPosition()\n    {\n        $PositionValue = PHPExcel_Chart_Legend::POSITION_BOTTOM;\n\n        $testInstance = new PHPExcel_Chart_Legend;\n        $setValue = $testInstance->setPosition($PositionValue);\n\n        $result = $testInstance->getPosition();\n        $this->assertEquals($PositionValue, $result);\n    }\n\n    public function testSetPositionXL()\n    {\n        $positionValues = array(\n            PHPExcel_Chart_Legend::xlLegendPositionBottom,\n            PHPExcel_Chart_Legend::xlLegendPositionCorner,\n            PHPExcel_Chart_Legend::xlLegendPositionCustom,\n            PHPExcel_Chart_Legend::xlLegendPositionLeft,\n            PHPExcel_Chart_Legend::xlLegendPositionRight,\n            PHPExcel_Chart_Legend::xlLegendPositionTop,\n        );\n\n        $testInstance = new PHPExcel_Chart_Legend;\n\n        foreach ($positionValues as $positionValue) {\n            $result = $testInstance->setPositionXL($positionValue);\n            $this->assertTrue($result);\n        }\n    }\n\n    public function testSetInvalidXLPositionReturnsFalse()\n    {\n        $testInstance = new PHPExcel_Chart_Legend;\n\n        $result = $testInstance->setPositionXL(999);\n        $this->assertFalse($result);\n        //    Ensure that value is unchanged\n        $result = $testInstance->getPositionXL();\n        $this->assertEquals(PHPExcel_Chart_Legend::xlLegendPositionRight, $result);\n    }\n\n    public function testGetPositionXL()\n    {\n        $PositionValue = PHPExcel_Chart_Legend::xlLegendPositionCorner;\n\n        $testInstance = new PHPExcel_Chart_Legend;\n        $setValue = $testInstance->setPositionXL($PositionValue);\n\n        $result = $testInstance->getPositionXL();\n        $this->assertEquals($PositionValue, $result);\n    }\n\n    public function testSetOverlay()\n    {\n        $overlayValues = array(\n            true,\n            false,\n        );\n\n        $testInstance = new PHPExcel_Chart_Legend;\n\n        foreach ($overlayValues as $overlayValue) {\n            $result = $testInstance->setOverlay($overlayValue);\n            $this->assertTrue($result);\n        }\n    }\n\n    public function testSetInvalidOverlayReturnsFalse()\n    {\n        $testInstance = new PHPExcel_Chart_Legend;\n\n        $result = $testInstance->setOverlay('INVALID');\n        $this->assertFalse($result);\n\n        $result = $testInstance->getOverlay();\n        $this->assertFalse($result);\n    }\n\n    public function testGetOverlay()\n    {\n        $OverlayValue = true;\n\n        $testInstance = new PHPExcel_Chart_Legend;\n        $setValue = $testInstance->setOverlay($OverlayValue);\n\n        $result = $testInstance->getOverlay();\n        $this->assertEquals($OverlayValue, $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php",
    "content": "<?php\n\n\nclass XEEValidatorTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    /**\n     * @dataProvider providerInvalidXML\n     * @expectedException PHPExcel_Reader_Exception\n     */\n    public function testInvalidXML($filename)\n    {\n        $reader = $this->getMockForAbstractClass('PHPExcel_Reader_Abstract');\n        $expectedResult = 'FAILURE: Should throw an Exception rather than return a value';\n        $result = $reader->securityScanFile($filename);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerInvalidXML()\n    {\n        $tests = array();\n        foreach (glob('rawTestData/Reader/XEETestInvalid*.xml') as $file) {\n            $tests[] = [realpath($file), true];\n        }\n        return $tests;\n    }\n\n    /**\n     * @dataProvider providerValidXML\n     */\n    public function testValidXML($filename, $expectedResult)\n    {\n        $reader = $this->getMockForAbstractClass('PHPExcel_Reader_Abstract');\n        $result = $reader->securityScanFile($filename);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerValidXML()\n    {\n        $tests = array();\n        foreach (glob('rawTestData/Reader/XEETestValid*.xml') as $file) {\n            $tests[] = [realpath($file), file_get_contents($file)];\n        }\n        return $tests;\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/ReferenceHelperTest.php",
    "content": "<?php\n\n\nclass ReferenceHelperTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testColumnSort()\n    {\n        $columnBase = $columnExpectedResult = array(\n            'A','B','Z',\n            'AA','AB','AZ',\n            'BA','BB','BZ',\n            'ZA','ZB','ZZ',\n            'AAA','AAB','AAZ',\n            'ABA','ABB','ABZ',\n            'AZA','AZB','AZZ',\n            'BAA','BAB','BAZ',\n            'BBA','BBB','BBZ',\n            'BZA','BZB','BZZ'\n        );\n        shuffle($columnBase);\n        usort($columnBase, array('PHPExcel_ReferenceHelper','columnSort'));\n        foreach ($columnBase as $key => $value) {\n            $this->assertEquals($columnExpectedResult[$key], $value);\n        }\n    }\n\n    public function testColumnReverseSort()\n    {\n        $columnBase = $columnExpectedResult = array(\n            'A','B','Z',\n            'AA','AB','AZ',\n            'BA','BB','BZ',\n            'ZA','ZB','ZZ',\n            'AAA','AAB','AAZ',\n            'ABA','ABB','ABZ',\n            'AZA','AZB','AZZ',\n            'BAA','BAB','BAZ',\n            'BBA','BBB','BBZ',\n            'BZA','BZB','BZZ'\n        );\n        shuffle($columnBase);\n        $columnExpectedResult = array_reverse($columnExpectedResult);\n        usort($columnBase, array('PHPExcel_ReferenceHelper','columnReverseSort'));\n        foreach ($columnBase as $key => $value) {\n            $this->assertEquals($columnExpectedResult[$key], $value);\n        }\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/SettingsTest.php",
    "content": "<?php\n\n\nclass SettingsTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    /**\n     */\n    public function testGetXMLSettings()\n    {\n        $result = call_user_func(array('PHPExcel_Settings','getLibXmlLoaderOptions'));\n        $this->assertTrue((bool) ((LIBXML_DTDLOAD | LIBXML_DTDATTR) & $result));\n    }\n\n    /**\n     */\n    public function testSetXMLSettings()\n    {\n        call_user_func_array(array('PHPExcel_Settings','setLibXmlLoaderOptions'), [LIBXML_DTDLOAD | LIBXML_DTDATTR | LIBXML_DTDVALID]);\n        $result = call_user_func(array('PHPExcel_Settings','getLibXmlLoaderOptions'));\n        $this->assertTrue((bool) ((LIBXML_DTDLOAD | LIBXML_DTDATTR | LIBXML_DTDVALID) & $result));\n    }\n\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/CodePageTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass CodePageTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    /**\n     * @dataProvider providerCodePage\n     */\n    public function testCodePageNumberToName()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_CodePage','NumberToName'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCodePage()\n    {\n        return new testDataFileIterator('rawTestData/Shared/CodePage.data');\n    }\n\n    public function testNumberToNameWithInvalidCodePage()\n    {\n        $invalidCodePage = 12345;\n        try {\n            $result = call_user_func(array('PHPExcel_Shared_CodePage','NumberToName'), $invalidCodePage);\n        } catch (Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Unknown codepage: 12345');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n\n    public function testNumberToNameWithUnsupportedCodePage()\n    {\n        $unsupportedCodePage = 720;\n        try {\n            $result = call_user_func(array('PHPExcel_Shared_CodePage','NumberToName'), $unsupportedCodePage);\n        } catch (Exception $e) {\n            $this->assertEquals($e->getMessage(), 'Code page 720 not supported.');\n            return;\n        }\n        $this->fail('An expected exception has not been raised.');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/DateTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass DateTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testSetExcelCalendar()\n    {\n        $calendarValues = array(\n            PHPExcel_Shared_Date::CALENDAR_MAC_1904,\n            PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900,\n        );\n\n        foreach ($calendarValues as $calendarValue) {\n            $result = call_user_func(array('PHPExcel_Shared_Date','setExcelCalendar'), $calendarValue);\n            $this->assertTrue($result);\n        }\n    }\n\n    public function testSetExcelCalendarWithInvalidValue()\n    {\n        $unsupportedCalendar = '2012';\n        $result = call_user_func(array('PHPExcel_Shared_Date','setExcelCalendar'), $unsupportedCalendar);\n        $this->assertFalse($result);\n    }\n\n    /**\n     * @dataProvider providerDateTimeExcelToPHP1900\n     */\n    public function testDateTimeExcelToPHP1900()\n    {\n        $result = call_user_func(\n            array('PHPExcel_Shared_Date','setExcelCalendar'),\n            PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900\n        );\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        if ($args[0] < 1) {\n            $expectedResult += gmmktime(0, 0, 0);\n        }\n        $result = call_user_func_array(array('PHPExcel_Shared_Date', 'ExcelToPHP'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerDateTimeExcelToPHP1900()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimeExcelToPHP1900.data');\n    }\n\n    /**\n     * @dataProvider providerDateTimePHPToExcel1900\n     */\n    public function testDateTimePHPToExcel1900()\n    {\n        $result = call_user_func(\n            array('PHPExcel_Shared_Date','setExcelCalendar'),\n            PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900\n        );\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Date','PHPToExcel'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-5);\n    }\n\n    public function providerDateTimePHPToExcel1900()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimePHPToExcel1900.data');\n    }\n\n    /**\n     * @dataProvider providerDateTimeFormattedPHPToExcel1900\n     */\n    public function testDateTimeFormattedPHPToExcel1900()\n    {\n        $result = call_user_func(\n            array('PHPExcel_Shared_Date','setExcelCalendar'),\n            PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900\n        );\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Date','FormattedPHPToExcel'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-5);\n    }\n\n    public function providerDateTimeFormattedPHPToExcel1900()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimeFormattedPHPToExcel1900.data');\n    }\n\n    /**\n     * @dataProvider providerDateTimeExcelToPHP1904\n     */\n    public function testDateTimeExcelToPHP1904()\n    {\n        $result = call_user_func(\n            array('PHPExcel_Shared_Date','setExcelCalendar'),\n            PHPExcel_Shared_Date::CALENDAR_MAC_1904\n        );\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        if ($args[0] < 1) {\n            $expectedResult += gmmktime(0, 0, 0);\n        }\n        $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerDateTimeExcelToPHP1904()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimeExcelToPHP1904.data');\n    }\n\n    /**\n     * @dataProvider providerDateTimePHPToExcel1904\n     */\n    public function testDateTimePHPToExcel1904()\n    {\n        $result = call_user_func(\n            array('PHPExcel_Shared_Date','setExcelCalendar'),\n            PHPExcel_Shared_Date::CALENDAR_MAC_1904\n        );\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Date','PHPToExcel'), $args);\n        $this->assertEquals($expectedResult, $result, null, 1E-5);\n    }\n\n    public function providerDateTimePHPToExcel1904()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimePHPToExcel1904.data');\n    }\n\n    /**\n     * @dataProvider providerIsDateTimeFormatCode\n     */\n    public function testIsDateTimeFormatCode()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Date','isDateTimeFormatCode'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerIsDateTimeFormatCode()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimeFormatCodes.data');\n    }\n\n    /**\n     * @dataProvider providerDateTimeExcelToPHP1900Timezone\n     */\n    public function testDateTimeExcelToPHP1900Timezone()\n    {\n        $result = call_user_func(\n            array('PHPExcel_Shared_Date','setExcelCalendar'),\n            PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900\n        );\n\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        if ($args[0] < 1) {\n            $expectedResult += gmmktime(0, 0, 0);\n        }\n        $result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerDateTimeExcelToPHP1900Timezone()\n    {\n        return new testDataFileIterator('rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/FileTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass FileTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testGetUseUploadTempDirectory()\n    {\n        $expectedResult = false;\n\n        $result = call_user_func(array('PHPExcel_Shared_File','getUseUploadTempDirectory'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetUseUploadTempDirectory()\n    {\n        $useUploadTempDirectoryValues = array(\n            true,\n            false,\n        );\n\n        foreach ($useUploadTempDirectoryValues as $useUploadTempDirectoryValue) {\n            call_user_func(array('PHPExcel_Shared_File','setUseUploadTempDirectory'), $useUploadTempDirectoryValue);\n\n            $result = call_user_func(array('PHPExcel_Shared_File','getUseUploadTempDirectory'));\n            $this->assertEquals($useUploadTempDirectoryValue, $result);\n        }\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/FontTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass FontTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testGetAutoSizeMethod()\n    {\n        $expectedResult = PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX;\n\n        $result = call_user_func(array('PHPExcel_Shared_Font','getAutoSizeMethod'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetAutoSizeMethod()\n    {\n        $autosizeMethodValues = array(\n            PHPExcel_Shared_Font::AUTOSIZE_METHOD_EXACT,\n            PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX,\n        );\n\n        foreach ($autosizeMethodValues as $autosizeMethodValue) {\n            $result = call_user_func(array('PHPExcel_Shared_Font','setAutoSizeMethod'), $autosizeMethodValue);\n            $this->assertTrue($result);\n        }\n    }\n\n    public function testSetAutoSizeMethodWithInvalidValue()\n    {\n        $unsupportedAutosizeMethod = 'guess';\n\n        $result = call_user_func(array('PHPExcel_Shared_Font','setAutoSizeMethod'), $unsupportedAutosizeMethod);\n        $this->assertFalse($result);\n    }\n\n    /**\n     * @dataProvider providerFontSizeToPixels\n     */\n    public function testFontSizeToPixels()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Font','fontSizeToPixels'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerFontSizeToPixels()\n    {\n        return new testDataFileIterator('rawTestData/Shared/FontSizeToPixels.data');\n    }\n\n    /**\n     * @dataProvider providerInchSizeToPixels\n     */\n    public function testInchSizeToPixels()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Font','inchSizeToPixels'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerInchSizeToPixels()\n    {\n        return new testDataFileIterator('rawTestData/Shared/InchSizeToPixels.data');\n    }\n\n    /**\n     * @dataProvider providerCentimeterSizeToPixels\n     */\n    public function testCentimeterSizeToPixels()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_Font','centimeterSizeToPixels'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerCentimeterSizeToPixels()\n    {\n        return new testDataFileIterator('rawTestData/Shared/CentimeterSizeToPixels.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/PasswordHasherTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass PasswordHasherTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    /**\n     * @dataProvider providerHashPassword\n     */\n    public function testHashPassword()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Shared_PasswordHasher','hashPassword'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerHashPassword()\n    {\n        return new testDataFileIterator('rawTestData/Shared/PasswordHashes.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/StringTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass StringTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testGetIsMbStringEnabled()\n    {\n        $result = call_user_func(array('PHPExcel_Shared_String','getIsMbstringEnabled'));\n        $this->assertTrue($result);\n    }\n\n    public function testGetIsIconvEnabled()\n    {\n        $result = call_user_func(array('PHPExcel_Shared_String','getIsIconvEnabled'));\n        $this->assertTrue($result);\n    }\n\n    public function testGetDecimalSeparator()\n    {\n        $localeconv = localeconv();\n\n        $expectedResult = (!empty($localeconv['decimal_point'])) ? $localeconv['decimal_point'] : ',';\n        $result = call_user_func(array('PHPExcel_Shared_String','getDecimalSeparator'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetDecimalSeparator()\n    {\n        $expectedResult = ',';\n        $result = call_user_func(array('PHPExcel_Shared_String','setDecimalSeparator'), $expectedResult);\n\n        $result = call_user_func(array('PHPExcel_Shared_String','getDecimalSeparator'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testGetThousandsSeparator()\n    {\n        $localeconv = localeconv();\n\n        $expectedResult = (!empty($localeconv['thousands_sep'])) ? $localeconv['thousands_sep'] : ',';\n        $result = call_user_func(array('PHPExcel_Shared_String','getThousandsSeparator'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetThousandsSeparator()\n    {\n        $expectedResult = ' ';\n        $result = call_user_func(array('PHPExcel_Shared_String','setThousandsSeparator'), $expectedResult);\n\n        $result = call_user_func(array('PHPExcel_Shared_String','getThousandsSeparator'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testGetCurrencyCode()\n    {\n        $localeconv = localeconv();\n\n        $expectedResult = (!empty($localeconv['currency_symbol'])) ? $localeconv['currency_symbol'] : '$';\n        $result = call_user_func(array('PHPExcel_Shared_String','getCurrencyCode'));\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetCurrencyCode()\n    {\n        $expectedResult = '£';\n        $result = call_user_func(array('PHPExcel_Shared_String','setCurrencyCode'), $expectedResult);\n\n        $result = call_user_func(array('PHPExcel_Shared_String','getCurrencyCode'));\n        $this->assertEquals($expectedResult, $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Shared/TimeZoneTest.php",
    "content": "<?php\n\n\nclass TimeZoneTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    public function testSetTimezone()\n    {\n        $timezoneValues = array(\n            'Europe/Prague',\n            'Asia/Tokyo',\n            'America/Indiana/Indianapolis',\n            'Pacific/Honolulu',\n            'Atlantic/St_Helena',\n        );\n\n        foreach ($timezoneValues as $timezoneValue) {\n            $result = call_user_func(array('PHPExcel_Shared_TimeZone','setTimezone'), $timezoneValue);\n            $this->assertTrue($result);\n        }\n\n    }\n\n    public function testSetTimezoneWithInvalidValue()\n    {\n        $unsupportedTimezone = 'Etc/GMT+10';\n        $result = call_user_func(array('PHPExcel_Shared_TimeZone','setTimezone'), $unsupportedTimezone);\n        $this->assertFalse($result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Style/ColorTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass ColorTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n    /**\n     * @dataProvider providerColorGetRed\n     */\n    public function testGetRed()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Style_Color','getRed'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerColorGetRed()\n    {\n        return new testDataFileIterator('rawTestData/Style/ColorGetRed.data');\n    }\n\n    /**\n     * @dataProvider providerColorGetGreen\n     */\n    public function testGetGreen()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Style_Color','getGreen'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerColorGetGreen()\n    {\n        return new testDataFileIterator('rawTestData/Style/ColorGetGreen.data');\n    }\n\n    /**\n     * @dataProvider providerColorGetBlue\n     */\n    public function testGetBlue()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Style_Color','getBlue'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerColorGetBlue()\n    {\n        return new testDataFileIterator('rawTestData/Style/ColorGetBlue.data');\n    }\n\n    /**\n     * @dataProvider providerColorChangeBrightness\n     */\n    public function testChangeBrightness()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Style_Color','changeBrightness'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerColorChangeBrightness()\n    {\n        return new testDataFileIterator('rawTestData/Style/ColorChangeBrightness.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Style/NumberFormatDateTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass NumberFormatDateTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Shared_String::setDecimalSeparator('.');\n        PHPExcel_Shared_String::setThousandsSeparator(',');\n    }\n\n    /**\n     * @dataProvider providerNumberFormat\n     */\n    public function testFormatValueWithMask()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Style_NumberFormat','toFormattedString'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerNumberFormat()\n    {\n        return new testDataFileIterator('rawTestData/Style/NumberFormatDates.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Style/NumberFormatTest.php",
    "content": "<?php\n\n\nrequire_once 'testDataFileIterator.php';\n\nclass NumberFormatTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        PHPExcel_Shared_String::setDecimalSeparator('.');\n        PHPExcel_Shared_String::setThousandsSeparator(',');\n    }\n\n    /**\n     * @dataProvider providerNumberFormat\n     */\n    public function testFormatValueWithMask()\n    {\n        $args = func_get_args();\n        $expectedResult = array_pop($args);\n        $result = call_user_func_array(array('PHPExcel_Style_NumberFormat','toFormattedString'), $args);\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function providerNumberFormat()\n    {\n        return new testDataFileIterator('rawTestData/Style/NumberFormat.data');\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/AutoFilter/Column/RuleTest.php",
    "content": "<?php\n\n\nclass RuleTest extends PHPUnit_Framework_TestCase\n{\n    private $_testAutoFilterRuleObject;\n\n    private $_mockAutoFilterColumnObject;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        $this->_mockAutoFilterColumnObject = $this->getMockBuilder('PHPExcel_Worksheet_AutoFilter_Column')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->_mockAutoFilterColumnObject->expects($this->any())\n            ->method('testColumnInRange')\n            ->will($this->returnValue(3));\n\n        $this->_testAutoFilterRuleObject = new PHPExcel_Worksheet_AutoFilter_Column_Rule(\n            $this->_mockAutoFilterColumnObject\n        );\n    }\n\n    public function testGetRuleType()\n    {\n        $result = $this->_testAutoFilterRuleObject->getRuleType();\n        $this->assertEquals(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER, $result);\n    }\n\n    public function testSetRuleType()\n    {\n        $expectedResult = PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP;\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterRuleObject->setRuleType($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column_Rule', $result);\n\n        $result = $this->_testAutoFilterRuleObject->getRuleType();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetValue()\n    {\n        $expectedResult = 100;\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterRuleObject->setValue($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column_Rule', $result);\n\n        $result = $this->_testAutoFilterRuleObject->getValue();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testGetOperator()\n    {\n        $result = $this->_testAutoFilterRuleObject->getOperator();\n        $this->assertEquals(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL, $result);\n    }\n\n    public function testSetOperator()\n    {\n        $expectedResult = PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN;\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterRuleObject->setOperator($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column_Rule', $result);\n\n        $result = $this->_testAutoFilterRuleObject->getOperator();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetGrouping()\n    {\n        $expectedResult = PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH;\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterRuleObject->setGrouping($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column_Rule', $result);\n\n        $result = $this->_testAutoFilterRuleObject->getGrouping();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testGetParent()\n    {\n        $result = $this->_testAutoFilterRuleObject->getParent();\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n    }\n\n    public function testSetParent()\n    {\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterRuleObject->setParent($this->_mockAutoFilterColumnObject);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column_Rule', $result);\n    }\n\n    public function testClone()\n    {\n        $result = clone $this->_testAutoFilterRuleObject;\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column_Rule', $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/AutoFilter/ColumnTest.php",
    "content": "<?php\n\n\nclass AutofilterColumnTest extends PHPUnit_Framework_TestCase\n{\n    private $_testInitialColumn = 'H';\n\n    private $_testAutoFilterColumnObject;\n\n    private $_mockAutoFilterObject;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        $this->_mockAutoFilterObject = $this->getMockBuilder('PHPExcel_Worksheet_AutoFilter')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->_mockAutoFilterObject->expects($this->any())\n            ->method('testColumnInRange')\n            ->will($this->returnValue(3));\n\n        $this->_testAutoFilterColumnObject = new PHPExcel_Worksheet_AutoFilter_Column(\n            $this->_testInitialColumn,\n            $this->_mockAutoFilterObject\n        );\n    }\n\n    public function testGetColumnIndex()\n    {\n        $result = $this->_testAutoFilterColumnObject->getColumnIndex();\n        $this->assertEquals($this->_testInitialColumn, $result);\n    }\n\n    public function testSetColumnIndex()\n    {\n        $expectedResult = 'L';\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterColumnObject->setColumnIndex($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n\n        $result = $this->_testAutoFilterColumnObject->getColumnIndex();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testGetParent()\n    {\n        $result = $this->_testAutoFilterColumnObject->getParent();\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n    }\n\n    public function testSetParent()\n    {\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterColumnObject->setParent($this->_mockAutoFilterObject);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n    }\n\n    public function testGetFilterType()\n    {\n        $result = $this->_testAutoFilterColumnObject->getFilterType();\n        $this->assertEquals(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER, $result);\n    }\n\n    public function testSetFilterType()\n    {\n        $result = $this->_testAutoFilterColumnObject->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n\n        $result = $this->_testAutoFilterColumnObject->getFilterType();\n        $this->assertEquals(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER, $result);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSetInvalidFilterTypeThrowsException()\n    {\n        $expectedResult = 'Unfiltered';\n\n        $result = $this->_testAutoFilterColumnObject->setFilterType($expectedResult);\n    }\n\n    public function testGetJoin()\n    {\n        $result = $this->_testAutoFilterColumnObject->getJoin();\n        $this->assertEquals(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR, $result);\n    }\n\n    public function testSetJoin()\n    {\n        $result = $this->_testAutoFilterColumnObject->setJoin(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n\n        $result = $this->_testAutoFilterColumnObject->getJoin();\n        $this->assertEquals(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND, $result);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSetInvalidJoinThrowsException()\n    {\n        $expectedResult = 'Neither';\n\n        $result = $this->_testAutoFilterColumnObject->setJoin($expectedResult);\n    }\n\n    public function testSetAttributes()\n    {\n        $attributeSet = array(    'val' => 100,\n                                'maxVal' => 200\n                             );\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterColumnObject->setAttributes($attributeSet);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n    }\n\n    public function testGetAttributes()\n    {\n        $attributeSet = array(    'val' => 100,\n                                'maxVal' => 200\n                             );\n\n        $this->_testAutoFilterColumnObject->setAttributes($attributeSet);\n\n        $result = $this->_testAutoFilterColumnObject->getAttributes();\n        $this->assertTrue(is_array($result));\n        $this->assertEquals(count($attributeSet), count($result));\n    }\n\n    public function testSetAttribute()\n    {\n        $attributeSet = array(    'val' => 100,\n                                'maxVal' => 200\n                             );\n\n        foreach ($attributeSet as $attributeName => $attributeValue) {\n            //    Setters return the instance to implement the fluent interface\n            $result = $this->_testAutoFilterColumnObject->setAttribute($attributeName, $attributeValue);\n            $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n        }\n    }\n\n    public function testGetAttribute()\n    {\n        $attributeSet = array(    'val' => 100,\n                                'maxVal' => 200\n                             );\n\n        $this->_testAutoFilterColumnObject->setAttributes($attributeSet);\n\n        foreach ($attributeSet as $attributeName => $attributeValue) {\n            $result = $this->_testAutoFilterColumnObject->getAttribute($attributeName);\n            $this->assertEquals($attributeValue, $result);\n        }\n        $result = $this->_testAutoFilterColumnObject->getAttribute('nonExistentAttribute');\n        $this->assertNull($result);\n    }\n\n    public function testClone()\n    {\n        $result = clone $this->_testAutoFilterColumnObject;\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/AutoFilterTest.php",
    "content": "<?php\n\n\nclass AutoFilterTest extends PHPUnit_Framework_TestCase\n{\n    private $_testInitialRange = 'H2:O256';\n\n    private $_testAutoFilterObject;\n\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n\n        $this->_mockWorksheetObject = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n        $this->_mockCacheController = $this->getMockBuilder('PHPExcel_CachedObjectStorage_Memory')\n            ->disableOriginalConstructor()\n            ->getMock();\n        $this->_mockWorksheetObject->expects($this->any())\n            ->method('getCellCacheController')\n            ->will($this->returnValue($this->_mockCacheController));\n\n        $this->_testAutoFilterObject = new PHPExcel_Worksheet_AutoFilter(\n            $this->_testInitialRange,\n            $this->_mockWorksheetObject\n        );\n    }\n\n    public function testToString()\n    {\n        $expectedResult = $this->_testInitialRange;\n\n        //    magic __toString should return the active autofilter range\n        $result = $this->_testAutoFilterObject;\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testGetParent()\n    {\n        $result = $this->_testAutoFilterObject->getParent();\n        $this->assertInstanceOf('PHPExcel_Worksheet', $result);\n    }\n\n    public function testSetParent()\n    {\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterObject->setParent($this->_mockWorksheetObject);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n    }\n\n    public function testGetRange()\n    {\n        $expectedResult = $this->_testInitialRange;\n\n        //    Result should be the active autofilter range\n        $result = $this->_testAutoFilterObject->getRange();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    public function testSetRange()\n    {\n        $ranges = array('G1:J512' => 'Worksheet1!G1:J512',\n                        'K1:N20' => 'K1:N20'\n                       );\n\n        foreach ($ranges as $actualRange => $fullRange) {\n            //    Setters return the instance to implement the fluent interface\n            $result = $this->_testAutoFilterObject->setRange($fullRange);\n            $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n\n            //    Result should be the new autofilter range\n            $result = $this->_testAutoFilterObject->getRange();\n            $this->assertEquals($actualRange, $result);\n        }\n    }\n\n    public function testClearRange()\n    {\n        $expectedResult = '';\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterObject->setRange();\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n\n        //    Result should be a clear range\n        $result = $this->_testAutoFilterObject->getRange();\n        $this->assertEquals($expectedResult, $result);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSetRangeInvalidRange()\n    {\n        $expectedResult = 'A1';\n\n        $result = $this->_testAutoFilterObject->setRange($expectedResult);\n    }\n\n    public function testGetColumnsEmpty()\n    {\n        //    There should be no columns yet defined\n        $result = $this->_testAutoFilterObject->getColumns();\n        $this->assertInternalType('array', $result);\n        $this->assertEquals(0, count($result));\n    }\n\n    public function testGetColumnOffset()\n    {\n        $columnIndexes = array(    'H' => 0,\n                                'K' => 3,\n                                'M' => 5\n                              );\n\n        //    If we request a specific column by its column ID, we should get an\n        //    integer returned representing the column offset within the range\n        foreach ($columnIndexes as $columnIndex => $columnOffset) {\n            $result = $this->_testAutoFilterObject->getColumnOffset($columnIndex);\n            $this->assertEquals($columnOffset, $result);\n        }\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testGetInvalidColumnOffset()\n    {\n        $invalidColumn = 'G';\n\n        $result = $this->_testAutoFilterObject->getColumnOffset($invalidColumn);\n    }\n\n    public function testSetColumnWithString()\n    {\n        $expectedResult = 'L';\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterObject->setColumn($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n\n        $result = $this->_testAutoFilterObject->getColumns();\n        //    Result should be an array of PHPExcel_Worksheet_AutoFilter_Column\n        //    objects for each column we set indexed by the column ID\n        $this->assertInternalType('array', $result);\n        $this->assertEquals(1, count($result));\n        $this->assertArrayHasKey($expectedResult, $result);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result[$expectedResult]);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSetInvalidColumnWithString()\n    {\n        $invalidColumn = 'A';\n\n        $result = $this->_testAutoFilterObject->setColumn($invalidColumn);\n    }\n\n    public function testSetColumnWithColumnObject()\n    {\n        $expectedResult = 'M';\n        $columnObject = new PHPExcel_Worksheet_AutoFilter_Column($expectedResult);\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterObject->setColumn($columnObject);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n\n        $result = $this->_testAutoFilterObject->getColumns();\n        //    Result should be an array of PHPExcel_Worksheet_AutoFilter_Column\n        //    objects for each column we set indexed by the column ID\n        $this->assertInternalType('array', $result);\n        $this->assertEquals(1, count($result));\n        $this->assertArrayHasKey($expectedResult, $result);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result[$expectedResult]);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSetInvalidColumnWithObject()\n    {\n        $invalidColumn = 'E';\n        $columnObject = new PHPExcel_Worksheet_AutoFilter_Column($invalidColumn);\n\n        $result = $this->_testAutoFilterObject->setColumn($invalidColumn);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSetColumnWithInvalidDataType()\n    {\n        $invalidColumn = 123.456;\n        $columnObject = new PHPExcel_Worksheet_AutoFilter_Column($invalidColumn);\n\n        $result = $this->_testAutoFilterObject->setColumn($invalidColumn);\n    }\n\n    public function testGetColumns()\n    {\n        $columnIndexes = array('L','M');\n\n        foreach ($columnIndexes as $columnIndex) {\n            $this->_testAutoFilterObject->setColumn($columnIndex);\n        }\n\n        $result = $this->_testAutoFilterObject->getColumns();\n        //    Result should be an array of PHPExcel_Worksheet_AutoFilter_Column\n        //    objects for each column we set indexed by the column ID\n        $this->assertInternalType('array', $result);\n        $this->assertEquals(count($columnIndexes), count($result));\n        foreach ($columnIndexes as $columnIndex) {\n            $this->assertArrayHasKey($columnIndex, $result);\n            $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result[$columnIndex]);\n        }\n    }\n\n    public function testGetColumn()\n    {\n        $columnIndexes = array('L','M');\n\n        foreach ($columnIndexes as $columnIndex) {\n            $this->_testAutoFilterObject->setColumn($columnIndex);\n        }\n\n        //    If we request a specific column by its column ID, we should\n        //    get a PHPExcel_Worksheet_AutoFilter_Column object returned\n        foreach ($columnIndexes as $columnIndex) {\n            $result = $this->_testAutoFilterObject->getColumn($columnIndex);\n            $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n        }\n    }\n\n    public function testGetColumnByOffset()\n    {\n        $columnIndexes = array(    0 => 'H',\n                                3 => 'K',\n                                5 => 'M'\n                              );\n\n        //    If we request a specific column by its offset, we should\n        //    get a PHPExcel_Worksheet_AutoFilter_Column object returned\n        foreach ($columnIndexes as $columnIndex => $columnID) {\n            $result = $this->_testAutoFilterObject->getColumnByOffset($columnIndex);\n            $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n            $this->assertEquals($result->getColumnIndex(), $columnID);\n        }\n    }\n\n    public function testGetColumnIfNotSet()\n    {\n        //    If we request a specific column by its column ID, we should\n        //    get a PHPExcel_Worksheet_AutoFilter_Column object returned\n        $result = $this->_testAutoFilterObject->getColumn('K');\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testGetColumnWithoutRangeSet()\n    {\n        //    Clear the range\n        $result = $this->_testAutoFilterObject->setRange();\n\n        $result = $this->_testAutoFilterObject->getColumn('A');\n    }\n\n    public function testClearRangeWithExistingColumns()\n    {\n        $expectedResult = '';\n\n        $columnIndexes = array('L','M','N');\n        foreach ($columnIndexes as $columnIndex) {\n            $this->_testAutoFilterObject->setColumn($columnIndex);\n        }\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterObject->setRange();\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n\n        //    Range should be cleared\n        $result = $this->_testAutoFilterObject->getRange();\n        $this->assertEquals($expectedResult, $result);\n\n        //    Column array should be cleared\n        $result = $this->_testAutoFilterObject->getColumns();\n        $this->assertInternalType('array', $result);\n        $this->assertEquals(0, count($result));\n    }\n\n    public function testSetRangeWithExistingColumns()\n    {\n        $expectedResult = 'G1:J512';\n\n        //    These columns should be retained\n        $columnIndexes1 = array('I','J');\n        foreach ($columnIndexes1 as $columnIndex) {\n            $this->_testAutoFilterObject->setColumn($columnIndex);\n        }\n        //    These columns should be discarded\n        $columnIndexes2 = array('K','L','M');\n        foreach ($columnIndexes2 as $columnIndex) {\n            $this->_testAutoFilterObject->setColumn($columnIndex);\n        }\n\n        //    Setters return the instance to implement the fluent interface\n        $result = $this->_testAutoFilterObject->setRange($expectedResult);\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n\n        //    Range should be correctly set\n        $result = $this->_testAutoFilterObject->getRange();\n        $this->assertEquals($expectedResult, $result);\n\n        //    Only columns that existed in the original range and that\n        //        still fall within the new range should be retained\n        $result = $this->_testAutoFilterObject->getColumns();\n        $this->assertInternalType('array', $result);\n        $this->assertEquals(count($columnIndexes1), count($result));\n    }\n\n    public function testClone()\n    {\n        $columnIndexes = array('L','M');\n\n        foreach ($columnIndexes as $columnIndex) {\n            $this->_testAutoFilterObject->setColumn($columnIndex);\n        }\n\n        $result = clone $this->_testAutoFilterObject;\n        $this->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/CellCollectionTest.php",
    "content": "<?php\n\nclass CellCollectionTest extends PHPUnit_Framework_TestCase\n{\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n    }\n\n\n    public function testCacheLastCell()\n    {\n        $methods = PHPExcel_CachedObjectStorageFactory::getCacheStorageMethods();\n        foreach ($methods as $method) {\n            PHPExcel_CachedObjectStorageFactory::initialize($method);\n            $workbook = new PHPExcel();\n            $cells = array('A1', 'A2');\n            $worksheet = $workbook->getActiveSheet();\n            $worksheet->setCellValue('A1', 1);\n            $worksheet->setCellValue('A2', 2);\n            $this->assertEquals($cells, $worksheet->getCellCollection(), \"Cache method \\\"$method\\\".\");\n            PHPExcel_CachedObjectStorageFactory::finalize();\n        }\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/ColumnCellIteratorTest.php",
    "content": "<?php\n\nclass ColumnCellIteratorTest extends PHPUnit_Framework_TestCase\n{\n    public $mockWorksheet;\n    public $mockColumnCell;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n        \n        $this->mockCell = $this->getMockBuilder('PHPExcel_Cell')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getHighestRow')\n                 ->will($this->returnValue(5));\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getCellByColumnAndRow')\n                 ->will($this->returnValue($this->mockCell));\n    }\n\n\n    public function testIteratorFullRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnCellIterator($this->mockWorksheet, 'A');\n        $ColumnCellIndexResult = 1;\n        $this->assertEquals($ColumnCellIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $ColumnCell) {\n            $this->assertEquals($ColumnCellIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Cell', $ColumnCell);\n        }\n    }\n\n    public function testIteratorStartEndRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnCellIterator($this->mockWorksheet, 'A', 2, 4);\n        $ColumnCellIndexResult = 2;\n        $this->assertEquals($ColumnCellIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $ColumnCell) {\n            $this->assertEquals($ColumnCellIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Cell', $ColumnCell);\n        }\n    }\n\n    public function testIteratorSeekAndPrev()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnCellIterator($this->mockWorksheet, 'A', 2, 4);\n        $columnIndexResult = 4;\n        $iterator->seek(4);\n        $this->assertEquals($columnIndexResult, $iterator->key());\n\n        for ($i = 1; $i < $columnIndexResult-1; $i++) {\n            $iterator->prev();\n            $this->assertEquals($columnIndexResult - $i, $iterator->key());\n        }\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSeekOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnCellIterator($this->mockWorksheet, 'A', 2, 4);\n        $iterator->seek(1);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testPrevOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnCellIterator($this->mockWorksheet, 'A', 2, 4);\n        $iterator->prev();\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/ColumnIteratorTest.php",
    "content": "<?php\n\nclass ColumnIteratorTest extends PHPUnit_Framework_TestCase\n{\n    public $mockWorksheet;\n    public $mockColumn;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n        \n        $this->mockColumn = $this->getMockBuilder('PHPExcel_Worksheet_Column')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getHighestColumn')\n                 ->will($this->returnValue('E'));\n        $this->mockWorksheet->expects($this->any())\n                 ->method('current')\n                 ->will($this->returnValue($this->mockColumn));\n    }\n\n\n    public function testIteratorFullRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnIterator($this->mockWorksheet);\n        $columnIndexResult = 'A';\n        $this->assertEquals($columnIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $column) {\n            $this->assertEquals($columnIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Worksheet_Column', $column);\n        }\n    }\n\n    public function testIteratorStartEndRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnIterator($this->mockWorksheet, 'B', 'D');\n        $columnIndexResult = 'B';\n        $this->assertEquals($columnIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $column) {\n            $this->assertEquals($columnIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Worksheet_Column', $column);\n        }\n    }\n\n    public function testIteratorSeekAndPrev()\n    {\n        $ranges = range('A', 'E');\n        $iterator = new PHPExcel_Worksheet_ColumnIterator($this->mockWorksheet, 'B', 'D');\n        $columnIndexResult = 'D';\n        $iterator->seek('D');\n        $this->assertEquals($columnIndexResult, $iterator->key());\n\n        for ($i = 1; $i < array_search($columnIndexResult, $ranges); $i++) {\n            $iterator->prev();\n            $expectedResult = $ranges[array_search($columnIndexResult, $ranges) - $i];\n            $this->assertEquals($expectedResult, $iterator->key());\n        }\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testStartOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnIterator($this->mockWorksheet, 'IA', 'IV');\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSeekOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnIterator($this->mockWorksheet, 'B', 'D');\n        $iterator->seek('A');\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testPrevOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_ColumnIterator($this->mockWorksheet, 'B', 'D');\n        $iterator->prev();\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/RowCellIteratorTest.php",
    "content": "<?php\n\nclass RowCellIteratorTest extends PHPUnit_Framework_TestCase\n{\n    public $mockWorksheet;\n    public $mockRowCell;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n        \n        $this->mockCell = $this->getMockBuilder('PHPExcel_Cell')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getHighestColumn')\n                 ->will($this->returnValue('E'));\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getCellByColumnAndRow')\n                 ->will($this->returnValue($this->mockCell));\n    }\n\n\n    public function testIteratorFullRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowCellIterator($this->mockWorksheet);\n        $RowCellIndexResult = 'A';\n        $this->assertEquals($RowCellIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $RowCell) {\n            $this->assertEquals($RowCellIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Cell', $RowCell);\n        }\n    }\n\n    public function testIteratorStartEndRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowCellIterator($this->mockWorksheet, 2, 'B', 'D');\n        $RowCellIndexResult = 'B';\n        $this->assertEquals($RowCellIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $RowCell) {\n            $this->assertEquals($RowCellIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Cell', $RowCell);\n        }\n    }\n\n    public function testIteratorSeekAndPrev()\n    {\n        $ranges = range('A', 'E');\n        $iterator = new PHPExcel_Worksheet_RowCellIterator($this->mockWorksheet, 2, 'B', 'D');\n        $RowCellIndexResult = 'D';\n        $iterator->seek('D');\n        $this->assertEquals($RowCellIndexResult, $iterator->key());\n\n        for ($i = 1; $i < array_search($RowCellIndexResult, $ranges); $i++) {\n            $iterator->prev();\n            $expectedResult = $ranges[array_search($RowCellIndexResult, $ranges) - $i];\n            $this->assertEquals($expectedResult, $iterator->key());\n        }\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSeekOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowCellIterator($this->mockWorksheet, 2, 'B', 'D');\n        $iterator->seek(1);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testPrevOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowCellIterator($this->mockWorksheet, 2, 'B', 'D');\n        $iterator->prev();\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/RowIteratorTest.php",
    "content": "<?php\n\nclass RowIteratorTest extends PHPUnit_Framework_TestCase\n{\n    public $mockWorksheet;\n    public $mockRow;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n        \n        $this->mockRow = $this->getMockBuilder('PHPExcel_Worksheet_Row')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getHighestRow')\n                 ->will($this->returnValue(5));\n        $this->mockWorksheet->expects($this->any())\n                 ->method('current')\n                 ->will($this->returnValue($this->mockRow));\n    }\n\n\n    public function testIteratorFullRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowIterator($this->mockWorksheet);\n        $rowIndexResult = 1;\n        $this->assertEquals($rowIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $row) {\n            $this->assertEquals($rowIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Worksheet_Row', $row);\n        }\n    }\n\n    public function testIteratorStartEndRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowIterator($this->mockWorksheet, 2, 4);\n        $rowIndexResult = 2;\n        $this->assertEquals($rowIndexResult, $iterator->key());\n        \n        foreach ($iterator as $key => $row) {\n            $this->assertEquals($rowIndexResult++, $key);\n            $this->assertInstanceOf('PHPExcel_Worksheet_Row', $row);\n        }\n    }\n\n    public function testIteratorSeekAndPrev()\n    {\n        $iterator = new PHPExcel_Worksheet_RowIterator($this->mockWorksheet, 2, 4);\n        $rowIndexResult = 4;\n        $iterator->seek($rowIndexResult);\n        $this->assertEquals($rowIndexResult, $iterator->key());\n\n        for ($i = 1; $i < $rowIndexResult-1; $i++) {\n            $iterator->prev();\n            $this->assertEquals($rowIndexResult - $i, $iterator->key());\n        }\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testStartOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowIterator($this->mockWorksheet, 256, 512);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testSeekOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowIterator($this->mockWorksheet, 2, 4);\n        $iterator->seek(1);\n    }\n\n    /**\n     * @expectedException PHPExcel_Exception\n     */\n    public function testPrevOutOfRange()\n    {\n        $iterator = new PHPExcel_Worksheet_RowIterator($this->mockWorksheet, 2, 4);\n        $iterator->prev();\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/WorksheetColumnTest.php",
    "content": "<?php\n\nclass WorksheetColumnTest extends PHPUnit_Framework_TestCase\n{\n    public $mockWorksheet;\n    public $mockColumn;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n        \n        $this->mockWorksheet = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getHighestRow')\n                 ->will($this->returnValue(5));\n    }\n\n\n    public function testInstantiateColumnDefault()\n    {\n        $column = new PHPExcel_Worksheet_Column($this->mockWorksheet);\n        $this->assertInstanceOf('PHPExcel_Worksheet_Column', $column);\n        $columnIndex = $column->getColumnIndex();\n        $this->assertEquals('A', $columnIndex);\n    }\n\n    public function testInstantiateColumnSpecified()\n    {\n        $column = new PHPExcel_Worksheet_Column($this->mockWorksheet, 'E');\n        $this->assertInstanceOf('PHPExcel_Worksheet_Column', $column);\n        $columnIndex = $column->getColumnIndex();\n        $this->assertEquals('E', $columnIndex);\n    }\n\n    public function testGetCellIterator()\n    {\n        $column = new PHPExcel_Worksheet_Column($this->mockWorksheet);\n        $cellIterator = $column->getCellIterator();\n        $this->assertInstanceOf('PHPExcel_Worksheet_ColumnCellIterator', $cellIterator);\n    }\n}\n"
  },
  {
    "path": "unitTests/Classes/PHPExcel/Worksheet/WorksheetRowTest.php",
    "content": "<?php\n\nclass WorksheetRowTest extends PHPUnit_Framework_TestCase\n{\n    public $mockWorksheet;\n    public $mockRow;\n\n    public function setUp()\n    {\n        if (!defined('PHPEXCEL_ROOT')) {\n            define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');\n        }\n        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');\n        \n        $this->mockWorksheet = $this->getMockBuilder('PHPExcel_Worksheet')\n            ->disableOriginalConstructor()\n            ->getMock();\n        $this->mockWorksheet->expects($this->any())\n                 ->method('getHighestColumn')\n                 ->will($this->returnValue('E'));\n    }\n\n\n    public function testInstantiateRowDefault()\n    {\n        $row = new PHPExcel_Worksheet_Row($this->mockWorksheet);\n        $this->assertInstanceOf('PHPExcel_Worksheet_Row', $row);\n        $rowIndex = $row->getRowIndex();\n        $this->assertEquals(1, $rowIndex);\n    }\n\n    public function testInstantiateRowSpecified()\n    {\n        $row = new PHPExcel_Worksheet_Row($this->mockWorksheet, 5);\n        $this->assertInstanceOf('PHPExcel_Worksheet_Row', $row);\n        $rowIndex = $row->getRowIndex();\n        $this->assertEquals(5, $rowIndex);\n    }\n\n    public function testGetCellIterator()\n    {\n        $row = new PHPExcel_Worksheet_Row($this->mockWorksheet);\n        $cellIterator = $row->getCellIterator();\n        $this->assertInstanceOf('PHPExcel_Worksheet_RowCellIterator', $cellIterator);\n    }\n}\n"
  },
  {
    "path": "unitTests/bootstrap.php",
    "content": "<?php\n/**\n * $Id: bootstrap.php 2892 2011-08-14 15:11:50Z markbaker@phpexcel.net $\n *\n * @copyright   Copyright (C) 2011-2014 PHPExcel. All rights reserved.\n * @package     PHPExcel\n * @subpackage  PHPExcel Unit Tests\n * @author      Mark Baker\n */\n\nchdir(dirname(__FILE__));\n\nsetlocale(LC_ALL, 'en_US.utf8');\n\n// PHP 5.3 Compat\ndate_default_timezone_set('Europe/London');\n\n// Define path to application directory\ndefined('APPLICATION_PATH')\n    || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../Classes'));\n\n// Define path to application tests directory\ndefined('APPLICATION_TESTS_PATH')\n    || define('APPLICATION_TESTS_PATH', realpath(dirname(__FILE__)));\n\n// Define application environment\ndefined('APPLICATION_ENV') || define('APPLICATION_ENV', 'ci');\n\n// Ensure library/ is on include_path\nset_include_path(implode(PATH_SEPARATOR, array(\n    realpath(APPLICATION_PATH . '/../Classes'),\n    './',\n    dirname(__FILE__),\n    get_include_path(),\n)));\n\n\n/**\n * @todo Sort out xdebug in vagrant so that this works in all sandboxes\n * For now, it is safer to test for it rather then remove it.\n */\necho \"PHPExcel tests beginning\\n\";\n\nif (extension_loaded('xdebug')) {\n    echo \"Xdebug extension loaded and running\\n\";\n    xdebug_enable();\n} else {\n    echo 'Xdebug not found, you should run the following at the command line: echo \"zend_extension=/usr/lib64/php/modules/xdebug.so\" > /etc/php.d/xdebug.ini' . \"\\n\";\n}\n"
  },
  {
    "path": "unitTests/custom/Complex.php",
    "content": "<?php\n\nclass Complex\n{\n    private $realPart = 0;\n    private $imaginaryPart = 0;\n    private $suffix = null;\n\n    public static function _parseComplex($complexNumber)\n    {\n        //    Test for real number, with no imaginary part\n        if (is_numeric($complexNumber)) {\n            return array($complexNumber, 0, null);\n        }\n\n        //    Fix silly human errors\n        if (strpos($complexNumber, '+-') !== false) {\n            $complexNumber = str_replace('+-', '-', $complexNumber);\n        }\n        if (strpos($complexNumber, '++') !== false) {\n            $complexNumber = str_replace('++', '+', $complexNumber);\n        }\n        if (strpos($complexNumber, '--') !== false) {\n            $complexNumber = str_replace('--', '-', $complexNumber);\n        }\n\n        //    Basic validation of string, to parse out real and imaginary parts, and any suffix\n        $validComplex = preg_match('/^([\\-\\+]?(\\d+\\.?\\d*|\\d*\\.?\\d+)([Ee][\\-\\+]?[0-2]?\\d{1,3})?)([\\-\\+]?(\\d+\\.?\\d*|\\d*\\.?\\d+)([Ee][\\-\\+]?[0-2]?\\d{1,3})?)?(([\\-\\+]?)([ij]?))$/ui', $complexNumber, $complexParts);\n\n        if (!$validComplex) {\n            //    Neither real nor imaginary part, so test to see if we actually have a suffix\n            $validComplex = preg_match('/^([\\-\\+]?)([ij])$/ui', $complexNumber, $complexParts);\n            if (!$validComplex) {\n                throw new Exception('COMPLEX: Invalid complex number');\n            }\n            //    We have a suffix, so set the real to 0, the imaginary to either 1 or -1 (as defined by the sign)\n            $imaginary = 1;\n            if ($complexParts[1] === '-') {\n                $imaginary = 0 - $imaginary;\n            }\n            return array(0, $imaginary, $complexParts[2]);\n        }\n\n        //    If we don't have an imaginary part, identify whether it should be +1 or -1...\n        if (($complexParts[4] === '') && ($complexParts[9] !== '')) {\n            if ($complexParts[7] !== $complexParts[9]) {\n                $complexParts[4] = 1;\n                if ($complexParts[8] === '-') {\n                    $complexParts[4] = -1;\n                }\n            //    ... or if we have only the real and no imaginary part (in which case our real should be the imaginary)\n            } else {\n                $complexParts[4] = $complexParts[1];\n                $complexParts[1] = 0;\n            }\n        }\n\n        //    Return real and imaginary parts and suffix as an array, and set a default suffix if user input lazily\n        return array($complexParts[1], $complexParts[4], !empty($complexParts[9]) ? $complexParts[9] : 'i');\n    }    //    function _parseComplex()\n\n\n    public function __construct($realPart, $imaginaryPart = null, $suffix = 'i')\n    {\n        if ($imaginaryPart === null) {\n            if (is_array($realPart)) {\n                //    We have an array of (potentially) real and imaginary parts, and any suffix\n                list ($realPart, $imaginaryPart, $suffix) = array_values($realPart) + array(0.0, 0.0, 'i');\n            } elseif ((is_string($realPart)) || (is_numeric($realPart))) {\n                //    We've been given a string to parse to extract the real and imaginary parts, and any suffix\n                list ($realPart, $imaginaryPart, $suffix) = self::_parseComplex($realPart);\n            }\n        }\n\n        //    Set parsed values in our properties\n        $this->realPart = (float) $realPart;\n        $this->imaginaryPart = (float) $imaginaryPart;\n        $this->suffix = strtolower($suffix);\n    }\n\n    public function getReal()\n    {\n        return $this->realPart;\n    }\n\n    public function getImaginary()\n    {\n        return $this->imaginaryPart;\n    }\n\n    public function getSuffix()\n    {\n        return $this->suffix;\n    }\n\n    public function __toString()\n    {\n        $str = \"\";\n        if ($this->imaginaryPart != 0.0) {\n            if (abs($this->imaginaryPart) != 1.0) {\n                $str .= $this->imaginaryPart . $this->suffix;\n            } else {\n                $str .= (($this->imaginaryPart < 0.0) ? '-' : ''). $this->suffix;\n            }\n        }\n        if ($this->realPart != 0.0) {\n            if (($str) && ($this->imaginaryPart > 0.0)) {\n                $str = \"+\" . $str;\n            }\n            $str = $this->realPart . $str;\n        }\n        if (!$str) {\n            $str = \"0.0\";\n        }\n        return $str;\n    }\n}\n"
  },
  {
    "path": "unitTests/custom/complexAssert.php",
    "content": "<?php\n\ninclude_once dirname(__FILE__).'/Complex.php';\n\nclass complexAssert\n{\n    private $_errorMessage    = '';\n\n    public function assertComplexEquals($expected, $actual, $delta = 0)\n    {\n        if ($expected{0} === '#') {\n            //    Expecting an error, so we do a straight string comparison\n            if ($expected === $actual) {\n                return true;\n            }\n            $this->_errorMessage = 'Expected Error: ' . $actual . ' !== ' . $expected;\n            return false;\n        }\n\n        $expectedComplex = new Complex($expected);\n        $actualComplex = new Complex($actual);\n\n        if (!is_numeric($actualComplex->getReal()) || !is_numeric($expectedComplex->getReal())) {\n            if ($actualComplex->getReal() !== $expectedComplex->getReal()) {\n                $this->_errorMessage = 'Mismatched String: ' . $actualComplex->getReal() . ' !== ' . $expectedComplex->getReal();\n                return false;\n            }\n            return true;\n        }\n\n        if ($actualComplex->getReal() < ($expectedComplex->getReal() - $delta) ||\n            $actualComplex->getReal() > ($expectedComplex->getReal() + $delta)) {\n            $this->_errorMessage = 'Mismatched Real part: ' . $actualComplex->getReal() . ' != ' . $expectedComplex->getReal();\n            return false;\n        }\n\n        if ($actualComplex->getImaginary() < ($expectedComplex->getImaginary() - $delta) ||\n            $actualComplex->getImaginary() > ($expectedComplex->getImaginary() + $delta)) {\n            $this->_errorMessage = 'Mismatched Imaginary part: ' . $actualComplex->getImaginary() . ' != ' . $expectedComplex->getImaginary();\n            return false;\n        }\n\n        if ($actualComplex->getSuffix() !== $actualComplex->getSuffix()) {\n            $this->_errorMessage = 'Mismatched Suffix: ' . $actualComplex->getSuffix() . ' != ' . $expectedComplex->getSuffix();\n            return false;\n        }\n\n        return true;\n    }\n\n    public function getErrorMessage()\n    {\n        return $this->_errorMessage;\n    }\n}\n"
  },
  {
    "path": "unitTests/phpunit-cc.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \r\n<phpunit bootstrap=\"./bootstrap.php\"\r\n    backupGlobals=\"true\"\r\n    colors=\"true\" \r\n    convertErrorsToExceptions=\"true\" \r\n    convertNoticesToExceptions=\"true\" \r\n    convertWarningsToExceptions=\"true\" \r\n    processIsolation=\"false\" \r\n    syntaxCheck=\"true\" \r\n    verbose=\"true\" \r\n    strict=\"true\"\r\n    stopOnError=\"false\"\r\n    stopOnFailure=\"false\"\r\n    stopOnIncomplete=\"false\"\r\n    stopOnSkipped=\"false\">\r\n    <php>\r\n        <ini name=\"memory_limit\" value=\"2048M\"/>\r\n    </php>\r\n    <testsuite name=\"PHPExcel Unit Test Suite\">\r\n        <directory suffix=\"Test.php\">./Classes</directory>\r\n    </testsuite>\r\n    <filter>\r\n        <whitelist>\r\n            <directory suffix=\".php\">../Classes</directory>\r\n            <exclude>\r\n                <directory>../Classes/PHPExcel/Shared/PCLZip</directory>\r\n                <directory>../Classes/PHPExcel/Shared/JAMA</directory>\r\n                <directory>../Classes/PHPExcel/Writer/PDF</directory>\r\n            </exclude>\r\n        </whitelist>\r\n    </filter>\r\n    <logging>\r\n        <log type=\"coverage-html\" target=\"./codeCoverage\" charset=\"UTF-8\"\r\n             yui=\"true\" highlight=\"false\"\r\n             lowUpperBound=\"35\" highLowerBound=\"70\"/>\r\n        <log type=\"coverage-clover\" target=\"./codeCoverage/codeCoverage.xml\"/>\r\n        <log type=\"metrics-xml\" target=\"./metrics/metrics.xml\"/>\r\n        <log type=\"test-xml\" target=\"./testResults/logfile.xml\" logIncompleteSkipped=\"false\"/>\r\n    </logging>\r\n</phpunit> \r\n"
  },
  {
    "path": "unitTests/phpunit.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \r\n<phpunit bootstrap=\"./bootstrap.php\"\r\n    backupGlobals=\"true\"\r\n    colors=\"true\" \r\n    convertErrorsToExceptions=\"true\" \r\n    convertNoticesToExceptions=\"true\" \r\n    convertWarningsToExceptions=\"true\" \r\n    processIsolation=\"false\" \r\n    syntaxCheck=\"true\" \r\n    verbose=\"true\" \r\n    strict=\"true\"\r\n    stopOnError=\"false\"\r\n    stopOnFailure=\"false\"\r\n    stopOnIncomplete=\"false\"\r\n    stopOnSkipped=\"false\">\r\n    <php>\r\n        <ini name=\"memory_limit\" value=\"2048M\"/>\r\n    </php>\r\n    <testsuite name=\"PHPExcel Unit Test Suite\">\r\n        <directory suffix=\"Test.php\">./Classes</directory>\r\n    </testsuite>\r\n    <filter>\r\n        <whitelist>\r\n            <directory suffix=\".php\">../Classes</directory>\r\n            <exclude>\r\n                <directory>../Classes/PHPExcel/Shared/PCLZip</directory>\r\n                <directory>../Classes/PHPExcel/Shared/JAMA</directory>\r\n                <directory>../Classes/PHPExcel/Writer/PDF</directory>\r\n            </exclude>\r\n        </whitelist>\r\n    </filter>\r\n</phpunit> \r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/DATE.data",
    "content": "# Year\tMonth\tDay\t\tResult\t\tComments\r\n18,\t11,\t11,\t\t6890\r\n1900,\t1,\t1,\t\t1\t\t//\tExcel 1900 Calendar Base Date\r\n1900,\t2,\t28,\t\t59\t\t//\tDay before Excel mythical 1900 leap day\r\n1900,\t2,\t29,\t\t60\t\t//\tExcel mythical 1900 leap day\r\n1900,\t3,\t1,\t\t61\t\t//\tDay after Excel mythical 1900 leap day\r\n1901,\t12,\t13,\t\t713\t\t//\tDay after Excel mythical 1900 leap day\r\n1901,\t12,\t14,\t\t714\t\t//\tPHP 32-bit Earliest Date\r\n1903,\t12,\t31,\t\t1461\r\n1904,\t1,\t1,\t\t1462\t\t//\tExcel 1904 Calendar Base Date\r\n1904,\t1,\t2,\t\t1463\r\n1960,\t12,\t19,\t\t22269\r\n1970,\t1,\t1,\t\t25569\t\t//\tPHP Base Date\r\n1982,\t12,\t7,\t\t30292\r\n2008,\t6,\t12,\t\t39611\r\n2038,\t1,\t19,\t\t50424\t\t//\tPHP 32-bit Latest Date\r\n2038,\t1,\t20,\t\t50425\t\t//\tDay after PHP 32-bit Latest Date\r\n2008,\t1,\t1,\t\t39448\r\n2008,\t1,\t,\t\t39447\r\n2008,\t1,\t-1,\t\t39446\r\n2008,\t1,\t-30,\t\t39417\r\n2008,\t1,\t-31,\t\t39416\r\n2008,\t1,\t-365,\t\t39082\r\n2008,\t3,\t1,\t\t39508\r\n2008,\t3,\t,\t\t39507\r\n2008,\t3,\t-1,\t\t39506\r\n2008,\t3,\t-365,\t\t39142\r\n2008,\t,\t1,\t\t39417\r\n2008,\t-1,\t1,\t\t39387\r\n2008,\t-11,\t1,\t\t39083\r\n2008,\t-12,\t1,\t\t39052\r\n2008,\t-13,\t1,\t\t39022\r\n2008,\t-13,\t30,\t\t39051\r\n2008,\t-13,\t,\t\t39021\r\n2008,\t-13,\t-30,\t\t38991\r\n2008,\t-13,\t-31,\t\t38990\r\n2008,\t13,\t1,\t\t39814\r\n2007,\t15,\t,\t\t39507\r\n2008,\t26,\t1,\t\t40210\r\n2008,\t26,\t-10,\t\t40199\r\n2008,\t-26,\t61,\t\t38686\r\n2010,\t-15,\t-50,\t\t39641\r\n2010,\t-15,\t50,\t\t39741\r\n2010,\t15,\t-50,\t\t40552\r\n2010,\t15,\t50,\t\t40652\r\n2010,\t1.5,\t1,\t\t40179\r\n2010,\t1.5,\t0,\t\t40178\r\n2010,\t0,\t1.5,\t\t40148\r\n2010,\t1,\t1.5,\t\t40179\r\n2012,\t6,\t15,\t\t41075\r\n2012,\t6,\t,\t\t41060\r\n2012,\t,\t15,\t\t40892\r\n,\t6,\t15,\t\t167\r\n10,\t6,\t15,\t\t3819\r\n10,\t,\t,\t\t3622\r\n,\t10,\t,\t\t274\r\n,\t,\t10,\t\t\"#NUM!\"\r\n-20,\t,\t,\t\t\"#NUM!\"\r\n-20,\t6,\t15,\t\t\"#NUM!\"\r\n9999,\t12,\t31,\t\t2958465\t\t//\tExcel Maximum Date\r\n10000,\t1,\t1,\t\t\"#NUM!\"\t\t//\tExceeded Excel Maximum Date\r\n2008,\t8,\t10,\t\t39670\r\n2008,\t12,\t31,\t\t39813\r\n2008,\t8,\t32,\t\t39692\r\n2008,\t13,\t31,\t\t39844\r\n2009,\t1,\t0,\t\t39813\r\n2009,\t1,\t-1,\t\t39812\r\n2009,\t0,\t0,\t\t39782\r\n2009,\t0,\t-1,\t\t39781\r\n2009,\t-1,\t0,\t\t39752\r\n2009,\t-1,\t-1,\t\t39751\r\n2010,\t0,\t-1,\t\t40146\r\n2010,\t5,\t31,\t\t40329\r\n2010,\t1,\t'21st',\t\t40199\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n2010,\t\"March\",'21st',\t\t40258\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n2010,\t\"March\",21,\t\t40258\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"ABC\",\t1,\t21,\t\t\"#VALUE!\"\r\n2010,\t\"DEF\",\t21,\t\t\"#VALUE!\"\r\n2010,\t3,\t\"GHI\",\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/DATEDIF.data",
    "content": "\"ABC\",\t\t\"2007-1-10\",\t\"Y\",\t\"#VALUE!\"\r\n\"2007-1-1\",\t\"DEF\",\t\t\"Y\",\t\"#VALUE!\"\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"XYZ\",\t\"#VALUE!\"\r\n\"2007-1-10\",\t\"2007-1-1\",\t\"Y\",\t\"#NUM!\"\r\n\"2007-12-31\",\t\"2008-1-10\",\t\"Y\",\t0\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"Y\",\t0\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"M\",\t0\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"D\",\t9\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"YM\",\t0\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"YD\",\t9\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"MD\",\t9\r\n\"2007-1-1\",\t\"2007-12-31\",\t\"Y\",\t0\r\n\"2007-1-1\",\t\"2007-12-31\",\t\"M\",\t11\r\n\"2007-1-1\",\t\"2007-12-31\",\t\"D\",\t364\r\n\"2007-1-1\",\t\"2007-12-31\",\t\"YM\",\t11\r\n\"2007-1-1\",\t\"2007-12-31\",\t\"YD\",\t364\r\n\"2007-1-1\",\t\"2007-12-31\",\t\"MD\",\t30\r\n\"2007-1-1\",\t\"2008-7-1\",\t\"Y\",\t1\r\n\"2007-1-1\",\t\"2008-7-1\",\t\"M\",\t18\r\n\"2007-1-1\",\t\"2008-7-1\",\t\"D\",\t547\r\n\"2007-1-1\",\t\"2008-7-1\",\t\"YM\",\t6\r\n\"2007-1-1\",\t\"2008-7-1\",\t\"YD\",\t181\r\n\"2007-1-1\",\t\"2008-7-1\",\t\"MD\",\t0\r\n\"2007-1-1\",\t\"2007-1-31\",\t\"Y\",\t0\r\n\"2007-1-1\",\t\"2007-1-31\",\t\"M\",\t0\r\n\"2007-1-1\",\t\"2007-1-31\",\t\"D\",\t30\r\n\"2007-1-1\",\t\"2007-1-31\",\t\"YM\",\t0\r\n\"2007-1-1\",\t\"2007-1-31\",\t\"YD\",\t30\r\n\"2007-1-1\",\t\"2007-1-31\",\t\"MD\",\t30\r\n\"2007-1-1\",\t\"2007-2-1\",\t\"Y\",\t0\r\n\"2007-1-1\",\t\"2007-2-1\",\t\"M\",\t1\r\n\"2007-1-1\",\t\"2007-2-1\",\t\"D\",\t31\r\n\"2007-1-1\",\t\"2007-2-1\",\t\"YM\",\t1\r\n\"2007-1-1\",\t\"2007-2-1\",\t\"YD\",\t31\r\n\"2007-1-1\",\t\"2007-2-1\",\t\"MD\",\t0\r\n\"2007-1-1\",\t\"2007-2-28\",\t\"Y\",\t0\r\n\"2007-1-1\",\t\"2007-2-28\",\t\"M\",\t1\r\n\"2007-1-1\",\t\"2007-2-28\",\t\"D\",\t58\r\n\"2007-1-1\",\t\"2007-2-28\",\t\"YM\",\t1\r\n\"2007-1-1\",\t\"2007-2-28\",\t\"YD\",\t58\r\n\"2007-1-1\",\t\"2007-2-28\",\t\"MD\",\t27\r\n\"2007-1-31\",\t\"2007-2-1\",\t\"Y\",\t0\r\n\"2007-1-31\",\t\"2007-2-1\",\t\"M\",\t0\r\n\"2007-1-31\",\t\"2007-2-1\",\t\"D\",\t1\r\n\"2007-1-31\",\t\"2007-2-1\",\t\"YM\",\t0\r\n\"2007-1-31\",\t\"2007-2-1\",\t\"YD\",\t1\r\n\"2007-1-31\",\t\"2007-2-1\",\t\"MD\",\t1\r\n\"2007-1-31\",\t\"2007-3-1\",\t\"Y\",\t0\r\n\"2007-1-31\",\t\"2007-3-1\",\t\"M\",\t1\r\n\"2007-1-31\",\t\"2007-3-1\",\t\"D\",\t29\r\n\"2007-1-31\",\t\"2007-3-1\",\t\"YM\",\t1\r\n\"2007-1-31\",\t\"2007-3-1\",\t\"YD\",\t29\r\n\"2007-1-31\",\t\"2007-3-1\",\t\"MD\",\t-2\r\n\"2007-1-31\",\t\"2007-3-31\",\t\"Y\",\t0\r\n\"2007-1-31\",\t\"2007-3-31\",\t\"M\",\t2\r\n\"2007-1-31\",\t\"2007-3-31\",\t\"D\",\t59\r\n\"2007-1-31\",\t\"2007-3-31\",\t\"YM\",\t2\r\n\"2007-1-31\",\t\"2007-3-31\",\t\"YD\",\t59\r\n\"2007-1-31\",\t\"2007-3-31\",\t\"MD\",\t0\r\n\"2008-1-1\",\t\"2008-9-1\",\t\"Y\",\t0\r\n\"2008-1-1\",\t\"2008-9-1\",\t\"M\",\t8\r\n\"2008-1-1\",\t\"2008-9-1\",\t\"D\",\t244\r\n\"2008-1-1\",\t\"2008-9-1\",\t\"YM\",\t8\r\n\"2008-1-1\",\t\"2008-9-1\",\t\"YD\",\t244\r\n\"2008-1-1\",\t\"2008-9-1\",\t\"MD\",\t0\r\n\"2007-2-1\",\t\"2008-4-1\",\t\"Y\",\t1\r\n\"2007-2-1\",\t\"2008-4-1\",\t\"M\",\t14\r\n\"2007-2-1\",\t\"2008-4-1\",\t\"D\",\t425\r\n\"2007-2-1\",\t\"2008-4-1\",\t\"YM\",\t2\r\n\"2007-2-1\",\t\"2008-4-1\",\t\"YD\",\t59\r\n\"2007-2-1\",\t\"2008-4-1\",\t\"MD\",\t0\r\n\"1960-12-19\",\t\"2008-6-28\",\t\"Y\",\t47\r\n\"1960-12-19\",\t\"2008-6-28\",\t\"M\",\t570\r\n\"1960-12-19\",\t\"2008-6-28\",\t\"D\",\t17358\r\n\"1960-12-19\",\t\"2008-6-28\",\t\"YM\",\t6\r\n\"1960-12-19\",\t\"2008-6-28\",\t\"YD\",\t191\r\n\"1960-12-19\",\t\"2008-6-28\",\t\"MD\",\t9\r\n\"1982-12-7\",\t\"2008-6-28\",\t\"Y\",\t25\r\n\"1982-12-7\",\t\"2008-6-28\",\t\"M\",\t306\r\n\"1982-12-7\",\t\"2008-6-28\",\t\"D\",\t9335\r\n\"1982-12-7\",\t\"2008-6-28\",\t\"YM\",\t6\r\n\"1982-12-7\",\t\"2008-6-28\",\t\"YD\",\t203\r\n\"1982-12-7\",\t\"2008-6-28\",\t\"MD\",\t21\r\n\"2007-12-25\",\t\"2010-3-17\",\t\"Y\",\t2\r\n\"2007-12-25\",\t\"2010-3-17\",\t\"M\",\t26\r\n\"2007-12-25\",\t\"2010-3-17\",\t\"D\",\t813\r\n\"2007-12-25\",\t\"2010-3-17\",\t\"YM\",\t2\r\n\"2007-12-25\",\t\"2010-3-17\",\t\"YD\",\t82\r\n\"2007-12-25\",\t\"2010-3-17\",\t\"MD\",\t20\r\n\"19-12-1960\",\t\"26-01-2012\"\t\"Y\",\t51\r\n\"19-12-1960\",\t\"26-01-2012\"\t\"M\",\t613\r\n\"19-12-1960\",\t\"26-01-2012\"\t\"D\",\t18665\r\n\"19-12-1960\",\t\"26-01-2012\"\t\"YM\",\t1\r\n\"19-12-1960\",\t\"26-01-2012\"\t\"YD\",\t38\r\n\"19-12-1960\",\t\"26-01-2012\"\t\"MD\",\t7\r\n\"19-12-1960\",\t\"12-12-2012\"\t\"Y\",\t50\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/DATEVALUE.data",
    "content": "# Date String\t\t\tResult\r\n\"25-Dec-1899\",\t\t\t\"#VALUE!\"\r\n\"31-Dec-1899\",\t\t\t\"#VALUE!\"\r\n\"1-Jan-1900\",\t\t\t1\r\n\"1900/2/28\",\t\t\t59\r\n\"29-02-1900\",\t\t\t60\r\n\"29th February 1900\",\t\t60\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"1900/3/1\",\t\t\t61\r\n\"13-12-1901\",\t\t\t713\r\n\"14-12-1901\",\t\t\t714\r\n\"1903/12/31\",\t\t\t1461\r\n\"1-Jan-1904\",\t\t\t1462\r\n\"2nd-Jan-1904\",\t\t\t1463\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"19-12-1960\",\t\t\t22269\r\n\"1st January 1970\",\t\t25569\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"7-Dec-1982\",\t\t\t30292\r\n\"1-1-2008\",\t\t\t39448\r\n\"2038-01-19\",\t\t\t50424\r\n\"2-6-2008\",\t\t\t39601\r\n\"December 25th 2008\",\t\t39807\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"1 Jan-2008\",\t\t\t39448\r\n\"12-31-2008\",\t\t\t39813\t\t//\tMS Excel success or failure dependent on country settings\r\n\"31-12-2008\",\t\t\t39813\t\t//\t\tPHPExcel tries to handle both US and UK formats, irrespective of country settings\r\n\"8/22/2008\",\t\t\t39682\t\t//\tMS Excel success or failure dependent on country settings\r\n\"22/8/2008\",\t\t\t39682\t\t//\t\tPHPExcel tries to handle both US and UK formats, irrespective of country settings\r\n\"22/8/08\",\t\t\t39682\r\n\"22-AUG-2008\",\t\t\t39682\r\n\"2008/02/23\",\t\t\t39501\r\n\"6-7-2008\",\t\t\t39635\r\n\"28-2-2007\",\t\t\t39141\t\t//\tMS Excel success or failure dependent on country settings\r\n\"2-28-2007\",\t\t\t39141\t\t//\t\tPHPExcel tries to handle both US and UK formats, irrespective of country settings\r\n\"29-2-2007\",\t\t\t\"#VALUE!\"\t//\tShould fail because it's an invalid date, but PHPExcel currently adjusts to 1-3-2007 - FIX NEEDED\r\n\"1/1/1999\",\t\t\t36161\r\n\"1954-07-20\",\t\t\t19925\r\n\"22 August 98\",\t\t\t36029\r\n\"1st March 2007\",\t\t39142\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"The 1st day of March 2007\",\t\"#VALUE!\"\r\n\"1 Jan\",\t\t\t41275\r\n\"31/12\",\t\t\t41639\r\n\"12/31\",\t\t\t11658\t\t//\tExcel reads as 1st December 1931, not 31st December in current year\r\n\"5-JUL\",\t\t\t41460\r\n\"5 Jul\",\t\t\t41460\r\n\"12/2008\",\t\t\t39783\r\n\"10/32\",\t\t\t11963\r\n11,\t\t\t\t\"#VALUE!\"\r\nTRUE,\t\t\t\t\"#VALUE!\"\r\nFALSE,\t\t\t\t\"#VALUE!\"\r\n1,\t\t\t\t\"#VALUE!\"\r\n12345,\t\t\t\t\"#VALUE!\"\r\n12,\t\t\t\t\"#VALUE!\"\r\n\"12-Feb-2010\",\t\t\t40221\r\n\"Feb-12-2010\",\t\t\t40221\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"February-12-2010\",\t\t40221\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"February 12 2010\",\t\t40221\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"18 Feb 2010\",\t\t\t40227\r\n\"17th 3rd 2010\",\t\t40254\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"Feb 18th 2010\",\t\t40227\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"1st Feb 2010\",\t\t\t40210\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"1st-Feb-2010\",\t\t\t40210\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"1me Fev 2010\",\t\t\t\"#VALUE!\"\r\n\"February 1st 2010\",\t\t40210\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"2nd Feb 2010\",\t\t\t40211\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"Second Feb 2010\",\t\t\"#VALUE!\"\r\n\"First August 2010\",\t\t\"#VALUE!\"\r\n\"1st August 2010\",\t\t40391\t\t//\tMS Excel will fail with a #VALUE return, but PHPExcel can parse this date\r\n\"15:30:25\",\t\t\t0\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/DAY.data",
    "content": "# Date Value\tResult\r\n22269,\t\t19\r\n30348,\t\t1\r\n30843,\t\t10\r\n\"11-Nov-1918\",\t11\r\n\"28-Feb-1904\",\t28\r\n\"Invalid\",\t\"#VALUE!\"\r\n-1,\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/DAYS360.data",
    "content": "\"ABC\",\t\t\"2007-1-10\",\tFALSE,\t\"#VALUE!\"\r\n\"2007-1-1\",\t\"DEF\",\t\tTRUE,\t\"#VALUE!\"\r\n\"2007-1-1\",\t\"2007-1-10\",\t\"XYZ\",\t\"#VALUE!\"\r\n\"2007-1-10\",\t\"2007-1-1\",\t\"Y\",\t\"#VALUE!\"\r\n\"2007-1-1\",\t\"2007-1-10\",\tFALSE,\t9\r\n\"2007-1-1\",\t\"2007-1-10\",\tTRUE,\t9\r\n\"2007-1-1\",\t\"2007-12-31\",\tFALSE,\t360\r\n\"2007-1-1\",\t\"2007-12-31\",\tTRUE,\t359\r\n\"2007-1-1\",\t\"2008-7-1\",\tFALSE,\t540\t\r\n\"2007-1-1\",\t\"2008-7-1\",\tTRUE,\t540\t\r\n\"2007-1-1\",\t\"2007-1-31\",\tFALSE,\t30\t\r\n\"2007-1-1\",\t\"2007-1-31\",\tTRUE,\t29\t\r\n\"2007-1-1\",\t\"2007-2-1\",\tFALSE,\t30\t\r\n\"2007-1-1\",\t\"2007-2-1\",\tTRUE,\t30\t\r\n\"2007-1-1\",\t\"2007-2-28\",\tFALSE,\t57\t\r\n\"2007-1-1\",\t\"2007-2-28\",\tTRUE,\t57\t\r\n\"2007-1-31\",\t\"2007-2-1\",\tFALSE,\t1\t\r\n\"2007-1-31\",\t\"2007-2-1\",\tTRUE,\t1\t\r\n\"2007-1-31\",\t\"2007-3-1\",\tFALSE,\t31\t\r\n\"2007-1-31\",\t\"2007-3-1\",\tTRUE,\t31\t\r\n\"2007-1-31\",\t\"2007-3-31\",\tFALSE,\t60\t\r\n\"2007-1-31\",\t\"2007-3-31\",\tTRUE,\t60\t\r\n\"2008-1-1\",\t\"2008-9-1\",\tFALSE,\t240\t\r\n\"2008-1-1\",\t\"2008-9-1\",\tTRUE,\t240\t\r\n\"2007-2-1\",\t\"2008-4-1\",\tFALSE,\t420\t\r\n\"2007-2-1\",\t\"2008-4-1\",\tTRUE,\t420\t\r\n\"1960-12-19\",\t\"2008-6-28\",\tFALSE,\t17109\r\n\"1960-12-19\",\t\"2008-6-28\",\tTRUE,\t17109\r\n\"1982-12-7\",\t\"2008-6-28\",\tFALSE,\t9201\r\n\"1982-12-7\",\t\"2008-6-28\",\tTRUE,\t9201\r\n\"2000-2-28\",\t\"2000-3-31\",\tFALSE,\t33\r\n\"2000-2-28\",\t\"2000-3-31\",\tTRUE,\t32\r\n\"2000-2-29\",\t\"2000-3-31\",\tFALSE,\t30\r\n\"2000-2-29\",\t\"2000-3-31\",\tTRUE,\t31\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/EDATE.data",
    "content": "\"15-Jan-2008\",\t1,\t39493\r\n\"15-Jan-2008\",\t-1,\t39431\r\n\"15-Jan-2008\",\t2,\t39522\r\n\"31-Mar-2007\",\t1,\t39202\r\n\"31-Mar-2007\",\t-1,\t39141\r\n\"31-Mar-2008\",\t-1,\t39507\r\n\"31-Mar-2008\",\t-4,\t39416\r\n\"29-Feb-2008\",\t-12,\t39141\r\n\"15-Mar-2007\",\t3,\t39248\r\n22269.0,\t0,\t22269\r\n22269.0,\t2,\t22331\r\n22269.0,\t110,\t25618\r\n22269.0,\t-110,\t18920\r\n\"15-Mar-2007\",\t\"ABC\",\t\"#VALUE!\"\r\n\"Invalid\",\t12,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/EOMONTH.data",
    "content": "\"15-Jan-2008\",\t1,\t39507\r\n\"15-Jan-2008\",\t-1,\t39447\r\n\"15-Jan-2008\",\t2,\t39538\r\n\"31-Mar-2007\",\t1,\t39202\r\n\"31-Mar-2007\",\t-1,\t39141\r\n\"31-Mar-2008\",\t-1,\t39507\r\n\"31-Mar-2008\",\t-4,\t39416\r\n\"29-Feb-2008\",\t-12,\t39141\r\n\"15-Mar-2007\",\t3,\t39263\r\n22269.0,\t0,\t22281\r\n22269.0,\t2,\t22340\r\n22269.0,\t110,\t25627\r\n22269.0,\t-110,\t18932\r\n22269.0,\t3,\t22371\r\n22269.0,\t3.75,\t22371\r\n\"15-Mar-2007\",\t\"ABC\",\t\"#VALUE!\"\r\n\"Invalid\",\t12,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/HOUR.data",
    "content": "0.25,\t\t\t6\r\n0.75,\t\t\t18\r\n0.5,\t\t\t12\r\n0.6,\t\t\t14\r\n\"11-Nov-1918 11:11\",\t11\r\n\"11:59 PM\",\t\t23\r\n\"23:59:59\",\t\t23\r\n3600,\t\t\t2\r\n-3600,\t\t\t0\r\n7200,\t\t\t3\r\n65535,\t\t\t19\r\n\"1 O'Clock\",\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/MINUTE.data",
    "content": "0.2,\t\t\t48\r\n0.4,\t\t\t36\r\n0.6,\t\t\t24\r\n0.8,\t\t\t12\r\n\"11-Nov-1918 11:15\",\t15\r\n\"11:59 PM\",\t\t59\r\n\"23:59:59\",\t\t59\r\n3600,\t\t\t0\r\n-3600,\t\t\t0\r\n12500,\t\t\t28\r\n65535,\t\t\t12\r\n\"Half past 1 O'Clock\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/MONTH.data",
    "content": ",\t\t1\r\n0,\t\t1\r\n22269.0,\t12\r\n30348.0,\t2\r\n30843.0,\t6\r\n\"11-Nov-1918\",\t11\r\n\"28-Feb-1904\",\t2\r\n\"01 Jul 2003\",\t7\r\n38094,\t\t4\r\n\"Dec 2003\",\t12\r\n-10,\t\t\"#NUM!\"\r\n\"ABCD\",\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/NETWORKDAYS.data",
    "content": "\"1-Jan-2007\", \"10-Jan-2007\",\t\t\t\t\t\t\t8\r\n\"18-Jun-2008\", \"20-Jun-2008\",\t\t\t\t\t\t\t3\r\n\"16-Jun-2008\", \"20-Jun-2008\",\t\t\t\t\t\t\t5\r\n\"14-Jun-2008\", \"20-Jun-2008\",\t\t\t\t\t\t\t5\r\n\"20-Jun-2008\", \"20-Jun-2008\",\t\t\t\t\t\t\t1\r\n\"21-Jun-2008\", \"21-Jun-2008\",\t\t\t\t\t\t\t0\r\n\"20-Jun-2008\", \"20-Jun-2008\", \"20-Jun-2008\",\t\t\t\t\t0\r\n\"20-Jun-2008\", \"20-Jun-2008\", \"20-Jun-2008\", \"20-Jun-2008\",\t\t\t0\r\n\"14-Jun-2008\", \"25-Jun-2008\",\t\t\t\t\t\t\t8\r\n\"19-Dec-1960\", \"10-Jan-1961\",\t\t\t\t\t\t\t17\r\n\"10-Jan-1961\", \"19-Dec-1960\",\t\t\t\t\t\t\t-17\r\n\"19-Dec-1960\", \"10-Jan-1961\", \"25-Dec-1960\", \"26-Dec-1960\", \"01-Jan-1961\",\t16\r\n\"10-Jan-1961\", \"19-Dec-1960\", \"25-Dec-1960\", \"26-Dec-1960\", \"01-Jan-1961\",\t-16\r\n\"1-Jan-2007\", \"31-Mar-2007\",\t\t\t\t\t\t\t65\r\n\"1-Jan-2007\", \"31-Jan-2007\",\t\t\t\t\t\t\t23\r\n\"1-Jan-2007\", \"1-Feb-2007\",\t\t\t\t\t\t\t24\r\n\"1-Jan-2007\", \"28-Feb-2007\",\t\t\t\t\t\t\t43\r\n\"31-Jan-2007\", \"1-Feb-2007\",\t\t\t\t\t\t\t2\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/SECOND.data",
    "content": "0.2339930556,\t\t57\r\n0.4202893519,\t\t13\r\n0.6078935185,\t\t22\r\n0.8022106481,\t\t11\r\n\"11-Nov-1918 11:15:35\",\t35\r\n\"11:59 PM\",\t\t0\r\n\"23:59:59\",\t\t59\r\n3600,\t\t\t0\r\n-3601,\t\t\t59\r\n12500,\t\t\t20\r\n65535,\t\t\t15\r\n\"Half past 1 O'Clock\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/TIME.data",
    "content": "18,\t11,\t11,\t0.757766203704\r\n6,\t15,\t5,\t0.260474537037\r\n12,\t30,\t10,\t0.520949074074\r\n18,\t45,\t25,\t0.781539351852\r\n15,\t32,\t50,\t0.647800925926\r\n12,\t,\t61,\t0.500706018519\r\n11,\t,\t-1,\t0.458321759259\r\n10,\t,\t-67,\t0.415891203704\r\n13,\t62,\t5,\t0.584780092593\r\n9,\t-80,\t17,\t0.319641203704\r\n8,\t-162,\t,\t0.220833333333\r\n2,\t-120,\t-1,\t\"#NUM!\"\r\n2,\t-120,\t,\t0.000000000000\r\n2,\t-120,\t1,\t0.000011574074\r\n36,\t1,\t2,\t0.500717592593\r\n-1,\t2,\t3,\t\"#NUM!\"\r\n-1,\t61,\t29,\t0.001030092593\r\n-1,\t61,\t-60,\t0.000000000000\r\n\"A\",\t,\t,\t\"#VALUE!\"\r\n11,\t59,\t0,\t0.499305555556\r\n12,\t0,\t0,\t0.500000000000\r\n16,\t48,\t10,\t0.700115740741\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/TIMEVALUE.data",
    "content": "\"12:00:00 am\",\t\t0\r\n\"12:01:02 am\",\t\t0.000717593\r\n\"12:03 pm\",\t\t0.502083333\r\n\"12:7:11 pm\",\t\t0.504988426\r\n\"4:13:39\",\t\t0.176145833\r\n\"6:20:17 pm\",\t\t0.764085648\r\n\"18:33:27\",\t\t0.773229167\r\n\"31/12/2007 03:27:15\",\t0.143923611\r\n\"9:44:55 pm\",\t\t0.90619213\r\n12,\t\t\t\"#VALUE!\"\r\n\"13:01\",\t\t0.542361111\r\n\"33:45\",\t\t0.40625\r\n\"13:01PM\",\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/WEEKDAY.data",
    "content": "\"24-Oct-1968\",\t\t5\r\n\"24-Oct-1968\",\t2,\t4\r\n\"24-Oct-1968\",\t3,\t3\r\n\"2000-06-14\",\t\t4\r\n\"2000-06-14\",\t2,\t3\r\n\"2000-06-14\",\t3,\t2\r\n\"1996-07-24\",\t\t4\r\n\"1996-07-24\",\t2,\t3\r\n\"1996-07-24\",\t3,\t2\r\n\"1996-07-27\",\t\t7\r\n\"1996-07-27\",\t2,\t6\r\n\"1996-07-27\",\t3,\t5\r\n\"1977-7-31\",\t\t1\r\n\"1977-7-31\",\t2,\t7\r\n\"1977-7-31\",\t3,\t6\r\n\"1977-8-1\",\t\t2\r\n\"1977-8-1\",\t2,\t1\r\n\"1977-8-1\",\t3,\t0\r\n\"1900-2-5\",\t2,\t7\r\n\"1900-2-1\",\t\t1\r\n38093,\t\t\t6\r\n38093,\t\t2,\t5\r\n38093,\t\t3,\t4\r\n\"3/7/1977\",\t\"A\",\t\"#VALUE!\"\r\n\"3/7/1977\",\t0,\t\"#NUM!\"\r\n\"Invalid\",\t1,\t\"#VALUE!\"\r\n-1,\t\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/WEEKNUM.data",
    "content": "\"21-Dec-2000\",\t1,\t52\r\n\"1995-01-01\",\t1,\t1\r\n\"3/7/1977\",\t\t27\r\n\"3/7/1977\",\t\"A\",\t\"#VALUE!\"\r\n\"3/7/1977\",\t0,\t\"#NUM!\"\r\n\"Invalid\",\t1,\t\"#VALUE!\"\r\n-1,\t\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/WORKDAY.data",
    "content": "\"1-Jan-2007\",\t\"ABC\",\t\"#VALUE!\"\r\n\"1-Jan-2007\",\t9,\t39094\r\n\"18-Jun-2008\",\t2,\t39619\r\n\"16-Jun-2008\",\t4,\t39619\r\n\"14-Jun-2008\",\t6,\t39622\r\n\"14-Jun-2008\",\t11,\t39629\r\n\"14-Jun-2008\",\t-2,\t39611\r\n\"14-Jun-2008\",\t-6,\t39605\r\n\"19-Dec-2008\",\t10,\t39815\r\n\"19-Dec-2008\",\t10,\t\"25-Dec-2008\",\t\"26-Dec-2008\",\t\"01-Jan-2009\",\t39820\r\n\"19-Dec-2008\",\t10,\t{\"25-Dec-2008\"|\"26-Dec-2008\"|\"01-Jan-2009\"},\t39820\r\n39820,\t\t-10,\t{\"25-Dec-2008\"|\"26-Dec-2008\"|\"01-Jan-2009\"},\t39801\r\n\"5-Apr-2012\",\t3,\t{\"6-Apr-2012\"|\"9-Apr-2012\"},\t\t\t41010\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/YEAR.data",
    "content": ",\t\t1900\r\n1,\t\t1900\r\n33333.33,\t1991\r\n22269.0,\t1960\r\n30348.0,\t1983\r\n30843.0,\t1984\r\n\"01 Jan 2525\",\t2525\r\n\"11-Nov-1918\",\t1918\r\n\"28-Feb-1904\",\t1904\r\n-10,\t\t\"#NUM!\"\r\n\"ABCD\",\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/DateTime/YEARFRAC.data",
    "content": "\"2007-1-1\",\t\"2007-1-10\",\t0,\t0.025\r\n\"2007-1-1\",\t\"2007-1-10\",\t1,\t0.02465753424658\r\n\"2007-1-1\",\t\"2007-1-10\",\t2,\t0.025\r\n\"2007-1-1\",\t\"2007-1-10\",\t3,\t0.02465753424658\r\n\"2007-1-1\",\t\"2007-1-10\",\t4,\t0.025\r\n\"2007-1-1\",\t\"2007-12-31\",\t0,\t1.0\r\n\"2007-1-1\",\t\"2007-12-31\",\t1,\t0.99726027397260\r\n\"2007-1-1\",\t\"2007-12-31\",\t2,\t1.01111111111111\r\n\"2007-1-1\",\t\"2007-12-31\",\t3,\t0.99726027397260\r\n\"2007-1-1\",\t\"2007-12-31\",\t4,\t0.99722222222222\r\n\"2007-1-1\",\t\"2008-7-1\",\t0,\t1.5\r\n\"2007-1-1\",\t\"2008-7-1\",\t1,\t1.49658002735978\r\n\"2007-1-1\",\t\"2008-7-1\",\t2,\t1.51944444444444\r\n\"2007-1-1\",\t\"2008-7-1\",\t3,\t1.49863013698630\r\n\"2007-1-1\",\t\"2008-7-1\",\t4,\t1.5\r\n\"2007-1-1\",\t\"2007-1-31\",\t0,\t0.08333333333333\r\n\"2007-1-1\",\t\"2007-1-31\",\t1,\t0.08219178082192\r\n\"2007-1-1\",\t\"2007-1-31\",\t2,\t0.08333333333333\r\n\"2007-1-1\",\t\"2007-1-31\",\t3,\t0.08219178082192\r\n\"2007-1-1\",\t\"2007-1-31\",\t4,\t0.08055555555556\r\n\"2007-1-1\",\t\"2007-2-1\",\t0,\t0.08333333333333\r\n\"2007-1-1\",\t\"2007-2-1\",\t1,\t0.08493150684932\r\n\"2007-1-1\",\t\"2007-2-1\",\t2,\t0.08611111111111\r\n\"2007-1-1\",\t\"2007-2-1\",\t3,\t0.08493150684932\r\n\"2007-1-1\",\t\"2007-2-1\",\t4,\t0.08333333333333\r\n\"2007-1-1\",\t\"2007-2-28\",\t0,\t0.15833333333333\r\n\"2007-1-1\",\t\"2007-2-28\",\t1,\t0.15890410958904\r\n\"2007-1-1\",\t\"2007-2-28\",\t2,\t0.16111111111111\r\n\"2007-1-1\",\t\"2007-2-28\",\t3,\t0.15890410958904\r\n\"2007-1-1\",\t\"2007-2-28\",\t4,\t0.15833333333333\r\n\"2007-1-31\",\t\"2007-2-1\",\t0,\t0.00277777777778\r\n\"2007-1-31\",\t\"2007-2-1\",\t1,\t0.00273972602740\r\n\"2007-1-31\",\t\"2007-2-1\",\t2,\t0.00277777777778\r\n\"2007-1-31\",\t\"2007-2-1\",\t3,\t0.00273972602740\r\n\"2007-1-31\",\t\"2007-2-1\",\t4,\t0.00277777777778\r\n\"2007-1-31\",\t\"2007-3-1\",\t0,\t0.08611111111111\r\n\"2007-1-31\",\t\"2007-3-1\",\t1,\t0.07945205479452\r\n\"2007-1-31\",\t\"2007-3-1\",\t2,\t0.08055555555556\r\n\"2007-1-31\",\t\"2007-3-1\",\t3,\t0.07945205479452\r\n\"2007-1-31\",\t\"2007-3-1\",\t4,\t0.08611111111111\r\n\"2007-1-31\",\t\"2007-3-31\",\t0,\t0.16666666666667\r\n\"2007-1-31\",\t\"2007-3-31\",\t1,\t0.16164383561644\r\n\"2007-1-31\",\t\"2007-3-31\",\t2,\t0.16388888888889\r\n\"2007-1-31\",\t\"2007-3-31\",\t3,\t0.16164383561644\r\n\"2007-1-31\",\t\"2007-3-31\",\t4,\t0.16666666666667\r\n\"2008-1-1\",\t\"2008-9-1\",\t0,\t0.66666666666667\r\n\"2008-1-1\",\t\"2008-9-1\",\t1,\t0.66666666666667\r\n\"2008-1-1\",\t\"2008-9-1\",\t2,\t0.67777777777778\r\n\"2008-1-1\",\t\"2008-9-1\",\t3,\t0.66849315068493\r\n\"2008-1-1\",\t\"2008-9-1\",\t4,\t0.66666666666667\r\n\"2007-2-1\",\t\"2008-4-1\",\t0,\t1.16666666666667\r\n\"2007-2-1\",\t\"2008-4-1\",\t1,\t1.16279069767442\r\n\"2007-2-1\",\t\"2008-4-1\",\t2,\t1.18055555555556\r\n\"2007-2-1\",\t\"2008-4-1\",\t3,\t1.16438356164384\r\n\"2007-2-1\",\t\"2008-4-1\",\t4,\t1.16666666666667\r\n\"1960-12-19\",\t\"2008-6-28\",\t0,\t47.525\r\n\"1960-12-19\",\t\"2008-6-28\",\t1,\t47.52162252765670\r\n\"1960-12-19\",\t\"2008-6-28\",\t2,\t48.21666666666670\r\n\"1960-12-19\",\t\"2008-6-28\",\t3,\t47.55616438356160\r\n\"1960-12-19\",\t\"2008-6-28\",\t4,\t47.525\r\n\"1982-12-7\",\t\"2008-6-28\",\t0,\t25.55833333333330\r\n\"1982-12-7\",\t\"2008-6-28\",\t1,\t25.55718921111340\r\n\"1982-12-7\",\t\"2008-6-28\",\t2,\t25.93055555555560\r\n\"1982-12-7\",\t\"2008-6-28\",\t3,\t25.57534246575340\r\n\"1982-12-7\",\t\"2008-6-28\",\t4,\t25.55833333333330\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BESSELI.data",
    "content": "1.5,\t-1,\t\"#NUM!\"\r\n-1,\t6,\t2.2488660949282200E-05\r\n0,\t3,\t0.0\r\n3,\t0,\t4.8807925650332900\r\n1,\t5,\t2.7146314958504900E-04\r\n1.5,\t1,\t9.8166642847516600E-01\r\n-1.5,\t2.5,\t3.3783462087443800E-01\r\n-1.5,\t14.99,\t2.1218581758012900E-13\r\n1,\t30,\t3.5395005050254700E-42\r\n2.5,\t1,\t2.5167162420253600\r\n2.5,\t1.5,\t2.5167162420253600\r\n-2.5,\t1.5,\t-2.5167162420253600\r\n3.5,\t1,\t6.2058349320630000\r\n0.7,\t3,\t7.3673733669342700E-03\r\n3.5,\t2,\t3.8320120716293600\r\n35,\t2,\t1.0129348967887200E+14\r\n-35,\t2,\t1.0129348967887200E+14\r\n-35,\t3,\t-9.4217724797020600E+13\r\n-35,\t4,\t8.5141821583727800E+13\r\n1.5,\t\"XYZ\",\t\"#VALUE!\"\r\n\"ABC\",\t3,\t\"#VALUE!\"\r\n-9,\t1,\t-1.0309147086534900E+03\r\n-3.5,\t1,\t-6.2058349320630000\r\n-0.735,\t1,\t-3.9288151661176300E-01\r\n0,\t1,\t0.0\r\n0.035,\t1,\t1.7502679823335300E-02\r\n1,\t1,\t5.6515909758194300E-01\r\n1.5,\t1,\t9.8166642847516600E-01\r\n2.5,\t1,\t2.5167162420253600\r\n3.5,\t1,\t6.2058349320630000\r\n-9,\t2,\t8.6449622063929800E+02\r\n-3.5,\t2,\t3.8320120716293600\r\n-0.735,\t2,\t7.0619941066585700E-02\r\n0,\t2,\t0.0\r\n0.035,\t2,\t1.5314063208086000E-04\r\n0.9,\t2,\t1.0825972222234100E-01\r\n1,\t2,\t1.3574766658069900E-01\r\n1.9,\t2,\t6.0327243548745000E-01\r\n2.5,\t2,\t1.2764661588156100\r\n3.5,\t2,\t3.8320120716293600\r\n4,\t2,\t6.4221894991960900\r\n0.035,\t3,\t8.9329755645604500E-07\r\n0.7,\t3,\t7.3673733669342700E-03\r\n0.89,\t3,\t1.5428502532466100E-02\r\n4,\t3,\t3.3372758428109200\r\n4,\t5,\t5.0472437285149600E-01\r\n1.5,\t7,\t2.8406417355214300E-05\r\n3,\t9,\t1.3237298826652200E-04\r\n-3.5,\t0,\t7.3782034775718600\r\n-1.5,\t0,\t1.6467232021476800\r\n0,\t0,\t1.0\r\n1,\t0,\t1.2660658480342600\r\n1.5,\t0,\t1.6467232021476800\r\n2.5,\t0,\t3.2898391723912900\r\n3.5,\t0,\t7.3782034775718600\r\n-3.5,\t-1,\t\"#NUM!\"\r\nTRUE,\t1,\t\"#VALUE!\"\r\n1,\tTRUE,\t\"#VALUE!\"\r\n21,\t2,\t1.0477785626593200E+08\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BESSELJ.data",
    "content": "1.5,\t-1,\t\"#NUM!\"\r\n0,\t1,\t0.0\r\n1,\t1,\t4.4005058567713000E-01\r\n1,\t5,\t2.4975773021123400E-04\r\n1.9,\t2,\t3.2992582866978500E-01\r\n-2.5,\t1.5,\t-4.9709410250442200E-01\r\n3.5,\t1,\t1.3737752717818600E-01\r\n0.89,\t3,\t1.3974004027880800E-02\r\n3.5,\t2,\t4.5862918476829000E-01\r\n35,\t2,\t1.2935945082689100E-01\r\n-35,\t2,\t1.2935945082689100E-01\r\n-35,\t3,\t2.9207004782372000E-02\r\n-35,\t4,\t-1.3436636593244100E-01\r\n1.5,\t\"XYZ\",\t\"#VALUE!\"\r\n\"ABC\",\t3,\t\"#VALUE!\"\r\n-3.5,\t1,\t-1.3737752717818600E-01\r\n-0.735,\t1,\t-3.4323577520309400E-01\r\n0,\t1,\t0.0\r\n0.035,\t1,\t1.7497320451918700E-02\r\n1.5,\t1,\t5.5793650789080400E-01\r\n2.5,\t1,\t4.9709410250442200E-01\r\n3.5,\t1,\t1.3737752717818600E-01\r\n-9,\t2,\t1.4484636919412800E-01\r\n-0.735,\t2,\t6.4538955636373900E-02\r\n0,\t2,\t0.0\r\n0.9,\t2,\t9.4586304292255000E-02\r\n1.9,\t2,\t3.2992582866978500E-01\r\n0.035,\t2,\t1.5310936908796500E-04\r\n3.5,\t2,\t4.5862918476829000E-01\r\n4,\t2,\t3.6412814319431200E-01\r\n0.035,\t3,\t8.9316078090293600E-07\r\n0.7,\t3,\t6.9296548267509400E-03\r\n0.89,\t3,\t1.3974004027880800E-02\r\n4,\t3,\t4.3017147115339600E-01\r\n4,\t5,\t1.3208665605594800E-01\r\n1.5,\t7,\t2.4679795788287900E-05\r\n3,\t9,\t8.4395021309091800E-05\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BESSELK.data",
    "content": "1.5,\t-1,\t\"#NUM!\"\r\n0,\t2,\t\"#NUM!\"\r\n0.1,\t3,\t7.9900124326586500E+03\r\n1,\t0,\t4.2102442108341800E-01\r\n1.5,\t0,\t2.1380556932365400E-01\r\n-1.5,\t2,\t\"#NUM!\"\r\n1.5,\t1,\t2.7738780363225900E-01\r\n1.5,\t2,\t5.8365597416666600E-01\r\n2.3,\t1.5,\t9.4982447142959400E-02\r\n2.5,\t1,\t7.3890815650266900E-02\r\n3.5,\t1,\t2.2239393224640700E-02\r\n3.5,\t3,\t5.9161817991348200E-02\r\n3,\t9,\t3.9795880106238500E+02\r\n3.5,\t2,\t3.2307121670869000E-02\r\n1.5,\t\"XYZ\",\t\"#VALUE!\"\r\n\"ABC\",\t3,\t\"#VALUE!\"\r\n-3.5,\t1,\t\"#NUM!\"\r\n-0.735,\t1,\t\"#NUM!\"\r\n0,\t1,\t\"#NUM!\"\r\n0.035,\t1,\t2.8501970000186900E+01\r\n1.5,\t1,\t2.7738780363225900E-01\r\n2.5,\t1,\t7.3890815650266900E-02\r\n3.5,\t1,\t2.2239393224640700E-02\r\n-9,\t2,\t\"#NUM!\"\r\n-0.735,\t2,\t\"#NUM!\"\r\n0,\t2,\t\"#NUM!\"\r\n0.9,\t2,\t2.0790271301014400\r\n1.9,\t2,\t2.9690930137427500E-01\r\n0.035,\t2,\t1.6321537072931900E+03\r\n3.5,\t2,\t3.2307121670869000E-02\r\n4,\t2,\t1.7401425543547400E-02\r\n0.035,\t3,\t1.8656035423207900E+05\r\n0.7,\t3,\t2.1972168909566600E+01\r\n0.89,\t3,\t1.0317473075007600E+01\r\n4,\t3,\t2.9884924431707800E-02\r\n4,\t5,\t1.5434254881392600E-01\r\n1.5,\t7,\t2.4577004526116700E+03\r\n3,\t9,\t3.9795880106238500E+02\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BESSELY.data",
    "content": "1.5,\t-1,\t\"#NUM!\"\r\n1.23,\t45.67,\t-2.7027311261175000E+63\r\n2.5,\t0,\t4.9807035844668900E-01\r\n2.5,\t1,\t1.4591813750831300E-01\r\n2.5,\t2,\t-3.8133584844003800E-01\r\n3.5,\t1,\t4.1018841662769800E-01\r\n3.5,\t3,\t-3.5833534643622900E-01\r\n4,\t2,\t2.1590359910699000E-01\r\n3.5,\t2,\t4.5371436417535000E-02\r\n12.5,\t0,\t-1.7121430684466900E-01\r\n12.5,\t1,\t-1.5383825635163900E-01\r\n12.5,\t2,\t1.4660018586805400E-01\r\n12.5,\t22,\t-3.5760343503878700E+02\r\n1.5,\t\"XYZ\",\t\"#VALUE!\"\r\n\"ABC\",\t3,\t\"#VALUE!\"\r\n-3.5,\t1,\t\"#NUM!\"\r\n-0.735,\t1,\t\"#NUM!\"\r\n0,\t1,\t\"#NUM!\"\r\n0.035,\t1,\t-1.8233338940000000E+01\r\n1.5,\t1,\t-4.1230862700000000E-01\r\n2.5,\t1,\t1.4591813800000000E-01\r\n3.5,\t1,\t4.1018841700000000E-01\r\n-9,\t2,\t\"#NUM!\"\r\n-0.735,\t2,\t\"#NUM!\"\r\n0,\t2,\t\"#NUM!\"\r\n0.9,\t2,\t-1.9459096070000000\r\n1.9,\t2,\t-6.6987867400000000E-01\r\n0.035,\t2,\t-1.0396979410000000E+03\r\n3.5,\t2,\t4.5371436000000000E-02\r\n4,\t2,\t2.1590359900000000E-01\r\n0.035,\t3,\t-1.1880438840000000E+05\r\n0.7,\t3,\t-1.5819479070000000E+01\r\n0.89,\t3,\t-8.0204412520000000\r\n4,\t3,\t-1.8202211000000000E-01\r\n4,\t5,\t-7.9585141800000000E-01\r\n1.5,\t7,\t-1.8873970340000000E+03\r\n3,\t9,\t-4.4495950710000000E+02\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BIN2DEC.data",
    "content": "\"10110010\",\t\"178\"\r\n\"1100100\",\t\"100\"\r\n\"111001010101\",\t\"#NUM!\"\t\t//\tToo large\r\n\"101\",\t\t\"5\"\r\n\"10\",\t\t\"2\"\r\n\"0\",\t\t\"0\"\r\n\"21\",\t\t\"#NUM!\"\t\t//\tInvalid binary number\r\nTRUE,\t\t\"#VALUE!\"\t//\tNon string\r\n\"1110010101\",\t\"-107\"\t\t//\t2's Complement\r\n\"1111111111\",\t\"-1\"\t\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BIN2HEX.data",
    "content": "\"10110010\",\t\t\"B2\"\r\n\"111001010101\",\t\t\"#NUM!\"\t\t//\tToo large\r\n\"11111011\",\t4,\t\"00FB\"\t\t//\tLeading places\r\n\"11111011\",\t3.75,\t\"0FB\"\t\t//\tLeading places as a float\r\n\"11111011\",\t-1,\t\"#NUM!\"\t\t//\tLeading places negative\r\n\"11111011\",\t\"ABC\",\t\"#VALUE!\"\t//\tLeading places non-numeric\r\n\"1110\",\t\t\t\"E\"\r\n\"101\",\t\t\t\"5\"\r\n\"10\",\t\t\t\"2\"\r\n\"0\",\t\t\t\"0\"\r\n\"21\",\t\t\t\"#NUM!\"\t\t//\tInvalid binary number\r\nTRUE,\t\t\t\"#VALUE!\"\t//\tNon string\r\n\"1110010101\",\t\t\"FFFFFFFF95\"\t//\t2's Complement\r\n\"1111111111\",\t\t\"FFFFFFFFFF\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/BIN2OCT.data",
    "content": "\"1100100\",\t\t\"144\"\r\n\"10110010\",\t\t\"262\"\r\n\"111001010101\",\t\t\"#NUM!\"\t\t//\tToo large\r\n\"1001\",\t\t3,\t\"011\"\t\t//\tLeading places\r\n\"1001\",\t\t4.75,\t\"0011\"\t\t//\tLeading places as a float\r\n\"1001\",\t\t-1,\t\"#NUM!\"\t\t//\tLeading places negative\r\n\"1001\",\t\t\"ABC\",\t\"#VALUE!\"\t//\tLeading places non-numeric\r\n\"00000010\",\t\t\"2\"\r\n\"00000101\",\t\t\"5\"\r\n\"00001101\",\t\t\"15\"\r\n\"0\",\t\t\t\"0\"\r\n\"21\",\t\t\t\"#NUM!\"\t\t//\tInvalid binary number\r\nTRUE,\t\t\t\"#VALUE!\"\t//\tNon string\r\n\"1110010101\",\t\t\"7777777625\"\t//\t2's Complement\r\n\"1111111111\",\t\t\"7777777777\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/COMPLEX.data",
    "content": "3,\t\t4,\t\t\"3+4i\"\r\n3,\t\t4,\t\"j\",\t\"3+4j\"\r\n12.34,\t\t5.67,\t\"j\",\t\"12.34+5.67j\"\r\n3.5,\t\t\"A\",\t\t\"#VALUE!\"\r\n1.234E-5,\t6.78E9,\t\t\"1.234E-5+6780000000i\"\r\n1.234E5,\t6.78E-9,\t\"123400+6.78E-9i\"\r\n3.5,\t\t2.5,\t\t\"3.5+2.5i\"\r\n3.5,\t\t1,\t\t\"3.5+i\"\r\n3.5,\t\t0,\t\t3.5\r\n3.5,\t\t-1,\t\t\"3.5-i\"\r\n3.5,\t\t-2.5,\t\t\"3.5-2.5i\"\r\n1,\t\t2.5,\t\t\"1+2.5i\"\r\n1,\t\t1,\t\t\"1+i\"\r\n1,\t\t0,\t\t1\r\n1,\t\t-1,\t\t\"1-i\"\r\n1,\t\t-2.5,\t\t\"1-2.5i\"\r\n0,\t\t2.5,\t\t\"2.5i\"\r\n0,\t\t1,\t\t\"i\"\r\n0,\t\t0,\t\t0\r\n0,\t\t-1,\t\t\"-i\"\r\n0,\t\t-2.5,\t\t\"-2.5i\"\r\n-1,\t\t2.5,\t\t\"-1+2.5i\"\r\n-1,\t\t1,\t\t\"-1+i\"\r\n-1,\t\t0,\t\t-1\r\n-1,\t\t-1,\t\t\"-1-i\"\r\n-1,\t\t-2.5,\t\t\"-1-2.5i\"\r\n-3.5,\t\t2.5,\t\t\"-3.5+2.5i\"\r\n-3.5,\t\t1,\t\t\"-3.5+i\"\r\n-3.5,\t\t0,\t\t\"-3.5\"\r\n-3.5,\t\t-1,\t\t\"-3.5-i\"\r\n-3.5,\t\t-2.5,\t\t\"-3.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\t\"-2.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\t\"-2.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\t\"-1.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\t\"-1.5-2.5i\"\r\n-0.5,\t\t-2.5,\t\t\"-0.5-2.5i\"\r\n0,\t\t-2.5,\t\t\"-2.5i\"\r\n0.5,\t\t-2.5,\t\t\"0.5-2.5i\"\r\n1,\t\t-2.5,\t\t\"1-2.5i\"\r\n1.5,\t\t-2.5,\t\t\"1.5-2.5i\"\r\n2,\t\t-2.5,\t\t\"2-2.5i\"\r\n2.5,\t\t-2.5,\t\t\"2.5-2.5i\"\r\n3,\t\t-2.5,\t\t\"3-2.5i\"\r\n3.5,\t\t-2.5,\t\t\"3.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\t\"-2.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\t\"-2.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\t\"-1.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\t\"-1.5-2.5i\"\r\n-0.5,\t\t-2.5,\t\t\"-0.5-2.5i\"\r\n0,\t\t-2.5,\t\t\"-2.5i\"\r\n0.5,\t\t-2.5,\t\t\"0.5-2.5i\"\r\n1,\t\t-2.5,\t\t\"1-2.5i\"\r\n1.5,\t\t-2.5,\t\t\"1.5-2.5i\"\r\n2,\t\t-2.5,\t\t\"2-2.5i\"\r\n2.5,\t\t-2.5,\t\t\"2.5-2.5i\"\r\n3,\t\t-2.5,\t\t\"3-2.5i\"\r\n3.5,\t\t-2.5,\t\t\"3.5-2.5i\"\r\n-2.5,\t\t-1.5,\t\t\"-2.5-1.5i\"\r\n-2.5,\t\t-1.5,\t\t\"-2.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\t\"-1.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\t\"-1.5-1.5i\"\r\n-0.5,\t\t-1.5,\t\t\"-0.5-1.5i\"\r\n0,\t\t-1.5,\t\t\"-1.5i\"\r\n0.5,\t\t-1.5,\t\t\"0.5-1.5i\"\r\n1,\t\t-1.5,\t\t\"1-1.5i\"\r\n1.5,\t\t-1.5,\t\t\"1.5-1.5i\"\r\n2,\t\t-1.5,\t\t\"2-1.5i\"\r\n2.5,\t\t-1.5,\t\t\"2.5-1.5i\"\r\n3,\t\t-1.5,\t\t\"3-1.5i\"\r\n3.5,\t\t-1.5,\t\t\"3.5-1.5i\"\r\n-2.5,\t\t-1.5,\t\t\"-2.5-1.5i\"\r\n-2.5,\t\t-1.5,\t\t\"-2.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\t\"-1.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\t\"-1.5-1.5i\"\r\n-0.5,\t\t-1.5,\t\t\"-0.5-1.5i\"\r\n0,\t\t-1.5,\t\t\"-1.5i\"\r\n0.5,\t\t-1.5,\t\t\"0.5-1.5i\"\r\n1,\t\t-1.5,\t\t\"1-1.5i\"\r\n1.5,\t\t-1.5,\t\t\"1.5-1.5i\"\r\n2,\t\t-1.5,\t\t\"2-1.5i\"\r\n2.5,\t\t-1.5,\t\t\"2.5-1.5i\"\r\n3,\t\t-1.5,\t\t\"3-1.5i\"\r\n3.5,\t\t-1.5,\t\t\"3.5-1.5i\"\r\n-2.5,\t\t-0.5,\t\t\"-2.5-0.5i\"\r\n-2.5,\t\t-0.5,\t\t\"-2.5-0.5i\"\r\n-1.5,\t\t-0.5,\t\t\"-1.5-0.5i\"\r\n-1.5,\t\t-0.5,\t\t\"-1.5-0.5i\"\r\n-0.5,\t\t-0.5,\t\t\"-0.5-0.5i\"\r\n0,\t\t-0.5,\t\t\"-0.5i\"\r\n0.5,\t\t-0.5,\t\t\"0.5-0.5i\"\r\n1,\t\t-0.5,\t\t\"1-0.5i\"\r\n1.5,\t\t-0.5,\t\t\"1.5-0.5i\"\r\n2,\t\t-0.5,\t\t\"2-0.5i\"\r\n2.5,\t\t-0.5,\t\t\"2.5-0.5i\"\r\n3,\t\t-0.5,\t\t\"3-0.5i\"\r\n3.5,\t\t-0.5,\t\t\"3.5-0.5i\"\r\n-2.5,\t\t0,\t\t-2.5\r\n-2.5,\t\t0,\t\t-2.5\r\n-1.5,\t\t0,\t\t-1.5\r\n-1.5,\t\t0,\t\t-1.5\r\n-0.5,\t\t0,\t\t-0.5\r\n0,\t\t0,\t\t0\r\n0.5,\t\t0,\t\t0.5\r\n1,\t\t0,\t\t1\r\n1.5,\t\t0,\t\t1.5\r\n2,\t\t0,\t\t2\r\n2.5,\t\t0,\t\t2.5\r\n3,\t\t0,\t\t3\r\n3.5,\t\t0,\t\t3.5\r\n-2.5,\t\t0.5,\t\t\"-2.5+0.5i\"\r\n-2.5,\t\t0.5,\t\t\"-2.5+0.5i\"\r\n-1.5,\t\t0.5,\t\t\"-1.5+0.5i\"\r\n-1.5,\t\t0.5,\t\t\"-1.5+0.5i\"\r\n-0.5,\t\t0.5,\t\t\"-0.5+0.5i\"\r\n0,\t\t0.5,\t\t\"0.5i\"\r\n0.5,\t\t0.5,\t\t\"0.5+0.5i\"\r\n1,\t\t0.5,\t\t\"1+0.5i\"\r\n1.5,\t\t0.5,\t\t\"1.5+0.5i\"\r\n2,\t\t0.5,\t\t\"2+0.5i\"\r\n2.5,\t\t0.5,\t\t\"2.5+0.5i\"\r\n3,\t\t0.5,\t\t\"3+0.5i\"\r\n3.5,\t\t0.5,\t\t\"3.5+0.5i\"\r\n-2.5,\t\t1,\t\t\"-2.5+i\"\r\n-2.5,\t\t1,\t\t\"-2.5+i\"\r\n-1.5,\t\t1,\t\t\"-1.5+i\"\r\n-1.5,\t\t1,\t\t\"-1.5+i\"\r\n-0.5,\t\t1,\t\t\"-0.5+i\"\r\n0,\t\t1,\t\t\"i\"\r\n0.5,\t\t1,\t\t\"0.5+i\"\r\n1,\t\t1,\t\t\"1+i\"\r\n1.5,\t\t1,\t\t\"1.5+i\"\r\n2,\t\t1,\t\t\"2+i\"\r\n2.5,\t\t1,\t\t\"2.5+i\"\r\n3,\t\t1,\t\t\"3+i\"\r\n3.5,\t\t1,\t\t\"3.5+i\"\r\n-2.5,\t\t1.5,\t\t\"-2.5+1.5i\"\r\n-2.5,\t\t1.5,\t\t\"-2.5+1.5i\"\r\n-1.5,\t\t1.5,\t\t\"-1.5+1.5i\"\r\n-1.5,\t\t1.5,\t\t\"-1.5+1.5i\"\r\n-0.5,\t\t1.5,\t\t\"-0.5+1.5i\"\r\n0,\t\t1.5,\t\t\"1.5i\"\r\n0.5,\t\t1.5,\t\t\"0.5+1.5i\"\r\n1,\t\t1.5,\t\t\"1+1.5i\"\r\n1.5,\t\t1.5,\t\t\"1.5+1.5i\"\r\n2,\t\t1.5,\t\t\"2+1.5i\"\r\n2.5,\t\t1.5,\t\t\"2.5+1.5i\"\r\n3,\t\t1.5,\t\t\"3+1.5i\"\r\n3.5,\t\t1.5,\t\t\"3.5+1.5i\"\r\n-2.5,\t\t2,\t\t\"-2.5+2i\"\r\n-2.5,\t\t2,\t\t\"-2.5+2i\"\r\n-1.5,\t\t2,\t\t\"-1.5+2i\"\r\n-1.5,\t\t2,\t\t\"-1.5+2i\"\r\n-0.5,\t\t2,\t\t\"-0.5+2i\"\r\n0,\t\t2,\t\t\"2i\"\r\n0.5,\t\t2,\t\t\"0.5+2i\"\r\n1,\t\t2,\t\t\"1+2i\"\r\n1.5,\t\t2,\t\t\"1.5+2i\"\r\n2,\t\t2,\t\t\"2+2i\"\r\n2.5,\t\t2,\t\t\"2.5+2i\"\r\n3,\t\t2,\t\t\"3+2i\"\r\n3.5,\t\t2,\t\t\"3.5+2i\"\r\n-2.5,\t\t2.5,\t\t\"-2.5+2.5i\"\r\n-2.5,\t\t2.5,\t\t\"-2.5+2.5i\"\r\n-1.5,\t\t2.5,\t\t\"-1.5+2.5i\"\r\n-1.5,\t\t2.5,\t\t\"-1.5+2.5i\"\r\n-0.5,\t\t2.5,\t\t\"-0.5+2.5i\"\r\n0,\t\t2.5,\t\t\"2.5i\"\r\n0.5,\t\t2.5,\t\t\"0.5+2.5i\"\r\n1,\t\t2.5,\t\t\"1+2.5i\"\r\n1.5,\t\t2.5,\t\t\"1.5+2.5i\"\r\n2,\t\t2.5,\t\t\"2+2.5i\"\r\n2.5,\t\t2.5,\t\t\"2.5+2.5i\"\r\n3,\t\t2.5,\t\t\"3+2.5i\"\r\n3.5,\t\t2.5,\t\t\"3.5+2.5i\"\r\n-2.5,\t\t3,\t\t\"-2.5+3i\"\r\n-2.5,\t\t3,\t\t\"-2.5+3i\"\r\n-1.5,\t\t3,\t\t\"-1.5+3i\"\r\n-1.5,\t\t3,\t\t\"-1.5+3i\"\r\n-0.5,\t\t3,\t\t\"-0.5+3i\"\r\n0,\t\t3,\t\t\"3i\"\r\n0.5,\t\t3,\t\t\"0.5+3i\"\r\n1,\t\t3,\t\t\"1+3i\"\r\n1.5,\t\t3,\t\t\"1.5+3i\"\r\n2,\t\t3,\t\t\"2+3i\"\r\n2.5,\t\t3,\t\t\"2.5+3i\"\r\n3,\t\t3,\t\t\"3+3i\"\r\n3.5,\t\t3,\t\t\"3.5+3i\"\r\n-2.5,\t\t3.5,\t\t\"-2.5+3.5i\"\r\n-2.5,\t\t3.5,\t\t\"-2.5+3.5i\"\r\n-1.5,\t\t3.5,\t\t\"-1.5+3.5i\"\r\n-1.5,\t\t3.5,\t\t\"-1.5+3.5i\"\r\n-0.5,\t\t3.5,\t\t\"-0.5+3.5i\"\r\n0,\t\t3.5,\t\t\"3.5i\"\r\n0.5,\t\t3.5,\t\t\"0.5+3.5i\"\r\n1,\t\t3.5,\t\t\"1+3.5i\"\r\n1.5,\t\t3.5,\t\t\"1.5+3.5i\"\r\n2,\t\t3.5,\t\t\"2+3.5i\"\r\n2.5,\t\t3.5,\t\t\"2.5+3.5i\"\r\n3,\t\t3.5,\t\t\"3+3.5i\"\r\n3.5,\t\t3.5,\t\t\"3.5+3.5i\"\r\n-2.5,\t\t-2.5,\t\"i\",\t\"-2.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\"i\",\t\"-2.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\"i\",\t\"-1.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\"i\",\t\"-1.5-2.5i\"\r\n-0.5,\t\t-2.5,\t\"i\",\t\"-0.5-2.5i\"\r\n0,\t\t-2.5,\t\"i\",\t\"-2.5i\"\r\n0.5,\t\t-2.5,\t\"i\",\t\"0.5-2.5i\"\r\n1,\t\t-2.5,\t\"i\",\t\"1-2.5i\"\r\n1.5,\t\t-2.5,\t\"i\",\t\"1.5-2.5i\"\r\n2,\t\t-2.5,\t\"i\",\t\"2-2.5i\"\r\n2.5,\t\t-2.5,\t\"i\",\t\"2.5-2.5i\"\r\n3,\t\t-2.5,\t\"i\",\t\"3-2.5i\"\r\n3.5,\t\t-2.5,\t\"i\",\t\"3.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\"i\",\t\"-2.5-2.5i\"\r\n-2.5,\t\t-2.5,\t\"i\",\t\"-2.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\"i\",\t\"-1.5-2.5i\"\r\n-1.5,\t\t-2.5,\t\"i\",\t\"-1.5-2.5i\"\r\n-0.5,\t\t-2.5,\t\"i\",\t\"-0.5-2.5i\"\r\n0,\t\t-2.5,\t\"i\",\t\"-2.5i\"\r\n0.5,\t\t-2.5,\t\"i\",\t\"0.5-2.5i\"\r\n1,\t\t-2.5,\t\"i\",\t\"1-2.5i\"\r\n1.5,\t\t-2.5,\t\"i\",\t\"1.5-2.5i\"\r\n2,\t\t-2.5,\t\"i\",\t\"2-2.5i\"\r\n2.5,\t\t-2.5,\t\"i\",\t\"2.5-2.5i\"\r\n3,\t\t-2.5,\t\"i\",\t\"3-2.5i\"\r\n3.5,\t\t-2.5,\t\"i\",\t\"3.5-2.5i\"\r\n-2.5,\t\t-1.5,\t\"i\",\t\"-2.5-1.5i\"\r\n-2.5,\t\t-1.5,\t\"i\",\t\"-2.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\"i\",\t\"-1.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\"i\",\t\"-1.5-1.5i\"\r\n-0.5,\t\t-1.5,\t\"i\",\t\"-0.5-1.5i\"\r\n0,\t\t-1.5,\t\"i\",\t\"-1.5i\"\r\n0.5,\t\t-1.5,\t\"i\",\t\"0.5-1.5i\"\r\n1,\t\t-1.5,\t\"i\",\t\"1-1.5i\"\r\n1.5,\t\t-1.5,\t\"i\",\t\"1.5-1.5i\"\r\n2,\t\t-1.5,\t\"i\",\t\"2-1.5i\"\r\n2.5,\t\t-1.5,\t\"i\",\t\"2.5-1.5i\"\r\n3,\t\t-1.5,\t\"i\",\t\"3-1.5i\"\r\n3.5,\t\t-1.5,\t\"i\",\t\"3.5-1.5i\"\r\n-2.5,\t\t-1.5,\t\"i\",\t\"-2.5-1.5i\"\r\n-2.5,\t\t-1.5,\t\"i\",\t\"-2.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\"i\",\t\"-1.5-1.5i\"\r\n-1.5,\t\t-1.5,\t\"i\",\t\"-1.5-1.5i\"\r\n-0.5,\t\t-1.5,\t\"i\",\t\"-0.5-1.5i\"\r\n0,\t\t-1.5,\t\"i\",\t\"-1.5i\"\r\n0.5,\t\t-1.5,\t\"i\",\t\"0.5-1.5i\"\r\n1,\t\t-1.5,\t\"i\",\t\"1-1.5i\"\r\n1.5,\t\t-1.5,\t\"i\",\t\"1.5-1.5i\"\r\n2,\t\t-1.5,\t\"i\",\t\"2-1.5i\"\r\n2.5,\t\t-1.5,\t\"i\",\t\"2.5-1.5i\"\r\n3,\t\t-1.5,\t\"i\",\t\"3-1.5i\"\r\n3.5,\t\t-1.5,\t\"i\",\t\"3.5-1.5i\"\r\n-2.5,\t\t-0.5,\t\"i\",\t\"-2.5-0.5i\"\r\n-2.5,\t\t-0.5,\t\"i\",\t\"-2.5-0.5i\"\r\n-1.5,\t\t-0.5,\t\"i\",\t\"-1.5-0.5i\"\r\n-1.5,\t\t-0.5,\t\"i\",\t\"-1.5-0.5i\"\r\n-0.5,\t\t-0.5,\t\"i\",\t\"-0.5-0.5i\"\r\n0,\t\t-0.5,\t\"i\",\t\"-0.5i\"\r\n0.5,\t\t-0.5,\t\"i\",\t\"0.5-0.5i\"\r\n1,\t\t-0.5,\t\"i\",\t\"1-0.5i\"\r\n1.5,\t\t-0.5,\t\"i\",\t\"1.5-0.5i\"\r\n2,\t\t-0.5,\t\"i\",\t\"2-0.5i\"\r\n2.5,\t\t-0.5,\t\"i\",\t\"2.5-0.5i\"\r\n3,\t\t-0.5,\t\"i\",\t\"3-0.5i\"\r\n3.5,\t\t-0.5,\t\"i\",\t\"3.5-0.5i\"\r\n-2.5,\t\t0,\t\"i\",\t-2.5\r\n-2.5,\t\t0,\t\"i\",\t-2.5\r\n-1.5,\t\t0,\t\"i\",\t-1.5\r\n-1.5,\t\t0,\t\"i\",\t-1.5\r\n-0.5,\t\t0,\t\"i\",\t-0.5\r\n0,\t\t0,\t\"i\",\t0\r\n0.5,\t\t0,\t\"i\",\t0.5\r\n1,\t\t0,\t\"i\",\t1\r\n1.5,\t\t0,\t\"i\",\t1.5\r\n2,\t\t0,\t\"i\",\t2\r\n2.5,\t\t0,\t\"i\",\t2.5\r\n3,\t\t0,\t\"i\",\t3\r\n3.5,\t\t0,\t\"i\",\t3.5\r\n-2.5,\t\t0.5,\t\"i\",\t\"-2.5+0.5i\"\r\n-2.5,\t\t0.5,\t\"i\",\t\"-2.5+0.5i\"\r\n-1.5,\t\t0.5,\t\"i\",\t\"-1.5+0.5i\"\r\n-1.5,\t\t0.5,\t\"i\",\t\"-1.5+0.5i\"\r\n-0.5,\t\t0.5,\t\"i\",\t\"-0.5+0.5i\"\r\n0,\t\t0.5,\t\"i\",\t\"0.5i\"\r\n0.5,\t\t0.5,\t\"i\",\t\"0.5+0.5i\"\r\n1,\t\t0.5,\t\"i\",\t\"1+0.5i\"\r\n1.5,\t\t0.5,\t\"i\",\t\"1.5+0.5i\"\r\n2,\t\t0.5,\t\"i\",\t\"2+0.5i\"\r\n2.5,\t\t0.5,\t\"i\",\t\"2.5+0.5i\"\r\n3,\t\t0.5,\t\"i\",\t\"3+0.5i\"\r\n3.5,\t\t0.5,\t\"i\",\t\"3.5+0.5i\"\r\n-2.5,\t\t1,\t\"i\",\t\"-2.5+i\"\r\n-2.5,\t\t1,\t\"i\",\t\"-2.5+i\"\r\n-1.5,\t\t1,\t\"i\",\t\"-1.5+i\"\r\n-1.5,\t\t1,\t\"i\",\t\"-1.5+i\"\r\n-0.5,\t\t1,\t\"i\",\t\"-0.5+i\"\r\n0,\t\t1,\t\"i\",\t\"i\"\r\n0.5,\t\t1,\t\"i\",\t\"0.5+i\"\r\n1,\t\t1,\t\"i\",\t\"1+i\"\r\n1.5,\t\t1,\t\"i\",\t\"1.5+i\"\r\n2,\t\t1,\t\"i\",\t\"2+i\"\r\n2.5,\t\t1,\t\"i\",\t\"2.5+i\"\r\n3,\t\t1,\t\"i\",\t\"3+i\"\r\n3.5,\t\t1,\t\"i\",\t\"3.5+i\"\r\n-2.5,\t\t1.5,\t\"i\",\t\"-2.5+1.5i\"\r\n-2.5,\t\t1.5,\t\"i\",\t\"-2.5+1.5i\"\r\n-1.5,\t\t1.5,\t\"i\",\t\"-1.5+1.5i\"\r\n-1.5,\t\t1.5,\t\"i\",\t\"-1.5+1.5i\"\r\n-0.5,\t\t1.5,\t\"i\",\t\"-0.5+1.5i\"\r\n0,\t\t1.5,\t\"i\",\t\"1.5i\"\r\n0.5,\t\t1.5,\t\"i\",\t\"0.5+1.5i\"\r\n1,\t\t1.5,\t\"i\",\t\"1+1.5i\"\r\n1.5,\t\t1.5,\t\"i\",\t\"1.5+1.5i\"\r\n2,\t\t1.5,\t\"i\",\t\"2+1.5i\"\r\n2.5,\t\t1.5,\t\"i\",\t\"2.5+1.5i\"\r\n3,\t\t1.5,\t\"i\",\t\"3+1.5i\"\r\n3.5,\t\t1.5,\t\"i\",\t\"3.5+1.5i\"\r\n-2.5,\t\t2,\t\"i\",\t\"-2.5+2i\"\r\n-2.5,\t\t2,\t\"i\",\t\"-2.5+2i\"\r\n-1.5,\t\t2,\t\"i\",\t\"-1.5+2i\"\r\n-1.5,\t\t2,\t\"i\",\t\"-1.5+2i\"\r\n-0.5,\t\t2,\t\"i\",\t\"-0.5+2i\"\r\n0,\t\t2,\t\"i\",\t\"2i\"\r\n0.5,\t\t2,\t\"i\",\t\"0.5+2i\"\r\n1,\t\t2,\t\"i\",\t\"1+2i\"\r\n1.5,\t\t2,\t\"i\",\t\"1.5+2i\"\r\n2,\t\t2,\t\"i\",\t\"2+2i\"\r\n2.5,\t\t2,\t\"i\",\t\"2.5+2i\"\r\n3,\t\t2,\t\"i\",\t\"3+2i\"\r\n3.5,\t\t2,\t\"i\",\t\"3.5+2i\"\r\n-2.5,\t\t2.5,\t\"i\",\t\"-2.5+2.5i\"\r\n-2.5,\t\t2.5,\t\"i\",\t\"-2.5+2.5i\"\r\n-1.5,\t\t2.5,\t\"i\",\t\"-1.5+2.5i\"\r\n-1.5,\t\t2.5,\t\"i\",\t\"-1.5+2.5i\"\r\n-0.5,\t\t2.5,\t\"i\",\t\"-0.5+2.5i\"\r\n0,\t\t2.5,\t\"i\",\t\"2.5i\"\r\n0.5,\t\t2.5,\t\"i\",\t\"0.5+2.5i\"\r\n1,\t\t2.5,\t\"i\",\t\"1+2.5i\"\r\n1.5,\t\t2.5,\t\"i\",\t\"1.5+2.5i\"\r\n2,\t\t2.5,\t\"i\",\t\"2+2.5i\"\r\n2.5,\t\t2.5,\t\"i\",\t\"2.5+2.5i\"\r\n3,\t\t2.5,\t\"i\",\t\"3+2.5i\"\r\n3.5,\t\t2.5,\t\"i\",\t\"3.5+2.5i\"\r\n-2.5,\t\t3,\t\"i\",\t\"-2.5+3i\"\r\n-2.5,\t\t3,\t\"i\",\t\"-2.5+3i\"\r\n-1.5,\t\t3,\t\"i\",\t\"-1.5+3i\"\r\n-1.5,\t\t3,\t\"i\",\t\"-1.5+3i\"\r\n-0.5,\t\t3,\t\"i\",\t\"-0.5+3i\"\r\n0,\t\t3,\t\"i\",\t\"3i\"\r\n0.5,\t\t3,\t\"i\",\t\"0.5+3i\"\r\n1,\t\t3,\t\"i\",\t\"1+3i\"\r\n1.5,\t\t3,\t\"i\",\t\"1.5+3i\"\r\n2,\t\t3,\t\"i\",\t\"2+3i\"\r\n2.5,\t\t3,\t\"i\",\t\"2.5+3i\"\r\n3,\t\t3,\t\"i\",\t\"3+3i\"\r\n3.5,\t\t3,\t\"i\",\t\"3.5+3i\"\r\n-2.5,\t\t3.5,\t\"i\",\t\"-2.5+3.5i\"\r\n-2.5,\t\t3.5,\t\"i\",\t\"-2.5+3.5i\"\r\n-1.5,\t\t3.5,\t\"i\",\t\"-1.5+3.5i\"\r\n-1.5,\t\t3.5,\t\"i\",\t\"-1.5+3.5i\"\r\n-0.5,\t\t3.5,\t\"i\",\t\"-0.5+3.5i\"\r\n0,\t\t3.5,\t\"i\",\t\"3.5i\"\r\n0.5,\t\t3.5,\t\"i\",\t\"0.5+3.5i\"\r\n1,\t\t3.5,\t\"i\",\t\"1+3.5i\"\r\n1.5,\t\t3.5,\t\"i\",\t\"1.5+3.5i\"\r\n2,\t\t3.5,\t\"i\",\t\"2+3.5i\"\r\n2.5,\t\t3.5,\t\"i\",\t\"2.5+3.5i\"\r\n3,\t\t3.5,\t\"i\",\t\"3+3.5i\"\r\n3.5,\t\t3.5,\t\"i\",\t\"3.5+3.5i\"\r\n-2.5,\t\t-2.5,\t\"j\",\t\"-2.5-2.5j\"\r\n-2.5,\t\t-2.5,\t\"j\",\t\"-2.5-2.5j\"\r\n-1.5,\t\t-2.5,\t\"j\",\t\"-1.5-2.5j\"\r\n-1.5,\t\t-2.5,\t\"j\",\t\"-1.5-2.5j\"\r\n-0.5,\t\t-2.5,\t\"j\",\t\"-0.5-2.5j\"\r\n0,\t\t-2.5,\t\"j\",\t\"-2.5j\"\r\n0.5,\t\t-2.5,\t\"j\",\t\"0.5-2.5j\"\r\n1,\t\t-2.5,\t\"j\",\t\"1-2.5j\"\r\n1.5,\t\t-2.5,\t\"j\",\t\"1.5-2.5j\"\r\n2,\t\t-2.5,\t\"j\",\t\"2-2.5j\"\r\n2.5,\t\t-2.5,\t\"j\",\t\"2.5-2.5j\"\r\n3,\t\t-2.5,\t\"j\",\t\"3-2.5j\"\r\n3.5,\t\t-2.5,\t\"j\",\t\"3.5-2.5j\"\r\n-2.5,\t\t-2.5,\t\"j\",\t\"-2.5-2.5j\"\r\n-2.5,\t\t-2.5,\t\"j\",\t\"-2.5-2.5j\"\r\n-1.5,\t\t-2.5,\t\"j\",\t\"-1.5-2.5j\"\r\n-1.5,\t\t-2.5,\t\"j\",\t\"-1.5-2.5j\"\r\n-0.5,\t\t-2.5,\t\"j\",\t\"-0.5-2.5j\"\r\n0,\t\t-2.5,\t\"j\",\t\"-2.5j\"\r\n0.5,\t\t-2.5,\t\"j\",\t\"0.5-2.5j\"\r\n1,\t\t-2.5,\t\"j\",\t\"1-2.5j\"\r\n1.5,\t\t-2.5,\t\"j\",\t\"1.5-2.5j\"\r\n2,\t\t-2.5,\t\"j\",\t\"2-2.5j\"\r\n2.5,\t\t-2.5,\t\"j\",\t\"2.5-2.5j\"\r\n3,\t\t-2.5,\t\"j\",\t\"3-2.5j\"\r\n3.5,\t\t-2.5,\t\"j\",\t\"3.5-2.5j\"\r\n-2.5,\t\t-1.5,\t\"j\",\t\"-2.5-1.5j\"\r\n-2.5,\t\t-1.5,\t\"j\",\t\"-2.5-1.5j\"\r\n-1.5,\t\t-1.5,\t\"j\",\t\"-1.5-1.5j\"\r\n-1.5,\t\t-1.5,\t\"j\",\t\"-1.5-1.5j\"\r\n-0.5,\t\t-1.5,\t\"j\",\t\"-0.5-1.5j\"\r\n0,\t\t-1.5,\t\"j\",\t\"-1.5j\"\r\n0.5,\t\t-1.5,\t\"j\",\t\"0.5-1.5j\"\r\n1,\t\t-1.5,\t\"j\",\t\"1-1.5j\"\r\n1.5,\t\t-1.5,\t\"j\",\t\"1.5-1.5j\"\r\n2,\t\t-1.5,\t\"j\",\t\"2-1.5j\"\r\n2.5,\t\t-1.5,\t\"j\",\t\"2.5-1.5j\"\r\n3,\t\t-1.5,\t\"j\",\t\"3-1.5j\"\r\n3.5,\t\t-1.5,\t\"j\",\t\"3.5-1.5j\"\r\n-2.5,\t\t-1.5,\t\"j\",\t\"-2.5-1.5j\"\r\n-2.5,\t\t-1.5,\t\"j\",\t\"-2.5-1.5j\"\r\n-1.5,\t\t-1.5,\t\"j\",\t\"-1.5-1.5j\"\r\n-1.5,\t\t-1.5,\t\"j\",\t\"-1.5-1.5j\"\r\n-0.5,\t\t-1.5,\t\"j\",\t\"-0.5-1.5j\"\r\n0,\t\t-1.5,\t\"j\",\t\"-1.5j\"\r\n0.5,\t\t-1.5,\t\"j\",\t\"0.5-1.5j\"\r\n1,\t\t-1.5,\t\"j\",\t\"1-1.5j\"\r\n1.5,\t\t-1.5,\t\"j\",\t\"1.5-1.5j\"\r\n2,\t\t-1.5,\t\"j\",\t\"2-1.5j\"\r\n2.5,\t\t-1.5,\t\"j\",\t\"2.5-1.5j\"\r\n3,\t\t-1.5,\t\"j\",\t\"3-1.5j\"\r\n3.5,\t\t-1.5,\t\"j\",\t\"3.5-1.5j\"\r\n-2.5,\t\t-0.5,\t\"j\",\t\"-2.5-0.5j\"\r\n-2.5,\t\t-0.5,\t\"j\",\t\"-2.5-0.5j\"\r\n-1.5,\t\t-0.5,\t\"j\",\t\"-1.5-0.5j\"\r\n-1.5,\t\t-0.5,\t\"j\",\t\"-1.5-0.5j\"\r\n-0.5,\t\t-0.5,\t\"j\",\t\"-0.5-0.5j\"\r\n0,\t\t-0.5,\t\"j\",\t\"-0.5j\"\r\n0.5,\t\t-0.5,\t\"j\",\t\"0.5-0.5j\"\r\n1,\t\t-0.5,\t\"j\",\t\"1-0.5j\"\r\n1.5,\t\t-0.5,\t\"j\",\t\"1.5-0.5j\"\r\n2,\t\t-0.5,\t\"j\",\t\"2-0.5j\"\r\n2.5,\t\t-0.5,\t\"j\",\t\"2.5-0.5j\"\r\n3,\t\t-0.5,\t\"j\",\t\"3-0.5j\"\r\n3.5,\t\t-0.5,\t\"j\",\t\"3.5-0.5j\"\r\n-2.5,\t\t0,\t\"j\",\t-2.5\r\n-2.5,\t\t0,\t\"j\",\t-2.5\r\n-1.5,\t\t0,\t\"j\",\t-1.5\r\n-1.5,\t\t0,\t\"j\",\t-1.5\r\n-0.5,\t\t0,\t\"j\",\t-0.5\r\n0,\t\t0,\t\"j\",\t0\r\n0.5,\t\t0,\t\"j\",\t0.5\r\n1,\t\t0,\t\"j\",\t1\r\n1.5,\t\t0,\t\"j\",\t1.5\r\n2,\t\t0,\t\"j\",\t2\r\n2.5,\t\t0,\t\"j\",\t2.5\r\n3,\t\t0,\t\"j\",\t3\r\n3.5,\t\t0,\t\"j\",\t3.5\r\n-2.5,\t\t0.5,\t\"j\",\t\"-2.5+0.5j\"\r\n-2.5,\t\t0.5,\t\"j\",\t\"-2.5+0.5j\"\r\n-1.5,\t\t0.5,\t\"j\",\t\"-1.5+0.5j\"\r\n-1.5,\t\t0.5,\t\"j\",\t\"-1.5+0.5j\"\r\n-0.5,\t\t0.5,\t\"j\",\t\"-0.5+0.5j\"\r\n0,\t\t0.5,\t\"j\",\t\"0.5j\"\r\n0.5,\t\t0.5,\t\"j\",\t\"0.5+0.5j\"\r\n1,\t\t0.5,\t\"j\",\t\"1+0.5j\"\r\n1.5,\t\t0.5,\t\"j\",\t\"1.5+0.5j\"\r\n2,\t\t0.5,\t\"j\",\t\"2+0.5j\"\r\n2.5,\t\t0.5,\t\"j\",\t\"2.5+0.5j\"\r\n3,\t\t0.5,\t\"j\",\t\"3+0.5j\"\r\n3.5,\t\t0.5,\t\"j\",\t\"3.5+0.5j\"\r\n-2.5,\t\t1,\t\"j\",\t\"-2.5+j\"\r\n-2.5,\t\t1,\t\"j\",\t\"-2.5+j\"\r\n-1.5,\t\t1,\t\"j\",\t\"-1.5+j\"\r\n-1.5,\t\t1,\t\"j\",\t\"-1.5+j\"\r\n-0.5,\t\t1,\t\"j\",\t\"-0.5+j\"\r\n0,\t\t1,\t\"j\",\t\"j\"\r\n0.5,\t\t1,\t\"j\",\t\"0.5+j\"\r\n1,\t\t1,\t\"j\",\t\"1+j\"\r\n1.5,\t\t1,\t\"j\",\t\"1.5+j\"\r\n2,\t\t1,\t\"j\",\t\"2+j\"\r\n2.5,\t\t1,\t\"j\",\t\"2.5+j\"\r\n3,\t\t1,\t\"j\",\t\"3+j\"\r\n3.5,\t\t1,\t\"j\",\t\"3.5+j\"\r\n-2.5,\t\t1.5,\t\"j\",\t\"-2.5+1.5j\"\r\n-2.5,\t\t1.5,\t\"j\",\t\"-2.5+1.5j\"\r\n-1.5,\t\t1.5,\t\"j\",\t\"-1.5+1.5j\"\r\n-1.5,\t\t1.5,\t\"j\",\t\"-1.5+1.5j\"\r\n-0.5,\t\t1.5,\t\"j\",\t\"-0.5+1.5j\"\r\n0,\t\t1.5,\t\"j\",\t\"1.5j\"\r\n0.5,\t\t1.5,\t\"j\",\t\"0.5+1.5j\"\r\n1,\t\t1.5,\t\"j\",\t\"1+1.5j\"\r\n1.5,\t\t1.5,\t\"j\",\t\"1.5+1.5j\"\r\n2,\t\t1.5,\t\"j\",\t\"2+1.5j\"\r\n2.5,\t\t1.5,\t\"j\",\t\"2.5+1.5j\"\r\n3,\t\t1.5,\t\"j\",\t\"3+1.5j\"\r\n3.5,\t\t1.5,\t\"j\",\t\"3.5+1.5j\"\r\n-2.5,\t\t2,\t\"j\",\t\"-2.5+2j\"\r\n-2.5,\t\t2,\t\"j\",\t\"-2.5+2j\"\r\n-1.5,\t\t2,\t\"j\",\t\"-1.5+2j\"\r\n-1.5,\t\t2,\t\"j\",\t\"-1.5+2j\"\r\n-0.5,\t\t2,\t\"j\",\t\"-0.5+2j\"\r\n0,\t\t2,\t\"j\",\t\"2j\"\r\n0.5,\t\t2,\t\"j\",\t\"0.5+2j\"\r\n1,\t\t2,\t\"j\",\t\"1+2j\"\r\n1.5,\t\t2,\t\"j\",\t\"1.5+2j\"\r\n2,\t\t2,\t\"j\",\t\"2+2j\"\r\n2.5,\t\t2,\t\"j\",\t\"2.5+2j\"\r\n3,\t\t2,\t\"j\",\t\"3+2j\"\r\n3.5,\t\t2,\t\"j\",\t\"3.5+2j\"\r\n-2.5,\t\t2.5,\t\"j\",\t\"-2.5+2.5j\"\r\n-2.5,\t\t2.5,\t\"j\",\t\"-2.5+2.5j\"\r\n-1.5,\t\t2.5,\t\"j\",\t\"-1.5+2.5j\"\r\n-1.5,\t\t2.5,\t\"j\",\t\"-1.5+2.5j\"\r\n-0.5,\t\t2.5,\t\"j\",\t\"-0.5+2.5j\"\r\n0,\t\t2.5,\t\"j\",\t\"2.5j\"\r\n0.5,\t\t2.5,\t\"j\",\t\"0.5+2.5j\"\r\n1,\t\t2.5,\t\"j\",\t\"1+2.5j\"\r\n1.5,\t\t2.5,\t\"j\",\t\"1.5+2.5j\"\r\n2,\t\t2.5,\t\"j\",\t\"2+2.5j\"\r\n2.5,\t\t2.5,\t\"j\",\t\"2.5+2.5j\"\r\n3,\t\t2.5,\t\"j\",\t\"3+2.5j\"\r\n3.5,\t\t2.5,\t\"j\",\t\"3.5+2.5j\"\r\n-2.5,\t\t3,\t\"j\",\t\"-2.5+3j\"\r\n-2.5,\t\t3,\t\"j\",\t\"-2.5+3j\"\r\n-1.5,\t\t3,\t\"j\",\t\"-1.5+3j\"\r\n-1.5,\t\t3,\t\"j\",\t\"-1.5+3j\"\r\n-0.5,\t\t3,\t\"j\",\t\"-0.5+3j\"\r\n0,\t\t3,\t\"j\",\t\"3j\"\r\n0.5,\t\t3,\t\"j\",\t\"0.5+3j\"\r\n1,\t\t3,\t\"j\",\t\"1+3j\"\r\n1.5,\t\t3,\t\"j\",\t\"1.5+3j\"\r\n2,\t\t3,\t\"j\",\t\"2+3j\"\r\n2.5,\t\t3,\t\"j\",\t\"2.5+3j\"\r\n3,\t\t3,\t\"j\",\t\"3+3j\"\r\n3.5,\t\t3,\t\"j\",\t\"3.5+3j\"\r\n-2.5,\t\t3.5,\t\"j\",\t\"-2.5+3.5j\"\r\n-2.5,\t\t3.5,\t\"j\",\t\"-2.5+3.5j\"\r\n-1.5,\t\t3.5,\t\"j\",\t\"-1.5+3.5j\"\r\n-1.5,\t\t3.5,\t\"j\",\t\"-1.5+3.5j\"\r\n-0.5,\t\t3.5,\t\"j\",\t\"-0.5+3.5j\"\r\n0,\t\t3.5,\t\"j\",\t\"3.5j\"\r\n0.5,\t\t3.5,\t\"j\",\t\"0.5+3.5j\"\r\n1,\t\t3.5,\t\"j\",\t\"1+3.5j\"\r\n1.5,\t\t3.5,\t\"j\",\t\"1.5+3.5j\"\r\n2,\t\t3.5,\t\"j\",\t\"2+3.5j\"\r\n2.5,\t\t3.5,\t\"j\",\t\"2.5+3.5j\"\r\n3,\t\t3.5,\t\"j\",\t\"3+3.5j\"\r\n3.5,\t\t3.5,\t\"j\",\t\"3.5+3.5j\"\r\n-1.23,\t\t-4.56,\t\t\"-1.23-4.56i\"\r\n0,\t\t-3.21,\t\"i\",\t\"-3.21i\"\r\n1.23,\t\t-2.34,\t\"j\",\t\"1.23-2.34j\"\r\n-1.23,\t\t0,\t\t-1.23\r\n0,\t\t0,\t\"i\",\t0\r\n1.23,\t\t0,\t\"j\",\t1.23\r\n-1.23,\t\t4.56,\t\t\"-1.23+4.56i\"\r\n0,\t\t3.21,\t\"i\",\t\"3.21i\"\r\n1.23,\t\t2.34,\t\"j\",\t\"1.23+2.34j\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/CONVERTUOM.data",
    "content": "1.0,\t\"lbm\",\t\"kg\",\t0.45359230974881\r\n123.45,\t\"kg\",\t\"kg\",\t123.45\r\n68,\t\"F\",\t\"C\",\t20\r\n20,\t\"C\",\t\"F\",\t68\r\n68,\t\"F\",\t\"K\",\t293.15\r\n293.15,\t\"K\",\t\"F\",\t68\r\n22,\t\"C\",\t\"K\",\t295.15\r\n295.65,\t\"K\",\t\"C\",\t22.5\r\n2.5,\t\"ft\",\t\"sec\",\t\"#N/A\"\r\n12345,\t\"m\",\t\"km\",\t12.345\r\n12.345,\t\"km\",\t\"m\",\t12345\r\n1,\t\"km\",\t\"mi\",\t0.62137119223733\r\n\"three\",\"ft\",\t\"yds\",\t\"#VALUE!\"\r\n123.45,\t\"K\",\t\"kel\",\t123.45\r\n123.45,\t\"C\",\t\"cel\",\t123.45\r\n123.45,\t\"F\",\t\"fah\",\t123.45\r\n1,\t\"ft\",\t\"day\",\t\"#N/A\"\r\n123.45,\t\"m\",\t\"m\",\t123.45\r\n234.56,\t\"km\",\t\"km\",\t234.56\r\n234.56,\t\"kpt\",\t\"lt\",\t\"#N/A\"\r\n234.56,\t\"sm\",\t\"m\",\t\"#N/A\"\r\n234.56,\t\"lt\",\t\"kpt\",\t\"#N/A\"\r\n234.56,\t\"m\",\t\"sm\",\t\"#N/A\"\r\n12.345,\t\"km\",\t\"mm\",\t12345000\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/DEC2BIN.data",
    "content": "357,\t\t\t\"101100101\"\r\n1357,\t\t\t\"#NUM!\"\t\t//\tToo large\r\n9,\t\t4,\t\"1001\"\r\n9,\t\t8,\t\"00001001\"\r\n9,\t\t6.75,\t\"001001\"\t//\tLeading places as a float\r\n9,\t\t-1,\t\"#NUM!\"\t\t//\tLeading places negative\r\n9,\t\t\"ABC\",\t\"#VALUE!\"\t//\tLeading places non-numeric\r\n246,\t\t\t\"11110110\"\r\n12345,\t\t\t\"#NUM!\"\r\n123456789,\t\t\"#NUM!\"\r\n123.45,\t\t\t\"1111011\"\r\n0,\t\t\t\"0\"\r\n\"3579A\",\t\t\"#VALUE!\"\t//\tInvalid decimal\r\nTRUE,\t\t\t\"#VALUE!\"\t//\tNon string\r\n-100,\t\t\t\"1110011100\"\t//\t2's Complement\r\n-107,\t\t\t\"1110010101\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/DEC2HEX.data",
    "content": "\"357\",\t\t\t\"165\"\r\n\"1357\",\t\t\t\"54D\"\r\n\"246\",\t\t\t\"F6\"\r\n\"12345\",\t\t\"3039\"\r\n\"123456789\",\t\t\"75BCD15\"\r\n\"100\",\t\t4,\t\"0064\"\r\n\"100\",\t\t5.75,\t\"00064\"\t\t//\tLeading places as a float\r\n\"100\",\t\t-1,\t\"#NUM!\"\t\t//\tLeading places negative\r\n\"100\",\t\t\"ABC\",\t\"#VALUE!\"\t//\tLeading places non-numeric\r\n\"123.45\",\t\t\"7B\"\r\n\"0\",\t\t\t\"0\"\r\n\"3579A\",\t\t\"#VALUE!\"\t//\tInvalid decimal\r\nTRUE,\t\t\t\"#VALUE!\"\t//\tNon string\r\n\"-54\",\t\t\t\"FFFFFFFFCA\"\t//\t2's Complement\r\n\"-107\",\t\t\t\"FFFFFFFF95\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/DEC2OCT.data",
    "content": "\"357\",\t\t\t\"545\"\r\n\"1357\",\t\t\t\"2515\"\r\n\"246\",\t\t\t\"366\"\r\n\"12345\",\t\t\"30071\"\r\n\"123456789\",\t\t\"726746425\"\r\n\"123.45\",\t\t\"173\"\r\n\"58,\t\t3,\t\"072\"\r\n\"0\",\t\t\t\"0\"\r\n\"3579A\",\t\t\"#VALUE!\"\t//\tInvalid decimal\r\nTRUE,\t\t\t\"#VALUE!\"\t//\tNon string\r\n\"-100\",\t\t\t\"7777777634\"\t//\t2's Complement\r\n\"-107\",\t\t\t\"7777777625\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/DELTA.data",
    "content": "-1.5,\t-1.5,\t1\r\n-0.75,\t-1.5,\t0\r\n0,\t-1.5,\t0\r\n0.75,\t-1.5,\t0\r\n1.5,\t-1.5,\t0\r\n-1.5,\t-0.75,\t0\r\n-0.75,\t-0.75,\t1\r\n0,\t-0.75,\t0\r\n0.75,\t-0.75,\t0\r\n1.5,\t-0.75,\t0\r\n-1.5,\t0,\t0\r\n-0.75,\t0,\t0\r\n0,\t0,\t1\r\n0.75,\t0,\t0\r\n1.5,\t0,\t0\r\n-1.5,\t0.75,\t0\r\n-0.75,\t0.75,\t0\r\n0,\t0.75,\t0\r\n0.75,\t0.75,\t1\r\n1.5,\t0.75,\t0\r\n-1.5,\t1.5,\t0\r\n-0.75,\t1.5,\t0\r\n0,\t1.5,\t0\r\n0.75,\t1.5,\t0\r\n1.5,\t1.5,\t1\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/ERF.data",
    "content": "# lower\tbound\tupper bound\tResult\r\n0,\t\t\t\t0.0\r\n0.01,\t\t\t\t0.0112834155558496\r\n0.05,\t\t\t\t0.0563719777970166\r\n0.1,\t\t\t\t0.1124629160182850\r\n0.125,\t\t\t\t0.1403162048013340\r\n0.15,\t\t\t\t0.1679959714273630\r\n0.2,\t\t\t\t0.2227025892104780\r\n0.25,\t\t\t\t0.2763263901682370\r\n0.3,\t\t\t\t0.3286267594591270\r\n0.35,\t\t\t\t0.3793820535623100\r\n0.4,\t\t\t\t0.4283923550466680\r\n0.45,\t\t\t\t0.4754817197869240\r\n0.5,\t\t\t\t0.5204998778130470\r\n0.6,\t\t\t\t0.6038560908479260\r\n0.7,\t\t\t\t0.6778011938374180\r\n0.8,\t\t\t\t0.7421009647076610\r\n0.9,\t\t\t\t0.7969082124228320\r\n1,\t\t\t\t0.8427007929497150\r\n1.1,\t\t\t\t0.8802050695740820\r\n1.2,\t\t\t\t0.9103139782296350\r\n1.3,\t\t\t\t0.9340079449406520\r\n1.4,\t\t\t\t0.9522851197626490\r\n1.5,\t\t\t\t0.9661051464753110\r\n1.75,\t\t\t\t0.9866716712191820\r\n2,\t\t\t\t0.9953222650189530\r\n2.5,\t\t\t\t0.9995930479825550\r\n3,\t\t\t\t0.9999779095030010\r\n3.5,\t\t\t\t0.9999992569016280\r\n4,\t\t\t\t0.9999999845827420\r\n4.5,\t\t\t\t0.9999999998033840\r\n5,\t\t\t\t0.9999999999984630\r\n5.5,\t\t\t\t0.9999999999999930\r\n6,\t\t\t\t1.0\r\n32,\t\t\t\t1.0\r\n-0.1,\t\t\t\t-0.1124629160182850\r\n-1,\t\t\t\t-0.8427007929497150\r\nTRUE,\t\t\t\t\"#VALUE!\"\r\nFALSE,\t\t\t\t\"#VALUE!\"\r\n\"2\",\t\t\t\t0.9953222650189530\r\n\"TWO\",\t\t\t\t\"#VALUE!\"\r\n-1.5,\t\t-1.5,\t\t0.0\r\n-0.75,\t\t-1.5,\t\t-0.2549495128217960\r\n0,\t\t-1.5,\t\t-0.9661051464753110\r\n0.75,\t\t-1.5,\t\t-1.6772607801288300\r\n1.5,\t\t-1.5,\t\t-1.9322102929506200\r\n2.25,\t\t-1.5,\t\t-1.9646424298886300\r\n3,\t\t-1.5,\t\t-1.9660830559783100\r\n3.75,\t\t-1.5,\t\t-1.9661050327480500\r\n4.5,\t\t-1.5,\t\t-1.9661051462786900\r\n-1.5,\t\t-0.75,\t\t0.2549495128217960\r\n-0.75,\t\t-0.75,\t\t0.0\r\n0,\t\t-0.75,\t\t-0.7111556336535150\r\n0.75,\t\t-0.75,\t\t-1.4223112673070300\r\n1.5,\t\t-0.75,\t\t-1.6772607801288300\r\n2.25,\t\t-0.75,\t\t-1.7096929170668300\r\n3,\t\t-0.75,\t\t-1.7111335431565200\r\n3.75,\t\t-0.75,\t\t-1.7111555199262600\r\n4.5,\t\t-0.75,\t\t-1.7111556334569000\r\n-1.5,\t\t0,\t\t0.9661051464753110\r\n-0.75,\t\t0,\t\t0.7111556336535150\r\n0,\t\t0,\t\t0.0\r\n0.75,\t\t0,\t\t-0.7111556336535150\r\n1.5,\t\t0,\t\t-0.9661051464753110\r\n2.25,\t\t0,\t\t-0.9985372834133190\r\n3,\t\t0,\t\t-0.9999779095030010\r\n3.75,\t\t0,\t\t-0.9999998862727430\r\n4.5,\t\t0,\t\t-0.9999999998033840\r\n-1.5,\t\t0.75,\t\t1.6772607801288300\r\n-0.75,\t\t0.75,\t\t1.4223112673070300\r\n0,\t\t0.75,\t\t0.7111556336535150\r\n0.75,\t\t0.75,\t\t0.0\r\n1.5,\t\t0.75,\t\t-0.2549495128217960\r\n2.25,\t\t0.75,\t\t-0.2873816497598040\r\n3,\t\t0.75,\t\t-0.2888222758494860\r\n3.75,\t\t0.75,\t\t-0.2888442526192280\r\n4.5,\t\t0.75,\t\t-0.2888443661498690\r\n-1.5,\t\t1.5,\t\t1.9322102929506200\r\n-0.75,\t\t1.5,\t\t1.6772607801288300\r\n0,\t\t1.5,\t\t0.9661051464753110\r\n0.75,\t\t1.5,\t\t0.2549495128217960\r\n1.5,\t\t1.5,\t\t0.0\r\n2.25,\t\t1.5,\t\t-0.0324321369380081\r\n3,\t\t1.5,\t\t-0.0338727630276906\r\n3.75,\t\t1.5,\t\t-0.0338947397974326\r\n4.5,\t\t1.5,\t\t-0.0338948533280732\r\n-1.5,\t\t2.25,\t\t1.9646424298886300\r\n-0.75,\t\t2.25,\t\t1.7096929170668300\r\n0,\t\t2.25,\t\t0.9985372834133190\r\n0.75,\t\t2.25,\t\t0.2873816497598040\r\n1.5,\t\t2.25,\t\t0.0324321369380081\r\n2.25,\t\t2.25,\t\t0.0\r\n3,\t\t2.25,\t\t-0.0014406260896825\r\n3.75,\t\t2.25,\t\t-0.0014626028594246\r\n4.5,\t\t2.25,\t\t-0.0014627163900651\r\n-1.5,\t\t3,\t\t1.9660830559783100\r\n-0.75,\t\t3,\t\t1.7111335431565200\r\n0,\t\t3,\t\t0.9999779095030010\r\n0.75,\t\t3,\t\t0.2888222758494860\r\n1.5,\t\t3,\t\t0.0338727630276906\r\n2.25,\t\t3,\t\t0.0014406260896825\r\n3,\t\t3,\t\t0.0\r\n3.75,\t\t3,\t\t-0.0000219767697420\r\n4.5,\t\t3,\t\t-0.0000220903003826\r\n-1.5,\t\t3.75,\t\t1.9661050327480500\r\n-0.75,\t\t3.75,\t\t1.7111555199262600\r\n0,\t\t3.75,\t\t0.9999998862727430\r\n0.75,\t\t3.75,\t\t0.2888442526192280\r\n1.5,\t\t3.75,\t\t0.0338947397974326\r\n2.25,\t\t3.75,\t\t0.0014626028594246\r\n3,\t\t3.75,\t\t0.0000219767697420\r\n3.75,\t\t3.75,\t\t0.0\r\n4.5,\t\t3.75,\t\t-0.0000001135306406\r\n-1.5,\t\t4.5,\t\t1.9661051462786900\r\n-0.75,\t\t4.5,\t\t1.7111556334569000\r\n0,\t\t4.5,\t\t0.9999999998033840\r\n0.75,\t\t4.5,\t\t0.2888443661498690\r\n1.5,\t\t4.5,\t\t0.0338948533280732\r\n2.25,\t\t4.5,\t\t0.0014627163900651\r\n3,\t\t4.5,\t\t0.0000220903003826\r\n3.75,\t\t4.5,\t\t0.0000001135306406\r\n4.5,\t\t4.5,\t\t0.0\r\n5,\t\t-1,\t\t-1.8427007929481800\r\n-5,\t\t1,\t\t1.8427007929481800\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/ERFC.data",
    "content": "# x value\tResult\r\n0,\t\t1.0\r\n0.01,\t\t0.9887165844441500\r\n0.05,\t\t0.9436280222029830\r\n0.1,\t\t0.8875370839817150\r\n0.125,\t\t0.8596837951986660\r\n0.15,\t\t0.8320040285726360\r\n0.2,\t\t0.7772974107895220\r\n0.25,\t\t0.7236736098317630\r\n0.3,\t\t0.6713732405408730\r\n0.35,\t\t0.6206179464376900\r\n0.4,\t\t0.5716076449533320\r\n0.45,\t\t0.5245182802130760\r\n0.5,\t\t0.4795001221869530\r\n0.6,\t\t0.3961439091520740\r\n0.7,\t\t0.3221988061625820\r\n0.8,\t\t0.2578990352923390\r\n0.9,\t\t0.2030917875771680\r\n1,\t\t0.1572992070502850\r\n1.1,\t\t0.1197949304259180\r\n1.2,\t\t0.0896860217703646\r\n1.3,\t\t0.0659920550593475\r\n1.4,\t\t0.0477148802373512\r\n1.5,\t\t0.0338948535246893\r\n1.75,\t\t0.0133283287808176\r\n2,\t\t0.0046777349810473\r\n2.5,\t\t0.0004069520174450\r\n3,\t\t0.0000220904969986\r\n3.5,\t\t0.0000007430983723\r\n4,\t\t0.0000000154172579\r\n4.5,\t\t0.0000000001966160\r\n5,\t\t0.0000000000015375\r\n5.5,\t\t0.0000000000000074\r\n6,\t\t0.0\r\n32,\t\t0.0\r\n-0.1,\t\t1.1124629160182900\r\n-1,\t\t1.8427007929497100\r\nTRUE,\t\t\"#VALUE!\"\r\nFALSE,\t\t\"#VALUE!\"\r\n\"2\",\t\t0.0046777349810473\r\n\"TWO\",\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/GESTEP.data",
    "content": "-1.5,\t-1.5,\t1\r\n-0.75,\t-1.5,\t1\r\n0,\t-1.5,\t1\r\n0.75,\t-1.5,\t1\r\n1.5,\t-1.5,\t1\r\n2.25,\t-1.5,\t1\r\n3,\t-1.5,\t1\r\n3.75,\t-1.5,\t1\r\n4.5,\t-1.5,\t1\r\n-1.5,\t-0.75,\t0\r\n-0.75,\t-0.75,\t1\r\n0,\t-0.75,\t1\r\n0.75,\t-0.75,\t1\r\n1.5,\t-0.75,\t1\r\n2.25,\t-0.75,\t1\r\n3,\t-0.75,\t1\r\n3.75,\t-0.75,\t1\r\n4.5,\t-0.75,\t1\r\n-1.5,\t0,\t0\r\n-0.75,\t0,\t0\r\n0,\t0,\t1\r\n0.75,\t0,\t1\r\n1.5,\t0,\t1\r\n2.25,\t0,\t1\r\n3,\t0,\t1\r\n3.75,\t0,\t1\r\n4.5,\t0,\t1\r\n-1.5,\t0.75,\t0\r\n-0.75,\t0.75,\t0\r\n0,\t0.75,\t0\r\n0.75,\t0.75,\t1\r\n1.5,\t0.75,\t1\r\n2.25,\t0.75,\t1\r\n3,\t0.75,\t1\r\n3.75,\t0.75,\t1\r\n4.5,\t0.75,\t1\r\n-1.5,\t1.5,\t0\r\n-0.75,\t1.5,\t0\r\n0,\t1.5,\t0\r\n0.75,\t1.5,\t0\r\n1.5,\t1.5,\t1\r\n2.25,\t1.5,\t1\r\n3,\t1.5,\t1\r\n3.75,\t1.5,\t1\r\n4.5,\t1.5,\t1\r\n-1.5,\t2.25,\t0\r\n-0.75,\t2.25,\t0\r\n0,\t2.25,\t0\r\n0.75,\t2.25,\t0\r\n1.5,\t2.25,\t0\r\n2.25,\t2.25,\t1\r\n3,\t2.25,\t1\r\n3.75,\t2.25,\t1\r\n4.5,\t2.25,\t1\r\n-1.5,\t3,\t0\r\n-0.75,\t3,\t0\r\n0,\t3,\t0\r\n0.75,\t3,\t0\r\n1.5,\t3,\t0\r\n2.25,\t3,\t0\r\n3,\t3,\t1\r\n3.75,\t3,\t1\r\n4.5,\t3,\t1\r\n-1.5,\t3.75,\t0\r\n-0.75,\t3.75,\t0\r\n0,\t3.75,\t0\r\n0.75,\t3.75,\t0\r\n1.5,\t3.75,\t0\r\n2.25,\t3.75,\t0\r\n3,\t3.75,\t0\r\n3.75,\t3.75,\t1\r\n4.5,\t3.75,\t1\r\n-1.5,\t4.5,\t0\r\n-0.75,\t4.5,\t0\r\n0,\t4.5,\t0\r\n0.75,\t4.5,\t0\r\n1.5,\t4.5,\t0\r\n2.25,\t4.5,\t0\r\n3,\t4.5,\t0\r\n3.75,\t4.5,\t0\r\n4.5,\t4.5,\t1\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/HEX2BIN.data",
    "content": "\"01AB\",\t\t\t\"110101011\"\r\n\"ABCD\",\t\t\t\"#NUM!\"\r\n\"F6\",\t\t\t\"11110110\"\r\n\"F\",\t\t8,\t\"00001111\"\r\n\"B7\",\t\t\t\"10110111\"\r\n\"12345\",\t\t\"#NUM!\"\r\n\"123456789\",\t\t\"#NUM!\"\r\n\"123.45\",\t\t\"#NUM!\"\r\n\"0\",\t\t\t\"0\"\r\n\"G3579A\",\t\t\"#NUM!\"\r\nTRUE,\t\t\t\"#VALUE!\"\r\n\"-107\",\t\t\t\"#NUM!\"\r\n\"FFFFFFFFFF\",\t\t\"1111111111\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/HEX2DEC.data",
    "content": "\"01AB\",\t\t\"427\"\r\n\"ABCD\",\t\t\"43981\"\r\n\"F6\",\t\t\"246\"\r\n\"12345\",\t\"74565\"\r\n\"123456789\",\t\"4886718345\"\r\n\"123.45\",\t\"#NUM!\"\r\n\"0\",\t\t\"0\"\r\n\"G3579A\",\t\"#NUM!\"\r\nTRUE,\t\t\"#VALUE!\"\r\n\"-107\",\t\t\"#NUM!\"\r\n\"A5\",\t\t\"165\"\r\n\"FFFFFFFF5B\",\t\"-165\"\r\n\"3DA408B9\",\t\"1034160313\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/HEX2OCT.data",
    "content": "\"01AB\",\t\t\t\"653\"\r\n\"ABCD\",\t\t\t\"125715\"\r\n\"F6\",\t\t\t\"366\"\r\n\"3B4E\",\t\t\t\"35516\"\r\n\"F\",\t\t3,\t\"017\"\r\n\"12345\",\t\t\"221505\"\r\n\"123456789\",\t\t\"#NUM!\"\r\n\"123.45\",\t\t\"#NUM!\"\r\n\"0\",\t\t\t\"0\"\r\n\"G3579A\",\t\t\"#NUM!\"\r\nTRUE,\t\t\t\"#VALUE!\"\r\n\"-107\",\t\t\t\"#NUM!\"\r\n\"FFFFFFFF00\",\t\t\"7777777400\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMABS.data",
    "content": "\"12.34+5.67j\",\t\t13.580298229420\r\n\"1.234E-5+6.78E9i\",\t6.78E9\r\n\"3.5+2.5i\",\t\t4.301162633521\r\n\"3.5+i\",\t\t3.640054944640\r\n\"3.5\",\t\t\t3.5\r\n\"3.5-i\",\t\t3.640054944640\r\n\"3.5-2.5i\",\t\t4.301162633521\r\n\"1+2.5i\",\t\t2.692582403567\r\n\"1+i\",\t\t\t1.414213562373\r\n\"1\",\t\t\t1\r\n\"1-i\",\t\t\t1.414213562373\r\n\"1-2.5i\",\t\t2.692582403567\r\n\"2.5i\",\t\t\t2.5\r\n\"i\",\t\t\t1\r\n\"0\",\t\t\t0\r\n\"-i\",\t\t\t1\r\n\"-2.5i\",\t\t2.5\r\n\"-1+2.5i\",\t\t2.692582403567\r\n\"-1+i\",\t\t\t1.414213562373\r\n\"-1\",\t\t\t1\r\n\"-1-i\",\t\t\t1.414213562373\r\n\"-1-2.5i\",\t\t2.692582403567\r\n\"-3.5+2.5i\",\t\t4.301162633521\r\n\"-3.5+i\",\t\t3.640054944640\r\n\"-3.5\",\t\t\t3.5\r\n\"-3.5-i\",\t\t3.640054944640\r\n\"-3.5-2.5i\",\t\t4.301162633521\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMAGINARY.data",
    "content": "\"12.34+5.67j\",\t\t5.67\r\n\"1.234E-5+6.78E9i\",\t6.78E9\r\n\"3.5+2.5i\",\t\t2.5\r\n\"3.5+i\",\t\t1\r\n\"3.5\",\t\t\t0\r\n\"3.5-i\",\t\t-1\r\n\"3.5-2.5i\",\t\t-2.5\r\n\"1+2.5i\",\t\t2.5\r\n\"1+i\",\t\t\t1\r\n\"1\",\t\t\t0\r\n1,\t\t\t0\r\n\"1-i\",\t\t\t-1\r\n\"1-2.5i\",\t\t-2.5\r\n\"2.5i\",\t\t\t2.5\r\n\"i\",\t\t\t1\r\n\"0\",\t\t\t0\r\n0,\t\t\t0\r\n0.0,\t\t\t0\r\n\"-i\",\t\t\t-1\r\n\"-2.5i\",\t\t-2.5\r\n\"-1+2.5i\",\t\t2.5\r\n\"-1+i\",\t\t\t1\r\n\"-1\",\t\t\t0\r\n\"-1-i\",\t\t\t-1\r\n\"-1-2.5i\",\t\t-2.5\r\n\"-3.5+2.5i\",\t\t2.5\r\n\"-3.5+i\",\t\t1\r\n\"-3.5\",\t\t\t0\r\n\"-3.5-i\",\t\t-1\r\n\"-3.5-2.5i\",\t\t-2.5\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMARGUMENT.data",
    "content": "\"12.34+5.67j\",\t0.430710595550\r\n\"3.5+2.5i\",\t0.620249485983\r\n\"3.5+i\",\t0.278299659005\r\n\"3.5\",\t\t0\r\n\"3.5-i\",\t-0.278299659005\r\n\"3.5-2.5i\",\t-0.620249485983\r\n\"1+2.5i\",\t1.190289949683\r\n\"1+i\",\t\t0.785398163397\r\n\"1\",\t\t0\r\n\"1-i\",\t\t-0.785398163397\r\n\"1-2.5i\",\t-1.190289949683\r\n\"2.5i\",\t\t1.570796326795\r\n\"i\",\t\t1.570796326795\r\n\"0\",\t\t\"#DIV/0!\"\r\n\"-i\",\t\t-1.570796326795\r\n\"-2.5i\",\t-1.570796326795\r\n\"-1+2.5i\",\t1.951302703907\r\n\"-1+i\",\t\t2.356194490192\r\n\"-1\",\t\t3.141592653590\r\n\"-1-i\",\t\t-2.356194490192\r\n\"-1-2.5i\",\t-1.951302703907\r\n\"-3.5+2.5i\",\t2.521343167607\r\n\"-3.5+i\",\t2.863292994585\r\n\"-3.5\",\t\t3.141592653590\r\n\"-3.5-i\",\t-2.863292994585\r\n\"-3.5-2.5i\",\t-2.521343167607\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMCONJUGATE.data",
    "content": "\"12.34+5.67j\",\t\"12.34-5.67j\"\r\n\"3.5+2.5i\",\t\"3.5-2.5i\"\r\n\"3.5+i\",\t\"3.5-i\"\r\n\"3.5\",\t\t\"3.5\"\r\n\"3.5-i\",\t\"3.5+i\"\r\n\"3.5-2.5i\",\t\"3.5+2.5i\"\r\n\"1+2.5i\",\t\"1-2.5i\"\r\n\"1+i\",\t\t\"1-i\"\r\n\"1\",\t\t\"1\"\r\n\"1-i\",\t\t\"1+i\"\r\n\"1-2.5i\",\t\"1+2.5i\"\r\n\"2.5i\",\t\t\"-2.5i\"\r\n\"i\",\t\t\"-i\"\r\n\"0\",\t\t\"0\"\r\n\"-i\",\t\t\"i\"\r\n\"-2.5i\",\t\"2.5i\"\r\n\"-1+2.5i\",\t\"-1-2.5i\"\r\n\"-1+i\",\t\t\"-1-i\"\r\n\"-1\",\t\t\"-1\"\r\n\"-1-i\",\t\t\"-1+i\"\r\n\"-1-2.5i\",\t\"-1+2.5i\"\r\n\"-3.5+2.5i\",\t\"-3.5-2.5i\"\r\n\"-3.5+i\",\t\"-3.5-i\"\r\n\"-3.5\",\t\t\"-3.5\"\r\n\"-3.5-i\",\t\"-3.5+i\"\r\n\"-3.5-2.5i\",\t\"-3.5+2.5i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMCOS.data",
    "content": "\"12.34+5.67j\",\t\"141.319179436356+32.547610312508j\"\r\n\"3.5+2.5i\",\t\"-5.74262349163406+2.12231025604134i\"\r\n\"3.5+i\",\t\"-1.44502817950166+0.412240867891067i\"\r\n\"3.5\",\t\t\"-0.936456687290796\"\r\n\"3.5-i\",\t\"-1.44502817950166-0.412240867891067i\"\r\n\"3.5-2.5i\",\t\"-5.74262349163406-2.12231025604134i\"\r\n\"1+2.5i\",\t\"3.31329014611322-5.0910715229497i\"\r\n\"1+i\",\t\t\"0.833730025131149-0.988897705762865i\"\r\n\"1\",\t\t\"0.54030230586814\"\r\n\"1-i\",\t\t\"0.833730025131149+0.988897705762865i\"\r\n\"1-2.5i\",\t\"3.31329014611322+5.0910715229497i\"\r\n\"2.5i\",\t\t\"6.13228947966369\"\r\n\"i\",\t\t\"1.54308063481524\"\r\n\"0\",\t\t\"1\"\r\n\"-i\",\t\t\"1.54308063481524\"\r\n\"-2.5i\",\t\"6.13228947966369\"\r\n\"-1+2.5i\",\t\"3.31329014611322+5.0910715229497i\"\r\n\"-1+i\",\t\t\"0.833730025131149+0.988897705762865i\"\r\n\"-1\",\t\t\"0.54030230586814\"\r\n\"-1-i\",\t\t\"0.833730025131149-0.988897705762865i\"\r\n\"-1-2.5i\",\t\"3.31329014611322-5.0910715229497i\"\r\n\"-3.5+2.5i\",\t\"-5.74262349163406-2.12231025604134i\"\r\n\"-3.5+i\",\t\"-1.44502817950166-0.412240867891067i\"\r\n\"-3.5\",\t\t\"-0.936456687290796\"\r\n\"-3.5-i\",\t\"-1.44502817950166+0.412240867891067i\"\r\n\"-3.5-2.5i\",\t\"-5.74262349163406+2.12231025604134i\"\r\n\"3\",\t\t\"-0.989992496600445\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMDIV.data",
    "content": "\"12.34+5.67j\",\t\"123.45+67.89i\",\t\"#NUM!\"\r\n\"12.34+5.67j\",\t\"123.45+67.89j\",\t\"0.0961415519586104-0.00694248653276682j\"\r\n\"-12.34+5.67i\",\t\"-123.45+67.89i\",\t\"0.0961415519586104+0.00694248653276682i\"\r\n\"-12.34-5.67i\",\t\"-123.45+67.89i\",\t\"0.0573549954111941+0.0774712890924744i\"\r\n\"-12.34+5.67i\",\t\"-123.45-67.89i\",\t\"0.0573549954111941-0.0774712890924744i\"\r\n\"-12.34-5.67i\",\t\"-123.45-67.89i\",\t\"0.0961415519586104-0.00694248653276682i\"\r\n\"12.34+5.67i\",\t\"-123.45+67.89i\",\t\"-0.0573549954111941-0.0774712890924744i\"\r\n\"12.34-5.67i\",\t\"-123.45+67.89i\",\t\"-0.0961415519586104-0.00694248653276682i\"\r\n\"12.34+5.67i\",\t\"-123.45-67.89i\",\t\"-0.0961415519586104+0.00694248653276682i\"\r\n\"12.34-5.67i\",\t\"-123.45-67.89i\",\t\"-0.0573549954111941+0.0774712890924744i\"\r\n\"-12.34+5.67i\",\t\"123.45+67.89i\",\t\"-0.0573549954111941+0.0774712890924744i\"\r\n\"-12.34-5.67i\",\t\"123.45+67.89i\",\t\"-0.0961415519586104+0.00694248653276682i\"\r\n\"-12.34+5.67i\",\t\"123.45-67.89i\",\t\"-0.0961415519586104-0.00694248653276682i\"\r\n\"-12.34-5.67i\",\t\"123.45-67.89i\",\t\"-0.0573549954111941-0.0774712890924744i\"\r\n\"-12.34-5.67i\",\t\"123.45-67.89\",\t\t\"#NUM!\"\r\n\"-12.34-5.67j\",\t\"123.45-67.89\",\t\t\"#NUM!\"\r\n\"-12.34-5.67\",\t\"123.45-67.89j\",\t\"#NUM!\"\r\n\"-12.34-5.67i\",\t\"-12.34-5.67i\",\t\t\"1\"\r\n\"-12.34\",\t\"123.45-67.89i\",\t\"-0.0767482736849023-0.0422068878126206i\"\r\n\"-12.34-5.67i\",\t\"-12.34\",\t\t\"1+0.459481361426256i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMEXP.data",
    "content": "\"12.34+5.67j\",\t\t\"187004.11273906-131589.323796073j\"\r\n\"-12.34E-5+6.78E9i\",\t\"1.79747131321615E+308+1.79747131321615E+308i\"\r\n\"3.5+2.5i\",\t\t\"-26.5302329126575+19.8186755366902i\"\r\n\"3.5+i\",\t\t\"17.8923550531471+27.8656919720394i\"\r\n\"3.5\",\t\t\t\"33.1154519586923\"\r\n\"3.5-i\",\t\t\"17.8923550531471-27.8656919720394i\"\r\n\"3.5-2.5i\",\t\t\"-26.5302329126575-19.8186755366902i\"\r\n\"1+2.5i\",\t\t\"-2.17773413212721+1.62681595415671i\"\r\n\"1+i\",\t\t\t\"1.46869393991589+2.28735528717884i\"\r\n\"1\",\t\t\t\"2.71828182845905\"\r\n\"1-i\",\t\t\t\"1.46869393991589-2.28735528717884i\"\r\n\"1-2.5i\",\t\t\"-2.17773413212721-1.62681595415671i\"\r\n\"2.5i\",\t\t\t\"-0.801143615546934+0.598472144103957i\"\r\n\"i\",\t\t\t\"0.54030230586814+0.841470984807897i\"\r\n\"0\",\t\t\t\"1\"\r\n\"-i\",\t\t\t\"0.54030230586814-0.841470984807897i\"\r\n\"-2.5i\",\t\t\"-0.801143615546934-0.598472144103957i\"\r\n\"-1+2.5i\",\t\t\"-0.294724265585475+0.220165597929638i\"\r\n\"-1+i\",\t\t\t\"0.198766110346413+0.309559875653112i\"\r\n\"-1\",\t\t\t\"0.367879441171442\"\r\n\"-1-i\",\t\t\t\"0.198766110346413-0.309559875653112i\"\r\n\"-1-2.5i\",\t\t\"-0.294724265585475-0.220165597929638i\"\r\n\"-3.5+2.5i\",\t\t\"-0.0241924409350133+0.0180722928030842i\"\r\n\"-3.5+i\",\t\t\"0.016315715894263+0.025410221967i\"\r\n\"-3.5\",\t\t\t\"0.0301973834223185\"\r\n\"-3.5-i\",\t\t\"0.016315715894263-0.025410221967i\"\r\n\"-3.5-2.5i\",\t\t\"-0.0241924409350133-0.0180722928030842i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMLN.data",
    "content": "\"12.34+5.67j\",\t\t\"2.60862008281875+0.430710595550204j\"\r\n\"-1.234E-5+6.78E9i\",\t\"22.6372429388987+1.5707963267949i\"\r\n\"3.5+2.5i\",\t\t\"1.45888536604214+0.620249485982821i\"\r\n\"3.5+i\",\t\t\t\"1.29199877621612+0.278299659005111i\"\r\n\"3.5\",\t\t\t\"1.25276296849537\"\r\n\"3.5-i\",\t\t\t\"1.29199877621612-0.278299659005111i\"\r\n\"3.5-2.5i\",\t\t\"1.45888536604214-0.620249485982821i\"\r\n\"1+2.5i\",\t\t\"0.990500734433292+1.19028994968253i\"\r\n\"1+i\",\t\t\t\"0.346573590279973+0.785398163397448i\"\r\n\"1\",\t\t\t\"0\"\r\n\"1-i\",\t\t\t\"0.346573590279973-0.785398163397448i\"\r\n\"1-2.5i\",\t\t\"0.990500734433292-1.19028994968253i\"\r\n\"2.5i\",\t\t\t\"0.916290731874155+1.5707963267949i\"\r\n\"i\",\t\t\t\"1.5707963267949i\"\r\n\"0\",\t\t\t\"#NUM!\"\r\n\"-i\",\t\t\t\"-1.5707963267949i\"\r\n\"-2.5i\",\t\t\t\"0.916290731874155-1.5707963267949i\"\r\n\"-1+2.5i\",\t\t\"0.990500734433292+1.95130270390726i\"\r\n\"-1+i\",\t\t\t\"0.346573590279973+2.35619449019234i\"\r\n\"-1\",\t\t\t\"3.14159265358979i\"\r\n\"-1-i\",\t\t\t\"0.346573590279973-2.35619449019234i\"\r\n\"-1-2.5i\",\t\t\"0.990500734433292-1.95130270390726i\"\r\n\"-3.5+2.5i\",\t\t\"1.45888536604214+2.52134316760697i\"\r\n\"-3.5+i\",\t\t\"1.29199877621612+2.86329299458468i\"\r\n\"-3.5\",\t\t\t\"1.25276296849537+3.14159265358979i\"\r\n\"-3.5-i\",\t\t\"1.29199877621612-2.86329299458468i\"\r\n\"-3.5-2.5i\",\t\t\"1.45888536604214-2.52134316760697i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMLOG10.data",
    "content": "\"12.34+5.67j\",\t\t\"1.13290930735019+0.187055234944717j\"\r\n\"-12.34E-5+6.78E9i\",\t\"9.83122969386706+0.682188176920927i\"\r\n\"3.5+2.5i\",\t\t\"0.633585864201507+0.269370929165668i\"\r\n\"3.5+i\",\t\t\"0.561107939136413+0.120864006221476i\"\r\n\"3.5\",\t\t\t\"0.544068044350276\"\r\n\"3.5-i\",\t\t\"0.561107939136413-0.120864006221476i\"\r\n\"3.5-2.5i\",\t\t\"0.633585864201507-0.269370929165668i\"\r\n\"1+2.5i\",\t\t\"0.430169003285497+0.516936357012023i\"\r\n\"1+i\",\t\t\t\"0.150514997831991+0.34109408846046i\"\r\n\"1\",\t\t\t\"0\"\r\n\"1-i\",\t\t\t\"0.150514997831991-0.34109408846046i\"\r\n\"1-2.5i\",\t\t\"0.430169003285497-0.516936357012023i\"\r\n\"2.5i\",\t\t\t\"0.397940008672038+0.68218817692092i\"\r\n\"i\",\t\t\t\"0.68218817692092i\"\r\n\"0\",\t\t\t\"#NUM!\"\r\n\"-i\",\t\t\t\"-0.68218817692092i\"\r\n\"-2.5i\",\t\t\"0.397940008672038-0.68218817692092i\"\r\n\"-1+2.5i\",\t\t\"0.430169003285497+0.847439996829817i\"\r\n\"-1+i\",\t\t\t\"0.150514997831991+1.02328226538138i\"\r\n\"-1\",\t\t\t\"1.36437635384184i\"\r\n\"-1-i\",\t\t\t\"0.150514997831991-1.02328226538138i\"\r\n\"-1-2.5i\",\t\t\"0.430169003285497-0.847439996829817i\"\r\n\"-3.5+2.5i\",\t\t\"0.633585864201507+1.09500542467617i\"\r\n\"-3.5+i\",\t\t\"0.561107939136413+1.24351234762036i\"\r\n\"-3.5\",\t\t\t\"0.544068044350276+1.36437635384184i\"\r\n\"-3.5-i\",\t\t\"0.561107939136413-1.24351234762036i\"\r\n\"-3.5-2.5i\",\t\t\"0.633585864201507-1.09500542467617i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMLOG2.data",
    "content": "\"12.34+5.67j\",\t\t\"3.76344325733562+0.621384040306436j\"\r\n\"-12.34E-5+6.78E9i\",\t\"32.6586381298614+2.26618007108803i\"\r\n\"3.5+2.5i\",\t\t\"2.10472668297646+0.894830857610216i\"\r\n\"3.5+i\",\t\t\"1.86396022742506+0.401501537958665i\"\r\n\"3.5\",\t\t\t\"1.80735492219671\"\r\n\"3.5-i\",\t\t\"1.86396022742506-0.401501537958665i\"\r\n\"3.5-2.5i\",\t\t\"2.10472668297646-0.894830857610216i\"\r\n\"1+2.5i\",\t\t\"1.42899049767377+1.71722540775913i\"\r\n\"1+i\",\t\t\t\"0.500000000038482+1.13309003554401i\"\r\n\"1\",\t\t\t\"0\"\r\n\"1-i\",\t\t\t\"0.500000000038482-1.13309003554401i\"\r\n\"1-2.5i\",\t\t\"1.42899049767377-1.71722540775913i\"\r\n\"2.5i\",\t\t\t\"1.3219280949891+2.26618007108801i\"\r\n\"i\",\t\t\t\"2.26618007108801i\"\r\n\"0\",\t\t\t\"#NUM!\"\r\n\"-i\",\t\t\t\"-2.26618007108801i\"\r\n\"-2.5i\",\t\t\"1.3219280949891-2.26618007108801i\"\r\n\"-1+2.5i\",\t\t\"1.42899049767377+2.81513473441689i\"\r\n\"-1+i\",\t\t\t\"0.500000000038482+3.39927010663201i\"\r\n\"-1\",\t\t\t\"4.53236014217602i\"\r\n\"-1-i\",\t\t\t\"0.500000000038482-3.39927010663201i\"\r\n\"-1-2.5i\",\t\t\"1.42899049767377-2.81513473441689i\"\r\n\"-3.5+2.5i\",\t\t\"2.10472668297646+3.63752928456581i\"\r\n\"-3.5+i\",\t\t\"1.86396022742506+4.13085860421736i\"\r\n\"-3.5\",\t\t\t\"1.80735492219671+4.53236014217602i\"\r\n\"-3.5-i\",\t\t\"1.86396022742506-4.13085860421736i\"\r\n\"-3.5-2.5i\",\t\t\"2.10472668297646-3.63752928456581i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMPOWER.data",
    "content": "\"12.34+5.67j\",\t2,\t\t\"120.1267+139.9356j\"\r\n\"12.34+5.67j\",\t3,\t\t\"688.928626+2407.923693j\"\r\n\"12.34+5.67j\",\t-1,\t\t\"6.69108496973016E-002-3.07442883131037E-002j\"\r\n\"12.34+5.67j\",\t-2,\t\t\"3.53185054333564E-003-4.11425290873718E-003j\"\r\n\"12.34+5.67j\",\t0.5,\t\t\"3.60002071031685+0.787495469644252j\"\r\n\"12.34+5.67j\",\t-0.25,\t\t\"0.517904976730581-5.59833234375533E-002j\"\r\n\"12.34+5.67j\",\t0,\t\t\"1\"\r\n\"-i\",\t\t2,\t\t\"-1-1.34451369308841E-014i\"\r\n\"1-i\",\t\t2,\t\t\"1.22460635382238E-016-2i\"\r\n\"2.5i\",\t\t2,\t\t\"-6.25+8.40321058180257E-014i\"\r\n\"2.5i\",\t\t\"2.5\",\t\t\"-6.98771242968685-6.98771242968684i\"\r\n\"2.5i\",\t\t\"2.5i\",\t\t\"#VALUE!\"\r\n\"2.5\",\t\t\"2.5\",\t\t9.88211768802619\r\n\"2\",\t\t\"2\",\t\t4\r\n\"-12.34-5.67i\",\t\"-12.34\",\t\"-4.69972844488573E-15+9.35464904349343E-15i\"\r\n\"12.34-5.67i\",\t\"-12.34\",\t\"5.93343000067521E-15-8.62503997728057E-15i\"\r\n\"-12.34-5.67i\",\t\"12.34\",\t\"-42881944468901.9-85355046682682.3i\"\r\n\"12.34-5.67i\",\t\"12.34\",\t\"54138663282971.3+78697841733874.3i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMPRODUCT.data",
    "content": "\"12.34+5.67j\",\t\"123.45+67.89i\",\t\t\t\"#NUM!\"\r\n\"12.34+5.67j\",\t\t\t\t\t\t\"12.34+5.67j\"\r\n\"12.34+5.67i\",\t\"123.45+67.89i\",\t\"5.67\",\t\t\"6454.936089+8718.895647i\"\r\n\"12.34+5.67j\",\t\"123.45+67.89j\",\t\"5.67\",\t\t\"6454.936089+8718.895647j\"\r\n\"12.34+5.67j\",\t\"123.45+67.89j\",\t\t\t\"1138.4367+1537.7241j\"\r\n\"12.34-5.67i\",\t\"123.45+67.89i\",\t\t\t\"1908.3093+137.8011i\"\r\n\"12.34+5.67i\",\t\"123.45-67.89i\",\t\t\t\"1908.3093-137.8011i\"\r\n\"12.34-5.67i\",\t\"123.45-67.89i\",\t\t\t\"1138.4367-1537.7241i\"\r\n\"-12.34+5.67i\",\t\"123.45+67.89i\",\t\t\t\"-1908.3093-137.8011i\"\r\n\"-12.34-5.67i\",\t\"123.45+67.89i\",\t\t\t\"-1138.4367-1537.7241i\"\r\n\"12.34+5.67i\",\t\"-123.45+67.89i\",\t\t\t\"-1908.3093+137.8011i\"\r\n\"-12.34+5.67i\",\t\"-123.45+67.89i\",\t\t\t\"1138.4367-1537.7241i\"\r\n\"-12.34-5.67i\",\t\"-123.45-67.89i\",\t\t\t\"1138.4367+1537.7241i\"\r\n\"-12.34\",\t\"123.45-67.89i\",\t\t\t\"-1523.373+837.7626i\"\r\n\"-12.34-5.67i\",\t\"-12.34\",\t\t\t\t\"152.2756+69.9678i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMREAL.data",
    "content": "12.34+5.67j\",\t\t12.34\r\n\"-1.234E-5+6.78E9i\",\t-1.234E-5\r\n\"3.5+2.5i\",\t\t3.5\r\n\"3.5+i\",\t\t3.5\r\n\"3.5\",\t\t\t3.5\r\n3.5,\t\t\t3.5\r\n\"3.5-i\",\t\t3.5\r\n\"3.5-2.5i\",\t\t3.5\r\n\"1+2.5i\",\t\t1\r\n\"1+i\",\t\t\t1\r\n\"1\",\t\t\t1\r\n1,\t\t\t1\r\n\"1-i\",\t\t\t1\r\n\"1-2.5i\",\t\t1\r\n\"2.5i\",\t\t\t0\r\n\"i\",\t\t\t0\r\n\"0\",\t\t\t0\r\n0,\t\t\t0\r\n\"-i\",\t\t\t0\r\n\"-2.5i\",\t\t0\r\n\"-1+2.5i\",\t\t-1\r\n\"-1+i\",\t\t\t-1\r\n\"-1\",\t\t\t-1\r\n\"-1-i\",\t\t\t-1\r\n\"-1-2.5i\",\t\t-1\r\n\"-3.5+2.5i\",\t\t-3.5\r\n\"-3.5+i\",\t\t-3.5\r\n\"-3.5\",\t\t\t-3.5\r\n\"-3.5-i\",\t\t-3.5\r\n\"-3.5-2.5i\",\t\t-3.5\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMSIN.data",
    "content": "\"12.34+5.67j\",\t\"-32.5483841590412+141.315819535092j\"\r\n\"3.5+2.5i\",\t\"-2.15110429680353-5.66575444574645i\"\r\n\"3.5+i\",\t\"-0.541286805665839-1.10052501669986i\"\r\n\"3.5\",\t\t\"-0.35078322768962\"\r\n\"3.5-i\",\t\"-0.541286805665839+1.10052501669986i\"\r\n\"3.5-2.5i\",\t\"-2.15110429680353+5.66575444574645i\"\r\n\"1+2.5i\",\t\"5.16014366757971+3.26893943207955i\"\r\n\"1+i\",\t\t\"1.29845758141598+0.634963914784736i\"\r\n\"1\",\t\t\"0.841470984807897\"\r\n\"1-i\",\t\t\"1.29845758141598-0.634963914784736i\"\r\n\"1-2.5i\",\t\"5.16014366757971-3.26893943207955i\"\r\n\"2.5i\",\t\t\"6.05020448103979i\"\r\n\"i\",\t\t\"1.1752011936438i\"\r\n\"0\",\t\t\"0\"\r\n\"-i\",\t\t\"-1.1752011936438i\"\r\n\"-2.5i\",\t\"-6.05020448103979i\"\r\n\"-1+2.5i\",\t\"-5.16014366757971+3.26893943207955i\"\r\n\"-1+i\",\t\t\"-1.29845758141598+0.634963914784736i\"\r\n\"-1\",\t\t\"-0.841470984807897\"\r\n\"-1-i\",\t\t\"-1.29845758141598-0.634963914784736i\"\r\n\"-1-2.5i\",\t\"-5.16014366757971-3.26893943207955i\"\r\n\"-3.5+2.5i\",\t\"2.15110429680353-5.66575444574645i\"\r\n\"-3.5+i\",\t\"0.541286805665839-1.10052501669986i\"\r\n\"-3.5\",\t\t\"0.35078322768962\"\r\n\"-3.5-i\",\t\"0.541286805665839+1.10052501669986i\"\r\n\"-3.5-2.5i\",\t\"2.15110429680353+5.66575444574645i\"\r\n\"3\",\t\t\"0.141120008059867\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMSQRT.data",
    "content": "\"12.34+5.67j\",\t\t\"3.60002071031685+0.787495469644252j\"\r\n\"-1.234E-5+6.78E9i\",\t\"58223.7065120385+58223.7065120386i\"\r\n\"3.5+2.5i\",\t\t\"1.9749889409211+0.632914936433528i\"\r\n\"3.5+i\",\t\t\"1.88945163270197+0.264627043818521i\"\r\n\"3.5\",\t\t\t\"1.87082869338697\"\r\n\"3.5-i\",\t\t\"1.88945163270197-0.264627043818521i\"\r\n\"3.5-2.5i\",\t\t\"1.9749889409211-0.632914936433528i\"\r\n\"1+2.5i\",\t\t\"1.35878298553655+0.919940868634298i\"\r\n\"1+i\",\t\t\t\"1.09868411346781+0.455089860562227i\"\r\n\"1\",\t\t\t\"1\"\r\n\"1-i\",\t\t\t\"1.09868411346781-0.455089860562227i\"\r\n\"1-2.5i\",\t\t\"1.35878298553655-0.919940868634298i\"\r\n\"2.5i\",\t\t\t\"1.11803398874989+1.11803398874989i\"\r\n\"i\",\t\t\t\"0.707106781186548+0.707106781186547i\"\r\n\"0\",\t\t\t\"0\"\r\n\"-i\",\t\t\t\"0.707106781186548-0.707106781186547i\"\r\n\"-2.5i\",\t\t\"1.11803398874989-1.11803398874989i\"\r\n\"-1+2.5i\",\t\t\"0.919940868634298+1.35878298553655i\"\r\n\"-1+i\",\t\t\t\"0.455089860562227+1.09868411346781i\"\r\n\"-1\",\t\t\t\"6.12303176911189E-017+i\"\r\n\"-1-i\",\t\t\t\"0.455089860562227-1.09868411346781i\"\r\n\"-1-2.5i\",\t\t\"0.919940868634298-1.35878298553655i\"\r\n\"-3.5+2.5i\",\t\t\"0.632914936433528+1.9749889409211i\"\r\n\"-3.5+i\",\t\t\"0.264627043818521+1.88945163270197i\"\r\n\"-3.5\",\t\t\t\"1.14551435241745E-016+1.87082869338697i\"\r\n\"-3.5-i\",\t\t\"0.264627043818521-1.88945163270197i\"\r\n\"-3.5-2.5i\",\t\t\"0.632914936433528-1.9749889409211i\"\r\n\"9\",\t\t\t\"3\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMSUB.data",
    "content": "\"12.34+5.67j\",\t\t\"123.45+67.89i\",\t\t\t\t\"#NUM!\"\r\n\"123.45+67.89j\",\t\"12.34+5.67j\",\t\t\t\t\t\"111.11+62.22j\"\r\n\"12.34+5.67j\",\t\t\"123.45+67.89j\",\t\t\t\t\"-111.11-62.22j\"\r\n\"12.34+5.67i\",\t\t\"123.45+67.89i\",\t\"123.45+67.89i\",\t\"-111.11-62.22i\"\r\n\"-12.34-5.67i\",\t\t\"123.45-67.89i\",\t\t\t\t\"-135.79+62.22i\"\r\n\"12.34-5.67i\",\t\t\"-123.45-67.89i\",\t\t\t\t\"135.79+62.22i\"\r\n\"-12.34-5.67i\",\t\t\"-123.45-67.89i\",\t\t\t\t\"111.11+62.22i\"\r\n\"-12.34-5.67i\",\t\t\"-123.45-67.89\",\t\t\t\t\"#NUM!\"\r\n\"-12.34-5.67j\",\t\t\"-123.45-67.89\",\t\t\t\t\"#NUM!\"\r\n\"-12.34-5.67\",\t\t\"-123.45-67.89j\",\t\t\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/IMSUM.data",
    "content": "\"12.34+5.67j\",\t\"123.45+67.89i\",\t\t\t\t\"#NUM!\"\r\n\"12.34+5.67j\",\t\"123.45+67.89j\",\t\t\t\t\"135.79+73.56j\"\r\n\"12.34-5.67i\",\t\"123.45+67.89i\",\t\t\t\t\"135.79+62.22i\"\r\n\"12.34+5.67i\",\t\"123.45-67.89i\",\t\t\t\t\"135.79-62.22i\"\r\n\"12.34-5.67i\",\t\"123.45-67.89i\",\t\t\t\t\"135.79-73.56i\"\r\n\"12.34+5.67i\",\t\"123.45+67.89i\",\t\"123.45+67.89i\",\t\"259.24+141.45i\"\r\n\"12.34+5.67i\",\t\"123.45+67.89i\",\t\"123.45+67.89j\",\t\"#NUM!\"\r\n\"-12.34-5.67i\",\t\"123.45-67.89i\",\t\t\t\t\"111.11-73.56i\"\r\n\"12.34-5.67i\",\t\"-123.45-67.89i\",\t\t\t\t\"-111.11-73.56i\"\r\n\"-12.34-5.67i\",\t\"-123.45-67.89i\",\t\t\t\t\"-135.79-73.56i\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/OCT2BIN.data",
    "content": "\"1357\",\t\t\t\"#NUM!\"\r\n\"246\",\t\t\t\"10100110\"\r\n\"3\",\t\t3,\t\"011\"\r\n\"12345\",\t\t\"#NUM!\"\r\n\"123.45\",\t\t\"#NUM!\"\r\n\"0\",\t\t\t\"0\"\r\nTRUE,\t\t\t\"#VALUE!\"\r\n\"3579\",\t\t\t\"#NUM!\"\r\n\"7777777000\",\t\t\"1000000000\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/OCT2DEC.data",
    "content": "\"1357\",\t\t\"751\"\r\n\"246\",\t\t\"166\"\r\n\"12345\",\t\"5349\"\r\n\"123.45\",\t\"#NUM!\"\r\n\"0\",\t\t\"0\"\r\nTRUE,\t\t\"#VALUE!\"\r\n\"3579\",\t\t\"#NUM!\"\r\n\"54\",\t\t\"44\"\r\n\"7777777533\",\t\"-165\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Engineering/OCT2HEX.data",
    "content": "\"1357\",\t\t\t\"2EF\"\r\n\"246\",\t\t\t\"A6\"\r\n\"12345\",\t\t\"14E5\"\r\n\"100\",\t\t4,\t\"0040\"\r\n\"123.45\",\t\t\"#NUM!\"\r\n\"0\",\t\t\t\"0\"\r\nTRUE,\t\t\t\"#VALUE!\"\r\n\"3579\",\t\t\t\"#NUM!\"\r\n\"7777777533\",\t\t\"FFFFFFFF5B\"\t//\t2's Complement\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/ACCRINT.data",
    "content": "#Issue date\t1st Interest\tSettlement\tRate\tPar\tFreq\tBasis\tResult\r\n\"2008-03-01\",\t\"2008-08-31\",\t\"2008-05-01\",\t0.10,\t1000,\t2,\t0,\t16.666666666667\r\n\"2008-03-05\",\t\"2008-08-31\",\t\"2008-05-01\",\t0.10,\t1000,\t2,\t0,\t15.555555555556\r\n\"2010-01-01\",\t\"2010-06-30\",\t\"2010-04-01\",\t0.08,\t10000,\t4,\t\t202.222222222222\r\n\"2008-03-05\",\t\"2008-08-31\",\t\"2008-05-01\",\t-0.10,\t1000,\t2,\t0,\t\"#NUM!\"\r\n\"Invalid Date\",\t\"2008-08-31\",\t\"2008-05-01\",\t0.10,\t1000,\t2,\t0,\t\"#VALUE!\"\r\n\"2008-03-01\",\t\"2008-08-31\",\t\"2008-05-01\",\t\"ABC\",\t1000,\t2,\t0,\t\"#VALUE!\"\r\n\"2008-03-01\",\t\"2008-08-31\",\t\"2008-05-01\",\t0.10,\t1000,\t2,\t\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/ACCRINTM.data",
    "content": "#Issue date\tSettlement\tRate\tPar\tBasis\tResult\r\n\"2008-04-01\",\t\"2008-06-15\",\t0.10,\t1000,\t3,\t20.547945205479\r\n\"2010-01-01\",\t\"2010-12-31\",\t0.08,\t10000,\t\t800\r\n\"2008-03-05\",\t\"2008-08-31\",\t-0.10,\t1000,\t2,\t\"#NUM!\"\r\n\"Invalid Date\",\t\"2008-08-31\",\t0.10,\t1000,\t2,\t\"#VALUE!\"\r\n\"2008-03-01\",\t\"2008-08-31\",\t\"ABC\",\t1000,\t2,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/AMORDEGRC.data",
    "content": "#Cost\tDate purchased\tEnd of the 1st period\tSalvage\tPeriod\tDepreciation\tBasis\tResult\r\n2400,\t\"2008-08-19\",\t\"2008-12-31\",\t\t300,\t1,\t0.15,\t\t1,\t776\r\n150,\t\"2011-01-01\",\t\"2011-09-30\",\t\t20,\t1,\t0.2,\t\t4,\t42\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/AMORLINC.data",
    "content": "#Cost\tDate purchased\tEnd of the 1st period\tSalvage\tPeriod\tDepreciation\tBasis\tResult\r\n2400,\t\"2008-08-19\",\t\"2008-12-31\",\t\t300,\t1,\t0.15,\t\t1,\t360\r\n150,\t\"2011-01-01\",\t\"2011-09-30\",\t\t20,\t1,\t0.2,\t\t4,\t30\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/COUPDAYBS.data",
    "content": "#Settlement\tMaturity\tFrequency\tBasis\tResult\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t2,\t\t1,\t71\r\n\"2011-01-01\",\t\"2012-10-25\",\t4,\t\t\t66\r\n\"Invalid Date\",\t\"15-Nov-2008\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"Invalid Date\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t3,\t\t1,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/COUPDAYS.data",
    "content": "#Settlement\tMaturity\tFrequency\tBasis\tResult\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t2,\t\t1,\t181\r\n\"2011-01-01\",\t\"2012-10-25\",\t4,\t\t\t90\r\n\"Invalid Date\",\t\"15-Nov-2008\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"Invalid Date\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t3,\t\t1,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/COUPDAYSNC.data",
    "content": "#Settlement\tMaturity\tFrequency\tBasis\tResult\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t2,\t\t1,\t110\r\n\"2011-01-01\",\t\"2012-10-25\",\t4,\t\t\t24\r\n\"Invalid Date\",\t\"15-Nov-2008\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"Invalid Date\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t3,\t\t1,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/COUPNCD.data",
    "content": "#Settlement\tMaturity\tFrequency\tBasis\tResult\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t2,\t\t1,\t39217\r\n\"2011-01-01\",\t\"2012-10-25\",\t4,\t\t\t40568\r\n\"Invalid Date\",\t\"15-Nov-2008\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"Invalid Date\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t3,\t\t1,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/COUPNUM.data",
    "content": "#Settlement\tMaturity\tFrequency\tBasis\tResult\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t2,\t\t1,\t4\r\n\"2011-01-01\",\t\"2012-10-25\",\t4,\t\t0,\t8\r\n\"Invalid Date\",\t\"15-Nov-2008\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"Invalid Date\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t3,\t\t1,\t\"#NUM!\"\r\n\"01-Jan-2008\",\t\"31-Dec-2012\",\t1,\t\t1,\t5\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/COUPPCD.data",
    "content": "#Settlement\tMaturity\tFrequency\tBasis\tResult\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t2,\t\t1,\t39036\r\n\"2011-01-01\",\t\"2012-10-25\",\t4,\t\t\t40476\r\n\"Invalid Date\",\t\"15-Nov-2008\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"Invalid Date\",\t2,\t\t1,\t\"#VALUE!\"\r\n\"25-Jan-2007\",\t\"15-Nov-2008\",\t3,\t\t1,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/CUMIPMT.data",
    "content": "#rate\t\tnper\tpv\tstart_period\tend_period\ttype\tresult\r\n0.0075,\t\t360,\t125000,\t13,\t\t24,\t\t0,\t-11135.232130751\r\n0.0075,\t\t360,\t125000,\t1,\t\t1,\t\t0,\t-937.50\r\n0.004166666667,\t60,\t50000,\t1,\t\t12,\t\t0,\t-2294.9775375121\r\n0.004166666667,\t60,\t50000,\t13,\t\t24,\t\t0,\t-1833.1000667254\r\n0.004166666667,\t60,\t50000,\t25,\t\t36,\t\t0,\t-1347.5920679425\r\n0.004166666667,\t60,\t50000,\t37,\t\t48,\t\t0,\t-837.24455850309\r\n0.004166666667,\t60,\t50000,\t49,\t\t60,\t\t0,\t-300.78670189939\r\n0.0075,\t\t360,\t125000,\t24,\t\t13,\t\t0,\t\"#VALUE!\"\r\n0.0075,\t\t360,\t125000,\t24,\t\t13,\t\t2,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/CUMPRINC.data",
    "content": "#rate\t\tnper\tpv\tstart_period\tend_period\ttype\tresult\r\n0.0075,\t\t360,\t125000,\t13,\t\t24,\t\t0,\t-934.10712342088\r\n0.0075,\t\t360,\t125000,\t1,\t\t1,\t\t0,\t-68.278271180977\r\n0.004166666667,\t60,\t50000,\t1,\t\t12,\t\t0,\t-9027.7626490046\r\n0.004166666667,\t60,\t50000,\t13,\t\t24,\t\t0,\t-9489.6401197913\r\n0.004166666667,\t60,\t50000,\t25,\t\t36,\t\t0,\t-9975.1481185741\r\n0.004166666667,\t60,\t50000,\t37,\t\t48,\t\t0,\t-10485.495628014\r\n0.004166666667,\t60,\t50000,\t49,\t\t60,\t\t0,\t-11021.953484617\r\n0.0075,\t\t360,\t125000,\t24,\t\t13,\t\t0,\t\"#VALUE!\"\r\n0.0075,\t\t360,\t125000,\t24,\t\t13,\t\t2,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/DB.data",
    "content": "#cost\t\tsalvage\t\tlife\tperiod\tmonth\tresult\r\n1000000,\t100000,\t\t6,\t1,\t7,\t186083.33333333\r\n1000000,\t100000,\t\t6,\t2,\t7,\t259639.41666667\r\n1000000,\t100000,\t\t6,\t3,\t7,\t176814.44275\r\n1000000,\t100000,\t\t6,\t4,\t7,\t120410.63551275\r\n1000000,\t100000,\t\t6,\t5,\t7,\t81999.642784183\r\n1000000,\t100000,\t\t6,\t6,\t7,\t55841.756736028\r\n1000000,\t100000,\t\t6,\t7,\t7,\t15845.098473848\r\n10000,\t\t1000,\t\t5,\t1,\t6,\t1845.00\r\n10000,\t\t1000,\t\t5,\t2,\t6,\t3009.195\r\n10000,\t\t1000,\t\t5,\t3,\t6,\t1898.802045\r\n10000,\t\t1000,\t\t5,\t4,\t6,\t1198.144090395\r\n10000,\t\t1000,\t\t5,\t5,\t6,\t756.02892103925\r\n10000,\t\t1000,\t\t5,\t6,\t6,\t238.52712458788\r\n0,\t\t0,\t\t5,\t6,\t6,\t0.0\r\n-1000,\t\t100,\t\t5,\t6,\t6,\t\"#NUM!\"\r\n\"ABC\",\t\t100,\t\t5,\t6,\t6,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/DDB.data",
    "content": "#cost\t\tsalvage\t\tlife\tperiod\tmonth\tresult\r\n2400,\t\t300,\t\t36500,\t1,\t\t0.13150684931507\r\n2400,\t\t300,\t\t36500,\t2,\t\t0.13149964346031\r\n2400,\t\t300,\t\t36500,\t7,\t\t0.13146362010871\r\n2400,\t\t300,\t\t36500,\t7,\t14,\t0.91843145432708\r\n2400,\t\t300,\t\t120,\t1,\t2,\t40.00\r\n2400,\t\t300,\t\t10,\t1,\t2,\t480.00\r\n2400,\t\t300,\t\t10,\t2,\t1.5,\t306.00\r\n2400,\t\t300,\t\t10,\t10,\t\t22.12254720000030\r\n10000,\t\t1000,\t\t5,\t1,\t\t4000.00\r\n10000,\t\t1000,\t\t5,\t2,\t\t2400.00\r\n10000,\t\t1000,\t\t5,\t3,\t\t1440.00\r\n10000,\t\t1000,\t\t5,\t4,\t\t864.00\r\n10000,\t\t1000,\t\t5,\t5,\t\t296.00\r\n-2400,\t\t300,\t\t36500,\t1,\t\t\"#NUM!\"\r\n\"ABC\",\t\t300,\t\t36500,\t1,\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/DISC.data",
    "content": "#settlement\tmaturity\tprice\tredemption\tbasis\tresult\r\n\"2007-01-25\",\t\"2007-06-15\",\t97.975,\t100,\t\t1,\t0.052420213\r\n\"2010-04-01\",\t\"2015-03-31\",\t95,\t100,\t\t\t0.01\r\n\"2010-04-01\",\t\"2015-03-31\",\t0,\t100,\t\t\t\"#NUM!\"\r\n\"2010-04-01\",\t\"2015-03-31\",\t\"ABC\",\t100,\t\t\t\"#VALUE!\"\r\n\"Invalid Date\",\t\"2007-06-15\",\t97.975,\t100,\t\t1,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/DOLLARDE.data",
    "content": "#fractional_dollar\tfraction\tresult\r\n1.02,\t\t\t16,\t\t1.125\r\n1.1,\t\t\t32,\t\t1.3125\r\n1.01,\t\t\t16,\t\t1.0625\r\n1.1,\t\t\t16,\t\t1.625\r\n1.03,\t\t\t32,\t\t1.09375\r\n1.3,\t\t\t32,\t\t1.9375\r\n1.12,\t\t\t32,\t\t1.375\r\n1.2345,\t\t\t0,\t\t\"#DIV/0!\"\r\n1.2345,\t\t\t-2,\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/DOLLARFR.data",
    "content": "#decimal_dollar\t\tfraction\tresult\r\n1.125,\t\t\t16,\t\t1.02\r\n1.125,\t\t\t32,\t\t1.04\r\n1.0625,\t\t\t16,\t\t1.01\r\n1.625,\t\t\t16,\t\t1.1\r\n1.09375,\t\t32,\t\t1.03\r\n1.9375,\t\t\t32,\t\t1.3\r\n1.375,\t\t\t32,\t\t1.12\r\n1.2345,\t\t\t0,\t\t\"#DIV/0!\"\r\n1.2345,\t\t\t-2,\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/EFFECT.data",
    "content": "#nominal_rate\tnpery\tResult\r\n0.0525,\t\t4,\t0.053542667370758\r\n0.10,\t\t4,\t0.103812890625\r\n0.10,\t\t2,\t0.1025\r\n0.025,\t\t2,\t0.02515625\r\n1,\t\t0,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/FV.data",
    "content": "#rate\t\tnper\tpmt\tpv\ttype\tResult\r\n0.005,\t\t10,\t-200,\t-500,\t1,\t2581.4033740601\r\n0.01,\t\t12,\t-1000,\t\t\t12682.503013197\r\n0.009166666667,\t35,\t-2000,\t,\t1,\t82846.246372418\r\n0.005,\t\t12,\t-100,\t-1000,\t1,\t2301.4018303409\r\n0.004166666667,\t60,\t-1000,\t\t\t68006.082841536\r\n0.025,\t\t16,\t-2000,\t0,\t1,\t39729.460894166\r\n0.1,\t\t12,\t-100,\t0,\t2,\t\"#NUM!\"\r\n0.0,\t\t12,\t-100,\t-100,\t\t1300\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/FVSCHEDULE.data",
    "content": "#principal\tschedule\t\t\tResult\r\n1,\t\t{0.09|0.11|0.1},\t\t1.33089\r\n10,\t\t{0.09;0.11;0.1},\t\t13.3089\r\n10000,\t\t{0.05|0.05|0.035|0.035|0.035},\t12223.614571875\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/INTRATE.data",
    "content": "#Settlement\tMaturity\tInvestment\tRedemption\tBasis\tResult\r\n\"2008-02-15\",\t\"2008-05-15\",\t1000000,\t1014420,\t2,\t0.05768\r\n\"2005-04-01\",\t\"2010-03-31\",\t1000,\t\t2125,\t\t\t0.225\r\n\"2008-02-15\",\t\"2008-05-15\",\t1000000,\t1014420,\t\"ABC\",\t\"#VALUE!\"\r\n\"2008-02-15\",\t\"2008-05-15\",\t1000000,\t-1014420,\t2,\t\"#NUM!\"\r\n\"Invalid Date\",\t\"2008-05-15\",\t1000000,\t1014420,\t2,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/IPMT.data",
    "content": "#rate\t\tper\tnper\tpv\t\tfv\t\ttype\tResult\r\n0.008333333333,\t3,\t3,\t8000,\t\t\t\t\t-22.406893015021\r\n0.10,\t\t3,\t3,\t8000,\t\t\t\t\t-292.44712990937\r\n0.004166666667,\t1,\t60,\t50000,\t\t\t\t\t-208.33333335\r\n0.004166666667,\t2,\t60,\t50000,\t\t\t\t\t-205.26988189617\r\n0.00875,\t1,\t8,\t10000,\t\t5000,\t\t1,\t0.00\r\n0.00875,\t2,\t8,\t10000,\t\t5000,\t\t1,\t-70.968650395559\r\n0.005,\t\t2,\t8,\t2500,\t\t200,\t\t6,\t\"#NUM!\"\r\n0.005,\t\t8,\t2,\t2500,\t\t200,\t\t1,\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/IRR.data",
    "content": "#values\t\t\t\t\tguess\tResult\r\n{-70000;12000;15000;18000;21000},\t\t-0.021244848273410\r\n{-70000;12000;15000;18000;21000;26000},\t\t0.08663094803652\r\n{-70000;12000;15000;18000},\t\t0.10,\t-0.18213746414550\r\n{-100;20|24|28.80},\t\t\t\t-0.13618951095869\r\n{-100;20|24|28.80|34.56|41.47},\t\t\t0.130575756371527\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/ISPMT.data",
    "content": "#rate\t\tper\tnper\tpv\t\tresult\r\n0.008333333333,\t1,\t36,\t8000000,\t-64814.814812222\r\n0.10,\t\t1,\t3,\t8000000,\t-533333.33333333\r\n0.004166666667,\t1,\t60,\t50000,\t\t-204.8611111275\r\n0.004166666667,\t2,\t60,\t50000,\t\t-201.388888905\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/MIRR.data",
    "content": "#values\t\t\t\t\t\tfinance_rate\treinvestment_rate\tResult\r\n{-120000;39000|30000|21000|37000|46000},\t0.10,\t\t0.12,\t\t\t0.12609413036591\r\n{-120000;39000|30000|21000},\t\t\t0.10,\t\t0.12,\t\t\t-0.048044655249981\r\n{-120000;39000|30000|21000|37000|46000},\t0.10,\t\t0.14,\t\t\t0.13475911082831\r\n{-100;12|14|11},\t\t\t\t5.5,\t\t5,\t\t\t0.74021752686287\r\n{-100;12|14|11|13|16},\t\t\t\t5.5,\t\t5,\t\t\t1.8579321744785\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/NOMINAL.data",
    "content": "#effect_rate\tnpery\tresult\r\n0.053543,\t4,\t0.052500319868356\r\n0.10,\t\t4,\t0.09645475633778\r\n0.10,\t\t2,\t0.097617696340303\r\n0.025,\t\t12,\t0.024718035238113\r\n-0.025,\t\t12,\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/NPER.data",
    "content": "#rate\t\tpmt\tpv\tfv\ttype\tresult\r\n0.01,\t\t-100,\t-1000,\t10000,\t1,\t59.673865674295\r\n0.01,\t\t-100,\t-1000,\t10000,\t\t60.082122853762\r\n0.01,\t\t-100,\t-1000,\t\t\t-9.5785940398132\r\n0.003333333333,\t-1000,\t50000,\t\t\t54.78757726\r\n0.015,\t\t-1200,\t9000,\t5000,\t1,\t11.90373729\r\n0.015,\t\t-1200,\t9000,\t5000,\t2,\t\"#NUM!\"\r\n0.015,\t\t0.0,\t0.0,\t5000,\t1,\t\"#NUM!\"\r\n0.0,\t\t0.0,\t-500,\t5000,\t1,\t\"#NUM!\"\r\n0.0,\t\t-50,\t-250,\t150,\t1,\t-2.0\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/NPV.data",
    "content": "#rate\t\tvalues\t\t\t\t\tresult\r\n0.10,\t-10000,\t3000,\t4200,\t6800,\t\t\t1188.4434123352\r\n0.08,\t8000,\t9200,\t10000,\t12000,\t14500,\t\t41922.061554932\r\n0.08,\t8000,\t9200,\t10000,\t12000,\t14500,\t-9000,\t36250.534912984\r\n0.05,\t2000,\t2400,\t2900,\t3500,\t4100,\t\t12678.677633095\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/PRICE.data",
    "content": "#Settlement\tMaturity\tRate\tYield\tRedemption\tFrequency\tBasis\tResult\r\n\"15-Feb-2008\",\t\"15-Nov-2017\",\t0.0575,\t0.065,\t100,\t\t2,\t\t0,\t94.6343616213221\r\n\"15-Feb-2008\",\t\"15-Nov-2017\",\t0.0575,\t0.065,\t100,\t\t2,\t\t1,\t94.6354492078772\r\n\"15-Feb-2008\",\t\"15-Nov-2017\",\t0.0575,\t0.065,\t100,\t\t2,\t\t2,\t94.6365640300251\r\n\"15-Feb-2008\",\t\"15-Nov-2017\",\t0.0575,\t0.065,\t100,\t\t2,\t\t3,\t94.6351747967845\r\n\"01-Apr-2012\",\t\"31-Mar-2020\",\t0.12,\t0.10,\t100,\t\t2,\t\tNULL,\t110.8344835932160\r\n\"01-Apr-2012\",\t\"31-Mar-2020\",\t0.12,\t0.10,\t100,\t\t2,\t\t1,\t110.8345373958590\r\n\"01-Apr-2012\",\t\"31-Mar-2020\",\t0.12,\t0.10,\t100,\t\t2,\t\t2,\t110.8344835932160\r\n\"01-Apr-2012\",\t\"31-Mar-2020\",\t0.12,\t0.10,\t100,\t\t2,\t\t3,\t110.8345285514390\r\n\"01-Apr-2012\",\t\"31-Mar-2020\",\t0.12,\t0.10,\t100,\t\t4,\t\t3,\t110.9217329631980\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/RATE.data",
    "content": "#Periods\tPayment\tPresent Value\tFuture Value\tType\tGuess\tResult\r\n48,\t\t-200,\t8000,\t\t\t\t\t\t0.0077014724882014\r\n60,\t\t-6000,\t120000,\t\t\t\t\t\t0.0467819164224934\r\n60,\t\t-1000,\t120000,\t\t\t\t\t\t-0.0204429522193565\r\n24,\t\t-250,\t5000,\t\t\t\t\t\t0.0151308439023434\r\n24,\t\t-250,\t5000,\t\tNULL,\t\t1,\t\t0.0165501190667120\r\n208,\t\t-700,\t8000,\t\t\t\t\t\t0.0874999976840937\r\n10,\t\t-1000,\t6500,\t\t\t\t\t\t0.0871137556058636\r\n6,\t\t-1000,\t100000,\t\t-126068,\t\t\t0.0484721272835728\r\n6,\t\t1000,\t100000,\t\t-126068,\t\t\t0.0302728738275435\r\n6,\t\t-1000,\t-100000,\t126068,\t\t0,\t\t0.0302728738275437\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Financial/XIRR.data",
    "content": "#values\t\t\t\t\tdates\t\t\t\t\t\t\t\t\t\tguess\tResult\r\n{-10000;2750|4250|3250|2750|46000},\t{\"2008-01-01\";\"2008-03-01\"|\"2008-10-30\"|\"2009-02-15\"|\"2009-04-01\"},\t\t0.10,\t0.373362535\r\n{-100;20|40|25},\t\t\t{\"2010-01-01\";\"2010-04-01\"|\"2010-10-01\"|\"2011-02-01\"},\t\t\t\t\t-0.3024\r\n{-100;20|40|25|8|15},\t\t\t{\"2010-01-01\";\"2010-04-01\"|\"2010-10-01\"|\"2011-02-01\"|\"2011-03-01\"|\"2011-06-01\"},\t0.2095\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/ERROR_TYPE.data",
    "content": "\t\t\"#N/A\"\r\nNULL,\t\t\"#N/A\"\r\n-1,\t\t\"#N/A\"\r\n1.25,\t\t\"#N/A\"\r\n\"\",\t\t\"#N/A\"\r\n\"2.5\",\t\t\"#N/A\"\r\nTRUE,\t\t\"#N/A\"\r\n\"#NULL!\",\t1\r\n\"#DIV/0!\",\t2\r\n\"#VALUE!\",\t3\r\n\"#REF!\",\t4\r\n\"#NAME?\",\t5\r\n\"#NUM!\",\t6\r\n\"#N/A\",\t\t7\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_BLANK.data",
    "content": "\t\tTRUE\r\nNULL,\t\tTRUE\r\n-1,\t\tFALSE\r\n0,\t\tFALSE\r\n9,\t\tFALSE\r\n1.5,\t\tFALSE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tFALSE\r\n\"#N/A\",\t\tFALSE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tFALSE\r\nFALSE,\t\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_ERR.data",
    "content": "\t\tFALSE\r\nNULL,\t\tFALSE\r\n-1,\t\tFALSE\r\n0,\t\tFALSE\r\n9,\t\tFALSE\r\n1.5,\t\tFALSE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tTRUE\r\n\"#N/A\",\t\tFALSE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tFALSE\r\nFALSE,\t\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_ERROR.data",
    "content": "\t\tFALSE\r\nNULL,\t\tFALSE\r\n-1,\t\tFALSE\r\n0,\t\tFALSE\r\n9,\t\tFALSE\r\n1.5,\t\tFALSE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tTRUE\r\n\"#N/A\",\t\tTRUE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tFALSE\r\nFALSE,\t\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_EVEN.data",
    "content": "\t\t\"#NAME?\"\r\nNULL,\t\t\"#NAME?\"\r\n-1,\t\tFALSE\r\n0,\t\tTRUE\r\n9,\t\tFALSE\r\n1.25,\t\tFALSE\r\n1.5,\t\tFALSE\r\n2.25,\t\tTRUE\r\n2.5,\t\tTRUE\r\n\"\",\t\t\"#VALUE!\"\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tTRUE\r\n\"-1.5\",\t\tFALSE\r\n\"2.5\",\t\tTRUE\r\n\"ABC\",\t\t\"#VALUE!\"\r\n\"#VALUE!\",\t\"#VALUE!\"\r\n\"#N/A\",\t\t\"#VALUE!\"\r\n\"TRUE\",\t\t\"#VALUE!\"\r\nTRUE,\t\t\"#VALUE!\"\r\nFALSE,\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_LOGICAL.data",
    "content": "\t\tFALSE\r\nNULL,\t\tFALSE\r\n-1,\t\tFALSE\r\n0,\t\tFALSE\r\n9,\t\tFALSE\r\n1.5,\t\tFALSE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tFALSE\r\n\"#N/A\",\t\tFALSE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tTRUE\r\nFALSE,\t\tTRUE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_NA.data",
    "content": "\t\tFALSE\r\nNULL,\t\tFALSE\r\n-1,\t\tFALSE\r\n0,\t\tFALSE\r\n9,\t\tFALSE\r\n1.5,\t\tFALSE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tFALSE\r\n\"#N/A\",\t\tTRUE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tFALSE\r\nFALSE,\t\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_NONTEXT.data",
    "content": "\t\tTRUE\r\nNULL,\t\tTRUE\r\n-1,\t\tTRUE\r\n0,\t\tTRUE\r\n9,\t\tTRUE\r\n1.5,\t\tTRUE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tTRUE\r\n\"#N/A\",\t\tTRUE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tTRUE\r\nFALSE,\t\tTRUE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_NUMBER.data",
    "content": "\t\tFALSE\r\nNULL,\t\tFALSE\r\n-1,\t\tTRUE\r\n0,\t\tTRUE\r\n9,\t\tTRUE\r\n1.5,\t\tTRUE\r\n\"\",\t\tFALSE\r\n\"-1\",\t\tFALSE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tFALSE\r\n\"ABC\",\t\tFALSE\r\n\"#VALUE!\",\tFALSE\r\n\"#N/A\",\t\tFALSE\r\n\"TRUE\",\t\tFALSE\r\nTRUE,\t\tFALSE\r\nFALSE,\t\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_ODD.data",
    "content": "\t\t\"#NAME?\"\r\nNULL,\t\t\"#NAME?\"\r\n-1,\t\tTRUE\r\n0,\t\tFALSE\r\n9,\t\tTRUE\r\n1.25,\t\tTRUE\r\n1.5,\t\tTRUE\r\n2.25,\t\tFALSE\r\n2.5,\t\tFALSE\r\n\"\",\t\t\"#VALUE!\"\r\n\"-1\",\t\tTRUE\r\n\"2\",\t\tFALSE\r\n\"-1.5\",\t\tTRUE\r\n\"2.5\",\t\tFALSE\r\n\"ABC\",\t\t\"#VALUE!\"\r\n\"#VALUE!\",\t\"#VALUE!\"\r\n\"#N/A\",\t\t\"#VALUE!\"\r\n\"TRUE\",\t\t\"#VALUE!\"\r\nTRUE,\t\t\"#VALUE!\"\r\nFALSE,\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/IS_TEXT.data",
    "content": "\t\tFALSE\r\nNULL,\t\tFALSE\r\n-1,\t\tFALSE\r\n0,\t\tFALSE\r\n9,\t\tFALSE\r\n1.5,\t\tFALSE\r\n\"\",\t\tTRUE\r\n\"-1\",\t\tTRUE\r\n\"2\",\t\tTRUE\r\n\"-1.5\",\t\tTRUE\r\n\"ABC\",\t\tTRUE\r\n\"#VALUE!\",\tFALSE\r\n\"#N/A\",\t\tFALSE\r\n\"TRUE\",\t\tTRUE\r\nTRUE,\t\tFALSE\r\nFALSE,\t\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/N.data",
    "content": "\t\t\t0\r\nNULL,\t\t\t0\r\n-1,\t\t\t-1\r\n1.25,\t\t\t1.25\r\n\"\",\t\t\t0\r\n\"2.5\",\t\t\t0\r\n\"TRUE\",\t\t\t0\r\n\"ABCDE\",\t\t0\r\nTRUE,\t\t\t1\r\n\"#DIV/0!\",\t\t\"#DIV/0!\"\r\n\"#NUM!\",\t\t\"#NUM!\"\r\n{},\t\t\t0\r\n{123},\t\t\t123\r\n{123|456},\t\t123\r\n{123|\"A\"},\t\t123\r\n{\"A\"|123},\t\t0\r\n{\"A\"|123;456|789},\t0\r\n{123|\"A\";456|789},\t123\r\n{123|456;\"A\"|789},\t123\r\n{123|456;789|\"A\"},\t123\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Functions/TYPE.data",
    "content": "\t\t\t1\r\nNULL,\t\t\t1\r\n-1,\t\t\t1\r\n1.25,\t\t\t1\r\n\"\",\t\t\t2\r\n\"2.5\",\t\t\t2\r\n\"TRUE\",\t\t\t2\r\n\"ABCDE\",\t\t2\r\nTRUE,\t\t\t4\r\n\"#DIV/0!\",\t\t16\r\n\"#NUM!\",\t\t16\r\n{},\t\t\t1\r\n{1},\t\t\t1\r\n{1;2;3},\t\t64\r\n{1|2|3;4|5|6;7|8|9},\t64\r\n{|;|},\t\t\t64\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Logical/AND.data",
    "content": "\"#VALUE!\"\t\t\t\t\t//\tNo arguments\r\nNULL,\tTRUE\t\t\t\t\t//\tNULL\r\nTRUE,\tNULL,\tTRUE\t\t\t\t//\tBoolean TRUE and NULL\r\nFALSE,\tNULL,\tFALSE\t\t\t\t//\tBoolean FALSE and NULL\r\nTRUE,\tTRUE,\tTRUE\t\t\t\t//\tBoth TRUE Booleans\r\nTRUE,\tFALSE,\tFALSE\t\t\t\t//\tMixed Booleans\r\nFALSE,\tTRUE,\tFALSE\t\t\t\t//\tMixed Booleans\r\nFALSE,\tFALSE,\tFALSE\t\t\t\t//\tBoth FALSE Booleans\r\nTRUE,\tTRUE,\tFALSE,\tFALSE\t\t\t//\tMultiple Mixed Booleans\r\nTRUE,\tTRUE,\tTRUE,\tTRUE\t\t\t//\tMultiple TRUE Booleans\r\nFALSE,\tFALSE,\tFALSE,\tFALSE,\tFALSE\t\t//\tMultiple FALSE Booleans\r\n-1,\t-2,\tTRUE\r\n0,\t0,\tFALSE\r\n0,\t1,\tFALSE\r\n1,\t1,\tTRUE\r\n\"1\",1,\t\"#VALUE!\"\r\n\"TRUE\",\t1,\tTRUE\t\t\t\t//\t'TRUE' String\r\n\"FALSE\",TRUE,\tFALSE\t\t\t\t//\t'FALSE' String\r\n\"ABCD\",\t1,\t\"#VALUE!\"\t\t\t//\tNon-numeric String\r\n-2,\t1,\tTRUE\r\n-2,\t0,\tFALSE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Logical/IF.data",
    "content": "0\r\nTRUE,\t0\r\nFALSE,\tFALSE\r\nTRUE,\t\"ABC\",\t\"ABC\"\r\nFALSE,\t\"ABC\",\tFALSE\r\nTRUE,\t\"ABC\",\t\"XYZ\",\t\"ABC\"\r\nFALSE,\t\"ABC\",\t\"XYZ\",\t\"XYZ\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Logical/IFERROR.data",
    "content": ",\t\t\"Error\",\tNULL\r\nTRUE,\t\t\"Error\",\tTRUE\r\n42,\t\t\"Error\",\t42\r\n\"\",\t\t\"Error\",\t\"\"\r\n\"ABC\",\t\t\"Error\",\t\"ABC\"\r\n\"#VALUE!\",\t\"Error\",\t\"Error\"\r\n\"#NAME?\",\t\"Error\",\t\"Error\"\r\n\"#N/A\",\t\t\"Error\",\t\"Error\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Logical/NOT.data",
    "content": "TRUE\r\nNULL,\tTRUE\r\n-1,\tFALSE\r\n0,\tTRUE\r\n1,\tFALSE\r\n2,\tFALSE\r\n-1.5,\tFALSE\r\n1.5,\tFALSE\r\n\"-1\",\t\"#VALUE!\"\r\n\"0\",\t\"#VALUE!\"\r\n\"1\",\t\"#VALUE!\"\r\n\"2\",\t\"#VALUE!\"\r\n\"-1.5\",\t\"#VALUE!\"\r\n\"1.5\",\t\"#VALUE!\"\r\n\"\",\t\"#VALUE!\"\r\n\"ABC\",\t\"#VALUE!\"\r\n\"FALSE\",TRUE\r\n\"TRUE\",\tFALSE\r\nTRUE,\tFALSE\r\nFALSE,\tTRUE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/Logical/OR.data",
    "content": "\"#VALUE!\"\t\t\t\t//\tNo arguments\r\nNULL,\tFALSE\t\t\t\t//\tNULL\r\nTRUE,\tNULL,\tTRUE\t\t\t//\tBoolean TRUE and NULL\r\nFALSE,\tNULL,\tFALSE\t\t\t//\tBoolean FALSE and NULL\r\nTRUE,\tTRUE,\tTRUE\t\t\t//\tBoth TRUE Booleans\r\nTRUE,\tFALSE,\tTRUE\t\t\t//\tMixed Booleans\r\nFALSE,\tTRUE,\tTRUE\t\t\t//\tMixed Booleans\r\nFALSE,\tFALSE,\tFALSE\t\t\t//\tBoth FALSE Booleans\r\nTRUE,\tTRUE,\tFALSE,\tTRUE\t\t//\tMultiple Mixed Booleans\r\nTRUE,\tTRUE,\tTRUE,\tTRUE\t\t//\tMultiple TRUE Booleans\r\nFALSE,\tFALSE,\tFALSE,\tFALSE,\tFALSE\t//\tMultiple FALSE Booleans\r\n-1,\t-2,\tTRUE\r\n0,\t0,\tFALSE\r\n0,\t1,\tTRUE\r\n1,\t1,\tTRUE\r\n\"TRUE\",\t1,\tTRUE\t\t\t//\t'TRUE' String\r\n\"FALSE\",TRUE,\tTRUE\t\t\t//\t'FALSE' String\r\n\"ABCD\",\t1,\t\"#VALUE!\"\t\t//\tNon-numeric String\r\n-2,\t1,\tTRUE\r\n-2,\t0,\tTRUE\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/LookupRef/HLOOKUP.data",
    "content": "10251,\t\t{\"Order ID\"|10247|10249|10250|10251|10252|10253;\"Unit Price\"|14.00|18.60|7.70|16.80|16.80|64.80;\"Quantity\"|12|9|10|6|20|40},\t2,\tFALSE,\t16.8\n10251,\t\t{\"Order ID\"|10247|10249|10250|10251|10252|10253;\"Unit Price\"|14.00|18.60|7.70|16.80|16.80|64.80;\"Quantity\"|12|9|10|6|20|40},\t3,\tFALSE,\t6.0\n10248,\t\t{\"Order ID\"|10247|10249|10250|10251|10252|10253;\"Unit Price\"|14.00|18.60|7.70|16.80|16.80|64.80;\"Quantity\"|12|9|10|6|20|40},\t2,\tFALSE,\t\"#N/A\"\n10248,\t\t{\"Order ID\"|10247|10249|10250|10251|10252|10253;\"Unit Price\"|14.00|18.60|7.70|16.80|16.80|64.80;\"Quantity\"|12|9|10|6|20|40},\t2,\tTRUE,\t14.0\n\"Axles\",\t{\"Axles\"|\"Bearings\"|\"Bolts\";4|4|9;5|7|10;6|8|11},\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t2,\tTRUE,\t4\n\"Bearings\",\t{\"Axles\"|\"Bearings\"|\"Bolts\";4|4|9;5|7|10;6|8|11},\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t3,\tFALSE,\t7\n\"B\",\t\t{\"Axles\"|\"Bearings\"|\"Bolts\";4|4|9;5|7|10;6|8|11},\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t3,\tTRUE,\t5\n\"Bolts\",\t{\"Axles\"|\"Bearings\"|\"Bolts\";4|4|9;5|7|10;6|8|11},\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t4,\t\t\t11\n3,\t\t\t{1|2|3;\"a\"|\"b\"|\"c\";\"d\"|\"e\"|\"f\"},\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t2,\tTRUE,\t\"c\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/LookupRef/VLOOKUP.data",
    "content": "1,\t\t{\"Density\"|\"Viscosity\"|\"Temperature\";0.457|3.55|500;0.525|3.25|400;0.616|2.93|300;0.675|2.75|250;0.746|2.57|200;0.835|2.38|150;0.946|2.17|100;1.09|1.95|50;1.29|1.71|0},\t2,\tFALSE,\t2.17\n1,\t\t{\"Density\"|\"Viscosity\"|\"Temperature\";0.457|3.55|500;0.525|3.25|400;0.616|2.93|300;0.675|2.75|250;0.746|2.57|200;0.835|2.38|150;0.946|2.17|100;1.09|1.95|50;1.29|1.71|0},\t3,\tTRUE,\t100\n.7,\t\t{\"Density\"|\"Viscosity\"|\"Temperature\";0.457|3.55|500;0.525|3.25|400;0.616|2.93|300;0.675|2.75|250;0.746|2.57|200;0.835|2.38|150;0.946|2.17|100;1.09|1.95|50;1.29|1.71|0},\t3,\tFALSE,\t\"#N/A\"\n0.1,\t\t{\"Density\"|\"Viscosity\"|\"Temperature\";0.457|3.55|500;0.525|3.25|400;0.616|2.93|300;0.675|2.75|250;0.746|2.57|200;0.835|2.38|150;0.946|2.17|100;1.09|1.95|50;1.29|1.71|0},\t2,\tTRUE,\t\"#N/A\"\n2,\t\t{\"Density\"|\"Viscosity\"|\"Temperature\";0.457|3.55|500;0.525|3.25|400;0.616|2.93|300;0.675|2.75|250;0.746|2.57|200;0.835|2.38|150;0.946|2.17|100;1.09|1.95|50;1.29|1.71|0},\t2,\tTRUE,\t1.71\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/ATAN2.data",
    "content": "#x_num\ty_num\tResult\r\n0,\t0,\t\"#DIV/0!\"\r\n1,\t1,\t0.785398163397\r\n-1,\t-1,\t-2.356194490192\r\n-1,\t1,\t2.356194490192\r\n1,\t-1,\t-0.785398163397\r\n0.5,\t1,\t1.107148717794\r\n-0.5,\t2,\t1.815774989922\r\n1,\t0.8,\t0.674740942224\r\n0.8,\t-0.6,\t-0.643501108793\r\n1,\t-9,\t-1.460139105621\r\n0.2,\t0,\t0.0\r\n0.1,\t0.2,\t1.107148717794\r\n0,\t0.2,\t1.570796326795\r\n\"A\",\t0.2,\t\"#VALUE!\"\r\nTRUE,\t1,\t0.785398163397\r\nFALSE,\t-2.5,\t-1.570796326795\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/CEILING.data",
    "content": "#number\t\tsignificance\tresult\r\n2.5,\t\t1,\t\t3.0\r\n-2.5,\t\t-2,\t\t-4.0\r\n1.5,\t\t0.1,\t\t1.5\r\n0.234,\t\t0.01,\t\t0.24\r\n-2.341,\t\t-0.1,\t\t-2.4\r\n8,\t\t0,\t\t0.0\r\n8,\t\t1.5,\t\t9.0\r\n8,\t\t-1.5,\t\t\"#NUM!\"\r\n-8,\t\t1.5,\t\t\"#NUM!\"\r\n-8,\t\t-1.5,\t\t-9.0\r\n8.26,\t\t0.05,\t\t8.3\r\n2.341,\t\t0.05,\t\t2.35\r\n123.456,\t\t\t\"#VALUE!\"\r\n\"PHPExcel\",\t\t\t\"#VALUE!\"\r\n210.67,\t\t1,\t\t211.0\r\n210.67,\t\t0.05,\t\t210.70\r\n210.63,\t\t0.05,\t\t210.65\r\n2.98,\t\t2,\t\t4.0\r\n-2.98,\t\t2,\t\t\"#NUM!\"\r\n-4.5,\t\t-1,\t\t-5.0\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/COMBIN.data",
    "content": "#NumObjs\tNumInSet\tResult\r\n7,\t\t3,\t\t35\r\n8,\t\t2,\t\t28\r\n8,\t\t3,\t\t56\r\n8,\t\t4,\t\t70\r\n100,\t\t3,\t\t161700\r\n-7,\t\t-10,\t\t\"#NUM!\"\r\n-7,\t\t10,\t\t\"#NUM!\"\r\n7,\t\t-10,\t\t\"#NUM!\"\r\n2,\t\t3,\t\t\"#NUM!\"\r\n2,\t\t2,\t\t1\r\n2,\t\t1,\t\t2\r\n2,\t\t0,\t\t1\r\n2.5,\t\t2,\t\t1\r\n\"ABCD\",\t\t\"EFGH\",\t\t\"#VALUE!\"\r\n10,\t\t5,\t\t252\r\n10,\t\t3,\t\t120\r\n21,\t\t5,\t\t20349\r\n6,\t\t1,\t\t6\r\n6,\t\t2,\t\t15\r\n6,\t\t3,\t\t20\r\n6,\t\t4,\t\t15\r\n6,\t\t5,\t\t6\r\n6,\t\t6,\t\t1\r\n6,\t\t7,\t\t\"#NUM!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/EVEN.data",
    "content": ",\t0\r\n5.4,\t6\r\n-5.4,\t-6\r\n1.5,\t2\r\n0.1,\t2\r\n3,\t4\r\n2,\t2\r\n-2,\t-2\r\n-1,\t-2\r\n\"ABC\",\t\"#VALUE!\"\r\nTRUE,\t2\r\nFALSE,\t0\r\n0,\t0\r\n210.61,\t212\r\n2.98,\t4\r\n-2.98,\t-4\r\n6,\t6\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/FACT.data",
    "content": "5,\t120\r\n1.9,\t1\r\n0,\t1\r\n-4,\t\"#NUM!\"\r\n1,\t1\r\n3,\t6\r\n6,\t720\r\n10,\t3628800\r\n3.2,\t6\r\n\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/FACTDOUBLE.data",
    "content": "0,\t1\r\n6,\t48\r\n7,\t105\r\n5,\t15\r\n8,\t384\r\n13,\t135135\r\n-1,\t\"#NUM!\"\r\n\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/FLOOR.data",
    "content": "2.5,\t1,\t2\r\n-2.5,\t-2,\t-2\r\n-2.5,\t2,\t\"#NUM!\"\r\n2.5,\t-2,\t\"#NUM!\"\r\n123.456,0,\t\"#DIV/0!\"\r\n1.5,\t0.1,\t1.5\r\n0.234,\t0.01,\t0.23\r\n123.456,\t\"#VALUE!\"\r\n\"ABC\",\t\t\"#VALUE!\"\r\n17,\t3,\t15\r\n19,\t4,\t16\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/GCD.data",
    "content": "5,\t2,\t\t1\r\n24,\t36,\t\t12\r\n7,\t1,\t\t1\r\n5,\t0,\t\t5\r\n30,\t15,\t10,\t5\r\n42,\t56,\t140,\t14\r\n24,\t28,\t40,\t4\r\n27,\t45,\t54,\t9\r\n84,\t126,\t196,\t14\r\n3,\t5,\t7,\t1\r\n3,\t5,\t0,\t1\r\n3,\t5,\t-7,\t\"#NUM!\"\r\n3,\t6,\t12,\t3\r\n3,\t6,\t\"12\",\t3\r\n3,\t6,\t\"ABC\",\t\"#VALUE!\"\r\n3,\t\t\t3\r\n15,\t10,\t25,\t5\r\n0,\t8,\t12,\t4\r\n7,\t2,\t\t1\r\n0,\t0,\t\t0\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/INT.data",
    "content": ",\t0\r\n5.4,\t5\r\n-5.4,\t-6\r\n-3.2,\t-4\r\n1.5,\t1\r\n0.1,\t0\r\n-0.1,\t-1\r\n3,\t3\r\n2,\t2\r\n-2.01,\t-3\r\n-2,\t-2\r\n-1,\t-1\r\n\"ABC\",\t\"#VALUE!\"\r\nTRUE,\t1\r\nFALSE,\t0\r\n0,\t0\r\n\"-3.5\",\t-4\r\n8.9,\t8\r\n-8.9,\t-9\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/LCM.data",
    "content": "5,\t2,\t\t10\r\n24,\t36,\t\t72\r\n3,\t7,\t12,\t84\r\n24.9,\t36.9,\t\t72\r\n6,\t22,\t121,\t726\r\n6,\t\"ABC\",\t\t\"#VALUE!\"\r\n24,\t-12,\t\t\"#NUM!\"\r\n3,\t0,\t\t0\r\n1,\t5,\t\t5\r\n15,\t10,\t25,\t150\r\n1,\t8,\t12,\t24\r\n7,\t2,\t\t14\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/LOG.data",
    "content": "#number\tbase\t\tresult\r\n\"ABC\",\t\t\t\"#VALUE!\"\r\n\"123ABC\",\t\t\"#VALUE!\"\r\n1.2345,\t\t\t0.0914910942679511\r\n-1.5,\t-0.75,\t\t\"#NUM!\"\r\n0,\t-0.75,\t\t\"#NUM!\"\r\n3.75,\t-0.75,\t\t\"#NUM!\"\r\n-1.5,\t0,\t\t\"#NUM!\"\r\n0,\t0,\t\t\"#NUM!\"\r\n3.75,\t0,\t\t\"#NUM!\"\r\n-0.75,\t0.75,\t\t\"#NUM!\"\r\n0,\t0.75,\t\t\"#NUM!\"\r\n0.75,\t0.75,\t\t1.0\r\n1.5,\t0.75,\t\t-1.4094208396532100\r\n2.25,\t0.75,\t\t-2.8188416793064200\r\n3,\t0.75,\t\t-3.8188416793064200\r\n3.75,\t0.75,\t\t-4.5945019399978900\r\n4.5,\t0.75,\t\t-5.2282625189596300\r\n-0.75,\t1.5,\t\t\"#NUM!\"\r\n0,\t1.5,\t\t\"#NUM!\"\r\n0.75,\t1.5,\t\t-0.7095112913514550\r\n1.5,\t1.5,\t\t1.0\r\n2.25,\t1.5,\t\t2.0\r\n3,\t1.5,\t\t2.7095112913514500\r\n3.75,\t1.5,\t\t3.2598510045646600\r\n4.5,\t1.5,\t\t3.7095112913514500\r\n-0.75,\t2.25,\t\t\"#NUM!\"\r\n0,\t2.25,\t\t\"#NUM!\"\r\n0.75,\t2.25,\t\t-0.3547556456757270\r\n1.5,\t2.25,\t\t0.5\r\n2.25,\t2.25,\t\t1.0\r\n3,\t2.25,\t\t1.3547556456757300\r\n3.75,\t2.25,\t\t1.6299255022823300\r\n4.5,\t2.25,\t\t1.8547556456757300\r\n-0.75,\t3,\t\t\"#NUM!\"\r\n0,\t3,\t\t\"#NUM!\"\r\n0.75,\t3,\t\t-0.2618595071429150\r\n1.5,\t3,\t\t0.3690702464285430\r\n2.25,\t3,\t\t0.7381404928570850\r\n3,\t3,\t\t1.0\r\n3.75,\t3,\t\t1.2031140135750100\r\n4.5,\t3,\t\t1.3690702464285400\r\n-0.75,\t3.75,\t\t\"#NUM!\"\r\n0,\t3.75,\t\t\"#NUM!\"\r\n0.75,\t3.75,\t\t-0.2176514479827300\r\n1.5,\t3.75,\t\t0.3067624865675560\r\n2.25,\t3.75,\t\t0.6135249731351110\r\n3,\t3.75,\t\t0.8311764211178410\r\n3.75,\t3.75,\t\t1.0\r\n4.5,\t3.75,\t\t1.1379389076854000\r\n-0.75,\t4.5,\t\t\"#NUM!\"\r\n0,\t4.5,\t\t\"#NUM!\"\r\n0.75,\t4.5,\t\t-0.1912681309275550\r\n1.5,\t4.5,\t\t0.2695772896908150\r\n2.25,\t4.5,\t\t0.5391545793816300\r\n3,\t4.5,\t\t0.7304227103091850\r\n3.75,\t4.5,\t\t0.8787817986064220\r\n4.5,\t4.5,\t\t1.0\r\n64,\t2,\t\t6\r\n100,\t\t\t2\r\n4,\t0.5,\t\t-2\r\n500,\t\t\t2.698970004336\r\n10,\t\t\t1\r\n8,\t2,\t\t3\r\n86,\t2.7182818,\t4.454347342888\r\n20,\t\t\t1.301029995664\r\n20,\t10,\t\t1.301029995664\r\n20,\t25,\t\t0.930676558073\r\n25,\t5.1,\t\t1.975690971574\r\n200,\t3,\t\t4.822736302150\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/MDETERM.data",
    "content": "{1|2|3;4|5|6;7|8|9},\t\t\t6.661338147750940E-16\r\n{1.1|2.2|3.3;4.4|5.5|6.6;7.7|8.8|9.9},\t1.61204383175573E-15\r\n{10|20|30;40|50|60;70|80|90},\t\t-4.26325641456060E-12\r\n{8|1|6;3|5|7;4|9|2},\t\t\t-3.6E+02\r\n{5|2;7|1},\t\t\t\t-9\r\n{6|4|2;3|5|3;2|3|4},\t\t\t40\r\n{0.2|1;0.35|10.8},\t\t\t1.81\r\n{0.2|1|-0.9;0.35|10.8|4;-3.15|5|},\t\"#VALUE!\"\r\n{1|2;3|4},\t\t\t\t-2\r\n{1|2|1;3|4|2;1|1|2},\t\t\t-3\r\n{1|3|8|5;1|3|6|1;1|1|1|0;7|3|10|2},\t88\r\n{3|6|1;1|1|0;3|10|2},\t\t\t1\r\n{3|6;1|1},\t\t\t\t-3\r\n{1|3|8|5;1|3|6|1},\t\t\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/MINVERSE.data",
    "content": "{1|2|3;4|5|6;7|8|9},    {-4.50359962737050E+15|9.00719925474099E+15|-4.50359962737050E+15;9.00719925474100E+15|-1.80143985094820E+16|9.00719925474099E+15;-4.50359962737050E+15|9.00719925474099E+15|-4.50359962737050E+15}\r\n{10|20|30;40|50|60;70|80|90},\t\t{7.03687441776639E+13|-1.40737488355328E+14|7.03687441776640E+13;-1.40737488355328E+14|2.81474976710656E+14|-1.40737488355328E+14;7.03687441776641E+13|-1.40737488355328E+14|7.03687441776640E+13}\r\n{8|1|6;3|5|7;4|9|2},\t\t\t{1.47222222222222E-01|-1.44444444444444E-01|6.38888888888889E-02;-6.11111111111111E-02|2.22222222222222E-02|1.05555555555556E-01;-1.94444444444444E-02|1.88888888888889E-01|-1.02777777777778E-01}\r\n{4|-1;2|0},\t\t\t\t{0|0.5;-1|2}\r\n{1|2|1;3|4|-1;0|2|0},\t\t\t{0.25|0.25|-0.75;0|0|0.5;0.75|-0.25|-0.25}\r\n{1|4|1|1;1|4|0|1;2|3|1|2;3|2|6|4},\t{3.2|-4.8|2.8|-1;0.2|0.2|0.2|0;1|-1|0|0;-4|5|-2|1}\r\n{0.2|1;0.35|10.8},\t\t\t{5.96685082872928|-0.55248618784530;-0.19337016574586|0.11049723756906}\r\n{0.2|1|-0.9;0.35|10.8|4;-3.15|5},\t\"#VALUE!\"\r\n{1|2;3|4},\t\t\t\t{-2|1;1.5|-0.5}\r\n{1|2|1;3|4|2;1|1|2},\t\t\t{-2|1|0;1.33333333333333|-0.33333333333333|-0.33333333333333;0.33333333333333|-0.33333333333333|0.66666666666667}\r\n{2|3;4|5},   {-2.5|1.5;2|-1}\r\n{5|8;7|9},  {-0.818181818181818|0.727272727272727;0.636363636363636|-0.454545454545455}\r\n{45|78;17|50},  {0.054112554112554|-0.084415584415584;-0.018398268398268|0.048701298701299}\r\n{2|2;2|1},   {-0.5|1.0;1|-1}\r\n{1|4|6;7|4|10;15|16|20},    {-0.2941176470588230|0.0588235294117647|0.0588235294117647;0.0367647058823529|-0.2573529411764710|0.1176470588235290;0.1911764705882350|0.1617647058823530|-0.0882352941176471}"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/MMULT.data",
    "content": "{1|2;3|4},\t\t{1|2;3|4},\t\t{7|10;15|22}\r\n{1|2|3;4|5|6;7|8|9},\t{1|2|3;4|5|6;7|8|9},\t{30|36|42;66|81|96;102|126|150}\r\n{1|2;3|4},\t\t2,\t\t\t\"#VALUE!\"   // Mismatched dimensions\r\n{1|2;3|4},\t\t{2},\t\t\t\"#VALUE!\"   // Mismatched dimensions\r\n{1.2;2.4},      {3.6|4.5},          {14.43|14.43;14.43|14.43}\r\n2,\t\t\t{1|2;3|4},\t\t\"#VALUE!\"   // Mismatched dimensions\r\n{2},\t\t\t{1|2;3|4},\t\t\"#VALUE!\"   // Mismatched dimensions\r\n{1|2;3|4},\t\t{2|4},\t\t\t\"#VALUE!\"\r\n{1|2;3|4},\t\t{2;4},\t\t\t{{10};{22}}\r\n{2|4},\t\t\t{1|2;3|4},\t\t{14|20}\r\n{2;4},\t\t\t{1|2;3|4},\t\t\"#VALUE!\"   // Mismatched dimensions\r\n{1|2;3|4;5|6},\t\t{1|2|3;4|5|6},\t\t{9|12|15;19|26|33;29|40|51}\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/MOD.data",
    "content": "19,\t17,\t2\r\n19,\t-13,\t-7\r\n34,\t17,\t0\r\n34,\t0,\t\"#DIV/0!\"\r\n3,\t2,\t1\r\n-3,\t2,\t1\r\n3,\t-2,\t-1\r\n-3,\t-2,\t-1\r\n2.5,\t1.3,\t1.2\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/MROUND.data",
    "content": "10,\t\t3,\t9\r\n-10,\t\t-3,\t-9\r\n1.3,\t\t0.2,\t1.4\r\n5,\t\t0,\t0\r\n3.14159,\t0.002,\t3.142\r\n-3.14159,\t-.02,\t-3.14\r\n31415.92654,\t10,\t31420\r\n31415.92654,\t1,\t31416\r\n5,\t\t-2,\t\"#NUM!\"\r\n\"ABC\",\t\t1,\t\"#VALUE!\"\r\n1.234,\t\t\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/MULTINOMIAL.data",
    "content": "2,\t3,\t4,\t\t1260\r\n3,\t1,\t2,\t5,\t27720\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/ODD.data",
    "content": ",\t1\r\n5.4,\t7\r\n-5.4,\t-7\r\n1.5,\t3\r\n0.1,\t1\r\n3,\t3\r\n2,\t3\r\n-2,\t-3\r\n-1,\t-1\r\n\"ABC\",\t\"#VALUE!\"\r\nTRUE,\t1\r\nFALSE,\t1\r\n0,\t1\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/POWER.data",
    "content": "-1.5,\t-1.5,\t\"#NUM!\"\r\n-0.75,\t-1.5,\t\"#NUM!\"\r\n0,\t-1.5,\t\"#DIV/0!\"\r\n0.75,\t-1.5,\t1.539600717839\r\n1.5,\t-1.5,\t0.54433105395182\r\n2.25,\t-1.5,\t0.2962962962963\r\n3,\t-1.5,\t0.19245008972988\r\n3.75,\t-1.5,\t0.13770607453182\r\n4.5,\t-1.5,\t0.10475656017579\r\n-1.5,\t-0.75,\t\"#NUM!\"\r\n-0.75,\t-0.75,\t\"#NUM!\"\r\n0,\t-0.75,\t\"#DIV/0!\"\r\n0.75,\t-0.75,\t1.2408064788028\r\n1.5,\t-0.75,\t0.73778794646688\r\n2.25,\t-0.75,\t0.54433105395182\r\n3,\t-0.75,\t0.43869133765083\r\n3.75,\t-0.75,\t0.37108769116183\r\n4.5,\t-0.75,\t0.32366118113822\r\n-1.5,\t0,\t1\r\n-0.75,\t0,\t1\r\n0,\t0,\t\"#NUM!\"\r\n0.75,\t0,\t1\r\n1.5,\t0,\t1\r\n2.25,\t0,\t1\r\n3,\t0,\t1\r\n3.75,\t0,\t1\r\n4.5,\t0,\t1\r\n-1.5,\t0.75,\t\"#NUM!\"\r\n-0.75,\t0.75,\t\"#NUM!\"\r\n0,\t0.75,\t0\r\n0.75,\t0.75,\t0.80592744886766\r\n1.5,\t0.75,\t1.35540300541477\r\n2.25,\t0.75,\t1.83711730708738\r\n3,\t0.75,\t2.27950705695478\r\n3.75,\t0.75,\t2.69478083972313\r\n4.5,\t0.75,\t3.08965071586068\r\n-1.5,\t1.5,\t\"#NUM!\"\r\n-0.75,\t1.5,\t\"#NUM!\"\r\n0,\t1.5,\t0\r\n0.75,\t1.5,\t0.64951905283833\r\n1.5,\t1.5,\t1.83711730708738\r\n2.25,\t1.5,\t3.375\r\n3,\t1.5,\t5.19615242270663\r\n3.75,\t1.5,\t7.26184377413891\r\n4.5,\t1.5,\t9.54594154601839\r\n-1.5,\t2.25,\t\"#NUM!\"\r\n-0.75,\t2.25,\t\"#NUM!\"\r\n0,\t2.25,\t0\r\n0.75,\t2.25,\t0.52346523324493\r\n1.5,\t2.25,\t2.49003431932572\r\n2.25,\t2.25,\t6.20027091141992\r\n3,\t2.25,\t11.8446661165724\r\n3.75,\t2.25,\t19.5690774636122\r\n4.5,\t2.25,\t29.4936251312199\r\n-1.5,\t3,\t-3.375\r\n-0.75,\t3,\t-0.421875\r\n0,\t3,\t0\r\n0.75,\t3,\t0.421875\r\n1.5,\t3,\t3.375\r\n2.25,\t3,\t11.390625\r\n3,\t3,\t27\r\n3.75,\t3,\t52.734375\r\n4.5,\t3,\t91.125\r\n-1.5,\t3.75,\t\"#NUM!\"\r\n-0.75,\t3.75,\t\"#NUM!\"\r\n0,\t3.75,\t0\r\n0.75,\t3.75,\t0.34000064249104\r\n1.5,\t3.75,\t4.57448514327484\r\n2.25,\t3.75,\t20.9259143260422\r\n3,\t3.75,\t61.546690537779\r\n3.75,\t3.75,\t142.107583344775\r\n4.5,\t3.75,\t281.544421482804\r\n-1.5,\t4.5,\t\"#NUM!\"\r\n-0.75,\t4.5,\t\"#NUM!\"\r\n0,\t4.5,\t0\r\n0.75,\t4.5,\t0.27401585041617\r\n1.5,\t4.5,\t6.20027091141992\r\n2.25,\t4.5,\t38.443359375\r\n3,\t4.5,\t140.296115413079\r\n3.75,\t4.5,\t382.948792776857\r\n4.5,\t4.5,\t869.873923380926\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/PRODUCT.data",
    "content": "5,\t15,\t30,\t\t\t2250\r\n5,\t15,\t30,\t2,\t\t4500\r\n3,\t6,\t2,\t8,\t5,\t1440\r\n3,\t4,\t\t\t\t12\r\n3,\t4,\t4.5,\t\t\t54\r\n3,\t4,\t4.5,\t-6.78,\t\t-366.12\r\n3,\t4,\t4.5,\t-6.78,\t-2,\t732.24\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/QUOTIENT.data",
    "content": "5,\t2,\t2\r\n4.5,\t3.1,\t1\r\n-10,\t3,\t-3\r\n10,\t2.2,\t4\r\n5.5,\t2.667,\t2\r\n-7,\t2,\t-3\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/ROMAN.data",
    "content": "49,\t\"XLIX\"\r\n50,\t\"L\"\r\n2012,\t\"MMXII\"\r\n999,\t\"CMXCIX\"\r\n499,\t\"CDXCIX\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/ROUNDDOWN.data",
    "content": "662.79,\t\t0,\t662\r\n662.79,\t\t1,\t662.7\r\n54.1,\t\t-1,\t50\r\n55.1,\t\t-1,\t50\r\n-23.67,\t\t1,\t-23.6\r\n3.2,\t\t0,\t3\r\n3.2,\t\t0.01,\t3\r\n76.9,\t\t0,\t76\r\n3.14159,\t3,\t3.141\r\n-3.14159,\t1,\t-3.1\r\n31415.92654,\t-2,\t31400\r\n31415.92654,\t-1,\t31410\r\n\"ABC\",\t\t1,\t\"#VALUE!\"\r\n1.234,\t\t\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/ROUNDUP.data",
    "content": "662.79,\t\t0,\t663\r\n662.79,\t\t1,\t662.8\r\n54.1,\t\t-1,\t60\r\n55.1,\t\t-1,\t60\r\n-23.62,\t\t1,\t-23.7\r\n3.2,\t\t0,\t4\r\n3.2,\t\t0.01,\t4\r\n76.9,\t\t0,\t77\r\n3.14159,\t3,\t3.142\r\n-3.14159,\t1,\t-3.2\r\n31415.92654,\t-2,\t31500\r\n31415.92654,\t-1,\t31420\r\n\"ABC\",\t\t1,\t\"#VALUE!\"\r\n1.234,\t\t\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/SERIESSUM.data",
    "content": "5,\t1,\t1,\t{1|1|1|1|1},\t3905\r\n2,\t1,\t2,\t{1|2|3|4|5},\t3186\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/SIGN.data",
    "content": "-1.5,\t-1\r\n-1,\t-1\r\n-0.5,\t-1\r\n0,\t0\r\n0.5,\t1\r\n1,\t1\r\n1.5,\t1\r\n2,\t1\r\n2.5,\t1\r\n\"ABC\",\t\"#VALUE!\"\r\nTRUE,\t1\r\nFALSE,\t0\r\n\"-3.5\",\t-1\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/SQRTPI.data",
    "content": "\"ABC\",\t\"#VALUE!\"\r\n-1.5,\t\"#NUM!\"\r\n-1,\t\"#NUM!\"\r\n-0.5,\t\"#NUM!\"\r\n0,\t0.000000000000000000\r\n0.5,\t1.253314137315500000\r\n1,\t1.772453850905520000\r\n1.5,\t2.170803763674800000\r\n2,\t2.506628274631000000\r\n2.5,\t2.802495608198960000\r\n3,\t3.069980123839470000\r\n3.5,\t3.315957521978270000\r\n4,\t3.544907701811030000\r\n4.5,\t3.759942411946500000\r\n5,\t3.963327297606010000\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/SUMIFS.data",
    "content": "{12.25;10.5;5.1;8.35;13.45;7.95;6;4.55},\t\t{2013;2012;2012;2013;2013;2011;2013;2009},  \"=2013\",    40.05\n{12.25;10.5;5.1;8.35;13.45;7.95;6;4.55},\t\t{\"Oranges\";\"Bananas\";\"Apples\";\"Bananas\";\"Oranges\";\"Apples\";\"Pears\";\"Oranges\"},  \"=Oranges\", 30.25\n{12.25;10.5;5.1;8.35;13.45;7.95;6;4.55},\t\t{2013;2012;2012;2013;2013;2011;2013;2009},  \"=2013\",    {\"Oranges\";\"Bananas\";\"Apples\";\"Bananas\";\"Oranges\";\"Apples\";\"Pears\";\"Oranges\"},  \"=Oranges\", 25.7\n{12.25;10.5;5.1;8.35;13.45;7.95;6;4.55},\t\t{2013;2012;2012;2013;2013;2011;2013;2009},  \">=2009\",    {\"Oranges\";\"Bananas\";\"Apples\";\"Bananas\";\"Oranges\";\"Apples\";\"Pears\";\"Oranges\"},  \"=Oranges\", {2013;2012;2012;2013;2013;2011;2013;2009},  \"<=2012\",    4.55\n{12.25;10.5;5.1;8.35;13.45;7.95;6;4.55},\t\t{2013;2012;2012;2013;2013;2011;2013;2009},  \">=2009\",    {\"Oranges\";\"Bananas\";\"Apples\";\"Bananas\";\"Oranges\";\"Apples\";\"Pears\";\"Oranges\"},  \"=B*\", 18.85\n{12.25;10.5;5.1;8.35;13.45;7.95;6;4.55},\t\t{2013;2012;2012;2013;2013;2011;2013;2009},  \">=2009\",    {\"Oranges\";\"Bananas\";\"Apples\";\"Bananas\";\"Oranges\";\"Apples\";\"Pears\";\"Oranges\"},  \"=B?nanas\", 18.85\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/SUMSQ.data",
    "content": "3,\t4,\t\t\t25\r\n5,\t2,\t1,\t3,\t39\r\n5,\t2,\t1,\t6,\t66\r\n1,\t3,\t\t\t10\r\n1,\t3,\t2,\t4,\t30\r\n3,\t5,\t7,\t\t83\r\n1,\t2,\t3,\t\t14\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/MathTrig/TRUNC.data",
    "content": "3.14159,\t2,\t3.14\r\n3.14159,\t3,\t3.141\r\n-3.14159,\t2,\t-3.14\r\n-3.14159,\t3,\t-3.141\r\n31415.92654,\t10,\t31415.92654\r\n-31415.92654,\t10,\t-31415.92654\r\n31415.92654,\t2,\t31415.92\r\n31415.92654,\t-2,\t31400\r\n31415.92654,\t-10,\t0\r\n-31415.92654,\t-10,\t0\r\n12345.6789,\t-3,\t12000\r\n12345.6789,\t-2,\t12300\r\n12345.6789,\t-1,\t12340\r\n12345.6789,\t0,\t12345\r\n12345.6789,\t1,\t12345.6\r\n12345.6789,\t2,\t12345.67\r\n12345.6789,\t3,\t12345.678\r\n\"ABC\",\t\t2,\t\"#VALUE!\"\r\n31415.92654,\t\"ABC\",\t\"#VALUE!\"\r\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/CHAR.data",
    "content": "\"ABC\",\t\"#VALUE!\"\n-5,\t\"#VALUE!\"\n65,\t\"A\"\n123,\t\"{\"\n126,\t\"~\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/CLEAN.data",
    "content": "\"\u0005\u0006\u0007\b\u0001\u0002HELLO      \",\t\"HELLO      \"\n\"\tHELLO\",\t\t\"HELLO\"\n\"HELLO    WORLD\",\t\"HELLO    WORLD\"\nTRUE,\t\t\t\"TRUE\"\nNULL,\t\t\tNULL\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/CODE.data",
    "content": ",\t\t\"#VALUE!\"\n\"\",\t\t\"#VALUE!\"\n\"ABC\",\t\t65\n123,\t\t49\nTRUE,\t\t84\n\"DEF\",\t\t68\n\"PHPExcel\",\t80\n1.5,\t\t49\n\"Mark Baker\",\t77\n\"mark baker\",\t109\n\"£125.00\",\t163\n\"Бензин\",\t1234"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/CONCATENATE.data",
    "content": "\"ABCDE\",\t\"FGHIJ\",\t\t\"ABCDEFGHIJ\"\n1,\t\t2,\t\t3,\t\"123\"\n\"Boolean\",\t\"-\",\t\tTRUE,\t\"Boolean-TRUE\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/DOLLAR.data",
    "content": "123.456,\t2,\t'\"$123.46\"'\n123.321,\t2,\t'\"$123.32\"'\n1234567,\t-3,\t'\"$1,235,000\"'\n1234567,\t-5,\t'\"$1,200,000\"'\n\"ABC\",\t\t2,\t\"#NUM!\"\n123.456,\t\"ABC\",\t\"#NUM!\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/FIND.data",
    "content": "\"E\",\t\"QWERTYUIOP\",\t\t3\n\"D\",\t\"ABCDEFGHI\",\t\t4\n\"E\",\tTRUE,\t\t\t4\n\"E\",\tFALSE,\t\t\t5\n\"A\",\t\"Mark Baker\",\t\t\"#VALUE!\"\n\"A\",\t\"MARK BAKER\",\t\t2\n\"a\",\t\"Mark Baker\",\t2,\t2\n\"k\",\t\"Mark Baker\",\t2,\t4\n\"k\",\t\"Mark Baker\",\t5,\t8\n\"a\",\t\"Mark Baker\",\t3,\t7\n\"BITE\",\t\"BIT\",\t\t\t\"#VALUE!\"\n\"\",\t\"Mark Baker\",\t\t1\n\"\",\t\"Mark Baker\",\t8,\t8\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/FIXED.data",
    "content": "123456.789,\t2,\tFALSE,\t'\"123,456.79\"'\n123456.789,\t1,\tTRUE,\t'\"123456.8\"'\n123456.789,\t2,\tTRUE,\t'\"123456.79\"'\n\"ABC\",\t\t2,\tNULL,\t\"#NUM!\"\n123.456,\t\"ABC\",\tNULL,\t\"#NUM!\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/LEFT.data",
    "content": ",\t\t1,\t\"\"\n\"\",\t\t1,\t\"\"\n\"QWERTYUIOP\",\t-1,\t\"#VALUE!\"\n\"ABCDEFGHI\",\t3,\t\"ABC\"\nTRUE,\t\t2,\t\"TR\"\nFALSE,\t\t2,\t\"FA\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/LEN.data",
    "content": ",\t\t0\n\"\",\t\t0\n\"AbCdEfGhI\",\t9\n\"MARK BAKER\",\t10\nTRUE,\t\t4\nFALSE,\t\t5\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/LOWER.data",
    "content": "\"AbCdEfGhI\",\t\"abcdefghi\"\n\"MARK BAKER\",\t\"mark baker\"\nTRUE,\t\t\"true\"\nFALSE,\t\t\"false\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/MID.data",
    "content": ",\t\t1,\t1,\t\"\"\n\"\",\t\t1,\t1,\t\"\"\n\"QWERTYUIOP\",\t-1,\t1,\t\"#VALUE!\"\n\"QWERTYUIOP\",\t5,\t-1,\t\"#VALUE!\"\n\"QWERTYUIOP\",\t5,\t\t\"\"\n\"QWERTYUIOP\",\t8,\t20,\t\"IOP\"\n\"ABCDEFGHI\",\t4,\t3,\t\"DEF\"\nTRUE,\t\t2,\t1,\t\"R\"\nFALSE,\t\t2,\t2,\t\"AL\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/PROPER.data",
    "content": "\"MARK BAKER\",\t\"Mark Baker\"\nTRUE,\t\t\"True\"\nFALSE,\t\t\"False\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/REPLACE.data",
    "content": "\"QWERTYUIOP\",\t3,\t3,\t\"DFG\",\t\"QWDFGYUIOP\"\n\"QWERTYUIOP\",\t5,\t3,\t\"DFG\",\t\"QWERDFGIOP\"\n\"QWERTYUIOP\",\t3,\t0,\t\"DFG\",\t\"QWDFGERTYUIOP\"\n\"QWERTYUIOP\",\t5,\t0,\t\"DFG\",\t\"QWERDFGTYUIOP\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/RIGHT.data",
    "content": ",\t\t1,\t\"\"\n\"\",\t\t1,\t\"\"\n\"QWERTYUIOP\",\t-1,\t\"#VALUE!\"\n\"ABCDEFGHI\",\t3,\t\"GHI\"\nTRUE,\t\t2,\t\"UE\"\nFALSE,\t\t2,\t\"SE\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/SEARCH.data",
    "content": "\"E\",\t\"QWERTYUIOP\",\t\t3\n\"D\",\t\"ABCDEFGHI\",\t\t4\n\"E\",\tTRUE,\t\t\t4\n\"E\",\tFALSE,\t\t\t5\n\"A\",\t\"Mark Baker\",\t\t2\n\"C\",\t\"Mark Baker\",\t\t\"#VALUE!\"\n\"A\",\t\"Mark Baker\",\t3,\t7\n\"K\",\t\"Mark Baker\",\t\t4\n\"K\",\t\"Mark Baker\",\t5,\t8\n\"A\",\t\"Mark Baker\",\t2,\t2\n\"BITE\",\t\"BIT\",\t\t\t\"#VALUE!\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/SUBSTITUTE.data",
    "content": "\"QWERTYUIOP\",\t\"ERT\",\t\"DFG\",\t\t\t\"QWDFGYUIOP\"\n\"Mark Baker\",\t\"a\",\t\"x\",\t\t\t\"Mxrk Bxker\"\n\"Mark Baker\",\t\"a\",\t\"x\",\t\t1,\t\"Mxrk Baker\"\n\"Mark Baker\",\t\"x\",\t\"a\",\t\t1,\t\"Mark Baker\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/T.data",
    "content": "123456.789,\tNULL\n\"123456.789\",\t\"123456.789\"\n\"Mark Baker\",\t\"Mark Baker\"\nNULL,\t\tNULL\nTRUE,\t\tNULL\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/TEXT.data",
    "content": "123.456,\t\t'\"$#,##0.00\"',\t\"$123.46\"\n-123.456,\t\t'\"$#,##0.00\"',\t\"$-123.46\"\n123.456,\t\t'\"#,##0.00\"',\t\"123.46\"\n123.456,\t\t'\"#,##0\"',\t\t\"123\"\n123.456,\t\t\"00000\",\t\t\"00123\"\n123456.789,\t\t'\"$#,##0.00\"',\t'\"$123,456.79\"'\n123456.789,\t\t'\"#,##0.00\"',\t'\"123,456.79\"'\n123456.789,\t\t\"0.00E+00\",\t\t\"1.23E05\"\n-123456.789,\t\"0.00E+00\",\t\t\"-1.23E05\"\n0.000012345,\t\"0.00E+00\",\t\t\"1.23E-05\"\n\"19-Dec-1960\",\t\"yyyy-mm-dd\",\t\"1960-12-19\"\n\"1-Jan-2012\",\t\"yyyy-mm-dd\",\t\"2012-01-01\"\n1.75,\t\t\t\"# ?/?\",\t\t\"1 3/4\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/TRIM.data",
    "content": "\"HELLO    \",\t\t\"HELLO\"\n\"    HELLO\",\t\t\"HELLO\"\n\"   HELLO      \",\t\"HELLO\"\n\"\tHELLO\",\t\t\"\tHELLO\"\n\"HELLO    WORLD\",\t\"HELLO WORLD\"\nTRUE,\t\t\t\"TRUE\"\nNULL,\t\t\tNULL\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/UPPER.data",
    "content": "\"AbCdEfGhI\",\t\"ABCDEFGHI\"\n\"mark baker\",\t\"MARK BAKER\"\nTRUE,\t\t\"TRUE\"\nFALSE,\t\t\"FALSE\"\n"
  },
  {
    "path": "unitTests/rawTestData/Calculation/TextData/VALUE.data",
    "content": "\"1000\",\t        \"1000\"\n\"1 000\",\t    \"1000\"\n\"$1 000\",\t\t\"1000\"\n\"£1 000\",\t\t\"#VALUE!\"\n\"1.1\",\t\t    \"1.1\"\n\"1 000.1\",\t\t\"1000.1\"\n\"13 Monkeys\",\t\"#VALUE!\"\n\"1-Jan-2014\",\t\"41640\"\n\"12:34:56\",     \"0.524259259259259\"\n\"2:46 AM\",      \"0.11527777777778\"\n"
  },
  {
    "path": "unitTests/rawTestData/CalculationBinaryComparisonOperation.data",
    "content": "# formula, expectedResultExcel, expectedResultOpenOffice\n'=TRUE',\tTRUE,\tTRUE\n'=1 + 2.5',\t3.5,\t3.5\n'=2.5 + 1',\t3.5,\t3.5\n'=1 - 2.5',\t-1.5,\t-1.5\n'=2.5 - 1',\t1.5,\t1.5\n'=3 > 1',\tTRUE,\tTRUE\n'=3 > 3',\tFALSE,\tFALSE\n'=1 > 3',\tFALSE,\tFALSE\n'=3 < 1',\tFALSE,\tFALSE\n'=3 < 3',\tFALSE,\tFALSE\n'=1 < 3',\tTRUE,\tTRUE\n'=3 = 1',\tFALSE,\tFALSE\n'=3 = 3',\tTRUE,\tTRUE\n'=1 = 1.0',\tTRUE,\tTRUE\n'=3 >= 1',\tTRUE,\tTRUE\n'=3 >= 3',\tTRUE,\tTRUE\n'=1 >= 3',\tFALSE,\tFALSE\n'=3 <= 1',\tFALSE,\tFALSE\n'=3 <= 3',\tTRUE,\tTRUE\n'=1 <= 3',\tTRUE,\tTRUE\n'=3 <> 1',\tTRUE,\tTRUE\n'=3 <> 3',\tFALSE,\tFALSE\n'=1 <> 1.0',\tFALSE,\tFALSE\n'=\"a\" > \"a\"',\tFALSE,\tFALSE\n'=\"A\" > \"A\"',\tFALSE,\tFALSE\n'=\"A\" > \"a\"',\tFALSE,\tTRUE\n'=\"a\" > \"A\"',\tFALSE,\tFALSE\n'=\"a\" < \"a\"',\tFALSE,\tFALSE\n'=\"A\" < \"A\"',\tFALSE,\tFALSE\n'=\"A\" < \"a\"',\tFALSE,\tFALSE\n'=\"a\" < \"A\"',\tFALSE,\tTRUE\n'=\"a\" = \"a\"',\tTRUE,\tTRUE\n'=\"A\" = \"A\"',\tTRUE,\tTRUE\n'=\"A\" = \"a\"',\tTRUE,\tFALSE\n'=\"a\" = \"A\"',\tTRUE,\tFALSE\n'=\"a\" <= \"a\"',\tTRUE,\tTRUE\n'=\"A\" <= \"A\"',\tTRUE,\tTRUE\n'=\"A\" <= \"a\"',\tTRUE,\tFALSE\n'=\"a\" <= \"A\"',\tTRUE,\tTRUE\n'=\"a\" >= \"a\"',\tTRUE,\tTRUE\n'=\"A\" >= \"A\"',\tTRUE,\tTRUE\n'=\"A\" >= \"a\"',\tTRUE,\tTRUE\n'=\"a\" >= \"A\"',\tTRUE,\tFALSE\n'=\"a\" <> \"a\"',\tFALSE,\tFALSE\n'=\"A\" <> \"A\"',\tFALSE,\tFALSE\n'=\"A\" <> \"a\"',\tFALSE,\tTRUE\n'=\"a\" <> \"A\"',\tFALSE,\tTRUE\n'=\"A\" > \"b\"',\tFALSE,\tTRUE\n'=\"a\" > \"b\"',\tFALSE,\tFALSE\n'=\"b\" > \"a\"',\tTRUE,\tTRUE\n'=\"b\" > \"A\"',\tTRUE,\tFALSE\n'=\"a2\" > \"a10\"',\tTRUE,\tTRUE // Test natural sorting is not used\n"
  },
  {
    "path": "unitTests/rawTestData/Cell/DefaultValueBinder.data",
    "content": "NULL,       \"null\"\n,           \"null\"\n\"#NULL!\",   \"e\"\nFALSE,      \"b\"\nTRUE,       \"b\"\n\"FALSE\",    \"s\"\n\"TRUE\",     \"s\"\n\"\",         \"s\"\n\"ABC\",      \"s\"\n\"123\",      \"n\"\n123,        \"n\"\n0.123,      \"n\"\n\"-123\",     \"n\"\n\"1.23E4\",   \"n\"\n\"-1.23E4\",  \"n\"\n\"1.23E-4\",  \"n\"\n\"000123\",   \"s\"\n\"=123\",     \"f\"\n\"#DIV/0!\",  \"e\"\n"
  },
  {
    "path": "unitTests/rawTestData/CellAbsoluteCoordinate.data",
    "content": "\"A1\",\t\t\t\t\"$A$1\"\n\"A12\",\t\t\t\t\"$A$12\"\n\"J1\",\t\t\t\t\"$J$1\"\n\"J20\",\t\t\t\t\"$J$20\"\n\"AI1\",\t\t\t\t\"$AI$1\"\n\"AI2012\",\t\t\t\"$AI$2012\"\n\"'Worksheet1'!AI256\",\t\t\"'Worksheet1'!$AI$256\"\n\"Worksheet1!AI256\",\t\t\"Worksheet1!$AI$256\"\n\"'Data Worksheet'!AI256\",\t\"'Data Worksheet'!$AI$256\"\n\"'Worksheet1'!$AI256\",\t\t\"'Worksheet1'!$AI$256\"\n\"'Worksheet1'!AI$256\",\t\t\"'Worksheet1'!$AI$256\"\n\"'Worksheet1'!$AI$256\",\t\t\"'Worksheet1'!$AI$256\"\n"
  },
  {
    "path": "unitTests/rawTestData/CellAbsoluteReference.data",
    "content": "\"A1\",\t\t\t\t\"$A$1\"\n\"A12\",\t\t\t\t\"$A$12\"\n\"J1\",\t\t\t\t\"$J$1\"\n\"J20\",\t\t\t\t\"$J$20\"\n\"AI1\",\t\t\t\t\"$AI$1\"\n\"AI2012\",\t\t\t\"$AI$2012\"\n\"'Worksheet1'!AI256\",\t\t\"'Worksheet1'!$AI$256\"\n\"Worksheet1!AI256\",\t\t\"Worksheet1!$AI$256\"\n\"'Data Worksheet'!AI256\",\t\"'Data Worksheet'!$AI$256\"\n\"AI\",\t\t\t\t\"$AI\"\n2012,\t\t\t\t\"$2012\"\n\"Worksheet1!AI\",\t\t\"Worksheet1!$AI\"\n\"Worksheet1!256\",\t\t\"Worksheet1!$256\"\n\"'Worksheet1'!$AI256\",\t\t\"'Worksheet1'!$AI$256\"\n\"'Worksheet1'!AI$256\",\t\t\"'Worksheet1'!$AI$256\"\n\"'Worksheet1'!$AI$256\",\t\t\"'Worksheet1'!$AI$256\"\n"
  },
  {
    "path": "unitTests/rawTestData/CellBuildRange.data",
    "content": "{\"B4\"|\"E9\"},\t\t\"B4:E9\"\n{\"B4\"|\"E9\";\"H2\"|\"O11\"},\t'\"B4:E9,H2:O11\"'\n"
  },
  {
    "path": "unitTests/rawTestData/CellCoordinates.data",
    "content": "\"A1\",\t\t{\"A\";1}\n\"A12\",\t\t{\"A\";12}\n\"J1\",\t\t{\"J\";1}\n\"J20\",\t\t{\"J\";20}\n\"AI1\",\t\t{\"AI\";1}\n\"AI2012\",\t{\"AI\";2012}\n"
  },
  {
    "path": "unitTests/rawTestData/CellExtractAllCellReferencesInRange.data",
    "content": "\"B4:B6\",\t\t{\"B4\";\"B5\";\"B6\"}\n'\"B4:B6,D4:D6\"',\t{\"B4\";\"B5\";\"B6\";\"D4\";\"D5\";\"D6\"}\n'\"B4:B6 D4:D6\"',\t{\"B4\";\"B5\";\"B6\";\"D4\";\"D5\";\"D6\"}\n\"B4:D6\",\t\t{\"B4\";\"B5\";\"B6\";\"C4\";\"C5\";\"C6\";\"D4\";\"D5\";\"D6\"}\n'\"B4:D6,C5:E7\"',\t{\"B4\";\"B5\";\"B6\";\"C4\";\"C5\";\"C6\";\"C7\";\"D4\";\"D5\";\"D6\";\"D7\";\"E5\";\"E6\";\"E7\"}\n'\"B4:D6 C5:E7\"',\t{\"B4\";\"B5\";\"B6\";\"C4\";\"C5\";\"C6\";\"C7\";\"D4\";\"D5\";\"D6\";\"D7\";\"E5\";\"E6\";\"E7\"}\n\"B2:D4 C5:D5 E3:E5 D6:E6 F4:F6\",\t{\"B2\";\"B3\";\"B4\";\"C2\";\"C3\";\"C4\";\"C5\";\"D2\";\"D3\";\"D4\";\"D5\";\"D6\";\"E3\";\"E4\";\"E5\";\"E6\";\"F4\";\"F5\";\"F6\"}\n\"B2:D4 C3:E5 D4:F6\",\t{\"B2\";\"B3\";\"B4\";\"C2\";\"C3\";\"C4\";\"C5\";\"D2\";\"D3\";\"D4\";\"D5\";\"D6\";\"E3\";\"E4\";\"E5\";\"E6\";\"F4\";\"F5\";\"F6\"}\n\"B4:B6 B8\",\t\t{\"B4\";\"B5\";\"B6\";\"B8\"}\n"
  },
  {
    "path": "unitTests/rawTestData/CellGetRangeBoundaries.data",
    "content": "\"B4:E9\",\t\t{\"B\"|4;\"E\"|9}\n\"B4\",\t\t\t{\"B\"|4;\"B\"|4}\n"
  },
  {
    "path": "unitTests/rawTestData/CellRangeBoundaries.data",
    "content": "\"B4:E9\",\t\t{2|4;5|9}\n\"B4\",\t\t\t{2|4;2|4}\n"
  },
  {
    "path": "unitTests/rawTestData/CellRangeDimension.data",
    "content": "\"B4:E9\",\t\t{4;6}\n\"B4\",\t\t\t{1;1}\n"
  },
  {
    "path": "unitTests/rawTestData/CellSplitRange.data",
    "content": "\"B4:E9\",\t\t{\"B4\"|\"E9\"}\n\"B4\",\t\t\t{\"B4\"}\n'\"B4:E9,H2:O11\"',\t{\"B4\"|\"E9\";\"H2\"|\"O11\"}\n"
  },
  {
    "path": "unitTests/rawTestData/ColumnIndex.data",
    "content": "0,\t\"A\"\n25,\t\"Z\"\n26,\t\"AA\"\n27,\t\"AB\"\n51,\t\"AZ\"\n52,\t\"BA\"\n701,\t\"ZZ\"\n702,\t\"AAA\"\n1378,\t\"BAA\"\n"
  },
  {
    "path": "unitTests/rawTestData/ColumnString.data",
    "content": "\"A\",\t1\n\"Z\",\t26\n\"AA\",\t27\n\"AB\",\t28\n\"AZ\",\t52\n\"BA\",\t53\n\"ZZ\",\t702\n\"AAA\",\t703\n\"BAA\",\t1379\n"
  },
  {
    "path": "unitTests/rawTestData/Reader/XEETestInvalidUTF-8.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<!DOCTYPE root [\n     <!ENTITY x0 \"DoS\">\n]>\n\n<root>\n\ttest: (&x0;)\n</root>"
  },
  {
    "path": "unitTests/rawTestData/Reader/XEETestValidUTF-8.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<root>\n\ttest: Valid\n</root>"
  },
  {
    "path": "unitTests/rawTestData/Shared/CentimeterSizeToPixels.data",
    "content": "0.1,\t3.7795275591\n0.2,\t7.5590551182\n0.5,\t18.8976377955\n1.0,\t37.795275591\n2.0,\t75.590551182\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/CodePage.data",
    "content": "367,\t\"ASCII\"\t\t\t//\tASCII\n437,\t\"CP437\"\t\t\t//\tOEM US\n737,\t\"CP737\"\t\t\t//\tOEM Greek\n775,\t\"CP775\"\t\t\t//\tOEM Baltic\n850,\t\"CP850\"\t\t\t//\tOEM Latin I\n852,\t\"CP852\"\t\t\t//\tOEM Latin II (Central European)\n855,\t\"CP855\"\t\t\t//\tOEM Cyrillic\n857,\t\"CP857\"\t\t\t//\tOEM Turkish\n858,\t\"CP858\"\t\t\t//\tOEM Multilingual Latin I with Euro\n860,\t\"CP860\"\t\t\t//\tOEM Portugese\n861,\t\"CP861\"\t\t\t//\tOEM Icelandic\n862,\t\"CP862\"\t\t\t//\tOEM Hebrew\n863,\t\"CP863\"\t\t\t//\tOEM Canadian (French)\n864,\t\"CP864\"\t\t\t//\tOEM Arabic\n865,\t\"CP865\"\t\t\t//\tOEM Nordic\n866,\t\"CP866\"\t\t\t//\tOEM Cyrillic (Russian)\n869,\t\"CP869\"\t\t\t//\tOEM Greek (Modern)\n874,\t\"CP874\"\t\t\t//\tANSI Thai\n932,\t\"CP932\"\t\t\t//\tANSI Japanese Shift-JIS\n936,\t\"CP936\"\t\t\t//\tANSI Chinese Simplified GBK\n949,\t\"CP949\"\t\t\t//\tANSI Korean (Wansung)\n950,\t\"CP950\"\t\t\t//\tANSI Chinese Traditional BIG5\n1200,\t\"UTF-16LE\"\t\t//\tUTF-16 (BIFF8)\n1250,\t\"CP1250\"\t\t//\tANSI Latin II (Central European)\n1251,\t\"CP1251\"\t\t//\tANSI Cyrillic\n0,\t\"CP1252\"\t\t//\tANSI Latin I (BIFF4-BIFF7)\n1252,\t\"CP1252\"\t\t//\tANSI Latin I (BIFF4-BIFF7)\n1253,\t\"CP1253\"\t\t//\tANSI Greek\n1254,\t\"CP1254\"\t\t//\tANSI Turkish\n1255,\t\"CP1255\"\t\t//\tANSI Hebrew\n1256,\t\"CP1256\"\t\t//\tANSI Arabic\n1257,\t\"CP1257\"\t\t//\tANSI Baltic\n1258,\t\"CP1258\"\t\t//\tANSI Vietnamese\n1361,\t\"CP1361\"\t\t//\tANSI Korean (Johab)\n10000,\t\"MAC\"\t\t\t//\tApple Roman\n10006,\t\"MACGREEK\"\t\t//\tMacintosh Greek\n10007,\t\"MACCYRILLIC\"\t\t//\tMacintosh Cyrillic\n10029,\t\"MACCENTRALEUROPE\"\t//\tMacintosh Central Europe\n10079, \t\"MACICELAND\"\t\t//\tMacintosh Icelandic\n10081, \t\"MACTURKISH\"\t\t//\tMacintosh Turkish\n32768,\t\"MAC\"\t\t\t//\tApple Roman\n65000,\t\"UTF-7\"\t\t\t//\tUnicode (UTF-7)\n65001,\t\"UTF-8\"\t\t\t//\tUnicode (UTF-8)\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimeExcelToPHP1900.data",
    "content": "#Excel DateTimeStamp\tResult\t\tComments\n714,\t\t\t-2147472000\t//\tPHP 32-bit Earliest Date\t14-Dec-1901\n1461,\t\t\t-2082931200\t//\t\t\t\t\t31-Dec-1903\n1462,\t\t\t-2082844800\t//\tExcel 1904 Calendar Base Date\t01-Jan-1904\n1463,\t\t\t-2082758400\t//\t\t\t\t\t02-Jan-1904\n22269,\t\t\t-285120000\t//\t\t\t\t\t19-Dec-1960\n25569,\t\t\t0\t\t//\tPHP Base Date\t\t\t01-Jan-1970\n30292,\t\t\t408067200\t//\t\t\t\t\t07-Dec-1982\n39611,\t\t\t1213228800\t//\t\t\t\t\t12-Jun-2008\n50424,\t\t\t2147472000\t//\tPHP 32-bit Latest Date\t\t19-Jan-2038\n1234.56789,\t\t-2102494934\t//\t\t\t\t\t18-May-1903 13:37:46\n12345.6789,\t\t-1142494943\t//\t\t\t\t\t18-Oct-1933 16:17:37\n0.5,\t\t\t43200\t\t//\t\t\t\t\t12:00:00\n0.75,\t\t\t64800\t\t//\t\t\t\t\t18:00.00\n0.12345,\t\t10666\t\t//\t\t\t\t\t02:57:46\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimeExcelToPHP1900Timezone.data",
    "content": "#Excel DateTimeStamp\tAdjust\tTimezone\t\tResult\t\tComments\n22269,\t\t\tTRUE,\t'America/New_York',\t-285138000\t//\t\t\t\t\t19-Dec-1960 00:00:00 UST\n25569,\t\t\tTRUE,\t'America/New_York',\t-18000\t\t//\tPHP Base Date\t\t\t01-Jan-1970 00:00:00 UST\n30292,\t\t\tTRUE,\t'America/New_York',\t408049200\t//\t\t\t\t\t07-Dec-1982 00:00:00 UST\n39611,\t\t\tTRUE,\t'America/New_York',\t1213214400\t//\t\t\t\t\t12-Jun-2008 00:00:00 UST\n50424,\t\t\tTRUE,\t'America/New_York',\t2147454000\t//\tPHP 32-bit Latest Date\t\t19-Jan-2038 00:00:00 UST\n22345.56789,\t\tTRUE,\t'America/New_York',\t-278522534\t//\t\t\t\t\t18-May-1903 13:37:46 UST\n22345.6789,\t\tTRUE,\t'America/New_York',\t-278512943\t//\t\t\t\t\t18-Oct-1933 16:17:37 UST\n0.5,\t\t\tTRUE,\t'America/New_York',\t25200\t\t//\t\t\t\t\t12:00:00 UST\n0.75,\t\t\tTRUE,\t'America/New_York',\t46800\t\t//\t\t\t\t\t18:00.00 UST\n0.12345,\t\tTRUE,\t'America/New_York',\t-7334\t\t//\t\t\t\t\t02:57:46 UST\n41215,\t\t\tTRUE,\t'America/New_York',\t1351800000\t//\t\t\t\t\t02-Nov-2012 00:00:00 UST\n22269,\t\t\tTRUE,\t'Pacific/Auckland',\t-285076800\t//\t\t\t\t\t19-Dec-1960 00:00:00 UST\n25569,\t\t\tTRUE,\t'Pacific/Auckland',\t43200\t\t//\tPHP Base Date\t\t\t01-Jan-1970 00:00:00 UST\n30292,\t\t\tTRUE,\t'Pacific/Auckland',\t408114000\t//\t\t\t\t\t07-Dec-1982 00:00:00 UST\n39611,\t\t\tTRUE,\t'Pacific/Auckland',\t1213272000\t//\t\t\t\t\t12-Jun-2008 00:00:00 UST\n50423.5,\t\tTRUE,\t'Pacific/Auckland',\t2147475600\t//\tPHP 32-bit Latest Date\t\t19-Jan-2038 00:00:00 UST\n22345.56789,\t\tTRUE,\t'Pacific/Auckland',\t-278461334\t//\t\t\t\t\t18-May-1903 13:37:46 UST\n22345.6789,\t\tTRUE,\t'Pacific/Auckland',\t-278451743\t//\t\t\t\t\t18-Oct-1933 16:17:37 UST\n0.5,\t\t\tTRUE,\t'Pacific/Auckland',\t90000\t\t//\t\t\t\t\t12:00:00 UST\n0.75,\t\t\tTRUE,\t'Pacific/Auckland',\t111600\t\t//\t\t\t\t\t18:00.00 UST\n0.12345,\t\tTRUE,\t'Pacific/Auckland',\t57466\t\t//\t\t\t\t\t02:57:46 UST\n41215,\t\t\tTRUE,\t'Pacific/Auckland',\t1351861200\t//\t\t\t\t\t02-Nov-2012 00:00:00 UST\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimeExcelToPHP1904.data",
    "content": "#Excel DateTimeStamp\tResult\n1462,\t\t\t-1956528000\n1463,\t\t\t-1956441600\n22269,\t\t\t-158803200\n25569,\t\t\t126316800\n30292,\t\t\t534384000\n39611,\t\t\t1339545600\n0.25,\t\t\t21600\t\t//\t\t\t\t\t06:00:00\n0.3333333333333333333,\t28800\t\t//\t\t\t\t\t08:00.00\n0.54321,\t\t46933\t\t//\t\t\t\t\t02:57:46\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimeFormatCodes.data",
    "content": "#Excel Format Code\t\t\tResult\n\"General\",\t\t\t\tFALSE\n\"@\",\t\t\t\t\tFALSE\n\"0\",\t\t\t\t\tFALSE\n\"0.00\",\t\t\t\t\tFALSE\n\"#,##0.00\",\t\t\t\tFALSE\n\"#,##0.00_-\",\t\t\t\tFALSE\n\"0%\",\t\t\t\t\tFALSE\n\"0.00%\",\t\t\t\tFALSE\n\"yyyy-mm-dd\",\t\t\t\tTRUE\n\"yy-mm-dd\",\t\t\t\tTRUE\n\"dd/mm/yy\",\t\t\t\tTRUE\n\"d/m/y\",\t\t\t\tTRUE\n\"d-m-y\",\t\t\t\tTRUE\n\"d-m\",\t\t\t\t\tTRUE\n\"m-y\",\t\t\t\t\tTRUE\n\"mm-dd-yy\",\t\t\t\tTRUE\n\"d-mmm-yy\",\t\t\t\tTRUE\n\"d-mmm\",\t\t\t\tTRUE\n\"mmm-yy\",\t\t\t\tTRUE\n\"m/d/yy h:mm\",\t\t\t\tTRUE\n\"d/m/y h:mm\",\t\t\t\tTRUE\n\"h:mm AM/PM\",\t\t\t\tTRUE\n\"h:mm:ss AM/PM\",\t\t\tTRUE\n\"h:mm\",\t\t\t\t\tTRUE\n\"h:mm:ss\",\t\t\t\tTRUE\n\"mm:ss\",\t\t\t\tTRUE\n\"h:mm:ss\",\t\t\t\tTRUE\n\"i:s.S\",\t\t\t\tTRUE\n\"h:mm:ss;@\",\t\t\t\tTRUE\n\"yy/mm/dd;@\",\t\t\t\tTRUE\n\"\\\"$\\\"#,##0.00_-\",\t\t\tFALSE\n\"$#,##0_-\",\t\t\t\tFALSE\n\"[$EUR ]#,##0.00_-\",\t\t\tFALSE\n\"_[$EUR ]#,##0.00_-\",\t\t\tFALSE\n\"[Green]#,##0.00;[Red]#,##0.00_-\",\tFALSE\n\"#,##0.00 \\\"dollars\\\"\",\t\t\tFALSE\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimeFormattedPHPToExcel1900.data",
    "content": "#Year\tMonth\tDay\tHours\tMinutes\tSeconds\tResult\t\tComments\n1901,\t12,\t14,\t\t\t\t714\t\t//\tPHP 32-bit Earliest Date\t14-Dec-1901\n1903,\t12,\t31,\t\t\t\t1461\t\t//\t\t\t\t\t31-Dec-1903\n1904,\t1,\t1,\t\t\t\t1462\t\t//\tExcel 1904 Calendar Base Date\t01-Jan-1904\n1904,\t1,\t2,\t\t\t\t1463\t\t//\t\t\t\t\t02-Jan-1904\n1960,\t12,\t19,\t\t\t\t22269\t\t//\t\t\t\t\t19-Dec-1960\n1970,\t1,\t1,\t\t\t\t25569\t\t//\tPHP Base Date\t\t\t01-Jan-1970\n1982,\t12,\t7,\t\t\t\t30292\t\t//\t\t\t\t\t07-Dec-1982\n2008,\t6,\t12,\t\t\t\t39611\t\t//\t\t\t\t\t12-Jun-2008\n2038,\t1,\t19,\t\t\t\t50424\t\t//\tPHP 32-bit Latest Date\t\t19-Jan-2038\n1903,\t5,\t18,\t13,\t37,\t46,\t1234.56789\t//\t\t\t\t\t18-May-1903 13:37:46\n1933,\t10,\t18,\t16,\t17,\t37,\t12345.6789\t//\t\t\t\t\t18-Oct-1933 16:17:37\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimePHPToExcel1900.data",
    "content": "#Excel DateTimeStamp\tResult\t\tComments\n-2147472000,\t\t714\t\t//\tPHP 32-bit Earliest Date\t14-Dec-1901\n-2082931200,\t\t1461\t\t//\t\t\t\t\t31-Dec-1903\n-2082844800,\t\t1462\t\t//\tExcel 1904 Calendar Base Date\t01-Jan-1904\n-2082758400,\t\t1463\t\t//\t\t\t\t\t02-Jan-1904\n-285120000,\t\t22269\t\t//\t\t\t\t\t19-Dec-1960\n0,\t\t\t25569\t\t//\tPHP Base Date\t\t\t01-Jan-1970\n408067200,\t\t30292\t\t//\t\t\t\t\t07-Dec-1982\n1213228800,\t\t39611\t\t//\t\t\t\t\t12-Jun-2008\n2147472000,\t\t50424\t\t//\tPHP 32-bit Latest Date\t\t19-Jan-2038\n-2102494934,\t\t1234.56789\t//\t\t\t\t\t18-May-1903 13:37:46\n-1142494943,\t\t12345.6789\t//\t\t\t\t\t18-Oct-1933 16:17:37\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/DateTimePHPToExcel1904.data",
    "content": "#Excel DateTimeStamp\tResult\n-1956528000,\t\t1462\n-1956441600,\t\t1463\n-158803200,\t\t22269\n126316800,\t\t25569\n534384000,\t\t30292\n1339545600,\t\t39611\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/FontSizeToPixels.data",
    "content": "6,\t8\n7,\t9\n8,\t10\n9,\t12\n10,\t13\n11,\t14\n12,\t16\n14,\t18\n16,\t21\n18,\t24\n20,\t26\n22,\t29\n24,\t32\n36,\t48\n48,\t64\n60,\t80\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/InchSizeToPixels.data",
    "content": "0.1,\t9.6\n0.2,\t19.2\n0.5,\t48.0\n1.0,\t96.0\n2.0,\t192.0\n"
  },
  {
    "path": "unitTests/rawTestData/Shared/PasswordHashes.data",
    "content": "\"PHPExcel\",\t\t\t\t\t\t\"8053\"\n\"Mark Baker\",\t\t\t\t\t\"877D\"\n\"!+&=()~§±æþ\",\t\t\t\t\t\"C0EA\"\n\"μυστικό κωδικό πρόσβασης\",\t\t\"FFFF26DD\"\n\"গোপন পাসওয়ার্ড\",\t\t\t\t\t\t\"E858\"\n\"Секретный пароль\",\t\t\t\t\"EA5F\"\n\"秘密口令\",\t\t\t\t\t\t\"C07E\"\n\"leyndarmál lykilorð\",\t\t\t\"99E8\"\n\"\",\t\t\t\t\t\t\t\t\"CE4B\"\n"
  },
  {
    "path": "unitTests/rawTestData/Style/ColorChangeBrightness.data",
    "content": "\"FFAABBCC\",\t0.1,\t\"FFB2C1D1\"\t//\tRGBA\n\"FFAABBCC\",\t-0.1,\t\"FF99A8B7\"\t//\tRGBA\n\"AABBCC\",\t0.1,\t\"B2C1D1\"\t//\tRGB\n\"AABBCC\",\t-0.1,\t\"99A8B7\"\t//\tRGB\n\"FF0000\",\t0.1,\t\"FF1919\"\n\"FF0000\",\t-0.1,\t\"E50000\"\n\"FF8080\",\t0.1,\t\"FF8C8C\"\n\"FF8080\",\t-0.1,\t\"E57373\"\n\"FF0000\",\t0.15,\t\"FF2626\"\n\"FF0000\",\t-0.15,\t\"D80000\"\n\"FF8080\",\t0.15,\t\"FF9393\"\n\"FF8080\",\t-0.15,\t\"D86C6C\"\n\"FFF008\",\t0.5,\t\"FFF783\"\n\"FFF008\",\t-0.5,\t\"7F7804\"\n"
  },
  {
    "path": "unitTests/rawTestData/Style/ColorGetBlue.data",
    "content": "\"FFAABBCC\",\t\t\"CC\"\t//\tRGBA (hex)\n\"FFAABBCC\",\tFALSE,\t204\t//\tRGBA (decimal)\n\"AABBCC\",\t\t\"CC\"\t//\tRGB (hex)\n\"AABBCC\",\tFALSE,\t204\t//\tRGB (decimal)\n\"FFFF00\",\t\t\"00\"\n\"FFFF00\",\tFALSE,\t0\n"
  },
  {
    "path": "unitTests/rawTestData/Style/ColorGetGreen.data",
    "content": "\"FFAABBCC\",\t\t\"BB\"\t//\tRGBA (hex)\n\"FFAABBCC\",\tFALSE,\t187\t//\tRGBA (decimal)\n\"AABBCC\",\t\t\"BB\"\t//\tRGB (hex)\n\"AABBCC\",\tFALSE,\t187\t//\tRGB (decimal)\n\"FF00FF\",\t\t\"00\"\n\"FF00FF\",\tFALSE,\t0\n"
  },
  {
    "path": "unitTests/rawTestData/Style/ColorGetRed.data",
    "content": "\"FFAABBCC\",\t\t\"AA\"\t//\tRGBA (hex)\n\"FFAABBCC\",\tFALSE,\t170\t//\tRGBA (decimal)\n\"AABBCC\",\t\t\"AA\"\t//\tRGB (hex)\n\"AABBCC\",\tFALSE,\t170\t//\tRGB (decimal)\n\"00FFFF\",\t\t\"00\"\n\"00FFFF\",\tFALSE,\t0\n"
  },
  {
    "path": "unitTests/rawTestData/Style/NumberFormat.data",
    "content": "# value\t\tformat\t\t\t\t\t\t\t\t\tresult\n0.0,\t\t\"0.0\",\t\t\t\t\t\t\t\t\t\"0.0\"\n0.0,\t\t\"0\",\t\t\t\t\t\t\t\t\t\"0\"\n0,\t\t\t\"0.0\",\t\t\t\t\t\t\t\t\t\"0.0\"\n0,\t\t\t\"0\",\t\t\t\t\t\t\t\t\t\"0\"\n0,\t\t\t\"##0\",\t\t\t\t\t\t\t\t\t\"000\"\n12,\t\t\t\"#.0#\",\t\t\t\t\t\t\t\t\t\"12.0\"\n0.1,\t\t\"0.0\",\t\t\t\t\t\t\t\t\t\"0.1\"\n0.1,\t\t\"0\",\t\t\t\t\t\t\t\t\t\"0\"\n5.5555,\t\t\"0.###\",\t\t\t\t\t\t\t\t\"5.556\"\n5.5555,\t\t\"0.0##\",\t\t\t\t\t\t\t\t\"5.556\"\t\n5.5555,\t\t\"0.00#\",\t\t\t\t\t\t\t\t\"5.556\"\n5.5555,\t\t\"0.000\",\t\t\t\t\t\t\t\t\"5.556\"\n5.5555,\t\t\"0.0000\",\t\t\t\t\t\t\t\t\"5.5555\"\n12345.6789,\t'\"#,##0.00\"',\t\t\t\t\t\t\t'\"12,345.68\"'\n12345.6789,\t'\"#,##0.000\"',\t\t\t\t\t\t\t'\"12,345.679\"'\n12345.6789,\t'\"£ #,##0.00\"',\t\t\t\t\t\t\t'\"£ 12,345.68\"'\n12345.6789,\t'\"$ #,##0.000\"',\t\t\t\t\t\t'\"$ 12,345.679\"'\n5.6789,\t\t'\"#,##0.00\"',\t\t\t\t\t\t\t'\"5.68\"'\n12000,\t\t'\"#,###\"',\t\t\t\t\t\t\t\t'\"12,000\"'\n12000,\t\t'\"#,\"',\t\t\t\t\t\t\t\t\t'12'\n12200000,\t'\"0.0,,\"',\t\t\t\t\t\t\t\t'12.2'\t\t// Scaling test\n0.08,\t\t\"0%\",\t\t\t\t\t\t\t\t\t\"8%\"\n0.8,\t\t\"0%\",\t\t\t\t\t\t\t\t\t\"80%\"\n2.8,\t\t\"0%\",\t\t\t\t\t\t\t\t\t\"280%\"\n125.74,\t\t'$0.00\" Surplus\";$-0.00\" Shortage\"',\t\"$125.74 Surplus\"\n-125.74,\t'$0.00\" Surplus\";$-0.00\" Shortage\"',\t\"$-125.74 Shortage\"\n-125.74,\t'$0.00\" Surplus\";$0.00\" Shortage\"',\t\t\"$125.74 Shortage\"\n5.25,\t\t'# ???/???',\t\t\t\t\t\t\t\"5 1/4\"\t\t// Fraction\n5.3,\t\t'# ???/???',\t\t\t\t\t\t\t\"5 3/10\"\t// Vulgar Fraction\n5.25,\t\t'???/???',\t\t\t\t\t\t\t\t\"21/4\"\n123456789,\t'(000) 0-0000-000',\t\t\t\t\t\t\"(001) 2-3456-789\"\n123456789,\t'0 (+00) 0000 00 00 00',\t\t\t\t\"0 (+00) 0123 45 67 89\"\n123456789,\t'0000:00:00',\t\t\t\t\t\t\t\"12345:67:89\"\n-123456789,\t'0000:00:00',\t\t\t\t\t\t\t\"-12345:67:89\"\n1234567.89,\t'0000:00.00',\t\t\t\t\t\t\t\"12345:67.89\"\n-1234567.89,'0000:00.00',\t\t\t\t\t\t\t\"-12345:67.89\"\n"
  },
  {
    "path": "unitTests/rawTestData/Style/NumberFormatDates.data",
    "content": "22269.0625, 'dd-mm-yyyy hh:mm:ss',                  \"19-12-1960 01:30:00\"\n22269.0625, 'MM/DD/YYYY HH:MM:SS',                  \"12/19/1960 01:30:00\"     // Oasis uses upper-case\n22269.0625, 'yyyy-mm-dd\\Thh:mm:ss',                 \"1960-12-19T01:30:00\"     // Date with plaintext escaped with a \\\n22269.0625, 'yyyy-mm-dd\"T\"hh:mm:ss \\Z',             \"1960-12-19T01:30:00 Z\"   // Date with plaintext in quotes\n22269.0625, '\"y-m-d\" yyyy-mm-dd \"h:m:s\" hh:mm:ss',  \"y-m-d 1960-12-19 h:m:s 01:30:00\"  // Date with quoted formatting characters\n22269.0625, '\"y-m-d \"yyyy-mm-dd\" h:m:s \"hh:mm:ss',  \"y-m-d 1960-12-19 h:m:s 01:30:00\"  // Date with quoted formatting characters\n"
  },
  {
    "path": "unitTests/testDataFileIterator.php",
    "content": "<?php\n\nclass testDataFileIterator implements Iterator\n{\n    protected $file;\n    protected $key = 0;\n    protected $current;\n\n    public function __construct($file)\n    {\n        $this->file = fopen($file, 'r');\n    }\n\n    public function __destruct()\n    {\n        fclose($this->file);\n    }\n\n    public function rewind()\n    {\n        rewind($this->file);\n        $this->current = $this->_parseNextDataset();\n        $this->key = 0;\n    }\n\n    public function valid()\n    {\n        return !feof($this->file);\n    }\n\n    public function key()\n    {\n        return $this->key;\n    }\n\n    public function current()\n    {\n        return $this->current;\n    }\n\n    public function next()\n    {\n        $this->current = $this->_parseNextDataset();\n        $this->key++;\n    }\n\n    private function _parseNextDataset()\n    {\n        //    Read a line of test data from the file\n        do {\n            //    Only take lines that contain test data and that aren't commented out\n            $testDataRow = trim(fgets($this->file));\n        } while (($testDataRow > '') && ($testDataRow{0} === '#'));\n\n        //    Discard any comments at the end of the line\n        list($testData) = explode('//', $testDataRow);\n\n        //    Split data into an array of individual values and a result\n        $dataSet = $this->_getcsv($testData, ',', \"'\");\n        foreach ($dataSet as &$dataValue) {\n            $dataValue = $this->_parseDataValue($dataValue);\n        }\n        unset($dataValue);\n\n        return $dataSet;\n    }\n\n    private function _getcsv($input, $delimiter, $enclosure)\n    {\n        if (function_exists('str_getcsv')) {\n            return str_getcsv($input, $delimiter, $enclosure);\n        }\n\n        $temp = fopen('php://memory', 'rw');\n        fwrite($temp, $input);\n        rewind($temp);\n        $data = fgetcsv($temp, strlen($input), $delimiter, $enclosure);\n        fclose($temp);\n\n        if ($data === false) {\n            $data = array(null);\n        }\n\n        return $data;\n    }\n\n    private function _parseDataValue($dataValue)\n    {\n        //    discard any white space\n        $dataValue = trim($dataValue);\n        //    test for the required datatype and convert accordingly\n        if (!is_numeric($dataValue)) {\n            if ($dataValue == '') {\n                $dataValue = null;\n            } elseif ($dataValue == '\"\"') {\n                $dataValue = '';\n            } elseif (($dataValue[0] == '\"') && ($dataValue[strlen($dataValue)-1] == '\"')) {\n                $dataValue = substr($dataValue, 1, -1);\n            } elseif (($dataValue[0] == '{') && ($dataValue[strlen($dataValue)-1] == '}')) {\n                $dataValue = explode(';', substr($dataValue, 1, -1));\n                foreach ($dataValue as &$dataRow) {\n                    if (strpos($dataRow, '|') !== false) {\n                        $dataRow = explode('|', $dataRow);\n                        foreach ($dataRow as &$dataCell) {\n                            $dataCell = $this->_parseDataValue($dataCell);\n                        }\n                        unset($dataCell);\n                    } else {\n                        $dataRow = $this->_parseDataValue($dataRow);\n                    }\n                }\n                unset($dataRow);\n            } else {\n                switch (strtoupper($dataValue)) {\n                    case 'NULL':\n                        $dataValue = null;\n                        break;\n                    case 'TRUE':\n                        $dataValue = true;\n                        break;\n                    case 'FALSE':\n                        $dataValue = false;\n                        break;\n                }\n            }\n        } else {\n            if (strpos($dataValue, '.') !== false) {\n                $dataValue = (float) $dataValue;\n            } else {\n                $dataValue = (int) $dataValue;\n            }\n        }\n\n        return $dataValue;\n    }\n}\n"
  }
]