Andrew P
Andrew P
I use this (example): ``` // For presentation works my PhpOffice directory include 2 subdirs: // - PhpPresentation (PhpOffice Presentation Library) // - Common (PhpOffice Common Library) $baseDir = '/PhpOffice';...
Sample was here: #672
Try this... ``` $presentation = new PhpPresentation(); $presentation->getLayout()->setDocumentLayout(DocumentLayout::LAYOUT_A4, true); // $slide = $presentation->createSlide(); $slide = $presentation->getSlide(0); // work with first slide of presentation $file = './resources/presentation/left-side.png'; // relative path to...
I wrote this method which add image to specified slide: ``` /** * Add image to slide (from file) * * @param Slide $slide Slide * @param string $file Image...
... method Units::convert(mm) - convert millimeters to pixels here..
> @pal-software, Is this already working on the master branch? or do I need to make these changes locally? It was only my personal decision. I don't about including this...
> @pal-software, why don't you want to include this solution in the project? I think this is a useful feature. Maybe, but... I don't know how to do it.. If...
Nu, eto esli vremya budet i pri etom budet ne slishkom lenno, i esche nado pro eto vspomnit'.... ;) ..vot kto by sam eto sdelal...