1 /* 2 * Copyright 2007 - 2007 JEuclid, http://jeuclid.sf.net 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.w3c.dom.mathml; 17 18 19 /* 20 * Please note: This file was automatically generated from the source of the 21 * MathML specification. Do not edit it. If there are errors or missing 22 * elements, please correct the stylesheet instead. 23 */ 24 25 /** 26 * This interface extends the MathMLElement interface for the MathML style 27 * element mstyle. While the mstyle element may contain any attributes 28 * allowable on any MathML presentation element, only attributes specific to 29 * the mstyle element are included in the interface below. Other attributes 30 * should be accessed using the methods on the base Element class, 31 * particularly the Element::getAttribute and Element::setAttribute methods, 32 * or even the Node::attributes attribute to access all of them at once. Not 33 * only does this obviate a lengthy list below, but it seems likely that most 34 * implementations will find this a considerably more useful interface to a 35 * MathMLStyleElement. 36 * 37 * 38 */ 39 public interface MathMLStyleElement extends MathMLPresentationContainer { 40 /** 41 * A string of the form +/- unsigned integer; represents the scriptlevel 42 * attribute for the mstyle element, if specified. See also the discussion 43 * of this attribute. 44 * 45 * @return value of the scriptlevel attribute. 46 */ 47 String getScriptlevel(); 48 49 /** 50 * setter for the scriptlevel attribute. 51 * 52 * @param scriptlevel 53 * new value for scriptlevel. 54 * @see #getScriptlevel() 55 */ 56 void setScriptlevel(String scriptlevel); 57 58 /** 59 * Either true or false; a string representing the displaystyle attribute 60 * for the mstyle element, if specified. See also the discussion of this 61 * attribute. 62 * 63 * @return value of the displaystyle attribute. 64 */ 65 String getDisplaystyle(); 66 67 /** 68 * setter for the displaystyle attribute. 69 * 70 * @param displaystyle 71 * new value for displaystyle. 72 * @see #getDisplaystyle() 73 */ 74 void setDisplaystyle(String displaystyle); 75 76 /** 77 * A string of the form number; represents the scriptsizemultiplier 78 * attribute for the mstyle element, if specified. See also the discussion 79 * of this attribute. 80 * 81 * @return value of the scriptsizemultiplier attribute. 82 */ 83 String getScriptsizemultiplier(); 84 85 /** 86 * setter for the scriptsizemultiplier attribute. 87 * 88 * @param scriptsizemultiplier 89 * new value for scriptsizemultiplier. 90 * @see #getScriptsizemultiplier() 91 */ 92 void setScriptsizemultiplier(String scriptsizemultiplier); 93 94 /** 95 * A string of the form number v-unit; represents the scriptminsize 96 * attribute for the mstyle element, if specified. See also the discussion 97 * of this attribute. 98 * 99 * @return value of the scriptminsize attribute. 100 */ 101 String getScriptminsize(); 102 103 /** 104 * setter for the scriptminsize attribute. 105 * 106 * @param scriptminsize 107 * new value for scriptminsize. 108 * @see #getScriptminsize() 109 */ 110 void setScriptminsize(String scriptminsize); 111 112 /** 113 * A string representation of a color or the string transparent; 114 * represents the background attribute for the mstyle element, if 115 * specified. See also the discussion of this attribute. 116 * 117 * @return value of the background attribute. 118 */ 119 String getBackground(); 120 121 /** 122 * setter for the background attribute. 123 * 124 * @param background 125 * new value for background. 126 * @see #getBackground() 127 */ 128 void setBackground(String background); 129 130 /** 131 * A string of the form number h-unit; represents the 132 * veryverythinmathspace attribute for the mstyle element, if specified. 133 * See also the discussion of this attribute. 134 * 135 * @return value of the veryverythinmathspace attribute. 136 */ 137 String getVeryverythinmathspace(); 138 139 /** 140 * setter for the veryverythinmathspace attribute. 141 * 142 * @param veryverythinmathspace 143 * new value for veryverythinmathspace. 144 * @see #getVeryverythinmathspace() 145 */ 146 void setVeryverythinmathspace(String veryverythinmathspace); 147 148 /** 149 * A string of the form number h-unit; represents the verythinmathspace 150 * attribute for the mstyle element, if specified. See also the discussion 151 * of this attribute. 152 * 153 * @return value of the verythinmathspace attribute. 154 */ 155 String getVerythinmathspace(); 156 157 /** 158 * setter for the verythinmathspace attribute. 159 * 160 * @param verythinmathspace 161 * new value for verythinmathspace. 162 * @see #getVerythinmathspace() 163 */ 164 void setVerythinmathspace(String verythinmathspace); 165 166 /** 167 * A string of the form number h-unit; represents the thinmathspace 168 * attribute for the mstyle element, if specified. See also the discussion 169 * of this attribute. 170 * 171 * @return value of the thinmathspace attribute. 172 */ 173 String getThinmathspace(); 174 175 /** 176 * setter for the thinmathspace attribute. 177 * 178 * @param thinmathspace 179 * new value for thinmathspace. 180 * @see #getThinmathspace() 181 */ 182 void setThinmathspace(String thinmathspace); 183 184 /** 185 * A string of the form number h-unit; represents the mediummathspace 186 * attribute for the mstyle element, if specified. See also the discussion 187 * of this attribute. 188 * 189 * @return value of the mediummathspace attribute. 190 */ 191 String getMediummathspace(); 192 193 /** 194 * setter for the mediummathspace attribute. 195 * 196 * @param mediummathspace 197 * new value for mediummathspace. 198 * @see #getMediummathspace() 199 */ 200 void setMediummathspace(String mediummathspace); 201 202 /** 203 * A string of the form number h-unit; represents the thickmathspace 204 * attribute for the mstyle element, if specified. See also the discussion 205 * of this attribute. 206 * 207 * @return value of the thickmathspace attribute. 208 */ 209 String getThickmathspace(); 210 211 /** 212 * setter for the thickmathspace attribute. 213 * 214 * @param thickmathspace 215 * new value for thickmathspace. 216 * @see #getThickmathspace() 217 */ 218 void setThickmathspace(String thickmathspace); 219 220 /** 221 * A string of the form number h-unit; represents the verythickmathspace 222 * attribute for the mstyle element, if specified. See also the discussion 223 * of this attribute. 224 * 225 * @return value of the verythickmathspace attribute. 226 */ 227 String getVerythickmathspace(); 228 229 /** 230 * setter for the verythickmathspace attribute. 231 * 232 * @param verythickmathspace 233 * new value for verythickmathspace. 234 * @see #getVerythickmathspace() 235 */ 236 void setVerythickmathspace(String verythickmathspace); 237 238 /** 239 * A string of the form number h-unit; represents the 240 * veryverythickmathspace attribute for the mstyle element, if specified. 241 * See also the discussion of this attribute. 242 * 243 * @return value of the veryverythickmathspace attribute. 244 */ 245 String getVeryverythickmathspace(); 246 247 /** 248 * setter for the veryverythickmathspace attribute. 249 * 250 * @param veryverythickmathspace 251 * new value for veryverythickmathspace. 252 * @see #getVeryverythickmathspace() 253 */ 254 void setVeryverythickmathspace(String veryverythickmathspace); 255 256 /** 257 * A string of the form number h-unit; represents the 258 * negativeveryverythinmathspace attribute for the mstyle element, if 259 * specified. See also the discussion of this attribute. 260 * 261 * @return value of the negativeveryverythinmathspace attribute. 262 */ 263 String getNegativeveryverythinmathspace(); 264 265 /** 266 * setter for the negativeveryverythinmathspace attribute. 267 * 268 * @param negativeveryverythinmathspace 269 * new value for negativeveryverythinmathspace. 270 * @see #getNegativeveryverythinmathspace() 271 */ 272 void setNegativeveryverythinmathspace(String negativeveryverythinmathspace); 273 274 /** 275 * A string of the form number h-unit; represents the 276 * negativeverythinmathspace attribute for the mstyle element, if 277 * specified. See also the discussion of this attribute. 278 * 279 * @return value of the negativeverythinmathspace attribute. 280 */ 281 String getNegativeverythinmathspace(); 282 283 /** 284 * setter for the negativeverythinmathspace attribute. 285 * 286 * @param negativeverythinmathspace 287 * new value for negativeverythinmathspace. 288 * @see #getNegativeverythinmathspace() 289 */ 290 void setNegativeverythinmathspace(String negativeverythinmathspace); 291 292 /** 293 * A string of the form number h-unit; represents the 294 * negativethinmathspace attribute for the mstyle element, if specified. 295 * See also the discussion of this attribute. 296 * 297 * @return value of the negativethinmathspace attribute. 298 */ 299 String getNegativethinmathspace(); 300 301 /** 302 * setter for the negativethinmathspace attribute. 303 * 304 * @param negativethinmathspace 305 * new value for negativethinmathspace. 306 * @see #getNegativethinmathspace() 307 */ 308 void setNegativethinmathspace(String negativethinmathspace); 309 310 /** 311 * A string of the form number h-unit; represents the 312 * negativemediummathspace attribute for the mstyle element, if specified. 313 * See also the discussion of this attribute. 314 * 315 * @return value of the negativemediummathspace attribute. 316 */ 317 String getNegativemediummathspace(); 318 319 /** 320 * setter for the negativemediummathspace attribute. 321 * 322 * @param negativemediummathspace 323 * new value for negativemediummathspace. 324 * @see #getNegativemediummathspace() 325 */ 326 void setNegativemediummathspace(String negativemediummathspace); 327 328 /** 329 * A string of the form number h-unit; represents the 330 * negativethickmathspace attribute for the mstyle element, if specified. 331 * See also the discussion of this attribute. 332 * 333 * @return value of the negativethickmathspace attribute. 334 */ 335 String getNegativethickmathspace(); 336 337 /** 338 * setter for the negativethickmathspace attribute. 339 * 340 * @param negativethickmathspace 341 * new value for negativethickmathspace. 342 * @see #getNegativethickmathspace() 343 */ 344 void setNegativethickmathspace(String negativethickmathspace); 345 346 /** 347 * A string of the form number h-unit; represents the 348 * negativeverythickmathspace attribute for the mstyle element, if 349 * specified. See also the discussion of this attribute. 350 * 351 * @return value of the negativeverythickmathspace attribute. 352 */ 353 String getNegativeverythickmathspace(); 354 355 /** 356 * setter for the negativeverythickmathspace attribute. 357 * 358 * @param negativeverythickmathspace 359 * new value for negativeverythickmathspace. 360 * @see #getNegativeverythickmathspace() 361 */ 362 void setNegativeverythickmathspace(String negativeverythickmathspace); 363 364 /** 365 * A string of the form number h-unit; represents the 366 * negativeveryverythickmathspace attribute for the mstyle element, if 367 * specified. See also the discussion of this attribute. 368 * 369 * @return value of the negativeveryverythickmathspace attribute. 370 */ 371 String getNegativeveryverythickmathspace(); 372 373 /** 374 * setter for the negativeveryverythickmathspace attribute. 375 * 376 * @param negativeveryverythickmathspace 377 * new value for negativeveryverythickmathspace. 378 * @see #getNegativeveryverythickmathspace() 379 */ 380 void setNegativeveryverythickmathspace( 381 String negativeveryverythickmathspace); 382 };