ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
Create a new Xlsx 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 Spreadsheet object. 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 () | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Reader\IReader | |
load ($pFilename) | |
Loads PhpSpreadsheet from file. More... | |
Static Public Member Functions | |
static | stripWhiteSpaceFromStyleString ($string) |
Private Member Functions | |
castToFormula ($c, $r, &$cellDataType, &$value, &$calculatedValue, &$sharedFormulas, $castBaseType) | |
getFromZipArchive (ZipArchive $archive, $fileName='') | |
readRibbon (Spreadsheet $excel, $customUITarget, $zip) | |
readHyperLinkDrawing ($objDrawing, $cellAnchor, $hyperlinks) | |
readProtection (Spreadsheet $excel, SimpleXMLElement $xmlWorkbook) | |
readFormControlProperties (Spreadsheet $excel, ZipArchive $zip, $dir, $fileWorksheet, $docSheet, array &$unparsedLoadedData) | |
readPrinterSettings (Spreadsheet $excel, ZipArchive $zip, $dir, $fileWorksheet, $docSheet, array &$unparsedLoadedData) | |
castXsdBooleanToBool ($xsdBoolean) | |
Convert an 'xsd:boolean' XML value to a PHP boolean value. More... | |
getWorkbookBaseName (ZipArchive $zip) | |
readSheetProtection (Worksheet $docSheet, SimpleXMLElement $xmlSheet) | |
Static Private Member Functions | |
static | castToBoolean ($c) |
static | castToError ($c) |
static | castToString ($c) |
static | readStyle (Style $docStyle, $style) |
static | getArrayItem ($array, $key=0) |
static | dirAdd ($base, $add) |
static | toCSSArray ($style) |
static | boolean ($value) |
static | getLockValue (SimpleXmlElement $protection, string $key) |
Private Attributes | |
$referenceHelper | |
Static Private Attributes | |
static | $theme = null |
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\Xlsx::__construct | ( | ) |
Create a new Xlsx Reader instance.
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 60 of file Xlsx.php.
References PhpOffice\PhpSpreadsheet\ReferenceHelper\getInstance(), and PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner\getInstance().
|
staticprivate |
PhpOffice\PhpSpreadsheet\Reader\Xlsx::canRead | ( | $pFilename | ) |
Can the current IReader read the file?
string | $pFilename |
Implements PhpOffice\PhpSpreadsheet\Reader\IReader.
Definition at line 74 of file Xlsx.php.
References $result, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), and PhpOffice\PhpSpreadsheet\Reader\Xlsx\getWorkbookBaseName().
|
staticprivate |
Definition at line 238 of file Xlsx.php.
|
staticprivate |
|
private |
Definition at line 260 of file Xlsx.php.
References $c, $current, $r, if, and PhpOffice\PhpSpreadsheet\Cell\Coordinate\indexesFromString().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
staticprivate |
|
private |
Convert an 'xsd:boolean' XML value to a PHP boolean value.
A valid 'xsd:boolean' XML value can be one of the following four values: 'true', 'false', '1', '0'. It is case sensitive.
Note that just doing '(bool) $xsdBoolean' is not safe, since '(bool) "false"' returns true.
string | $xsdBoolean | An XML string value of type 'xsd:boolean' |
Definition at line 1920 of file Xlsx.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
staticprivate |
|
staticprivate |
|
private |
string | $fileName |
Definition at line 290 of file Xlsx.php.
References $attributes, $c, $comment, $contentType, $key, $r, $row, $style, PhpOffice\PhpSpreadsheet\Shared\Drawing\angleToDegrees(), PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\builtInFormatCode(), PhpOffice\PhpSpreadsheet\Shared\Date\CALENDAR_MAC_1904, PhpOffice\PhpSpreadsheet\Shared\Date\CALENDAR_WINDOWS_1900, PhpOffice\PhpSpreadsheet\Reader\Xlsx\castToFormula(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\castXsdBooleanToBool(), PhpOffice\PhpSpreadsheet\Shared\StringHelper\controlCharacterOOXML2PHP(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), PhpOffice\PhpSpreadsheet\DefinedName\createInstance(), PhpOffice\PhpSpreadsheet\Shared\Drawing\EMUToPixels(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\extractSheetTitle(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\FORMAT_GENERAL, PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions(), PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadDataOnly(), PhpOffice\PhpSpreadsheet\Reader\BaseReader\getReadFilter(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\getWorkbookBaseName(), PhpOffice\PhpSpreadsheet\Reader\IReader\load(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Chart\readChart(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readFormControlProperties(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readHyperLinkDrawing(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readPrinterSettings(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readProtection(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readRibbon(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readSheetProtection(), PhpOffice\PhpSpreadsheet\Shared\File\realpath(), PhpOffice\PhpSpreadsheet\Shared\Date\setExcelCalendar(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), PhpOffice\PhpSpreadsheet\DefinedName\testIfFormula(), PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NUMERIC, and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_STRING.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\readFormControlProperties(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readPrinterSettings(), and PhpOffice\PhpSpreadsheet\Reader\Xlsx\readRibbon().
|
staticprivate |
|
private |
ZipArchive | $zip | Opened zip archive |
Definition at line 1934 of file Xlsx.php.
References PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\canRead(), and PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
PhpOffice\PhpSpreadsheet\Reader\Xlsx::listWorksheetNames | ( | $pFilename | ) |
Reads names of the worksheets from a file, without parsing the whole file to a Spreadsheet object.
string | $pFilename |
Definition at line 98 of file Xlsx.php.
References $row, $xml, PhpOffice\PhpSpreadsheet\Shared\File\assertFile(), PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions(), PhpOffice\PhpSpreadsheet\Shared\File\realpath(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
|
private |
Definition at line 1842 of file Xlsx.php.
References PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), and PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
private |
\PhpOffice\PhpSpreadsheet\Worksheet\Drawing | $objDrawing | |
SimpleXMLElement | $cellAnchor | |
array | $hyperlinks |
Definition at line 1789 of file Xlsx.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
private |
Definition at line 1874 of file Xlsx.php.
References PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), and PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
private |
Definition at line 1805 of file Xlsx.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getSecurity().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
private |
mixed | $customUITarget | |
mixed | $zip |
Definition at line 1684 of file Xlsx.php.
References $baseDir, PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), PhpOffice\PhpSpreadsheet\Settings\getLibXmlLoaderOptions(), PhpOffice\PhpSpreadsheet\Spreadsheet\setRibbonBinObjects(), and PhpOffice\PhpSpreadsheet\Spreadsheet\setRibbonXMLData().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
private |
Definition at line 1963 of file Xlsx.php.
References PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getProtection(), and PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\protectCells().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive().
|
staticprivate |
SimpleXMLElement | stdClass | $style |
Definition at line 1574 of file Xlsx.php.
References $style, PhpOffice\PhpSpreadsheet\Shared\StringHelper\controlCharacterOOXML2PHP(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles\readAlignmentStyle(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles\readBorderStyle(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles\readColor(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles\readFontStyle(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles\readProtectionHidden(), and PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles\readProtectionLocked().
|
static |
|
staticprivate |
Definition at line 1736 of file Xlsx.php.
References $style, PhpOffice\PhpSpreadsheet\Shared\Font\centimeterSizeToPixels(), PhpOffice\PhpSpreadsheet\Shared\Font\fontSizeToPixels(), and PhpOffice\PhpSpreadsheet\Shared\Font\inchSizeToPixels().
|
private |
|
staticprivate |