ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
Create a new Ods Reader instance. More... | |
canRead ($pFilename) | |
Can the current IReader read the file? More... | |
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... | |
![]() | |
__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 () | |
__construct () | |
IReader constructor. More... | |
canRead ($pFilename) | |
Can the current IReader read the file? 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... | |
load ($pFilename) | |
Loads PhpSpreadsheet from file. More... | |
Private Member Functions | |
processSettings (ZipArchive $zip, Spreadsheet $spreadsheet) | |
setSelected (Spreadsheet $spreadsheet, string $wsname, string $setCol, string $setRow) | |
parseRichText ($is) | |
convertToExcelFormulaValue (string $openOfficeFormula) | |
Additional Inherited Members | |
![]() | |
openFile ($pFilename) | |
Open file for reading. More... | |
![]() | |
$readDataOnly = false | |
$readEmptyCells = true | |
$includeCharts = false | |
$loadSheetsOnly | |
$readFilter | |
$fileHandle | |
$securityScanner | |
PhpOffice\PhpSpreadsheet\Reader\Ods::__construct | ( | ) |
Create a new Ods Reader instance.
Reimplemented from PhpOffice\PhpSpreadsheet\Reader\BaseReader.
Definition at line 34 of file Ods.php.
References PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner\getInstance().
PhpOffice\PhpSpreadsheet\Reader\Ods::canRead | ( | $pFilename | ) |
Can the current IReader read the file?
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 47 of file Ods.php.
References $xml, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), and PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions().
|
private |
Definition at line 771 of file Ods.php.
PhpOffice\PhpSpreadsheet\Reader\Ods::listWorksheetInfo | ( | $pFilename | ) |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
string | $pFilename |
Definition at line 146 of file Ods.php.
References $xml.
PhpOffice\PhpSpreadsheet\Reader\Ods::listWorksheetNames | ( | $pFilename | ) |
Reads names of the worksheets from a file, without parsing the whole file to a PhpSpreadsheet object.
string | $pFilename |
Definition at line 94 of file Ods.php.
References $xml.
PhpOffice\PhpSpreadsheet\Reader\Ods::load | ( | $pFilename | ) |
Loads PhpSpreadsheet from file.
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 238 of file Ods.php.
|
private |
|
private |
Definition at line 654 of file Ods.php.
|
private |
Definition at line 712 of file Ods.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getSheetByName().