Properties

$_spgr

$_spgr : boolean

Is this a group shape?

Type

boolean

$_spType

$_spType : integer

Shape type

Type

integer

$_spFlag

$_spFlag : integer

Shape flag

Type

integer

$_spId

$_spId : boolean

Shape index (usually group shape has index 0, and the rest: 1,2,3.

..)

Type

boolean

$_OPT

$_OPT : array

Array of options

Type

array

$_startCoordinates

$_startCoordinates : string

Cell coordinates of upper-left corner of shape, e.g. 'A1'

Type

string

$_startOffsetX

$_startOffsetX : integer

Horizontal offset of upper-left corner of shape measured in 1/1024 of column width

Type

integer

$_startOffsetY

$_startOffsetY : integer

Vertical offset of upper-left corner of shape measured in 1/256 of row height

Type

integer

$_endCoordinates

$_endCoordinates : string

Cell coordinates of bottom-right corner of shape, e.g. 'B2'

Type

string

$_endOffsetX

$_endOffsetX : integer

Horizontal offset of bottom-right corner of shape measured in 1/1024 of column width

Type

integer

$_endOffsetY

$_endOffsetY : integer

Vertical offset of bottom-right corner of shape measured in 1/256 of row height

Type

integer

Methods

setSpgr()

setSpgr(boolean  $value = false) 

Set whether this is a group shape

Parameters

boolean $value

getSpgr()

getSpgr() : boolean

Get whether this is a group shape

Returns

boolean

setSpType()

setSpType(integer  $value) 

Set the shape type

Parameters

integer $value

getSpType()

getSpType() : integer

Get the shape type

Returns

integer

setSpFlag()

setSpFlag(integer  $value) 

Set the shape flag

Parameters

integer $value

getSpFlag()

getSpFlag() : integer

Get the shape flag

Returns

integer

setSpId()

setSpId(integer  $value) 

Set the shape index

Parameters

integer $value

getSpId()

getSpId() : integer

Get the shape index

Returns

integer

setOPT()

setOPT(integer  $property, mixed  $value) 

Set an option for the Shape Group Container

Parameters

integer $property

The number specifies the option

mixed $value

getOPT()

getOPT(integer  $property) : mixed

Get an option for the Shape Group Container

Parameters

integer $property

The number specifies the option

Returns

mixed

getOPTCollection()

getOPTCollection() : array

Get the collection of options

Returns

array

setStartCoordinates()

setStartCoordinates(string  $value = 'A1') 

Set cell coordinates of upper-left corner of shape

Parameters

string $value

getStartCoordinates()

getStartCoordinates() : string

Get cell coordinates of upper-left corner of shape

Returns

string

setStartOffsetX()

setStartOffsetX(integer  $startOffsetX) 

Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width

Parameters

integer $startOffsetX

getStartOffsetX()

getStartOffsetX() : integer

Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width

Returns

integer

setStartOffsetY()

setStartOffsetY(integer  $startOffsetY) 

Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height

Parameters

integer $startOffsetY

getStartOffsetY()

getStartOffsetY() : integer

Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height

Returns

integer

setEndCoordinates()

setEndCoordinates(string  $value = 'A1') 

Set cell coordinates of bottom-right corner of shape

Parameters

string $value

getEndCoordinates()

getEndCoordinates() : string

Get cell coordinates of bottom-right corner of shape

Returns

string

setEndOffsetX()

setEndOffsetX(  $endOffsetX) 

Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width

Parameters

$endOffsetX

getEndOffsetX()

getEndOffsetX() : integer

Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width

Returns

integer

setEndOffsetY()

setEndOffsetY(integer  $endOffsetY) 

Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height

Parameters

integer $endOffsetY

getEndOffsetY()

getEndOffsetY() : integer

Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height

Returns

integer

getNestingLevel()

getNestingLevel() : integer

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

Returns

integer —

Nesting level