[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 8042 lines (307 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PHPExcel_Reader_Excel5:: (118 methods):
__construct()
canRead()
listWorksheetNames()
listWorksheetInfo()
load()
readRecordData()
loadOLE()
readSummaryInformation()
readDocumentSummaryInformation()
readDefault()
readNote()
readTextObject()
readBof()
readFilepass()
makeKey()
verifyPassword()
readCodepage()
readDateMode()
readFont()
readFormat()
readXf()
readXfExt()
readStyle()
readPalette()
readSheet()
readExternalBook()
readExternName()
readExternSheet()
readDefinedName()
readMsoDrawingGroup()
readSst()
readPrintGridlines()
readDefaultRowHeight()
readSheetPr()
readHorizontalPageBreaks()
readVerticalPageBreaks()
readHeader()
readFooter()
readHcenter()
readVcenter()
readLeftMargin()
readRightMargin()
readTopMargin()
readBottomMargin()
readPageSetup()
readProtect()
readScenProtect()
readObjectProtect()
readPassword()
readDefColWidth()
readColInfo()
readRow()
readRk()
readLabelSst()
readMulRk()
readNumber()
readFormula()
readSharedFmla()
readString()
readBoolErr()
readMulBlank()
readLabel()
readBlank()
readMsoDrawing()
readObj()
readWindow2()
readPageLayoutView()
readScl()
readPane()
readSelection()
includeCellRangeFiltered()
readMergedCells()
readHyperLink()
readDataValidations()
readDataValidation()
readSheetLayout()
readSheetProtection()
readRangeProtection()
readImData()
readContinue()
getSplicedRecordData()
getFormulaFromStructure()
getFormulaFromData()
createFormulaFromTokens()
getNextToken()
readBIFF8CellAddress()
readBIFF8CellAddressB()
readBIFF5CellRangeAddressFixed()
readBIFF8CellRangeAddressFixed()
readBIFF8CellRangeAddress()
readBIFF8CellRangeAddressB()
readBIFF8CellRangeAddressList()
readBIFF5CellRangeAddressList()
readSheetRangeByRefIndex()
readBIFF8ConstantArray()
readBIFF8Constant()
readRGB()
readByteStringShort()
readByteStringLong()
readUnicodeStringShort()
readUnicodeStringLong()
readUnicodeString()
UTF8toExcelDoubleQuoted()
extractNumber()
getIEEE754()
encodeUTF16()
uncompressByteString()
decodeCodepage()
getInt2d()
getInt4d()
readColor()
mapBorderStyle()
mapFillPattern()
mapErrorCode()
mapBuiltInColor()
mapColorBIFF5()
mapColor()
parseRichText()
Class: PHPExcel_Reader_Excel5 - X-Ref
__construct() X-Ref |
Create a new PHPExcel_Reader_Excel5 instance |
canRead($pFilename) X-Ref |
Can the current PHPExcel_Reader_IReader read the file? param: string $pFilename return: boolean |
listWorksheetNames($pFilename) X-Ref |
Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object param: string $pFilename |
listWorksheetInfo($pFilename) X-Ref |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) param: string $pFilename |
load($pFilename) X-Ref |
Loads PHPExcel from file param: string $pFilename return: PHPExcel |
readRecordData($data, $pos, $len) X-Ref |
Read record data from stream, decrypting as required param: string $data Data stream to read from param: int $pos Position to start reading from param: int $length Record data length return: string Record data |
loadOLE($pFilename) X-Ref |
Use OLE reader to extract the relevant data streams from the OLE file param: string $pFilename |
readSummaryInformation() X-Ref |
Read summary information |
readDocumentSummaryInformation() X-Ref |
Read additional document summary information |
readDefault() X-Ref |
Reads a general type of BIFF record. Does nothing except for moving stream pointer forward to next record. |
readNote() X-Ref |
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. |
readTextObject() X-Ref |
The TEXT Object record contains the text associated with a cell annotation. |
readBof() X-Ref |
Read BOF |
readFilepass() X-Ref |
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/ |
makeKey($block, $valContext) X-Ref |
Make an RC4 decryptor for the given block return: PHPExcel_Reader_Excel5_RC4 |
verifyPassword($password, $docid, $salt_data, $hashedsalt_data, &$valContext) X-Ref |
Verify RC4 file password return: bool Success |
readCodepage() X-Ref |
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" |
readDateMode() X-Ref |
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" |
readFont() X-Ref |
Read a FONT record |
readFormat() X-Ref |
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" |
readXf() X-Ref |
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" |
readXfExt() X-Ref |
No description |
readStyle() X-Ref |
Read STYLE record |
readPalette() X-Ref |
Read PALETTE record |
readSheet() X-Ref |
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" |
readExternalBook() X-Ref |
Read EXTERNALBOOK record |
readExternName() X-Ref |
Read EXTERNNAME record. |
readExternSheet() X-Ref |
Read EXTERNSHEET record |
readDefinedName() X-Ref |
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" |
readMsoDrawingGroup() X-Ref |
Read MSODRAWINGGROUP record |
readSst() X-Ref |
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" |
readPrintGridlines() X-Ref |
Read PRINTGRIDLINES record |
readDefaultRowHeight() X-Ref |
Read DEFAULTROWHEIGHT record |
readSheetPr() X-Ref |
Read SHEETPR record |
readHorizontalPageBreaks() X-Ref |
Read HORIZONTALPAGEBREAKS record |
readVerticalPageBreaks() X-Ref |
Read VERTICALPAGEBREAKS record |
readHeader() X-Ref |
Read HEADER record |
readFooter() X-Ref |
Read FOOTER record |
readHcenter() X-Ref |
Read HCENTER record |
readVcenter() X-Ref |
Read VCENTER record |
readLeftMargin() X-Ref |
Read LEFTMARGIN record |
readRightMargin() X-Ref |
Read RIGHTMARGIN record |
readTopMargin() X-Ref |
Read TOPMARGIN record |
readBottomMargin() X-Ref |
Read BOTTOMMARGIN record |
readPageSetup() X-Ref |
Read PAGESETUP record |
readProtect() X-Ref |
PROTECT - Sheet protection (BIFF2 through BIFF8) if this record is omitted, then it also means no sheet protection |
readScenProtect() X-Ref |
SCENPROTECT |
readObjectProtect() X-Ref |
OBJECTPROTECT |
readPassword() X-Ref |
PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8) |
readDefColWidth() X-Ref |
Read DEFCOLWIDTH record |
readColInfo() X-Ref |
Read COLINFO record |
readRow() X-Ref |
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" |
readRk() X-Ref |
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" |
readLabelSst() X-Ref |
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" |
readMulRk() X-Ref |
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" |
readNumber() X-Ref |
Read NUMBER record This record represents a cell that contains a floating-point value. -- "OpenOffice.org's Documentation of the Microsoft Excel File Format" |
readFormula() X-Ref |
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" |
readSharedFmla() X-Ref |
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. |
readString() X-Ref |
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 return: string The string contents as UTF-8 |
readBoolErr() X-Ref |
Read BOOLERR record This record represents a Boolean value or error value cell. -- "OpenOffice.org's Documentation of the Microsoft Excel File Format" |
readMulBlank() X-Ref |
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" |
readLabel() X-Ref |
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" |
readBlank() X-Ref |
Read BLANK record |
readMsoDrawing() X-Ref |
Read MSODRAWING record |
readObj() X-Ref |
Read OBJ record |
readWindow2() X-Ref |
Read WINDOW2 record |
readPageLayoutView() X-Ref |
Read PLV Record(Created by Excel2007 or upper) |
readScl() X-Ref |
Read SCL record |
readPane() X-Ref |
Read PANE record |
readSelection() X-Ref |
Read SELECTION record. There is one such record for each pane in the sheet. |
includeCellRangeFiltered($cellRangeAddress) X-Ref |
No description |
readMergedCells() X-Ref |
MERGEDCELLS This record contains the addresses of merged cell ranges in the current sheet. -- "OpenOffice.org's Documentation of the Microsoft Excel File Format" |
readHyperLink() X-Ref |
Read HYPERLINK record |
readDataValidations() X-Ref |
Read DATAVALIDATIONS record |
readDataValidation() X-Ref |
Read DATAVALIDATION record |
readSheetLayout() X-Ref |
Read SHEETLAYOUT record. Stores sheet tab color information. |
readSheetProtection() X-Ref |
Read SHEETPROTECTION record (FEATHEADR) |
readRangeProtection() X-Ref |
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 |
readImData() X-Ref |
Read IMDATA record |
readContinue() X-Ref |
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 |
getSplicedRecordData() X-Ref |
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 return: array |
getFormulaFromStructure($formulaStructure, $baseCell = 'A1') X-Ref |
Convert formula structure into human readable Excel formula like 'A3+A5*5' param: string $formulaStructure The complete binary data for the formula param: string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas return: string Human readable formula |
getFormulaFromData($formulaData, $additionalData = '', $baseCell = 'A1') X-Ref |
Take formula data and additional data for formula and return human readable formula param: string $formulaData The binary data for the formula itself param: string $additionalData Additional binary data going with the formula param: string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas return: string Human readable formula |
createFormulaFromTokens($tokens, $additionalData) X-Ref |
Take array of tokens together with additional data for formula and return human readable formula param: array $tokens param: array $additionalData Additional binary data going with the formula param: string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas return: string Human readable formula |
getNextToken($formulaData, $baseCell = 'A1') X-Ref |
Fetch next token from binary formula data param: string Formula data param: string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas return: array |
readBIFF8CellAddress($cellAddressStructure) X-Ref |
Reads a cell address in BIFF8 e.g. 'A2' or '$A$2' section 3.3.4 param: string $cellAddressStructure return: string |
readBIFF8CellAddressB($cellAddressStructure, $baseCell = 'A1') X-Ref |
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 param: string $cellAddressStructure param: string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas return: string |
readBIFF5CellRangeAddressFixed($subData) X-Ref |
Reads a cell range address in BIFF5 e.g. 'A2:B6' or 'A1' always fixed range section 2.5.14 param: string $subData return: string |
readBIFF8CellRangeAddressFixed($subData) X-Ref |
Reads a cell range address in BIFF8 e.g. 'A2:B6' or 'A1' always fixed range section 2.5.14 param: string $subData return: string |
readBIFF8CellRangeAddress($subData) X-Ref |
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 param: string $subData return: string |
readBIFF8CellRangeAddressB($subData, $baseCell = 'A1') X-Ref |
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 param: string $subData param: string $baseCell Base cell return: string Cell range address |
readBIFF8CellRangeAddressList($subData) X-Ref |
Read BIFF8 cell range address list section 2.5.15 param: string $subData return: array |
readBIFF5CellRangeAddressList($subData) X-Ref |
Read BIFF5 cell range address list section 2.5.15 param: string $subData return: array |
readSheetRangeByRefIndex($index) X-Ref |
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 param: int $index return: string|false |
readBIFF8ConstantArray($arrayData) X-Ref |
read BIFF8 constant value array from array data returns e.g. array('value' => '{1,2;3,4}', 'size' => 40} section 2.5.8 param: string $arrayData return: array |
readBIFF8Constant($valueData) X-Ref |
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) param: string $valueData return: array |
readRGB($rgb) X-Ref |
Extract RGB color OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.4 param: string $rgb Encoded RGB value (4 bytes) return: array |
readByteStringShort($subData) X-Ref |
Read byte string (8-bit string length) OpenOffice documentation: 2.5.2 param: string $subData return: array |
readByteStringLong($subData) X-Ref |
Read byte string (16-bit string length) OpenOffice documentation: 2.5.2 param: string $subData return: array |
readUnicodeStringShort($subData) X-Ref |
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. param: string $subData return: array |
readUnicodeStringLong($subData) X-Ref |
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 param: string $subData return: array |
readUnicodeString($subData, $characterCount) X-Ref |
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 param: string $subData param: int $characterCount return: array |
UTF8toExcelDoubleQuoted($value) X-Ref |
Convert UTF-8 string to string surounded by double quotes. Used for explicit string tokens in formulas. Example: hello"world --> "hello""world" param: string $value UTF-8 encoded string return: string |
extractNumber($data) X-Ref |
Reads first 8 bytes of a string and return IEEE 754 float param: string $data Binary string that is at least 8 bytes long return: float |
getIEEE754($rknum) X-Ref |
No description |
encodeUTF16($string, $compressed = '') X-Ref |
Get UTF-8 string from (compressed or uncompressed) UTF-16 string param: string $string param: bool $compressed return: string |
uncompressByteString($string) X-Ref |
Convert UTF-16 string in compressed notation to uncompressed form. Only used for BIFF8. param: string $string return: string |
decodeCodepage($string) X-Ref |
Convert string to UTF-8. Only used for BIFF5. param: string $string return: string |
getInt2d($data, $pos) X-Ref |
Read 16-bit unsigned integer param: string $data param: int $pos return: int |
getInt4d($data, $pos) X-Ref |
Read 32-bit signed integer param: string $data param: int $pos return: int |
readColor($color, $palette, $version) X-Ref |
Read color param: int $color Indexed color param: array $palette Color palette return: array RGB color value, example: array('rgb' => 'FF0000') |
mapBorderStyle($index) X-Ref |
Map border style OpenOffice documentation: 2.5.11 param: int $index return: string |
mapFillPattern($index) X-Ref |
Get fill pattern from index OpenOffice documentation: 2.5.12 param: int $index return: string |
mapErrorCode($subData) X-Ref |
Map error code, e.g. '#N/A' param: int $subData return: string |
mapBuiltInColor($color) X-Ref |
Map built-in color to RGB value param: int $color Indexed color return: array |
mapColorBIFF5($subData) X-Ref |
Map color array from BIFF5 built-in color index param: int $subData return: array |
mapColor($subData) X-Ref |
Map color array from BIFF8 built-in color index param: int $subData return: array |
parseRichText($is = '') X-Ref |
No description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |