File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
tests/PhpPowerpoint/Tests/Writer/PowerPoint2007 Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -214,8 +214,8 @@ public function save($pFilename)
214
214
$ objZip ->addFromString ('[Content_Types].xml ' , $ wPartContentTypes ->writeContentTypes ($ this ->presentation ));
215
215
216
216
// Add PPT properties and styles to ZIP file - Required for Apple Keynote compatibility.
217
- $ objZip ->addFromString ('ppt/presProps.xml ' , $ wPptProps ->writePresProps ($ this -> presentation ));
218
- $ objZip ->addFromString ('ppt/tableStyles.xml ' , $ wPptProps ->writeTableStyles ($ this -> presentation ));
217
+ $ objZip ->addFromString ('ppt/presProps.xml ' , $ wPptProps ->writePresProps ());
218
+ $ objZip ->addFromString ('ppt/tableStyles.xml ' , $ wPptProps ->writeTableStyles ());
219
219
220
220
// Add relationships to ZIP file
221
221
$ objZip ->addFromString ('_rels/.rels ' , $ wPartRels ->writeRelationships ());
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class PptProps extends AbstractPart
28
28
* @return string XML Output
29
29
* @throws \Exception
30
30
*/
31
- public function writePresProps (PhpPowerpoint $ pPHPPowerPoint = null )
31
+ public function writePresProps ()
32
32
{
33
33
// Create XML writer
34
34
$ objWriter = $ this ->getXMLWriter ();
@@ -85,7 +85,7 @@ public function writePresProps(PhpPowerpoint $pPHPPowerPoint = null)
85
85
* @return string XML Output
86
86
* @throws \Exception
87
87
*/
88
- public function writeTableStyles (PhpPowerpoint $ pPHPPowerPoint = null )
88
+ public function writeTableStyles ()
89
89
{
90
90
// Create XML writer
91
91
$ objWriter = $ this ->getXMLWriter ();
Original file line number Diff line number Diff line change 18
18
namespace PhpOffice \PhpPowerpoint \Tests \Writer \PowerPoint2007 ;
19
19
20
20
use PhpOffice \PhpPowerpoint \PhpPowerpoint ;
21
- use PhpOffice \PhpPowerpoint \Shared \Drawing ;
22
- use PhpOffice \PhpPowerpoint \Style \Alignment ;
23
- use PhpOffice \PhpPowerpoint \Style \Bullet ;
24
- use PhpOffice \PhpPowerpoint \Style \Color ;
25
- use PhpOffice \PhpPowerpoint \Style \Fill ;
26
21
use PhpOffice \PhpPowerpoint \Tests \TestHelperDOCX ;
27
22
use PhpOffice \PhpPowerpoint \Writer \PowerPoint2007 ;
28
- use PhpOffice \PhpPowerpoint \Style \Border ;
29
- use PhpOffice \PhpPowerpoint \Shape \Hyperlink ;
30
- use PhpOffice \PhpPowerpoint \Writer \PowerPoint2007 \Slide ;
31
23
32
24
/**
33
25
* Test class for PowerPoint2007
You can’t perform that action at this time.
0 commit comments