Lines Matching full:style

32      * Get the element name for the ODT XML encoding of the style.
40 * Set style properties by importing values from a properties array.
42 * The style must have been previously created.
50 * Check if a style is a common style.
52 * @return bool Is common style
57 * Encode current style values in a string and return it.
59 * @return string ODT XML encoded style
108 * Create new style by importing ODT style definition.
110 * @param $xmlCode Style definition in ODT XML format
111 * @return ODTStyle New specific style
121 $style = NULL;
123 case 'style:style':
124 case 'style:default-style':
125 $style = ODTStyleStyle::importODTStyle($xmlCode);
127 case 'text:outline-style':
128 $style = ODTTextOutlineStyle::importODTStyle($xmlCode);
130 case 'text:list-style':
131 $style = ODTTextListStyle::importODTStyle($xmlCode);
133 case 'style:master-page':
134 $style = ODTMasterPageStyle::importODTStyle($xmlCode);
136 case 'style:page-layout':
137 $style = ODTPageLayoutStyle::importODTStyle($xmlCode);
142 if ( isset($style) ) {
143 return $style;
146 // Unknown/not implemented style.
147 // Create generic style which can not be changed.
180 * Import ODT style definition according to given fields into given style.
182 * @param $style ODTStyle object for storing the properties
184 * @param $xmlCode Style definition in ODT XML format
192 // in ODT XML '<text:outline-level-style text:level="3" style:num-format="" >'
193 // has NOT the same meaning as '<text:outline-level-style text:level="3" >'!!!
208 * Set style properties by importing values from a properties array.
210 * The style must have been previously created. Only those properties
213 * @param $style ODTStyle object for storing the properties
227 * Is this style a default style?
228 * Needs to be overwritten if a style could also be a default style.
237 * This function creates a new style name. All functions of this class which create a new
238 * style/style name shall use this function to create the style name. By doing so it is
239 * guaranteed that all style names created by this class are unique.
241 * The function returns the name of the new style or NULL if all relevant properties are empty.