Lines Matching refs:src
16 * @param string $src The path to the image file
26 …public static function addImage(ODTInternalParams $params, $src, $width = NULL, $height = NULL, $a… argument
30 if (file_exists($src)) {
31 list($ext,$mime) = mimetype($src);
32 $name = 'Pictures/'.md5($src).'.'.$ext;
33 $params->document->addFile($name, $mime, io_readfile($src,false));
35 $name = $src;
39 …list($width, $height) = ODTUtility::getImageSizeString($src, $width, $height, true, $params->units…
41 …list($width, $height) = ODTUtility::getImageSizeString($src, $width, $height, false, $params->unit…
181 * @param string $src The path to the image file
185 …public static function addImageUseProperties(ODTInternalParams $params, $src, array $properties, $… argument
195 if (file_exists($src)) {
196 list($ext,$mime) = mimetype($src);
197 $name = 'Pictures/'.md5($src).'.'.$ext;
198 $params->document->addFile($name, $mime, io_readfile($src,false));
200 $name = $src;
204 …list($width, $height) = ODTUtility::getImageSizeString($src, $width, $height, true, $params->units…