001 /*
002 * Copyright 2007 - 2007 JEuclid, http://jeuclid.sf.net
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.w3c.dom.mathml;
017
018
019 /*
020 * Please note: This file was automatically generated from the source of the
021 * MathML specification. Do not edit it. If there are errors or missing
022 * elements, please correct the stylesheet instead.
023 */
024
025 /**
026 * This interface extends the MathMLPresentationContainer interface for the
027 * MathML table or matrix cell element mtd.
028 *
029 *
030 */
031 public interface MathMLTableCellElement extends MathMLPresentationContainer {
032 /**
033 * A string representing a positive integer that specifies the number of
034 * rows spanned by this cell. The default is 1.
035 *
036 * @return value of the rowspan attribute.
037 */
038 String getRowspan();
039
040 /**
041 * setter for the rowspan attribute.
042 *
043 * @param rowspan
044 * new value for rowspan.
045 * @see #getRowspan()
046 */
047 void setRowspan(String rowspan);
048
049 /**
050 * A string representing a positive integer that specifies the number of
051 * columns spanned by this cell. The default is 1.
052 *
053 * @return value of the columnspan attribute.
054 */
055 String getColumnspan();
056
057 /**
058 * setter for the columnspan attribute.
059 *
060 * @param columnspan
061 * new value for columnspan.
062 * @see #getColumnspan()
063 */
064 void setColumnspan(String columnspan);
065
066 /**
067 * A string specifying an override of the inherited vertical alignment of
068 * this cell within the table row. Allowed values are top, bottom, center,
069 * baseline, and axis.
070 *
071 * @return value of the rowalign attribute.
072 */
073 String getRowalign();
074
075 /**
076 * setter for the rowalign attribute.
077 *
078 * @param rowalign
079 * new value for rowalign.
080 * @see #getRowalign()
081 */
082 void setRowalign(String rowalign);
083
084 /**
085 * A string specifying an override of the inherited horizontal alignment
086 * of this cell within the table column. Allowed values are left, center,
087 * and right.
088 *
089 * @return value of the columnalign attribute.
090 */
091 String getColumnalign();
092
093 /**
094 * setter for the columnalign attribute.
095 *
096 * @param columnalign
097 * new value for columnalign.
098 * @see #getColumnalign()
099 */
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 };