Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

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

Defines 1 class

SpContainer:: (26 methods):
  setParent()
  getParent()
  setSpgr()
  getSpgr()
  setSpType()
  getSpType()
  setSpFlag()
  getSpFlag()
  setSpId()
  getSpId()
  setOPT()
  getOPT()
  getOPTCollection()
  setStartCoordinates()
  getStartCoordinates()
  setStartOffsetX()
  getStartOffsetX()
  setStartOffsetY()
  getStartOffsetY()
  setEndCoordinates()
  getEndCoordinates()
  setEndOffsetX()
  getEndOffsetX()
  setEndOffsetY()
  getEndOffsetY()
  getNestingLevel()


Class: SpContainer  - X-Ref

setParent($parent)   X-Ref
Set parent Shape Group Container.

param: SpgrContainer $parent

getParent()   X-Ref
Get the parent Shape Group Container.

return: SpgrContainer

setSpgr($value)   X-Ref
Set whether this is a group shape.

param: bool $value

getSpgr()   X-Ref
Get whether this is a group shape.

return: bool

setSpType($value)   X-Ref
Set the shape type.

param: int $value

getSpType()   X-Ref
Get the shape type.

return: int

setSpFlag($value)   X-Ref
Set the shape flag.

param: int $value

getSpFlag()   X-Ref
Get the shape flag.

return: int

setSpId($value)   X-Ref
Set the shape index.

param: int $value

getSpId()   X-Ref
Get the shape index.

return: int

setOPT($property, $value)   X-Ref
Set an option for the Shape Group Container.

param: int $property The number specifies the option
param: mixed $value

getOPT($property)   X-Ref
Get an option for the Shape Group Container.

param: int $property The number specifies the option
return: mixed

getOPTCollection()   X-Ref
Get the collection of options.

return: array

setStartCoordinates($value)   X-Ref
Set cell coordinates of upper-left corner of shape.

param: string $value eg: 'A1'

getStartCoordinates()   X-Ref
Get cell coordinates of upper-left corner of shape.

return: string

setStartOffsetX($startOffsetX)   X-Ref
Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width.

param: int $startOffsetX

getStartOffsetX()   X-Ref
Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width.

return: int

setStartOffsetY($startOffsetY)   X-Ref
Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height.

param: int $startOffsetY

getStartOffsetY()   X-Ref
Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height.

return: int

setEndCoordinates($value)   X-Ref
Set cell coordinates of bottom-right corner of shape.

param: string $value eg: 'A1'

getEndCoordinates()   X-Ref
Get cell coordinates of bottom-right corner of shape.

return: string

setEndOffsetX($endOffsetX)   X-Ref
Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width.

param: int $endOffsetX

getEndOffsetX()   X-Ref
Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width.

return: int

setEndOffsetY($endOffsetY)   X-Ref
Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height.

param: int $endOffsetY

getEndOffsetY()   X-Ref
Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height.

return: int

getNestingLevel()   X-Ref
Get the nesting level of this spContainer. This is the number of spgrContainers between this spContainer and
the dgContainer. A value of 1 = immediately within first spgrContainer
Higher nesting level occurs if and only if spContainer is part of a shape group.

return: int Nesting level