Lines Matching full:style

20 …  'column-width'               => array ('style:column-width',              'table-column',  true),
21 … 'rel-column-width' => array ('style:rel-column-width', 'table-column', true),
22 … 'use-optimal-column-width' => array ('style:use-optimal-column-width', 'table-column', true),
35 * Set style properties by importing values from a properties array.
37 * The style must have been previously created.
45 $this->setProperty('style-family', $this->getFamily());
49 * Check if a style is a common style.
51 * @return bool Is common style
58 * Get the style family of a style.
60 * @return string Style family
87 * Create new style by importing ODT style definition.
89 * @param $xmlCode Style definition in ODT XML format
90 * @return ODTStyle New specific style
93 $style = new ODTTableColumnStyle();
96 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode);
98 $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
100 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode);
102 $style->setDefault(true);
103 … $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
107 $open = XMLUtil::getElementOpenTag('style:table-column-properties', $xmlCode);
109 $attrs += $style->importODTStyleInternal(self::$table_column_fields, $open);
112 // If style has no meaningfull content then throw it away
117 return $style;
125 …* This function creates a table column style using the style as set in the assoziative array $prop…
127 …* Properties which shall not be used in the style can be disabled by setting the value in disabled…
133 * The function returns the name of the new style or NULL if all relevant properties are empty.
137 * @param $style
144 // Create style name (if not given).
145 $style_name = $properties ['style-name'];
148 $properties ['style-name'] = $style_name;
168 // Create empty table column style.