Skip to content

v0.7.0 unable to open generated PPT #276

@gurnzbot

Description

@gurnzbot

Using v0.7.0, I am able to generate a PPT file. When I attempt to open the resulting file, I am unable to open it.

I've tried to do the bare minimum when generating the presentation file.

My PHP code:

$filename = "presentation.pptx";

$objPHPPresentation = new PhpPresentation();
$currentSlide = $objPHPPresentation->getActiveSlide();
$objWriter = IOFactory::createWriter($objPHPPresentation, 'PowerPoint2007');
$objWriter->save($base_url.$filename);

I rolled back to v0.6.0 and was able to open the file generated using the same script.
If I can help at all please let me know :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions