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... | |
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 () | |
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 | |
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\Ods::__construct | ( | ) |
Create a new Ods Reader instance.
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
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.
References PhpOffice\PhpSpreadsheet\Calculation\Calculation\translateSeparator().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Ods\load().
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\Shared\File\assertFile(), PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
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\Shared\File\assertFile(), and PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions().
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.
References $i, $key, PhpOffice\PhpSpreadsheet\Reader\BaseReader\$readDataOnly, $text, $type, $xml, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), PhpOffice\PhpSpreadsheet\Reader\Ods\convertToExcelFormulaValue(), PhpOffice\PhpSpreadsheet\Spreadsheet\createSheet(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\FORMAT_CURRENCY_USD_SIMPLE, PhpOffice\PhpSpreadsheet\Style\NumberFormat\FORMAT_DATE_TIME4, PhpOffice\PhpSpreadsheet\Style\NumberFormat\FORMAT_DATE_XLSX15, PhpOffice\PhpSpreadsheet\Style\NumberFormat\FORMAT_GENERAL, PhpOffice\PhpSpreadsheet\Style\NumberFormat\FORMAT_PERCENTAGE_00, PhpOffice\PhpSpreadsheet\Shared\Date\formattedPHPToExcel(), PhpOffice\PhpSpreadsheet\Spreadsheet\getActiveSheet(), PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions(), PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Ods\parseRichText(), PhpOffice\PhpSpreadsheet\Shared\Date\PHPToExcel(), PhpOffice\PhpSpreadsheet\Reader\Ods\processSettings(), PhpOffice\PhpSpreadsheet\Spreadsheet\setActiveSheetIndex(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_BOOL, 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.
|
private |
string | $is |
Definition at line 763 of file Ods.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Ods\load().
|
private |
Definition at line 654 of file Ods.php.
References $t, PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions(), PhpOffice\PhpSpreadsheet\Spreadsheet\setActiveSheetIndexByName(), and PhpOffice\PhpSpreadsheet\Reader\Ods\setSelected().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Ods\load().
|
private |
Definition at line 712 of file Ods.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getSheetByName().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Ods\processSettings().