Description
Hello,
first of all thank you guys for this Libary, it its pretty much what we need in our project right now. I started playing around a little bit an managed to insert only certain slides:
use Cristal\Presentation\PPTX;
require 'vendor/autoload.php';
$basePPTX = new PPTX("mappenlager\Präsentation1.pptx");
$endPPTX = new PPTX("mappenlager\Präsentation2.pptx");
//Get the slides as an Array of Slides
$SlideArray = array();
$SlideArray = $endPPTX->getSlides();
//This adds only the first slide of the end pptx
$basePPTX->addSlide($SlideArray[0]);
//This adds only the second slide of the end pptx
$basePPTX->addSlide($SlideArray[1]);
So far so good, it works fast and fine ! Now my question: is there a possibility to tell the script where to insert those slides? For Example: Slide 1 in the endPPtx should be on Position 3 in the basePptx ? How would i approach this ?
Thank you very much
Fabian