Lines Matching full:style

20 …'vertical-align'                 => array ('style:vertical-align',              'table-cell',  tru…
21 …'text-align-source' => array ('style:text-align-source', 'table-cell', tru…
22 …'direction' => array ('style:direction', 'table-cell', tru…
23 …'glyph-orientation-vertical' => array ('style:glyph-orientation-vertical', 'table-cell', tru…
24 …'writing-mode' => array ('style:writing-mode', 'table-cell', tru…
25 …'shadow' => array ('style:shadow', 'table-cell', tru…
32 …'diagonal-tl-br' => array ('style:diagonal-tl-br', 'table-cell', tru…
33 …'diagonal-tl-br-widths' => array ('style:diagonal-tl-br-widths', 'table-cell', tru…
34 …'diagonal-bl-tr' => array ('style:diagonal-bl-tr', 'table-cell', tru…
35 …'diagonal-bl-tr-widths' => array ('style:diagonal-bl-tr-widths', 'table-cell', tru…
36 …'border-line-width' => array ('style:border-line-width', 'table-cell', tru…
37 …'border-line-width-top' => array ('style:border-line-width-top', 'table-cell', tru…
38 …'border-line-width-bottom' => array ('style:border-line-width-bottom', 'table-cell', tru…
39 …'border-line-width-left' => array ('style:border-line-width-left', 'table-cell', tru…
40 …'border-line-width-right' => array ('style:border-line-width-right', 'table-cell', tru…
47 …'rotation-angle' => array ('style:rotation-angle', 'table-cell', tru…
48 …'rotation-align' => array ('style:rotation-align', 'table-cell', tru…
49 …'cell-protect' => array ('style:cell-protect', 'table-cell', tru…
50 …'print-content' => array ('style:print-content', 'table-cell', tru…
51 …'decimal-places' => array ('style:decimal-places', 'table-cell', tru…
52 …'repeat-content' => array ('style:repeat-content', 'table-cell', tru…
53 …'shrink-to-fit' => array ('style:shrink-to-fit', 'table-cell', tru…
56 // (see '<define name="style-background-image"> in relax-ng schema)'
57 …'repeat' => array ('style:repeat', 'table-cell-background-…
58 …'position' => array ('style:position', 'table-cell-background-…
59 …'style:filter-name' => array ('style:filter-name', 'table-cell-background-…
77 * Set style properties by importing values from a properties array.
79 * The style must have been previously created.
89 $this->setProperty('style-family', $this->getFamily());
93 * Check if a style is a common style.
95 * @return bool Is common style
102 * Get the style family of a style.
104 * @return string Style family
143 * Create new style by importing ODT style definition.
145 * @param $xmlCode Style definition in ODT XML format
146 * @return ODTStyle New specific style
149 $style = new ODTTableCellStyle();
152 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode);
154 $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
156 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode);
158 $style->setDefault(true);
159 … $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
163 $open = XMLUtil::getElementOpenTag('style:paragraph-properties', $xmlCode);
165 … $attrs += $style->importODTStyleInternal(ODTParagraphStyle::getParagraphProperties (), $xmlCode);
168 $open = XMLUtil::getElementOpenTag('style:text-properties', $xmlCode);
170 $attrs += $style->importODTStyleInternal(ODTTextStyle::getTextProperties (), $open);
173 $open = XMLUtil::getElementOpenTag('style:table-cell-properties', $xmlCode);
175 $attrs += $style->importODTStyleInternal(self::$table_cell_fields, $open);
178 // If style has no meaningfull content then throw it away
183 return $style;
191 …* This function creates a table cell style using the style as set in the assoziative array $proper…
193 …* Properties which shall not be used in the style can be disabled by setting the value in disabled…
199 * The function returns the name of the new style or NULL if all relevant properties are empty.
207 // Create style name (if not given).
208 $style_name = $properties ['style-name'];
211 $properties ['style-name'] = $style_name;
214 // Create empty table cell style.