ILIAS  Release_4_0_x_branch Revision 61816
 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
 $_right
 $_top
 $_bottom
 $_header
 $_footer

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.

{
// Initialise values
$this->_left = 0.7;
$this->_right = 0.7;
$this->_top = 0.75;
$this->_bottom = 0.75;
$this->_header = 0.3;
$this->_footer = 0.3;
}

Member Function Documentation

PHPExcel_Worksheet_PageMargins::__clone ( )

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

Definition at line 217 of file PageMargins.php.

References $key.

{
$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 159 of file PageMargins.php.

References $_bottom.

{
}
PHPExcel_Worksheet_PageMargins::getFooter ( )

Get Footer.

Returns
double

Definition at line 199 of file PageMargins.php.

References $_footer.

{
}
PHPExcel_Worksheet_PageMargins::getHeader ( )

Get Header.

Returns
double

Definition at line 179 of file PageMargins.php.

References $_header.

{
}
PHPExcel_Worksheet_PageMargins::getLeft ( )

Get Left.

Returns
double

Definition at line 99 of file PageMargins.php.

References $_left.

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

Get Right.

Returns
double

Definition at line 119 of file PageMargins.php.

References $_right.

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

Get Top.

Returns
double

Definition at line 139 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 169 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 209 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 189 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 109 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 129 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 149 of file PageMargins.php.

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

Field Documentation

PHPExcel_Worksheet_PageMargins::$_bottom
private

Definition at line 64 of file PageMargins.php.

Referenced by getBottom().

PHPExcel_Worksheet_PageMargins::$_footer
private

Definition at line 78 of file PageMargins.php.

Referenced by getFooter().

PHPExcel_Worksheet_PageMargins::$_header
private

Definition at line 71 of file PageMargins.php.

Referenced by getHeader().

PHPExcel_Worksheet_PageMargins::$_left
private

Definition at line 43 of file PageMargins.php.

Referenced by getLeft().

PHPExcel_Worksheet_PageMargins::$_right
private

Definition at line 50 of file PageMargins.php.

Referenced by getRight().

PHPExcel_Worksheet_PageMargins::$_top
private

Definition at line 57 of file PageMargins.php.

Referenced by getTop().


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