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 MathMLPresentationContainer interface for the 27 * MathML table or matrix cell element mtd. 28 * 29 * 30 */ 31 public interface MathMLTableCellElement extends MathMLPresentationContainer { 32 /** 33 * A string representing a positive integer that specifies the number of 34 * rows spanned by this cell. The default is 1. 35 * 36 * @return value of the rowspan attribute. 37 */ 38 String getRowspan(); 39 40 /** 41 * setter for the rowspan attribute. 42 * 43 * @param rowspan 44 * new value for rowspan. 45 * @see #getRowspan() 46 */ 47 void setRowspan(String rowspan); 48 49 /** 50 * A string representing a positive integer that specifies the number of 51 * columns spanned by this cell. The default is 1. 52 * 53 * @return value of the columnspan attribute. 54 */ 55 String getColumnspan(); 56 57 /** 58 * setter for the columnspan attribute. 59 * 60 * @param columnspan 61 * new value for columnspan. 62 * @see #getColumnspan() 63 */ 64 void setColumnspan(String columnspan); 65 66 /** 67 * A string specifying an override of the inherited vertical alignment of 68 * this cell within the table row. Allowed values are top, bottom, center, 69 * baseline, and axis. 70 * 71 * @return value of the rowalign attribute. 72 */ 73 String getRowalign(); 74 75 /** 76 * setter for the rowalign attribute. 77 * 78 * @param rowalign 79 * new value for rowalign. 80 * @see #getRowalign() 81 */ 82 void setRowalign(String rowalign); 83 84 /** 85 * A string specifying an override of the inherited horizontal alignment 86 * of this cell within the table column. Allowed values are left, center, 87 * and right. 88 * 89 * @return value of the columnalign attribute. 90 */ 91 String getColumnalign(); 92 93 /** 94 * setter for the columnalign attribute. 95 * 96 * @param columnalign 97 * new value for columnalign. 98 * @see #getColumnalign() 99 */ 100 void setColumnalign(String columnalign); 101 102 /** 103 * A string specifying how the alignment groups within the cell are to be 104 * aligned with those in cells above or below this cell. The string 105 * consists of a space-separated sequence of specifiers, each of which can 106 * have the following values: left, right, center, or decimalpoint. 107 * 108 * @return value of the groupalign attribute. 109 */ 110 String getGroupalign(); 111 112 /** 113 * setter for the groupalign attribute. 114 * 115 * @param groupalign 116 * new value for groupalign. 117 * @see #getGroupalign() 118 */ 119 void setGroupalign(String groupalign); 120 121 /** 122 * A string with the values true or false indicating whether the cell 123 * contains align groups. 124 * 125 * @return value of the hasaligngroups attribute. 126 */ 127 boolean getHasaligngroups(); 128 129 /** 130 * A string representing the integer index (1-based?) of the cell in its 131 * containing row. [What about spanning cells? How do these affect this 132 * value?] 133 * 134 * @return value of the cellindex attribute. 135 */ 136 String getCellindex(); 137 };