1 | <?php |
||
30 | class PowerPoint2007 extends AbstractWriter implements WriterInterface |
||
31 | { |
||
32 | /** |
||
33 | * Use disk caching where possible? |
||
34 | * |
||
35 | * @var boolean |
||
36 | */ |
||
37 | protected $useDiskCaching = false; |
||
38 | |||
39 | /** |
||
40 | * Disk caching directory |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $diskCachingDir; |
||
45 | |||
46 | /** |
||
47 | * Layout pack to use |
||
48 | * @deprecated 0.7 |
||
49 | * @var \PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack |
||
50 | */ |
||
51 | protected $layoutPack; |
||
52 | |||
53 | /** |
||
54 | * Create a new PowerPoint2007 file |
||
55 | * |
||
56 | * @param PhpPresentation $pPhpPresentation |
||
57 | * @throws \Exception |
||
58 | */ |
||
59 | 123 | public function __construct(PhpPresentation $pPhpPresentation = null) |
|
75 | |||
76 | /** |
||
77 | * Save PhpPresentation to file |
||
78 | * |
||
79 | * @param string $pFilename |
||
80 | * @throws \Exception |
||
81 | */ |
||
82 | 117 | public function save($pFilename) |
|
144 | |||
145 | /** |
||
146 | * Get use disk caching where possible? |
||
147 | * |
||
148 | * @return boolean |
||
149 | */ |
||
150 | 1 | public function hasDiskCaching() |
|
154 | |||
155 | /** |
||
156 | * Set use disk caching where possible? |
||
157 | * |
||
158 | * @param boolean $pValue |
||
159 | * @param string $pDirectory Disk caching directory |
||
160 | * @throws \Exception |
||
161 | * @return \PhpOffice\PhpPresentation\Writer\PowerPoint2007 |
||
162 | */ |
||
163 | 2 | public function setUseDiskCaching($pValue = false, $pDirectory = null) |
|
176 | |||
177 | /** |
||
178 | * Get disk caching directory |
||
179 | * |
||
180 | * @return string |
||
181 | */ |
||
182 | 2 | public function getDiskCachingDirectory() |
|
186 | |||
187 | /** |
||
188 | * Get layout pack to use |
||
189 | * |
||
190 | * @deprecated 0.7 |
||
191 | * @return \PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack |
||
192 | */ |
||
193 | 2 | public function getLayoutPack() |
|
197 | |||
198 | /** |
||
199 | * Set layout pack to use |
||
200 | * |
||
201 | * @deprecated 0.7 |
||
202 | * @param \PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack $pValue |
||
203 | * @return \PhpOffice\PhpPresentation\Writer\PowerPoint2007 |
||
204 | */ |
||
205 | 1 | public function setLayoutPack(AbstractLayoutPack $pValue = null) |
|
211 | } |
||
212 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.