Lines Matching full:style

33 … 'font-style'                       => array ('fo:font-style',                      'text',  true),
34 … 'font-style-asian' => array ('style:font-style-asian', 'text', true),
35 … 'font-style-complex' => array ('style:font-style-complex', 'text', true),
37 … 'font-weight-asian' => array ('style:font-weight-asian', 'text', true),
38 … 'font-weight-complex' => array ('style:font-weight-complex', 'text', true),
40 … 'font-size-asian' => array ('style:font-size-asian', 'text', true),
41 … 'font-size-complex' => array ('style:font-size-complex', 'text', true),
43 … 'font-family-asian' => array ('style:font-family-asian', 'text', true),
44 … 'font-family-complex' => array ('style:font-family-complex', 'text', true),
47 … 'vertical-align' => array ('style:vertical-align', 'text', true),
50 … 'lang-asian' => array ('style:language-asian', 'text', true),
51 … 'lang-complex' => array ('style:language-complex', 'text', true),
53 … 'country-asian' => array ('style:country-asian', 'text', true),
54 … 'country-complex' => array ('style:country-complex', 'text', true),
56 … 'use-window-font-color' => array ('style:use-window-font-color', 'text', true),
57 … 'text-outline' => array ('style:text-outline', 'text', true),
58 … 'text-line-through-type' => array ('style:text-line-through-type', 'text', true),
59 … 'text-line-through-style' => array ('style:text-line-through-style', 'text', true),
60 … 'text-line-through-width' => array ('style:text-line-through-width', 'text', true),
61 … 'text-line-through-color' => array ('style:text-line-through-color', 'text', true),
62 … 'text-line-through-text' => array ('style:text-line-through-text', 'text', true),
63 … 'text-line-through-text-style' => array ('style:text-line-through-text-style', 'text', true),
64 … 'text-position' => array ('style:text-position', 'text', true),
65 … 'font-name' => array ('style:font-name', 'text', true),
66 … 'font-name-asian' => array ('style:font-name-asian', 'text', true),
67 … 'font-name-complex' => array ('style:font-name-complex', 'text', true),
68 … 'font-family-generic' => array ('style:font-family-generic', 'text', true),
69 … 'font-family-generic-asian' => array ('style:font-family-generic-asian', 'text', true),
70 … 'font-family-generic-complex' => array ('style:font-family-generic-complex', 'text', true),
71 … 'font-style-name' => array ('style:font-style-name', 'text', true),
72 … 'font-style-name-asian' => array ('style:font-style-name-asian', 'text', true),
73 … 'font-style-name-complex' => array ('style:font-style-name-complex', 'text', true),
74 … 'font-pitch' => array ('style:font-pitch', 'text', true),
75 … 'font-pitch-asian' => array ('style:font-pitch-asian', 'text', true),
76 … 'font-pitch-complex' => array ('style:font-pitch-complex', 'text', true),
77 … 'font-charset' => array ('style:font-charset', 'text', true),
78 … 'font-charset-asian' => array ('style:font-charset-asian', 'text', true),
79 … 'font-charset-complex' => array ('style:font-charset-complex', 'text', true),
80 … 'font-size-rel' => array ('style:font-size-rel', 'text', true),
81 … 'font-size-rel-asian' => array ('style:font-size-rel-asian', 'text', true),
82 … 'font-size-rel-complex' => array ('style:font-size-rel-complex', 'text', true),
83 … 'script-type' => array ('style:script-type', 'text', true),
85 … 'script-asian' => array ('style:script-asian', 'text', true),
86 … 'script-complex' => array ('style:script-complex', 'text', true),
87 … 'rfc-language-tag' => array ('style:rfc-language-tag', 'text', true),
88 … 'rfc-language-tag-asian' => array ('style:rfc-language-tag-asian', 'text', true),
89 … 'rfc-language-tag-complex' => array ('style:rfc-language-tag-complex', 'text', true),
90 … 'rfc-language-tag-complex' => array ('style:rfc-language-tag-complex', 'text', true),
91 … 'font-relief' => array ('style:font-relief', 'text', true),
93 … 'text-underline-type' => array ('style:text-underline-type', 'text', true),
94 … 'text-underline-style' => array ('style:text-underline-style', 'text', true),
95 … 'text-underline-width' => array ('style:text-underline-width', 'text', true),
96 … 'text-underline-color' => array ('style:text-underline-color', 'text', true),
97 … 'text-overline-type' => array ('style:text-overline-type', 'text', true),
98 … 'text-overline-style' => array ('style:text-overline-style', 'text', true),
99 … 'text-overline-width' => array ('style:text-overline-width', 'text', true),
100 … 'text-overline-color' => array ('style:text-overline-color', 'text', true),
101 … 'text-overline-mode' => array ('style:text-overline-mode', 'text', true),
102 … 'text-underline-mode' => array ('style:text-underline-mode', 'text', true),
103 … 'text-line-through-mode' => array ('style:text-line-through-mode', 'text', true),
104 … 'letter-kerning' => array ('style:letter-kerning', 'text', true),
105 … 'text-blinking' => array ('style:text-blinking', 'text', true),
106 … 'text-combine' => array ('style:text-combine', 'text', true),
107 … 'text-combine-start-char' => array ('style:text-combine-start-char', 'text', true),
108 … 'text-combine-end-char' => array ('style:text-combine-end-char', 'text', true),
109 … 'text-emphasize' => array ('style:text-emphasize', 'text', true),
110 … 'text-scale' => array ('style:text-scale', 'text', true),
111 … 'text-rotation-angle' => array ('style:text-rotation-angle', 'text', true),
112 … 'text-rotation-scale' => array ('style:text-rotation-scale', 'text', true),
127 * Set style properties by importing values from a properties array.
129 * The style must have been previously created.
137 $this->setProperty('style-family', $this->getFamily());
141 * Check if a style is a common style.
143 * @return bool Is common style
150 * Get the style family of a style.
152 * @return string Style family
179 * Create new style by importing ODT style definition.
181 * @param $xmlCode Style definition in ODT XML format
182 * @return ODTStyle New specific style
185 $style = new ODTTextStyle();
188 $open = XMLUtil::getElementOpenTag('style:style', $xmlCode);
190 $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
192 $open = XMLUtil::getElementOpenTag('style:default-style', $xmlCode);
194 $style->setDefault(true);
195 … $attrs += $style->importODTStyleInternal(ODTStyleStyle::getStyleProperties (), $open);
199 $open = XMLUtil::getElementOpenTag('style:text-properties', $xmlCode);
201 $attrs += $style->importODTStyleInternal(self::$text_fields, $open);
204 // If style has no meaningfull content then throw it away
209 return $style;
217 … * This function creates a text style using the style as set in the assoziative array $properties.
219 …* Properties which shall not be used in the style can be disabled by setting the value in disabled…
223 …* background-color, color, font-style, font-weight, font-size, border, font-family, font-variant, …
226 * The function returns the name of the new style or NULL if all relevant properties are empty.
236 $properties ['text-line-through-style'] = 'solid';
239 $properties ['text-underline-style'] = 'solid';
242 $properties ['text-overline-style'] = 'solid';
286 … // A font-size in percent is only supported in common style definitions, not in automatic
287 // styles. Create a common style and set it as parent for this automatic style.
291 $parent = $style_obj->getProperty('style-name');
293 $properties ['style-parent'] = $parent;
297 // Create style name (if not given).
298 $style_name = $properties ['style-name'];
301 $properties ['style-name'] = $style_name;
304 // Create empty text style.
319 * Simple helper function for creating a text style $name setting the specfied font size $size.
329 $properties ['style-name'] = $name;
330 $properties ['style-display-name'] = $name;