Lines Matching refs:properties
182 * @param array $properties Properties (width, height... see ODTImage::addImageUseProperties)
185 …public static function addImageUseProperties(ODTInternalParams $params, $src, array $properties, $… argument
188 ODTUtility::adjustValuesForODT ($properties, $params->units);
189 $width = $properties ['width'];
190 $height = $properties ['height'];
191 $title = $properties ['title'];
192 $bg_color = $properties ['background-color'];
226 if (!empty($properties ['margin-left'])) {
227 $image_style .= ' fo:margin-left="'.$properties ['margin-left'].'"';
229 if (!empty($properties ['margin-right'])) {
230 $image_style .= ' fo:margin-right="'.$properties ['margin-right'].'"';
232 if (!empty($properties ['margin-top'])) {
233 $image_style .= ' fo:margin-top="'.$properties ['margin-top'].'"';
235 if (!empty($properties ['margin-bottom'])) {
236 $image_style .= ' fo:margin-bottom="'.$properties ['margin-bottom'].'"';