ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct () | |
Create a new PHPExcel_Reader_Excel5 instance. More... | |
canRead ($pFilename) | |
Can the current PHPExcel_Reader_IReader read the file? More... | |
listWorksheetNames ($pFilename) | |
Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object. More... | |
listWorksheetInfo ($pFilename) | |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) More... | |
load ($pFilename) | |
Loads PHPExcel from file. More... | |
Public Member Functions inherited from PHPExcel_Reader_Abstract | |
getReadDataOnly () | |
Read data only? If this is true, then the Reader will only read data values for cells, it will not read any formatting information. More... | |
setReadDataOnly ($pValue=FALSE) | |
Set read data only Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information. More... | |
getIncludeCharts () | |
Read charts in workbook? If this is true, then the Reader will include any charts that exist in the workbook. More... | |
setIncludeCharts ($pValue=FALSE) | |
Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the workbook. More... | |
getLoadSheetsOnly () | |
Get which sheets to load Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null indicating that all worksheets in the workbook should be loaded. More... | |
setLoadSheetsOnly ($value=NULL) | |
Set which sheets to load. More... | |
setLoadAllSheets () | |
Set all sheets to load Tells the Reader to load all worksheets from the workbook. More... | |
getReadFilter () | |
Read filter. More... | |
setReadFilter (PHPExcel_Reader_IReadFilter $pValue) | |
Set read filter. More... | |
canRead ($pFilename) | |
Can the current PHPExcel_Reader_IReader read the file? More... | |
securityScan ($xml) | |
Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks. More... | |
securityScanFile ($filestream) | |
Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks. More... | |
Static Public Member Functions | |
static | _GetInt2d ($data, $pos) |
Read 16-bit unsigned integer. More... | |
static | _GetInt4d ($data, $pos) |
Read 32-bit signed integer. More... | |
Private Member Functions | |
_readRecordData ($data, $pos, $len) | |
Read record data from stream, decrypting as required. More... | |
_loadOLE ($pFilename) | |
Use OLE reader to extract the relevant data streams from the OLE file. More... | |
_readSummaryInformation () | |
Read summary information. More... | |
_readDocumentSummaryInformation () | |
Read additional document summary information. More... | |
_readDefault () | |
Reads a general type of BIFF record. More... | |
_readNote () | |
The NOTE record specifies a comment associated with a particular cell. More... | |
_readTextObject () | |
The TEXT Object record contains the text associated with a cell annotation. More... | |
_readBof () | |
Read BOF. More... | |
_readFilepass () | |
FILEPASS. More... | |
_makeKey ($block, $valContext) | |
_verifyPassword ($password, $docid, $salt_data, $hashedsalt_data, &$valContext) | |
_readCodepage () | |
CODEPAGE. More... | |
_readDateMode () | |
DATEMODE. More... | |
_readFont () | |
Read a FONT record. More... | |
_readFormat () | |
FORMAT. More... | |
_readXf () | |
XF - Extended Format. More... | |
_readXfExt () | |
_readStyle () | |
Read STYLE record. More... | |
_readPalette () | |
Read PALETTE record. More... | |
_readSheet () | |
SHEET. More... | |
_readExternalBook () | |
Read EXTERNALBOOK record. More... | |
_readExternName () | |
Read EXTERNNAME record. More... | |
_readExternSheet () | |
Read EXTERNSHEET record. More... | |
_readDefinedName () | |
DEFINEDNAME. More... | |
_readMsoDrawingGroup () | |
Read MSODRAWINGGROUP record. More... | |
_readSst () | |
SST - Shared String Table. More... | |
_readPrintGridlines () | |
Read PRINTGRIDLINES record. More... | |
_readDefaultRowHeight () | |
Read DEFAULTROWHEIGHT record. More... | |
_readSheetPr () | |
Read SHEETPR record. More... | |
_readHorizontalPageBreaks () | |
Read HORIZONTALPAGEBREAKS record. More... | |
_readVerticalPageBreaks () | |
Read VERTICALPAGEBREAKS record. More... | |
_readHeader () | |
Read HEADER record. More... | |
_readFooter () | |
Read FOOTER record. More... | |
_readHcenter () | |
Read HCENTER record. More... | |
_readVcenter () | |
Read VCENTER record. More... | |
_readLeftMargin () | |
Read LEFTMARGIN record. More... | |
_readRightMargin () | |
Read RIGHTMARGIN record. More... | |
_readTopMargin () | |
Read TOPMARGIN record. More... | |
_readBottomMargin () | |
Read BOTTOMMARGIN record. More... | |
_readPageSetup () | |
Read PAGESETUP record. More... | |
_readProtect () | |
PROTECT - Sheet protection (BIFF2 through BIFF8) if this record is omitted, then it also means no sheet protection. More... | |
_readScenProtect () | |
SCENPROTECT. More... | |
_readObjectProtect () | |
OBJECTPROTECT. More... | |
_readPassword () | |
PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8) More... | |
_readDefColWidth () | |
Read DEFCOLWIDTH record. More... | |
_readColInfo () | |
Read COLINFO record. More... | |
_readRow () | |
ROW. More... | |
_readRk () | |
Read RK record This record represents a cell that contains an RK value (encoded integer or floating-point value). More... | |
_readLabelSst () | |
Read LABELSST record This record represents a cell that contains a string. More... | |
_readMulRk () | |
Read MULRK record This record represents a cell range containing RK value cells. More... | |
_readNumber () | |
Read NUMBER record This record represents a cell that contains a floating-point value. More... | |
_readFormula () | |
Read FORMULA record + perhaps a following STRING record if formula result is a string This record contains the token array and the result of a formula cell. More... | |
_readSharedFmla () | |
Read a SHAREDFMLA record. More... | |
_readString () | |
Read a STRING record from current stream position and advance the stream pointer to next record This record is used for storing result from FORMULA record when it is a string, and it occurs directly after the FORMULA record. More... | |
_readBoolErr () | |
Read BOOLERR record This record represents a Boolean value or error value cell. More... | |
_readMulBlank () | |
Read MULBLANK record This record represents a cell range of empty cells. More... | |
_readLabel () | |
Read LABEL record This record represents a cell that contains a string. More... | |
_readBlank () | |
Read BLANK record. More... | |
_readMsoDrawing () | |
Read MSODRAWING record. More... | |
_readObj () | |
Read OBJ record. More... | |
_readWindow2 () | |
Read WINDOW2 record. More... | |
_readPageLayoutView () | |
Read PLV Record(Created by Excel2007 or upper) More... | |
_readScl () | |
Read SCL record. More... | |
_readPane () | |
Read PANE record. More... | |
_readSelection () | |
Read SELECTION record. More... | |
_includeCellRangeFiltered ($cellRangeAddress) | |
_readMergedCells () | |
MERGEDCELLS. More... | |
_readHyperLink () | |
Read HYPERLINK record. More... | |
_readDataValidations () | |
Read DATAVALIDATIONS record. More... | |
_readDataValidation () | |
Read DATAVALIDATION record. More... | |
_readSheetLayout () | |
Read SHEETLAYOUT record. More... | |
_readSheetProtection () | |
Read SHEETPROTECTION record (FEATHEADR) More... | |
_readRangeProtection () | |
Read RANGEPROTECTION record Reading of this record is based on Microsoft Office Excel 97-2000 Binary File Format Specification, where it is referred to as FEAT record. More... | |
_readImData () | |
Read IMDATA record. More... | |
_readContinue () | |
Read a free CONTINUE record. More... | |
_getSplicedRecordData () | |
Reads a record from current position in data stream and continues reading data as long as CONTINUE records are found. More... | |
_getFormulaFromStructure ($formulaStructure, $baseCell='A1') | |
Convert formula structure into human readable Excel formula like 'A3+A5*5'. More... | |
_getFormulaFromData ($formulaData, $additionalData='', $baseCell='A1') | |
Take formula data and additional data for formula and return human readable formula. More... | |
_createFormulaFromTokens ($tokens, $additionalData) | |
Take array of tokens together with additional data for formula and return human readable formula. More... | |
_getNextToken ($formulaData, $baseCell='A1') | |
Fetch next token from binary formula data. More... | |
_readBIFF8CellAddress ($cellAddressStructure) | |
Reads a cell address in BIFF8 e.g. More... | |
_readBIFF8CellAddressB ($cellAddressStructure, $baseCell='A1') | |
Reads a cell address in BIFF8 for shared formulas. More... | |
_readBIFF5CellRangeAddressFixed ($subData) | |
Reads a cell range address in BIFF5 e.g. More... | |
_readBIFF8CellRangeAddressFixed ($subData) | |
Reads a cell range address in BIFF8 e.g. More... | |
_readBIFF8CellRangeAddress ($subData) | |
Reads a cell range address in BIFF8 e.g. More... | |
_readBIFF8CellRangeAddressB ($subData, $baseCell='A1') | |
Reads a cell range address in BIFF8 for shared formulas. More... | |
_readBIFF8CellRangeAddressList ($subData) | |
Read BIFF8 cell range address list section 2.5.15. More... | |
_readBIFF5CellRangeAddressList ($subData) | |
Read BIFF5 cell range address list section 2.5.15. More... | |
_readSheetRangeByRefIndex ($index) | |
Get a sheet range like Sheet1:Sheet3 from REF index Note: If there is only one sheet in the range, one gets e.g Sheet1 It can also happen that the REF structure uses the -1 (FFFF) code to indicate deleted sheets, in which case an PHPExcel_Reader_Exception is thrown. More... | |
_readByteStringShort ($subData) | |
Read byte string (8-bit string length) OpenOffice documentation: 2.5.2. More... | |
_readByteStringLong ($subData) | |
Read byte string (16-bit string length) OpenOffice documentation: 2.5.2. More... | |
_decodeCodepage ($string) | |
Convert string to UTF-8. More... | |
_parseRichText ($is='') | |
Static Private Member Functions | |
static | _readBIFF8ConstantArray ($arrayData) |
read BIFF8 constant value array from array data returns e.g. More... | |
static | _readBIFF8Constant ($valueData) |
read BIFF8 constant value which may be 'Empty Value', 'Number', 'String Value', 'Boolean Value', 'Error Value' section 2.5.7 returns e.g. More... | |
static | _readRGB ($rgb) |
Extract RGB color OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.4. More... | |
static | _readUnicodeStringShort ($subData) |
Extracts an Excel Unicode short string (8-bit string length) OpenOffice documentation: 2.5.3 function will automatically find out where the Unicode string ends. More... | |
static | _readUnicodeStringLong ($subData) |
Extracts an Excel Unicode long string (16-bit string length) OpenOffice documentation: 2.5.3 this function is under construction, needs to support rich text, and Asian phonetic settings. More... | |
static | _readUnicodeString ($subData, $characterCount) |
Read Unicode string with no string length field, but with known character count this function is under construction, needs to support rich text, and Asian phonetic settings OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.3. More... | |
static | _UTF8toExcelDoubleQuoted ($value) |
Convert UTF-8 string to string surounded by double quotes. More... | |
static | _extractNumber ($data) |
Reads first 8 bytes of a string and return IEEE 754 float. More... | |
static | _GetIEEE754 ($rknum) |
static | _encodeUTF16 ($string, $compressed='') |
Get UTF-8 string from (compressed or uncompressed) UTF-16 string. More... | |
static | _uncompressByteString ($string) |
Convert UTF-16 string in compressed notation to uncompressed form. More... | |
static | _readColor ($color, $palette, $version) |
Read color. More... | |
static | _mapBorderStyle ($index) |
Map border style OpenOffice documentation: 2.5.11. More... | |
static | _mapFillPattern ($index) |
Get fill pattern from index OpenOffice documentation: 2.5.12. More... | |
static | _mapErrorCode ($subData) |
Map error code, e.g. More... | |
static | _mapBuiltInColor ($color) |
Map built-in color to RGB value. More... | |
static | _mapColorBIFF5 ($subData) |
Map color array from BIFF5 built-in color index. More... | |
static | _mapColor ($subData) |
Map color array from BIFF8 built-in color index. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PHPExcel_Reader_Abstract | |
_openFile ($pFilename) | |
Open file for reading. More... | |
Protected Attributes inherited from PHPExcel_Reader_Abstract | |
$_readDataOnly = FALSE | |
$_includeCharts = FALSE | |
$_loadSheetsOnly = NULL | |
$_readFilter = NULL | |
$_fileHandle = NULL | |
Definition at line 78 of file Excel5.php.
PHPExcel_Reader_Excel5::__construct | ( | ) |
|
private |
Take array of tokens together with additional data for formula and return human readable formula.
array | $tokens | |
array | $additionalData | Additional binary data going with the formula |
string | $baseCell | Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
Definition at line 5283 of file Excel5.php.
References $function, $i, _readBIFF8CellRangeAddressList(), and array.
Referenced by _getFormulaFromData().
|
private |
Convert string to UTF-8.
Only used for BIFF5.
string | $string |
Definition at line 6761 of file Excel5.php.
References PHPExcel_Shared_String\ConvertEncoding().
Referenced by _readByteStringLong(), and _readByteStringShort().
|
staticprivate |
Get UTF-8 string from (compressed or uncompressed) UTF-16 string.
string | $string | |
bool | $compressed |
Definition at line 6727 of file Excel5.php.
References PHPExcel_Shared_String\ConvertEncoding().
|
staticprivate |
Reads first 8 bytes of a string and return IEEE 754 float.
string | $data | Binary string that is at least 8 bytes long |
Definition at line 6670 of file Excel5.php.
References $data.
|
private |
Take formula data and additional data for formula and return human readable formula.
string | $formulaData | The binary data for the formula itself |
string | $additionalData | Additional binary data going with the formula |
string | $baseCell | Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
Definition at line 5256 of file Excel5.php.
References _createFormulaFromTokens(), _getNextToken(), and array.
Referenced by _getFormulaFromStructure(), and _getNextToken().
|
private |
Convert formula structure into human readable Excel formula like 'A3+A5*5'.
string | $formulaStructure | The complete binary data for the formula |
string | $baseCell | Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
Definition at line 5216 of file Excel5.php.
References _getFormulaFromData().
Referenced by _readDataValidation(), _readDefinedName(), _readExternName(), _readFormula(), and load().
|
staticprivate |
Definition at line 6694 of file Excel5.php.
|
static |
Read 16-bit unsigned integer.
string | $data | |
int | $pos |
Definition at line 6774 of file Excel5.php.
References $data.
Referenced by PHPExcel_Reader_Excel5_Escher\_readBlipJPEG(), PHPExcel_Reader_Excel5_Escher\_readBlipPNG(), PHPExcel_Reader_Excel5_Escher\_readBSE(), PHPExcel_Reader_Excel5_Escher\_readClientAnchor(), PHPExcel_Reader_Excel5_Escher\_readClientTextbox(), PHPExcel_Reader_Excel5_Escher\_readDefault(), PHPExcel_Reader_Excel5_Escher\_readOfficeArtRGFOPTE(), PHPExcel_Reader_Excel5_Escher\_readOPT(), PHPExcel_Reader_Excel5_Escher\_readSp(), PHPExcel_Reader_Excel5_Escher\_readTertiaryOPT(), and PHPExcel_Reader_Excel5_Escher\load().
|
static |
Read 32-bit signed integer.
string | $data | |
int | $pos |
Definition at line 6787 of file Excel5.php.
References $data.
Referenced by PHPExcel_Reader_Excel5_Escher\_readBlipJPEG(), PHPExcel_Reader_Excel5_Escher\_readBlipPNG(), PHPExcel_Reader_Excel5_Escher\_readBSE(), PHPExcel_Reader_Excel5_Escher\_readBstoreContainer(), PHPExcel_Reader_Excel5_Escher\_readClientAnchor(), PHPExcel_Reader_Excel5_Escher\_readClientData(), PHPExcel_Reader_Excel5_Escher\_readClientTextbox(), PHPExcel_Reader_Excel5_Escher\_readDefault(), PHPExcel_Reader_Excel5_Escher\_readDg(), PHPExcel_Reader_Excel5_Escher\_readDgContainer(), PHPExcel_Reader_Excel5_Escher\_readDgg(), PHPExcel_Reader_Excel5_Escher\_readDggContainer(), PHPExcel_Reader_Excel5_Escher\_readOfficeArtRGFOPTE(), PHPExcel_Reader_Excel5_Escher\_readOPT(), PHPExcel_Reader_Excel5_Escher\_readSp(), PHPExcel_Reader_Excel5_Escher\_readSpContainer(), PHPExcel_Reader_Excel5_Escher\_readSpgr(), PHPExcel_Reader_Excel5_Escher\_readSpgrContainer(), PHPExcel_Reader_Excel5_Escher\_readSplitMenuColors(), and PHPExcel_Reader_Excel5_Escher\_readTertiaryOPT().
|
private |
Fetch next token from binary formula data.
string | Formula data | |
string | $baseCell | Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
PHPExcel_Reader_Exception |
Definition at line 5447 of file Excel5.php.
References $data, $function, $id, $index, $name, $size, _getFormulaFromData(), _readBIFF8CellAddress(), _readBIFF8CellAddressB(), _readBIFF8CellRangeAddress(), _readBIFF8CellRangeAddressB(), _readSheetRangeByRefIndex(), and array.
Referenced by _getFormulaFromData().
|
private |
Reads a record from current position in data stream and continues reading data as long as CONTINUE records are found.
Splices the record data pieces and returns the combined string as if record data is in one piece. Moves to next current position in data stream to start of next record different from a CONtINUE record
Definition at line 5175 of file Excel5.php.
References $data, $i, _readRecordData(), and array.
Referenced by _readContinue(), _readImData(), _readMsoDrawing(), _readMsoDrawingGroup(), _readSst(), and _readTextObject().
|
private |
Definition at line 4433 of file Excel5.php.
References $column, $row, PHPExcel_Cell\getRangeBoundaries(), and PHPExcel_Reader_Abstract\getReadFilter().
Referenced by _readMergedCells().
|
private |
Use OLE reader to extract the relevant data streams from the OLE file.
string | $pFilename |
Definition at line 1159 of file Excel5.php.
References $res.
Referenced by listWorksheetInfo(), listWorksheetNames(), and load().
|
private |
Definition at line 1708 of file Excel5.php.
Referenced by _readRecordData(), and _verifyPassword().
|
staticprivate |
Map border style OpenOffice documentation: 2.5.11.
int | $index |
Definition at line 6839 of file Excel5.php.
References $index, PHPExcel_Style_Border\BORDER_DASHDOT, PHPExcel_Style_Border\BORDER_DASHDOTDOT, PHPExcel_Style_Border\BORDER_DASHED, PHPExcel_Style_Border\BORDER_DOTTED, PHPExcel_Style_Border\BORDER_DOUBLE, PHPExcel_Style_Border\BORDER_HAIR, PHPExcel_Style_Border\BORDER_MEDIUM, PHPExcel_Style_Border\BORDER_MEDIUMDASHDOT, PHPExcel_Style_Border\BORDER_MEDIUMDASHDOTDOT, PHPExcel_Style_Border\BORDER_MEDIUMDASHED, PHPExcel_Style_Border\BORDER_NONE, PHPExcel_Style_Border\BORDER_SLANTDASHDOT, PHPExcel_Style_Border\BORDER_THICK, and PHPExcel_Style_Border\BORDER_THIN.
|
staticprivate |
Map built-in color to RGB value.
int | $color | Indexed color |
Definition at line 6922 of file Excel5.php.
References array.
|
staticprivate |
Map color array from BIFF8 built-in color index.
int | $subData |
Definition at line 7016 of file Excel5.php.
References array.
|
staticprivate |
Map color array from BIFF5 built-in color index.
int | $subData |
Definition at line 6946 of file Excel5.php.
References array.
|
staticprivate |
Map error code, e.g.
'#N/A'
int | $subData |
Definition at line 6901 of file Excel5.php.
|
staticprivate |
Get fill pattern from index OpenOffice documentation: 2.5.12.
int | $index |
Definition at line 6868 of file Excel5.php.
References $index, PHPExcel_Style_Fill\FILL_NONE, PHPExcel_Style_Fill\FILL_PATTERN_DARKDOWN, PHPExcel_Style_Fill\FILL_PATTERN_DARKGRAY, PHPExcel_Style_Fill\FILL_PATTERN_DARKGRID, PHPExcel_Style_Fill\FILL_PATTERN_DARKHORIZONTAL, PHPExcel_Style_Fill\FILL_PATTERN_DARKTRELLIS, PHPExcel_Style_Fill\FILL_PATTERN_DARKUP, PHPExcel_Style_Fill\FILL_PATTERN_DARKVERTICAL, PHPExcel_Style_Fill\FILL_PATTERN_GRAY0625, PHPExcel_Style_Fill\FILL_PATTERN_GRAY125, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTDOWN, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTGRAY, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTGRID, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTHORIZONTAL, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTTRELLIS, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTUP, PHPExcel_Style_Fill\FILL_PATTERN_LIGHTVERTICAL, PHPExcel_Style_Fill\FILL_PATTERN_MEDIUMGRAY, and PHPExcel_Style_Fill\FILL_SOLID.
|
private |
Definition at line 7080 of file Excel5.php.
Referenced by _readNote(), and load().
|
private |
Reads a cell range address in BIFF5 e.g.
'A2:B6' or 'A1' always fixed range section 2.5.14
string | $subData |
PHPExcel_Reader_Exception |
Definition at line 6088 of file Excel5.php.
References $lc, $lr, and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _readBIFF5CellRangeAddressList(), and _readSharedFmla().
|
private |
Read BIFF5 cell range address list section 2.5.15.
string | $subData |
Definition at line 6328 of file Excel5.php.
References $i, _readBIFF5CellRangeAddressFixed(), and array.
Referenced by _readSelection().
|
private |
Reads a cell address in BIFF8 e.g.
'A2' or '$A$2' section 3.3.4
string | $cellAddressStructure |
Definition at line 6012 of file Excel5.php.
References $column, $row, and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _getNextToken(), and _readNote().
|
private |
Reads a cell address in BIFF8 for shared formulas.
Uses positive and negative values for row and column to indicate offsets from a base cell section 3.3.4
string | $cellAddressStructure | |
string | $baseCell | Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
Definition at line 6044 of file Excel5.php.
References $baseRow, $column, $row, PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _getNextToken().
|
private |
Reads a cell range address in BIFF8 e.g.
'A2:B6' or '$A$2:$B$6' there are flags indicating whether column/row index is relative section 3.3.4
string | $subData |
Definition at line 6165 of file Excel5.php.
References $lc, $lr, and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _getNextToken().
|
private |
Reads a cell range address in BIFF8 for shared formulas.
Uses positive and negative values for row and column to indicate offsets from a base cell section 3.3.4
string | $subData | |
string | $baseCell | Base cell |
Definition at line 6219 of file Excel5.php.
References $baseRow, $lc, $lr, PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _getNextToken().
|
private |
Reads a cell range address in BIFF8 e.g.
'A2:B6' or 'A1' always fixed range section 2.5.14
string | $subData |
PHPExcel_Reader_Exception |
Definition at line 6127 of file Excel5.php.
References $lc, $lr, and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _readBIFF8CellRangeAddressList(), _readHyperLink(), and _readRangeProtection().
|
private |
Read BIFF8 cell range address list section 2.5.15.
string | $subData |
Definition at line 6300 of file Excel5.php.
References $i, _readBIFF8CellRangeAddressFixed(), and array.
Referenced by _createFormulaFromTokens(), _readDataValidation(), and _readMergedCells().
|
staticprivate |
read BIFF8 constant value which may be 'Empty Value', 'Number', 'String Value', 'Boolean Value', 'Error Value' section 2.5.7 returns e.g.
array('value' => '5', 'size' => 9)
string | $valueData |
Definition at line 6454 of file Excel5.php.
|
staticprivate |
read BIFF8 constant value array from array data returns e.g.
array('value' => '{1,2;3,4}', 'size' => 40} section 2.5.8
string | $arrayData |
Definition at line 6415 of file Excel5.php.
References $r, $size, and array.
|
private |
Read BLANK record.
Definition at line 4137 of file Excel5.php.
References $row, _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by load().
|
private |
Read BOF.
Definition at line 1619 of file Excel5.php.
References $code, $version, and _readDefault().
Referenced by listWorksheetInfo(), listWorksheetNames(), and load().
|
private |
Read BOOLERR record This record represents a Boolean value or error value cell.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3993 of file Excel5.php.
References $column, $row, _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), PHPExcel_Cell_DataType\TYPE_BOOL, and PHPExcel_Cell_DataType\TYPE_ERROR.
Referenced by load().
|
private |
Read BOTTOMMARGIN record.
Definition at line 3257 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read byte string (16-bit string length) OpenOffice documentation: 2.5.2.
string | $subData |
Definition at line 6551 of file Excel5.php.
References _decodeCodepage(), and array.
Referenced by _readLabel(), and _readString().
|
private |
Read byte string (8-bit string length) OpenOffice documentation: 2.5.2.
string | $subData |
Definition at line 6529 of file Excel5.php.
References _decodeCodepage(), and array.
Referenced by _readFont(), _readFooter(), _readFormat(), _readHeader(), and _readSheet().
|
private |
CODEPAGE.
This record stores the text encoding used to write byte strings, stored as MS Windows code page identifier.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 1826 of file Excel5.php.
References _readRecordData(), and PHPExcel_Shared_CodePage\NumberToName().
Referenced by load().
|
private |
Read COLINFO record.
Definition at line 3442 of file Excel5.php.
References $i, $lc, and _readRecordData().
Referenced by load().
|
staticprivate |
Read color.
int | $color | Indexed color |
array | $palette | Color palette |
Definition at line 6810 of file Excel5.php.
References $version.
|
private |
Read a free CONTINUE record.
Free CONTINUE record may be a camouflaged MSODRAWING record When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used instead. Undocumented. In this case, we must treat the CONTINUE record as a MSODRAWING record
Definition at line 5122 of file Excel5.php.
References _getSplicedRecordData(), _readRecordData(), and array.
Referenced by load().
|
private |
Read DATAVALIDATION record.
Definition at line 4677 of file Excel5.php.
References $error, $objValidation, $options, $type, _getFormulaFromStructure(), _readBIFF8CellRangeAddressList(), _readRecordData(), PHPExcel_Cell\extractAllCellReferencesInRange(), PHPExcel_Cell_DataValidation\OPERATOR_BETWEEN, PHPExcel_Cell_DataValidation\OPERATOR_EQUAL, PHPExcel_Cell_DataValidation\OPERATOR_GREATERTHAN, PHPExcel_Cell_DataValidation\OPERATOR_GREATERTHANOREQUAL, PHPExcel_Cell_DataValidation\OPERATOR_LESSTHAN, PHPExcel_Cell_DataValidation\OPERATOR_LESSTHANOREQUAL, PHPExcel_Cell_DataValidation\OPERATOR_NOTBETWEEN, PHPExcel_Cell_DataValidation\OPERATOR_NOTEQUAL, PHPExcel_Cell_DataValidation\STYLE_INFORMATION, PHPExcel_Cell_DataValidation\STYLE_STOP, PHPExcel_Cell_DataValidation\STYLE_WARNING, PHPExcel_Cell_DataValidation\TYPE_CUSTOM, PHPExcel_Cell_DataValidation\TYPE_DATE, PHPExcel_Cell_DataValidation\TYPE_DECIMAL, PHPExcel_Cell_DataValidation\TYPE_LIST, PHPExcel_Cell_DataValidation\TYPE_NONE, PHPExcel_Cell_DataValidation\TYPE_TEXTLENGTH, PHPExcel_Cell_DataValidation\TYPE_TIME, and PHPExcel_Cell_DataValidation\TYPE_WHOLE.
Referenced by load().
|
private |
Read DATAVALIDATIONS record.
Definition at line 4664 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
DATEMODE.
This record specifies the base date for displaying date values. All dates are stored as count of days past this base date. In BIFF2-BIFF4 this record is part of the Calculation Settings Block. In BIFF5-BIFF8 it is stored in the Workbook Globals Substream.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 1853 of file Excel5.php.
References _readRecordData(), PHPExcel_Shared_Date\CALENDAR_MAC_1904, PHPExcel_Shared_Date\CALENDAR_WINDOWS_1900, and PHPExcel_Shared_Date\setExcelCalendar().
Referenced by load().
|
private |
Reads a general type of BIFF record.
Does nothing except for moving stream pointer forward to next record.
Definition at line 1502 of file Excel5.php.
Referenced by _readBof(), listWorksheetInfo(), listWorksheetNames(), and load().
|
private |
Read DEFAULTROWHEIGHT record.
Definition at line 3006 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read DEFCOLWIDTH record.
Definition at line 3423 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
DEFINEDNAME.
This record is part of a Link Table. It contains the name and the token array of an internal defined name. Token arrays of defined names contain tokens with aberrant token classes.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 2725 of file Excel5.php.
References _getFormulaFromStructure(), _readRecordData(), and array.
Referenced by load().
|
private |
Read additional document summary information.
Definition at line 1343 of file Excel5.php.
References $i, $id, $type, PHPExcel_Shared_String\ConvertEncoding(), PHPExcel_Shared_CodePage\NumberToName(), and PHPExcel_Shared_OLE\OLE2LocalDate().
Referenced by load().
|
private |
Read EXTERNALBOOK record.
Definition at line 2589 of file Excel5.php.
References $i, _readRecordData(), and array.
Referenced by load().
|
private |
Read EXTERNNAME record.
Definition at line 2653 of file Excel5.php.
References $options, _getFormulaFromStructure(), _readRecordData(), and array.
Referenced by load().
|
private |
Read EXTERNSHEET record.
Definition at line 2688 of file Excel5.php.
References $i, _readRecordData(), and array.
Referenced by load().
|
private |
FILEPASS.
This record is part of the File Protection Block. It contains information about the read/write password of the file. All record contents following this record will be encrypted.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
The decryption functions and objects used from here on in are based on the source of Spreadsheet-ParseExcel: http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/
Definition at line 1671 of file Excel5.php.
References _readRecordData(), and _verifyPassword().
Referenced by load().
|
private |
Read a FONT record.
Definition at line 1872 of file Excel5.php.
References $size, _readByteStringShort(), _readRecordData(), PHPExcel_Style_Font\UNDERLINE_DOUBLE, PHPExcel_Style_Font\UNDERLINE_DOUBLEACCOUNTING, PHPExcel_Style_Font\UNDERLINE_SINGLE, and PHPExcel_Style_Font\UNDERLINE_SINGLEACCOUNTING.
Referenced by load().
|
private |
Read FOOTER record.
Definition at line 3136 of file Excel5.php.
References _readByteStringShort(), and _readRecordData().
Referenced by load().
|
private |
FORMAT.
This record contains information about a number format. All FORMAT records occur together in a sequential list.
In BIFF2-BIFF4 other records referencing a FORMAT record contain a zero-based index into this list. From BIFF5 on the FORMAT record contains the index itself that will be used by other records.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 1970 of file Excel5.php.
References _readByteStringShort(), and _readRecordData().
Referenced by load().
|
private |
Read FORMULA record + perhaps a following STRING record if formula result is a string This record contains the token array and the result of a formula cell.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3791 of file Excel5.php.
References $baseRow, $code, $column, $options, $row, _getFormulaFromStructure(), _readRecordData(), _readSharedFmla(), _readString(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), PHPExcel_Cell_DataType\TYPE_BOOL, PHPExcel_Cell_DataType\TYPE_ERROR, PHPExcel_Cell_DataType\TYPE_FORMULA, PHPExcel_Cell_DataType\TYPE_NULL, PHPExcel_Cell_DataType\TYPE_NUMERIC, and PHPExcel_Cell_DataType\TYPE_STRING.
Referenced by load().
|
private |
Read HCENTER record.
Definition at line 3163 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read HEADER record.
Definition at line 3108 of file Excel5.php.
References _readByteStringShort(), and _readRecordData().
Referenced by load().
|
private |
Read HORIZONTALPAGEBREAKS record.
Definition at line 3051 of file Excel5.php.
References $i, $r, _readRecordData(), and PHPExcel_Worksheet\BREAK_ROW.
Referenced by load().
|
private |
Read HYPERLINK record.
Definition at line 4485 of file Excel5.php.
References $text, $url, _readBIFF8CellRangeAddressFixed(), _readRecordData(), and PHPExcel_Cell\extractAllCellReferencesInRange().
Referenced by load().
|
private |
Read IMDATA record.
Definition at line 5039 of file Excel5.php.
References $env, $filename, $i, $x, $y, _getSplicedRecordData(), and array.
|
private |
Read LABEL record This record represents a cell that contains a string.
In BIFF8 it is usually replaced by the LABELSST record. Excel still uses this record, if it copies unformatted text cells to the clipboard.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 4094 of file Excel5.php.
References $column, $row, _readByteStringLong(), _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Cell_DataType\TYPE_STRING.
Referenced by load().
|
private |
Read LABELSST record This record represents a cell that contains a string.
It replaces the LABEL record and RSTRING record used in BIFF2-BIFF5.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3616 of file Excel5.php.
References $column, $i, $index, $richText, $row, $text, _readRecordData(), PHPExcel_Shared_String\CountCharacters(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), PHPExcel_Shared_String\Substring(), and PHPExcel_Cell_DataType\TYPE_STRING.
Referenced by load().
|
private |
Read LEFTMARGIN record.
Definition at line 3203 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
MERGEDCELLS.
This record contains the addresses of merged cell ranges in the current sheet.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 4462 of file Excel5.php.
References _includeCellRangeFiltered(), _readBIFF8CellRangeAddressList(), and _readRecordData().
Referenced by load().
|
private |
Read MSODRAWING record.
Definition at line 4169 of file Excel5.php.
References _getSplicedRecordData().
Referenced by load().
|
private |
Read MSODRAWINGGROUP record.
Definition at line 2780 of file Excel5.php.
References _getSplicedRecordData().
Referenced by load().
|
private |
Read MULBLANK record This record represents a cell range of empty cells.
All cells are located in the same row
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 4052 of file Excel5.php.
References $i, $row, _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by load().
|
private |
Read MULRK record This record represents a cell range containing RK value cells.
All cells are located in the same row.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3694 of file Excel5.php.
References $columns, $i, $row, _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Cell_DataType\TYPE_NUMERIC.
Referenced by load().
|
private |
The NOTE record specifies a comment associated with a particular cell.
In Excel 95 (BIFF7) and earlier versions, this record stores a note (cell note). This feature was significantly enhanced in Excel 97.
Definition at line 1516 of file Excel5.php.
References $comment, $row, _parseRichText(), _readBIFF8CellAddress(), _readRecordData(), and array.
Referenced by load().
|
private |
Read NUMBER record This record represents a cell that contains a floating-point value.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3749 of file Excel5.php.
References $column, $row, _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Cell_DataType\TYPE_NUMERIC.
Referenced by load().
|
private |
Read OBJ record.
Definition at line 4184 of file Excel5.php.
References _readRecordData(), and array.
Referenced by load().
|
private |
OBJECTPROTECT.
Definition at line 3380 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read PLV Record(Created by Excel2007 or upper)
Definition at line 4297 of file Excel5.php.
References _readRecordData(), and PHPExcel_Worksheet_SheetView\SHEETVIEW_PAGE_LAYOUT.
Referenced by load().
|
private |
Read PAGESETUP record.
Definition at line 3275 of file Excel5.php.
References _readRecordData(), PHPExcel_Worksheet_PageSetup\ORIENTATION_LANDSCAPE, and PHPExcel_Worksheet_PageSetup\ORIENTATION_PORTRAIT.
Referenced by load().
|
private |
Read PALETTE record.
Definition at line 2512 of file Excel5.php.
References $i, and _readRecordData().
Referenced by load().
|
private |
Read PANE record.
Definition at line 4357 of file Excel5.php.
References $px, $py, _readRecordData(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by load().
|
private |
PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8)
Definition at line 3404 of file Excel5.php.
References $password, and _readRecordData().
Referenced by load().
|
private |
Read PRINTGRIDLINES record.
Definition at line 2987 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
PROTECT - Sheet protection (BIFF2 through BIFF8) if this record is omitted, then it also means no sheet protection.
Definition at line 3333 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read RANGEPROTECTION record Reading of this record is based on Microsoft Office Excel 97-2000 Binary File Format Specification, where it is referred to as FEAT record.
Definition at line 4978 of file Excel5.php.
References $i, _readBIFF8CellRangeAddressFixed(), _readRecordData(), and array.
Referenced by load().
|
private |
Read record data from stream, decrypting as required.
string | $data | Data stream to read from |
int | $pos | Position to start reading from |
int | $length | Record data length |
Definition at line 1106 of file Excel5.php.
References $_rc4Pos, $data, and _makeKey().
Referenced by _getSplicedRecordData(), _readBlank(), _readBoolErr(), _readBottomMargin(), _readCodepage(), _readColInfo(), _readContinue(), _readDataValidation(), _readDataValidations(), _readDateMode(), _readDefaultRowHeight(), _readDefColWidth(), _readDefinedName(), _readExternalBook(), _readExternName(), _readExternSheet(), _readFilepass(), _readFont(), _readFooter(), _readFormat(), _readFormula(), _readHcenter(), _readHeader(), _readHorizontalPageBreaks(), _readHyperLink(), _readLabel(), _readLabelSst(), _readLeftMargin(), _readMergedCells(), _readMulBlank(), _readMulRk(), _readNote(), _readNumber(), _readObj(), _readObjectProtect(), _readPageLayoutView(), _readPageSetup(), _readPalette(), _readPane(), _readPassword(), _readPrintGridlines(), _readProtect(), _readRangeProtection(), _readRightMargin(), _readRk(), _readRow(), _readScenProtect(), _readScl(), _readSelection(), _readSharedFmla(), _readSheet(), _readSheetLayout(), _readSheetPr(), _readSheetProtection(), _readString(), _readStyle(), _readTextObject(), _readTopMargin(), _readVcenter(), _readVerticalPageBreaks(), _readWindow2(), _readXf(), _readXfExt(), and listWorksheetInfo().
|
staticprivate |
Extract RGB color OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.4.
string | $rgb | Encoded RGB value (4 bytes) |
Definition at line 6504 of file Excel5.php.
|
private |
Read RIGHTMARGIN record.
Definition at line 3221 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read RK record This record represents a cell that contains an RK value (encoded integer or floating-point value).
If a floating-point value cannot be encoded to an RK value, a NUMBER record will be written. This record replaces the record INTEGER written in BIFF2.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3571 of file Excel5.php.
References $column, $row, _readRecordData(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Cell_DataType\TYPE_NUMERIC.
Referenced by load().
|
private |
ROW.
This record contains the properties of a single row in a sheet. Rows and cells in a sheet are divided into blocks of 32 rows.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 3501 of file Excel5.php.
References $r, and _readRecordData().
Referenced by load().
|
private |
SCENPROTECT.
Definition at line 3356 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read SCL record.
Definition at line 4335 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read SELECTION record.
There is one such record for each pane in the sheet.
Definition at line 4385 of file Excel5.php.
References $data, $index, $r, _readBIFF5CellRangeAddressList(), and _readRecordData().
Referenced by load().
|
private |
Read a SHAREDFMLA record.
This function just stores the binary shared formula in the reader, which usually contains relative references. These will be used to construct the formula in each shared formula part after the sheet is read.
Definition at line 3932 of file Excel5.php.
References _readBIFF5CellRangeAddressFixed(), and _readRecordData().
Referenced by _readFormula(), and load().
|
private |
SHEET.
This record is located in the Workbook Globals Substream and represents a sheet inside the workbook. One SHEET record is written for each sheet. It stores the sheet name and a stream offset to the BOF record of the respective Sheet Substream within the Workbook Stream.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 2545 of file Excel5.php.
References _readByteStringShort(), _readRecordData(), array, PHPExcel_Worksheet\SHEETSTATE_HIDDEN, PHPExcel_Worksheet\SHEETSTATE_VERYHIDDEN, and PHPExcel_Worksheet\SHEETSTATE_VISIBLE.
Referenced by listWorksheetInfo(), listWorksheetNames(), and load().
|
private |
Read SHEETLAYOUT record.
Stores sheet tab color information.
Definition at line 4837 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read SHEETPR record.
Definition at line 3024 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read SHEETPROTECTION record (FEATHEADR)
Definition at line 4877 of file Excel5.php.
References $options, and _readRecordData().
Referenced by load().
|
private |
Get a sheet range like Sheet1:Sheet3 from REF index Note: If there is only one sheet in the range, one gets e.g Sheet1 It can also happen that the REF structure uses the -1 (FFFF) code to indicate deleted sheets, in which case an PHPExcel_Reader_Exception is thrown.
int | $index |
PHPExcel_Reader_Exception |
Definition at line 6359 of file Excel5.php.
Referenced by _getNextToken().
|
private |
SST - Shared String Table.
This record contains a list of all strings used anywhere in the workbook. Each string occurs only once. The workbook uses indexes into the list to reference the strings.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 2803 of file Excel5.php.
References $i, _getSplicedRecordData(), and array.
Referenced by load().
|
private |
Read a STRING record from current stream position and advance the stream pointer to next record This record is used for storing result from FORMULA record when it is a string, and it occurs directly after the FORMULA record.
Definition at line 3965 of file Excel5.php.
References _readByteStringLong(), and _readRecordData().
Referenced by _readFormula().
|
private |
Read STYLE record.
Definition at line 2471 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read summary information.
Definition at line 1183 of file Excel5.php.
References $i, $id, $type, PHPExcel_Shared_String\ConvertEncoding(), PHPExcel_Shared_CodePage\NumberToName(), and PHPExcel_Shared_OLE\OLE2LocalDate().
Referenced by load().
|
private |
The TEXT Object record contains the text associated with a cell annotation.
Definition at line 1579 of file Excel5.php.
References $text, _getSplicedRecordData(), _readRecordData(), and array.
Referenced by load().
|
private |
Read TOPMARGIN record.
Definition at line 3239 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
staticprivate |
Read Unicode string with no string length field, but with known character count this function is under construction, needs to support rich text, and Asian phonetic settings OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.3.
string | $subData | |
int | $characterCount |
Definition at line 6624 of file Excel5.php.
References array.
|
staticprivate |
Extracts an Excel Unicode long string (16-bit string length) OpenOffice documentation: 2.5.3 this function is under construction, needs to support rich text, and Asian phonetic settings.
string | $subData |
Definition at line 6599 of file Excel5.php.
|
staticprivate |
Extracts an Excel Unicode short string (8-bit string length) OpenOffice documentation: 2.5.3 function will automatically find out where the Unicode string ends.
string | $subData |
Definition at line 6575 of file Excel5.php.
|
private |
Read VCENTER record.
Definition at line 3183 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
private |
Read VERTICALPAGEBREAKS record.
Definition at line 3080 of file Excel5.php.
References $i, _readRecordData(), and PHPExcel_Worksheet\BREAK_COLUMN.
Referenced by load().
|
private |
Read WINDOW2 record.
Definition at line 4229 of file Excel5.php.
References $options, _readRecordData(), PHPExcel_Worksheet_SheetView\SHEETVIEW_NORMAL, PHPExcel_Worksheet_SheetView\SHEETVIEW_PAGE_BREAK_PREVIEW, and PHPExcel_Worksheet_SheetView\SHEETVIEW_PAGE_LAYOUT.
Referenced by load().
|
private |
XF - Extended Format.
This record contains formatting information for cells, rows, columns or styles. According to http://support.microsoft.com/kb/147732 there are always at least 15 cell style XF and 1 cell XF. Inspection of Excel files generated by MS Office Excel shows that XF records 0-14 are cell style XF and XF record 15 is a cell XF We only read the first cell style XF and skip the remaining cell style XF records We read all cell XF records.
– "OpenOffice.org's Documentation of the Microsoft Excel File Format"
Definition at line 2008 of file Excel5.php.
References $_xfIndex, $angle, $code, _readRecordData(), array, PHPExcel_Style_NumberFormat\builtInFormatCode(), PHPExcel_Style_Borders\DIAGONAL_BOTH, PHPExcel_Style_Borders\DIAGONAL_DOWN, PHPExcel_Style_Borders\DIAGONAL_NONE, PHPExcel_Style_Borders\DIAGONAL_UP, PHPExcel_Style_Alignment\HORIZONTAL_CENTER, PHPExcel_Style_Alignment\HORIZONTAL_CENTER_CONTINUOUS, PHPExcel_Style_Alignment\HORIZONTAL_FILL, PHPExcel_Style_Alignment\HORIZONTAL_GENERAL, PHPExcel_Style_Alignment\HORIZONTAL_JUSTIFY, PHPExcel_Style_Alignment\HORIZONTAL_LEFT, PHPExcel_Style_Alignment\HORIZONTAL_RIGHT, PHPExcel_Style_Protection\PROTECTION_INHERIT, PHPExcel_Style_Protection\PROTECTION_PROTECTED, PHPExcel_Style_Protection\PROTECTION_UNPROTECTED, PHPExcel_Style_Alignment\VERTICAL_BOTTOM, PHPExcel_Style_Alignment\VERTICAL_CENTER, PHPExcel_Style_Alignment\VERTICAL_JUSTIFY, and PHPExcel_Style_Alignment\VERTICAL_TOP.
Referenced by load().
|
private |
Definition at line 2294 of file Excel5.php.
References _readRecordData().
Referenced by load().
|
staticprivate |
Convert UTF-16 string in compressed notation to uncompressed form.
Only used for BIFF8.
string | $string |
Definition at line 6743 of file Excel5.php.
References $i.
|
staticprivate |
Convert UTF-8 string to string surounded by double quotes.
Used for explicit string tokens in formulas. Example: hello"world --> "hello""world"
string | $value | UTF-8 encoded string |
Definition at line 6658 of file Excel5.php.
|
private |
Definition at line 1742 of file Excel5.php.
References $i, $key, $password, and _makeKey().
Referenced by _readFilepass().
PHPExcel_Reader_Excel5::canRead | ( | $pFilename | ) |
Can the current PHPExcel_Reader_IReader read the file?
string | $pFilename |
PHPExcel_Reader_Exception |
Implements PHPExcel_Reader_IReader.
Definition at line 439 of file Excel5.php.
References $res.
PHPExcel_Reader_Excel5::listWorksheetInfo | ( | $pFilename | ) |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)
string | $pFilename |
PHPExcel_Reader_Exception |
Definition at line 514 of file Excel5.php.
References $code, _loadOLE(), _readBof(), _readDefault(), _readRecordData(), _readSheet(), array, and PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Reader_Excel5::listWorksheetNames | ( | $pFilename | ) |
Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object.
string | $pFilename |
PHPExcel_Reader_Exception |
Definition at line 465 of file Excel5.php.
References $code, _loadOLE(), _readBof(), _readDefault(), _readSheet(), and array.
PHPExcel_Reader_Excel5::load | ( | $pFilename | ) |
Loads PHPExcel from file.
string | $pFilename |
PHPExcel_Reader_Exception |
Implements PHPExcel_Reader_IReader.
Definition at line 609 of file Excel5.php.
References $_phpExcel, $code, $column, $n, $reader, $row, _getFormulaFromStructure(), _loadOLE(), _parseRichText(), _readBlank(), _readBof(), _readBoolErr(), _readBottomMargin(), _readCodepage(), _readColInfo(), _readContinue(), _readDataValidation(), _readDataValidations(), _readDateMode(), _readDefault(), _readDefaultRowHeight(), _readDefColWidth(), _readDefinedName(), _readDocumentSummaryInformation(), _readExternalBook(), _readExternName(), _readExternSheet(), _readFilepass(), _readFont(), _readFooter(), _readFormat(), _readFormula(), _readHcenter(), _readHeader(), _readHorizontalPageBreaks(), _readHyperLink(), _readLabel(), _readLabelSst(), _readLeftMargin(), _readMergedCells(), _readMsoDrawing(), _readMsoDrawingGroup(), _readMulBlank(), _readMulRk(), _readNote(), _readNumber(), _readObj(), _readObjectProtect(), _readPageLayoutView(), _readPageSetup(), _readPalette(), _readPane(), _readPassword(), _readPrintGridlines(), _readProtect(), _readRangeProtection(), _readRightMargin(), _readRk(), _readRow(), _readScenProtect(), _readScl(), _readSelection(), _readSharedFmla(), _readSheet(), _readSheetLayout(), _readSheetPr(), _readSheetProtection(), _readSst(), _readStyle(), _readSummaryInformation(), _readTextObject(), _readTopMargin(), _readVcenter(), _readVerticalPageBreaks(), _readWindow2(), _readXf(), _readXfExt(), array, PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE\BLIPTYPE_JPEG, PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE\BLIPTYPE_PNG, PHPExcel_Cell\coordinateFromString(), PHPExcel_Shared_Excel5\getDistanceX(), PHPExcel_Shared_Excel5\getDistanceY(), PHPExcel_Reader_Abstract\getReadFilter(), PHPExcel_Worksheet_MemoryDrawing\MIMETYPE_JPEG, PHPExcel_Worksheet_MemoryDrawing\MIMETYPE_PNG, PHPExcel_Worksheet_MemoryDrawing\RENDERING_JPEG, PHPExcel_Worksheet_MemoryDrawing\RENDERING_PNG, PHPExcel_Shared_Excel5\sizeCol(), PHPExcel_Shared_Excel5\sizeRow(), and PHPExcel_Cell_DataType\TYPE_FORMULA.
|
private |
Definition at line 337 of file Excel5.php.
|
private |
Definition at line 239 of file Excel5.php.
|
private |
Definition at line 196 of file Excel5.php.
|
private |
Definition at line 203 of file Excel5.php.
|
private |
Definition at line 295 of file Excel5.php.
|
private |
Definition at line 182 of file Excel5.php.
|
private |
Definition at line 351 of file Excel5.php.
|
private |
Definition at line 344 of file Excel5.php.
|
private |
Definition at line 394 of file Excel5.php.
|
private |
Definition at line 401 of file Excel5.php.
|
private |
Definition at line 274 of file Excel5.php.
|
private |
Definition at line 288 of file Excel5.php.
|
private |
Definition at line 246 of file Excel5.php.
|
private |
Definition at line 309 of file Excel5.php.
|
private |
Definition at line 316 of file Excel5.php.
|
private |
Definition at line 372 of file Excel5.php.
|
private |
Definition at line 365 of file Excel5.php.
|
private |
Definition at line 422 of file Excel5.php.
|
private |
Definition at line 253 of file Excel5.php.
|
private |
Definition at line 323 of file Excel5.php.
|
private |
Definition at line 260 of file Excel5.php.
|
private |
Definition at line 217 of file Excel5.php.
Referenced by load().
|
private |
Definition at line 224 of file Excel5.php.
|
private |
Definition at line 210 of file Excel5.php.
|
private |
Definition at line 408 of file Excel5.php.
|
private |
Definition at line 415 of file Excel5.php.
Referenced by _readRecordData().
|
private |
Definition at line 281 of file Excel5.php.
|
private |
Definition at line 387 of file Excel5.php.
|
private |
Definition at line 379 of file Excel5.php.
|
private |
Definition at line 267 of file Excel5.php.
|
private |
Definition at line 302 of file Excel5.php.
|
private |
Definition at line 175 of file Excel5.php.
|
private |
Definition at line 330 of file Excel5.php.
|
private |
Definition at line 189 of file Excel5.php.
|
private |
Definition at line 231 of file Excel5.php.
|
private |
Definition at line 358 of file Excel5.php.
Referenced by _readXf().
const PHPExcel_Reader_Excel5::MS_BIFF_CRYPTO_NONE = 0 |
Definition at line 163 of file Excel5.php.
const PHPExcel_Reader_Excel5::MS_BIFF_CRYPTO_RC4 = 2 |
Definition at line 165 of file Excel5.php.
const PHPExcel_Reader_Excel5::MS_BIFF_CRYPTO_XOR = 1 |
Definition at line 164 of file Excel5.php.
const PHPExcel_Reader_Excel5::REKEY_BLOCK = 0x400 |
Definition at line 168 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_BIFF7 = 0x0500 |
Definition at line 82 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_BIFF8 = 0x0600 |
Definition at line 81 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_ARRAY = 0x0221 |
Definition at line 147 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_BLANK = 0x0201 |
Definition at line 140 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_BOF = 0x0809 |
Definition at line 154 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_BOOLERR = 0x0205 |
Definition at line 143 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_BOTTOMMARGIN = 0x0029 |
Definition at line 106 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_CODEPAGE = 0x0042 |
Definition at line 112 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_COLINFO = 0x007d |
Definition at line 115 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_CONTINUE = 0x003c |
Definition at line 110 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DATAVALIDATION = 0x01be |
Definition at line 138 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DATAVALIDATIONS = 0x01b2 |
Definition at line 135 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DATEMODE = 0x0022 |
Definition at line 101 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DBCELL = 0x00d7 |
Definition at line 126 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DEFAULTROWHEIGHT = 0x0225 |
Definition at line 148 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DEFCOLWIDTH = 0x0055 |
Definition at line 113 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DEFINEDNAME = 0x0018 |
Definition at line 96 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_DIMENSION = 0x0200 |
Definition at line 139 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_EOF = 0x000a |
Definition at line 88 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_EXTERNALBOOK = 0x01ae |
Definition at line 134 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_EXTERNNAME = 0x0023 |
Definition at line 102 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_EXTERNSHEET = 0x0017 |
Definition at line 95 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_EXTSST = 0x00ff |
Definition at line 133 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_FILEPASS = 0x002f |
Definition at line 108 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_FONT = 0x0031 |
Definition at line 109 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_FOOTER = 0x0015 |
Definition at line 94 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_FORMAT = 0x041e |
Definition at line 152 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_FORMULA = 0x0006 |
Definition at line 87 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_HCENTER = 0x0083 |
Definition at line 118 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_HEADER = 0x0014 |
Definition at line 93 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_HORIZONTALPAGEBREAKS = 0x001b |
Definition at line 98 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_HYPERLINK = 0x01b8 |
Definition at line 137 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_IMDATA = 0x007f |
Definition at line 116 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_INDEX = 0x020b |
Definition at line 146 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_LABEL = 0x0204 |
Definition at line 142 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_LABELSST = 0x00fd |
Definition at line 132 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_LEFTMARGIN = 0x0026 |
Definition at line 103 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_MERGEDCELLS = 0x00e5 |
Definition at line 128 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_MSODRAWING = 0x00ec |
Definition at line 130 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_MSODRAWINGGROUP = 0x00eb |
Definition at line 129 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_MULBLANK = 0x00be |
Definition at line 125 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_MULRK = 0x00bd |
Definition at line 124 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_NOTE = 0x001c |
Definition at line 99 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_NUMBER = 0x0203 |
Definition at line 141 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_OBJ = 0x005d |
Definition at line 114 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_OBJECTPROTECT = 0x0063 |
Definition at line 90 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PAGELAYOUTVIEW = 0x088b |
Definition at line 159 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PAGESETUP = 0x00a1 |
Definition at line 123 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PALETTE = 0x0092 |
Definition at line 121 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PANE = 0x0041 |
Definition at line 111 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PASSWORD = 0x0013 |
Definition at line 92 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PRINTGRIDLINES = 0x002b |
Definition at line 107 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_PROTECT = 0x0012 |
Definition at line 89 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_RANGEPROTECTION = 0x0868 |
Definition at line 156 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_RIGHTMARGIN = 0x0027 |
Definition at line 104 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_RK = 0x027e |
Definition at line 150 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_ROW = 0x0208 |
Definition at line 145 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SCENPROTECT = 0x00dd |
Definition at line 91 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SCL = 0x00a0 |
Definition at line 122 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SELECTION = 0x001d |
Definition at line 100 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SHAREDFMLA = 0x04bc |
Definition at line 153 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SHEET = 0x0085 |
Definition at line 120 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SHEETLAYOUT = 0x0862 |
Definition at line 157 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SHEETPR = 0x0081 |
Definition at line 117 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SHEETPROTECTION = 0x0867 |
Definition at line 155 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_SST = 0x00fc |
Definition at line 131 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_STRING = 0x0207 |
Definition at line 144 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_STYLE = 0x0293 |
Definition at line 151 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_TOPMARGIN = 0x0028 |
Definition at line 105 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_TXO = 0x01b6 |
Definition at line 136 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_UNKNOWN = 0xffff |
Definition at line 160 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_VCENTER = 0x0084 |
Definition at line 119 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_VERTICALPAGEBREAKS = 0x001a |
Definition at line 97 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_WINDOW2 = 0x023e |
Definition at line 149 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_XF = 0x00e0 |
Definition at line 127 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Type_XFEXT = 0x087d |
Definition at line 158 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_WorkbookGlobals = 0x0005 |
Definition at line 83 of file Excel5.php.
const PHPExcel_Reader_Excel5::XLS_Worksheet = 0x0010 |
Definition at line 84 of file Excel5.php.