search
HomePHP LibrariesOther librariesPHP library for processing Excel documents
PHP library for processing Excel documents

PHP library for processing Excel documents, which can insert text, text symbols, paging, headers/footers, tables, elements in lists, hyperlinks, etc. PHPExcel is equipped with more than a dozen practical examples that can be used as development references, and is equipped with corresponding Chinese documents, which is very convenient to use

<?php
/** PHPExcel root directory */
if (!defined('PHPEXCEL_ROOT')) {
    define('PHPEXCEL_ROOT', dirname(__FILE__) . '/');
    require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
}
class PHPExcel
{
    private $uniqueID;
    private $properties;
    private $security;
    private $workSheetCollection = array();
    private $calculationEngine;
    private $activeSheetIndex = 0;
    private $namedRanges = array();
    private $cellXfSupervisor;
    private $cellXfCollection = array();
    private $cellStyleXfCollection = array();
    private $hasMacros = false;
    private $macrosCode;
    private $macrosCertificate;
    private $ribbonXMLData;
    private $ribbonBinObjects;
    public function hasMacros()
    {
        return $this->hasMacros;
    }
    public function setHasMacros($hasMacros = false)
    {
        $this->hasMacros = (bool) $hasMacros;
    }
    public function setMacrosCode($MacrosCode = null)
    {
        $this->macrosCode=$MacrosCode;
        $this->setHasMacros(!is_null($MacrosCode));
    }
    public function getMacrosCode()
    {
        return $this->macrosCode;
    }
    public function setMacrosCertificate($Certificate = null)
    {
        $this->macrosCertificate=$Certificate;
    }


Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

29 Excel processing classes for PHP29 Excel processing classes for PHP

08Aug2016

: This article mainly introduces 29 PHP Excel processing classes. Students who are interested in PHP tutorials can refer to it.

30 Excel processing classes for PHP30 Excel processing classes for PHP

08Aug2016

: This article mainly introduces 30 PHP Excel processing classes. Students who are interested in PHP tutorials can refer to it.

phpExcel extension library for php excel file exportphpExcel extension library for php excel file export

08Aug2016

:This article mainly introduces the phpExcel extension library for php excel file export. Students who are interested in PHP tutorials can refer to it.

Which functions in the PHP library are used for data processing?Which functions in the PHP library are used for data processing?

28Apr2024

The PHP function library provides a variety of data processing and operation functions, including: Array functions: merge arrays, find intersections, add/remove elements String functions: get length, replace substrings, remove blanks, split string data type conversion functions : Convert variables to integers, floats, strings, booleans Date and time functions: Get timestamp, format time, format time according to Greenwich time

How to use PHP for Excel file processing?How to use PHP for Excel file processing?

13May2023

With the continuous popularity and application of Excel files in the business field and daily life, we often need to use PHP to process Excel files, such as importing and exporting data, filtering and sorting data, etc. Therefore, this article will introduce how to use PHP for Excel file processing. Install the PHPExcel library PHPExcel is a powerful open source library for PHP to operate Excel files. It supports reading and writing Excel files, and provides many convenient operation methods. You need to install P before using it

PHP-ExcelReader: PHP class library for parsing excel files_PHP tutorialPHP-ExcelReader: PHP class library for parsing excel files_PHP tutorial

13Jul2016

PHP-ExcelReader: PHP class library for parsing excel files. PHP-ExcelReader: PHP class library for parsing excel files. PHP-ExcelReader is an open source project based on PHP. Its function is to parse excel files. The official website of PHP-ExcelReader is as follows:

See all articles