Hello dear Developers and Admins, good day! I would like to inquire about my problem when I'm trying to include charts in the ppt file
I created a Stackoverflow inquiry: https://stackoverflow.com/questions/55643754/phppresentation-not-showing-charts-using-codeigniter-on-php-5-6
Hi, guys,
my total respect to you and your team for this incredible library. I would like to use it. Unfortunately I have found a bug. There are problems with the slide identifiers - they are not unique for many slides. Also I can't add images to slide layouts. I would like to offer my help and solve these problems. But I would like to know that the framework is still under development, because many pull requests are open and the last release was a long time ago. Let me know if I can be of assistance.
Hello!
First - Thank you all for maintaining this library! I think it will be very useful! :)
I'm new to PHPPresentation - but I have quite a bit of experience with PHP. I used the supplied example to write a new PPTX file. But when I try to do the same with a Read the loader fails. I've been digging - but bumped into the end of the Internet ... :)
I'm hoping someone here can point out the error of my ways or give me a new troubleshooting option.
My code is pretty simple:
$oReaderPPTX = IOFactory::createReader('PowerPoint2007');
if ($oReaderPPTX->canRead($pptTemplatePath)) {
$message = "PHPPres can read " . $pptTemplatePath;
}else{
$message = "PHPPres CAN NOT read " . $pptTemplatePath;
}
Log::error($message);
$objPPT = $$oReaderPPTX->load($pptTemplatePath);
Always errors:
"Object of class PhpOffice\PhpPresentation\Reader\PowerPoint2007 could not be converted to string"
The file is readable, and shows as much in the log.
Any ideas ?