ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
PageMargins.php
Go to the documentation of this file.
1
<?php
36
class
PHPExcel_Worksheet_PageMargins
37
{
43
private
$_left
= 0.7;
44
50
private
$_right
= 0.7;
51
57
private
$_top
= 0.75;
58
64
private
$_bottom
= 0.75;
65
71
private
$_header
= 0.3;
72
78
private
$_footer
= 0.3;
79
83
public
function
__construct
()
84
{
85
}
86
92
public
function
getLeft
() {
93
return
$this->_left
;
94
}
95
102
public
function
setLeft
($pValue) {
103
$this->_left = $pValue;
104
return
$this;
105
}
106
112
public
function
getRight
() {
113
return
$this->_right
;
114
}
115
122
public
function
setRight
($pValue) {
123
$this->_right = $pValue;
124
return
$this;
125
}
126
132
public
function
getTop
() {
133
return
$this->_top
;
134
}
135
142
public
function
setTop
($pValue) {
143
$this->_top = $pValue;
144
return
$this;
145
}
146
152
public
function
getBottom
() {
153
return
$this->_bottom
;
154
}
155
162
public
function
setBottom
($pValue) {
163
$this->_bottom = $pValue;
164
return
$this;
165
}
166
172
public
function
getHeader
() {
173
return
$this->_header
;
174
}
175
182
public
function
setHeader
($pValue) {
183
$this->_header = $pValue;
184
return
$this;
185
}
186
192
public
function
getFooter
() {
193
return
$this->_footer
;
194
}
195
202
public
function
setFooter
($pValue) {
203
$this->_footer = $pValue;
204
return
$this;
205
}
206
210
public
function
__clone
() {
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
}
220
}
PHPExcel_Worksheet_PageMargins\setLeft
setLeft($pValue)
Set Left.
Definition:
PageMargins.php:102
PHPExcel_Worksheet_PageMargins\__construct
__construct()
Create a new PHPExcel_Worksheet_PageMargins.
Definition:
PageMargins.php:83
PHPExcel_Worksheet_PageMargins\$_left
$_left
Definition:
PageMargins.php:43
PHPExcel_Worksheet_PageMargins\getHeader
getHeader()
Get Header.
Definition:
PageMargins.php:172
PHPExcel_Worksheet_PageMargins\setFooter
setFooter($pValue)
Set Footer.
Definition:
PageMargins.php:202
PHPExcel_Worksheet_PageMargins\setTop
setTop($pValue)
Set Top.
Definition:
PageMargins.php:142
PHPExcel_Worksheet_PageMargins\$_bottom
$_bottom
Definition:
PageMargins.php:64
PHPExcel_Worksheet_PageMargins\getTop
getTop()
Get Top.
Definition:
PageMargins.php:132
PHPExcel_Worksheet_PageMargins\getRight
getRight()
Get Right.
Definition:
PageMargins.php:112
PHPExcel_Worksheet_PageMargins\getBottom
getBottom()
Get Bottom.
Definition:
PageMargins.php:152
PHPExcel_Worksheet_PageMargins\setRight
setRight($pValue)
Set Right.
Definition:
PageMargins.php:122
PHPExcel_Worksheet_PageMargins\$_footer
$_footer
Definition:
PageMargins.php:78
PHPExcel_Worksheet_PageMargins\setHeader
setHeader($pValue)
Set Header.
Definition:
PageMargins.php:182
PHPExcel_Worksheet_PageMargins\setBottom
setBottom($pValue)
Set Bottom.
Definition:
PageMargins.php:162
PHPExcel_Worksheet_PageMargins\__clone
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition:
PageMargins.php:210
PHPExcel_Worksheet_PageMargins\$_right
$_right
Definition:
PageMargins.php:50
PHPExcel_Worksheet_PageMargins\$_top
$_top
Definition:
PageMargins.php:57
PHPExcel_Worksheet_PageMargins\$_header
$_header
Definition:
PageMargins.php:71
PHPExcel_Worksheet_PageMargins\getFooter
getFooter()
Get Footer.
Definition:
PageMargins.php:192
$key
$key
Definition:
croninfo.php:18
PHPExcel_Worksheet_PageMargins
Definition:
PageMargins.php:36
PHPExcel_Worksheet_PageMargins\getLeft
getLeft()
Get Left.
Definition:
PageMargins.php:92
libs
composer
vendor
phpoffice
phpexcel
Classes
PHPExcel
Worksheet
PageMargins.php
Generated on Sat Jan 18 2025 19:01:08 for ILIAS by
1.8.13 (using
Doxyfile
)