|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Reader for SpreadsheetML, the XML schema for Microsoft Office Excel 2003. More...
Inheritance diagram for PhpOffice\PhpSpreadsheet\Reader\Xml:
Collaboration diagram for PhpOffice\PhpSpreadsheet\Reader\Xml:Public Member Functions | |
| __construct () | |
| Create a new Excel2003XML Reader instance. More... | |
| canRead ($pFilename) | |
| Can the current IReader read the file? More... | |
| trySimpleXMLLoadString ($pFilename) | |
| Check if the file is a valid SimpleXML. More... | |
| listWorksheetNames ($filename) | |
| Reads names of the worksheets from a file, without parsing the whole file to a Spreadsheet object. More... | |
| listWorksheetInfo ($filename) | |
| Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns). More... | |
| load ($filename) | |
| Loads Spreadsheet 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 () | |
| __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... | |
Static Public Member Functions | |
| static | xmlMappings () |
Protected Member Functions | |
| parseCellComment (SimpleXMLElement $comment, array $namespaces, Spreadsheet $spreadsheet, string $columnID, int $rowID) | |
| parseRichText (string $annotation) | |
Protected Member Functions inherited from PhpOffice\PhpSpreadsheet\Reader\BaseReader | |
| openFile ($pFilename) | |
| Open file for reading. More... | |
Protected Attributes | |
| $styles = [] | |
Protected Attributes inherited from PhpOffice\PhpSpreadsheet\Reader\BaseReader | |
| $readDataOnly = false | |
| $readEmptyCells = true | |
| $includeCharts = false | |
| $loadSheetsOnly | |
| $readFilter | |
| $fileHandle | |
| $securityScanner | |
Static Private Member Functions | |
| static | getAttributes (?SimpleXMLElement $simple, string $node) |
Private Attributes | |
| $fileContents = '' | |
Reader for SpreadsheetML, the XML schema for Microsoft Office Excel 2003.
| PhpOffice\PhpSpreadsheet\Reader\Xml::__construct | ( | ) |
Create a new Excel2003XML Reader instance.
Reimplemented from PhpOffice\PhpSpreadsheet\Reader\BaseReader.
Definition at line 38 of file Xml.php.
References PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner\getInstance().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Reader\Xml::canRead | ( | $pFilename | ) |
Can the current IReader read the file?
| string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 61 of file Xml.php.
References $data, $valid, and PhpOffice\PhpSpreadsheet\Shared\StringHelper\convertEncoding().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetInfo(), and PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetNames().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 534 of file Xml.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetInfo(), and PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetNames().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Reader\Xml::listWorksheetInfo | ( | $filename | ) |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
| string | $filename |
Definition at line 169 of file Xml.php.
References $filename, $xml, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), PhpOffice\PhpSpreadsheet\Reader\Xml\canRead(), PhpOffice\PhpSpreadsheet\Reader\Xml\getAttributes(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), and PhpOffice\PhpSpreadsheet\Reader\Xml\trySimpleXMLLoadString().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Reader\Xml::listWorksheetNames | ( | $filename | ) |
Reads names of the worksheets from a file, without parsing the whole file to a Spreadsheet object.
| string | $filename |
Definition at line 137 of file Xml.php.
References $filename, $xml, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), PhpOffice\PhpSpreadsheet\Reader\Xml\canRead(), PhpOffice\PhpSpreadsheet\Reader\Xml\getAttributes(), and PhpOffice\PhpSpreadsheet\Reader\Xml\trySimpleXMLLoadString().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Reader\Xml::load | ( | $filename | ) |
Loads Spreadsheet from file.
| string | $filename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 243 of file Xml.php.
References $filename.
|
protected |
Definition at line 505 of file Xml.php.
|
protected |
| PhpOffice\PhpSpreadsheet\Reader\Xml::trySimpleXMLLoadString | ( | $pFilename | ) |
Check if the file is a valid SimpleXML.
| string | $pFilename |
Definition at line 114 of file Xml.php.
References $xml, and PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetInfo(), and PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetNames().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 46 of file Xml.php.
References PhpOffice\PhpSpreadsheet\Reader\Xml\Style\Border\BORDER_MAPPINGS, and PhpOffice\PhpSpreadsheet\Reader\Xml\Style\Fill\FILL_MAPPINGS.
|
private |