ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
Create a new Xls Reader instance. More... | |
canRead ($pFilename) | |
Can the current IReader read the file? More... | |
setCodepage (string $codepage) | |
listWorksheetNames ($pFilename) | |
Reads names of the worksheets from a file, without parsing the whole file to a PhpSpreadsheet object. More... | |
listWorksheetInfo ($pFilename) | |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns). More... | |
load ($pFilename) | |
Loads PhpSpreadsheet from file. More... | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Reader\BaseReader | |
__construct () | |
IReader constructor. More... | |
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) | |
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... | |
getReadEmptyCells () | |
Read empty cells? If this is true (the default), then the Reader will read data values for all cells, irrespective of value. More... | |
setReadEmptyCells ($pValue) | |
Set read empty cells Set to true (the default) to advise the Reader read data values for all cells, irrespective of value. 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) | |
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) | |
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 (IReadFilter $pValue) | |
Set read filter. More... | |
getSecurityScanner () | |
Static Public Member Functions | |
static | getUInt2d ($data, $pos) |
Read 16-bit unsigned integer. More... | |
static | getInt2d ($data, $pos) |
Read 16-bit signed 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) | |
Make an RC4 decryptor for the given block. More... | |
verifyPassword ($password, $docid, $salt_data, $hashedsalt_data, &$valContext) | |
Verify RC4 file password. More... | |
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... | |
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 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=false) |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from PhpOffice\PhpSpreadsheet\Reader\BaseReader | |
openFile ($pFilename) | |
Open file for reading. More... | |
Protected Attributes inherited from PhpOffice\PhpSpreadsheet\Reader\BaseReader | |
$readDataOnly = false | |
$readEmptyCells = true | |
$includeCharts = false | |
$loadSheetsOnly | |
$readFilter | |
$fileHandle | |
$securityScanner | |
PhpOffice\PhpSpreadsheet\Reader\Xls::__construct | ( | ) |
Create a new Xls Reader instance.
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
PhpOffice\PhpSpreadsheet\Reader\Xls::canRead | ( | $pFilename | ) |
Can the current IReader read the file?
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 426 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\File\assertFile().
|
private |
Take array of tokens together with additional data for formula and return human readable formula.
array | $tokens | |
string | $additionalData | Additional binary data going with the formula |
Definition at line 5313 of file Xls.php.
References $i, PHPMailer\PHPMailer\$token, and PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressList().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromData().
|
private |
Convert string to UTF-8.
Only used for BIFF5.
string | $string |
Definition at line 7848 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\StringHelper\convertEncoding().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringLong(), PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringShort(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readTextObject().
|
staticprivate |
Get UTF-8 string from (compressed or uncompressed) UTF-16 string.
string | $string | |
bool | $compressed |
Definition at line 7814 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\StringHelper\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 7752 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$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 5290 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, PHPMailer\PHPMailer\$token, PhpOffice\PhpSpreadsheet\Reader\Xls\createFormulaFromTokens(), and PhpOffice\PhpSpreadsheet\Reader\Xls\getNextToken().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), and PhpOffice\PhpSpreadsheet\Reader\Xls\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 5263 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, and PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDataValidation(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefinedName(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternName(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readFormula().
|
staticprivate |
|
static |
Read 16-bit signed integer.
string | $data | |
int | $pos |
Definition at line 7874 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$data, and PhpOffice\PhpSpreadsheet\Reader\Xls\$pos.
|
static |
Read 32-bit signed integer.
string | $data | |
int | $pos |
Definition at line 7887 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$data, and PhpOffice\PhpSpreadsheet\Reader\Xls\$pos.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBlipJPEG(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBlipPNG(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBSE(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBstoreContainer(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readClientAnchor(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readClientData(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readClientTextbox(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readDefault(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readDg(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readDgContainer(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readDgg(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readDggContainer(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readOfficeArtRGFOPTE(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readOPT(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readSp(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readSpContainer(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readSpgr(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readSpgrContainer(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readSplitMenuColors(), and PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readTertiaryOPT().
|
private |
Fetch next token from binary formula data.
string | $formulaData | Formula data |
string | $baseCell | Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
Definition at line 5488 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, PhpOffice\PhpSpreadsheet\Reader\Xls\$data, $id, $index, $name, $size, PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromData(), PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode\lookup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellAddress(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellAddressB(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddress(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressB(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetRangeByRefIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 5226 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$data, $i, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readContinue(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMsoDrawing(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMsoDrawingGroup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSst(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readTextObject().
|
static |
Read 16-bit unsigned integer.
string | $data | |
int | $pos |
Definition at line 7861 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$data, and PhpOffice\PhpSpreadsheet\Reader\Xls\$pos.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\load(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBlipJPEG(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBlipPNG(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readBSE(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readClientAnchor(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readClientTextbox(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readDefault(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readOfficeArtRGFOPTE(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readOPT(), PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readSp(), and PhpOffice\PhpSpreadsheet\Reader\Xls\Escher\readTertiaryOPT().
|
private |
Definition at line 4522 of file Xls.php.
References $row, PhpOffice\PhpSpreadsheet\Cell\Coordinate\getRangeBoundaries(), and PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readMergedCells().
PhpOffice\PhpSpreadsheet\Reader\Xls::listWorksheetInfo | ( | $pFilename | ) |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
string | $pFilename |
Definition at line 517 of file Xls.php.
References $code, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), data, PhpOffice\PhpSpreadsheet\Reader\Xls\loadOLE(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBof(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefault(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheet(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
PhpOffice\PhpSpreadsheet\Reader\Xls::listWorksheetNames | ( | $pFilename | ) |
Reads names of the worksheets from a file, without parsing the whole file to a PhpSpreadsheet object.
string | $pFilename |
Definition at line 459 of file Xls.php.
References $code, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), data, PhpOffice\PhpSpreadsheet\Reader\Xls\loadOLE(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBof(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefault(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readSheet().
PhpOffice\PhpSpreadsheet\Reader\Xls::load | ( | $pFilename | ) |
Loads PhpSpreadsheet from file.
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 629 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, $code, $n, $reader, $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$spreadsheet, PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE\BLIPTYPE_JPEG, PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE\BLIPTYPE_PNG, PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), data, PhpOffice\PhpSpreadsheet\Shared\CodePage\DEFAULT_CODE_PAGE, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\extractSheetTitle(), PhpOffice\PhpSpreadsheet\Shared\Xls\getDistanceX(), PhpOffice\PhpSpreadsheet\Shared\Xls\getDistanceY(), PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\loadOLE(), PhpOffice\PhpSpreadsheet\Reader\Xls\Color\map(), PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\MIMETYPE_JPEG, PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\MIMETYPE_PNG, PhpOffice\PhpSpreadsheet\Reader\Xls\parseRichText(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBlank(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBof(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBoolErr(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBottomMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readCodepage(), PhpOffice\PhpSpreadsheet\Reader\Xls\readColInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\readContinue(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDataValidation(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDataValidations(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDateMode(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefault(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefaultRowHeight(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefColWidth(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefinedName(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDocumentSummaryInformation(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternalBook(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternName(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternSheet(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFilepass(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFont(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFooter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFormat(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFormula(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHcenter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHeader(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHorizontalPageBreaks(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHyperLink(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabel(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabelSst(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLeftMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMergedCells(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMsoDrawing(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMsoDrawingGroup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMulBlank(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMulRk(), PhpOffice\PhpSpreadsheet\Reader\Xls\readNote(), PhpOffice\PhpSpreadsheet\Reader\Xls\readNumber(), PhpOffice\PhpSpreadsheet\Reader\Xls\readObj(), PhpOffice\PhpSpreadsheet\Reader\Xls\readObjectProtect(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPageLayoutView(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPageSetup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPalette(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPane(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPassword(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPrintGridlines(), PhpOffice\PhpSpreadsheet\Reader\Xls\readProtect(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRangeProtection(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRightMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRk(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRow(), PhpOffice\PhpSpreadsheet\Reader\Xls\readScenProtect(), PhpOffice\PhpSpreadsheet\Reader\Xls\readScl(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSelection(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSharedFmla(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheet(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetLayout(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetPr(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetProtection(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSst(), PhpOffice\PhpSpreadsheet\Reader\Xls\readStyle(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSummaryInformation(), PhpOffice\PhpSpreadsheet\Reader\Xls\readTextObject(), PhpOffice\PhpSpreadsheet\Reader\Xls\readTopMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readVcenter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readVerticalPageBreaks(), PhpOffice\PhpSpreadsheet\Reader\Xls\readWindow2(), PhpOffice\PhpSpreadsheet\Reader\Xls\readXf(), PhpOffice\PhpSpreadsheet\Reader\Xls\readXfExt(), PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\RENDERING_JPEG, PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\RENDERING_PNG, PhpOffice\PhpSpreadsheet\Shared\Xls\sizeCol(), PhpOffice\PhpSpreadsheet\Shared\Xls\sizeRow(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_FORMULA.
|
private |
Use OLE reader to extract the relevant data streams from the OLE file.
string | $pFilename |
Definition at line 1366 of file Xls.php.
References data.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetNames(), and PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Make an RC4 decryptor for the given block.
int | $block | Block for which to create decrypto |
string | $valContext | MD5 context state |
Definition at line 1863 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\verifyPassword().
|
private |
Definition at line 7903 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readNote().
|
private |
Reads a cell range address in BIFF5 e.g.
'A2:B6' or 'A1' always fixed range section 2.5.14.
string | $subData |
Definition at line 7158 of file Xls.php.
References $lc, $lr, and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF5CellRangeAddressList(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readSharedFmla().
|
private |
Read BIFF5 cell range address list section 2.5.15.
string | $subData |
Definition at line 7403 of file Xls.php.
References $i, and PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF5CellRangeAddressFixed().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readSelection().
|
private |
Reads a cell address in BIFF8 e.g.
'A2' or '$A$2' section 3.3.4.
string | $cellAddressStructure |
Definition at line 7079 of file Xls.php.
References $row, and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getNextToken(), and PhpOffice\PhpSpreadsheet\Reader\Xls\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 7110 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, $row, PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 7236 of file Xls.php.
References $lc, $lr, and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 7290 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, $lc, $lr, PhpOffice\PhpSpreadsheet\Cell\Coordinate\indexesFromString(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getNextToken().
|
private |
Reads a cell range address in BIFF8 e.g.
'A2:B6' or 'A1' always fixed range section 2.5.14.
string | $subData |
Definition at line 7197 of file Xls.php.
References $lc, $lr, and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressList(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHyperLink(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRangeProtection().
|
private |
Read BIFF8 cell range address list section 2.5.15.
string | $subData |
Definition at line 7375 of file Xls.php.
References $i, and PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressFixed().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\createFormulaFromTokens(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDataValidation(), and PhpOffice\PhpSpreadsheet\Reader\Xls\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.
['value' => '5', 'size' => 9].
string | $valueData |
Definition at line 7529 of file Xls.php.
References $size, and PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode\lookup().
|
staticprivate |
|
private |
Read BLANK record.
Definition at line 4215 of file Xls.php.
References $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read BOF.
Definition at line 1781 of file Xls.php.
References $code, PhpOffice\PhpSpreadsheet\Reader\Xls\$version, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readDefault().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetNames(), and PhpOffice\PhpSpreadsheet\Reader\Xls\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 4069 of file Xls.php.
References $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode\lookup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_BOOL, and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_ERROR.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read BOTTOMMARGIN record.
Definition at line 3349 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read byte string (16-bit string length) OpenOffice documentation: 2.5.2.
string | $subData |
Definition at line 7634 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\decodeCodepage().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readLabel(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readString().
|
private |
Read byte string (8-bit string length) OpenOffice documentation: 2.5.2.
string | $subData |
Definition at line 7612 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\decodeCodepage().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readFont(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFooter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFormat(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHeader(), and PhpOffice\PhpSpreadsheet\Reader\Xls\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 1982 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$codepage, data, PhpOffice\PhpSpreadsheet\Shared\CodePage\numberToName(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read COLINFO record.
Definition at line 3528 of file Xls.php.
References $i, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
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 5175 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read DATAVALIDATION record.
Definition at line 4761 of file Xls.php.
References PHPMailer\PHPMailer\$options, $type, data, PhpOffice\PhpSpreadsheet\Cell\Coordinate\extractAllCellReferencesInRange(), PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_BETWEEN, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_EQUAL, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_GREATERTHAN, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_GREATERTHANOREQUAL, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_LESSTHAN, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_LESSTHANOREQUAL, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_NOTBETWEEN, PhpOffice\PhpSpreadsheet\Cell\DataValidation\OPERATOR_NOTEQUAL, PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressList(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\DataValidation\STYLE_INFORMATION, PhpOffice\PhpSpreadsheet\Cell\DataValidation\STYLE_STOP, PhpOffice\PhpSpreadsheet\Cell\DataValidation\STYLE_WARNING, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_CUSTOM, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_DATE, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_DECIMAL, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_LIST, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_NONE, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_TEXTLENGTH, PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_TIME, and PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_WHOLE.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read DATAVALIDATIONS record.
Definition at line 4749 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 2008 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Shared\Date\CALENDAR_MAC_1904, PhpOffice\PhpSpreadsheet\Shared\Date\CALENDAR_WINDOWS_1900, data, PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Shared\Date\setExcelCalendar().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Reads a general type of BIFF record.
Does nothing except for moving stream pointer forward to next record.
Definition at line 1668 of file Xls.php.
References data.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Xls\load(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readBof().
|
private |
Read DEFAULTROWHEIGHT record.
Definition at line 3110 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read DEFCOLWIDTH record.
Definition at line 3510 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 2820 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read additional document summary information.
Definition at line 1530 of file Xls.php.
References $i, $id, $type, PhpOffice\PhpSpreadsheet\Shared\StringHelper\convertEncoding(), PhpOffice\PhpSpreadsheet\Shared\CodePage\numberToName(), and PhpOffice\PhpSpreadsheet\Shared\OLE\OLE2LocalDate().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read EXTERNALBOOK record.
Definition at line 2688 of file Xls.php.
References $i, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read EXTERNNAME record.
Definition at line 2750 of file Xls.php.
References PHPMailer\PHPMailer\$options, data, PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read EXTERNSHEET record.
Definition at line 2784 of file Xls.php.
References $i, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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: https://metacpan.org/release/Spreadsheet-ParseExcel
Definition at line 1832 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\verifyPassword().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read a FONT record.
Definition at line 2026 of file Xls.php.
References $size, data, PhpOffice\PhpSpreadsheet\Reader\Xls\Style\CellFont\escapement(), PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringShort(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\Style\CellFont\underline().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read FOOTER record.
Definition at line 3234 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringShort(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 2106 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringShort(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 3879 of file Xls.php.
References $code, PHPMailer\PHPMailer\$options, $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode\lookup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSharedFmla(), PhpOffice\PhpSpreadsheet\Reader\Xls\readString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_BOOL, PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_ERROR, PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_FORMULA, PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NULL, PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NUMERIC, and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_STRING.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read HCENTER record.
Definition at line 3260 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read HEADER record.
Definition at line 3207 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringShort(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read HORIZONTALPAGEBREAKS record.
Definition at line 3153 of file Xls.php.
References $i, $r, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\BREAK_ROW, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read HYPERLINK record.
Definition at line 4576 of file Xls.php.
References $text, $url, data, PhpOffice\PhpSpreadsheet\Cell\Coordinate\extractAllCellReferencesInRange(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressFixed(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
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 4171 of file Xls.php.
References $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringLong(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_STRING.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 3701 of file Xls.php.
References $i, $index, $row, $text, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, PhpOffice\PhpSpreadsheet\Shared\StringHelper\countCharacters(), data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), PhpOffice\PhpSpreadsheet\Shared\StringHelper\substring(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_STRING.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read LEFTMARGIN record.
Definition at line 3298 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 4552 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\includeCellRangeFiltered(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressList(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read MSODRAWING record.
Definition at line 4245 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read MSODRAWINGGROUP record.
Definition at line 2874 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 4128 of file Xls.php.
References $i, $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 3785 of file Xls.php.
References $columns, $i, $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NUMERIC.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 1680 of file Xls.php.
References $comment, $row, data, PhpOffice\PhpSpreadsheet\Reader\Xls\parseRichText(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellAddress(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 3838 of file Xls.php.
References $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NUMERIC.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read OBJ record.
Definition at line 4259 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
OBJECTPROTECT.
Definition at line 3469 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read PLV Record(Created by Excel2007 or upper).
Definition at line 4383 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Worksheet\SheetView\SHEETVIEW_PAGE_LAYOUT.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read PAGESETUP record.
Definition at line 3366 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read PALETTE record.
Definition at line 2600 of file Xls.php.
References $i, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read PANE record.
Definition at line 4441 of file Xls.php.
References $px, $py, data, PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8).
Definition at line 3492 of file Xls.php.
References $password, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read PRINTGRIDLINES record.
Definition at line 3092 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
PROTECT - Sheet protection (BIFF2 through BIFF8) if this record is omitted, then it also means no sheet protection.
Definition at line 3424 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 5113 of file Xls.php.
References $i, data, PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressFixed(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 | $len | Record data length |
Definition at line 1314 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$data, PhpOffice\PhpSpreadsheet\Reader\Xls\$pos, PhpOffice\PhpSpreadsheet\Reader\Xls\$rc4Pos, $step, and PhpOffice\PhpSpreadsheet\Reader\Xls\makeKey().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBlank(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBoolErr(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBottomMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readCodepage(), PhpOffice\PhpSpreadsheet\Reader\Xls\readColInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\readContinue(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDataValidation(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDataValidations(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDateMode(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefaultRowHeight(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefColWidth(), PhpOffice\PhpSpreadsheet\Reader\Xls\readDefinedName(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternalBook(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternName(), PhpOffice\PhpSpreadsheet\Reader\Xls\readExternSheet(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFilepass(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFont(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFooter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFormat(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFormula(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHcenter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHeader(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHorizontalPageBreaks(), PhpOffice\PhpSpreadsheet\Reader\Xls\readHyperLink(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabel(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabelSst(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLeftMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMergedCells(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMulBlank(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMulRk(), PhpOffice\PhpSpreadsheet\Reader\Xls\readNote(), PhpOffice\PhpSpreadsheet\Reader\Xls\readNumber(), PhpOffice\PhpSpreadsheet\Reader\Xls\readObj(), PhpOffice\PhpSpreadsheet\Reader\Xls\readObjectProtect(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPageLayoutView(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPageSetup(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPalette(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPane(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPassword(), PhpOffice\PhpSpreadsheet\Reader\Xls\readPrintGridlines(), PhpOffice\PhpSpreadsheet\Reader\Xls\readProtect(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRangeProtection(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRightMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRk(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRow(), PhpOffice\PhpSpreadsheet\Reader\Xls\readScenProtect(), PhpOffice\PhpSpreadsheet\Reader\Xls\readScl(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSelection(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSharedFmla(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheet(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetLayout(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetPr(), PhpOffice\PhpSpreadsheet\Reader\Xls\readSheetProtection(), PhpOffice\PhpSpreadsheet\Reader\Xls\readString(), PhpOffice\PhpSpreadsheet\Reader\Xls\readStyle(), PhpOffice\PhpSpreadsheet\Reader\Xls\readTextObject(), PhpOffice\PhpSpreadsheet\Reader\Xls\readTopMargin(), PhpOffice\PhpSpreadsheet\Reader\Xls\readVcenter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readVerticalPageBreaks(), PhpOffice\PhpSpreadsheet\Reader\Xls\readWindow2(), PhpOffice\PhpSpreadsheet\Reader\Xls\readXf(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readXfExt().
|
staticprivate |
|
private |
Read RIGHTMARGIN record.
Definition at line 3315 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 3657 of file Xls.php.
References $row, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NUMERIC.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 3588 of file Xls.php.
References $r, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
SCENPROTECT.
Definition at line 3446 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read SCL record.
Definition at line 4420 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read SELECTION record.
There is one such record for each pane in the sheet.
Definition at line 4475 of file Xls.php.
References $c, PhpOffice\PhpSpreadsheet\Reader\Xls\$data, $index, $r, data, PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF5CellRangeAddressList(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 4011 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$baseCell, data, PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF5CellRangeAddressFixed(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readFormula().
|
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 2632 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringShort(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\SHEETSTATE_HIDDEN, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\SHEETSTATE_VERYHIDDEN, and PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\SHEETSTATE_VISIBLE.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetNames(), and PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read SHEETLAYOUT record.
Stores sheet tab color information.
Definition at line 4973 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\Color\map(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read SHEETPR record.
Definition at line 3127 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read SHEETPROTECTION record (FEATHEADR).
Definition at line 5013 of file Xls.php.
References PHPMailer\PHPMailer\$options, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 Exception is thrown.
int | $index |
Definition at line 7433 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 2896 of file Xls.php.
References $i, PhpOffice\PhpSpreadsheet\Reader\Xls\$pos, and PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 4042 of file Xls.php.
References data, PhpOffice\PhpSpreadsheet\Reader\Xls\readByteStringLong(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readFormula().
|
private |
Read STYLE record.
Definition at line 2563 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read summary information.
Definition at line 1383 of file Xls.php.
References $i, $id, $type, PhpOffice\PhpSpreadsheet\Shared\StringHelper\convertEncoding(), PhpOffice\PhpSpreadsheet\Shared\CodePage\numberToName(), and PhpOffice\PhpSpreadsheet\Shared\OLE\OLE2LocalDate().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
The TEXT Object record contains the text associated with a cell annotation.
Definition at line 1734 of file Xls.php.
References $text, PhpOffice\PhpSpreadsheet\Reader\Xls\$textObjRef, data, PhpOffice\PhpSpreadsheet\Reader\Xls\decodeCodepage(), PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read TOPMARGIN record.
Definition at line 3332 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\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 |
|
staticprivate |
|
staticprivate |
|
private |
Read VCENTER record.
Definition at line 3279 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read VERTICALPAGEBREAKS record.
Definition at line 3180 of file Xls.php.
References $c, $i, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\BREAK_COLUMN, data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Read WINDOW2 record.
Definition at line 4299 of file Xls.php.
References PHPMailer\PHPMailer\$options, data, PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Worksheet\SheetView\SHEETVIEW_NORMAL, PhpOffice\PhpSpreadsheet\Worksheet\SheetView\SHEETVIEW_PAGE_BREAK_PREVIEW, and PhpOffice\PhpSpreadsheet\Worksheet\SheetView\SHEETVIEW_PAGE_LAYOUT.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
XF - Extended Format.
This record contains formatting information for cells, rows, columns or styles. According to https://support.microsoft.com/en-us/help/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 2143 of file Xls.php.
References $angle, $code, PhpOffice\PhpSpreadsheet\Reader\Xls\$xfIndex, PhpOffice\PhpSpreadsheet\Style\NumberFormat\builtInFormatCode(), data, PhpOffice\PhpSpreadsheet\Style\Borders\DIAGONAL_BOTH, PhpOffice\PhpSpreadsheet\Style\Borders\DIAGONAL_DOWN, PhpOffice\PhpSpreadsheet\Style\Borders\DIAGONAL_NONE, PhpOffice\PhpSpreadsheet\Style\Borders\DIAGONAL_UP, PhpOffice\PhpSpreadsheet\Reader\Xls\Style\CellAlignment\horizontal(), PhpOffice\PhpSpreadsheet\Style\Protection\PROTECTION_INHERIT, PhpOffice\PhpSpreadsheet\Style\Protection\PROTECTION_PROTECTED, PhpOffice\PhpSpreadsheet\Style\Protection\PROTECTION_UNPROTECTED, PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), PhpOffice\PhpSpreadsheet\Style\Alignment\TEXTROTATION_STACK_EXCEL, PhpOffice\PhpSpreadsheet\Style\Alignment\TEXTROTATION_STACK_PHPSPREADSHEET, PhpOffice\PhpSpreadsheet\Reader\Xls\Style\CellAlignment\vertical(), and PhpOffice\PhpSpreadsheet\Reader\Xls\Style\CellAlignment\wrap().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
Definition at line 2387 of file Xls.php.
References data, and PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
PhpOffice\PhpSpreadsheet\Reader\Xls::setCodepage | ( | string | $codepage | ) |
Definition at line 443 of file Xls.php.
References PhpOffice\PhpSpreadsheet\Reader\Xls\$codepage, and PhpOffice\PhpSpreadsheet\Shared\CodePage\validate().
|
staticprivate |
|
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 |
|
private |
Verify RC4 file password.
string | $password | Password to check |
string | $docid | Document id |
string | $salt_data | Salt data |
string | $hashedsalt_data | Hashed salt data |
string | $valContext | Set to the MD5 context of the value |
Definition at line 1898 of file Xls.php.
References $i, $key, $password, and PhpOffice\PhpSpreadsheet\Reader\Xls\makeKey().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readFilepass().
|
private |
Definition at line 409 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromData(), PhpOffice\PhpSpreadsheet\Reader\Xls\getFormulaFromStructure(), PhpOffice\PhpSpreadsheet\Reader\Xls\getNextToken(), PhpOffice\PhpSpreadsheet\Reader\Xls\load(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellAddressB(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBIFF8CellRangeAddressB(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readSharedFmla().
|
private |
Definition at line 216 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readCodepage(), and PhpOffice\PhpSpreadsheet\Reader\Xls\setCodepage().
|
private |
Definition at line 173 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\extractNumber(), PhpOffice\PhpSpreadsheet\Reader\Xls\getInt2d(), PhpOffice\PhpSpreadsheet\Reader\Xls\getInt4d(), PhpOffice\PhpSpreadsheet\Reader\Xls\getNextToken(), PhpOffice\PhpSpreadsheet\Reader\Xls\getSplicedRecordData(), PhpOffice\PhpSpreadsheet\Reader\Xls\getUInt2d(), PhpOffice\PhpSpreadsheet\Reader\Xls\RC4\RC4(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readSelection().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 237 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\Color\map().
|
private |
Definition at line 187 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\getInt2d(), PhpOffice\PhpSpreadsheet\Reader\Xls\getInt4d(), PhpOffice\PhpSpreadsheet\Reader\Xls\getUInt2d(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readSst().
|
private |
Definition at line 392 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readRecordData().
|
private |
|
private |
|
private |
Definition at line 194 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\load().
|
private |
|
private |
Definition at line 404 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readTextObject().
|
private |
Definition at line 208 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\Color\map(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readBof().
|
private |
Definition at line 335 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\readBlank(), PhpOffice\PhpSpreadsheet\Reader\Xls\readBoolErr(), PhpOffice\PhpSpreadsheet\Reader\Xls\readColInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\readFormula(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabel(), PhpOffice\PhpSpreadsheet\Reader\Xls\readLabelSst(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMulBlank(), PhpOffice\PhpSpreadsheet\Reader\Xls\readMulRk(), PhpOffice\PhpSpreadsheet\Reader\Xls\readNumber(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRk(), PhpOffice\PhpSpreadsheet\Reader\Xls\readRow(), PhpOffice\PhpSpreadsheet\Reader\Xls\readStyle(), and PhpOffice\PhpSpreadsheet\Reader\Xls\readXf().
const PhpOffice\PhpSpreadsheet\Reader\Xls::MS_BIFF_CRYPTO_NONE = 0 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::MS_BIFF_CRYPTO_RC4 = 2 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::MS_BIFF_CRYPTO_XOR = 1 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::REKEY_BLOCK = 0x400 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_BIFF7 = 0x0500 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_BIFF8 = 0x0600 |
Definition at line 65 of file Xls.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xls\Color\map().
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_ARRAY = 0x0221 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_BLANK = 0x0201 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_BOF = 0x0809 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_BOOLERR = 0x0205 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_BOTTOMMARGIN = 0x0029 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_CODEPAGE = 0x0042 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_COLINFO = 0x007d |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_CONTINUE = 0x003c |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DATAVALIDATION = 0x01be |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DATAVALIDATIONS = 0x01b2 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DATEMODE = 0x0022 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DBCELL = 0x00d7 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DEFAULTROWHEIGHT = 0x0225 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DEFCOLWIDTH = 0x0055 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DEFINEDNAME = 0x0018 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_DIMENSION = 0x0200 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_EOF = 0x000a |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_EXTERNALBOOK = 0x01ae |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_EXTERNNAME = 0x0023 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_EXTERNSHEET = 0x0017 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_EXTSST = 0x00ff |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_FILEPASS = 0x002f |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_FONT = 0x0031 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_FOOTER = 0x0015 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_FORMAT = 0x041e |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_FORMULA = 0x0006 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_HCENTER = 0x0083 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_HEADER = 0x0014 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_HORIZONTALPAGEBREAKS = 0x001b |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_HYPERLINK = 0x01b8 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_IMDATA = 0x007f |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_INDEX = 0x020b |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_LABEL = 0x0204 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_LABELSST = 0x00fd |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_LEFTMARGIN = 0x0026 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_MERGEDCELLS = 0x00e5 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_MSODRAWING = 0x00ec |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_MSODRAWINGGROUP = 0x00eb |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_MULBLANK = 0x00be |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_MULRK = 0x00bd |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_NOTE = 0x001c |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_NUMBER = 0x0203 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_OBJ = 0x005d |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_OBJECTPROTECT = 0x0063 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PAGELAYOUTVIEW = 0x088b |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PAGESETUP = 0x00a1 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PALETTE = 0x0092 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PANE = 0x0041 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PASSWORD = 0x0013 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PRINTGRIDLINES = 0x002b |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_PROTECT = 0x0012 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_RANGEPROTECTION = 0x0868 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_RIGHTMARGIN = 0x0027 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_RK = 0x027e |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_ROW = 0x0208 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SCENPROTECT = 0x00dd |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SCL = 0x00a0 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SELECTION = 0x001d |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SHAREDFMLA = 0x04bc |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SHEET = 0x0085 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SHEETLAYOUT = 0x0862 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SHEETPR = 0x0081 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SHEETPROTECTION = 0x0867 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_SST = 0x00fc |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_STRING = 0x0207 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_STYLE = 0x0293 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_TOPMARGIN = 0x0028 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_TXO = 0x01b6 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_UNKNOWN = 0xffff |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_VCENTER = 0x0084 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_VERTICALPAGEBREAKS = 0x001a |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_WINDOW2 = 0x023e |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_XF = 0x00e0 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_TYPE_XFEXT = 0x087d |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_WORKBOOKGLOBALS = 0x0005 |
const PhpOffice\PhpSpreadsheet\Reader\Xls::XLS_WORKSHEET = 0x0010 |