Lines Matching refs:properties
71 public function importProperties($properties, $disabled=array()) { argument
72 … $this->importPropertiesInternal(ODTStyleStyle::getStyleProperties (), $properties, $disabled);
73 $this->importPropertiesInternal(self::$table_fields, $properties, $disabled);
170 * @param array $properties Properties for the table style
175 …public static function createTableTableStyle(array $properties, array $disabled_props = NULL, $max… argument
178 if (empty($properties ['align'])) {
179 $properties ['align'] = 'center';
181 if ($properties ['margin-left'] == '0') {
182 unset($properties ['margin-left']);
184 if ($properties ['margin-right'] == '0') {
185 unset($properties ['margin-right']);
189 if (empty ($properties ['width'])) {
190 $properties ['width'] = '100%';
194 if ( $properties ['width'] [strlen($properties ['width'])-1] == '%' ) {
195 $properties ['rel-width'] = $properties ['width'];
196 unset($properties ['width']);
200 if ( !empty ($properties ['border-model']) ) {
201 if ( $properties ['border-model'] == 'collapse' ) {
202 $properties ['border-model'] = 'collapsing';
204 $properties ['border-model'] = 'separating';
209 $style_name = $properties ['style-name'];
212 $properties ['style-name'] = $style_name;
222 $object->importProperties($properties, $disabled_props);