NEWS : What is odsPhpGenerator
Re : Re : What is odsPhpGenerator
2014-03-13 : brinza
Hi! I added class odsDrawImage in my fork https://github.com/brinza/odsPhpGenerator.git . Now you can add image to ods.
Example:
$img = 'logo.png';
$x = '5.0cm';
$y = '5.0cm';
$width = '3.84cm';
$height = '2.17cm';
$image = new odsDrawImage($img, $x, $y, $width, $height);
$table->addDraw($image);
Example:
$img = 'logo.png';
$x = '5.0cm';
$y = '5.0cm';
$width = '3.84cm';
$height = '2.17cm';
$image = new odsDrawImage($img, $x, $y, $width, $height);
$table->addDraw($image);