Skip to content

getSlideLayout() always returns BLANK on any opened PPTX file #144

@tsanami69

Description

@tsanami69

I have tried this on numerous pptx files...
every file I open using:

define('pptxLib', 'thefile.pptx');
$oReaderPPT = IOFactory::createReader('PowerPoint2007');    
$oname = __DIR__."/slides/".pptxLib;
$r = $oReaderPPT->load($oname); 
$r->setActiveSlideIndex(0);
$slide = $r->getActiveSlide();
$slideLayout = $slide->getSlideLayout();

$slideLayout always returns BLANK, but the same file when opened in PowerPoint 2010 has every slide with the correct layout.

Is this a bug or a known issues?
Thanks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions