Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changes/1.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
- `phpoffice/phpspreadsheet`: Allow version 5.0 by [@seanlynchwv](http://github.com/seanlynchwv) in [#879](https://github.com/PHPOffice/PHPPresentation/pull/879)

## Bug fixes
- PowerPoint2007 Writer: Add missing name attribute to slides by [@potofcoffee](https://github.com/potofcoffee) in [#882](https://github.com/PHPOffice/PHPPresentation/issues/882)

3 changes: 3 additions & 0 deletions src/PhpPresentation/Writer/PowerPoint2007/PptSlides.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ protected function writeSlide(Slide $pSlide): string

// p:sld/p:cSld
$objWriter->startElement('p:cSld');
if (!empty($pSlide->getName())) {
$objWriter->writeAttribute('name', $pSlide->getName());
}

// Background
if ($pSlide->getBackground() instanceof Slide\AbstractBackground) {
Expand Down
Loading