Lines Matching refs:properties

105     public function importProperties($properties, $disabled=array()) {  argument
106 foreach ($properties as $property => $value) {
271 foreach ($this->properties as $property => $items) {
334 …public static function createParagraphStyle(array $properties, array $disabled_props = NULL, ODTDo… argument
336 if ( $properties ['text-decoration'] == 'line-through' ) {
337 $properties ['text-line-through-style'] = 'solid';
339 if ( $properties ['text-decoration'] == 'underline' ) {
340 $properties ['text-underline-style'] = 'solid';
342 if ( $properties ['text-decoration'] == 'overline' ) {
343 $properties ['text-overline-style'] = 'solid';
349 $valign = $properties ['vertical-align'];
352 $properties ['text-position'] = '-33% 100%';
353 unset($properties ['vertical-align']);
355 $properties ['text-position'] = '33% 100%';
356 unset($properties ['vertical-align']);
361 $lang = $properties ['lang'];
362 $country = $properties ['country'];
367 $properties ['country'] = trim($country);
368 $properties ['lang'] = trim($lang);
370 if (!empty($properties ['country'])) {
371 if (empty($properties ['country-asian'])) {
372 $properties ['country-asian'] = $properties ['country'];
374 if (empty($properties ['country-complex'])) {
375 $properties ['country-complex'] = $properties ['country'];
380 if (!empty($properties ['text-indent'])) {
381 $properties ['auto-text-indent'] = 'false';
383 $length = strlen ($properties ['text-indent']);
384 if ( $length > 0 && $properties ['text-indent'] [$length-1] == '%' && isset($doc) ) {
388 $value = trim ($properties ['text-indent'], '%');
389 $properties ['text-indent'] = $doc->getAbsWidthMindMargins ($value).'cm';
397 $odt_fo_size = $properties ['font-size'];
409 $properties ['style-parent'] = $parent;
414 $style_name = $properties ['style-name'];
417 $properties ['style-name'] = $style_name;
433 $object->importProperties($properties, $disabled_props);
450 $properties = array();
451 $properties ['style-name'] = $style_name;
453 $properties ['style-parent'] = $parent;
456 $properties ['break-before'] = 'page';
458 $properties ['break-after'] = 'page';
460 return self::createParagraphStyle($properties);