ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer Class Reference
+ Collaboration diagram for PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer:

Public Member Functions

 setParent ($parent)
 Set parent Shape Group Container.
 getParent ()
 Get the parent Shape Group Container.
 setSpgr ($value=false)
 Set whether this is a group shape.
 getSpgr ()
 Get whether this is a group shape.
 setSpType ($value)
 Set the shape type.
 getSpType ()
 Get the shape type.
 setSpId ($value)
 Set the shape index.
 getSpId ()
 Get the shape index.
 setOPT ($property, $value)
 Set an option for the Shape Group Container.
 getOPT ($property)
 Get an option for the Shape Group Container.
 getOPTCollection ()
 Get the collection of options.
 setStartCoordinates ($value= 'A1')
 Set cell coordinates of upper-left corner of shape.
 getStartCoordinates ()
 Get cell coordinates of upper-left corner of shape.
 setStartOffsetX ($startOffsetX=0)
 Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width.
 getStartOffsetX ()
 Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width.
 setStartOffsetY ($startOffsetY=0)
 Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height.
 getStartOffsetY ()
 Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height.
 setEndCoordinates ($value= 'A1')
 Set cell coordinates of bottom-right corner of shape.
 getEndCoordinates ()
 Get cell coordinates of bottom-right corner of shape.
 setEndOffsetX ($endOffsetX=0)
 Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width.
 getEndOffsetX ()
 Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width.
 setEndOffsetY ($endOffsetY=0)
 Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height.
 getEndOffsetY ()
 Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height.
 getNestingLevel ()
 Get the nesting level of this spContainer.

Private Attributes

 $_parent
 $_spgr = false
 $_spType
 $_spId
 $_OPT
 $_startCoordinates
 $_startOffsetX
 $_startOffsetY
 $_endCoordinates
 $_endOffsetX
 $_endOffsetY

Detailed Description

Definition at line 35 of file SpContainer.php.

Member Function Documentation

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getEndCoordinates ( )

Get cell coordinates of bottom-right corner of shape.

Returns
string

Definition at line 304 of file SpContainer.php.

References $_endCoordinates.

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getEndOffsetX ( )

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

Returns
int

Definition at line 324 of file SpContainer.php.

References $_endOffsetX.

{
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getEndOffsetY ( )

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

Returns
int

Definition at line 344 of file SpContainer.php.

References $_endOffsetY.

{
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getNestingLevel ( )

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
int Nesting level

Definition at line 356 of file SpContainer.php.

References getParent().

{
$nestingLevel = 0;
$parent = $this->getParent();
++$nestingLevel;
$parent = $parent->getParent();
}
return $nestingLevel;
}

+ Here is the call graph for this function:

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getOPT (   $property)

Get an option for the Shape Group Container.

Parameters
int$propertyThe number specifies the option
Returns
mixed

Definition at line 211 of file SpContainer.php.

{
if (isset($this->_OPT[$property])) {
return $this->_OPT[$property];
}
return null;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getOPTCollection ( )

Get the collection of options.

Returns
array

Definition at line 224 of file SpContainer.php.

References $_OPT.

{
return $this->_OPT;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getParent ( )

Get the parent Shape Group Container.

Returns
PHPExcel_Shared_Escher_DgContainer_SpgrContainer

Definition at line 129 of file SpContainer.php.

References $_parent.

Referenced by getNestingLevel().

{
}

+ Here is the caller graph for this function:

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getSpgr ( )

Get whether this is a group shape.

Returns
boolean

Definition at line 149 of file SpContainer.php.

References $_spgr.

{
return $this->_spgr;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getSpId ( )

Get the shape index.

Returns
int

Definition at line 189 of file SpContainer.php.

References $_spId.

{
return $this->_spId;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getSpType ( )

Get the shape type.

Returns
int

Definition at line 169 of file SpContainer.php.

References $_spType.

{
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getStartCoordinates ( )

Get cell coordinates of upper-left corner of shape.

Returns
string

Definition at line 244 of file SpContainer.php.

References $_startCoordinates.

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getStartOffsetX ( )

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

Returns
int

Definition at line 264 of file SpContainer.php.

References $_startOffsetX.

{
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::getStartOffsetY ( )

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

Returns
int

Definition at line 284 of file SpContainer.php.

References $_startOffsetY.

{
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setEndCoordinates (   $value = 'A1')

Set cell coordinates of bottom-right corner of shape.

Parameters
string$value

Definition at line 294 of file SpContainer.php.

{
$this->_endCoordinates = $value;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setEndOffsetX (   $endOffsetX = 0)

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

Parameters
int$startOffsetX

Definition at line 314 of file SpContainer.php.

{
$this->_endOffsetX = $endOffsetX;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setEndOffsetY (   $endOffsetY = 0)

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

Parameters
int$endOffsetY

Definition at line 334 of file SpContainer.php.

{
$this->_endOffsetY = $endOffsetY;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setOPT (   $property,
  $value 
)

Set an option for the Shape Group Container.

Parameters
int$propertyThe number specifies the option
mixed$value

Definition at line 200 of file SpContainer.php.

{
$this->_OPT[$property] = $value;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setParent (   $parent)

Set parent Shape Group Container.

Parameters
PHPExcel_Shared_Escher_DgContainer_SpgrContainer$parent

Definition at line 119 of file SpContainer.php.

{
$this->_parent = $parent;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setSpgr (   $value = false)

Set whether this is a group shape.

Parameters
boolean$value

Definition at line 139 of file SpContainer.php.

{
$this->_spgr = $value;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setSpId (   $value)

Set the shape index.

Parameters
int$value

Definition at line 179 of file SpContainer.php.

{
$this->_spId = $value;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setSpType (   $value)

Set the shape type.

Parameters
int$value

Definition at line 159 of file SpContainer.php.

{
$this->_spType = $value;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setStartCoordinates (   $value = 'A1')

Set cell coordinates of upper-left corner of shape.

Parameters
string$value

Definition at line 234 of file SpContainer.php.

{
$this->_startCoordinates = $value;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setStartOffsetX (   $startOffsetX = 0)

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

Parameters
int$startOffsetX

Definition at line 254 of file SpContainer.php.

{
$this->_startOffsetX = $startOffsetX;
}
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::setStartOffsetY (   $startOffsetY = 0)

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

Parameters
int$startOffsetY

Definition at line 274 of file SpContainer.php.

{
$this->_startOffsetY = $startOffsetY;
}

Field Documentation

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_endCoordinates
private

Definition at line 98 of file SpContainer.php.

Referenced by getEndCoordinates().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_endOffsetX
private

Definition at line 105 of file SpContainer.php.

Referenced by getEndOffsetX().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_endOffsetY
private

Definition at line 112 of file SpContainer.php.

Referenced by getEndOffsetY().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_OPT
private

Definition at line 70 of file SpContainer.php.

Referenced by getOPTCollection().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_parent
private

Definition at line 42 of file SpContainer.php.

Referenced by getParent().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_spgr = false
private

Definition at line 49 of file SpContainer.php.

Referenced by getSpgr().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_spId
private

Definition at line 63 of file SpContainer.php.

Referenced by getSpId().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_spType
private

Definition at line 56 of file SpContainer.php.

Referenced by getSpType().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_startCoordinates
private

Definition at line 77 of file SpContainer.php.

Referenced by getStartCoordinates().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_startOffsetX
private

Definition at line 84 of file SpContainer.php.

Referenced by getStartOffsetX().

PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer::$_startOffsetY
private

Definition at line 91 of file SpContainer.php.

Referenced by getStartOffsetY().


The documentation for this class was generated from the following file: