Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 586 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: Gnumeric  - X-Ref

__construct()   X-Ref
Create a new Gnumeric.


canRead(string $filename)   X-Ref
Can the current IReader read the file?


matchXml(XMLReader $xml, string $expectedLocalName)   X-Ref
No description

listWorksheetNames($filename)   X-Ref
Reads names of the worksheets from a file, without parsing the whole file to a Spreadsheet object.

param: string $filename
return: array

listWorksheetInfo($filename)   X-Ref
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).

param: string $filename
return: array

gzfileGetContents($filename)   X-Ref

param: string $filename
return: string

gnumericMappings()   X-Ref
No description

processComments(SimpleXMLElement $sheet)   X-Ref
No description

testSimpleXml($value)   X-Ref

param: mixed $value

loadSpreadsheetFromFile(string $filename)   X-Ref
Loads Spreadsheet from file.


loadIntoExisting(string $filename, Spreadsheet $spreadsheet)   X-Ref
Loads from file into Spreadsheet instance.


setSelectedSheet(SimpleXMLElement $gnmXML)   X-Ref
No description

setSelectedCells(?SimpleXMLElement $sheet)   X-Ref
No description

processMergedCells(?SimpleXMLElement $sheet)   X-Ref
No description

processAutofilter(?SimpleXMLElement $sheet)   X-Ref
No description

setColumnWidth(int $whichColumn, float $defaultWidth)   X-Ref
No description

setColumnInvisible(int $whichColumn)   X-Ref
No description

processColumnLoop(int $whichColumn, int $maxCol, ?SimpleXMLElement $columnOverride, float $defaultWidth)   X-Ref
No description

processColumnWidths(?SimpleXMLElement $sheet, int $maxCol)   X-Ref
No description

setRowHeight(int $whichRow, float $defaultHeight)   X-Ref
No description

setRowInvisible(int $whichRow)   X-Ref
No description

processRowLoop(int $whichRow, int $maxRow, ?SimpleXMLElement $rowOverride, float $defaultHeight)   X-Ref
No description

processRowHeights(?SimpleXMLElement $sheet, int $maxRow)   X-Ref
No description

processDefinedNames(?SimpleXMLElement $gnmXML)   X-Ref
No description

parseRichText(string $is)   X-Ref
No description

loadCell(SimpleXMLElement $cell,string $worksheetName,SimpleXMLElement $cellAttributes,string $column,int $row)   X-Ref
No description