Lines Matching refs:properties
134 public function importProperties($properties, $disabled=array()) { argument
135 … $this->importPropertiesInternal(ODTStyleStyle::getStyleProperties (), $properties, $disabled);
136 $this->importPropertiesInternal(self::$text_fields, $properties, $disabled);
233 …public static function createTextStyle(array $properties, array $disabled_props = NULL, ODTDocumen… argument
235 if ( $properties ['text-decoration'] == 'line-through' ) {
236 $properties ['text-line-through-style'] = 'solid';
238 if ( $properties ['text-decoration'] == 'underline' ) {
239 $properties ['text-underline-style'] = 'solid';
241 if ( $properties ['text-decoration'] == 'overline' ) {
242 $properties ['text-overline-style'] = 'solid';
248 $valign = $properties ['vertical-align'];
251 $properties ['text-position'] = '-33% 100%';
252 unset($properties ['vertical-align']);
254 $properties ['text-position'] = '33% 100%';
255 unset($properties ['vertical-align']);
260 $lang = $properties ['lang'];
261 $country = $properties ['country'];
266 $properties ['country'] = trim($country);
267 $properties ['lang'] = trim($lang);
269 if (!empty($properties ['country'])) {
270 if (empty($properties ['country-asian'])) {
271 $properties ['country-asian'] = $properties ['country'];
273 if (empty($properties ['country-complex'])) {
274 $properties ['country-complex'] = $properties ['country'];
282 $odt_fo_size = $properties ['font-size'];
293 $properties ['style-parent'] = $parent;
298 $style_name = $properties ['style-name'];
301 $properties ['style-name'] = $style_name;
311 $object->importProperties($properties, $disabled_props);
328 $properties = array();
329 $properties ['style-name'] = $name;
330 $properties ['style-display-name'] = $name;
331 $properties ['font-size'] = $size;
332 $properties ['font-size-asian'] = $size;
333 $properties ['font-size-complex'] = $size;
334 return self::createTextStyle($properties);