ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
PHPExcel_Worksheet_PageMargins Class Reference
+ Collaboration diagram for PHPExcel_Worksheet_PageMargins:

Public Member Functions

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

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

◆ __construct()

PHPExcel_Worksheet_PageMargins::__construct ( )

Create a new PHPExcel_Worksheet_PageMargins.

Definition at line 83 of file PageMargins.php.

84  {
85  }

Member Function Documentation

◆ __clone()

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.

210  {
211  $vars = get_object_vars($this);
212  foreach ($vars as $key => $value) {
213  if (is_object($value)) {
214  $this->$key = clone $value;
215  } else {
216  $this->$key = $value;
217  }
218  }
219  }

◆ getBottom()

PHPExcel_Worksheet_PageMargins::getBottom ( )

Get Bottom.

Returns
double

Definition at line 152 of file PageMargins.php.

References $_bottom.

152  {
153  return $this->_bottom;
154  }

◆ getFooter()

PHPExcel_Worksheet_PageMargins::getFooter ( )

Get Footer.

Returns
double

Definition at line 192 of file PageMargins.php.

References $_footer.

192  {
193  return $this->_footer;
194  }

◆ getHeader()

PHPExcel_Worksheet_PageMargins::getHeader ( )

Get Header.

Returns
double

Definition at line 172 of file PageMargins.php.

References $_header.

172  {
173  return $this->_header;
174  }

◆ getLeft()

PHPExcel_Worksheet_PageMargins::getLeft ( )

Get Left.

Returns
double

Definition at line 92 of file PageMargins.php.

References $_left.

92  {
93  return $this->_left;
94  }

◆ getRight()

PHPExcel_Worksheet_PageMargins::getRight ( )

Get Right.

Returns
double

Definition at line 112 of file PageMargins.php.

References $_right.

112  {
113  return $this->_right;
114  }

◆ getTop()

PHPExcel_Worksheet_PageMargins::getTop ( )

Get Top.

Returns
double

Definition at line 132 of file PageMargins.php.

References $_top.

132  {
133  return $this->_top;
134  }

◆ setBottom()

PHPExcel_Worksheet_PageMargins::setBottom (   $pValue)

Set Bottom.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 162 of file PageMargins.php.

162  {
163  $this->_bottom = $pValue;
164  return $this;
165  }

◆ setFooter()

PHPExcel_Worksheet_PageMargins::setFooter (   $pValue)

Set Footer.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 202 of file PageMargins.php.

202  {
203  $this->_footer = $pValue;
204  return $this;
205  }

◆ setHeader()

PHPExcel_Worksheet_PageMargins::setHeader (   $pValue)

Set Header.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 182 of file PageMargins.php.

182  {
183  $this->_header = $pValue;
184  return $this;
185  }

◆ setLeft()

PHPExcel_Worksheet_PageMargins::setLeft (   $pValue)

Set Left.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 102 of file PageMargins.php.

102  {
103  $this->_left = $pValue;
104  return $this;
105  }

◆ setRight()

PHPExcel_Worksheet_PageMargins::setRight (   $pValue)

Set Right.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 122 of file PageMargins.php.

122  {
123  $this->_right = $pValue;
124  return $this;
125  }

◆ setTop()

PHPExcel_Worksheet_PageMargins::setTop (   $pValue)

Set Top.

Parameters
double$pValue
Returns
PHPExcel_Worksheet_PageMargins

Definition at line 142 of file PageMargins.php.

142  {
143  $this->_top = $pValue;
144  return $this;
145  }

Field Documentation

◆ $_bottom

PHPExcel_Worksheet_PageMargins::$_bottom = 0.75
private

Definition at line 64 of file PageMargins.php.

Referenced by getBottom().

◆ $_footer

PHPExcel_Worksheet_PageMargins::$_footer = 0.3
private

Definition at line 78 of file PageMargins.php.

Referenced by getFooter().

◆ $_header

PHPExcel_Worksheet_PageMargins::$_header = 0.3
private

Definition at line 71 of file PageMargins.php.

Referenced by getHeader().

◆ $_left

PHPExcel_Worksheet_PageMargins::$_left = 0.7
private

Definition at line 43 of file PageMargins.php.

Referenced by getLeft().

◆ $_right

PHPExcel_Worksheet_PageMargins::$_right = 0.7
private

Definition at line 50 of file PageMargins.php.

Referenced by getRight().

◆ $_top

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: