Skip to content

Commit 9b8e321

Browse files
committed
PowerPoint2007 Writer : Keynote incompatibility (GH-46) (Add declarations in ContentTypes)
1 parent d18c033 commit 9b8e321

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/PhpPowerpoint/Writer/PowerPoint2007/ContentTypes.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,16 @@ public function writeContentTypes(PHPPowerPoint $pPHPPowerPoint = null)
6868
// Presentation
6969
$this->writeOverrideContentType($objWriter, '/ppt/presentation.xml', 'application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml');
7070

71+
// PptProps
72+
$this->writeOverrideContentType($objWriter, '/ppt/presProps.xml', 'application/vnd.openxmlformats-officedocument.presentationml.presProps+xml');
73+
$this->writeOverrideContentType($objWriter, '/ppt/tableStyles.xml', 'application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml');
74+
$this->writeOverrideContentType($objWriter, '/ppt/viewProps.xml', 'application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml');
75+
7176
// DocProps
7277
$this->writeOverrideContentType($objWriter, '/docProps/app.xml', 'application/vnd.openxmlformats-officedocument.extended-properties+xml');
73-
7478
$this->writeOverrideContentType($objWriter, '/docProps/core.xml', 'application/vnd.openxmlformats-package.core-properties+xml');
75-
79+
80+
7681
// Slide masters
7782
$masterSlides = $parentWriter->getLayoutPack()->getMasterSlides();
7883
foreach ($masterSlides as $masterSlide) {

0 commit comments

Comments
 (0)