Open toscan opened 4 years ago
Hello,
Yes, you can add Images. This is an example used:
$currentSlide= $_objPHPPowerPoint_->createSlide();
$shape = $currentSlide->createDrawingShape();
$shape->setResizeProportional(false);
$shape->setName('Graph')
->setPath($_path)
->setwidth($size['width'])
->setheight($size['height'])
->setOffsetX($size['left'])
->setOffsetY($size['top']);
Ok, thanks a lot. And what about the variables ? Is possible to merge variables into an existing doc like : https://github.com/mbence/OpenTBSBundle $TBS->MergeField('client', array('name' => 'Ford Prefect'));
I personally don't use functionality and have no idea about it..
Hey,
Is it possible to insert variable into an existing pptx file and insert some images into existing slides ?