blob: 811b07815a005aea15f44650aca52d7f62f317c8 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Tue Mar 28 22:11:03 CEST 2017 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
OdfTableRow (ODFDOM API v0.8.11-incubating - http://incubator.apache.org/odftoolkit/)
</TITLE>
<META NAME="date" CONTENT="2017-03-28">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OdfTableRow (ODFDOM API v0.8.11-incubating - http://incubator.apache.org/odftoolkit/)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OdfTableRow.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableColumn.html" title="class in org.odftoolkit.odfdom.doc.table"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/odftoolkit/odfdom/doc/table/OdfTableRow.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="OdfTableRow.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.odftoolkit.odfdom.doc.table</FONT>
<BR>
Class OdfTableRow</H2>
<PRE>
<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.odftoolkit.odfdom.doc.table.OdfTableRow</B>
</PRE>
<HR>
<B>Deprecated.</B>&nbsp;<I>As of release 0.8.8, replaced by <CODE>org.odftoolkit.simple.table.Row</CODE> in Simple API.</I>
<P>
<DL>
<DT><PRE>public class <B>OdfTableRow</B><DT>extends <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
OdfTableRow represents table row feature in ODF document.
<p>
OdfTableRow provides methods to get table cells that belong to this table row.
<P>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableCell</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getCellByIndex(int)">getCellByIndex</A></B>(int&nbsp;index)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get a cell with a specific index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getCellCount()">getCellCount</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return the count of real cells in this row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getDefaultCellStyle()">getDefaultCellStyle</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get the default cell style of this row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getHeight()">getHeight</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return the height of the row (in Millimeter).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getInstance(org.odftoolkit.odfdom.dom.element.table.TableTableRowElement)">getInstance</A></B>(<A HREF="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableRowElement</A>&nbsp;rowElement)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get the <code>OdfTableRow</code> instance from the <code>TableTableRowElement</code> instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getNextRow()">getNextRow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return the next row of the current row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableRowElement</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getOdfElement()">getOdfElement</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return an instance of <code>TableTableRowElement</code> which represents this feature.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getPreviousRow()">getPreviousRow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return the previous row of the current row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getRowIndex()">getRowIndex</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return the index of this row in the owner table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTable.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTable</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#getTable()">getTable</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get owner table of the current row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#isOptimalHeight()">isOptimalHeight</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Return if the row always keeps its optimal height.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#setDefaultCellStyle(org.odftoolkit.odfdom.incubator.doc.style.OdfStyle)">setDefaultCellStyle</A></B>(<A HREF="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</A>&nbsp;style)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Set the default cell style to this row.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#setHeight(long, boolean)">setHeight</A></B>(long&nbsp;height,
boolean&nbsp;isMinHeight)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Set the height/minimal height of the row (in Millimeter) according to the second parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html#setUseOptimalHeight(boolean)">setUseOptimalHeight</A></B>(boolean&nbsp;isUseOptimalHeight)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Set if the row always keeps its optimal height.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getInstance(org.odftoolkit.odfdom.dom.element.table.TableTableRowElement)"><!-- --></A><H3>
getInstance</H3>
<PRE>
public static <A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</A> <B>getInstance</B>(<A HREF="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableRowElement</A>&nbsp;rowElement)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Get the <code>OdfTableRow</code> instance from the <code>TableTableRowElement</code> instance.
<p>
Each <code>TableTableRowElement</code> instance has a one-to-one relationship to a <code>OdfTableRow</code> instance.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rowElement</CODE> - the row element that need to get the corresponding <code>OdfTableRow</code> instance
<DT><B>Returns:</B><DD>the <code>OdfTableRow</code> instance represent the specified row element</DL>
</DD>
</DL>
<HR>
<A NAME="getTable()"><!-- --></A><H3>
getTable</H3>
<PRE>
public <A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTable.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTable</A> <B>getTable</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Get owner table of the current row.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the parent table of this row</DL>
</DD>
</DL>
<HR>
<A NAME="getHeight()"><!-- --></A><H3>
getHeight</H3>
<PRE>
public long <B>getHeight</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return the height of the row (in Millimeter).
<p>
Return the minimal height, if the row height is not set,
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the height of the current row (in Millimeter).</DL>
</DD>
</DL>
<HR>
<A NAME="setHeight(long, boolean)"><!-- --></A><H3>
setHeight</H3>
<PRE>
public void <B>setHeight</B>(long&nbsp;height,
boolean&nbsp;isMinHeight)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Set the height/minimal height of the row (in Millimeter) according to the second parameter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>height</CODE> - the height/minimal height that will be set to the row (in Millimeter).<DD><CODE>isMinHeight</CODE> - if it is true, the row can fit the height to the text, vice versa.</DL>
</DD>
</DL>
<HR>
<A NAME="isOptimalHeight()"><!-- --></A><H3>
isOptimalHeight</H3>
<PRE>
public boolean <B>isOptimalHeight</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return if the row always keeps its optimal height.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the row always keeps its optimal height;
vice versa</DL>
</DD>
</DL>
<HR>
<A NAME="setUseOptimalHeight(boolean)"><!-- --></A><H3>
setUseOptimalHeight</H3>
<PRE>
public void <B>setUseOptimalHeight</B>(boolean&nbsp;isUseOptimalHeight)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Set if the row always keeps its optimal height.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>isUseOptimalHeight</CODE> - the flag that indicate row should keep its optimal height or not</DL>
</DD>
</DL>
<HR>
<A NAME="getOdfElement()"><!-- --></A><H3>
getOdfElement</H3>
<PRE>
public <A HREF="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableRowElement.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableRowElement</A> <B>getOdfElement</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return an instance of <code>TableTableRowElement</code> which represents this feature.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>an instance of <code>TableTableRowElement</code></DL>
</DD>
</DL>
<HR>
<A NAME="getCellByIndex(int)"><!-- --></A><H3>
getCellByIndex</H3>
<PRE>
public <A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableCell</A> <B>getCellByIndex</B>(int&nbsp;index)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Get a cell with a specific index. The table will be automatically
expanded, when the given index is outside of the original table.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the cell index in this row
<DT><B>Returns:</B><DD>the cell object in the given cell index</DL>
</DD>
</DL>
<HR>
<A NAME="getCellCount()"><!-- --></A><H3>
getCellCount</H3>
<PRE>
public int <B>getCellCount</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return the count of real cells in this row.
The cells covered by top cells are not counted.
<p>
Please note it might not equal to the column count of the owner table,
because some of them are the covered cells.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the cell count</DL>
</DD>
</DL>
<HR>
<A NAME="getPreviousRow()"><!-- --></A><H3>
getPreviousRow</H3>
<PRE>
public <A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</A> <B>getPreviousRow</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return the previous row of the current row.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the previous row before this row in the owner table</DL>
</DD>
</DL>
<HR>
<A NAME="getNextRow()"><!-- --></A><H3>
getNextRow</H3>
<PRE>
public <A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</A> <B>getNextRow</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return the next row of the current row.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the next row after this row in the owner table</DL>
</DD>
</DL>
<HR>
<A NAME="setDefaultCellStyle(org.odftoolkit.odfdom.incubator.doc.style.OdfStyle)"><!-- --></A><H3>
setDefaultCellStyle</H3>
<PRE>
public void <B>setDefaultCellStyle</B>(<A HREF="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</A>&nbsp;style)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Set the default cell style to this row.
<p>
The style should already exist in this document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>style</CODE> - the cell style of the document</DL>
</DD>
</DL>
<HR>
<A NAME="getDefaultCellStyle()"><!-- --></A><H3>
getDefaultCellStyle</H3>
<PRE>
public <A HREF="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</A> <B>getDefaultCellStyle</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Get the default cell style of this row.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the default cell style of this row</DL>
</DD>
</DL>
<HR>
<A NAME="getRowIndex()"><!-- --></A><H3>
getRowIndex</H3>
<PRE>
public int <B>getRowIndex</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Return the index of this row in the owner table.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the index of the row</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OdfTableRow.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableColumn.html" title="class in org.odftoolkit.odfdom.doc.table"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/odftoolkit/odfdom/doc/table/OdfTableRow.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="OdfTableRow.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2008-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>