Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 402] [Versions 400 and 403]

(no description)

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

Defines 1 class

Styles:: (13 methods):
  __construct()
  read()
  readStyles()
  addBorderDiagonal()
  addBorderStyle()
  calcRotation()
  addStyle()
  addStyle2()
  parseBorderAttributes()
  parseGnumericColour()
  addColors()
  readStyleRange()
  readStyle()


Class: Styles  - X-Ref

__construct(Spreadsheet $spreadsheet, bool $readDataOnly)   X-Ref


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

readStyles(SimpleXMLElement $styleRegion, int $maxRow, int $maxCol)   X-Ref
No description

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

addBorderStyle(SimpleXMLElement $srssb, array &$styleArray, string $direction)   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(?SimpleXMLElement $borderAttributes)   X-Ref
No description

parseGnumericColour(string $gnmColour)   X-Ref
No description

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

readStyleRange(SimpleXMLElement $styleAttributes, int $maxCol, int $maxRow)   X-Ref
No description

readStyle(array $styleArray, SimpleXMLElement $styleAttributes, SimpleXMLElement $style)   X-Ref
No description