Lines Matching full:style
23 'width' => array ('style:width', 'table', true),
24 'rel-width' => array ('style:rel-width', 'table', true),
31 'page-number' => array ('style:page-number', 'table', true),
35 'shadow' => array ('style:shadow', 'table', true),
37 'may-break-between-rows' => array ('style:may-break-between-rows', 'table', true),
39 'writing-mode' => array ('style:writing-mode', 'table', true),
43 // (see '<define name="style-background-image"> in relax-ng schema)'
44 …'repeat' => array ('style:repeat', 'table-background-image…
45 …'position' => array ('style:position', 'table-background-image…
46 …'style:filter-name' => array ('style:filter-name', 'table-background-image…
64 * Set style properties by importing values from a properties array.
66 * The style must have been previously created.
74 $this->setProperty('style-family', $this->getFamily());
78 * Check if a style is a common style.
80 * @return bool Is common style
87 * Get the style family of a style.
89 * @return string Style family
116 * Create new style by importing ODT style definition.
118 * @param $xmlCode Style definition in ODT XML format
119 * @return ODTStyle New specific style
122 $style = new ODTTableStyle();
125 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode);
127 $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
129 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode);
131 $style->setDefault(true);
132 … $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
136 $open = XMLUtil::getElementOpenTag('style:table-properties', $xmlCode);
138 $attrs += $style->importODTStyleInternal(self::$table_fields, $open);
141 // If style has no meaningfull content then throw it away
146 return $style;
159 …* This function creates a table table style using the style as set in the assoziative array $prope…
161 …* Properties which shall not be used in the style can be disabled by setting the value in disabled…
167 * The function returns the name of the new style or NULL if all relevant properties are empty.
170 * @param array $properties Properties for the table style
208 // Create style name (if not given).
209 $style_name = $properties ['style-name'];
212 $properties ['style-name'] = $style_name;
215 // Create empty table style.