ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
Create a new SYLK Reader instance. More... | |
canRead ($pFilename) | |
Validate that the current file is a SYLK file. More... | |
setInputEncoding ($pValue) | |
Set input encoding. More... | |
getInputEncoding () | |
Get input encoding. 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... | |
loadIntoExisting ($pFilename, Spreadsheet $spreadsheet) | |
Loads PhpSpreadsheet from file into PhpSpreadsheet instance. More... | |
getSheetIndex () | |
Get sheet index. More... | |
setSheetIndex ($pValue) | |
Set sheet index. More... | |
![]() | |
__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 () | |
Private Member Functions | |
canReadOrBust (string $pFilename) | |
processFormula (string $rowDatum, bool &$hasCalculatedValue, string &$cellDataFormula, string $row, string $column) | |
processCRecord (array $rowData, Spreadsheet &$spreadsheet, string &$row, string &$column) | |
processCFinal (Spreadsheet &$spreadsheet, bool $hasCalculatedValue, string $cellDataFormula, string $cellData, string $coordinate) | |
processFRecord (array $rowData, Spreadsheet &$spreadsheet, string &$row, string &$column) | |
styleSettings (string $rowDatum, array &$styleData, string &$fontStyle) | |
addFormats (Spreadsheet &$spreadsheet, string $formatStyle, string $row, string $column) | |
addFonts (Spreadsheet &$spreadsheet, string $fontStyle, string $row, string $column) | |
addStyle (Spreadsheet &$spreadsheet, array $styleData, string $row, string $column) | |
addWidth (Spreadsheet $spreadsheet, string $columnWidth, string $startCol, string $endCol) | |
processPRecord (array $rowData, Spreadsheet &$spreadsheet) | |
processPColors (string $rowDatum, array &$formatArray) | |
processPFontStyles (string $rowDatum, array &$formatArray) | |
processPFinal (Spreadsheet &$spreadsheet, array $formatArray) | |
columnRowFromRowData (array $rowData, string &$column, string &$row) | |
Private Attributes | |
$inputEncoding = 'ANSI' | |
$sheetIndex = 0 | |
$formats = [] | |
$format = 0 | |
$fonts = [] | |
$fontcount = 0 | |
$colorArray | |
$fontStyleMappings | |
$styleSettingsFont = ['D' => 'bold' | |
$styleSettingsBorder | |
Additional Inherited Members | |
![]() | |
openFile ($pFilename) | |
Open file for reading. More... | |
![]() | |
$readDataOnly = false | |
$readEmptyCells = true | |
$includeCharts = false | |
$loadSheetsOnly | |
$readFilter | |
$fileHandle | |
$securityScanner | |
PhpOffice\PhpSpreadsheet\Reader\Slk::__construct | ( | ) |
Create a new SYLK Reader instance.
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
|
private |
Definition at line 399 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processFRecord().
|
private |
Definition at line 389 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processFRecord().
|
private |
Definition at line 409 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processFRecord().
|
private |
Definition at line 417 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processFRecord().
PhpOffice\PhpSpreadsheet\Reader\Slk::canRead | ( | $pFilename | ) |
Validate that the current file is a SYLK file.
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 73 of file Slk.php.
References $data, and PhpOffice\PhpSpreadsheet\Reader\BaseReader\openFile().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\canReadOrBust().
|
private |
Definition at line 97 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\canRead(), and PhpOffice\PhpSpreadsheet\Reader\BaseReader\openFile().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\listWorksheetInfo(), and PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
|
private |
Definition at line 556 of file Slk.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
PhpOffice\PhpSpreadsheet\Reader\Slk::getInputEncoding | ( | ) |
Get input encoding.
Definition at line 132 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\$inputEncoding.
PhpOffice\PhpSpreadsheet\Reader\Slk::getSheetIndex | ( | ) |
Get sheet index.
Definition at line 573 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\$sheetIndex.
PhpOffice\PhpSpreadsheet\Reader\Slk::listWorksheetInfo | ( | $pFilename | ) |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
string | $pFilename |
Definition at line 144 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\BaseReader\$fileHandle, PhpOffice\PhpSpreadsheet\Reader\Slk\canReadOrBust(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Shared\StringHelper\SYLKtoUTF8().
PhpOffice\PhpSpreadsheet\Reader\Slk::load | ( | $pFilename | ) |
Loads PhpSpreadsheet from file.
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 204 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
PhpOffice\PhpSpreadsheet\Reader\Slk::loadIntoExisting | ( | $pFilename, | |
Spreadsheet | $spreadsheet | ||
) |
Loads PhpSpreadsheet from file into PhpSpreadsheet instance.
string | $pFilename |
Definition at line 508 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\BaseReader\$fileHandle, $row, PhpOffice\PhpSpreadsheet\Reader\Slk\$sheetIndex, PhpOffice\PhpSpreadsheet\Reader\Slk\canReadOrBust(), PhpOffice\PhpSpreadsheet\Reader\Slk\columnRowFromRowData(), PhpOffice\PhpSpreadsheet\Spreadsheet\createSheet(), PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), PhpOffice\PhpSpreadsheet\Spreadsheet\getSheetCount(), PhpOffice\PhpSpreadsheet\Reader\Slk\processCRecord(), PhpOffice\PhpSpreadsheet\Reader\Slk\processFRecord(), PhpOffice\PhpSpreadsheet\Reader\Slk\processPRecord(), PhpOffice\PhpSpreadsheet\Spreadsheet\setActiveSheetIndex(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\SHEET_TITLE_MAXIMUM_LENGTH, and PhpOffice\PhpSpreadsheet\Shared\StringHelper\SYLKtoUTF8().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\load().
|
private |
Definition at line 311 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), and PhpOffice\PhpSpreadsheet\Calculation\Calculation\unwrapResult().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processCRecord().
|
private |
Definition at line 277 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\processCFinal(), PhpOffice\PhpSpreadsheet\Reader\Slk\processFormula(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Calculation\Calculation\unwrapResult().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
|
private |
Definition at line 230 of file Slk.php.
References $key, $row, and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processCRecord().
|
private |
Definition at line 321 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\addFonts(), PhpOffice\PhpSpreadsheet\Reader\Slk\addFormats(), PhpOffice\PhpSpreadsheet\Reader\Slk\addStyle(), PhpOffice\PhpSpreadsheet\Reader\Slk\addWidth(), and PhpOffice\PhpSpreadsheet\Reader\Slk\styleSettings().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
|
private |
Definition at line 468 of file Slk.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processPRecord().
|
private |
Definition at line 487 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\$fontcount, PhpOffice\PhpSpreadsheet\Reader\Slk\$format, and PhpOffice\PhpSpreadsheet\Spreadsheet\getDefaultStyle().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processPRecord().
|
private |
Definition at line 476 of file Slk.php.
References $i.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processPRecord().
|
private |
Definition at line 434 of file Slk.php.
References PhpOffice\PhpSpreadsheet\Reader\Slk\processPColors(), PhpOffice\PhpSpreadsheet\Reader\Slk\processPFinal(), and PhpOffice\PhpSpreadsheet\Reader\Slk\processPFontStyles().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
PhpOffice\PhpSpreadsheet\Reader\Slk::setInputEncoding | ( | $pValue | ) |
Set input encoding.
string | $pValue | Input encoding, eg: 'ANSI' |
PhpOffice\PhpSpreadsheet\Reader\Slk::setSheetIndex | ( | $pValue | ) |
|
private |
Definition at line 369 of file Slk.php.
References $i, PhpOffice\PhpSpreadsheet\Style\Border\BORDER_THIN, and PhpOffice\PhpSpreadsheet\Style\Fill\FILL_PATTERN_GRAY125.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processFRecord().
|
private |
|
private |
Definition at line 56 of file Slk.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processPFinal().
|
private |
|
private |
Definition at line 42 of file Slk.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\processPFinal().
|
private |
Definition at line 21 of file Slk.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\getInputEncoding().
|
private |
Definition at line 28 of file Slk.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Slk\getSheetIndex(), and PhpOffice\PhpSpreadsheet\Reader\Slk\loadIntoExisting().
|
private |
|
private |