<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* @category PHPExcel
* @package PHPExcel_Reader_Excel5
* @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
* @version ##VERSION##, ##DATE##
*/
// Original file header of ParseXL (used as the base for this class):
// --------------------------------------------------------------------------------
// Adapted from Excel_Spreadsheet_Reader developed by users bizon153,
// trex005, and mmp11 (SourceForge.net)
// http://sourceforge.net/projects/phpexcelreader/
// Primary changes made by canyoncasa (dvc) for ParseXL 1.00 ...
// Modelled moreso after Perl Excel Parse/Write modules
// Added Parse_Excel_Spreadsheet object
// Reads a whole worksheet or tab as row,column array or as
// associated hash of indexed rows and named column fields
// Added variables for worksheet (tab) indexes and names
// Added an object call for loading individual woorksheets
// Changed default indexing defaults to 0 based arrays
// Fixed date/time and percent formats
// Includes patches found at SourceForge...
// unicode patch by nobody
// unpack("d") machine depedency patch by matchy
// boundsheet utf16 patch by bjaenichen
// Renamed functions for shorter names
// General code cleanup and rigor, including <80 column width
// Included a testcase Excel file and PHP example calls
// Code works for PHP 5.x
// Primary changes made by canyoncasa (dvc) for ParseXL 1.10 ...
// http://sourceforge.net/tracker/index.php?func=detail&aid=1466964&group_id=99160&atid=623334
// Decoding of formula conditions, results, and tokens.
// Support for user-defined named cells added as an array "namedcells"
// Patch code for user-defined named cells supports single cells only.
// NOTE: this patch only works for BIFF8 as BIFF5-7 use a different
// external sheet reference structure
/** PHPExcel root directory */
if (!defined('PHPEXCEL_ROOT')) {
/**
* @ignore
*/
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
}
/**
* PHPExcel_Reader_Excel5
*
* This class uses {@link http://sourceforge.net/projects/phpexcelreader/parseXL}
*
* @category PHPExcel
* @package PHPExcel_Reader_Excel5
* @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
*/
class PHPExcel_Reader_Excel5 extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader
{
// ParseXL definitions
const XLS_BIFF8 = 0x0600;
const XLS_BIFF7 = 0x0500;
const XLS_WorkbookGlobals = 0x0005;
const XLS_Worksheet = 0x0010;
// record identifiers
const XLS_Type_FORMULA = 0x0006;
const XLS_Type_EOF = 0x000a;
const XLS_Type_PROTECT = 0x0012;
const XLS_Type_OBJECTPROTECT = 0x0063;
const XLS_Type_SCENPROTECT = 0x00dd;
const XLS_Type_PASSWORD = 0x0013;
const XLS_Type_HEADER = 0x0014;
const XLS_Type_FOOTER = 0x0015;
const XLS_Type_EXTERNSHEET = 0x0017;
const XLS_Type_DEFINEDNAME = 0x0018;
const XLS_Type_VERTICALPAGEBREAKS = 0x001a;
const XLS_Type_HORIZONTALPAGEBREAKS = 0x001b;
const XLS_Type_NOTE = 0x001c;
const XLS_Type_SELECTION = 0x001d;
const XLS_Type_DATEMODE = 0x0022;
const XLS_Type_EXTERNNAME = 0x0023;
const XLS_Type_LEFTMARGIN = 0x0026;
const XLS_Type_RIGHTMARGIN = 0x0027;
const XLS_Type_TOPMARGIN = 0x0028;
const XLS_Type_BOTTOMMARGIN = 0x0029;
const XLS_Type_PRINTGRIDLINES = 0x002b;
const XLS_Type_FILEPASS = 0x002f;
const XLS_Type_FONT = 0x0031;
const XLS_Type_CONTINUE = 0x003c;
const XLS_Type_PANE = 0x0041;
const XLS_Type_CODEPAGE = 0x0042;
const XLS_Type_DEFCOLWIDTH = 0x0055;
const XLS_Type_OBJ = 0x005d;
const XLS_Type_COLINFO = 0x007d;
const XLS_Type_IMDATA = 0x007f;
const XLS_Type_SHEETPR = 0x0081;
const XLS_Type_HCENTER = 0x0083;
const XLS_Type_VCENTER = 0x0084;
const XLS_Type_SHEET = 0x0085;
const XLS_Type_PALETTE = 0x0092;
const XLS_Type_SCL = 0x00a0;
const XLS_Type_PAGESETUP = 0x00a1;
const XLS_Type_MULRK = 0x00bd;
const XLS_Type_MULBLANK = 0x00be;
const XLS_Type_DBCELL = 0x00d7;
const XLS_Type_XF = 0x00e0;
const XLS_Type_MERGEDCELLS = 0x00e5;
const XLS_Type_MSODRAWINGGROUP = 0x00eb;
const XLS_Type_MSODRAWING = 0x00ec;
const XLS_Type_SST = 0x00fc;
const XLS_Type_LABELSST = 0x00fd;
const XLS_Type_EXTSST = 0x00ff;
const XLS_Type_EXTERNALBOOK = 0x01ae;
const XLS_Type_DATAVALIDATIONS = 0x01b2;
const XLS_Type_TXO = 0x01b6;
const XLS_Type_HYPERLINK = 0x01b8;
const XLS_Type_DATAVALIDATION = 0x01be;
const XLS_Type_DIMENSION = 0x0200;
const XLS_Type_BLANK = 0x0201;
const XLS_Type_NUMBER = 0x0203;
const XLS_Type_LABEL = 0x0204;
const XLS_Type_BOOLERR = 0x0205;
const XLS_Type_STRING = 0x0207;
const XLS_Type_ROW = 0x0208;
const XLS_Type_INDEX = 0x020b;
const XLS_Type_ARRAY = 0x0221;
const XLS_Type_DEFAULTROWHEIGHT = 0x0225;
const XLS_Type_WINDOW2 = 0x023e;
const XLS_Type_RK = 0x027e;
const XLS_Type_STYLE = 0x0293;
const XLS_Type_FORMAT = 0x041e;
const XLS_Type_SHAREDFMLA = 0x04bc;
const XLS_Type_BOF = 0x0809;
const XLS_Type_SHEETPROTECTION = 0x0867;
const XLS_Type_RANGEPROTECTION = 0x0868;
const XLS_Type_SHEETLAYOUT = 0x0862;
const XLS_Type_XFEXT = 0x087d;
const XLS_Type_PAGELAYOUTVIEW = 0x088b;
const XLS_Type_UNKNOWN = 0xffff;
// Encryption type
const MS_BIFF_CRYPTO_NONE = 0;
const MS_BIFF_CRYPTO_XOR = 1;
const MS_BIFF_CRYPTO_RC4 = 2;
// Size of stream blocks when using RC4 encryption
const REKEY_BLOCK = 0x400;
/**
* Summary Information stream data.
*
* @var string
*/
private $_summaryInformation;
/**
* Extended Summary Information stream data.
*
* @var string
*/
private $_documentSummaryInformation;
/**
* User-Defined Properties stream data.
*
* @var string
*/
private $_userDefinedProperties;
/**
* Workbook stream data. (Includes workbook globals substream as well as sheet substreams)
*
* @var string
*/
private $_data;
/**
* Size in bytes of $this->_data
*
* @var int
*/
private $_dataSize;
/**
* Current position in stream
*
* @var integer
*/
private $_pos;
/**
* Workbook to be returned by the reader.
*
* @var PHPExcel
*/
private $_phpExcel;
/**
* Worksheet that is currently being built by the reader.
*
* @var PHPExcel_Worksheet
*/
private $_phpSheet;
/**
* BIFF version
*
* @var int
*/
private $_version;
/**
* Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95)
* For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE'
*
* @var string
*/
private $_codepage;
/**
* Shared formats
*
* @var array
*/
private $_formats;
/**
* Shared fonts
*
* @var array
*/
private $_objFonts;
/**
* Co
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
预览地址:http://www.jihuodi.com/2020/04/07/bohan_jiajiaobang1-1-18/; 系统环境:CentOS Linux 7.6.1810 (Core) 运行环境:宝塔 Linux v7.0.3(标准版) 网站环境:Nginx 1.15.10 + MySQL 5.6.46 + PHP-7.1 拓展插件:SG11等 家教帮V1.1.18更新内容: 优化及修复缺少表及字段问题
资源推荐
资源详情
资源评论
收起资源包目录
家教帮V1.1.18 家教辅导微信家教帮源码下载 (3568个子文件)
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
app.7b86205bafcf2a444822873f4a4bb4e5.css 232KB
app.b1bdfe32d5790c0b78fd88524aeceea5.css 232KB
app.0dd4557fbdf9c2ab322e4c4743aeaf30.css 232KB
app.54b9e3ff0509e8207c3d63ff7c9b58e4.css 232KB
app.531860842caaa2bf4bba3030be519870.css 230KB
app.7859688d69781a47baff1e9843fddd3a.css 230KB
app.9577c65c0a2024312c9fc69241891cea.css 230KB
app.8f9cfb8018c06f2d9f476613054eeba2.css 230KB
app.03974171b675c4f95f5d89b67127b124.css 230KB
app.6784de4d3c98dd2a5770af61ca2579ce.css 230KB
app.78a6ae914e9f2d5216316c5433576d44.css 230KB
app.932a90a6f021785fdd900dfc4540a2f5.css 230KB
app.f6bd6d8e1ffbca5e41f9aa4ee0d653b9.css 230KB
app.e2d2ab3edbdc2916f94cca5018411847.css 230KB
app.0176ad8a2bd6136a933654c48f141b9f.css 230KB
app.170714c091a3534f34fdcd08e1b50513.css 230KB
app.07bf03053f05d815f97a27c9d9751263.css 230KB
app.0d5fce9ac5213890348acf80c1a05061.css 230KB
app.7027823175f4b4d5779ae81a822c0d75.css 229KB
app.111c05c25955e2e1d7e6af35856120ca.css 228KB
app.6d96d2b0e0bc9eb33a6f53abcef69d7d.css 218KB
app.c643fba40c2ffb08697994f52f3a053f.css 218KB
app.13bcd35305c0e88510575835e143fbe5.css 218KB
app.3de558d60789a8ef4b92b5bbeeadf146.css 218KB
app.cb57ad6d552f95cec8aabd37342889ec.css 218KB
app.f095477f6c3abc8eecbd8b829b3c7a5f.css 218KB
app.7855e1e8eeabd8be9a0523c3c4cbcdc1.css 218KB
app.03523eada82ed4129c3fccf404ac99ca.css 218KB
app.43d55928399730769516abc7ec9eca3f.css 218KB
app.fff0a8f820937d5a5c81a21b31cd0217.css 218KB
app.7a68d2fc4b2da7c089156a5900d66439.css 218KB
app.07343cab5bf532c19c79a151d935bb40.css 218KB
app.db3229168488d5dfa37c277455e88508.css 218KB
app.c9319acb9f1b00d649313f1d29cbd3c0.css 218KB
app.fc0b41af396fdb3b3feed9734801353c.css 218KB
app.728bcc95bb36bb78be503dde23a939a9.css 218KB
app.1d08354ad6362cbdf944fabc84a4af82.css 217KB
app.903ede6d59a90a71e6bd4eb6a314fd2a.css 217KB
app.cdd6c57e44f3a18513e5e7b32a740e09.css 217KB
app.8d75ea57fd76e5a3a9a75c35266a6f04.css 217KB
app.eeb65dda4604035a9934c64571a25956.css 217KB
app.2bb1c44203b63eae4fee6781d489c757.css 217KB
app.4a29e8e4a5de541fe30b557dd2a9b13e.css 216KB
app.77b116d5cee47c97e0f66385d5ddd793.css 216KB
app.25cefd9195994f1ec6c8e6fa3c2c3d4a.css 216KB
app.e29dbbdbd9949d16416f66143510abfb.css 216KB
app.20eda51d12cd82ca70cee564f139c3f5.css 216KB
app.1f365805f5d0189fbfb6153ddf92fbd1.css 216KB
app.c38aab9c60480c83505abce0f6b88bb5.css 214KB
index.css 69KB
index.css 61KB
index.css 61KB
ueditor.css 45KB
ueditor.css 43KB
video-js.css 22KB
video-js.css 21KB
image.css 19KB
image.css 18KB
video.css 15KB
attachment.css 15KB
video.css 15KB
attachment.css 14KB
video-js.min.css 11KB
video-js.min.css 11KB
iconfont.css 8KB
iconfont.css 8KB
iconfont.css 8KB
shCoreDefault.css 7KB
shCoreDefault.css 7KB
scrawl.css 4KB
scrawl.css 4KB
codemirror.css 3KB
codemirror.css 3KB
charts.css 3KB
charts.css 3KB
background.css 2KB
background.css 2KB
reset.css 2KB
emotion.css 2KB
emotion.css 2KB
dialogbase.css 2KB
music.css 2KB
共 3568 条
- 1
- 2
- 3
- 4
- 5
- 6
- 36
资源评论
- xihu5102020-11-11为了这个模块买了会员 结果不能用 真是恼人
phubing
- 粉丝: 607
- 资源: 850
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功