ILIAS
Release_4_4_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilPDFGenerationJob.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
15
class
ilPDFGenerationJob
16
{
17
#region Properties
18
private
$font
;
19
private
$author
;
20
private
$creator
;
21
private
$footer
;
22
private
$footer_font
;
23
private
$header
;
24
private
$header_font
;
25
private
$title
;
26
private
$subject
;
27
private
$keywords
;
28
private
$margin_left
;
29
private
$margin_right
;
30
private
$margin_top
;
31
private
$margin_bottom
;
32
private
$auto_page_break
;
33
private
$image_scale
= 1;
34
private
$pages
;
35
private
$filename
;
36
private
$output_mode
;
37
#endregion
38
39
#region Methods
40
45
public
function
setAutoPageBreak
(
$auto_page_break
)
46
{
47
$this->auto_page_break =
$auto_page_break
;
48
return
$this;
49
}
50
54
public
function
getAutoPageBreak
()
55
{
56
return
$this->auto_page_break
;
57
}
58
62
public
function
setAuthor
(
$author
)
63
{
64
$this->author =
$author
;
65
}
66
70
public
function
getAuthor
()
71
{
72
return
$this->author
;
73
}
74
79
public
function
setCreator
(
$creator
)
80
{
81
$this->creator =
$creator
;
82
return
$this;
83
}
84
88
public
function
getCreator
()
89
{
90
return
$this->creator
;
91
}
92
97
public
function
setFilename
(
$filename
)
98
{
99
$this->filename =
$filename
;
100
return
$this;
101
}
102
106
public
function
getFilename
()
107
{
108
return
$this->filename
;
109
}
110
115
public
function
setFont
(
$font
)
116
{
117
$this->font =
$font
;
118
return
$this;
119
}
120
124
public
function
getFont
()
125
{
126
return
$this->font
;
127
}
128
133
public
function
setFooter
(
$footer
)
134
{
135
$this->footer =
$footer
;
136
return
$this;
137
}
138
142
public
function
getFooter
()
143
{
144
return
$this->footer
;
145
}
146
151
public
function
setFooterFont
(
$footer_font
)
152
{
153
$this->footer_font =
$footer_font
;
154
return
$this;
155
}
156
160
public
function
getFooterFont
()
161
{
162
return
$this->footer_font
;
163
}
164
169
public
function
setHeader
(
$header
)
170
{
171
$this->header =
$header
;
172
return
$this;
173
}
174
178
public
function
getHeader
()
179
{
180
return
$this->header
;
181
}
182
187
public
function
setHeaderFont
(
$header_font
)
188
{
189
$this->header_font =
$header_font
;
190
return
$this;
191
}
192
196
public
function
getHeaderFont
()
197
{
198
return
$this->header_font
;
199
}
200
205
public
function
setImageScale
(
$image_scale
)
206
{
207
$this->image_scale =
$image_scale
;
208
return
$this;
209
}
210
214
public
function
getImageScale
()
215
{
216
return
$this->image_scale
;
217
}
218
223
public
function
setKeywords
(
$keywords
)
224
{
225
$this->keywords =
$keywords
;
226
return
$this;
227
}
228
232
public
function
getKeywords
()
233
{
234
return
$this->keywords
;
235
}
236
241
public
function
setMarginBottom
(
$margin_bottom
)
242
{
243
$this->margin_bottom =
$margin_bottom
;
244
return
$this;
245
}
246
250
public
function
getMarginBottom
()
251
{
252
return
$this->margin_bottom
;
253
}
254
259
public
function
setMarginLeft
(
$margin_left
)
260
{
261
$this->margin_left =
$margin_left
;
262
return
$this;
263
}
264
268
public
function
getMarginLeft
()
269
{
270
return
$this->margin_left
;
271
}
272
277
public
function
setMarginRight
(
$margin_right
)
278
{
279
$this->margin_right =
$margin_right
;
280
return
$this;
281
}
282
286
public
function
getMarginRight
()
287
{
288
return
$this->margin_right
;
289
}
290
295
public
function
setMarginTop
(
$margin_top
)
296
{
297
$this->margin_top =
$margin_top
;
298
return
$this;
299
}
300
304
public
function
getMarginTop
()
305
{
306
return
$this->margin_top
;
307
}
308
314
public
function
setPages
(
$pages
)
315
{
316
$this->pages =
$pages
;
317
return
$this;
318
}
319
323
public
function
getPages
()
324
{
325
return
$this->pages
;
326
}
327
332
public
function
addPage
($page)
333
{
334
$this->pages[] = $page;
335
return
$this;
336
}
337
341
public
function
flushPages
()
342
{
343
$this->pages = array();
344
return
$this;
345
}
346
351
public
function
setSubject
(
$subject
)
352
{
353
$this->subject =
$subject
;
354
return
$this;
355
}
356
360
public
function
getSubject
()
361
{
362
return
$this->subject
;
363
}
364
369
public
function
setTitle
(
$title
)
370
{
371
$this->title =
$title
;
372
return
$this;
373
}
374
378
public
function
getTitle
()
379
{
380
return
$this->title
;
381
}
382
387
public
function
setOutputMode
(
$output_mode
)
388
{
389
$this->output_mode =
$output_mode
;
390
return
$this;
391
}
392
396
public
function
getOutputMode
()
397
{
398
return
$this->output_mode
;
399
}
400
401
#endregion
402
}
Services
PDFGeneration
classes
class.ilPDFGenerationJob.php
Generated on Wed Apr 27 2016 20:01:53 for ILIAS by
1.8.1.2 (using
Doxyfile
)