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

Public Member Functions

 __construct ()
 Create a new PHPExcel_Worksheet_PageMargins.
 getLeft ()
 Get Left.
 setLeft ($pValue)
 Set Left.
 getRight ()
 Get Right.
 setRight ($pValue)
 Set Right.
 getTop ()
 Get Top.
 setTop ($pValue)
 Set Top.
 getBottom ()
 Get Bottom.
 setBottom ($pValue)
 Set Bottom.
 getHeader ()
 Get Header.
 setHeader ($pValue)
 Set Header.
 getFooter ()
 Get Footer.
 setFooter ($pValue)
 Set Footer.
 __clone ()
 Implement PHP __clone to create a deep clone, not just a shallow copy.

Private Attributes

 $_left = 0.7
 $_right = 0.7
 $_top = 0.75
 $_bottom = 0.75
 $_header = 0.3
 $_footer = 0.3

Detailed Description

Definition at line 36 of file PageMargins.php.

Constructor & Destructor Documentation

PHPExcel_Worksheet_PageMargins::__construct ( )

Create a new PHPExcel_Worksheet_PageMargins.

Definition at line 83 of file PageMargins.php.

{
}

Member Function Documentation

PHPExcel_Worksheet_PageMargins::__clone ( )

Implement PHP __clone to create a deep clone, not just a shallow copy.

Definition at line 210 of file PageMargins.php.

{
$vars = get_object_vars($this);
foreach ($vars as $key => $value) {
if (is_object($value)) {
$this->$key = clone $value;
} else {
$this->$key = $value;
}
}
}
PHPExcel_Worksheet_PageMargins::getBottom ( )

Get Bottom.

Returns
double

Definition at line 152 of file PageMargins.php.

References $_bottom.

{
}
PHPExcel_Worksheet_PageMargins::getFooter ( )

Get Footer.

Returns
double

Definition at line 192 of file PageMargins.php.

References $_footer.

{
}
PHPExcel_Worksheet_PageMargins::getHeader ( )

Get Header.

Returns
double

Definition at line 172 of file PageMargins.php.

References $_header.

{
}
PHPExcel_Worksheet_PageMargins::getLeft ( )

Get Left.

Returns
double

Definition at line 92 of file PageMargins.php.

References $_left.

{
return $this->_left;
}
PHPExcel_Worksheet_PageMargins::getRight ( )

Get Right.

Returns
double

Definition at line 112 of file PageMargins.php.

References $_right.

{
return $this->_right;
}
PHPExcel_Worksheet_PageMargins::getTop ( )

Get Top.

Returns
double

Definition at line 132 of file PageMargins.php.

References $_top.

{
return $this->_top;
}
PHPExcel_Worksheet_PageMargins::setBottom (   $pValue)

Set Bottom.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 162 of file PageMargins.php.

{
$this->_bottom = $pValue;
return $this;
}
PHPExcel_Worksheet_PageMargins::setFooter (   $pValue)

Set Footer.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 202 of file PageMargins.php.

{
$this->_footer = $pValue;
return $this;
}
PHPExcel_Worksheet_PageMargins::setHeader (   $pValue)

Set Header.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 182 of file PageMargins.php.

{
$this->_header = $pValue;
return $this;
}
PHPExcel_Worksheet_PageMargins::setLeft (   $pValue)

Set Left.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 102 of file PageMargins.php.

{
$this->_left = $pValue;
return $this;
}
PHPExcel_Worksheet_PageMargins::setRight (   $pValue)

Set Right.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 122 of file PageMargins.php.

{
$this->_right = $pValue;
return $this;
}
PHPExcel_Worksheet_PageMargins::setTop (   $pValue)

Set Top.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 142 of file PageMargins.php.

{
$this->_top = $pValue;
return $this;
}

Field Documentation

PHPExcel_Worksheet_PageMargins::$_bottom = 0.75
private

Definition at line 64 of file PageMargins.php.

Referenced by getBottom().

PHPExcel_Worksheet_PageMargins::$_footer = 0.3
private

Definition at line 78 of file PageMargins.php.

Referenced by getFooter().

PHPExcel_Worksheet_PageMargins::$_header = 0.3
private

Definition at line 71 of file PageMargins.php.

Referenced by getHeader().

PHPExcel_Worksheet_PageMargins::$_left = 0.7
private

Definition at line 43 of file PageMargins.php.

Referenced by getLeft().

PHPExcel_Worksheet_PageMargins::$_right = 0.7
private

Definition at line 50 of file PageMargins.php.

Referenced by getRight().

PHPExcel_Worksheet_PageMargins::$_top = 0.75
private

Definition at line 57 of file PageMargins.php.

Referenced by getTop().


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