Lines Matching full:style

23         'row-height'               => array ('style:row-height',              'table-row',  true),
24 'min-row-height' => array ('style:min-row-height', 'table-row', true),
25 'use-optimal-row-height' => array ('style:use-optimal-row-height', 'table-row', true),
33 // (see '<define name="style-background-image"> in relax-ng schema)'
34 …'repeat' => array ('style:repeat', 'table-row-background-i…
35 …'position' => array ('style:position', 'table-row-background-i…
36 …'style:filter-name' => array ('style:filter-name', 'table-row-background-i…
54 * Set style properties by importing values from a properties array.
56 * The style must have been previously created.
64 $this->setProperty('style-family', $this->getFamily());
68 * Check if a style is a common style.
70 * @return bool Is common style
77 * Get the style family of a style.
79 * @return string Style family
106 * Create new style by importing ODT style definition.
108 * @param $xmlCode Style definition in ODT XML format
109 * @return ODTStyle New specific style
112 $style = new ODTTableRowStyle();
115 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode);
117 $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
119 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode);
121 $style->setDefault(true);
122 … $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
126 $open = XMLUtil::getElementOpenTag('style:table-row-properties', $xmlCode);
128 $attrs += $style->importODTStyleInternal(self::$table_row_fields, $open);
131 // If style has no meaningfull content then throw it away
136 return $style;
149 …* This function creates a table row style using the style as set in the assoziative array $propert…
151 …* Properties which shall not be used in the style can be disabled by setting the value in disabled…
157 * The function returns the name of the new style or NULL if all relevant properties are empty.
165 // Create style name (if not given).
166 $style_name = $properties ['style-name'];
169 $properties ['style-name'] = $style_name;
172 // Create empty table row style.