Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

(no description)

File Size: 831 lines (33 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($pFilename)   X-Ref
Can the current IReader read the file?

param: string $pFilename
return: bool

matchXml(string $name, string $field)   X-Ref
No description

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

param: string $pFilename
return: array

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

param: string $pFilename
return: array

gzfileGetContents($filename)   X-Ref

param: string $filename
return: string

gnumericMappings()   X-Ref
No description

docPropertiesOld(SimpleXMLElement $gnmXML)   X-Ref
No description

docPropertiesDC(SimpleXMLElement $officePropertyDC)   X-Ref
No description

docPropertiesMeta(SimpleXMLElement $officePropertyMeta, array $namespacesMeta)   X-Ref
No description

docProperties(SimpleXMLElement $xml, SimpleXMLElement $gnmXML, array $namespacesMeta)   X-Ref
No description

processComments(SimpleXMLElement $sheet)   X-Ref
No description

load($pFilename)   X-Ref
Loads Spreadsheet from file.

param: string $pFilename
return: Spreadsheet

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


addBorderDiagonal(SimpleXMLElement $srssb, array &$styleArray)   X-Ref
No description

addBorderStyle(SimpleXMLElement $srssb, array &$styleArray, string $direction)   X-Ref
No description

processMergedCells(SimpleXMLElement $sheet)   X-Ref
No description

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

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

processRowLoop(int $r, 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

calcRotation(SimpleXMLElement $styleAttributes)   X-Ref
No description

addStyle(array &$styleArray, string $key, string $value)   X-Ref
No description

addStyle2(array &$styleArray, string $key1, string $key, string $value)   X-Ref
No description

parseBorderAttributes($borderAttributes)   X-Ref
No description

parseRichText($is)   X-Ref
No description

parseGnumericColour($gnmColour)   X-Ref
No description

addColors(array &$styleArray, SimpleXMLElement $styleAttributes)   X-Ref
No description