We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I'm reading a pptx file and adding some slides but it allways gets corrupted and powerpoint asks to repair it and it gets repaired successfully.
Even adding a blank slide it shows the error
I attach the corrupted file generated by PHPPresentation and the same file repaired by PowerPoint
What can i do to fix that?
Thanks a lot!
pptfileREPAIRED.pptx pptfileERROR.pptx
The text was updated successfully, but these errors were encountered:
Solved!
Answer found at slackoverflow: http://stackoverflow.com/questions/39964949/phppresentation-file-with-2-slides-requires-repair
Copy the layout.
$objPHPPresentation = new PhpPresentation(); $oMasterSlide = $objPHPPresentation->getAllMasterSlides()[0]; $oSlideLayout = $oMasterSlide->getAllSlideLayouts()[0];
Then copy the layout to each new slide:
$currentSlide->setSlideLayout($oSlideLayout);
Sorry, something went wrong.
@kimubach Could you test this PR #303 ? Please and thanks for advance
@kimubach The PR #303 has been merged in develop branch. Thanks.
No branches or pull requests
Hello,
I'm reading a pptx file and adding some slides but it allways gets corrupted and powerpoint asks to repair it and it gets repaired successfully.
Even adding a blank slide it shows the error
I attach the corrupted file generated by PHPPresentation and the same file repaired by PowerPoint
What can i do to fix that?
Thanks a lot!
pptfileREPAIRED.pptx
pptfileERROR.pptx
The text was updated successfully, but these errors were encountered: